Skip to content

Commit

Permalink
More tests for options
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt committed Dec 2, 2015
1 parent 1ef2c4e commit f617a80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ facts("\ntesting options") do
@fact OPTIONS[ST][:baz] --> "aloha"
end
@fact haskey(OPTIONS[ST], :baz) --> false
OPTIONS[ST]["whee"] = 12
delete!(OPTIONS[ST], "whee", 13)
@fact haskey(OPTIONS[ST], :whee) --> false
@fact isempty(similar(OPTIONS)) --> true
end
end

Expand Down

0 comments on commit f617a80

Please sign in to comment.