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

Unified Diff: tests/language/constructor_named_arguments_test.dart

Issue 2774783002: Re-land "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
« no previous file with comments | « tests/language/constructor_name_test.dart ('k') | tests/language/constructor_redirect_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/constructor_named_arguments_test.dart
diff --git a/tests/language/constructor_named_arguments_test.dart b/tests/language/constructor_named_arguments_test.dart
index e04a52a9ca5add99443dc35b4ac2cea41a923eeb..4bd51f704c5b9e886e8e5405ecff3c1a962618d1 100644
--- a/tests/language/constructor_named_arguments_test.dart
+++ b/tests/language/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();
« no previous file with comments | « tests/language/constructor_name_test.dart ('k') | tests/language/constructor_redirect_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698