module TestXml::Assertions
Private Instance Methods
correct_assert(boolean, message)
click to toggle source
# File lib/test_xml/assertions.rb, line 69 def correct_assert(boolean, message) if RUBY_VERSION =~ /1.9.2/ or defined?(MiniTest) assert(boolean, message) else assert_block(message) do boolean end end end