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

Unified Diff: tests/language_strong/built_in_identifier_test.dart

Issue 2768073002: Format all multitests (Closed)
Patch Set: Created 3 years, 9 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: tests/language_strong/built_in_identifier_test.dart
diff --git a/tests/language_strong/built_in_identifier_test.dart b/tests/language_strong/built_in_identifier_test.dart
index 602d28c49d44ac4eca65f00e21528cd351d6bc57..83b16d7ed9f11e18b8176d8952335278acbd3a1f 100644
--- a/tests/language_strong/built_in_identifier_test.dart
+++ b/tests/language_strong/built_in_identifier_test.dart
@@ -5,10 +5,8 @@
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.
@@ -33,7 +31,6 @@ 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.
{
@@ -42,7 +39,8 @@ class PseudoKWTest {
}
}
- get: while (import > 0) {
+ get:
+ while (import > 0) {
break get;
}
@@ -62,7 +60,10 @@ class A {
var typedef = 0;
final operator = "smooth";
- set(x) { typedef = x; }
+ set(x) {
+ typedef = x;
+ }
+
get() => typedef - 5;
static static() { // //# 01: ok
@@ -95,10 +96,9 @@ 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();

Powered by Google App Engine
This is Rietveld 408576698