Skip to content

Commit 3ab40f0

Browse files
committed
[Truffle] Updated String#{gsub, gsub!} tags.
1 parent 0422e5d commit 3ab40f0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
fails:String#gsub with pattern and replacement treats \+ as an empty string if there was no captures
2-
fails:String#gsub with pattern and block sets $~ for access from the block
3-
fails:String#gsub with pattern and block restores $~ after leaving the block
4-
passes:String#gsub with pattern and block converts the block's return value to a string using to_s
5-
fails:String#gsub with pattern and replacement respects $KCODE when the pattern collapses
6-
fails:String#gsub with pattern and replacement handles pattern collapse without $KCODE
1+
fails(regexp):String#gsub with pattern and block sets $~ for access from the block
2+
fails(regexp):String#gsub with pattern and block restores $~ after leaving the block

0 commit comments

Comments
 (0)