Index: sdk/lib/_internal/pub/test/run/forwards_signal_windows_test.dart |
diff --git a/sdk/lib/_internal/pub/test/run/forwards_signal_windows_test.dart b/sdk/lib/_internal/pub/test/run/forwards_signal_windows_test.dart |
index 095caa0b0f63179ef04462d44b405362678e3223..fa025ec90226aa44eb514bd72f8d3619ca775793 100644 |
--- a/sdk/lib/_internal/pub/test/run/forwards_signal_windows_test.dart |
+++ b/sdk/lib/_internal/pub/test/run/forwards_signal_windows_test.dart |
@@ -11,7 +11,7 @@ const SCRIPT = """ |
import 'dart:io'; |
main() { |
- ProcessSignal.SIGHUP.watch().listen(print); |
+ ProcessSignal.SIGHUP.watch().first.then(print); |
print("ready"); |
} |