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

Unified Diff: test/returning_future_test.dart

Issue 846143003: Reformatted code (Closed) Base URL: https://github.com/dart-lang/unittest.git@master
Patch Set: Created 5 years, 11 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 | « test/protect_async_test.dart ('k') | test/returning_future_using_runasync_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/returning_future_test.dart
diff --git a/test/returning_future_test.dart b/test/returning_future_test.dart
index d522643483e85e533578dd7a0d6cc3849215510f..d59d8c1be89c410115ddf953245021a91c8d045b 100644
--- a/test/returning_future_test.dart
+++ b/test/returning_future_test.dart
@@ -52,23 +52,19 @@ void _test(message) {
fail('failure');
});
});
- test('foo5', () {
- });
- }, [{
- 'result': 'pass'
- }, {
- 'result': 'fail',
- 'message': 'Callback called more times than expected (1).'
- }, {
- 'result': 'fail',
- 'message': 'Expected: <false>\n Actual: <true>\n'
- }, {
- 'result': 'fail',
- 'message': 'Callback called more times than expected (1).'
- }, {
- 'result': 'fail',
- 'message': 'failure'
- }, {
- 'result': 'pass'
- }]);
+ test('foo5', () {});
+ }, [
+ {'result': 'pass'},
+ {
+ 'result': 'fail',
+ 'message': 'Callback called more times than expected (1).'
+ },
+ {'result': 'fail', 'message': 'Expected: <false>\n Actual: <true>\n'},
+ {
+ 'result': 'fail',
+ 'message': 'Callback called more times than expected (1).'
+ },
+ {'result': 'fail', 'message': 'failure'},
+ {'result': 'pass'}
+ ]);
}
« no previous file with comments | « test/protect_async_test.dart ('k') | test/returning_future_using_runasync_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698