Project

General

Profile

Actions

Bug #2647

closed

Lack of testing for String#split

Added by hgs (Hugh Sasse) almost 15 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin]
[ruby-core:27794]

Description

=begin
Having raised the issue of docs for String#split, I see there seem to be no tests. The attached patch seems to fix this [i.e is tested against the cygwin build] and is based on the documentation (as amended by my recent suggestion). Hope this is OK. It is a patch against the svn ruby_1_8.

This isn't exactly a feature for Ruby, it's not drawn from Ruby Spec, and it isn't a backport, so that only leaves "bug". I'm not sure it's that, it's more an "enhancement". Unless lack of test coverage is a bug.
=end


Files

test_string_patch (2.74 KB) test_string_patch Patch to add tests for String#split hgs (Hugh Sasse), 01/25/2010 09:09 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0