Skip to content

Commit 59607e4

Browse files
committed
Fix dialyzer warnings
1 parent 67b043c commit 59607e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/rdf/test/assertions.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ defmodule RDF.Test.Assertions do
2323
raise_non_isomorphic_error(left, right)
2424
end
2525

26+
@dialyzer {:nowarn_function, raise_non_isomorphic_error: 2}
2627
defp raise_non_isomorphic_error(left, right) do
2728
raise ExUnit.AssertionError,
2829
[message: "RDF data is not isomorphic"]
@@ -47,6 +48,4 @@ defmodule RDF.Test.Assertions do
4748
_ -> nil
4849
end
4950
end
50-
51-
defp single_graph(_), do: nil
5251
end

0 commit comments

Comments
 (0)