Skip to content

Commit ace4925

Browse files
Rik Huijzerquinnj
andauthored
Remove unused argument in test helper function (#294)
* Remove unused argument in test helper function * Fix typo Co-authored-by: Jacob Quinn <[email protected]>
1 parent a729f7b commit ace4925

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ sumpoint(p::Point3D, x, y, z) = p + Point3D(x, y, z)
3838
@test db isa SQLite.DB
3939
end
4040
41-
Copy test sqlite file to temp directory, path `test.sqlite`,
41+
Copy test sqlite file to temp directory, path `tmp_dir/test.sqlite`,
4242
overwrite file if necessary and set permissions.
4343
"""
44-
function setup_clean_test_db(f::Function, args...)
44+
function setup_clean_test_db(f::Function)
4545
dbfile = joinpath(dirname(pathof(SQLite)), "../test/Chinook_Sqlite.sqlite")
4646
tmp_dir = mktempdir()
4747
test_dbfile = joinpath(tmp_dir, "test.sqlite")

0 commit comments

Comments
 (0)