mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/fiddle/test_handle.rb (Fiddle::TestHandle#test_static_sym): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1dafd4ebf1
commit
9421b18662
1 changed files with 4 additions and 4 deletions
|
@ -30,13 +30,13 @@ module Fiddle
|
|||
skip "Fiddle::Handle.sym is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM
|
||||
begin
|
||||
# Linux / Darwin / FreeBSD
|
||||
refute_nil Fiddle::Handle.sym('dlopen')
|
||||
assert_equal Fiddle::Handle.sym('dlopen'), Fiddle::Handle['dlopen']
|
||||
refute_nil Fiddle::Handle.sym('dlopen')
|
||||
assert_equal Fiddle::Handle.sym('dlopen'), Fiddle::Handle['dlopen']
|
||||
rescue
|
||||
# NetBSD
|
||||
require 'objspace'
|
||||
refute_nil Fiddle::Handle.sym('Init_objspace')
|
||||
assert_equal Fiddle::Handle.sym('Init_objspace'), Fiddle::Handle['Init_objspace']
|
||||
refute_nil Fiddle::Handle.sym('Init_objspace')
|
||||
assert_equal Fiddle::Handle.sym('Init_objspace'), Fiddle::Handle['Init_objspace']
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue