1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -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:
A. Sinan Unur 2015-11-23 10:40:38 -05:00
parent c7d4cc549b
commit 5aca46b6c4

View file

@ -12,7 +12,7 @@ use DBD::SQLite;
BEGIN{
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;