Skip test that depends on RubyVM when it is not available (JRuby).

This commit is contained in:
Charles Oliver Nutter 2016-10-21 14:36:51 -05:00
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