1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
hsbt 2017-07-13 09:46:16 +00:00
parent 52e8254b54
commit 24873d1a05
8 changed files with 9 additions and 15 deletions

View file

@ -6,8 +6,6 @@ end
module Fiddle
class TestFunction < Fiddle::TestCase
include Test::Unit::Assertions
def setup
super
Fiddle.last_error = nil