diff options
Diffstat (limited to 'gendarme/rules/Gendarme.Rules.Portability/Test/MonoCompatibilityReviewTest.cs')
-rw-r--r-- | gendarme/rules/Gendarme.Rules.Portability/Test/MonoCompatibilityReviewTest.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gendarme/rules/Gendarme.Rules.Portability/Test/MonoCompatibilityReviewTest.cs b/gendarme/rules/Gendarme.Rules.Portability/Test/MonoCompatibilityReviewTest.cs index 299cc405..88fc2e59 100644 --- a/gendarme/rules/Gendarme.Rules.Portability/Test/MonoCompatibilityReviewTest.cs +++ b/gendarme/rules/Gendarme.Rules.Portability/Test/MonoCompatibilityReviewTest.cs @@ -94,6 +94,7 @@ namespace Test.Rules.Portability { if (method.Name == name) return method; } + Assert.Fail ("Could not find '{0}'.", name); return null; } @@ -101,7 +102,7 @@ namespace Test.Rules.Portability { public void TestNotImplemented () { MethodDefinition method = GetTest ("NotImplemented"); - Assert.AreEqual (RuleResult.Failure, rule.CheckMethod (method)); + Assert.AreEqual (RuleResult.Failure, runner.CheckMethod (method)); } [Test] |