tests/io.min
1 2 3 4 5 6 7 8 9 10 11 12 13 14
'test require :test ;;; "io" *test/describe ("TEST" "test.txt" fwrite "test.txt" fread "TEST" ==) *test/assert (" - TEST" "test.txt" fappend "test.txt" fread "TEST - TEST" ==) *test/assert "test.txt" rm *test/report clear-stack