Index: utils/tests/peg/peg_test.dart |
diff --git a/utils/tests/peg/peg_test.dart b/utils/tests/peg/peg_test.dart |
index b39a12f90d2669124a52624a7679279f23c71df8..a8cc7d8c2df305d6788860fa7a42bdbae04a20a6 100644 |
--- a/utils/tests/peg/peg_test.dart |
+++ b/utils/tests/peg/peg_test.dart |
@@ -291,7 +291,7 @@ show(grammar, rule, input) { |
var ast; |
try { |
ast = grammar.parse(rule, input); |
- } catch (var exception) { |
+ } catch (exception) { |
if (exception is ParseError) |
ast = exception; |
else |
@@ -307,7 +307,7 @@ void check(grammar, rule, input, expected) { |
var ast; |
try { |
ast = grammar.parse(rule, input); |
- } catch (var exception) { |
+ } catch (exception) { |
ast = exception; |
} |