()
| 22 | ) |
| 23 | |
| 24 | func lineEndings() cmp.Option { |
| 25 | return cmp.Transformer("LineEndings", func(in string) string { |
| 26 | // Replace Windows new lines with Unix newlines |
| 27 | return strings.Replace(in, "\r\n", "\n", -1) |
| 28 | }) |
| 29 | } |
| 30 | |
| 31 | func stderrTransformer() cmp.Option { |
| 32 | return cmp.Transformer("Stderr", func(in string) string { |