Skip to content

Commit dda5105

Browse files
committed
Remove duplicated test
1 parent c1e9e03 commit dda5105

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

test/test_rdoc_text.rb

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -227,30 +227,6 @@ def test_strip_stars_encoding
227227
assert_equal Encoding::CP852, text.encoding
228228
end
229229

230-
def test_strip_hashes_encoding
231-
232-
text = <<-TEXT
233-
##
234-
# we don't worry too much.
235-
#
236-
# The comments associated with
237-
TEXT
238-
239-
text.force_encoding Encoding::CP852
240-
241-
expected = <<-EXPECTED
242-
243-
we don't worry too much.
244-
245-
The comments associated with
246-
EXPECTED
247-
248-
stripped = strip_hashes text
249-
250-
assert_equal expected, stripped
251-
assert_equal Encoding::CP852, stripped.encoding
252-
end
253-
254230
def test_to_html_apostrophe
255231
assert_equal '‘a', to_html("'a")
256232
assert_equal 'a’', to_html("a'")

0 commit comments

Comments
 (0)