Improve PyPI package name audit wording
This commit is contained in:
parent
5d2ae98d0c
commit
94d4061589
@ -106,7 +106,7 @@ module Homebrew
|
||||
pypi_package_name = url.split("/").last.split(/-\d+\.\d+./).first.tr("_", "-")
|
||||
return if name.casecmp(pypi_package_name).zero?
|
||||
|
||||
problem "resource name should be `#{pypi_package_name}` to closer match the PyPI package name"
|
||||
problem "resource name should be `#{pypi_package_name}` to match the PyPI package name"
|
||||
end
|
||||
|
||||
def audit_urls
|
||||
|
||||
@ -539,7 +539,7 @@ module Homebrew
|
||||
|
||||
fa.audit_specs
|
||||
expect(fa.problems.first[:message])
|
||||
.to match("resource name should be `FooSomething` to closer match the PyPI package name")
|
||||
.to match("resource name should be `FooSomething` to match the PyPI package name")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user