github.com/sandwich-go/boost@v1.3.29/z/conv_test.go (about) 1 package z 2 3 import ( 4 . "github.com/smartystreets/goconvey/convey" 5 "testing" 6 ) 7 8 func TestConv(t *testing.T) { 9 Convey("conv", t, func() { 10 s := `a {{ .val1 }} {{ .val2 }}` 11 s1 := StringToBytes(s) 12 So(BytesToString(s1), ShouldEqual, s) 13 }) 14 }