Index: pkg/unittest/lib/src/numeric_matchers.dart |
diff --git a/pkg/unittest/lib/src/numeric_matchers.dart b/pkg/unittest/lib/src/numeric_matchers.dart |
index 4c8cd935cd075775774d78baeb372a2d51aa8ab9..dc0e3a61be567f46407e97ec64e5854c7e856c6a 100644 |
--- a/pkg/unittest/lib/src/numeric_matchers.dart |
+++ b/pkg/unittest/lib/src/numeric_matchers.dart |
@@ -199,7 +199,7 @@ class _InRange extends Matcher { |
this._lowMatchValue, this._highMatchValue); |
bool matches(value, Map matchState) { |
- if (value is !num) { |
+ if (value is! num) { |
return false; |
} |
if (value < _low || value > _high) { |