Index: tests/language/throw_expr_test.dart |
diff --git a/tests/language/throw_expr_test.dart b/tests/language/throw_expr_test.dart |
index f844771b727e12d4ce63ebb65a77260af81e68fe..253e7ccbf281e4c3ab74dff78ce2151b8543db78 100644 |
--- a/tests/language/throw_expr_test.dart |
+++ b/tests/language/throw_expr_test.dart |
@@ -48,6 +48,7 @@ bar(x, y) => throw "foo" "${throw x}"; |
class Q { |
var qqq; |
f(x) { qqq = x; } |
+ Q get nono => throw "nono"; |
} |
void test3() { |
@@ -91,8 +92,14 @@ void test3() { |
} |
} |
+void test4() { |
+ var q = new Q(); |
+ Expect.throws(() => q.nono, (e) => e == "nono"); |
+} |
+ |
main() { |
test1(); |
test2(); |
test3(); |
+ test4(); |
} |