File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,14 @@ rebol-cmd: func[cmd][
32
32
--assert out-buffer = {["a" "b"]^/ ["a" "b"]^/ }
33
33
--assert 0 = rebol-cmd {units/files/print-args.r3 a "b c"}
34
34
--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
+ ]
37
43
--test-- "script args 2"
38
44
;@@ https://github.com/Oldes/Rebol-issues/issues/2227
39
45
--assert 0 = rebol-cmd {-v}
You can’t perform that action at this time.
0 commit comments