Skip to content
Permalink
Browse files

We can run some more specs!

  • Loading branch information
alex committed Jun 30, 2013
1 parent 157f174 commit 778bf339a6fc0eea5882ca63c5a9385ac5cf0fcc
Showing with 21 additions and 1 deletion.
  1. +21 −0 spec/tags/core/string/split_tags.txt
  2. +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
@@ -7,7 +7,6 @@ class MSpecScript
"^#{Rubyspec}/core/struct",
"^#{Rubyspec}/core/string/unpack/",
"^#{Rubyspec}/core/string/chomp_spec.rb",
"^#{Rubyspec}/core/string/split_spec.rb",
"^#{Rubyspec}/core/signal/list_spec.rb",
"^#{Rubyspec}/core/process/detach_spec.rb",
"^#{Rubyspec}/core/gc/profiler/",

0 comments on commit 778bf33

Please sign in to comment.
You can’t perform that action at this time.