Skip to content

Commit

Permalink
Added DateTime subtype check.
Browse files Browse the repository at this point in the history
  • Loading branch information
rofinn committed Jan 7, 2018
1 parent 942693c commit 829fb7e
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 @@ -1066,6 +1066,7 @@ end
# 0.7.0-DEV.3216
@test Compat.AbstractDateTime === (isdefined(Compat.Dates, :AbstractDateTime) ? Compat.Dates.AbstractDateTime : Compat.Dates.TimeType)
@test Compat.AbstractDateTime <: Compat.Dates.TimeType
@test Compat.Dates.DateTime <: Compat.AbstractDateTime

if VERSION < v"0.6.0"
include("deprecated.jl")
Expand Down

0 comments on commit 829fb7e

Please sign in to comment.