config_test.go 196 Bytes
Newer Older
Juan Batiz-Benet's avatar
Juan Batiz-Benet committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
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)
}