xmltree/graph_test.go
huangsimin c98a5e822c 123
2019-11-29 18:30:20 +08:00

20 lines
228 B
Go

package graph
import (
"io/ioutil"
"os"
"testing"
)
func Test1(t *testing.T) {
f, err := os.Open("1.xml")
if err != nil {
panic(err)
}
data, err := ioutil.ReadAll(f)
if err != nil {
panic(err)
}
ParseXML(data)
}