Skip to content

Commit 8232f74

Browse files
author
dzmitry.lahoda
committed
ensure null
1 parent 322c2f9 commit 8232f74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Serilog.Settings.Configuration.Tests/ConfigurationSettingsTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ public void TestMinimumLevelOverridesForChildContext()
221221
var custom = log.ForContext("SourceContext", "System.Threading.Tasks.Task<42>");
222222
custom.Write(Some.DebugEvent());
223223
Assert.NotNull(evt);
224-
224+
225+
evt = null;
225226
var systemThreadingLogger = log.ForContext<System.Threading.Tasks.Task>();
226227
systemThreadingLogger.Write(Some.DebugEvent());
227228
Assert.NotNull(evt);

0 commit comments

Comments
 (0)