Skip to content

Commit 02c67b2

Browse files
committed
repl: make replTest.assert a T.Helper
Signed-off-by: Sebastien Binet <[email protected]>
1 parent fcddd1c commit 02c67b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

repl/repl_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ func (rt *replTest) Print(out string) {
2525
}
2626

2727
func (rt *replTest) assert(t *testing.T, what, wantPrompt, wantOut string) {
28+
t.Helper()
2829
if rt.prompt != wantPrompt {
2930
t.Errorf("%s: Prompt wrong:\ngot= %q\nwant=%q", what, rt.prompt, wantPrompt)
3031
}

0 commit comments

Comments
 (0)