summaryrefslogtreecommitdiff
path: root/test/fiddle/test_import.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-30 04:37:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-30 04:37:13 +0000
commit068f312a7c642a1b6c358c17ef83421756568545 (patch)
tree11ce5c67053f28051a34523281a8ad2f5b670d6e /test/fiddle/test_import.rb
parenta2845a44ffd3c9ddef704dac1ba1fa2766a64555 (diff)
use assert_raise
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52384 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 c83f50fe44..f94d67b459 100644
--- a/test/fiddle/test_import.rb
+++ b/test/fiddle/test_import.rb
@@ -44,7 +44,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*)"