Skip to content

Commit

Permalink
fix tests for 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gkappler committed Jul 17, 2020
1 parent 3a2876e commit 9af7d8d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ using Test
@test get(x[:z][:y])===missing
get!(x,(:z2,:y2))
@test get(x,(:z2,:y2)) === missing
@test get!(x,(:z3,:y3)) do k
string(k)
@test get!(x,(:z3,:y3)) do k,i
string(k[1:i])
end == "(:z3, :y3)"
end

Expand All @@ -70,14 +70,14 @@ using Test
show(x[:a,:b])
@testset "populating path" begin
x=Trie{Int,Int}()
leaf = subtrie!(x, 1,2,3,4,5) do x
x[end]+1
leaf = subtrie!(x, 1,2,3,4,5) do x,i
x[i]+1
end
@test get(leaf)==6
@test get(x[1])==2
@test get(x[1,2])==3
leaf2 = subtrie!(x[1,2],9,10) do x
x[end]-1
leaf2 = subtrie!(x[1,2],9,10) do x,i
x[i]-1
end
@test get(x[1,2,9,10])==9
end
Expand Down

2 comments on commit 9af7d8d

@gkappler
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/18073

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.4 -m "<description of version>" 9af7d8dc10166a9f8341747d2f2b6a5205edc4b9
git push origin v0.1.4

Please sign in to comment.