Skip to content

Commit 7651637

Browse files
committed
Fix warnings
1 parent 945c7eb commit 7651637

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ config :phoenix, :json_library, Jason
1414
config :main_proxy,
1515
http: [:inet6, port: 5907]
1616

17-
config :logger, level: :warn
17+
config :logger, level: :warning

test/main_proxy/plug_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ defmodule MainProxy.PlugTest do
155155

156156
property "all hosts match subset" do
157157
check all host <- host_generator() do
158-
{status, _headers, _body} = matches_host?(Regex.compile!(String.slice(host, 1..-1)), host)
158+
{status, _headers, _body} = matches_host?(Regex.compile!(String.slice(host, 1..-1//1)), host)
159159
assert status == 200
160160
end
161161
end

0 commit comments

Comments
 (0)