summaryrefslogtreecommitdiffstats
path: root/tests/lsearch.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lsearch.test')
-rw-r--r--tests/lsearch.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lsearch.test b/tests/lsearch.test
index 06f3ae4..7c1402d 100644
--- a/tests/lsearch.test
+++ b/tests/lsearch.test
@@ -102,13 +102,13 @@ test lsearch-3.7 {lsearch errors} -returnCodes error -body {
} -result {-subindices cannot be used without -index option}
test lsearch-4.1 {binary data} {
- lsearch -exact [list foo one\000two bar] bar
+ lsearch -exact [list foo one\x00two bar] bar
} 2
test lsearch-4.2 {binary data} {
set x one
append x \x00
append x two
- lsearch -exact [list foo one\000two bar] $x
+ lsearch -exact [list foo one\x00two bar] $x
} 1
# Make a sorted list