Skip to content

Commit 70e18bc

Browse files
修复测试残留数据产生的数据错误
1 parent 116e27c commit 70e18bc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/test/java/fybug/nulll/pdcache/memory/CacheTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ void setUp() {
2929
@After
3030
public
3131
void tearDown() throws IOException {
32-
destruction();
3332
cache.clear();
33+
cache = null;
34+
destruction();
3435
}
3536

3637
@Test

0 commit comments

Comments
 (0)