mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Update test to account for sort order
This commit is contained in:
@ -253,9 +253,14 @@ namespace osu.Game.Tests.Visual.Collections
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
assertCollectionName(0, "1");
|
||||||
|
assertCollectionName(1, "1");
|
||||||
|
|
||||||
AddStep("change first collection name", () => Realm.Write(_ => first.Name = "First"));
|
AddStep("change first collection name", () => Realm.Write(_ => first.Name = "First"));
|
||||||
|
|
||||||
assertCollectionName(0, "First");
|
// Item will have moved due to alphabetical sorting.
|
||||||
|
assertCollectionName(0, "2");
|
||||||
|
assertCollectionName(1, "First");
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Reference in New Issue
Block a user