]> gitweb.factorcode.org Git - factor.git/blob - extra/io/streams/counting/counting-tests.factor
core: Change lines -> read-lines, contents -> read-contents, string-lines -> lines
[factor.git] / extra / io / streams / counting / counting-tests.factor
1 ! Copyright (C) 2021 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: io io.encodings.utf8 io.files io.streams.counting kernel
4 tools.test ;
5 IN: io.streams.counting.tests
6
7 { 1306 0 } [
8     "resource:LICENSE.txt" utf8 <file-reader> [ read-contents ] with-counting-stream nipd
9 ] unit-test