comparison scripts/test/expand.test @ 716:8c10cf7bace0

expand: handle backspace.
author Jonathan Clairembault <jonathan@clairembault.fr>
date Fri, 23 Nov 2012 09:24:53 +0100
parents 3417db95f24b
children 2818724bb8be
comparison
equal deleted inserted replaced
715:3417db95f24b 716:8c10cf7bace0
9 9
10 testing "expand default" "expand input" " foo bar\n" "\tfoo\tbar\n" "" 10 testing "expand default" "expand input" " foo bar\n" "\tfoo\tbar\n" ""
11 testing "expand default stdin" "expand" " foo bar\n" "" "\tfoo\tbar\n" 11 testing "expand default stdin" "expand" " foo bar\n" "" "\tfoo\tbar\n"
12 testing "expand single" "expand -t 2 input" " foo bar\n" "\tfoo\tbar\n" "" 12 testing "expand single" "expand -t 2 input" " foo bar\n" "\tfoo\tbar\n" ""
13 testing "expand tablist" "expand -t 5,10,12 input" " foo bar foo\n" "\tfoo\tbar\tfoo\n" "" 13 testing "expand tablist" "expand -t 5,10,12 input" " foo bar foo\n" "\tfoo\tbar\tfoo\n" ""
14 testing "expand backspace" "expand input" "foobarf bar\n" "foobarfoo\b\b\tbar\n" ""
14 15
15 # advanced tests 16 # advanced tests
16 17
17 POW=15 18 POW=15
18 TABSTOP=1 19 TABSTOP=1