Skip to content

Commit

Permalink
One more format change.
Browse files Browse the repository at this point in the history
  • Loading branch information
zvonler committed Sep 22, 2023
1 parent a30a158 commit a664c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/monitor/monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ func TestTimeStampWriter(t *testing.T) {
buf.Reset()
writer.Write([]byte("\nbar\n"))
// A timestamp should be inserted before the first char of the next line
require.Regexp(t, "^\n"+`\[\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\] bar` + "\n$", buf)
require.Regexp(t, "^\n"+`\[\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\] bar`+"\n$", buf)
}

0 comments on commit a664c2d

Please sign in to comment.