diff --git a/tests/standalone/io/named_pipe_operations_test.dart b/tests/standalone/io/named_pipe_operations_test.dart index 8be17cbb4af..645c8f02ed4 100644 --- a/tests/standalone/io/named_pipe_operations_test.dart +++ b/tests/standalone/io/named_pipe_operations_test.dart @@ -86,6 +86,7 @@ main() async { final file = File("$stdinPipePath"); if (file.existsSync()) print("Pipe Exists"); file.copySync("junk"); + if (File("junk").existsSync()) print("Pipe Copied!"); } catch (e) { print(e); } @@ -108,7 +109,12 @@ main() async { renameScript, "Cannot rename file", ); - await startProcess(directory, 'copyscript', copyScript, "Cannot copy file"); + await startProcess( + directory, + 'copyscript', + copyScript, + Platform.isMacOS ? "Cannot copy file" : "Pipe Copied!", + ); directory.deleteSync(recursive: true); asyncEnd();