Revert "Fix spacing"

This reverts commit 26eb27f79f.
This commit is contained in:
Mike Angell
2019-09-20 02:42:21 +10:00
parent 26eb27f79f
commit 00c8ca559a
78 changed files with 500 additions and 508 deletions
+5 -5
View File
@@ -72,8 +72,8 @@ class StrainerUnitTest < Minitest::Test
end
def test_strainer_uses_a_class_cache_to_avoid_method_cache_invalidation
a = Module.new
b = Module.new
a = Module.new
b = Module.new
strainer = Strainer.create(nil, [a, b])
assert_kind_of Strainer, strainer
assert_kind_of a, strainer
@@ -82,8 +82,8 @@ class StrainerUnitTest < Minitest::Test
end
def test_add_filter_when_wrong_filter_class
c = Context.new
s = c.strainer
c = Context.new
s = c.strainer
wrong_filter = ->(v) { v.reverse }
assert_raises ArgumentError do
@@ -150,7 +150,7 @@ class StrainerUnitTest < Minitest::Test
end
def test_add_filter_does_not_include_already_included_module
mod = Module.new do
mod = Module.new do
class << self
attr_accessor :include_count
def included(_mod)