diff options
| author | Mike McQuaid | 2017-07-28 17:47:10 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-07-30 16:20:32 +0100 |
| commit | 7ec05052003ecf6142d94aeaa62f4b4bd84a569d (patch) | |
| tree | 061f2bcb21741dcfa0ae624e382b6193851742bc /Library/Homebrew/test | |
| parent | 05956781a27f754905084215ef8270d3f3d26fab (diff) | |
| download | brew-7ec05052003ecf6142d94aeaa62f4b4bd84a569d.tar.bz2 | |
Preserve link status on reinstall/upgrade.
This means if a user has manually `brew unlink` or `brew link --force`d
something then that status will be preserved after they `brew upgrade`
or `brew reinstall` that formula.
This generally should make things that are keg-only by default easier
to swallow.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/bottle_hooks_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/test/bottle_hooks_spec.rb b/Library/Homebrew/test/bottle_hooks_spec.rb index 913e3ffba..78ccfa47b 100644 --- a/Library/Homebrew/test/bottle_hooks_spec.rb +++ b/Library/Homebrew/test/bottle_hooks_spec.rb @@ -12,6 +12,8 @@ describe Homebrew::Hooks::Bottles do local_bottle_path: nil, bottle_disabled?: false, some_random_method: true, + linked_keg: Pathname("foo"), + rack: Pathname("bar"), ) end |
