(str string)
| 118 | } |
| 119 | |
| 120 | func unmarshalAndMarshalAccountAddress(str string) string { |
| 121 | var addr AccountAddress |
| 122 | yaml.Unmarshal([]byte(str), &addr) |
| 123 | ret, _ := yaml.Marshal(addr) |
| 124 | |
| 125 | return strings.TrimSpace(string(ret)) |
| 126 | } |
| 127 | |
| 128 | func TestAccountAddress_MarshalYAML(t *testing.T) { |
| 129 | Convey("marshal unmarshal yaml", t, func() { |
no test coverage detected