conn_ini__test.go 323 B

1234567891011121314151617181920212223242526
  1. package conf
  2. import (
  3. "fmt"
  4. "testing"
  5. )
  6. // 读取配置文件
  7. func Test_ConnIni(t *testing.T) {
  8. //conf, err := ConnIni()
  9. //if err != nil {
  10. // t.Error(err)
  11. //} else {
  12. // t.Log(conf.MustValue("ubrSet", "ubr_host"))
  13. //}
  14. fmt.Println("fff")
  15. var f bool
  16. if f {
  17. fmt.Println("t")
  18. } else {
  19. fmt.Println("f")
  20. }
  21. }