1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 22:28:47 -04:00

Remove NoWarnings test from t/43_fts.t because Perl may spit a locale warning under some environment

This commit is contained in:
Kenichi Ishigaki 2018-01-20 16:07:33 +09:00
parent fc9b461869
commit 72fd3e009e

View file

@ -38,13 +38,14 @@ BEGIN {
plan skip_all => 'FTS3 tokenizer is disabled for this DBD::SQLite'; plan skip_all => 'FTS3 tokenizer is disabled for this DBD::SQLite';
} }
} }
use Test::NoWarnings;
# Perl may spit a warning on locale
# use Test::NoWarnings;
my $num = has_sqlite('3.7.4') ? 4 : 2; my $num = has_sqlite('3.7.4') ? 4 : 2;
plan tests => $num * @tests # each test with unicode y/n and with fts3/fts4 plan tests => $num * @tests # each test with unicode y/n and with fts3/fts4
+ 2 # connect_ok with unicode y/n + 2; # connect_ok with unicode y/n
+ 1; # Test::NoWarnings
BEGIN { BEGIN {
# Sadly perl for windows (and probably sqlite, too) may hang # Sadly perl for windows (and probably sqlite, too) may hang