mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
Convert test file to UTF8 source code
This commit is contained in:
parent
f89e52f1ea
commit
5dbb6deac0
1 changed files with 7 additions and 4 deletions
11
t/67_fts5.t
11
t/67_fts5.t
|
@ -6,22 +6,25 @@ use SQLiteTest;
|
|||
use Test::More;
|
||||
#use if -d ".git", "Test::FailWarnings";
|
||||
use DBD::SQLite;
|
||||
use utf8; # our source code is UTF-8 encoded
|
||||
|
||||
my @texts = ("il était une bergère",
|
||||
my @texts = ("il était une bergère",
|
||||
"qui gardait ses moutons",
|
||||
"elle fit un fromage",
|
||||
"du lait de ses moutons");
|
||||
"du lait de ses moutons",
|
||||
"anrechenbare quellensteuer hier");
|
||||
|
||||
my @tests = (
|
||||
# query => expected results
|
||||
["bergère" => 0 ],
|
||||
["bergère" => 0 ],
|
||||
["berg*" => 0 ],
|
||||
["foobar" ],
|
||||
["moutons" => 1, 3 ],
|
||||
['"qui gardait"' => 1 ],
|
||||
["moutons NOT lait" => 1 ],
|
||||
["il était" => 0 ],
|
||||
["il était" => 0 ],
|
||||
["(il OR elle) AND un*" => 0, 2 ],
|
||||
["anrechenbare" => 4 ],
|
||||
);
|
||||
|
||||
BEGIN {
|
||||
|
|
Loading…
Add table
Reference in a new issue