We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1e9e03 commit dda5105Copy full SHA for dda5105
test/test_rdoc_text.rb
@@ -227,30 +227,6 @@ def test_strip_stars_encoding
227
assert_equal Encoding::CP852, text.encoding
228
end
229
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
254
def test_to_html_apostrophe
255
assert_equal '‘a', to_html("'a")
256
assert_equal 'a’', to_html("a'")
0 commit comments