mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 04:42:58 +08:00
remove unnecessary assert
This commit is contained in:
parent
a5c17ae26d
commit
b8c38d4dfd
@ -494,9 +494,8 @@ namespace osu.Game.Tests.Beatmaps.Formats
|
||||
using (var stream = new StreamReader(resStream))
|
||||
{
|
||||
var goodBeatmap = decoder.Decode(normalStream);
|
||||
Beatmap badBeatmap = null;
|
||||
var badBeatmap = decoder.Decode(stream);
|
||||
|
||||
Assert.DoesNotThrow(() => badBeatmap = decoder.Decode(stream));
|
||||
Assert.AreEqual(goodBeatmap.HitObjects.Count, badBeatmap.HitObjects.Count);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user