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

Unified Diff: tests/language/src/CallThroughGetterTest.dart

Issue 9664052: - Fix use of String operator + in language and corelib tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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
Index: tests/language/src/CallThroughGetterTest.dart
===================================================================
--- tests/language/src/CallThroughGetterTest.dart (revision 5311)
+++ tests/language/src/CallThroughGetterTest.dart (working copy)
@@ -111,7 +111,7 @@
var exception = catchException(fn);
if (!(exception is ObjectNotClosureException)) {
Expect.fail("Wrong exception. Expected: ObjectNotClosureException"
- + " got: ${exception}");
+ " got: ${exception}");
}
}
@@ -155,7 +155,7 @@
get y() { _mark('y'); return 1; }
get z() { _mark('z'); return 2; }
- _mark(m) { _order += m; return _order; }
+ _mark(m) { _order = _order.concat(m); return _order; }
kasperl 2012/03/12 06:55:42 This would be cleaner with a string buffer, but I
Ivan Posva 2012/04/11 14:26:00 Done.
String _order;
}

Powered by Google App Engine
This is Rietveld 408576698