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

Unified Diff: tests/language_strong/number_identifier_test.dart

Issue 2973963002: update strong mode test for fasta scanner (Closed)
Patch Set: re-enable ddc language/number_identifier_test_05_multi test Created 3 years, 5 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 | « pkg/dev_compiler/test/not_yet_strong_tests.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/number_identifier_test.dart
diff --git a/tests/language_strong/number_identifier_test.dart b/tests/language_strong/number_identifier_test.dart
index 1087a68a4f4a1308f5edcb75f5be0f37c97ad92c..02a5d7cc434f8a93d3ef4db10f8a854102cc5b19 100644
--- a/tests/language_strong/number_identifier_test.dart
+++ b/tests/language_strong/number_identifier_test.dart
@@ -29,7 +29,7 @@ main() {
Expect.equals(1e-2, 1e-2 as double);
Expect.isTrue(1e+2 is double);
Expect.equals(1e+2, 1e+2 as double);
- Expect.throws(() => 1.e+2, // //# 05: ok
+ Expect.throws(() => 1.e+2, // //# 05: compile-time error
(e) => e is NoSuchMethodError); // //# 05: continued
1d; // //# 06: compile-time error
1D; // //# 07: compile-time error
« no previous file with comments | « pkg/dev_compiler/test/not_yet_strong_tests.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698