Skip to content

Commit

Permalink
test: add test case for findRelativeRessourcePath
Browse files Browse the repository at this point in the history
  • Loading branch information
froz42 committed Jan 23, 2025
1 parent 711a4cf commit ca65e66
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions autopatch/autopatch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,11 @@ func TestFindRelativeRessourcePath(t *testing.T) {
putPath: "/things/{id}",
expected: "/things/test",
},
{
requestPath: "/api/v1/test",
putPath: "{id}",
expected: "/test",
},
}

for _, test := range tests {
Expand Down

0 comments on commit ca65e66

Please sign in to comment.