Sha256: 567ae22a8b99a04f75957171ffd107d04fc696fae4e4b011d88c12f5cfca2d21
Contents?: true
Size: 655 Bytes
Versions: 1
Compression:
Stored size: 655 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/demodulize.rb # # Extracted Fri Feb 16 02:00:37 EST 2007 # Project.rb Test Extraction # require 'facets/core/string/demodulize.rb' require 'test/unit' class TCString < Test::Unit::TestCase def setup @a = "Down::Bottom" @b = "Further::Down::Bottom" end def test_001 assert_raises( ArgumentError ) { @a.demodulize(1) } end def test_002 assert_equal( "Bottom", @a.demodulize ) end def test_003 assert_equal( "Bottom", @b.demodulize ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.8.49 | test/lib/facets/core/string/test_demodulize.rb |