Skip to content

Commit

Permalink
Fixing typo in allocate test (#1343)
Browse files Browse the repository at this point in the history
  • Loading branch information
ynori7 committed Jul 25, 2023
1 parent f468fe9 commit ae1cb79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions allocate_test.go
Expand Up @@ -157,11 +157,11 @@ func TestRemoteAllocator(t *testing.T) {
if err != nil {
t.Fatal(err)
}
_, post, err := net.SplitHostPort(u.Host)
_, port, err := net.SplitHostPort(u.Host)
if err != nil {
t.Fatal(err)
}
u.Host = net.JoinHostPort(h, post)
u.Host = net.JoinHostPort(h, port)
u.Path = "/"
return u.String()
},
Expand Down

0 comments on commit ae1cb79

Please sign in to comment.