/red-system/tests/source/compiler/output-test.r
R | 20 lines | 15 code | 5 blank | 0 comment | 0 complexity | 689b3469d571e7fd5c689f0615b16d79 MD5 | raw file
1REBOL [ 2 Title: "Test output from Red/System programs" 3 File: %output-test.r 4 License: "BSD-3 - https://github.com/dockimbel/Red/blob/master/BSD-3-License.txt" 5] 6 7change-dir %../ ;; revert to tests/ directory from runnable/ 8 9~~~start-file~~~ "output" 10 11 --test-- "hello" 12 --compile-and-run %source/compiler/hello.reds 13 --assert none <> find qt/output "hello" 14 --assert none <> find qt/output "world" 15 16 --test-- "empty" 17 --compile-and-run %source/compiler/empty.reds 18 --assert qt/output = "" 19 20~~~end-file~~~