Sha256: a29d86e6c62fb250fb3c555e77e166ea05e434a15b6be899fbf3c4c1e5b140bd

Contents?: true

Size: 567 Bytes

Versions: 1

Compression:

Stored size: 567 Bytes

Contents

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

# Test Running a program wiht an embedded space
class TestFileWithSpace < Test::Unit::TestCase
  include TestHelper

  def test_basic
    testname='file-with-space'
    script = File.join('data', testname + '.cmd')
#       filter = Proc.new{|got_lines, correct_lines|
#         [got_lines[0], correct_lines[0]].each do |s|
#           s.sub!(/tdebug.rb:\d+/, 'rdebug:999')
#         end
#       }
    assert(run_debugger(testname, "--script #{script} -- './example/file with space.rb'"))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-debug-0.10.5.rc1 test/test-file-with-space.rb