mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 12:42:54 +08:00
Update test logic for new exception type
This commit is contained in:
parent
a582611647
commit
f3b1c32a85
@ -211,7 +211,7 @@ namespace osu.Game.Tests.NonVisual
|
|||||||
var osu = loadOsu(host);
|
var osu = loadOsu(host);
|
||||||
|
|
||||||
Assert.DoesNotThrow(() => osu.Migrate(customPath));
|
Assert.DoesNotThrow(() => osu.Migrate(customPath));
|
||||||
Assert.Throws<InvalidOperationException>(() => osu.Migrate(customPath));
|
Assert.Throws<ArgumentException>(() => osu.Migrate(customPath));
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user