Mike McQuaid
72d10fff0b
Use constants for LinkedKegs/PinnedKegs/Locks.
...
These definitions are scattered throughout the codebase which makes it
hard to refactor them later (my goal is to move them outside of
HOMEBREW_LIBRARY). Unify their definitions for clearer code and easier
movement later.
2016-09-15 18:28:42 +01:00
Xu Cheng
c0f33d650f
fix test_formula_pin
...
Closes Homebrew/homebrew#46468 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-29 20:24:30 +08:00
BrewTestBot
13d544e11e
Core files style updates.
...
Closes Homebrew/homebrew#42354 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Jack Nagel
f222ca04fd
Remove pin directory when empty
2014-06-23 22:34:41 -05:00
Jack Nagel
58a75b0f71
Use assert_predicate
2014-06-18 20:34:09 -05:00
Jack Nagel
982e9239b8
Use a custom test class so we can avoid monkeypatching
2014-06-18 20:32:51 -05:00
Jack Nagel
3a0726406b
Add tests for FormulaPin and simplify implementation
2013-04-16 01:58:11 -05:00