core: fix bug in Inspect implementation for RDF.Literal
This commit is contained in:
parent
4e523b1bf1
commit
0581a45820
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ defimpl Inspect, for: RDF.Literal do
|
|||
end
|
||||
|
||||
def inspect(%RDF.Literal{value: value, datatype: datatype}, _opts) do
|
||||
if datatype == RDF.NS.XSD.string do
|
||||
if datatype == RDF.Datatype.NS.XSD.string do
|
||||
~s[~L"#{value}"]
|
||||
else
|
||||
"%RDF.Literal{value: #{inspect value}, datatype: ~I<#{datatype}>}"
|
||||
|
|
Loading…
Reference in a new issue