BasePath is not longer an exported field, but a method instead
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ func init() {
|
||||
|
||||
func TestCreateEngine(t *testing.T) {
|
||||
router := New()
|
||||
assert.Equal(t, "/", router.BasePath)
|
||||
assert.Equal(t, "/", router.basePath)
|
||||
assert.Equal(t, router.engine, router)
|
||||
assert.Empty(t, router.Handlers)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user