mirror of https://github.com/ppy/osu
Fix weird test assertion output
This commit is contained in:
parent
168b6c70a9
commit
51b0d18c04
|
@ -197,7 +197,7 @@ private void waitForAliveObjectIndex(int? index)
|
|||
}
|
||||
|
||||
private void checkValidObjectIndex(int index) =>
|
||||
AddAssert($"check valid object is {index}", () => sampleTriggerSource.GetMostValidObject(), () => Is.EqualTo(beatmap.HitObjects[index]));
|
||||
AddAssert($"check object at index {index} is correct", () => sampleTriggerSource.GetMostValidObject(), () => Is.EqualTo(beatmap.HitObjects[index]));
|
||||
|
||||
private DrawableHitObject? getNextAliveObject() =>
|
||||
Player.DrawableRuleset.Playfield.HitObjectContainer.AliveObjects.FirstOrDefault();
|
||||
|
|
Loading…
Reference in New Issue