(t *testing.T)
| 1278 | } |
| 1279 | |
| 1280 | func TestFileErrorsOnNonexistentFile(t *testing.T) { |
| 1281 | t.Parallel() |
| 1282 | p := script.File("doesntexist") |
| 1283 | if p.Error() == nil { |
| 1284 | t.Error("want error for non-existent file") |
| 1285 | } |
| 1286 | } |
| 1287 | |
| 1288 | func TestFindFiles_ReturnsListOfFiles(t *testing.T) { |
| 1289 | t.Parallel() |