mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 14:23:14 +08:00
Update test to account for sort order
This commit is contained in:
parent
ca68574473
commit
8ac886a247
@ -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"));
|
||||
|
||||
assertCollectionName(0, "First");
|
||||
// Item will have moved due to alphabetical sorting.
|
||||
assertCollectionName(0, "2");
|
||||
assertCollectionName(1, "First");
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Loading…
Reference in New Issue
Block a user