mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
add message to Assert.That
This commit is contained in:
parent
92513dc936
commit
d17acd0f45
@ -37,7 +37,10 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
foreach (var incompatibleModType in modIncompatibilities)
|
||||
{
|
||||
var incompatibleMod = modInstances.First(m => incompatibleModType.IsInstanceOfType(m));
|
||||
Assert.That(incompatibleMod.IncompatibleMods.Contains(mod.GetType()));
|
||||
Assert.That(
|
||||
incompatibleMod.IncompatibleMods.Contains(mod.GetType()),
|
||||
$"{mod} has {incompatibleMod} in it's incompatible mods, but {incompatibleMod} does not have {mod} in it's incompatible mods."
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user