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

Unified Diff: tests/language_strong/no_such_method_mock_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/no_such_method_mock_test.dart
diff --git a/tests/language_strong/no_such_method_mock_test.dart b/tests/language_strong/no_such_method_mock_test.dart
index 4a461b3af42568fc8e32710e829d24d8fd5356d5..ec84d8c03a31af8039cd492e3a796a5e4b57e5d0 100644
--- a/tests/language_strong/no_such_method_mock_test.dart
+++ b/tests/language_strong/no_such_method_mock_test.dart
@@ -16,7 +16,6 @@ class MockCat implements Cat {
}
}
-
class MockCat2 extends MockCat {
// this apparently works.
noSuchMethod(_);
@@ -36,7 +35,6 @@ class MockCat3 extends MockCat2 implements Cat {
}
}
-
class MockWithGenerics {
/*=T*/ doStuff/*<T>*/(/*=T*/ t);
@@ -48,10 +46,11 @@ class MockWithGetterSetter {
set setter(value);
Invocation invocation;
- noSuchMethod(i) { invocation = i; }
+ noSuchMethod(i) {
+ invocation = i;
+ }
}
-
void main() {
MockCat mock = new MockCat();
Expect.isTrue((mock as dynamic).eatFood("cat food"));

Powered by Google App Engine
This is Rietveld 408576698