yao/neo/load_test.go
2023-04-30 14:21:45 +08:00

24 lines
344 B
Go

package neo
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/yaoapp/yao/config"
"github.com/yaoapp/yao/test"
)
func TestLoad(t *testing.T) {
test.Prepare(t, config.Conf)
defer test.Clean()
err := Load(config.Conf)
if err != nil {
t.Fatal(err)
}
check(t)
}
func check(t *testing.T) {
assert.NotNil(t, Neo)
}