15 Commits
Author SHA1 Message Date
Mike McQuaid 6f071a06f8 Use JSON.pretty_generate
It's dramatically more human readable for very little difference in
space.
2021-04-09 15:44:37 +01:00
Rylan Polster 4a82d807e1 style: remove RSpec/MultipleDescribes violations in commands 2021-02-01 20:30:51 -05:00
Markus Reiter 24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Mike McQuaid 2e5272d04c Deprecate/disable code for Homebrew 2.5.0.
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
Mike McQuaid 3a91c37e66 Fix RuboCop checks. 2020-08-19 17:12:32 +01:00
William Ma fa0f6f4d5b outdated: Update tests for deprecation warning 2020-07-20 16:16:18 -04: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 737b84b54b brew style --fix fixes. 2018-11-02 17:29:23 +00:00
Douglas F Shearer 18b362aa96 Alphabetize the brew outdated formula listing.
Sorts by `Formula#<=>`.

Includes updated test example.
2018-05-16 13:01:12 +01:00
Markus Reiter 2ad3a87045 Silence all specs by default. 2017-07-29 20:25:37 +02:00
William Roe 996dcdee2c Add pinned version to outdated json output
The structure should be consistent, so there are always pinned and
pinned_version fields even if there are no pinned versions for a given formula.
2017-03-27 11:41:08 +01:00
William Roe 70446d9112 Add pinned version to outdated output 2017-03-27 11:30:36 +01:00
William Roe 755d43d46d Add test for verbose brew outdated output
Split the tests up into quiet and verbose output with contexts.
2017-03-27 11:27:48 +01:00
Markus Reiter a59868c8be Convert brew outdated test to spec. 2017-02-23 21:21:28 +01:00