Douglas Eichelberger
9075cbae62
brew style --fix
2023-04-21 09:58:50 -07:00
Douglas Eichelberger
ac1e6ded9a
git grep -l '# typed: false' | xargs gsed -i 's|# typed: false||g'
2023-04-21 09:57:47 -07:00
Issy Long
3a83b5492c
rubocop: Clean up Style/BlockDelimiters
excludes and autofix offenses
...
- The defaults of using "do ... end" for multi-line blocks everywhere is
good, better than switching everything to braces everywhere.
2023-03-08 23:54:22 +00:00
Douglas Eichelberger
2b8b3a5cb6
Enable RSpec/NoExpectationExample
2023-01-25 14:37:39 -08:00
Issy Long
6b76fd012a
Fix (auto-correct) RuboCop RSpec/BeNil
offenses
2022-03-01 00:10:10 +00:00
nandahkrishna
f7f9433443
Keg.find_some_installed_dependents: move to installed_dependents.rb
2021-02-12 01:42:17 +05:30
nandahkrishna
fcb1aa8aef
test/keg_spec: add test to check for dependent casks
2021-02-10 12:05:12 +05:30
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Mike McQuaid
ffe827ad0e
Fix upgrading dependents on missing keg
...
Ensure that we don't try to check for broken linkage in a keg that
doesn't exist. Furthermore, fix the reason we checked for the keg that
doesn't exist by `Formula.clear_cache`.
While here, I noticed that there was other methods of caching at use in
`Formula` so consolidate them to be consistent.
Fixes #8997
2020-10-29 08:31:04 +00:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
6c964d4a78
Pass verbose?
to Keg#link
, Keg#unlink
and Keg#optlink
.
2020-08-06 16:12:52 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Markus Reiter
e169b87f9e
Use expect { }.to output
.
2018-04-20 19:11:22 +02:00
Mike McQuaid
0f4e22e28d
Merge pull request #3981 from MikeMcQuaid/rspec-cleanup
...
test: rubocop-rspec style auto-corrects.
2018-03-28 11:51:44 +01:00
Mike McQuaid
8975bf0d5b
keg: use Formula#runtime_dependencies.
2018-03-27 14:52:48 +01:00
Mike McQuaid
5e1806e796
test: rubocop-rspec style auto-corrects.
...
There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically.
2018-03-25 13:30:37 +01:00
Naoto Kaneko
928eaca267
Merge branch 'master' into exclude-executable-metafiles
...
Added tests in keg_test and pathname_test was
moved into keg_spec and pathname_spec.
2017-02-27 14:23:53 +09:00
Markus Reiter
af793f44c9
Convert Keg test to spec.
2017-02-25 19:11:02 +01:00