Sha256: b3cd77d92893defd924d4e559dc07c161ae682e823dbfbe0d78b4f6bb573ec31

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

#!/usr/bin/env ruby
require 'test/unit'
require 'rubygems'; require 'require_relative'
require_relative '../../app/run'

class TestAppRun < Test::Unit::TestCase
  include Trepan
  def test_basic
    assert_equal(true, File.executable?(whence_file('irb')))
    ng = whence_file('probably-does-not-exist')
    assert_equal(true, File.executable?(ng) || ng == 'probably-does-not-exist')
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rb8-trepanning-0.1.3 test/unit/test-app-run.rb
rb8-trepanning-0.1.3-universal-ruby-1.9.2 test/unit/test-app-run.rb
rb8-trepanning-0.1.3-universal-ruby-1.8.7 test/unit/test-app-run.rb