Skip to content

Commit dbbf2f3

Browse files
authored
tests: don't use single-argument map (timholy#291)
Single-argument `map` is being removed from Julia after an analysis of registered packages found that the change doesn't break the functionality of any package. See JuliaLang/julia#35293 and JuliaLang/julia#52631 That said, the Julia change breaks your test suite, so here's a PR that fixes that.
1 parent 5b3bd1d commit dbbf2f3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/test_map.jl

-2
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,8 @@ wp = WorkerPool(procs)
169169
function constfun()
170170
return 42
171171
end
172-
@test map(constfun) == @showprogress map(constfun)
173172
@test broadcast(constfun) == @showprogress broadcast(constfun)
174173
#@test mapreduce(constfun, error) == @showprogress mapreduce(constfun, error) # julia 1.2+
175-
@showprogress foreach(printlnconstfun)
176174

177175

178176
# #136: make sure mid progress shows up even without sleep

0 commit comments

Comments
 (0)