diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-07-13 09:46:16 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-07-13 09:46:16 +0000 |
commit | 24873d1a0520ceef39c1c492c6b02dbbc186d8ff (patch) | |
tree | b9932565137a7c95ed43e28ef43154e92c962eb3 /test/fiddle/test_pointer.rb | |
parent | 52e8254b548a06c67fc1c130040925d169b8d2b0 (diff) |
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
Diffstat (limited to 'test/fiddle/test_pointer.rb')
-rw-r--r-- | test/fiddle/test_pointer.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/fiddle/test_pointer.rb b/test/fiddle/test_pointer.rb index aa77c619ef..80b64b04db 100644 --- a/test/fiddle/test_pointer.rb +++ b/test/fiddle/test_pointer.rb @@ -10,8 +10,6 @@ module Fiddle Fiddle.dlwrap arg end - include Test::Unit::Assertions - def test_cptr_to_int null = Fiddle::NULL assert_equal(null.to_i, null.to_int) |