Skip to content

Commit

Permalink
fix unicode Z in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Jan 2, 2024
1 parent 6633fc9 commit 97ed04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_framework_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4847,7 +4847,7 @@ func TestWithLogger(t *testing.T) {
require.NoError(t, err)
require.NoError(t, result.Error)

expectedPattern := `{"level":"info","time":"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}-\d{2}:\d{2}","message":"\\u001b\[1;34mLOG:\\u001b\[0m \\"Hello, world!\\""}`
expectedPattern := `{"level":"info","time":"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}-\d{2}:\d{2}Z?","message":"\\u001b\[1;34mLOG:\\u001b\[0m \\"Hello, world!\\""}`
assert.Regexp(t, expectedPattern, buf.String())
}

Expand Down

0 comments on commit 97ed04a

Please sign in to comment.