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

Unified Diff: tests/language_strong/context2_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/context2_test.dart
diff --git a/tests/language_strong/context2_test.dart b/tests/language_strong/context2_test.dart
index f3358eda06661e66a1a373a273304a1e11c4e5b7..1db17ff9e18d29d9962976b91873c3de247af516 100644
--- a/tests/language_strong/context2_test.dart
+++ b/tests/language_strong/context2_test.dart
@@ -8,15 +8,18 @@ import "package:expect/expect.dart";
// Regression test for issue 5991015.
class V {
+ notCalled(Function x) {
+ return x();
+ }
- notCalled(Function x) { return x(); }
-
- foofoo(x) { return x; }
+ foofoo(x) {
+ return x;
+ }
hoop(input, n) {
while (n-- > 0) {
Expect.equals(5, input);
- continue; // This continue statement must properly unchain the context.
+ continue; // This continue statement must properly unchain the context.
switch (input) {
case 3:
var values = foofoo;

Powered by Google App Engine
This is Rietveld 408576698