Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git] / core / io / io-tests.factor
blob009ba3a9e73f2170591a6e5ee2a23bdfbc0f5dc1
1 USING: arrays io io.files kernel math parser strings system
2 tools.test words namespaces make io.encodings.8-bit
3 io.encodings.binary sequences ;
4 IN: io.tests
6 [ f ] [
7     "resource:core/io/test/no-trailing-eol.factor" run-file
8     "foo" "io.tests" lookup
9 ] unit-test
11 ! Make sure we use correct to_c_string form when writing
12 [ ] [ "\0" write ] unit-test