Skip to content

Commit

Permalink
Test right identity for append!!
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Aug 2, 2019
1 parent 8f94258 commit ce420f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_initials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using InitialValues: Init, hasinitialvalue
@test hasinitialvalue(append!!)
@test push!!(Init(push!!), 1) == [1]
@test append!!(Init(append!!), [1]) == [1]
@test append!!([1], Init(append!!)) == [1]
end

end # module

0 comments on commit ce420f1

Please sign in to comment.