Skip to content

Commit

Permalink
Pkg.dir
Browse files Browse the repository at this point in the history
  • Loading branch information
femtotrader committed Oct 4, 2018
1 parent 6d61322 commit 8053003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ assets = ["Corn"]
# end
# end
# gather!(universe, source=datasource)
gather!(universe, source=(asset)->Temporal.tsread("$(Pkg.dir("Temporal"))/data/$asset.csv"))
gather!(universe, source=(asset)->Temporal.tsread(joinpath(dirname(pathof(Temporal)), "..", "data/$asset.csv")))
@test length(setdiff(assets, collect(keys(universe.data)))) == 0
end
end
Expand Down

0 comments on commit 8053003

Please sign in to comment.