Skip to content

Commit 76663ca

Browse files
Fix windows tests
1 parent 3892841 commit 76663ca

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
@@ -200,7 +200,7 @@ end
200200
@test occursin("\n```julia\n", str)
201201
f = str -> replace(str, " " => "")
202202
str = f(str)
203-
if Sys.iswindows()
203+
if Sys.iswindows() && VERSION < v"1.8"
204204
@test occursin(f("h_1(\nx::Union{Array{T,4}, Array{T,3}} where T\n) -> Union{Array{T,4}, Array{T,3}} where T"), str)
205205
else
206206
@test 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)

0 commit comments

Comments
 (0)