Skip to content

Commit 80fb446

Browse files
committed
test: Use Database.open instead of Database.new
- Follow standard pattern used throughout test suite - Database.open creates in-memory database by default
1 parent 3a08786 commit 80fb446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/duckdb_test/table_function_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _test_register_without_callbacks
4848
private
4949

5050
def setup_incomplete_function
51-
database = DuckDB::Database.new
51+
database = DuckDB::Database.open
5252
conn = database.connect
5353
table_function = DuckDB::TableFunction.new
5454
table_function.name = 'incomplete_function'

0 commit comments

Comments
 (0)