From a664c2db410a1c95edbd9cbd2943efd43bfd64b7 Mon Sep 17 00:00:00 2001 From: Zachary Vonler Date: Fri, 22 Sep 2023 18:44:42 -0500 Subject: [PATCH] One more format change. --- internal/cli/monitor/monitor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/monitor/monitor_test.go b/internal/cli/monitor/monitor_test.go index 818c4ee41d1..7909e2a3365 100644 --- a/internal/cli/monitor/monitor_test.go +++ b/internal/cli/monitor/monitor_test.go @@ -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) }