6 references to assertFailure
Microsoft.DotNet.XUnitAssert.Tests (6)
DictionaryAssertsTests.cs (6)
54 assertFailure(() => Assert.Contains("FORTY-two", dictionary));
55 assertFailure(() => Assert.Contains("FORTY-two", new ReadOnlyDictionary<string, int>(dictionary)));
56 assertFailure(() => Assert.Contains("FORTY-two", (IDictionary<string, int>)dictionary));
57 assertFailure(() => Assert.Contains("FORTY-two", (IReadOnlyDictionary<string, int>)dictionary));
59 assertFailure(() => Assert.Contains("FORTY-two", dictionary.ToImmutableDictionary()));
60 assertFailure(() => Assert.Contains("FORTY-two", (IImmutableDictionary<string, int>)dictionary.ToImmutableDictionary()));