mirror of
https://github.com/astaxie/beego.git
synced 2025-07-10 21:51:00 +00:00
config: fix the import issue
This commit is contained in:
@ -9,6 +9,8 @@ package config
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/astaxie/beego/config"
|
||||
)
|
||||
|
||||
var yamlcontext = `
|
||||
@ -33,7 +35,7 @@ func TestYaml(t *testing.T) {
|
||||
}
|
||||
f.Close()
|
||||
defer os.Remove("testyaml.conf")
|
||||
yamlconf, err := NewConfig("yaml", "testyaml.conf")
|
||||
yamlconf, err := config.NewConfig("yaml", "testyaml.conf")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user