Skip to content

Commit

Permalink
[Truffle] Updated String#{gsub, gsub!} tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Apr 6, 2015
1 parent 0422e5d commit 3ab40f0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions spec/truffle/tags/core/string/gsub_tags.txt
@@ -1,6 +1,2 @@
fails:String#gsub with pattern and replacement treats \+ as an empty string if there was no captures
fails:String#gsub with pattern and block sets $~ for access from the block
fails:String#gsub with pattern and block restores $~ after leaving the block
passes:String#gsub with pattern and block converts the block's return value to a string using to_s
fails:String#gsub with pattern and replacement respects $KCODE when the pattern collapses
fails:String#gsub with pattern and replacement handles pattern collapse without $KCODE
fails(regexp):String#gsub with pattern and block sets $~ for access from the block
fails(regexp):String#gsub with pattern and block restores $~ after leaving the block

0 comments on commit 3ab40f0

Please sign in to comment.