Sha256: b99e00455a3e53c32ea919bb583dda956c9682b24deec764470c0c2da3d9e802
Contents?: true
Size: 595 Bytes
Versions: 2
Compression:
Stored size: 595 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/class/remove_descendents.rb # # Extracted Mon Mar 13 13:24:07 UTC 2006 # Unit Tools Reap Test Extractor # require 'facet/class/remove_descendents.rb' require 'test/unit' class TCClass < Test::Unit::TestCase class A ; end class B < A ; end class C < B ; end def test_remove_descendents assert_nothing_raised { B.remove_descendents } # doesn't work despite above; not sure why #assert_equal( [B], A.descendents ) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-1.1.0 | test/lib/facet/class/test_remove_descendents.rb |
facets-1.2.0 | test/lib/facet/class/test_remove_descendents.rb |