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

Unified Diff: tests/language_strong/constructor_named_arguments_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/constructor_named_arguments_test.dart
diff --git a/tests/language_strong/constructor_named_arguments_test.dart b/tests/language_strong/constructor_named_arguments_test.dart
index e04a52a9ca5add99443dc35b4ac2cea41a923eeb..4bd51f704c5b9e886e8e5405ecff3c1a962618d1 100644
--- a/tests/language_strong/constructor_named_arguments_test.dart
+++ b/tests/language_strong/constructor_named_arguments_test.dart
@@ -20,11 +20,14 @@ bar() {
class X {
var i;
var j;
- X({a: 'defa', b: 'defb'}) : this.i = a, this.j = b;
+ X({a: 'defa', b: 'defb'})
+ : this.i = a,
+ this.j = b;
X.foo() : this(b: 1, a: 2);
- X.bar() : this(
+ X.bar()
+ : this(
1, // //# 01: static type warning, runtime error
- a: 2);
+ a: 2);
X.baz() : this(a: 1, b: 2);
X.qux() : this(b: 2);
X.hest() : this();

Powered by Google App Engine
This is Rietveld 408576698