From b7c84cb10a3a49ff908910d6b5df208cbb010d35 Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Sat, 22 Feb 2020 15:37:16 +0300 Subject: [PATCH] Fix error message --- tools/testtool/commands/test_submission.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testtool/commands/test_submission.go b/tools/testtool/commands/test_submission.go index 4f39b45..bb9a166 100644 --- a/tools/testtool/commands/test_submission.go +++ b/tools/testtool/commands/test_submission.go @@ -336,7 +336,7 @@ func compareToBaseline(testPkg, privateRepo string, run []byte) error { for _, c := range tables { for _, r := range c.Rows { 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) } } }