(t *testing.T)
| 59 | } |
| 60 | |
| 61 | func TestPlayPathInvalidPath(t *testing.T) { |
| 62 | m := new(mocks.Client) |
| 63 | err := PlayPath(m, "./test-fixtures/not_a_real_path") |
| 64 | if _, ok := err.(*os.PathError); !ok { |
| 65 | t.Errorf("PlayPath was expected to fail with os.PathError.") |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | func TestPlayPathEmptyFileError(t *testing.T) { |
| 70 | m := new(mocks.Client) |
nothing calls this directly
no test coverage detected