From a74e207ea3f9fd89ae4ac2152e298109cc2833e7 Mon Sep 17 00:00:00 2001 From: Arseny Balobanov Date: Fri, 20 Mar 2020 11:59:20 +0300 Subject: [PATCH] testtool: fix coverage comment search dir. --- 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 cc31b5a..e028e71 100644 --- a/tools/testtool/commands/test_submission.go +++ b/tools/testtool/commands/test_submission.go @@ -242,7 +242,7 @@ func runTests(testDir, privateRepo, problem string) error { } } - coverageReq := getCoverageRequirements(privateRepo) + coverageReq := getCoverageRequirements(path.Join(privateRepo, problem)) if coverageReq.Enabled { log.Printf("required coverage: %.2f%%", coverageReq.Percent) }