diff --git a/test/support/test_suite.ex b/test/support/test_suite.ex index b0194b6..0362b2b 100644 --- a/test/support/test_suite.ex +++ b/test/support/test_suite.ex @@ -18,6 +18,9 @@ defmodule RDF.TestSuite do strict: false end + @compile {:no_warn_undefined, RDF.TestSuite.NS.MF} + @compile {:no_warn_undefined, RDF.TestSuite.NS.RDFT} + alias NS.MF alias RDF.{Turtle, Graph, Description, IRI} diff --git a/test/unit/vocabulary_namespace_test.exs b/test/unit/vocabulary_namespace_test.exs index 087144b..67d50ba 100644 --- a/test/unit/vocabulary_namespace_test.exs +++ b/test/unit/vocabulary_namespace_test.exs @@ -235,7 +235,6 @@ defmodule RDF.Vocabulary.NamespaceTest do inbits inlist receive - __block__ __info__ __MODULE__ __FILE__ @@ -243,6 +242,8 @@ defmodule RDF.Vocabulary.NamespaceTest do __ENV__ __CALLER__ ] + # This one also passes the tests, but causes some warnings: + # __block__ end alias NSofEdgeCases.Example alias TestNS.EX @@ -262,7 +263,7 @@ defmodule RDF.Vocabulary.NamespaceTest do assert Example.inbits == ~I assert Example.inlist == ~I assert Example.receive == ~I - assert Example.__block__ == ~I +# assert Example.__block__ == ~I assert Example.__info__ == ~I assert Example.__MODULE__ == ~I assert Example.__FILE__ == ~I