Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
better tablify test
  • Loading branch information
kraih committed Feb 6, 2014
1 parent 18c7e41 commit 0282f3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/mojo/util.t
Expand Up @@ -419,8 +419,8 @@ ok !!MojoMonkeyTest->can('yang'), 'function "yang" exists';
is MojoMonkeyTest::yang(), 'yang', 'right result';

# tablify
is tablify([["f\r\no o", 'bar']]), "fo o bar\n", 'right result';
is tablify([[" foo", ' b a r']]), " foo b a r\n", 'right result';
is tablify([["f\r\no o\r\n", 'bar']]), "fo o bar\n", 'right result';
is tablify([[" foo", ' b a r']]), " foo b a r\n", 'right result';
is tablify([['foo']]), "foo\n", 'right result';
is tablify([['foo', 'yada'], ['yada', 'yada']]), "foo yada\nyada yada\n",
'right result';
Expand Down

0 comments on commit 0282f3d

Please sign in to comment.