diff options
author | Rob Landley <rob@landley.net> | 2014-12-24 16:13:08 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-12-24 16:13:08 -0600 |
commit | 4391e57913ab84f1edea56157192692d2e41458c (patch) | |
tree | 918b192bee2187493500f728cdce1162616914ad /tests | |
parent | d5c66a9fd36777f80ba05301dcfa6789b103e486 (diff) | |
download | toybox-4391e57913ab84f1edea56157192692d2e41458c.tar.gz |
Teach factor to accept whitespace separated arguments (reported by Robert Thompson).
(The diff looks bigger than it is because of reindenting.)
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/factor.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/factor.test b/tests/factor.test index a3e4cbf8..ed1cc226 100755 --- a/tests/factor.test +++ b/tests/factor.test @@ -16,3 +16,7 @@ testing "factor 10000000018" "factor 10000000018" \ "10000000018: 2 131 521 73259\n" "" "" testing "factor 10000000019" "factor 10000000019" \ "10000000019: 10000000019\n" "" "" + +testing "factor 3 6 from stdin" "factor" "3: 3\n6: 2 3\n" "" "3 6" +testing "factor stdin newline" "factor" "3: 3\n6: 2 3\n" "" "3\n6\n" + |