Add test for comparison betweens string and langString literals

This commit is contained in:
Marcel Otto 2020-05-07 21:17:16 +02:00
parent faaebb2de2
commit d324b464b2

View file

@ -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