test/unit/test-app-brkptmgr.rb in trepanning-0.0.9 vs test/unit/test-app-brkptmgr.rb in trepanning-0.1.0

- old
+ new

@@ -5,11 +5,11 @@ require 'thread_frame' class TestLibAppBrkptMgr < Test::Unit::TestCase def setup - @brkpts = BreakpointMgr.new + @brkpts = Trepan::BreakpointMgr.new end def test_basic tf = RubyVM::ThreadFrame.current iseq = tf.iseq @@ -22,10 +22,10 @@ assert_equal(b1, @brkpts.find(iseq, offset, tf.binding)) assert_equal(b1, @brkpts.delete(b1.id)) assert_equal(0, @brkpts.size) # Try adding via << rather than .add - b2 = @brkpts << Trepanning::Breakpoint.new(iseq, offsets[1], :temp => true) + b2 = @brkpts << Trepan::Breakpoint.new(iseq, offsets[1], :temp => true) assert_equal(nil, @brkpts.find(iseq, offset, tf.binding)) @brkpts.reset assert_equal(0, @brkpts.size) end