Skip to content

Commit

Permalink
used more constants
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry.lahoda committed May 3, 2019
1 parent 8232f74 commit 3ae1b9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public void TestMinimumLevelOverridesForChildContext()
log.Write(Some.DebugEvent());
Assert.Null(evt);

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

Expand Down

0 comments on commit 3ae1b9f

Please sign in to comment.