From 7a4950008e5571e4618935bbdd7190ca5036b9e3 Mon Sep 17 00:00:00 2001 From: Laurens Rietveld Date: Sun, 21 Oct 2018 20:57:13 +0200 Subject: [PATCH] Added check whether N3 datafactory can be passed as option where Rdf DataFactory is expected --- types/n3/n3-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/n3/n3-tests.ts b/types/n3/n3-tests.ts index a061777ad7..ee312b6388 100644 --- a/types/n3/n3-tests.ts +++ b/types/n3/n3-tests.ts @@ -76,7 +76,7 @@ function test_doc_rdf_to_triples_2() { } function test_doc_rdf_stream_to_triples_1() { - const parser: N3.N3Parser = new N3.Parser(); + const parser: N3.N3Parser = new N3.Parser({factory: N3.DataFactory}); parser.parse('abc', console.log); const streamParser: N3.N3StreamParser = N3.StreamParser();