(t *testing.T)
| 1322 | } |
| 1323 | |
| 1324 | func TestFindFiles_InNonexistentPathReturnsError(t *testing.T) { |
| 1325 | t.Parallel() |
| 1326 | p := script.FindFiles("nonexistent_path") |
| 1327 | if p.Error() == nil { |
| 1328 | t.Fatal("want error for nonexistent path") |
| 1329 | } |
| 1330 | } |
| 1331 | |
| 1332 | func TestIfExists_ProducesErrorPlusNoOutputForNonexistentFile(t *testing.T) { |
| 1333 | t.Parallel() |