From a50f09c343a7008d14ec8c3f538e8a1253a676d5 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 12 Jun 2014 17:58:12 -0500 Subject: Remove an extra slash in file:// URLs in tests --- Library/Homebrew/test/test_patching.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library/Homebrew/test/test_patching.rb') 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 -- cgit v1.2.3