aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_patching.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-12 17:58:12 -0500
committerJack Nagel2014-06-12 17:58:12 -0500
commitfd5aaee7e91858e3460f99106a9bb0773668c9c1 (patch)
tree49c9a842fc28b056f709ca98607ed0dd17dd5b27 /Library/Homebrew/test/test_patching.rb
parentfc9ca49df7c3d1c63445d42fc9aa70a297373d29 (diff)
downloadhomebrew-fd5aaee7e91858e3460f99106a9bb0773668c9c1.tar.bz2
Remove an extra slash in file:// URLs in tests
Diffstat (limited to 'Library/Homebrew/test/test_patching.rb')
-rw-r--r--Library/Homebrew/test/test_patching.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_patching.rb b/Library/Homebrew/test/test_patching.rb
index 381b7ce4f..a6dd746ee 100644
--- a/Library/Homebrew/test/test_patching.rb
+++ b/Library/Homebrew/test/test_patching.rb
@@ -3,12 +3,12 @@ require 'formula'
require 'testball'
class PatchingTests < Test::Unit::TestCase
- PATCH_URL_A = "file:///#{TEST_DIRECTORY}/patches/noop-a.diff"
- PATCH_URL_B = "file:///#{TEST_DIRECTORY}/patches/noop-b.diff"
+ PATCH_URL_A = "file://#{TEST_DIRECTORY}/patches/noop-a.diff"
+ PATCH_URL_B = "file://#{TEST_DIRECTORY}/patches/noop-b.diff"
def formula(&block)
super do
- url "file:///#{TEST_DIRECTORY}/tarballs/testball-0.1.tbz"
+ url "file://#{TEST_DIRECTORY}/tarballs/testball-0.1.tbz"
sha1 "482e737739d946b7c8cbaf127d9ee9c148b999f5"
class_eval(&block)
end