aboutsummaryrefslogtreecommitdiff
path: root/scripts/test/expand.test
diff options
context:
space:
mode:
authorJonathan Clairembault <jonathan@clairembault.fr>2012-11-23 09:24:53 +0100
committerJonathan Clairembault <jonathan@clairembault.fr>2012-11-23 09:24:53 +0100
commitab52d02963fcb0aecd8089ddc5cdc4d783092a4b (patch)
tree0576322a24752d9ca028af0009ac832c09d146f4 /scripts/test/expand.test
parent939fa7408fa68af8568fd07de64a1606af0a0c06 (diff)
downloadtoybox-ab52d02963fcb0aecd8089ddc5cdc4d783092a4b.tar.gz
expand: handle backspace.
Diffstat (limited to 'scripts/test/expand.test')
-rw-r--r--scripts/test/expand.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/test/expand.test b/scripts/test/expand.test
index 73374562..bb0ca083 100644
--- a/scripts/test/expand.test
+++ b/scripts/test/expand.test
@@ -11,6 +11,7 @@ testing "expand default" "expand input" " foo bar\n" "\tfoo\tbar\n" "
testing "expand default stdin" "expand" " foo bar\n" "" "\tfoo\tbar\n"
testing "expand single" "expand -t 2 input" " foo bar\n" "\tfoo\tbar\n" ""
testing "expand tablist" "expand -t 5,10,12 input" " foo bar foo\n" "\tfoo\tbar\tfoo\n" ""
+testing "expand backspace" "expand input" "foobarf bar\n" "foobarfoo\b\b\tbar\n" ""
# advanced tests