Douglas Eichelberger
3615e5e648
Port Homebrew::Cmd::Config
2024-03-29 18:53:07 -07:00
Douglas Eichelberger
26eda5a303
git grep -l '^describe' | xargs gsed -i 's|^describe|RSpec.describe|g'
2024-02-19 13:57:27 +00:00
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
Rylan Polster
4a82d807e1
style: remove RSpec/MultipleDescribes violations in commands
2021-02-01 20:30:51 -05:00
Markus Reiter
0184e271d8
Fix RuboCop offenses.
2020-11-17 11:09:55 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
2f1c6e9ca5
Cleanup cmd/* tests
...
- Test `_args` methods
- Remove multiple integration tests (except where essential
e.g. `install`, `help`)
2019-03-28 08:35:36 +00:00
Mike McQuaid
0e30d34d27
test: fix tests with a shallow clone.
...
In this case `HOMEBREW_VERSION` is `>1.1.0 (no git repository)` so these
tests failed. This was the cause of the Homebrew/homebrew-test-bot
Linux CI failures as it was testing a shallow clone.
2017-03-10 16:16:01 +00:00
Markus Reiter
540a1360d6
Convert brew config
test to spec.
2017-02-23 21:27:53 +01:00