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

* test/fiddle/test_fiddle.rb: Don't run test if the system don't support

fiddle.

	* test/fiddle/test_function.rb: ditto.
	* test/fiddle/test_closure.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2011-01-23 13:20:58 +00:00
parent 35dbe5056d
commit 99ef86707c
4 changed files with 23 additions and 6 deletions

View file

@ -1,4 +1,7 @@
require_relative 'helper'
begin
require_relative 'helper'
rescue LoadError
end
module Fiddle
class TestFunction < Fiddle::TestCase
@ -63,4 +66,4 @@ module Fiddle
assert_equal("123", str.to_s)
end
end
end
end if defined?(Fiddle)