aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_patching.rb
diff options
context:
space:
mode:
authorJack Nagel2012-06-20 00:51:01 -0500
committerJack Nagel2012-07-04 22:47:34 -0500
commit8ed666ae7d0e272a9415b94d397aa0574965f9ef (patch)
tree4fc201c963df6bda8f75b512a447eca1720aed88 /Library/Homebrew/test/test_patching.rb
parent3e2c41c7d970bfd33a9920b5c78e2eaf773c1072 (diff)
downloadhomebrew-8ed666ae7d0e272a9415b94d397aa0574965f9ef.tar.bz2
tests: clean up whitespace
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/test/test_patching.rb')
-rw-r--r--Library/Homebrew/test/test_patching.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/test/test_patching.rb b/Library/Homebrew/test/test_patching.rb
index 248530a49..e0064864e 100644
--- a/Library/Homebrew/test/test_patching.rb
+++ b/Library/Homebrew/test/test_patching.rb
@@ -2,26 +2,26 @@ require 'testing_env'
require 'test/testball'
-class DefaultPatchBall <TestBall
+class DefaultPatchBall < TestBall
def patches
# Default is p1
"file:///#{TEST_FOLDER}/patches/noop-a.diff"
end
end
-class ListPatchBall <TestBall
+class ListPatchBall < TestBall
def patches
["file:///#{TEST_FOLDER}/patches/noop-a.diff"]
end
end
-class P0PatchBall <TestBall
+class P0PatchBall < TestBall
def patches
{ :p0 => ["file:///#{TEST_FOLDER}/patches/noop-b.diff"] }
end
end
-class P1PatchBall <TestBall
+class P1PatchBall < TestBall
def patches
{ :p1 => ["file:///#{TEST_FOLDER}/patches/noop-a.diff"] }
end
@@ -32,7 +32,7 @@ class PatchingTests < Test::Unit::TestCase
def read_file path
File.open(path, 'r') { |f| f.read }
end
-
+
def test_single_patch
shutup do
DefaultPatchBall.new('test_patch').brew do