Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
21 additions
and 1 deletion.
- +21 −0 spec/tags/core/string/split_tags.txt
- +0 −1 topaz.mspec
@@ -1 +1,22 @@ | ||
fails:String#split with String suppresses trailing empty fields when limit isn't given or 0 | ||
fails:returns an array with one entry if limit is 1: the original string | ||
fails:String#split with String defaults to $; when string isn't given or nil | ||
fails:String#split with String ignores leading and continuous whitespace when string is a single space | ||
fails:splits between characters when its argument is an empty string | ||
fails:String#split with String tries converting its pattern argument to a string via to_str | ||
fails:returns subclass instances based on self | ||
fails:taints the resulting strings if self is tainted | ||
fails:String#split with Regexp treats negative limits as no limit | ||
fails:String#split with Regexp suppresses trailing empty fields when limit isn't given or 0 | ||
fails:String#split with Regexp doesn't suppress or limit fields when limit is negative | ||
fails:String#split with Regexp defaults to $; when regexp isn't given or nil | ||
fails:String#split with Regexp splits between characters when regexp matches a zero-length string | ||
fails:String#split with Regexp respects $KCODE when splitting between characters | ||
fails:String#split with Regexp respects the encoding of the regexp when splitting between characters | ||
fails:String#split with Regexp includes all captures in the result array | ||
fails:does not include non-matching captures in the result array | ||
fails:String#split with Regexp doesn't set $~ | ||
fails:String#split with Regexp taints an empty string if self is tainted | ||
fails:doesn't taints the resulting strings if the Regexp is tainted | ||
fails:String#split with Regexp retains the encoding of the source string | ||
fails:String#split with Regexp returns an ArgumentError if an invalid UTF-8 string is supplied |