Skip to content

Commit

Permalink
fix test message
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrodriges committed May 12, 2023
1 parent e39eea6 commit 634440b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/metricstest/iteration10a_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ func (suite *Iteration10ASuite) TestLibraryUsage() {
return
}
if err == nil || errors.Is(err, errUsageNotFound) {
suite.T().Errorf("Не найдено использование библиотеки database/sql по пути %q", flagTargetSourcePath)
suite.T().Errorf("В проекте найдено использование ни одной из библиотек для работы с БД:\n%s",
suite.knownLibraries.PackageList(),
)
return
}
suite.T().Errorf("Неожиданная ошибка при поиске использования библиотеки по пути %q, %v", flagTargetSourcePath, err)
Expand Down

0 comments on commit 634440b

Please sign in to comment.