Skip to content

Commit 138e2ea

Browse files
ekoszwaterlink
authored andcommitted
[LINT] ambiguous first argument
1 parent 623778c commit 138e2ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/rack/reverse_proxy_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def app
162162
Rack::ReverseProxy.new(dummy_app) do
163163
reverse_proxy_options :matching => :all
164164
reverse_proxy '/test', 'http://example.com/'
165-
reverse_proxy /^\/test/, 'http://example.com/'
165+
reverse_proxy(/^\/test/, 'http://example.com/')
166166
end
167167
end
168168

@@ -176,7 +176,7 @@ def app
176176
Rack::ReverseProxy.new(dummy_app) do
177177
reverse_proxy_options :matching => :first
178178
reverse_proxy '/test', 'http://example1.com/'
179-
reverse_proxy /^\/test/, 'http://example2.com/'
179+
reverse_proxy(/^\/test/, 'http://example2.com/')
180180
end
181181
end
182182

0 commit comments

Comments
 (0)