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

Unified Diff: tests/language/type_guard_conversion_test.dart

Issue 12441003: Rename String.concat to operator+. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/type_guard_conversion_test.dart
diff --git a/tests/language/type_guard_conversion_test.dart b/tests/language/type_guard_conversion_test.dart
index 451fbaecd8e6baf8050d903612cf99d151ac0661..a008b62e93d6015bf90ce49cea49ab0edb45634d 100644
--- a/tests/language/type_guard_conversion_test.dart
+++ b/tests/language/type_guard_conversion_test.dart
@@ -12,7 +12,7 @@ main() {
} while (b != 'r');
if (a is Comparable) {
- a = a.concat(a);
+ a += a;
}
Expect.equals('barbar', a);
}

Powered by Google App Engine
This is Rietveld 408576698