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

Unified Diff: test/protect_async_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/nested_groups_setup_teardown_test.dart ('k') | test/returning_future_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/protect_async_test.dart
diff --git a/test/protect_async_test.dart b/test/protect_async_test.dart
index d62816aada880b2e972dbc113dc779077e25bb8b..19211f2bb3e83a860747f78c31c348930500847a 100644
--- a/test/protect_async_test.dart
+++ b/test/protect_async_test.dart
@@ -40,17 +40,19 @@ void _test(message) {
test('throw away 1', () {
return new Future(() {});
});
- }, [{
- 'result': 'error',
- 'message': 'Caught Bad state: error during protectAsync0'
- }, {
- 'result': 'error',
- 'message': 'Caught Bad state: error during protectAsync1: one arg'
- }, {
- 'result': 'error',
- 'message': 'Caught Bad state: error during protectAsync2: arg1, arg2'
- }, {
- 'result': 'pass',
- 'message': ''
- }]);
+ }, [
+ {
+ 'result': 'error',
+ 'message': 'Caught Bad state: error during protectAsync0'
+ },
+ {
+ 'result': 'error',
+ 'message': 'Caught Bad state: error during protectAsync1: one arg'
+ },
+ {
+ 'result': 'error',
+ 'message': 'Caught Bad state: error during protectAsync2: arg1, arg2'
+ },
+ {'result': 'pass', 'message': ''}
+ ]);
}
« no previous file with comments | « test/nested_groups_setup_teardown_test.dart ('k') | test/returning_future_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698