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

Unified Diff: tests/compiler/dart2js_extra/invoke_dynamic_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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/compiler/dart2js_extra/invoke_dynamic_test.dart
diff --git a/tests/compiler/dart2js_extra/invoke_dynamic_test.dart b/tests/compiler/dart2js_extra/invoke_dynamic_test.dart
index b76c59bce97c11a9d3c557f7588b87c6d1dfbcff..65239f6127bd04ae116ab0aa75a1549e89ab825b 100644
--- a/tests/compiler/dart2js_extra/invoke_dynamic_test.dart
+++ b/tests/compiler/dart2js_extra/invoke_dynamic_test.dart
@@ -5,21 +5,45 @@
import "package:expect/expect.dart";
class A {
- foo() { return 499; }
- bar(x) { return x + 499; }
- baz() { return 54; }
- titi() { return 123; }
+ foo() {
+ return 499;
+ }
+
+ bar(x) {
+ return x + 499;
+ }
+
+ baz() {
+ return 54;
+ }
+
+ titi() {
+ return 123;
+ }
}
class B {
- foo() { return 42; }
- bar(x) { return x + 42; }
- toto() { return foo() + 42; }
+ foo() {
+ return 42;
+ }
+
+ bar(x) {
+ return x + 42;
+ }
+
+ toto() {
+ return foo() + 42;
+ }
}
class C extends A {
- foo() { return 99; }
- bar(x) { return x + 99; }
+ foo() {
+ return 99;
+ }
+
+ bar(x) {
+ return x + 99;
+ }
}
void main() {

Powered by Google App Engine
This is Rietveld 408576698