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

Commit

Permalink
Add "test" for print
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisvalentiner committed Mar 25, 2018
1 parent 3802b80 commit fa308ff
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 @@ -15,6 +15,7 @@ if haskey(ENV, "DARKSKY_API_KEY")
@test isa(daily(response), Dict{String, Any})
@test isa(alerts(response), Array{Any, 1}) | isa(alerts(response), Void)
@test isa(flags(response), Dict{String, Any})
@test isa(print(response), Void)
@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 fa308ff

Please sign in to comment.