Skip to content

Commit 4047da2

Browse files
committed
remove randperm
1 parent 5ffecaf commit 4047da2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Project.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
2323
JLArrays = "27aeb0d3-9eb9-45fb-866b-73c2ecf80fcb"
2424
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
2525
PooledArrays = "2dfb63ee-cc39-5dd5-95bd-886bf059d720"
26-
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
2726
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2827
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2928
TypedTables = "9d95f2ec-7b3d-5a63-8d20-e2491e220bb9"
3029
WeakRefStrings = "ea10d353-3f73-51f8-a26c-33c1cb351aa5"
3130

3231
[targets]
33-
test = ["Test", "JLArrays", "StaticArrays", "OffsetArrays", "PooledArrays", "TypedTables", "WeakRefStrings", "Documenter", "Random"]
32+
test = ["Test", "JLArrays", "StaticArrays", "OffsetArrays", "PooledArrays", "TypedTables", "WeakRefStrings", "Documenter"]

test/runtests.jl

+1-2
Original file line numberDiff line numberDiff line change
@@ -1216,8 +1216,7 @@ Base.BroadcastStyle(::Broadcast.ArrayStyle{MyArray2}, S::Broadcast.DefaultArrayS
12161216
1]
12171217
tested_style = StructArrayStyle[]
12181218
dotaddsub((a, b, c),) = @. a + b - c
1219-
for is in Iterators.product(randperm(6), randperm(6), randperm(6))
1220-
as = map(i -> test_set[i], is)
1219+
for as in Iterators.product(test_set, test_set, test_set)
12211220
if any(a -> a isa StructArray, as)
12221221
style = Broadcast.combine_styles(as...)
12231222
if !(style in tested_style)

0 commit comments

Comments
 (0)