Skip test that depends on RubyVM when it is not available (JRuby).
This commit is contained in:
parent
e16a5fb508
commit
9531e69f99
@ -192,6 +192,8 @@ def test_hook_insertion_order
|
||||
end
|
||||
|
||||
def test_class_serial_is_unaffected
|
||||
skip if !defined?(RubyVM)
|
||||
|
||||
hook = Class.new do
|
||||
define_method(:run) do
|
||||
nil
|
||||
|
Loading…
Reference in New Issue
Block a user