Sha256: 448fa2125a858ac9b470ee62731d14e094e267c5a8f6de7564ac5d756a23e45e
Contents?: true
Size: 736 Bytes
Versions: 1
Compression:
Stored size: 736 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/kernel/constant.rb # # Extracted Fri Feb 16 02:00:36 EST 2007 # Project.rb Test Extraction # 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.8.49 | test/lib/facets/core/kernel/test_constant.rb |