Sha256: 64582433188ae5aec484c0cb9b6754c284a33bd7280c7d5d9aabbbe7a0503b96
Contents?: true
Size: 726 Bytes
Versions: 1
Compression:
Stored size: 726 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/basename.rb # # Extracted Wed Aug 23 18:22:53 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/string/basename.rb' require 'test/unit' class TCString < Test::Unit::TestCase def test_001 assert_equal( "Unit", "Test::Unit".basename ) end def test_002 a = "Down::Bottom" assert_raises( ArgumentError ) { a.basename(1) } end def test_003 a = "Down::Bottom" assert_equal( "Bottom", a.basename ) end def test_004 b = "Further::Down::Bottom" assert_equal( "Bottom", b.basename ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.7.30 | test/lib/facets/core/string/test_basename.rb |