Skip to content

Commit 4a2a2a7

Browse files
committed
TearDown is unnecessary
1 parent ca09e4c commit 4a2a2a7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Orm/Xtensive.Orm.Tests.Core/Caching/WeakCacheTest.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ public class WeakCacheTest
1616
private readonly Random random = RandomManager.CreateRandom((int)DateTime.Now.Ticks);
1717
private WeakCache<string, TestClass> globalCache;
1818

19-
[TearDown]
20-
public void TearDown()
21-
{
22-
if (globalCache is not null) {
23-
globalCache.Dispose();
24-
}
25-
}
26-
2719
[Test]
2820
public void ConstructorsTest()
2921
{

0 commit comments

Comments
 (0)