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

Unified Diff: tests/lib/async/future_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (Closed)
Patch Set: 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 | « tests/lib/async/future_or_only_in_async_test.dart ('k') | tests/lib/async/print_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/future_test.dart
diff --git a/tests/lib/async/future_test.dart b/tests/lib/async/future_test.dart
index 93c9c3a3bbaa8e956bd16d4671f77fd9270542b9..2e64e729092a7915475578fe6e7019553ac3876b 100644
--- a/tests/lib/async/future_test.dart
+++ b/tests/lib/async/future_test.dart
@@ -973,9 +973,9 @@ void testTypes() {
new Future<int>.delayed(Duration.ZERO, () => value));
testType("Future.microtask($value)",
new Future<int>.microtask(() => value));
- testType("Future.sync($value)", new Future<int>.sync(() => value)); // /// 01: ok
- testType("Future.sync(future($value))", // /// 01: continued
- new Future<int>.sync(() async => new Future.value(value))); /// 01: continued
+ testType("Future.sync($value)", new Future<int>.sync(() => value)); // //# 01: ok
+ testType("Future.sync(future($value))", // //# 01: continued
+ new Future<int>.sync(() async => new Future.value(value))); //# 01: continued
testType("Future.value($value)", new Future<int>.value(value));
}
testType("Completer.future", new Completer<int>().future);
« no previous file with comments | « tests/lib/async/future_or_only_in_async_test.dart ('k') | tests/lib/async/print_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698