Skip to content

Commit

Permalink
check version against 0.7.0-DEV.2988
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinschmidt committed Apr 19, 2018
1 parent bc8c314 commit f1b98c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/deprecated.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@testset "Deprecations" begin
f = @formula y ~ 1 + a*b

@static if VERSION > v"0.6.9999"
@static if VERSION > v"0.7.0-DEV.2988"
f2 = @test_logs (:warn, r"Formula\(lhs, rhs\) is deprecated") Formula(f.lhs, f.rhs)
else
f2 = @test_warn "deprecated" Formula(f.lhs, f.rhs)
Expand Down

0 comments on commit f1b98c2

Please sign in to comment.