diff options
| author | Jack Nagel | 2014-06-12 17:58:12 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-12 17:58:12 -0500 |
| commit | a50f09c343a7008d14ec8c3f538e8a1253a676d5 (patch) | |
| tree | 899be536b3ba084bd8493d10b71ebf25ca37d80f /Library/Homebrew/test/test_patching.rb | |
| parent | 9a554f5f4b41d49ce0dd7e9f8c09ee519c1cb2e2 (diff) | |
| download | brew-a50f09c343a7008d14ec8c3f538e8a1253a676d5.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.rb | 6 |
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 |
