aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
2017-10-29lines_cop: Update regex patterns to prevent false positivesGautham Goli
2017-10-29formula_desc_cop: ensure no full stops at the end of descIsabell Long
- This was a suggestion by Mike McQuaid in my `homebrew-core` audit description PR. Based on ilovezfs's incantation `grep -r -E 'desc ".*\."' *.rb`, some formulae descriptions do end in full stops. (My initial assessment of this failed to account for the fact that descriptions are strings and so end in `"`.) - Add an autocorrect for this cop, too.
2017-10-29Tweak use of with_envMike McQuaid
- Use it in more places where it saves code - Allow using symbolic keys for a cleaner interface - Use `HOMEBREW_GEM_*` instead of `GEM_OLD_*`
2017-10-27test.flac: add flac fixture.Mike McQuaid
2017-10-24Include `FileUtils` in `spec_helper`.Markus Reiter
2017-10-24Refactor and fix RuboCop specs.Markus Reiter
2017-10-24Update to RuboCop 0.51.Markus Reiter
2017-10-24Merge pull request #3313 from ↵Mike McQuaid
GauthamGoli/audit_line_rubocop_part_4_rebase_attempt_1 audit: Port line_problems to rubocop and add tests part 4
2017-10-22pull: Fix pull --bottle 1234Shaun Jackman
Fix the error: Error: undefined method `casecmp' for nil:NilClass
2017-10-21Merge branch 'master' into audit_line_rubocop_part_4_rebase_attempt_1Gautham Goli
2017-10-21lines_cop: Refactor to multiple cops and fix style violationsGautham Goli
2017-10-21Merge branch 'master' into audit_line_rubocop_part_4_rebase_attempt_1Gautham Goli
2017-10-20Add tests for `FormulaAuditor#audit_deps`Claudia
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
2017-10-18Move `String#undent` to `compat`.Markus Reiter
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-10-18Merge pull request #3291 from JCount/lines-cop-fix-wine-universal-binaryMike McQuaid
lines_cop: add ENV.universal_binary audit exemption for wine
2017-10-17Rename MinimumMacOSRequirement to MacOSRequirementShaun Jackman
Move MinimumMacOSRequirement to compat.
2017-10-17Add depends_on :linux and :macosShaun Jackman
2017-10-15lines_cop_spec: improve language in universal_binary and build testsJCount
2017-10-15lines_cop_spec: add test for ENV.universal_binary audit exemption for wineJCount
2017-10-14formula_desc_cop_spec: add empty string testDominyk Tiller
2017-10-13Merge branch 'master' into audit_line_rubocop_part_4_rebase_attempt_1Gautham Goli
2017-10-10Set RuboCop maximum to current maximum.Markus Reiter
2017-10-08Clean up code style and remove `.rubocop_todo.yml`.Markus Reiter
2017-10-08Add specs for `CaskLoader`.Markus Reiter
2017-10-07Fix RuboCop tests.Markus Reiter
2017-10-07Merge pull request #3283 from reitermarkus/cask-loaderMarkus Reiter
Add helper method for Cask fixture paths and refactor CaskLoader.
2017-10-07Add helper method for Cask fixture paths and refactor CaskLoader.Markus Reiter
2017-10-07Merge pull request #3267 from reitermarkus/refactoringMarkus Reiter
Refactor DSL and Artifact classes.
2017-10-06Merge pull request #3262 from kabel/version-detect-phpMike McQuaid
Add version detection support for php URL
2017-10-04Refactor tests.Markus Reiter
2017-10-04Directly save artifacts in DSL.Markus Reiter
2017-10-04Refactor DSL and Artifacts.Markus Reiter
2017-10-04Merge pull request #3259 from reitermarkus/underscore_supporting_uriMarkus Reiter
Remove `UnderscoreSupportingURI`.
2017-10-03Add test for php version in URL middleKevin Abel
2017-10-03Refactor `cask/cli` specs.Markus Reiter
2017-10-03Merge pull request #3220 from yzguy/yzguy/cask_available_languages_to_infoMarkus Reiter
add available languages to cask info command
2017-10-03Remove `UnderscoreSupportingURI`.Markus Reiter
2017-10-02stylistic changes for cask info testsAdam Smith
2017-10-01Only run trash test when collecting coverage.Markus Reiter
2017-09-30add available languages to cask info commandAdam Smith
add language tests for dsl add fixtures, tests for languages info output add extra lines
2017-09-29Merge pull request #3234 from reitermarkus/localeVítor Galvão
Support UN M.49 region codes.
2017-09-29Support UN M.49 region codes.Markus Reiter
2017-09-28BottleLoader: Use the formula stored in the bottleShaun Jackman
2017-09-28testball_bottle-0.1: Add the formula to the bottleShaun Jackman
Update the SHA-256.
2017-09-28pour_bottle?: Fix when formula.bottle is nilShaun Jackman
formula.bottle is nil when bottle.compatible_cellar? is false. Use formula.bottle_specification.compatible_cellar? rather than formula.bottle.compatible_cellar?.
2017-09-27Revert "Added tests for os/mac/keg"ilovezfs
2017-09-26test: Tests for os/mac/kegmansimarkaur
2017-09-22Merge pull request #3186 from naoty/detect-failure-messageMike McQuaid
Add a failure message to be_detected_from matcher
2017-09-22Replace String#% with Kernel.#formatNaoto Kaneko