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 8355275d87029456a024b994a9c305ee8816c4ce..f16c3d86b327789acdcd25a56775da39751d1b52 100644 |
--- a/dart/tests/try/paste_content_rewriting_test.dart |
+++ b/dart/tests/try/paste_content_rewriting_test.dart |
@@ -23,13 +23,16 @@ import '../../pkg/expect/lib/expect.dart'; |
import '../../pkg/async_helper/lib/async_helper.dart'; |
const Map<String, String> tests = const <String, String> { |
- '<span><p>//...</p>}</span>': '//...\n}\n', |
- 'someText': 'someText\n', |
- '"\$"': '"<DIAGNOSTIC>\$</DIAGNOSTIC>"\n', |
- '"\$\$"': '"<DIAGNOSTIC>\$</DIAGNOSTIC><DIAGNOSTIC>\$</DIAGNOSTIC>"\n', |
- '"\$\$4"': '"<DIAGNOSTIC>\$</DIAGNOSTIC><DIAGNOSTIC>\$</DIAGNOSTIC>4"\n', |
- '"\$\$4 "': '"<DIAGNOSTIC>\$</DIAGNOSTIC><DIAGNOSTIC>\$</DIAGNOSTIC>4 "\n', |
- '1e': '<DIAGNOSTIC>1e</DIAGNOSTIC>\n', |
+ '<span><p>//...</p>}</span>': '//...\n}', |
+ 'someText': 'someText', |
+ '"\$"': '"<DIAGNOSTIC>\$</DIAGNOSTIC>"', |
+ '"\$\$"': '"<DIAGNOSTIC>\$</DIAGNOSTIC><DIAGNOSTIC>\$</DIAGNOSTIC>"', |
+ '"\$\$4"': '"<DIAGNOSTIC>\$</DIAGNOSTIC><DIAGNOSTIC>\$</DIAGNOSTIC>4"', |
+ '"\$\$4 "': '"<DIAGNOSTIC>\$</DIAGNOSTIC><DIAGNOSTIC>\$</DIAGNOSTIC>4 "', |
+ '1e': '<DIAGNOSTIC>1e</DIAGNOSTIC>', |
+ 'r"""\n\n\'"""': 'r"""\n\n\'"""', |
+ '"': '<DIAGNOSTIC>"</DIAGNOSTIC>', |
+ '/**\n*/': '/**\n*/', |
}; |
List<Node> queryDiagnosticNodes() { |
@@ -76,7 +79,5 @@ void main() { |
..observe( |
mainEditorPane, childList: true, characterData: true, subtree: true); |
- mainEditorPane.innerHtml = "<span><p>//...</p>}</span>"; |
- |
asyncTest(runTests); |
} |