We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 818da58 commit 661e969Copy full SHA for 661e969
1 file changed
test/test_database.rb
@@ -512,6 +512,10 @@ def test_execute_with_named_bind_params
512
end
513
514
def test_strict_mode
515
+ unless Gem::Requirement.new(">= 3.29.0").satisfied_by?(Gem::Version.new(SQLite3::SQLITE_VERSION))
516
+ skip("strict mode feature not available in #{SQLite3::SQLITE_VERSION}")
517
+ end
518
+
519
db = SQLite3::Database.new(':memory:')
520
db.execute('create table numbers (val int);')
521
db.execute('create index index_numbers_nope ON numbers ("nope");') # nothing raised
0 commit comments