MCPcopy Index your code
hub / github.com/dinofizz/diskplayer / TestPlayPathEmptyFileError

Function TestPlayPathEmptyFileError

diskplayer_test.go:69–73  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

67}
68
69func TestPlayPathEmptyFileError(t *testing.T) {
70 m := new(mocks.Client)
71 err := PlayPath(m, "./test-fixtures/empty.contents")
72 assert.EqualError(t, err, "unable to read line from path: ./test-fixtures/empty.contents")
73}
74
75func TestPlayUriNoUriError(t *testing.T) {
76 m := new(mocks.Client)

Callers

nothing calls this directly

Calls 1

PlayPathFunction · 0.85

Tested by

no test coverage detected