Skip to content

Commit 3996f8a

Browse files
committed
refactor: precise error message in Lazy test
1 parent 9e862fa commit 3996f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log/value.libevm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ func TestLazy(t *testing.T) {
6262
log.Info("", key, fn)
6363
log.Debug("", "not evaluated", fn)
6464

65-
assert.Contains(t, out.String(), wantLogged, "evaluation of lazy function is logged")
65+
assert.Containsf(t, out.String(), wantLogged, "evaluation of %T function is logged", fn)
6666
assert.Equalf(t, 1, gotNumEvaluations, "number of evaluations of %T function", fn)
6767
}

0 commit comments

Comments
 (0)