Add test for comparison betweens string and langString literals
This commit is contained in:
parent
faaebb2de2
commit
d324b464b2
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ defmodule RDF.XSD.ComparisonTest do
|
|||
|
||||
assert_equal({XSD.string("foo"), XSD.string("foo")})
|
||||
end
|
||||
|
||||
test "invalid comparison between string and langString literals" do
|
||||
assert_incomparable({XSD.string("foo"), RDF.langString("foo", :en)})
|
||||
end
|
||||
end
|
||||
|
||||
describe "XSD.Boolean" do
|
||||
|
|
Loading…
Reference in a new issue