Skip to content

Commit

Permalink
Fix Test_Progress
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Nov 27, 2023
1 parent cc86e4c commit 14e9142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion progress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ func Test_Progress(t *testing.T) {
buf := make([]byte, 1024)
_, err = pty.Read(buf)
require.NoError(err)
assert.Equal("\r00:01 | 0 agents / exec 0 queries, 0 errors (0 qps)\r\r", strings.Trim(string(buf), "\x00"))
assert.Equal("00:01 | 0 agents / exec 0 queries, 0 errors (0 qps)", strings.Trim(string(buf), "\r\x00"))
}

0 comments on commit 14e9142

Please sign in to comment.