Skip to content

Commit 865f6cd

Browse files
author
Edward Meng
committed
Fix unit tests of file loggers.
1 parent dbf6993 commit 865f6cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Exceptionless.Tests/Log/FileExceptionlessLogTestBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public virtual void CanWriteToLogFile() {
1818
Assert.True(LogExists());
1919
string contents = log.GetFileContents();
2020

21-
Assert.Equal("Test\r\n", contents);
21+
Assert.EndsWith(" Info Test\r\n", contents);
2222
}
2323
}
2424

@@ -36,7 +36,7 @@ public virtual void LogFlushTimerWorks() {
3636
Assert.True(LogExists());
3737
contents = log.GetFileContents();
3838

39-
Assert.Equal("Test\r\n", contents);
39+
Assert.EndsWith(" Info Test\r\n", contents);
4040
}
4141
}
4242

0 commit comments

Comments
 (0)