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

Unified Diff: tests/language/lazy_map_test.dart

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 years, 1 month 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/language_dart2js.status ('k') | tests/language/override_field_method3_negative_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/lazy_map_test.dart
diff --git a/tests/language/patch_test.dart b/tests/language/lazy_map_test.dart
similarity index 76%
copy from tests/language/patch_test.dart
copy to tests/language/lazy_map_test.dart
index cd2f17eff693747a9487975c3ded710c087c4550..f1ff770a22ef40b51d951b82d5abd979d7054b4b 100644
--- a/tests/language/patch_test.dart
+++ b/tests/language/lazy_map_test.dart
@@ -2,11 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-patch() {
- return 12;
-}
-
+var data = { 'a': 'a' };
main() {
- var x = patch();
- Expect.equals(12, x);
+ Expect.equals('a', data['a']);
}
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tests/language/override_field_method3_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698