summaryrefslogtreecommitdiff
path: root/test/fiddle/test_cparser.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-30 07:17:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-30 07:17:08 +0000
commit0445b5f6c69e92497e8bab12474699ef545434f1 (patch)
treeac6872d598a2ab9146bee7fa5d3afad5f470c52f /test/fiddle/test_cparser.rb
parentb3602a5453388648677dfba4fdc9bf2ed5050ab1 (diff)
test/fiddle: revert r52384 partially
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fiddle/test_cparser.rb')
-rw-r--r--test/fiddle/test_cparser.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fiddle/test_cparser.rb b/test/fiddle/test_cparser.rb
index 2810e393b2d..4d4799d8d64 100644
--- a/test/fiddle/test_cparser.rb
+++ b/test/fiddle/test_cparser.rb
@@ -60,7 +60,7 @@ module Fiddle
end
def test_undefined_ctype
- assert_raise(DLError) { parse_ctype('DWORD') }
+ assert_raises(DLError) { parse_ctype('DWORD') }
end
def test_undefined_ctype_with_type_alias
@@ -92,7 +92,7 @@ module Fiddle
end
def test_struct_undefined
- assert_raise(DLError) { parse_struct_signature(['int i', 'DWORD cb']) }
+ assert_raises(DLError) { parse_struct_signature(['int i', 'DWORD cb']) }
end
def test_struct_undefined_with_type_alias