update names in report
This commit is contained in:
parent
79c1b9d285
commit
61b8303c98
1 changed files with 4 additions and 2 deletions
|
|
@ -102,17 +102,19 @@ func main() {
|
|||
if _, err := os.Stat(gotPath); err == nil {
|
||||
hasGot = true
|
||||
}
|
||||
// e.g. arrowhead_adjustment/dagre
|
||||
name := filepath.Join(filepath.Base(testCaseRoot), info.Name())
|
||||
if deltaFlag {
|
||||
if hasGot {
|
||||
tests = append(tests, TestItem{
|
||||
Name: info.Name(),
|
||||
Name: name,
|
||||
ExpSVG: &fullPath,
|
||||
GotSVG: gotPath,
|
||||
})
|
||||
}
|
||||
} else {
|
||||
test := TestItem{
|
||||
Name: info.Name(),
|
||||
Name: name,
|
||||
ExpSVG: nil,
|
||||
GotSVG: fullPath,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue