Sha256: e2b622ed360e0052d8e7ef64fae06929cc81cfee7c8c5229f73300cc40247dce

Contents?: true

Size: 521 Bytes

Versions: 135

Compression:

Stored size: 521 Bytes

Contents

require File.expand_path('../helper', __FILE__)
begin
  old_verbose = $VERBOSE
  $VERBOSE = nil
  require 'rake/contrib/sys'
ensure
  $VERBOSE = old_verbose
end

class TestSys < Rake::TestCase

  def test_split_all
    assert_equal ['a'], Sys.split_all('a')
    assert_equal ['..'], Sys.split_all('..')
    assert_equal ['/'], Sys.split_all('/')
    assert_equal ['a', 'b'], Sys.split_all('a/b')
    assert_equal ['/', 'a', 'b'], Sys.split_all('/a/b')
    assert_equal ['..', 'a', 'b'], Sys.split_all('../a/b')
  end
end

Version data entries

135 entries across 108 versions & 25 rubygems

Version Path
chida_fib-0.1.0 shoulda/ruby/1.8/gems/rake-0.9.2.2/test/test_sys.rb
domo-0.0.5 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb
horseman-0.0.4 vendor/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb
horseman-0.0.3 vendor/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb
horseman-0.0.2 vendor/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb
dirty_history-0.4.10 dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.10 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.9 dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.9 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
nutshell-crm-0.0.6.alpha vendor/bundle/gems/rake-0.9.2.2/test/test_sys.rb
dirty_history-0.4.8 dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.8 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.7 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.7 dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.6 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.6 dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.5 dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.5 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.4 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb
dirty_history-0.4.4 dirty_history/ruby/1.9.1/gems/rake-0.9.2/test/test_sys.rb