Index: pkg/testing/lib/src/multitest.dart |
diff --git a/pkg/testing/lib/src/multitest.dart b/pkg/testing/lib/src/multitest.dart |
index 1efbabe71384cc87b2ba3dc715d1ebb2ce5f396a..5d4d1232071fa8aaf9971e867ea7be9373d2b8a0 100644 |
--- a/pkg/testing/lib/src/multitest.dart |
+++ b/pkg/testing/lib/src/multitest.dart |
@@ -21,12 +21,12 @@ import 'test_description.dart' show |
bool isError(Set<String> expectations) { |
if (expectations.contains("compile-time error")) return true; |
if (expectations.contains("runtime error")) return true; |
- if (expectations.contains("dynamic type error")) return true; |
return false; |
} |
bool isCheckedModeError(Set<String> expectations) { |
if (expectations.contains("checked mode compile-time error")) return true; |
+ if (expectations.contains("dynamic type error")) return true; |
return isError(expectations); |
} |