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

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

Issue 225903003: Tokenize one line at a time. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Kasper's comments Created 6 years, 8 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/ui.dart ('k') | no next file » | 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 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);
}
« no previous file with comments | « dart/site/try/src/ui.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698