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

Unified Diff: dart/tests/try/paste_content_rewriting_test.dart

Issue 209233005: Simplify content rewriting. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Kasper's comments. Created 6 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
« no previous file with comments | « dart/site/try/src/interaction_manager.dart ('k') | dart/tests/try/try.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/try/paste_content_rewriting_test.dart
diff --git a/dart/tests/try/paste_content_rewriting_test.dart b/dart/tests/try/paste_content_rewriting_test.dart
index cfe9418a1559383402c91bf4e3ebec6560483119..e865233a19e8b2c6b4f05d3c6470b735f4793f40 100644
--- a/dart/tests/try/paste_content_rewriting_test.dart
+++ b/dart/tests/try/paste_content_rewriting_test.dart
@@ -36,5 +36,13 @@ main() {
asyncTest(() => new Future(() {
print('Welcome to the future');
Expect.stringEquals('//...\n}\n', inputPre.text);
+ }).then((_) {
+ inputPre.innerHtml = 'someText';
+ return new Future(() {
+ Expect.stringEquals('someText\n', inputPre.text);
+
+ // Clear the DOM to work around a bug in test.dart.
+ document.body.nodes.clear();
+ });
}));
}
« no previous file with comments | « dart/site/try/src/interaction_manager.dart ('k') | dart/tests/try/try.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698