Этот коммит содержится в:
tfreville 2020-03-09 14:42:16 +01:00
родитель 6e9459c454
коммит 32741b9662

Просмотреть файл

@ -5,7 +5,6 @@ import (
"fmt"
"io"
"io/ioutil"
"log"
"os"
"regexp"
"strings"
@ -287,9 +286,7 @@ func testSucceedRun(t *testing.T, format string, concurrency int, expectedOutput
suiteCtxReg := regexp.MustCompile(`suite_context.go:\d+`)
expectedOutput = suiteCtxReg.ReplaceAllString(expectedOutput, `suite_context.go:0`)
log.Println("expected clean: " + expectedOutput)
actual = suiteCtxReg.ReplaceAllString(actual, `suite_context.go:0`)
log.Println("actual clean: " + actual)
assert.Equalf(t, expectedOutput, actual, "[%s]", actual)
}