Skip to content

Commit 61cf0ac

Browse files
committed
1 parent 9933803 commit 61cf0ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/units/call-test.r3

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ rebol-cmd: func[cmd][
7979
--test-- "User controlled error output"
8080
;@@ https://github.com/Oldes/Rebol-issues/issues/2468
8181
; 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"}
8383
--assert "13" = out-buffer
8484
--assert "2" = err-buffer
8585

8686
--test-- "Error printed to stderr"
8787
;@@ 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!
8989
--assert "1" = out-buffer
9090
--assert not none? find err-buffer "Math error"
9191

0 commit comments

Comments
 (0)