diff options
author | Tomas Heinrich <heinrich.tomas@gmail.com> | 2010-01-04 16:21:31 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-04 16:21:31 +0100 |
commit | d2b1ba6fdee59645763e915ade3ec55e67d5839a (patch) | |
tree | 9b1a97996255647452851908dc76e4e91a57420b /testsuite | |
parent | 4928f3b90b3925e6f3cc234df48e46f88fc5689b (diff) |
[un]expand: unicode support
function old new delta
expand_main 633 663 +30
Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/expand.tests | 6 | ||||
-rwxr-xr-x | testsuite/unexpand.tests | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/expand.tests b/testsuite/expand.tests index 57498a201..996631450 100755 --- a/testsuite/expand.tests +++ b/testsuite/expand.tests @@ -12,4 +12,10 @@ testing "expand" \ "" \ "\t12345678\t12345678\n" \ +testing "expand with unicode characher 0x394" \ + "expand" \ + "Δ 12345ΔΔΔ 12345678\n" \ + "" \ + "Δ\t12345ΔΔΔ\t12345678\n" \ + exit $FAILCOUNT diff --git a/testsuite/unexpand.tests b/testsuite/unexpand.tests index 5c82a1e50..5c2a29b5f 100755 --- a/testsuite/unexpand.tests +++ b/testsuite/unexpand.tests @@ -27,4 +27,7 @@ testing "unexpand case 6" "unexpand" \ testing "unexpand case 7" "unexpand" \ "123\t 45678\n" "" "123 \t 45678\n" \ +testing "unexpand with unicode characher 0x394" "unexpand" \ + "1ΔΔΔ5\t99999\n" "" "1ΔΔΔ5 99999\n" \ + exit $FAILCOUNT |