Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
repl: make replTest.assert a T.Helper
Signed-off-by: Sebastien Binet <binet@cern.ch>
  • Loading branch information
sbinet committed May 5, 2022
commit 02c67b29f3d606329a3037182393d846cd90039e
1 change: 1 addition & 0 deletions repl/repl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func (rt *replTest) Print(out string) {
}

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