Skip to content

Commit

Permalink
fixed test file
Browse files Browse the repository at this point in the history
  • Loading branch information
Danushka96 committed Dec 9, 2024
1 parent 3e93da1 commit 7bd50d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func TestServer_SetBasePath(t *testing.T) {
server.SetBasePath("/api/v1")

// Register route after setting base path
server.Group("").GET("/test", func(c *Context) {
c.Status(200)
server.Group("").GET("/test", func(c *Context) (string, error) {
return "test", nil
})

w := httptest.NewRecorder()
Expand Down

0 comments on commit 7bd50d7

Please sign in to comment.