From 5f16b9837c289f24840d06e1eccaf3d95d07c4a1 Mon Sep 17 00:00:00 2001 From: Marcel Otto Date: Fri, 9 Oct 2020 16:39:59 +0200 Subject: [PATCH] Fix RDF.Literal.new/1 test with custom datatypes --- test/unit/literal_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/literal_test.exs b/test/unit/literal_test.exs index 77b0ae2..78d6550 100644 --- a/test/unit/literal_test.exs +++ b/test/unit/literal_test.exs @@ -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