| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/scanner/AbstractScannerTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/scanner/AbstractScannerTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/scanner/AbstractScannerTest.java
|
| index 687dcb9338ae593e600ecc5a4032cbedfdb6b9d5..975d3c33c557fb67590abadacb4492dc7a21ebb6 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/scanner/AbstractScannerTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/scanner/AbstractScannerTest.java
|
| @@ -229,7 +229,15 @@ public abstract class AbstractScannerTest extends TestCase {
|
| assertToken(TokenType.IDENTIFIER, "result");
|
| }
|
|
|
| - public void test_illegalChar() throws Exception {
|
| + public void test_illegalChar_cyrillicLetter_middle() throws Exception {
|
| + assertError(ScannerErrorCode.ILLEGAL_CHARACTER, 0, "Shche\u0433lov");
|
| + }
|
| +
|
| + public void test_illegalChar_cyrillicLetter_start() throws Exception {
|
| + assertError(ScannerErrorCode.ILLEGAL_CHARACTER, 0, "\u0429");
|
| + }
|
| +
|
| + public void test_illegalChar_notLetter() throws Exception {
|
| assertError(ScannerErrorCode.ILLEGAL_CHARACTER, 0, "\u0312");
|
| }
|
|
|
|
|