Sha256: 63fde8ab63585fc4eb28a4297fa69a9f2509ef760870a8df89656dbf7de29f66
Contents?: true
Size: 557 Bytes
Versions: 3
Compression:
Stored size: 557 Bytes
Contents
#!/usr/bin/env ruby require File.expand_path("helper", File.dirname(__FILE__)) # Some tests of Debugger module in C extension ruby_debug class TestBreakpoints < Test::Unit::TestCase def test_find Debugger.start Debugger.add_breakpoint("foo.rb", 11, nil) assert_not_nil(Debugger::Breakpoint.find(Debugger.breakpoints, "foo.rb", 11, binding)) assert_nil(Debugger::Breakpoint.find(Debugger.breakpoints, "bar.rb", 11, binding)) assert_nil(Debugger::Breakpoint.find(Debugger.breakpoints, "foo.rb", 10, binding)) Debugger.stop end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
debase-0.0.4 | test/test_breakpoints.rb |
debase-0.0.3 | test/test_breakpoints.rb |
debase-0.0.2 | test/test_breakpoints.rb |