Skip to content

Commit

Permalink
patch bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Tokazama committed Mar 9, 2021
1 parent 8c13c7a commit b183e9b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Metadata"
uuid = "4fb893c1-3164-4f58-823a-cb4c64eabb4f"
authors = ["Zachary P. Christensen <[email protected]>"]
version = "0.2.5"
version = "0.2.6"

[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Expand Down
8 changes: 8 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,14 @@ io = IOBuffer()
Metadata.metadata_summary(io, m)
@test String(take!(io)) == " • metadata:\n x = 1\n y = 2"

#=
mx = attach_metadata(ones(2,2), (x = 1, y = 2, suppress= [:x]))
io = IOBuffer()
show(io, mx)
str = String(take!(io))
@test String(take!(io)) == " • metadata:\n x = <suppressed>\n y = 2"
=#

if VERSION > v"1.6" && sizeof(Int) === 8
@testset "docs" begin
doctest(Metadata)
Expand Down

0 comments on commit b183e9b

Please sign in to comment.