test paths are already absolute
This commit is contained in:
parent
aab194f564
commit
61108bce7a
1 changed files with 1 additions and 5 deletions
|
|
@ -166,11 +166,7 @@ func main() {
|
||||||
|
|
||||||
// get the test path relative to the report
|
// get the test path relative to the report
|
||||||
reportRelPath := func(testPath string) string {
|
reportRelPath := func(testPath string) string {
|
||||||
absTestPath, err := filepath.Abs(testPath)
|
relTestPath, err := filepath.Rel(absReportDir, testPath)
|
||||||
if err != nil {
|
|
||||||
stdlog.Fatal(err)
|
|
||||||
}
|
|
||||||
relTestPath, err := filepath.Rel(absReportDir, absTestPath)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
stdlog.Fatal(err)
|
stdlog.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue