test/helper.rb in fluentd-0.10.33 vs test/helper.rb in fluentd-0.10.34
- old
+ new
@@ -1,9 +1,14 @@
require 'test/unit'
require 'fileutils'
require 'fluent/log'
require 'rr'
+unless defined?(Test::Unit::AssertionFailedError)
+ class Test::Unit::AssertionFailedError < StandardError
+ end
+end
+
class Test::Unit::TestCase
include RR::Adapters::TestUnit
end
def ipv6_enabled?