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

Unified Diff: test/runner/configuration/top_level_test.dart

Issue 2515303002: Add expectAsyncX and expectAsyncUntilX methods, and deprecate the old methods. (Closed)
Patch Set: Make '_Func' typedefs public. Created 4 years, 1 month 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
Index: test/runner/configuration/top_level_test.dart
diff --git a/test/runner/configuration/top_level_test.dart b/test/runner/configuration/top_level_test.dart
index 2ebab89a9ded89346f4317b8722bf7c2983a603c..d32a581647f7e39de82aaed68527b00f4aca9fd6 100644
--- a/test/runner/configuration/top_level_test.dart
+++ b/test/runner/configuration/top_level_test.dart
@@ -63,7 +63,7 @@ void main() {
schedule(() async {
var nextLineFired = false;
- test.stdout.next().then(expectAsync((line) {
+ test.stdout.next().then(expectAsync1((line) {
expect(line, contains("+0: success"));
nextLineFired = true;
}));

Powered by Google App Engine
This is Rietveld 408576698