Skip to content

Commit 786b6f0

Browse files
authored
Merge pull request #575 from JuliaArrays/teh/redline
Read my lips: no new ambiguities
2 parents 241a4ae + 5d10155 commit 786b6f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/runtests.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
using StaticArrays, Test, Random, LinearAlgebra, SpecialFunctions
22
using InteractiveUtils
33

4+
# Allow no new ambiguities (see #18), unless you fix some old ones first!
5+
if VERSION >= v"1.0.0"
6+
@test length(detect_ambiguities(Base, LinearAlgebra, StaticArrays)) <= 7
7+
end
8+
49
# We generate a lot of matrices using rand(), but unit tests should be
510
# deterministic. Therefore seed the RNG here (and further down, to avoid test
611
# file order dependence)

0 commit comments

Comments
 (0)