[misc] Update timestamp format with milliseconds (#5387)

* Update timestamp format with milliseconds

* fix tests
This commit is contained in:
Maycon Santos
2026-02-19 11:23:42 +01:00
committed by GitHub
parent 4b5294e596
commit a6db88fbd2
2 changed files with 2 additions and 4 deletions

View File

@@ -21,6 +21,6 @@ func TestLogTextFormat(t *testing.T) {
result, _ := formatter.Format(someEntry)
parsedString := string(result)
expectedString := "^2021-02-21T01:10:30Z WARN \\[(att1: 1, att2: 2|att2: 2, att1: 1)\\] some/fancy/path.go:46: Some Message\\s+$"
expectedString := "^2021-02-21T01:10:30.000Z WARN \\[(att1: 1, att2: 2|att2: 2, att1: 1)\\] some/fancy/path.go:46: Some Message\\s+$"
assert.Regexp(t, expectedString, parsedString)
}