mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Fix a couple of silly inspections
This commit is contained in:
parent
d49639bec3
commit
f36a671eb4
@ -35,6 +35,7 @@ namespace osu.Game.Tests.Database
|
||||
Logger.Log($"Running test using realm file {testStorage.GetFullPath(realm.Filename)}");
|
||||
testAction(realm, testStorage);
|
||||
|
||||
// ReSharper disable once DisposeOnUsingVariable
|
||||
realm.Dispose();
|
||||
|
||||
Logger.Log($"Final database size: {getFileSize(testStorage, realm)}");
|
||||
@ -58,6 +59,7 @@ namespace osu.Game.Tests.Database
|
||||
Logger.Log($"Running test using realm file {testStorage.GetFullPath(realm.Filename)}");
|
||||
await testAction(realm, testStorage);
|
||||
|
||||
// ReSharper disable once DisposeOnUsingVariable
|
||||
realm.Dispose();
|
||||
|
||||
Logger.Log($"Final database size: {getFileSize(testStorage, realm)}");
|
||||
|
Loading…
Reference in New Issue
Block a user