Skip to content

Commit edec82e

Browse files
committed
[Truffle] Adding stringscanner specs with tags.
1 parent cca7c7e commit edec82e

9 files changed

+10
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:StringScanner#[] raises a IndexError when there's no named capture
2+
fails:StringScanner#[] returns named capture
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:StringScanner#getch is multi-byte character sensitive
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:StringScanner#matched taints the returned String if the input was tainted
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:StringScanner#peek raises a RangeError when the passed argument is a Bignum
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:StringScanner#peep raises a RangeError when the passed argument is a Bignum
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:StringScanner#post_match taints the returned String if the input was tainted
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:StringScanner#scan treats ^ as matching from the beginning of the current position
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:StringScanner#scan_until can match anchors properly

spec/truffle/truffle.mspec

+1-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class MSpecScript
101101
"spec/ruby/library/shellwords",
102102
"spec/ruby/library/singleton",
103103
"spec/ruby/library/stringio",
104-
"spec/ruby/library/strscan",
104+
"spec/ruby/library/stringscanner",
105105
"spec/ruby/library/tempfile",
106106
"spec/ruby/library/thread",
107107
"spec/ruby/library/time",
@@ -125,7 +125,6 @@ class MSpecScript
125125
"^spec/ruby/library/resolv",
126126
"^spec/ruby/library/rexml",
127127
"^spec/ruby/library/securerandom",
128-
"^spec/ruby/library/stringscanner",
129128
"^spec/ruby/library/syslog",
130129
"^spec/ruby/library/timeout",
131130
"^spec/ruby/library/weakref",

0 commit comments

Comments
 (0)