From ba6ae341bab83dfc7a624c5bf20d8d162dacaff9 Mon Sep 17 00:00:00 2001 From: hsbt Date: Wed, 7 Sep 2016 22:23:38 +0000 Subject: * lib/rdoc/*, test/rdoc/*: Update rdoc-5.0.0.beta2 Fixed ri parse defect with left-hand matched classes. https://github.com/rdoc/rdoc/pull/420 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rdoc/test_rdoc_text.rb | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'test/rdoc/test_rdoc_text.rb') diff --git a/test/rdoc/test_rdoc_text.rb b/test/rdoc/test_rdoc_text.rb index 3945b6e718..2eb5ad69c7 100644 --- a/test/rdoc/test_rdoc_text.rb +++ b/test/rdoc/test_rdoc_text.rb @@ -16,8 +16,6 @@ class TestRDocText < RDoc::TestCase end def test_self_encode_fallback - skip "Encoding not implemented" unless Object.const_defined? :Encoding - assert_equal '…', RDoc::Text::encode_fallback('…', Encoding::UTF_8, '...') assert_equal '...', @@ -63,8 +61,6 @@ class TestRDocText < RDoc::TestCase end def test_expand_tabs_encoding - skip "Encoding not implemented" unless Object.const_defined? :Encoding - inn = "hello\ns\tdave" inn.force_encoding Encoding::BINARY @@ -93,8 +89,6 @@ The comments associated with end def test_flush_left_encoding - skip "Encoding not implemented" unless Object.const_defined? :Encoding - text = <<-TEXT we don't worry too much. @@ -303,8 +297,6 @@ paragraph will be cut off … end def test_strip_hashes_encoding - skip "Encoding not implemented" unless Object.const_defined? :Encoding - text = <<-TEXT ## # we don't worry too much. @@ -338,8 +330,6 @@ paragraph will be cut off … end def test_strip_newlines_encoding - skip "Encoding not implemented" unless Object.const_defined? :Encoding - assert_equal Encoding::UTF_8, ''.encoding, 'Encoding sanity check' text = " \n" @@ -389,8 +379,6 @@ paragraph will be cut off … end def test_strip_stars_encoding - skip "Encoding not implemented" unless Object.const_defined? :Encoding - text = <<-TEXT /* * * we don't worry too much. @@ -415,8 +403,6 @@ paragraph will be cut off … end def test_strip_stars_encoding2 - skip "Encoding not implemented" unless Object.const_defined? :Encoding - text = <<-TEXT /* * * we don't worry too much. @@ -511,8 +497,6 @@ The comments associated with end def test_to_html_encoding - skip "Encoding not implemented" unless Object.const_defined? :Encoding - s = '...(c)'.encode Encoding::Shift_JIS html = to_html s @@ -555,4 +539,3 @@ The comments associated with end end - -- cgit v1.2.3