Skip to content

Commit

Permalink
Fix LogMessageTest (#5545)
Browse files Browse the repository at this point in the history
follows e53c279
  • Loading branch information
FloEdelmann committed Mar 25, 2024
1 parent e53c279 commit 98d5488
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ class LogMessageTest {
1000 * 60 * 30
)
val m2 = LogMessage(
LogLevel.ERROR,
LogLevel.WARNING,
"TAG",
"test message",
"error",
1000 * 60 * 60
)

assertEquals(
"1970-01-01T00:30: [TAG] test message error\n" +
"1970-01-01T01:00: [TAG] test message error",
"1970-01-01T00:30: E [TAG] test message error\n" +
"1970-01-01T01:00: W [TAG] test message error",
listOf(m1, m2).format(tz = TimeZone.UTC)
)
}
Expand Down

0 comments on commit 98d5488

Please sign in to comment.