TestBuildOnlyFileMultipleFlags: check that tomato.txt is not created
This commit is contained in:
parent
b04b8b3857
commit
de336ef15e
|
@ -89,7 +89,7 @@ func TestBuildOnlyFileMultipleFlags(t *testing.T) {
|
||||||
fatalCommand(t, c.Meta)
|
fatalCommand(t, c.Meta)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, f := range []string{"vanilla.txt"} {
|
for _, f := range []string{"vanilla.txt", "tomato.txt"} {
|
||||||
if fileExists(f) {
|
if fileExists(f) {
|
||||||
t.Errorf("Expected NOT to find %s", f)
|
t.Errorf("Expected NOT to find %s", f)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue