1
0
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:
Dean Herbert 2023-10-20 15:38:00 +09:00
parent d49639bec3
commit f36a671eb4
No known key found for this signature in database

View File

@ -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)}");