Fix tests

This commit is contained in:
Stef Heyenrath
2017-02-05 10:30:17 +01:00
parent 8231b25805
commit e1b557f875
2 changed files with 33 additions and 33 deletions

View File

@@ -28,7 +28,7 @@ namespace WireMock.Net.Tests
foreach (var test in tests)
{
var matcher = new WildcardMatcher(test.p);
Assert.IsTrue(matcher.IsMatch(test.i), "p = " + test.p + ", i = " + test.i);
Assert.AreEqual(1.0, matcher.IsMatch(test.i), "p = " + test.p + ", i = " + test.i);
}
}
@@ -52,7 +52,7 @@ namespace WireMock.Net.Tests
foreach (var test in tests)
{
var matcher = new WildcardMatcher(test.p);
Assert.IsFalse(matcher.IsMatch(test.i), "p = " + test.p + ", i = " + test.i);
Assert.AreEqual(0.0, matcher.IsMatch(test.i), "p = " + test.p + ", i = " + test.i);
}
}
}