Sha256: 55b51b16c1607bdc1090229c4db18616a74eaf853750b097ca8bb59da8a7723d
Contents?: true
Size: 477 Bytes
Versions: 3
Compression:
Stored size: 477 Bytes
Contents
#!/usr/bin/env ruby require File.expand_path("../../helper", __FILE__) # Test binding_n command class TestBinding < Test::Unit::TestCase def test_basic def inside_fn s = 'some other string' b2 = Kernel::binding_n(1) y2 = eval('s', b2) assert_equal('this is a test', y2) end s = 'this is a test' Debugger.start b = Kernel::binding_n(0) y = eval('s', b) assert_equal(s, y) inside_fn ensure Debugger.stop end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
ruby-debug-0.10.5.rc1 | test/base/binding.rb |
ruby-debug-base-0.10.5.rc1-java | test/base/binding.rb |
ruby-debug-base-0.10.5.rc1 | test/base/binding.rb |