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

Unified Diff: test/runner/signal_test.dart

Issue 1077153006: Fix test/runner/signal_test. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 8 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: test/runner/signal_test.dart
diff --git a/test/runner/signal_test.dart b/test/runner/signal_test.dart
index ffb2de5be7a673ba6097cad31301e89089b02c82..229024b5dd88b3887c0dcdd37768e5a9c2863a5d 100644
--- a/test/runner/signal_test.dart
+++ b/test/runner/signal_test.dart
@@ -148,7 +148,9 @@ void main() {
""");
return _startTest(["-p", "content-shell", "test.dart"]).then((process) {
- return _lines.bind(process.stdout).skip(3).first.then((line) {
+ // The first line is blank, and the second is a status line from the
+ // reporter.
+ return _lines.bind(process.stdout).skip(2).first.then((line) {
expect(line, equals("running test"));
process.kill();
return process.exitCode;
« 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