1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:43:05 +08:00

Fix code quality inspection (weird one)

This commit is contained in:
Dean Herbert 2023-10-16 15:16:10 +09:00
parent 4f1546c474
commit d9d0629157
No known key found for this signature in database

View File

@ -382,7 +382,8 @@ namespace osu.Game.Rulesets.Mania.Tests
[Test]
public void TestPressAndReleaseJustAfterTailWithNearbyNote()
{
Note note;
// Next note within tail lenience
Note note = new Note { StartTime = time_tail + 50 };
var beatmap = new Beatmap<ManiaHitObject>
{
@ -394,11 +395,7 @@ namespace osu.Game.Rulesets.Mania.Tests
Duration = time_tail - time_head,
Column = 0,
},
// Next note within tail lenience
(ManiaHitObject)(note = new Note
{
StartTime = time_tail + 50
})
note
},
BeatmapInfo =
{