Skip to content

Commit 3ae1b9f

Browse files
author
dzmitry.lahoda
committed
used more constants
1 parent 8232f74 commit 3ae1b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public void TestMinimumLevelOverridesForChildContext()
218218
log.Write(Some.DebugEvent());
219219
Assert.Null(evt);
220220

221-
var custom = log.ForContext("SourceContext", "System.Threading.Tasks.Task<42>");
221+
var custom = log.ForContext(Constants.SourceContextPropertyName, typeof(System.Threading.Tasks.Task).FullName + "<42>");
222222
custom.Write(Some.DebugEvent());
223223
Assert.NotNull(evt);
224224

0 commit comments

Comments
 (0)