Skip to content

Commit

Permalink
test: update 326
Browse files Browse the repository at this point in the history
  • Loading branch information
climba03003 committed May 29, 2024
1 parent 19603ea commit f5fd563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/issues/326/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ app.ready(function (err) {
})

app.inject({
url: '/custom-prefix'
url: '/custom-prefix/child'
}, function (err, res) {
t.error(err)

t.equal(res.statusCode, 200)
})

app.inject({
url: '/custom-prefix/not-exists'
url: '/custom-prefix/child/not-exists'
}, function (err, res) {
t.error(err)
t.equal(res.headers.from, 'routes-b')
Expand Down

0 comments on commit f5fd563

Please sign in to comment.