lang: Add a useful debug message to tests
When running this test a lot in series, it helps to have more obvious debug output.
This commit is contained in:
@@ -1731,6 +1731,10 @@ func TestAstFunc2(t *testing.T) {
|
||||
t.Logf("test #%d: edge(%+v): %+v -> %+v", index, e, v1, v2)
|
||||
}
|
||||
}
|
||||
|
||||
if !t.Failed() {
|
||||
t.Logf("test #%d: Passed!", index)
|
||||
}
|
||||
})
|
||||
}
|
||||
if testing.Short() {
|
||||
|
||||
Reference in New Issue
Block a user