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
commit93f8c71e2132771363701c9f3c566599ac78a084 (patch)
tree6cdaaccaada2150f6e956ba67c9bad426e21889b /Library/Homebrew/test/test_patching.rb
parent40b531deb10f5c477a85dbf5bbe8f07c164741cb (diff)
downloadbrew-93f8c71e2132771363701c9f3c566599ac78a084.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