This commit is contained in:
parent
100b53d799
commit
7449e7dc10
@ -44,7 +44,11 @@ func TestFailureCases(t *testing.T) {
|
|||||||
if is_failure_expected {
|
if is_failure_expected {
|
||||||
t.Errorf("Expected check '%s' to fail, but it passed: %s", check.Name, test_case.sqlFile)
|
t.Errorf("Expected check '%s' to fail, but it passed: %s", check.Name, test_case.sqlFile)
|
||||||
} else {
|
} else {
|
||||||
t.Errorf("Expected check '%s' to pass, but it failed: %s (%q.%q)", check.Name, test_case.sqlFile, results[0].TableName, results[0].ColumnName)
|
t.Errorf("Expected check '%s' to pass, but it failed: %s (%q.%q)",
|
||||||
|
check.Name,
|
||||||
|
test_case.sqlFile,
|
||||||
|
results[0].TableName, results[0].ColumnName,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user