| Index: compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
| ===================================================================
|
| --- compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java (revision 10652)
|
| +++ compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java (working copy)
|
| @@ -174,8 +174,8 @@
|
| assertEquals(
|
| Joiner.on("\n").join(
|
| "// unit QualifiedReturnTypeB.dart",
|
| - "#library(\"test\");",
|
| - "#import(\"QualifiedReturnTypeA.dart\", prefix : \"pref\");",
|
| + "library test;",
|
| + "import \"QualifiedReturnTypeA.dart\" as pref;",
|
| "class A {",
|
| "",
|
| " pref.A foo() {",
|
| @@ -1061,17 +1061,6 @@
|
| ParserErrorCode.OPERATOR_CANNOT_BE_STATIC, 2, 10);
|
| }
|
|
|
| - public void test_expectedPrefixIdentifier() throws Exception {
|
| - parseUnit("phony_expected_prefix_identifier.dart",
|
| - Joiner.on("\n").join(
|
| - "#import(\"l.dart\", postfix : \"l\");",
|
| - "#import(\"l.dart\", );",
|
| - "#import(\"l.dart\", prefix : \"1\");"),
|
| - ParserErrorCode.EXPECTED_PREFIX_KEYWORD, 1, 17,
|
| - ParserErrorCode.EXPECTED_PREFIX_KEYWORD, 2, 17,
|
| - ParserErrorCode.EXPECTED_PREFIX_IDENTIFIER, 3, 28);
|
| - }
|
| -
|
| public void test_nonFinalStaticMemberInInterface() throws Exception {
|
| parseUnit("phony_non_final_static_member_in_interface.dart",
|
| Joiner.on("\n").join(
|
|
|