Index: tools/dom/scripts/idlparser_test.dart |
diff --git a/tools/dom/scripts/idlparser_test.dart b/tools/dom/scripts/idlparser_test.dart |
index 126d8cf54273ec59a7d2d2bdb73a91ca4c1c357b..4ca9f95983f48483e31416a2ffc6a2f7a50af4e8 100644 |
--- a/tools/dom/scripts/idlparser_test.dart |
+++ b/tools/dom/scripts/idlparser_test.dart |
@@ -95,7 +95,9 @@ void check(grammar, rule, input, expected) { |
if (expected is String) |
formatted = printList(ast); |
- Expect.equals(expected, formatted, "parse: $input"); |
+ if (expected != formatted) { |
+ throw new StateError("parse: $input"); |
+ } |
} |
// Prints the list in [1,2,3] notation, including nested lists. |