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