Fix error message

This commit is contained in:
Fedor Korotkiy 2020-02-22 15:37:16 +03:00
parent 7a1b5b194c
commit b7c84cb10a

View file

@ -336,7 +336,7 @@ func compareToBaseline(testPkg, privateRepo string, run []byte) error {
for _, c := range tables { for _, c := range tables {
for _, r := range c.Rows { for _, r := range c.Rows {
if r.Change == -1 { if r.Change == -1 {
return fmt.Errorf("solution is worse than baseline on test %q", c.Metric) return fmt.Errorf("solution is worse than baseline on benchmark %q", r.Benchmark)
} }
} }
} }