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

Unified Diff: pkg/typed_mock/test/typed_mock_test.dart

Issue 2743423009: Run dartfmt on remaining unformated pkg packages (Closed)
Patch Set: Run dartfmt on remaining unformated pkg packages Created 3 years, 9 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
« no previous file with comments | « pkg/typed_mock/lib/typed_mock.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/typed_mock/test/typed_mock_test.dart
diff --git a/pkg/typed_mock/test/typed_mock_test.dart b/pkg/typed_mock/test/typed_mock_test.dart
index 9585673bc62ef5b9f185b84e953da9a0a73e91d1..22bddd998ffc68871e4dddbfe292605e62857a4e 100644
--- a/pkg/typed_mock/test/typed_mock_test.dart
+++ b/pkg/typed_mock/test/typed_mock_test.dart
@@ -4,7 +4,6 @@ import 'package:unittest/unittest.dart';
import 'package:typed_mock/typed_mock.dart';
-
abstract class TestInterface {
int get testProperty;
set testProperty(x);
@@ -16,12 +15,10 @@ abstract class TestInterface {
int operator [](index);
}
-
class TestInterfaceMock extends TypedMock implements TestInterface {
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
-
main() {
// lets make it redable
groupSep = ' | ';
@@ -231,11 +228,11 @@ main() {
verify(obj.testProperty).times(2);
});
- test('OK, void method', () {
- obj.testMethodVoid(10);
- obj.testMethodVoid(20);
- verify(obj.testMethodVoid(anyInt)).times(2);
- });
+ test('OK, void method', () {
+ obj.testMethodVoid(10);
+ obj.testMethodVoid(20);
+ verify(obj.testMethodVoid(anyInt)).times(2);
+ });
test('mismatch, getter', () {
obj.testProperty;
« no previous file with comments | « pkg/typed_mock/lib/typed_mock.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698