Skip to content

Commit

Permalink
Fix expected log
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink committed Jan 23, 2024
1 parent 354f7e6 commit 459a5e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public async Task Log_WhenAsyncFlush_StreamWriterIsCalledOnlyWhenLogLevelAllowsI
await Task.Delay(100);
}

Assert.AreEqual($"[00:00:00.000 Test - {currentLogLevel}] Message{Environment.NewLine}", Encoding.Default.GetString(_memoryStream.ToArray()));
Assert.AreEqual($"0001-01-01T00:00:00.0000000+00:00 Test {currentLogLevel.ToString().ToUpperInvariant()} Message{Environment.NewLine}", Encoding.Default.GetString(_memoryStream.ToArray()));
}
else
{
Expand Down

0 comments on commit 459a5e6

Please sign in to comment.