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

test/fiddle: revert r52384 partially

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-10-30 07:17:08 +00:00
parent b3602a5453
commit 0445b5f6c6
4 changed files with 7 additions and 7 deletions

View file

@ -6,15 +6,15 @@ end
module Fiddle
class TestClosure < Fiddle::TestCase
def test_argument_errors
assert_raise(TypeError) do
assert_raises(TypeError) do
Closure.new(TYPE_INT, TYPE_INT)
end
assert_raise(TypeError) do
assert_raises(TypeError) do
Closure.new('foo', [TYPE_INT])
end
assert_raise(TypeError) do
assert_raises(TypeError) do
Closure.new(TYPE_INT, ['meow!'])
end
end