aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2014-04-21 09:40:23 -0500
committerJack Nagel2014-04-21 12:43:06 -0500
commit727f2047602a593b57bf4aebc26242fcc63dd4c8 (patch)
tree0cbc241d4982c3621816f57a601c2b6cd475b53a /Library/Homebrew/test
parentd3ab439b7cdbfa43cdc17b6f8a20458b9bf085c3 (diff)
downloadbrew-727f2047602a593b57bf4aebc26242fcc63dd4c8.tar.bz2
Raise useful errors from make_relative_symlink
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_keg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_keg.rb b/Library/Homebrew/test/test_keg.rb
index 4813353e1..0da3a8762 100644
--- a/Library/Homebrew/test/test_keg.rb
+++ b/Library/Homebrew/test/test_keg.rb
@@ -56,7 +56,7 @@ class LinkTests < Test::Unit::TestCase
def test_linking_fails_when_files_exist
touch HOMEBREW_PREFIX/"bin/helloworld"
- assert_raise RuntimeError do
+ assert_raise Keg::ConflictError do
shutup { @keg.link }
end
end