testtool: fix coverage comment search dir.

This commit is contained in:
Arseny Balobanov 2020-03-20 11:59:20 +03:00
parent 5379d8dbf7
commit a74e207ea3

View file

@ -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)
}