diff --git a/.gitignore b/.gitignore index ba39cc5..fe24cf1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Manifest.toml +Manifest-v*.toml diff --git a/test/runtests.jl b/test/runtests.jl index 2eabc2e..ae86996 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -98,7 +98,9 @@ include("set_up_tests.jl") @test typeof(WeakKeyIdDict(())) == WeakKeyIdDict{Any,Any} # constructing from iterators - @test_throws BoundsError WeakKeyIdDict(((),)) + # pre-1.11, this threw a BoundsError: attempt to access Tuple{} at index [1] + # on 1.11, this throws an ArgumentError: AbstractDict(kv): kv needs to be an iterator of 2-tuples or pairs + @test_throws Union{BoundsError,ArgumentError} WeakKeyIdDict(((),)) @test_throws ArgumentError IdDict(nothing) # test many constructors with type parameters specified