18 lines
295 B
Go
18 lines
295 B
Go
package htmlx_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"lishwist/assert"
|
|
"lishwist/http/props/htmlx"
|
|
)
|
|
|
|
func TestFormXmlRender(t *testing.T) {
|
|
form := htmlx.Form{
|
|
Method: "POST",
|
|
Content: htmlx.Input{Label: "Message", Name: "message"},
|
|
}
|
|
|
|
assert.XmlSnapshot(t, "TestFormXmlRender.snap.xml", form)
|
|
}
|