1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 04:02:59 +08:00

Remove unnecessary local variable

This commit is contained in:
Dean Herbert 2023-05-05 16:31:48 +09:00
parent 6a4933a31c
commit f2dd457b3d

View File

@ -94,8 +94,7 @@ namespace osu.Game.Tests.Database
{
Assert.DoesNotThrow(() =>
{
Task t = Task.Run(() => legacyExporter.ExportAsync(new RealmLiveUnmanaged<TestModel>(item)));
t.WaitSafely();
Task.Run(() => legacyExporter.ExportAsync(new RealmLiveUnmanaged<TestModel>(item))).WaitSafely();
});
Assert.That(storage.Exists($"exports/{expectedName}{legacyExporter.GetExtension()}"), Is.True);
}