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

Unified Diff: tests/language_strong/default_factory_library_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_strong/default_factory_library_test.dart
diff --git a/tests/language_strong/default_factory_library_test.dart b/tests/language_strong/default_factory_library_test.dart
index ad7291b9234d93a7d0aeb57a727c88bf42448efd..31c09a0250fcfad7540ee3b77dae589e26e653ac 100644
--- a/tests/language_strong/default_factory_library_test.dart
+++ b/tests/language_strong/default_factory_library_test.dart
@@ -5,17 +5,25 @@
// Dart test program for testing factories defined across libraries
library test;
+
import "package:expect/expect.dart";
import "default_factory_library.dart" as lib;
class B implements lib.A, C {
- int methodA() { return 1; }
- int methodB() { return 2; }
+ int methodA() {
+ return 1;
+ }
+
+ int methodB() {
+ return 2;
+ }
}
abstract class C implements lib.A {
// Referenced from an abstract class in another library
- factory C.A () { return new B(); }
+ factory C.A() {
+ return new B();
+ }
}
main() {

Powered by Google App Engine
This is Rietveld 408576698