Add tests for triples/1 alias with filter_star opt
This commit is contained in:
parent
8cfe0ee6cc
commit
a1bc6b7dd4
2 changed files with 2 additions and 2 deletions
|
@ -186,7 +186,7 @@ defmodule RDF.Star.Description.Test do
|
||||||
{EX.ap(), statement()}
|
{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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1744,7 +1744,7 @@ defmodule RDF.Star.GraphTest do
|
||||||
|
|
||||||
test "with the filter_star flag" 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.statements(graph_with_quoted_triples(), filter_star: true) == []
|
assert Graph.triples(graph_with_quoted_triples(), filter_star: true) == []
|
||||||
|
|
||||||
assert Graph.new(
|
assert Graph.new(
|
||||||
init: [
|
init: [
|
||||||
|
|
Loading…
Reference in a new issue