diff options
| author | Claudia | 2017-10-09 02:32:44 +0200 |
|---|---|---|
| committer | Claudia | 2017-10-20 14:08:22 +0200 |
| commit | e0bb978cc93ab81ffeaa15656fe74384cf7982fc (patch) | |
| tree | 46dbe76ff7863f3bfaced48190dc60b6c4c5556a /Library/Homebrew/dev-cmd | |
| parent | a2374cba6cf9a56897f5feeab7f4add661d3c287 (diff) | |
| download | brew-e0bb978cc93ab81ffeaa15656fe74384cf7982fc.tar.bz2 | |
Add tests for `FormulaAuditor#audit_deps`
These tests cover a few aspects of the `FormulaAuditor#audit_deps`
method. The main focus is the part where FormulaAuditor checks for
dependencies on formulas which are tagged `keg_only` with the
`:provided_by_macos` reason.
For this particular kind of `keg_only` formulas, we expect
`brew audit --new-formula` to fail with a problem message like:
> Dependency 'bc' may be unnecessary as it is provided by
> macOS; try to build this formula without it.
For more details, see the relevant discussion:
[1] https://github.com/Homebrew/homebrew-core/pull/14067#issuecomment-335046151
[2] https://github.com/Homebrew/brew/pull/3290#issuecomment-335052140
Diffstat (limited to 'Library/Homebrew/dev-cmd')
0 files changed, 0 insertions, 0 deletions
