1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -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';
}
}
use Test::NoWarnings;
# Perl may spit a warning on locale
# use Test::NoWarnings;
my $num = has_sqlite('3.7.4') ? 4 : 2;
plan tests => $num * @tests # each test with unicode y/n and with fts3/fts4
+ 2 # connect_ok with unicode y/n
+ 1; # Test::NoWarnings
+ 2; # connect_ok with unicode y/n
BEGIN {
# Sadly perl for windows (and probably sqlite, too) may hang