reverse IsInstanceOfType logic

This commit is contained in:
tsunyoku 2022-07-17 22:49:09 +01:00
parent 0c50931d2f
commit 92513dc936

View File

@ -36,7 +36,7 @@ namespace osu.Game.Tests.Visual.Gameplay
foreach (var incompatibleModType in modIncompatibilities)
{
var incompatibleMod = modInstances.First(m => m.GetType().IsInstanceOfType(incompatibleModType));
var incompatibleMod = modInstances.First(m => incompatibleModType.IsInstanceOfType(m));
Assert.That(incompatibleMod.IncompatibleMods.Contains(mod.GetType()));
}
}