summaryrefslogtreecommitdiff
path: root/test/rdoc
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-26 05:32:50 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-26 05:32:50 +0000
commit03cde6c805bea904111311de87a1714aa902c5d3 (patch)
treeb0f95448d955d5edf5e3428d371b906f93f1bffa /test/rdoc
parent7a635a7d12fc127da76bc4eca78414602db6350c (diff)
lib/rdoc/markup/: Remove wrong call to `=~` against Array
`@res` is an Array, so `@res =~ /\n\z/` calls `Object#=~` which always returns nil. I guess it should be `@res.last =~ /\n\z/`, but the change causes test failures. This bug was found during work for removal of `Object#=~`. [Feature #15231] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc')
0 files changed, 0 insertions, 0 deletions