mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
18 lines
186 B
Go
18 lines
186 B
Go
package config
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestConfig(t *testing.T) {
|
|
|
|
cfg, err := LoadConfig("")
|
|
if err != nil {
|
|
t.Error(err)
|
|
return
|
|
}
|
|
|
|
fmt.Printf(cfg.Datastore.Path)
|
|
}
|