Commit b830667a authored by Volodymyr Galkin's avatar Volodymyr Galkin

Fix error which lead to skipping tests in 'errors.TestErrorsParse'

parent ba5aeab1
......@@ -132,7 +132,7 @@ func TestErrorsParse(t *testing.T) {
t.Errorf("Test %d didn't error, but it should have", i)
} else if err != nil && !test.shouldErr {
t.Errorf("Test %d errored, but it shouldn't have; got '%v'", i, err)
} else {
} else if err != nil && test.shouldErr {
continue
}
if actualErrorsRule.LogFile != test.expectedErrorHandler.LogFile {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment