mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
15 lines
236 B
Go
15 lines
236 B
Go
package paramtable
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestHTTPConfig_Init(t *testing.T) {
|
|
cf := new(HTTPConfig)
|
|
cf.InitOnce()
|
|
assert.Equal(t, cf.Enabled, true)
|
|
assert.Equal(t, cf.DebugMode, false)
|
|
}
|