We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30cbbc0 commit 663d10cCopy full SHA for 663d10c
docs/contributing/dev-guide.md
@@ -70,11 +70,11 @@ import (
70
)
71
72
func TestMe(t *testing.T) {
73
- hook := testutils.LogsUnderTestWithLogLeve(log.WarnLevel, t)
+ hook := testutils.LogsUnderTestWithLogLevel(log.WarnLevel, t)
74
... function under tests ...
75
testutils.TestHelperLogContains("example warning message", hook, t)
76
// provide negative assertion
77
- testuitls.TestHelperLogNotContains("this message should not be shown", hook, t)
+ testutils.TestHelperLogNotContains("this message should not be shown", hook, t)
78
}
79
```
80
0 commit comments