summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_text.rb
diff options
context:
space:
mode:
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
-