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")); |