summaryrefslogtreecommitdiff
path: root/test/fiddle/test_import.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-13 09:46:16 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-13 09:46:16 +0000
commit24873d1a0520ceef39c1c492c6b02dbbc186d8ff (patch)
treeb9932565137a7c95ed43e28ef43154e92c962eb3 /test/fiddle/test_import.rb
parent52e8254b548a06c67fc1c130040925d169b8d2b0 (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_import.rb')
-rw-r--r--test/fiddle/test_import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fiddle/test_import.rb b/test/fiddle/test_import.rb
index 25819fbc46..b637e4fadd 100644
--- a/test/fiddle/test_import.rb
+++ b/test/fiddle/test_import.rb
@@ -45,7 +45,7 @@ module Fiddle
class TestImport < TestCase
def test_ensure_call_dlload
- err = assert_raises(RuntimeError) do
+ err = assert_raise(RuntimeError) do
Class.new do
extend Importer
extern "void *strcpy(char*, char*)"