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

Unified Diff: tests/language/super_call4_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/super_call4_test.dart
diff --git a/tests/language/super_call4_test.dart b/tests/language/super_call4_test.dart
index b61ea8e5d3602211517ccac7df771fd8b9401d4d..72bb8511785f9642d4725623ff820fc4d213029d 100644
--- a/tests/language/super_call4_test.dart
+++ b/tests/language/super_call4_test.dart
@@ -14,23 +14,23 @@ class C {
bool noSuchMethod(Invocation im) {
if (im.memberName == const Symbol('foo')) {
return im.positionalArguments.isEmpty &&
- im.namedArguments.isEmpty &&
- reflect(e).delegate(im);
+ im.namedArguments.isEmpty &&
+ reflect(e).delegate(im);
}
if (im.memberName == const Symbol('bar')) {
return im.positionalArguments.length == 1 &&
- im.namedArguments.isEmpty &&
- reflect(e).delegate(im);
+ im.namedArguments.isEmpty &&
+ reflect(e).delegate(im);
}
if (im.memberName == const Symbol('baz')) {
return im.positionalArguments.isEmpty &&
- im.namedArguments.length == 1 &&
- reflect(e).delegate(im);
+ im.namedArguments.length == 1 &&
+ reflect(e).delegate(im);
}
if (im.memberName == const Symbol('boz')) {
return im.positionalArguments.length == 1 &&
- im.namedArguments.length == 1 &&
- reflect(e).delegate(im);
+ im.namedArguments.length == 1 &&
+ reflect(e).delegate(im);
}
return false;
}
@@ -40,15 +40,19 @@ class D extends C {
bool noSuchMethod(Invocation im) {
return false;
}
+
test1() {
return super.foo();
}
+
test2() {
return super.bar(1);
}
+
test3() {
return super.baz(b: 2);
}
+
test4() {
return super.boz(1, c: 2);
}

Powered by Google App Engine
This is Rietveld 408576698