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

Unified Diff: pkg/mime/test/mime_multipart_transformer_test.dart

Issue 19158004: Run mime-multipart test in 'test' callback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/mime/test/mime_multipart_transformer_test.dart
diff --git a/pkg/mime/test/mime_multipart_transformer_test.dart b/pkg/mime/test/mime_multipart_transformer_test.dart
index f0dd91e66c5cfcb55a8d2547f6be3294e44543cc..43b542fa285d90503a5d935e1f60b3115c989428 100644
--- a/pkg/mime/test/mime_multipart_transformer_test.dart
+++ b/pkg/mime/test/mime_multipart_transformer_test.dart
@@ -58,12 +58,14 @@ void testParse(String message,
// Test parsing the data three times delivering the data in
// different chunks.
List<int> data = message.codeUnits;
- expect(Future.wait([
- testWrite(data),
- testWrite(data, 10),
- testWrite(data, 2),
- testWrite(data, 1)]),
- completes);
+ test('test', () {
+ expect(Future.wait([
+ testWrite(data),
+ testWrite(data, 10),
+ testWrite(data, 2),
+ testWrite(data, 1)]),
+ completes);
+ });
}
void testParseValid() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698