Sha256: 3dfd75af3ea5398f997e782b1a5bd73feea901e6dd9da6455940b5cd58af71f6

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

#!/usr/bin/env ruby
require File.expand_path("../helper", __FILE__)

# Test 'edit' command handling.
class TestEdit < Test::Unit::TestCase
  include TestHelper

  def test_basic
    testname='edit'
    script = File.join('data', testname + '.cmd')
    ENV['EDITOR']='echo FAKE-EDITOR '
    assert(run_debugger(testname, "--script #{script} -- ./example/gcd.rb 3 5"))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-debug-0.10.5.rc1 test/test-edit.rb