Ignore some compiler warnings during test
This commit is contained in:
parent
90c8933592
commit
319940b442
2 changed files with 15 additions and 0 deletions
|
@ -18,6 +18,8 @@ defmodule RDF.Test.Case do
|
|||
import unquote(__MODULE__)
|
||||
|
||||
import RDF.Sigils
|
||||
|
||||
@compile {:no_warn_undefined, RDF.Test.Case.EX}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -7,6 +7,19 @@ defmodule RDF.Vocabulary.NamespaceTest do
|
|||
|
||||
alias RDF.Description
|
||||
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.TestNS.EX}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.TestNS.ExampleFromGraph}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.TestNS.ExampleFromNTriplesFile}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.TestNS.NonStrictExampleFromTerms}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.TestNS.NonStrictExampleFromAliasedTerms}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.TestNS.StrictExampleFromTerms}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.NSofEdgeCases.Example}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.NSWithAliasesForElixirTerms.Example}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.NSwithUnderscoreTerms.Example}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.NSWithIgnoredTerms.ExampleIgnoredLowercasedTerm}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.NSWithIgnoredTerms.ExampleIgnoredNonStrictLowercasedTerm}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.NSWithIgnoredTerms.ExampleIgnoredLowercasedTermWithAlias}
|
||||
@compile {:no_warn_undefined, RDF.Vocabulary.NamespaceTest.NSWithIgnoredTerms.ExampleIgnoredLowercasedAlias}
|
||||
|
||||
defmodule TestNS do
|
||||
use RDF.Vocabulary.Namespace
|
||||
|
|
Loading…
Reference in a new issue