mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +08:00
Simplify slightly redundant assertions
This commit is contained in:
parent
2acf46154a
commit
16fd7f5a28
@ -45,9 +45,9 @@ namespace osu.Game.Tests.Database
|
||||
{
|
||||
var rulesets = new RealmRulesetStore(realmFactory, storage);
|
||||
|
||||
Assert.IsTrue(rulesets.AvailableRulesets.First().IsManaged == false);
|
||||
Assert.IsTrue(rulesets.GetRuleset(0)?.IsManaged == false);
|
||||
Assert.IsTrue(rulesets.GetRuleset("mania")?.IsManaged == false);
|
||||
Assert.IsFalse(rulesets.AvailableRulesets.First().IsManaged);
|
||||
Assert.IsFalse(rulesets.GetRuleset(0)?.IsManaged);
|
||||
Assert.IsFalse(rulesets.GetRuleset("mania")?.IsManaged);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user