Skip to content

Commit 02c67b2

Browse files
committed
repl: make replTest.assert a T.Helper
Signed-off-by: Sebastien Binet <binet@cern.ch>
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

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy