Skip to content

Commit c8f511d

Browse files
committed
1 parent 95d5354 commit c8f511d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/tests/units/call-test.r3

+8-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,14 @@ rebol-cmd: func[cmd][
3232
--assert out-buffer = {["a" "b"]^/["a" "b"]^/}
3333
--assert 0 = rebol-cmd {units/files/print-args.r3 a "b c"}
3434
--assert out-buffer = {["a" "b c"]^/["a" "b c"]^/}
35-
--assert 0 = rebol-cmd {units/files/print-args.r3 a 'b " c'}
36-
--assert out-buffer = {["a" {b " c}]^/["a" {b " c}]^/}
35+
either find [Macintosh Linux] system/platform [
36+
; single quotes are not used in Windows' command line
37+
--assert 0 = rebol-cmd {units/files/print-args.r3 a 'b " c'}
38+
--assert out-buffer = {["a" {b " c}]^/["a" {b " c}]^/}
39+
][
40+
--assert 0 = rebol-cmd {units/files/print-args.r3 a "b \" c"}
41+
--assert out-buffer = {["a" {b " c}]^/["a" {b " c}]^/}
42+
]
3743
--test-- "script args 2"
3844
;@@ https://github.com/Oldes/Rebol-issues/issues/2227
3945
--assert 0 = rebol-cmd {-v}

0 commit comments

Comments
 (0)