summaryrefslogtreecommitdiff
path: root/subversion/bindings/swig/ruby/test/my-assertions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/bindings/swig/ruby/test/my-assertions.rb')
-rw-r--r--subversion/bindings/swig/ruby/test/my-assertions.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/subversion/bindings/swig/ruby/test/my-assertions.rb b/subversion/bindings/swig/ruby/test/my-assertions.rb
index 77c42e7..0aa3d94 100644
--- a/subversion/bindings/swig/ruby/test/my-assertions.rb
+++ b/subversion/bindings/swig/ruby/test/my-assertions.rb
@@ -27,9 +27,7 @@ module Test
# make an intermediary assertion block handler
def _my_assert_block(&block)
if RUBY_VERSION > '1.9'
- assert_block do
- yield
- end
+ yield
else
_wrap_assertion do
yield