Sha256: 0b249bdc821965e8c5f6daafd673ae5f9d5255f3146dda5b5851932af31ad555
Contents?: true
Size: 618 Bytes
Versions: 2
Compression:
Stored size: 618 Bytes
Contents
# Test for facets/dir/traverse. require 'facets/dir/traverse' require 'test/unit' # TODO Need to mockup dir for remarked out tests. #class TC_Dir < Test::Unit::TestCase # # def test_ascend_01 # c = [] # Dir.ascend( "this/path/up" ) do |path| # c << path # end # assert_equal( 'this/path/up', c[0] ) # assert_equal( 'this/path', c[1] ) # assert_equal( 'this', c[2] ) # end # # def test_ascend_02 # c = [] # Dir.ascend( "this/path/up", false ) do |path| # c << path # end # assert_equal( 'this/path', c[0] ) # assert_equal( 'this', c[1] ) # end # #end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.3.0 | test/core/dir/test_traverse.rb |
facets-2.2.1 | test/unit/dir/test_traverse.rb |