Skip to content

Commit

Permalink
fix(test): hosts should be array
Browse files Browse the repository at this point in the history
  • Loading branch information
xuruidong authored May 29, 2024
1 parent aa411e6 commit 1680a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/add.t
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ true
local rx = radix.new({
{
paths = {"/aa*"},
hosts = "127.0.0.1:9080",
hosts = {"127.0.0.1:9080"},
handler = function (ctx)
ngx.say("pass")
end
Expand Down

0 comments on commit 1680a2b

Please sign in to comment.