mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-08 06:38:12 -04:00
Fix version check against 3.7.11 so the test runs
A typo in the version number in `t/59_extended_result_codes.t` causes test to be skipped. In the test file, 3.7.11 is encoded as `3071100`. The correct construction is `3007011`. See also https://www.nu42.com/2015/11/tests-never-ran.html
This commit is contained in:
parent
c7d4cc549b
commit
5aca46b6c4
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ use DBD::SQLite;
|
||||||
|
|
||||||
BEGIN{
|
BEGIN{
|
||||||
plan skip_all => 'this test is for Win32 only' unless $^O eq 'MSWin32';
|
plan skip_all => 'this test is for Win32 only' unless $^O eq 'MSWin32';
|
||||||
plan skip_all => 'this test requires SQLite 3.7.12 and above' unless $DBD::SQLite::sqlite_version_number > 3071100;
|
plan skip_all => 'this test requires SQLite 3.7.12 and above' unless $DBD::SQLite::sqlite_version_number > 3007011;
|
||||||
}
|
}
|
||||||
|
|
||||||
use Test::NoWarnings;
|
use Test::NoWarnings;
|
||||||
|
|
Loading…
Add table
Reference in a new issue