We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ce8a7f commit 06defeeCopy full SHA for 06defee
tests/Serilog.Ui.SqliteProvider.Tests/Extensions/SerilogUiOptionBuilderExtensionsTest.cs
@@ -57,7 +57,7 @@ public void It_registers_multiple_providers()
57
58
var providersOptions = serviceProvider.GetRequiredService<ProvidersOptions>();
59
providersOptions.DisabledSortProviderNames.Should().BeEmpty();
60
- providersOptions.ExceptionAsStringProviderNames.Should().BeEmpty();
+ providersOptions.ExceptionAsStringProviderNames.Should().HaveCount(2);
61
}
62
63
[Fact]
@@ -89,7 +89,7 @@ public void It_throws_on_invalid_registration()
89
90
foreach (var nullable in nullables)
91
{
92
- nullable.Should().ThrowExactly<ArgumentNullException>();
+ nullable.Should().Throw<ArgumentException>();
93
94
95
0 commit comments