Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2515)

Unified Diff: dart/tests/language/final_syntax_test.dart

Issue 10840004: Update test to work with lazy compilation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Tweaked test Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/language/final_syntax_test.dart
diff --git a/dart/tests/language/final_syntax_test.dart b/dart/tests/language/final_syntax_test.dart
index c0189bd54be635c1cf713c9ac040699e3244a254..6cea078a48f776681074d8e5b0540cf82e391d06 100644
--- a/dart/tests/language/final_syntax_test.dart
+++ b/dart/tests/language/final_syntax_test.dart
@@ -10,8 +10,10 @@ main() {
Expect.equals(42, f0);
Expect.equals(87, f2);
- Expect.equals(42, F0); /// 03: compile-time error
- Expect.equals(87, F2); /// 04: compile-time error
+ Expect.equals(42, F0);
+ Expect.equals(null, F1); /// 03: compile-time error
+ Expect.equals(87, F2);
+ Expect.equals(null, F3); /// 04: compile-time error
Expect.isTrue(P0 is Point);
Expect.isTrue(P1 is int); /// 05: compile-time error
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698