Feat: get file source route / Fix: cache initialize at wrong time
This commit is contained in:
8
pkg/cache/driver_test.go
vendored
8
pkg/cache/driver_test.go
vendored
@@ -42,3 +42,11 @@ func TestSetSettings(t *testing.T) {
|
||||
asserts.Equal("3", value1)
|
||||
asserts.Equal("4", value2)
|
||||
}
|
||||
|
||||
func TestInit(t *testing.T) {
|
||||
asserts := assert.New(t)
|
||||
|
||||
asserts.NotPanics(func() {
|
||||
Init()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user