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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/scanner/ScannerTest.java

Issue 48273006: Any non-special \k is OK. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/scanner/ScannerTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/scanner/ScannerTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/scanner/ScannerTest.java
index 34cd57cc7cf817ec606f741beedca34d344b5b3d..cf150212260e9ee78ba13cfd08298ac2ee104d61 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/scanner/ScannerTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/scanner/ScannerTest.java
@@ -643,7 +643,7 @@ public class ScannerTest extends TestCase {
}
public void test_string_multi_slashEnter() throws Exception {
- assertError(ScannerErrorCode.CHARACTER_EXPECTED_AFTER_SLASH, 0, "'''\\\n'''");
+ assertToken(TokenType.STRING, "'''\\\n'''");
}
public void test_string_multi_unterminated() throws Exception {

Powered by Google App Engine
This is Rietveld 408576698