Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
haberdashPI committed Apr 4, 2024
1 parent 7f0ce65 commit e06f912
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ include("set_up_tests.jl")
@test WeakKeyIdDict(Pair(A, 2), Pair(B, 3), Pair(C, 4)) == wkd

# inferred type parameters during construction
@test typeof(WeakKeyIdDict("1"=>1, :a=>2)) == WeakKeyIdDict{Any,Int}
@test typeof(WeakKeyIdDict("1"=>1, "1"=>:a)) == WeakKeyIdDict{String,Any}
@test typeof(WeakKeyIdDict(:a=>1, "1"=>:a)) == WeakKeyIdDict{Any,Any}
@test typeof(WeakKeyIdDict("1" => 1, :a => 2)) == WeakKeyIdDict{Any,Int}
@test typeof(WeakKeyIdDict("1" => 1, "1" => :a)) == WeakKeyIdDict{String,Any}
@test typeof(WeakKeyIdDict(:a => 1, "1" => :a)) == WeakKeyIdDict{Any,Any}
@test typeof(WeakKeyIdDict(())) == WeakKeyIdDict{Any,Any}

# constructing from iterators
Expand Down

0 comments on commit e06f912

Please sign in to comment.