diff --git a/t/39_foreign_keys.t b/t/39_foreign_keys.t index 544b3a4..b7632fc 100644 --- a/t/39_foreign_keys.t +++ b/t/39_foreign_keys.t @@ -8,6 +8,15 @@ BEGIN { use t::lib::Test; use Test::More; + +BEGIN { + use DBD::SQLite; + unless ($DBD::SQLite::sqlite_version_number && $DBD::SQLite::sqlite_version_number >= 3006019) { + plan skip_all => "this test requires SQLite 3.6.19 and newer"; + exit; + } +} + use Test::NoWarnings; plan tests => 17;