aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorShaun Jackman2016-09-20 14:42:29 -0700
committerShaun Jackman2016-09-23 17:11:24 -0700
commit25df0c03d6abd79fbc103f3be9df38d48bd4f938 (patch)
treec793e210ff4dff00766554fc6f785b2c546c36d7 /Library/Homebrew/test
parent12aad5c65fee39c5f044e39ca1efcbed58aebd39 (diff)
downloadbrew-25df0c03d6abd79fbc103f3be9df38d48bd4f938.tar.bz2
Store the formula used to build the keg in the keg
Store the formula used to build the keg inside the keg in a file named NAME/VERSION/.brew/NAME.rb after removing the bottle do ... end block. See https://github.com/Homebrew/brew-evolution/pull/6. Closes https://github.com/Homebrew/brew/issues/931.
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_formula_installer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_formula_installer.rb b/Library/Homebrew/test/test_formula_installer.rb
index da0404c35..5b937d1df 100644
--- a/Library/Homebrew/test/test_formula_installer.rb
+++ b/Library/Homebrew/test/test_formula_installer.rb
@@ -58,6 +58,7 @@ class InstallTests < Homebrew::TestCase
bin = HOMEBREW_PREFIX+"bin"
assert_predicate bin, :directory?
assert_equal 3, bin.children.length
+ assert_predicate f.prefix/".brew/testball.rb", :readable?
end
end