Get rid of ex_doc warning when running tests

This commit is contained in:
Martin Frost 2017-01-22 22:23:06 +01:00
parent c750f32c9f
commit 8556cd6f83
3 changed files with 4 additions and 4 deletions

View File

@ -25,4 +25,3 @@ use Mix.Config
# #
# import_config "#{Mix.env}.exs" # import_config "#{Mix.env}.exs"
config :ex_doc, :markdown_processor, ExDoc.Markdown.Pandoc

3
config/dev.exs Normal file
View File

@ -0,0 +1,3 @@
use Mix.Config
config :ex_doc, :markdown_processor, ExDoc.Markdown.Pandoc

View File

@ -1,6 +1,4 @@
defmodule ISN do defmodule ISN do
alias Postgrex.TypeInfo
@behaviour Postgrex.Extension @behaviour Postgrex.Extension
@isn ~w(ean13 isbn13 ismn13 issn13 isbn ismn issn upc) @isn ~w(ean13 isbn13 ismn13 issn13 isbn ismn issn upc)
@ -47,7 +45,7 @@ defmodule ISN do
def format(_), def format(_),
do: :text do: :text
def encode(opts) do def encode(_opts) do
quote do quote do
thing -> thing ->
[<<IO.iodata_length(thing) :: int32>> | thing] [<<IO.iodata_length(thing) :: int32>> | thing]