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 d040efb24a5a43116e4e931e73dc619361c68e39..2a725ff32e0194f2f6e20389abd32cf88c2a2281 100644 |
--- a/pkg/unittest/lib/src/numeric_matchers.dart |
+++ b/pkg/unittest/lib/src/numeric_matchers.dart |
@@ -74,7 +74,7 @@ const Matcher isNonNegative = |
'a non-negative value', false); |
bool _isNumeric(value) { |
- return value is int || value is double; |
+ return value is num; |
} |
class _OrderingComparison extends Matcher { |