Skip to content

Commit a2ff602

Browse files
brianquinlanCommit Queue
authored andcommitted
Change-Id: I8146922de576a080d66959a8aba9192b1c4edf7b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/439981 Reviewed-by: Alexander Aprelev <[email protected]> Commit-Queue: Brian Quinlan <[email protected]>
1 parent 40bf22b commit a2ff602

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/standalone/io/named_pipe_operations_test.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ main() async {
8686
final file = File("$stdinPipePath");
8787
if (file.existsSync()) print("Pipe Exists");
8888
file.copySync("junk");
89+
if (File("junk").existsSync()) print("Pipe Copied!");
8990
} catch (e) {
9091
print(e);
9192
}
@@ -108,7 +109,12 @@ main() async {
108109
renameScript,
109110
"Cannot rename file",
110111
);
111-
await startProcess(directory, 'copyscript', copyScript, "Cannot copy file");
112+
await startProcess(
113+
directory,
114+
'copyscript',
115+
copyScript,
116+
Platform.isMacOS ? "Cannot copy file" : "Pipe Copied!",
117+
);
112118

113119
directory.deleteSync(recursive: true);
114120
asyncEnd();

0 commit comments

Comments
 (0)