I want to look at my juicy error formatting even when it passes
This commit is contained in:
parent
62c96ed761
commit
0133e87831
|
@ -6,9 +6,9 @@ import "git.tebibyte.media/sashakoshka/fspl/testcommon"
|
|||
func testString (test *testing.T, correct string, got string) {
|
||||
if got != correct {
|
||||
test.Logf("results do not match")
|
||||
testcommon.Compare(test, correct, got)
|
||||
test.Fail()
|
||||
}
|
||||
testcommon.Compare(test, correct, got)
|
||||
}
|
||||
|
||||
func testError (test *testing.T, correct string, err *Error) {
|
||||
|
|
Loading…
Reference in New Issue