1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix an invalid UTF8 encoding in the tests for the trim function. (CVS 3898)

FossilOrigin-Name: 4dbbfff4a7d4be197aac19c80400dafe10dd5e58
This commit is contained in:
drh
2007-05-02 15:36:01 +00:00
parent fdf972a9ba
commit 7a928d75f4
3 changed files with 12 additions and 12 deletions

View File

@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing built-in functions.
#
# $Id: func.test,v 1.62 2007/04/27 21:59:53 drh Exp $
# $Id: func.test,v 1.63 2007/05/02 15:36:02 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -822,11 +822,11 @@ do_test func-22.13 {
execsql {SELECT trim(' hi ','');}
} {{ hi }}
do_test func-22.14 {
execsql {SELECT hex(trim(x'c280e1bfbff7bfbfbf6869',x'6162e1bfbfc280'))}
} {F7BFBFBF6869}
execsql {SELECT hex(trim(x'c280e1bfbff48fbfbf6869',x'6162e1bfbfc280'))}
} {F48FBFBF6869}
do_test func-22.15 {
execsql {SELECT hex(trim(x'6869c280e1bfbff7bfbfbf61',
x'6162e1bfbfc280f7bfbfbf'))}
execsql {SELECT hex(trim(x'6869c280e1bfbff48fbfbf61',
x'6162e1bfbfc280f48fbfbf'))}
} {6869}
do_test func-22.16 {
execsql {SELECT hex(trim(x'ceb1ceb2ceb3',x'ceb1'));}