File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module SQLite3
66 class TestDatabaseURI < SQLite3 ::TestCase
77 def test_open_absolute_file_uri
88 skip ( "windows uri paths are hard" ) if windows?
9- skip ( "sqlcipher may not allow URIs" ) if SQLite3 . sqlcipher?
9+ skip ( "system libraries may not allow URIs" ) unless SQLite3 :: SQLITE_PACKAGED_LIBRARIES
1010
1111 Tempfile . open "test.db" do |file |
1212 db = SQLite3 ::Database . new ( "file:#{ file . path } " )
@@ -17,7 +17,7 @@ def test_open_absolute_file_uri
1717
1818 def test_open_relative_file_uri
1919 skip ( "windows uri paths are hard" ) if windows?
20- skip ( "sqlcipher may not allow URIs" ) if SQLite3 . sqlcipher?
20+ skip ( "system libraries may not allow URIs" ) unless SQLite3 :: SQLITE_PACKAGED_LIBRARIES
2121
2222 Dir . mktmpdir do |dir |
2323 Dir . chdir dir do
@@ -31,7 +31,7 @@ def test_open_relative_file_uri
3131
3232 def test_open_file_uri_readonly
3333 skip ( "windows uri paths are hard" ) if windows?
34- skip ( "sqlcipher may not allow URIs" ) if SQLite3 . sqlcipher?
34+ skip ( "system libraries may not allow URIs" ) unless SQLite3 :: SQLITE_PACKAGED_LIBRARIES
3535
3636 Tempfile . open "test.db" do |file |
3737 db = SQLite3 ::Database . new ( "file:#{ file . path } ?mode=ro" )
You can’t perform that action at this time.
0 commit comments