File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1267,7 +1267,7 @@ func Test_Request_Body_With_Server(t *testing.T) {
1267
1267
1268
1268
require .Equal (t , "myBoundary" , req .Boundary ())
1269
1269
1270
- resp , err := req .Post ("http://exmaple .com" )
1270
+ resp , err := req .Post ("http://example .com" )
1271
1271
require .NoError (t , err )
1272
1272
require .Equal (t , fiber .StatusOK , resp .StatusCode ())
1273
1273
@@ -1356,7 +1356,7 @@ func Test_Request_Body_With_Server(t *testing.T) {
1356
1356
SetFileReader (io .NopCloser (strings .NewReader ("world" ))),
1357
1357
))
1358
1358
1359
- resp , err := req .Post ("http://exmaple .com" )
1359
+ resp , err := req .Post ("http://example .com" )
1360
1360
require .NoError (t , err )
1361
1361
require .Equal (t , fiber .StatusOK , resp .StatusCode ())
1362
1362
})
Original file line number Diff line number Diff line change @@ -1638,7 +1638,7 @@ app.Use(func(c fiber.Ctx) error {
1638
1638
return c.Writef (" (got error %v )" , err)
1639
1639
}
1640
1640
1641
- // No errors occured
1641
+ // No errors occurred
1642
1642
return nil
1643
1643
})
1644
1644
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ app := fiber.New(fiber.Config{
19
19
// Pass in Views Template Engine
20
20
Views : engine,
21
21
22
- // Default global path to search for views (can be overriden when calling Render())
22
+ // Default global path to search for views (can be overridden when calling Render())
23
23
ViewsLayout : " layouts/main" ,
24
24
25
25
// Enables/Disables access to `ctx.Locals()` entries in rendered views
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ Registering a subapp is now also possible via the [`Use`](./api/app#use) method
302
302
<summary >Example</summary >
303
303
304
304
``` go
305
- // register mulitple prefixes
305
+ // register multiple prefixes
306
306
app.Use ([" /v1" , " /v2" ], func (c fiber.Ctx ) error {
307
307
// Middleware for /v1 and /v2
308
308
return c.Next ()
You can’t perform that action at this time.
0 commit comments