Subject: Improved tests.

From: dkf <[email-masked]>
Date: Wed, 22 May 2013 12:32:28 +0000

---
 tests/cmdIL.test | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tests/cmdIL.test b/tests/cmdIL.test
index c9a10b6..192c10c 100644
--- a/tests/cmdIL.test
+++ b/tests/cmdIL.test
@@ -395,8 +395,11 @@ test cmdIL-4.35 {SortCompare procedure, -ascii option with -nocase option} {
     lsort -ascii -nocase {d E c B a D35 d300 100 20}
 } {100 20 a B c d d300 D35 E}
 test cmdIL-4.36 {SortCompare procedure, UTF-8 with -nocase option} {
-    lsort -ascii -nocase [list \u101 \u100]
-} [list \u101 \u100]
+    scan [lsort -ascii -nocase [list \u101 \u100]] %c%c%c
+} {257 32 256}
+test cmdIL-4.37 {SortCompare procedure, UTF-8 with -nocase option} {
+    scan [lsort -ascii -nocase [list a\u0000a a]] %c%c%c%c%c
+} {97 32 97 0 97}
 
 test cmdIL-5.1 {lsort with list style index} {
     lsort -ascii -decreasing -index {0 1} {
-- 
cgit v0.12