From 5dbb6deac04c6ac76e215fdf7e783936fedfa695 Mon Sep 17 00:00:00 2001 From: Max Maischein Date: Sun, 4 Sep 2022 08:24:14 +0200 Subject: [PATCH] Convert test file to UTF8 source code --- t/67_fts5.t | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/t/67_fts5.t b/t/67_fts5.t index 2919c82..e43b00b 100644 --- a/t/67_fts5.t +++ b/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 {