diff --git a/utils_test.go b/utils_test.go index 8fc4d45c..bfaa8c35 100644 --- a/utils_test.go +++ b/utils_test.go @@ -27,6 +27,12 @@ func TestParseForm(t *testing.T) { if err := ParseForm(form, &u); err != nil { t.Fatal(err) } + if u.Id != 0 { + t.Error("Id should not be changed") + } + if len(u.tag) != 0 { + t.Error("tag should not be changed") + } if u.Name.(string) != "test" { t.Error("should be equal") }