mirror of https://github.com/ppy/osu
Remove unnecessary local variable
This commit is contained in:
parent
6a4933a31c
commit
f2dd457b3d
|
@ -94,8 +94,7 @@ private void exportItemAndAssert(TestModel item, string expectedName)
|
|||
{
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue