summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_text.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-07 22:23:38 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-07 22:23:38 +0000
commitba6ae341bab83dfc7a624c5bf20d8d162dacaff9 (patch)
tree540581a54cefcdc817577f646f09372f7e9936d1 /test/rdoc/test_rdoc_text.rb
parentbf51c067b92361007a57909c539591d3d00cdbd8 (diff)
* 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
Diffstat (limited to 'test/rdoc/test_rdoc_text.rb')
-rw-r--r--test/rdoc/test_rdoc_text.rb17
1 files changed, 0 insertions, 17 deletions
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
-