Merge pull request #35138 from vdemeester/foo

Carry 35078 : Fix TestErrorCases to run all tests
This commit is contained in:
Yong Tang 2017-10-09 12:16:16 -07:00 committed by GitHub
commit 513f0e6c26
1 changed files with 1 additions and 5 deletions

View File

@ -194,11 +194,7 @@ func TestErrorCases(t *testing.T) {
}
n := ast.AST.Children[0]
_, err = ParseInstruction(n)
if err != nil {
testutil.ErrorContains(t, err, c.expectedError)
return
}
t.Fatalf("No error when executing test %s", c.name)
testutil.ErrorContains(t, err, c.expectedError)
}
}