1
0
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:
David Zhao 2019-08-06 10:36:26 +09:00
parent a5c17ae26d
commit b8c38d4dfd

View File

@ -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);
}
}