Skip to content

Commit

Permalink
Make the CI happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Dec 23, 2023
1 parent b36c222 commit 421c726
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions osu.Game.Rulesets.Karaoke.Tests/Beatmaps/TestElementId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,17 @@ public void TestCreateElementId(string id, bool created)
{
if (created)
{
Assert.DoesNotThrow(() => new ElementId(id));
Assert.DoesNotThrow(() =>
{
var _ = new ElementId(id);
});
}
else
{
Assert.Throws<ArgumentException>(() => new ElementId(id));
Assert.Throws<ArgumentException>(() =>
{
var _ = new ElementId(id);
});
}
}

Expand Down

0 comments on commit 421c726

Please sign in to comment.