Skip to content
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.

Commit

Permalink
Increase test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisvalentiner committed May 7, 2018
1 parent 091686e commit 025e151
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if haskey(ENV, "DARKSKY_API_KEY")
@test isa(print(response), Void)
dict_response = forecast(42.3601, -71.0589, DateTime(2018, 3, 7, 0, 0, 0), out_type="");
@test Dict(response) == dict_response
@test Dict(response) == convert(Dict, response)
@test isa(forecast(42.3601, -71.0589, DateTime(2018, 1, 1, 0, 0, 0), lang="es", units="si", exclude=["minutely"]), DarkSky.DarkSkyResponse)
else
warn("Dark Sky API key was not found in your system environment variables, skipping tests...")
Expand Down

0 comments on commit 025e151

Please sign in to comment.