# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/pathize.rb # # Extracted Tue Apr 18 08:56:38 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/string/pathize.rb' require 'test/unit' class TCString < Test::Unit::TestCase def test_pathize assert_equal( 'my_module/my_class', 'MyModule::MyClass'.pathize ) assert_equal( 'u_r_i', 'URI'.pathize ) assert_equal( '/my_class', '::MyClass'.pathize ) assert_equal( '/my_module/my_class/', '/my_module/my_class/'.pathize ) end end