summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_method.rb2
-rw-r--r--test/ruby/test_settracefunc.rb6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb
index e0267d777..8ab9a4a96 100644
--- a/test/ruby/test_method.rb
+++ b/test/ruby/test_method.rb
@@ -70,7 +70,7 @@ class TestMethod < Test::Unit::TestCase
def test_body
o = Object.new
def o.foo; end
- assert_nothing_raised { VM::InstructionSequence.disasm(o.method(:foo)) }
+ assert_nothing_raised { RubyVM::InstructionSequence.disasm(o.method(:foo)) }
end
def test_new
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb
index 1f260e003..7ef7d3b80 100644
--- a/test/ruby/test_settracefunc.rb
+++ b/test/ruby/test_settracefunc.rb
@@ -2,15 +2,15 @@ require 'test/unit'
class TestSetTraceFunc < Test::Unit::TestCase
def setup
- @original_compile_option = VM::InstructionSequence.compile_option
- VM::InstructionSequence.compile_option = {
+ @original_compile_option = RubyVM::InstructionSequence.compile_option
+ RubyVM::InstructionSequence.compile_option = {
:trace_instruction => true,
:specialized_instruction => false
}
end
def teardown
- VM::InstructionSequence.compile_option = @original_compile_option
+ RubyVM::InstructionSequence.compile_option = @original_compile_option
end
def test_c_call