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

Unified Diff: test/async_setup_teardown_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/async_exception_with_future_test.dart ('k') | test/exception_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/async_setup_teardown_test.dart
diff --git a/test/async_setup_teardown_test.dart b/test/async_setup_teardown_test.dart
index c9138d01f772e86a0030dd35ca57541211036889..1068ee7025d03377a5dca0783a119d81a9f97050 100644
--- a/test/async_setup_teardown_test.dart
+++ b/test/async_setup_teardown_test.dart
@@ -32,10 +32,12 @@ void _test(message) {
return new Future.error("Failed to complete tearDown");
});
test('foo2', () {});
- }, [{
- 'result': 'error',
- 'message': 'Teardown failed: Caught Failed to complete tearDown'
- }]);
+ }, [
+ {
+ 'result': 'error',
+ 'message': 'Teardown failed: Caught Failed to complete tearDown'
+ }
+ ]);
expectTestResults('bad setup/good teardown', () {
setUp(() {
@@ -45,10 +47,12 @@ void _test(message) {
return new Future.value(0);
});
test('foo3', () {});
- }, [{
- 'result': 'error',
- 'message': 'Setup failed: Caught Failed to complete setUp'
- }]);
+ }, [
+ {
+ 'result': 'error',
+ 'message': 'Setup failed: Caught Failed to complete setUp'
+ }
+ ]);
expectTestResults('bad setup/bad teardown', () {
setUp(() {
@@ -58,8 +62,10 @@ void _test(message) {
return new Future.error("Failed to complete tearDown");
});
test('foo4', () {});
- }, [{
- 'result': 'error',
- 'message': 'Setup failed: Caught Failed to complete setUp'
- }]);
+ }, [
+ {
+ 'result': 'error',
+ 'message': 'Setup failed: Caught Failed to complete setUp'
+ }
+ ]);
}
« no previous file with comments | « test/async_exception_with_future_test.dart ('k') | test/exception_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698