Sha256: aa6198863aed27217d15a28ee61c4af41c8881c151418b1b29ae10e2d2725ebd
Contents?: true
Size: 659 Bytes
Versions: 1
Compression:
Stored size: 659 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/demodulize.rb # # Extracted Wed Aug 23 18:22:52 EDT 2006 # Unit Tools Reap Test Extractor # 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.7.30 | test/lib/facets/core/string/test_demodulize.rb |