File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,13 +79,13 @@ rebol-cmd: func[cmd][
79
79
--test-- "User controlled error output"
80
80
;@@ https://github.com/Oldes/Rebol-issues/issues/2468
81
81
; the port should be renamed from `input` to `io` or `console`, because it is not just an input!!
82
- --assert 0 = rebol-cmd {--do "prin 1 modify system/ports/input 'error on prin 2 modify system/ports/input 'error off prin 3}
82
+ --assert 0 = rebol-cmd {--do "prin 1 modify system/ports/input 'error on prin 2 modify system/ports/input 'error off prin 3" }
83
83
--assert "13" = out-buffer
84
84
--assert "2" = err-buffer
85
85
86
86
--test-- "Error printed to stderr"
87
87
;@@ https://github.com/Oldes/Rebol-issues/issues/1862
88
- --assert -1 = rebol-cmd {--do "prin 1 1 / 0}
88
+ --assert 0 <> rebol-cmd {--do "prin 1 1 / 0"} ; returned number is not same across all systems!
89
89
--assert "1" = out-buffer
90
90
--assert not none? find err-buffer "Math error"
91
91
You can’t perform that action at this time.
0 commit comments