(c *C)
| 912 | } |
| 913 | |
| 914 | func (s *S) TestDecoderReadError(c *C) { |
| 915 | err := yaml.NewDecoder(errReader{}).Decode(&struct{}{}) |
| 916 | c.Assert(err, ErrorMatches, `yaml: input error: some read error`) |
| 917 | } |
| 918 | |
| 919 | func (s *S) TestUnmarshalNaN(c *C) { |
| 920 | value := map[string]interface{}{} |