Skip to content

Commit 93858fc

Browse files
committed
tests: fix version check
1 parent a716262 commit 93858fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ end
201201
f = str -> replace(str, " " => "")
202202
str = f(str)
203203

204-
if VERSION == v"1.0" && Sys.iswindows()
204+
if VERSION < v"1.1" && Sys.iswindows()
205205
# on Windows, Julia 1.0 sorts Array{T,n} within Union in reverse order
206206
@test_broken occursin(f("h_1(\nx::Union{Array{T,3}, Array{T,4}} where T\n) -> Union{Array{T,3}, Array{T,4}} where T"), str)
207207
else

0 commit comments

Comments
 (0)