Index: tests/language/built_in_identifier_test.dart |
diff --git a/tests/language/built_in_identifier_test.dart b/tests/language/built_in_identifier_test.dart |
index 83b16d7ed9f11e18b8176d8952335278acbd3a1f..602d28c49d44ac4eca65f00e21528cd351d6bc57 100644 |
--- a/tests/language/built_in_identifier_test.dart |
+++ b/tests/language/built_in_identifier_test.dart |
@@ -5,8 +5,10 @@ |
import "package:expect/expect.dart"; |
+ |
class PseudoKWTest { |
static testMain() { |
+ |
// This is a list of built-in identifiers from the Dart spec. |
// It sanity checks that these pseudo-keywords are legal identifiers. |
@@ -31,6 +33,7 @@ class PseudoKWTest { |
// is useful to ensure that it remains a legal identifier. |
var native = 0; |
+ |
// The code below adds a few additional variants of usage without any |
// attempt at complete coverage. |
{ |
@@ -39,8 +42,7 @@ class PseudoKWTest { |
} |
} |
- get: |
- while (import > 0) { |
+ get: while (import > 0) { |
break get; |
} |
@@ -60,10 +62,7 @@ class A { |
var typedef = 0; |
final operator = "smooth"; |
- set(x) { |
- typedef = x; |
- } |
- |
+ set(x) { typedef = x; } |
get() => typedef - 5; |
static static() { // //# 01: ok |
@@ -96,9 +95,10 @@ class C { |
static int operator = (5); |
static var get; |
static get set => 111; |
- static set set(set) {} |
+ static set set(set) { } |
} |
+ |
main() { |
PseudoKWTest.testMain(); |
A.check(); |