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

Unified Diff: samples/tests/samples/lib/view/view_test.dart

Issue 10565029: Fix + usages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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 | « no previous file | samples/tests/samples/proxy/mint_maker_fully_isolated_generated_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/tests/samples/lib/view/view_test.dart
diff --git a/samples/tests/samples/lib/view/view_test.dart b/samples/tests/samples/lib/view/view_test.dart
index 614e0343aa330e362d75455f667203fd6fd2a5e0..f8fa5ac58d57c1b54ae220c73c988f8e7a7e70be 100644
--- a/samples/tests/samples/lib/view/view_test.dart
+++ b/samples/tests/samples/lib/view/view_test.dart
@@ -31,11 +31,11 @@ void main() {
var result = '';
final view = new TestView();
view.renderFn = () {
- result += 'render';
+ result = '${result}render';
return new Element.html('<div class="test"></div>');
};
- view.afterRenderFn = (node) { result += 'after'; };
+ view.afterRenderFn = (node) { result = '${result}after'; };
view.addToDocument(document.body);
@@ -170,10 +170,10 @@ void main() {
var result = '';
final parent = new TestView();
- parent.enterDocumentFn = () { result += 'parent'; };
+ parent.enterDocumentFn = () { result = '${result}parent'; };
final child = new TestView();
- child.enterDocumentFn = () { result += 'child'; };
+ child.enterDocumentFn = () { result = '${result}child'; };
parent.childViews = [child];
« no previous file with comments | « no previous file | samples/tests/samples/proxy/mint_maker_fully_isolated_generated_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698