lang: unification: Add logging to make capturing errors easier

This makes building new tests easier.
This commit is contained in:
James Shubin
2019-01-20 03:38:17 -05:00
parent 6d0c5ab2d5
commit 2da7854b24

View File

@@ -732,6 +732,10 @@ func TestUnification1(t *testing.T) {
return
}
if fail && err != nil {
t.Logf("test #%d: err: %+v", index, err)
}
if expect == nil { // test done early
return
}