mirror of https://github.com/ppy/osu
Simplify slightly redundant assertions
This commit is contained in:
parent
2acf46154a
commit
16fd7f5a28
|
@ -45,9 +45,9 @@ public void TestRetrievedRulesetsAreDetached()
|
|||
{
|
||||
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