From 24873d1a0520ceef39c1c492c6b02dbbc186d8ff Mon Sep 17 00:00:00 2001 From: hsbt Date: Thu, 13 Jul 2017 09:46:16 +0000 Subject: Use Test::Unit::TestCase instead of MiniTest::Unit::TestCase. Because tests of fiddle already used customized assertions of ruby core. * test/fiddle/helper.rb: Use Test::Unit::TestCase for base class of testcase. * test/fiddle/test_*.rb: Use assert_raise instead of assert_raises. Remove needless includes for Test::Unit::Assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/fiddle/test_function.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/fiddle/test_function.rb') diff --git a/test/fiddle/test_function.rb b/test/fiddle/test_function.rb index 06d0eb2b50..3cce95a540 100644 --- a/test/fiddle/test_function.rb +++ b/test/fiddle/test_function.rb @@ -6,8 +6,6 @@ end module Fiddle class TestFunction < Fiddle::TestCase - include Test::Unit::Assertions - def setup super Fiddle.last_error = nil -- cgit v1.2.3