Fix TestErrorCases to run all tests
Signed-off-by: John Howard <jhoward@microsoft.com> Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
d65ab869e8
commit
d2c41f06c3
1 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue