JuliaMath / Primes.jl

Prime numbers in Julia
Other
99 stars 32 forks source link

Use `===` over `==` to compare nothing in runtests.jl #107

Closed ebb-earl-co closed 2 years ago

ebb-earl-co commented 2 years ago

In the @testset "Factorization{$T} as an AbstractDict" for T = (Int, UInt, BigInt) section of runtests.jl, the comparison between

@test get(f, T(101), nothing)

and nothing should be with the triple equals sign operator, not the double equals sign operator.