From 062c9832a6cdb39bf38ad7a6dad51300a2e9a734 Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Thu, 1 Oct 2020 13:16:00 +0200 Subject: vm/vmimpl/merger: remove all CRs from output Get rid of all places stripping \r in pkg/report. And adapt all tests. Signed-off-by: Alexander Egorenkov --- pkg/report/fuzz.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'pkg/report/fuzz.go') diff --git a/pkg/report/fuzz.go b/pkg/report/fuzz.go index 02f02c4db..0db602491 100644 --- a/pkg/report/fuzz.go +++ b/pkg/report/fuzz.go @@ -32,10 +32,8 @@ func Fuzz(data []byte) int { if len(rep.Output) == 0 { panic(fmt.Sprintf("%v: len(Output) == 0", typ)) } - switch os { - case "openbsd", "netbsd", "fuchsia": - // openbsd/netbsd has Start/End/SkipPos set incorrectly due to messing with /r/n. - // fuchsia because it symbolizes before parsing. + if os == "fuchsia" { + // Fuchsia has Start/End/SkipPos set incorrectly because it symbolizes before parsing. continue } if rep.StartPos != 0 && rep.EndPos != 0 && rep.StartPos >= rep.EndPos { -- cgit mrf-deployment