aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-12-01 00:21:37 -0600
committerRob Landley <rob@landley.net>2012-12-01 00:21:37 -0600
commitf6379761b605a606764bc139c5b64c75c45e0559 (patch)
tree37745b8213a8f5e63156c2caf21d5037a73912d3 /scripts
parent3cbe8d52155ff4dfb6b3184ed5cdb66688de9753 (diff)
downloadtoybox-f6379761b605a606764bc139c5b64c75c45e0559.tar.gz
Re-add backspace support to expand (oops) and fix test to expect data plus backspace characters rather than the chracters cancelling each other out before output.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/test/expand.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test/expand.test b/scripts/test/expand.test
index bb0ca083..510f89f5 100644
--- a/scripts/test/expand.test
+++ b/scripts/test/expand.test
@@ -11,7 +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" ""
+testing "expand backspace" "expand input" "foobarfoo\b\b bar\n" "foobarfoo\b\b\tbar\n" ""
# advanced tests