Skip to content

Commit e28e9e2

Browse files
add all test dependencies at once
1 parent 2ef4210 commit e28e9e2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/botutils.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,7 @@ function addtestdep()
257257
end
258258

259259
if !isnothing(test_deps)
260-
for (name, uuid) in test_deps
261-
Pkg.add(Pkg.PackageSpec(name = name, uuid = uuid))
262-
end
260+
Pkg.add([Pkg.PackageSpec(name = name, uuid = uuid) for (name, uuid) in test_deps])
263261
end
264262
end
265263

0 commit comments

Comments
 (0)