Add tests for triples/1 alias with filter_star opt

This commit is contained in:
Marcel Otto 2021-11-20 21:30:29 +01:00
parent 8cfe0ee6cc
commit a1bc6b7dd4
2 changed files with 2 additions and 2 deletions

View file

@ -186,7 +186,7 @@ defmodule RDF.Star.Description.Test do
{EX.ap(), statement()}
]
)
|> Description.statements(filter_star: true) == [{EX.s(), EX.p(), EX.o()}]
|> Description.triples(filter_star: true) == [{EX.s(), EX.p(), EX.o()}]
end
end

View file

@ -1744,7 +1744,7 @@ defmodule RDF.Star.GraphTest do
test "with the filter_star flag" do
assert Graph.statements(graph_with_quoted_triples(), filter_star: true) == []
assert Graph.statements(graph_with_quoted_triples(), filter_star: true) == []
assert Graph.triples(graph_with_quoted_triples(), filter_star: true) == []
assert Graph.new(
init: [