Skip to content

Commit

Permalink
[Truffle] Adding stringscanner specs with tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjfish committed Apr 29, 2015
1 parent cca7c7e commit edec82e
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 2 deletions.
@@ -0,0 +1,2 @@
fails:StringScanner#[] raises a IndexError when there's no named capture
fails:StringScanner#[] returns named capture
1 change: 1 addition & 0 deletions spec/truffle/tags/library/stringscanner/getch_tags.txt
@@ -0,0 +1 @@
fails:StringScanner#getch is multi-byte character sensitive
1 change: 1 addition & 0 deletions spec/truffle/tags/library/stringscanner/matched_tags.txt
@@ -0,0 +1 @@
fails:StringScanner#matched taints the returned String if the input was tainted
1 change: 1 addition & 0 deletions spec/truffle/tags/library/stringscanner/peek_tags.txt
@@ -0,0 +1 @@
fails:StringScanner#peek raises a RangeError when the passed argument is a Bignum
1 change: 1 addition & 0 deletions spec/truffle/tags/library/stringscanner/peep_tags.txt
@@ -0,0 +1 @@
fails:StringScanner#peep raises a RangeError when the passed argument is a Bignum
@@ -0,0 +1 @@
fails:StringScanner#post_match taints the returned String if the input was tainted
1 change: 1 addition & 0 deletions spec/truffle/tags/library/stringscanner/scan_tags.txt
@@ -0,0 +1 @@
fails:StringScanner#scan treats ^ as matching from the beginning of the current position
@@ -0,0 +1 @@
fails:StringScanner#scan_until can match anchors properly
3 changes: 1 addition & 2 deletions spec/truffle/truffle.mspec
Expand Up @@ -101,7 +101,7 @@ class MSpecScript
"spec/ruby/library/shellwords",
"spec/ruby/library/singleton",
"spec/ruby/library/stringio",
"spec/ruby/library/strscan",
"spec/ruby/library/stringscanner",
"spec/ruby/library/tempfile",
"spec/ruby/library/thread",
"spec/ruby/library/time",
Expand All @@ -125,7 +125,6 @@ class MSpecScript
"^spec/ruby/library/resolv",
"^spec/ruby/library/rexml",
"^spec/ruby/library/securerandom",
"^spec/ruby/library/stringscanner",
"^spec/ruby/library/syslog",
"^spec/ruby/library/timeout",
"^spec/ruby/library/weakref",
Expand Down

0 comments on commit edec82e

Please sign in to comment.