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

Unified Diff: dart/tests/compiler/dart2js_extra/to_string_test.dart

Issue 10558025: Fix build breakage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 6 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 | « dart/tests/compiler/dart2js_extra/super_constructor1_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/compiler/dart2js_extra/to_string_test.dart
diff --git a/dart/tests/compiler/dart2js_extra/to_string_test.dart b/dart/tests/compiler/dart2js_extra/to_string_test.dart
index 7acf6fd3e11891521405efcb7fdf33fb42c76b00..ee28afe01be7b16a943164fd4120356db649d327 100644
--- a/dart/tests/compiler/dart2js_extra/to_string_test.dart
+++ b/dart/tests/compiler/dart2js_extra/to_string_test.dart
@@ -5,16 +5,16 @@
class A extends Object {
}
-class Adder {
+class Concater {
final x;
final y;
- Adder(x, y) : this.x = x, this.y = y;
- add() => x + y;
+ Concater(x, y) : this.x = x, this.y = y;
+ add() => x.concat(y.toString());
}
test(expected, x) {
Expect.equals(expected, x.toString());
- Expect.equals(expected, new Adder("", x).add());
+ Expect.equals(expected, new Concater("", x).add());
}
main() {
« no previous file with comments | « dart/tests/compiler/dart2js_extra/super_constructor1_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698