strings.tables: adding empty format-table test case.

db4
John Benediktsson 2012-07-13 22:14:25 -07:00
parent e23883d07e
commit 2902cb111b
1 changed files with 3 additions and 1 deletions

View File

@ -3,10 +3,12 @@
USING: tools.test strings.tables ;
IN: strings.tables.tests
[ { } ] [ { } format-table ] unit-test
[ { "A BB" "CC D" } ] [ { { "A" "BB" } { "CC" "D" } } format-table ] unit-test
[ { "A C" "B " "D E" } ] [ { { "A\nB" "C" } { "D" "E" } } format-table ] unit-test
[ { "A B" " C" "D E" } ] [ { { "A" "B\nC" } { "D" "E" } } format-table ] unit-test
[ { "A B" "C D" " E" } ] [ { { "A" "B" } { "C" "D\nE" } } format-table ] unit-test
[ { "A B" "C D" " E" } ] [ { { "A" "B" } { "C" "D\nE" } } format-table ] unit-test