summaryrefslogtreecommitdiff
path: root/t/comp/multiline.t
diff options
context:
space:
mode:
Diffstat (limited to 't/comp/multiline.t')
-rwxr-xr-xt/comp/multiline.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/comp/multiline.t b/t/comp/multiline.t
index 0e022e9992..fc1eedc8d2 100755
--- a/t/comp/multiline.t
+++ b/t/comp/multiline.t
@@ -32,7 +32,7 @@ if ($z eq $y) {print "ok 2\n";} else {print "not ok 2\n";}
if ($count == 3) {print "ok 3\n";} else {print "not ok 3\n";}
-$_ = `cat Comp.try`;
+$_ = ($^O eq 'MSWin32') ? `type Comp.try` : `cat Comp.try`;
if (/.*\n.*\n.*\n$/) {print "ok 4\n";} else {print "not ok 4\n";}