Skip to content

Commit 5cdf8d9

Browse files
authored
Merge pull request #107 from JuliaDB/tk/dirname
use dirname(@__FILE__) rather than Pkg.dir
2 parents a7aa62b + 3d63ffe commit 5cdf8d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ a = SQLite.DB()
1212
temp = tempname()
1313
SQLite.DB(temp)
1414

15-
db = SQLite.DB(joinpath(Pkg.dir("SQLite"),"test/Chinook_Sqlite.sqlite"))
15+
db = SQLite.DB(joinpath(dirname(@__FILE__),"Chinook_Sqlite.sqlite"))
1616

1717
so = SQLite.Source(db,"SELECT name FROM sqlite_master WHERE type='table';")
1818
ds = Data.stream!(so,DataFrame)

0 commit comments

Comments
 (0)