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

Unified Diff: tests/language_strong/closure7_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/closure7_test.dart
diff --git a/tests/language_strong/closure7_test.dart b/tests/language_strong/closure7_test.dart
index 58c7131a07aac63f8a12fdfc4a1c1a87ef60f288..91b8f7baefcef41ecf2ba7dc3fb310603c21a270 100644
--- a/tests/language_strong/closure7_test.dart
+++ b/tests/language_strong/closure7_test.dart
@@ -8,14 +8,14 @@ import "package:expect/expect.dart";
class A {
foo() => 499;
- fooo() => 4999; // Implicit closure class can be shared with foo.
+ fooo() => 4999; // Implicit closure class can be shared with foo.
bar(x, {y: 8, z: 10}) => "1 $x $y $z";
- gee(x, {y: 9, z: 11}) => "2 $x $y $z"; // Must not be shared with "bar".
- toto(x, {y: 8, z: 10}) => "3 $x $y $z"; // Could be shared with "bar".
+ gee(x, {y: 9, z: 11}) => "2 $x $y $z"; // Must not be shared with "bar".
+ toto(x, {y: 8, z: 10}) => "3 $x $y $z"; // Could be shared with "bar".
fisk(x, {y: 8, zz: 10}) => "4 $x $y $zz";
- titi(x, {y: 8, zz: 77}) => "5 $x $y $zz"; // Could be shared with "fisk",
- // because default-val is never used.
+ titi(x, {y: 8, zz: 77}) => "5 $x $y $zz"; // Could be shared with "fisk",
+ // because default-val is never used.
}
class B {
@@ -30,7 +30,6 @@ class B {
titi(x, {y: 8, zz: 77}) => "5B $x $y $zz";
}
-
tearOffFoo(o) => o.foo;
tearOffFooo(o) => o.fooo;
tearOffBar(o) => o.bar;
@@ -66,7 +65,7 @@ main() {
Expect.equals("2B 35 9 11", geeB(35));
Expect.equals("3 35 8 10", totoA(35));
Expect.equals("3B 35 8 10", totoB(35));
-
+
Expect.equals("1 35 8 77", barA(35, z: 77));
Expect.equals("1B 35 8 77", barB(35, z: 77));
Expect.equals("2 35 9 77", geeA(35, z: 77));

Powered by Google App Engine
This is Rietveld 408576698