Skip to content

Commit

Permalink
Fix test_universalidentity.jl; use UniversalIdentity.Id
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Jul 2, 2019
1 parent 9446ae6 commit fe712ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"

[[UniversalIdentity]]
git-tree-sha1 = "8d4b78c5ead5689bc0cd7c7ee57334d22a6673c4"
git-tree-sha1 = "b9e1703a9600e86b7295aaaff6d1466a4a5c0506"
repo-rev = "master"
repo-url = "https://github.com/tkf/UniversalIdentity.jl"
uuid = "b8f959e8-97da-11e9-3356-bb6559ac5c1b"
Expand Down
6 changes: 3 additions & 3 deletions test/test_universalidentity.jl
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module TestUniversalidentity

include("preamble.jl")
using UniversalIdentity: Identity, hasidentity
using UniversalIdentity: Id, hasidentity

@testset begin
@test hasidentity(push!!)
@test hasidentity(append!!)
@test push!!(Identity(push!!), 1) == [1]
@test append!!(Identity(append!!), [1]) == [1]
@test push!!(Id(push!!), 1) == [1]
@test append!!(Id(append!!), [1]) == [1]
end

end # module

0 comments on commit fe712ad

Please sign in to comment.