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

Unified Diff: tests/language/issue10783_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/issue10783_test.dart
diff --git a/tests/language/issue10783_test.dart b/tests/language/issue10783_test.dart
index c603f81a859cbcd39a41f06a4b542acb67086e89..f7503eff7f3d10f86f94abb12bb25e5d83896278 100644
--- a/tests/language/issue10783_test.dart
+++ b/tests/language/issue10783_test.dart
@@ -5,11 +5,15 @@
import "package:expect/expect.dart";
class C {
- foo(int y) { return y; }
+ foo(int y) {
+ return y;
+ }
}
main() {
- for (var b in [[false, 'pig']]) {
+ for (var b in [
+ [false, 'pig']
+ ]) {
var c;
if (b[0]) c = new C();
Expect.throws(() => print(c.foo(b[1])), (e) => e is NoSuchMethodError);

Powered by Google App Engine
This is Rietveld 408576698