Index: pkg/front_end/testcases/rasta/parser_error.dart.direct.expect |
diff --git a/pkg/front_end/testcases/rasta/parser_error.dart.direct.expect b/pkg/front_end/testcases/rasta/parser_error.dart.direct.expect |
index dfb2659daaf304b13ac48527f5b3b9e6e0fba7be..12c517ddc0886d642eb4240eec52365880ac1797 100644 |
--- a/pkg/front_end/testcases/rasta/parser_error.dart.direct.expect |
+++ b/pkg/front_end/testcases/rasta/parser_error.dart.direct.expect |
@@ -1,5 +1,10 @@ |
library; |
import self as self; |
+import "package:expect/expect.dart" as exp; |
+import "dart:core" as core; |
-static method main() → dynamic |
- throw "pkg/front_end/testcases/rasta/parser_error.dart:10:7: Error: Expected an expression, but got '?'.\n if (?b) return b; /// 01: compile-time error\n ^"; |
+static method test() → dynamic |
+ invalid-statement; |
+static method main() → dynamic { |
+ exp::Expect::equals(6, throw core::_genericNoSuchMethod(null, #test, <dynamic>[1], <dynamic, dynamic>{#b: 2, #c: 3}, <dynamic>[])); |
+} |