diff --git a/Vostok.Logging.Formatting.Tests/Tokens/ExceptionToken_Tests.cs b/Vostok.Logging.Formatting.Tests/Tokens/ExceptionToken_Tests.cs index 99c8e3f..9e6ff58 100644 --- a/Vostok.Logging.Formatting.Tests/Tokens/ExceptionToken_Tests.cs +++ b/Vostok.Logging.Formatting.Tests/Tokens/ExceptionToken_Tests.cs @@ -38,7 +38,12 @@ public void Should_use_ToString_to_render_exception() Console.Out.WriteLine(result); - result.Should().Contain(error.ToString()); + result.Should() + .Contain(error.ToString()) + .And.Contain(typeof(Exception).FullName) + .And.Contain("error1") + .And.Contain("error2") + .And.Contain(nameof(Should_use_ToString_to_render_exception)); } }