Get rid of ex_doc warning when running tests
This commit is contained in:
parent
c750f32c9f
commit
8556cd6f83
|
|
@ -25,4 +25,3 @@ use Mix.Config
|
|||
#
|
||||
# import_config "#{Mix.env}.exs"
|
||||
|
||||
config :ex_doc, :markdown_processor, ExDoc.Markdown.Pandoc
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
use Mix.Config
|
||||
|
||||
config :ex_doc, :markdown_processor, ExDoc.Markdown.Pandoc
|
||||
|
|
@ -1,6 +1,4 @@
|
|||
defmodule ISN do
|
||||
alias Postgrex.TypeInfo
|
||||
|
||||
@behaviour Postgrex.Extension
|
||||
@isn ~w(ean13 isbn13 ismn13 issn13 isbn ismn issn upc)
|
||||
|
||||
|
|
@ -47,7 +45,7 @@ defmodule ISN do
|
|||
def format(_),
|
||||
do: :text
|
||||
|
||||
def encode(opts) do
|
||||
def encode(_opts) do
|
||||
quote do
|
||||
thing ->
|
||||
[<<IO.iodata_length(thing) :: int32>> | thing]
|
||||
|
|
|
|||
Loading…
Reference in New Issue