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

Unified Diff: tests/language/number_identifier_test.dart

Issue 23461024: Rewrite negative test number_identifier_negative_test.dart to multi-test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 7 years, 3 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 | « tests/language/number_identifier_negative_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/number_identifier_test.dart
diff --git a/tests/compiler/dart2js_extra/invalid_length_negative_test.dart b/tests/language/number_identifier_test.dart
similarity index 74%
copy from tests/compiler/dart2js_extra/invalid_length_negative_test.dart
copy to tests/language/number_identifier_test.dart
index 983665364128afd7e7fcccff2c53219a7a0ff7bb..b66f5388d7a453c60c660e285c939d8b5acf9a94 100644
--- a/tests/compiler/dart2js_extra/invalid_length_negative_test.dart
+++ b/tests/language/number_identifier_test.dart
@@ -3,5 +3,6 @@
// BSD-style license that can be found in the LICENSE file.
main() {
- new List("foo");
+ 1is int; /// 01: compile-time error
+ 1as int; /// 02: compile-time error
}
« no previous file with comments | « tests/language/number_identifier_negative_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698