(str string)
| 290 | } |
| 291 | |
| 292 | func unmarshalAndMarshalJSON(str string) string { |
| 293 | var hash Hash |
| 294 | json.Unmarshal([]byte(str), &hash) |
| 295 | ret, _ := json.Marshal(hash) |
| 296 | |
| 297 | return strings.TrimSpace(string(ret)) |
| 298 | } |
| 299 | |
| 300 | func TestHash_MarshalYAML(t *testing.T) { |
| 301 | Convey("marshal unmarshal yaml", t, func() { |
no test coverage detected