Fix RDF.Literal.new/1 test with custom datatypes
This commit is contained in:
parent
d0e5b625fd
commit
5f16b9837c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ defmodule RDF.LiteralTest do
|
|||
|
||||
test "with custom datatype literals" do
|
||||
datatype_literal = RDF.TestDatatypes.Age.new(42).literal
|
||||
assert %Literal{literal: typed_literal} = Literal.new(datatype_literal)
|
||||
assert %Literal{literal: ^datatype_literal} = Literal.new(datatype_literal)
|
||||
end
|
||||
|
||||
test "when options without datatype given" do
|
||||
|
|
Loading…
Reference in a new issue