diff options
Diffstat (limited to 'test/run.go')
-rw-r--r-- | test/run.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run.go b/test/run.go index b23860692..c82c138be 100644 --- a/test/run.go +++ b/test/run.go @@ -344,7 +344,7 @@ func (t *test) run() { if err != nil { t.err = fmt.Errorf("%s\n%s", err, out) } - if string(out) != t.expectedOutput() { + if strings.Replace(string(out), "\r\n", "\n", -1) != t.expectedOutput() { t.err = fmt.Errorf("incorrect output\n%s", out) } |