repo.or.cz
/
factor
/
jcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug fixes for lcs.diff2html; xml.writer
[factor/jcg.git]
/
basis
/
multiline
/
multiline-tests.factor
blob
153b6cedbe7b3709bd0c999bfb535725b7915e18
1
USING: multiline tools.test ;
2
IN: multiline.tests
3
4
STRING: test-it
5
foo
6
bar
7
8
;
9
10
[ "foo\nbar\n" ] [ test-it ] unit-test
11
[ "foo\nbar\n" ] [ <" foo
12
bar
13
"> ] unit-test
14
15
[ "hello\nworld" ] [ <" hello
16
world"> ] unit-test
17
18
[ "hello" "world" ] [ <" hello"> <" world"> ] unit-test
19
20
[ "\nhi" ] [ <"
21
hi"> ] unit-test