There was an error while loading. Please reload this page.
2 parents 5dc3e89 + 74bb248 commit 6014660Copy full SHA for 6014660
src/Caching/Memory/test/MemoryCacheSetAndRemoveTests.cs
@@ -679,8 +679,8 @@ public void TryGetValueFromCacheWithNullKeyThrows()
679
public void GetOrCreateFromCacheWithNullKeyThrows()
680
{
681
var cache = CreateCache();
682
- Assert.Throws<ArgumentNullException>(() => cache.GetOrCreate<object>(null, null))
683
-; }
+ Assert.Throws<ArgumentNullException>(() => cache.GetOrCreate<object>(null, null));
+ }
684
685
[Fact]
686
public async Task GetOrCreateAsyncFromCacheWithNullKeyThrows()
@@ -695,4 +695,4 @@ private class TestKey
695
public override int GetHashCode() => 0;
696
}
697
698
-}
+}
0 commit comments