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

Unified Diff: tests/corelib_2/string_from_list_test.dart

Issue 2989473002: Migrated test block 27 to Dart 2.0. (Closed)
Patch Set: Addressed Bob's nits and fixed test failures 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 | « tests/corelib_2/string_from_environment_test.dart ('k') | tests/corelib_2/string_fromcharcode_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib_2/string_from_list_test.dart
diff --git a/tests/corelib/string_from_list_test.dart b/tests/corelib_2/string_from_list_test.dart
similarity index 99%
rename from tests/corelib/string_from_list_test.dart
rename to tests/corelib_2/string_from_list_test.dart
index 062d6b6f0491150900a2df85b62f60c3b1d107a3..0263d027f7c1d06e4afb5b26cb4f44c3a974b27f 100644
--- a/tests/corelib/string_from_list_test.dart
+++ b/tests/corelib_2/string_from_list_test.dart
@@ -15,7 +15,7 @@ void main() {
Expect.equals("\u{12345}*", new String.fromCharCodes([0x12345, 42]));
Expect.equals("", new String.fromCharCodes(new List()));
{
- var a = new List();
+ var a = <int>[];
a.add(65);
a.add(66);
Expect.equals("AB", new String.fromCharCodes(a));
« no previous file with comments | « tests/corelib_2/string_from_environment_test.dart ('k') | tests/corelib_2/string_fromcharcode_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698