Sha256: 9763711edfdc430bec8160706ae11038046023c1a10bac0b4abf2ebdd8abfbfa
Contents?: true
Size: 831 Bytes
Versions: 12
Compression:
Stored size: 831 Bytes
Contents
#!/usr/bin/env ruby require 'test/unit' require 'trace' require_relative 'fn_helper' class TestStep < Test::Unit::TestCase include FnTestHelper include Trace def test_step_through_leave # See that we can step with parameter which is the same as 'step 1' cmds = ['step', 'step', 'step', 'step', 'step', 'step', 'continue'] d = strarray_setup(cmds) d.core.step_events = TEST_STEP_EVENT_MASK d.start ########### t1 ############### x = 'class Foo def bar 3 end end' eval(x) f = Foo.new # f.bar ############################## d.stop out = ["-- x = 'class Foo", ".. eval(x)", ".. eval(x)", ":: eval(x)", "-- eval(x)"] # compare_output(out, d, cmds) assert true end end
Version data entries
12 entries across 12 versions & 1 rubygems