Sha256: bda10216d17b970eab28ae7b53c04b88e09b03a520c03a07304375cbf0f6504e
Contents?: true
Size: 740 Bytes
Versions: 1
Compression:
Stored size: 740 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/kernel/constant.rb # # Extracted Tue Jun 20 15:12:26 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/kernel/constant.rb' require 'test/unit' class TCKernel < Test::Unit::TestCase def test_constant c = ::Test::Unit::TestCase.name assert_equal( ::Test::Unit::TestCase, constant(c) ) c = "Test::Unit::TestCase" assert_equal( ::Test::Unit::TestCase, constant(c) ) c = "Unit::TestCase" assert_equal( ::Test::Unit::TestCase, Test.constant(c) ) c = "TestCase" assert_equal( ::Test::Unit::TestCase, Test::Unit.constant(c) ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.2 | test/lib/facets/core/kernel/test_constant.rb |