You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
voicebot/icsconf/icsconf_test.go

14 lines
259 B
Go

3 years ago
package icsconf
import (
2 months ago
"encoding/json"
3 years ago
"fmt"
"testing"
)
func TestGetModName(t *testing.T) {
2 months ago
conf, _ := OpenConfig("/home/icsbot/config/icsbot.xml", "/home/icsvc")
resultJson, _ := json.MarshalIndent(conf, "", " ")
fmt.Println(string(resultJson))
3 years ago
}