Skip to content

Commit 9136cb6

Browse files
committed
Hide StaticArrays-related ambiguities.
1 parent 47341ad commit 9136cb6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/base/aqua.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ using Aqua
44
let ambs = Aqua.detect_ambiguities(CUDA; recursive=true)
55
pkg_match(pkgname, pkgdir::Nothing) = false
66
pkg_match(pkgname, pkgdir::AbstractString) = occursin(pkgname, pkgdir)
7-
filter!(x -> pkg_match("CUDA", pkgdir(last(x).module)), ambs)
8-
@test length(ambs) 18
7+
8+
# StaticArrays pirates a bunch of Random stuff...
9+
filter!(x -> !pkg_match("StaticArrays", pkgdir(first(x).module)), ambs)
10+
11+
@test length(ambs) 15
912
end
1013

1114
Aqua.test_all(CUDA;

0 commit comments

Comments
 (0)