|
10 | 10 | fails "String#[] calls to_int on the given index" |
11 | 11 | fails "String#[] raises a TypeError if the given index is nil" |
12 | 12 | fails "String#[] raises a TypeError if the given index can't be converted to an Integer" |
13 | | - fails "String#[] with index, length always taints resulting strings when self is tainted" |
14 | 13 | fails "String#[] with index, length returns nil if the length is negative" |
15 | 14 | fails "String#[] with index, length calls to_int on the given index and the given length" |
16 | 15 | fails "String#[] with index, length calls to_int on the given index and the given length" |
17 | 16 | fails "String#[] with index, length raises a TypeError when idx or length can't be converted to an integer" |
18 | 17 | fails "String#[] with index, length raises a TypeError when the given index or the given length is nil" |
19 | 18 | fails "String#[] with Range returns nil if the beginning of the range falls outside of self" |
20 | | - fails "String#[] with Range always taints resulting strings when self is tainted" |
21 | 19 | fails "String#[] with Range calls to_int on range arguments" |
22 | 20 | fails "String#[] with Range calls to_int on range arguments" |
23 | 21 | fails "String#[] with Range handles repeated application" |
24 | 22 | fails "String#[] with Regexp returns the matching portion of self" |
25 | 23 | fails "String#[] with Regexp returns nil if there is no match" |
26 | | - fails "String#[] with Regexp always taints resulting strings when self or regexp is tainted" |
27 | 24 | fails "String#[] with Regexp sets $~ to MatchData when there is a match and nil when there's none" |
28 | 25 | fails "String#[] with Regexp, index returns the capture for the given index" |
29 | | - fails "String#[] with Regexp, index always taints resulting strings when self or regexp is tainted" |
30 | 26 | fails "String#[] with Regexp, index returns nil if there is no match" |
31 | 27 | fails "String#[] with Regexp, index returns nil if there is no capture for the given index" |
32 | 28 | fails "String#[] with Regexp, index calls to_int on the given index" |
|
35 | 31 | fails "String#[] with Regexp, index raises a TypeError when the given index is nil" |
36 | 32 | fails "String#[] with Regexp, index sets $~ to MatchData when there is a match and nil when there's none" |
37 | 33 | fails "String#[] with String returns other_str if it occurs in self" |
38 | | - fails "String#[] with String taints resulting strings when other is tainted" |
39 | 34 | fails "String#[] with String returns nil if there is no match" |
40 | 35 | fails "String#[] with String doesn't call to_str on its argument" |
41 | 36 | fails "String#[] with String returns a subclass instance when given a subclass instance" |
|
45 | 40 | fails "String#end_with? converts its argument using :to_str" |
46 | 41 | fails "String#end_with? returns true if other is empty" |
47 | 42 |
|
48 | | - fails "String#each_line taints substrings that are passed to the block if self is tainted" |
49 | 43 | fails "String#each_line passes self as a whole to the block if the separator is nil" |
50 | 44 | fails "String#each_line yields paragraphs (broken by 2 or more successive newlines) when passed ''" |
51 | 45 | fails "String#each_line uses $/ as the separator when none is given" |
|
71 | 65 | fails "String#gsub with pattern and replacement replaces \\+ with the last paren that actually matched" |
72 | 66 | fails "String#gsub with pattern and replacement treats \\+ as an empty string if there was no captures" |
73 | 67 | fails "String#gsub with pattern and replacement maps \\\\ in replacement to \\" |
74 | | - fails "String#gsub with pattern and replacement taints the result if the original string or replacement is tainted" |
75 | 68 | fails "String#gsub with pattern and replacement handles pattern collapse without $KCODE" |
76 | 69 | fails "String#gsub with pattern and replacement untrusts the result if the original string or replacement is untrusted" |
77 | 70 | fails "String#gsub with pattern and replacement raises a TypeError when replacement can't be converted to a string" |
|
89 | 82 | fails "String#gsub with pattern and Hash doesn't interpolate special sequences like \\1 for the block's return value" |
90 | 83 | fails "String#gsub with pattern and Hash untrusts the result if the original string is untrusted" |
91 | 84 | fails "String#gsub with pattern and Hash untrusts the result if a hash value is untrusted" |
92 | | - fails "String#gsub with pattern and Hash taints the result if the original string is tainted" |
93 | | - fails "String#gsub with pattern and Hash taints the result if a hash value is tainted" |
94 | 85 | fails "String#gsub with pattern and block sets $~ for access from the block" |
95 | 86 | fails "String#gsub with pattern and block restores $~ after leaving the block" |
96 | 87 | fails "String#gsub with pattern and block sets $~ to MatchData of last match and nil when there's none for access from outside" |
|
109 | 100 | fails "String#lines should split on the default record separator and return enumerator if not block is given" |
110 | 101 | fails "String#lines splits using default newline separator when none is specified" |
111 | 102 | fails "String#lines splits self using the supplied record separator and passes each substring to the block" |
112 | | - fails "String#lines taints substrings that are passed to the block if self is tainted" |
113 | 103 | fails "String#lines passes self as a whole to the block if the separator is nil" |
114 | 104 | fails "String#lines yields paragraphs (broken by 2 or more successive newlines) when passed ''" |
115 | 105 | fails "String#lines yields subclass instances for subclasses" |
|
123 | 113 | fails "String#lines returns an array when no block given" |
124 | 114 |
|
125 | 115 | fails "String#lstrip returns a copy of self with leading whitespace removed" |
126 | | - fails "String#lstrip taints the result when self is tainted" |
127 | 116 |
|
128 | 117 | fails "String#next returns the successor by increasing the rightmost alphanumeric (digit => digit, letter => letter with same case)" |
129 | 118 | fails "String#next increases the next best alphanumeric (jumping over non-alphanumerics) if there is a carry" |
130 | 119 | fails "String#next increases the next best character if there is a carry for non-alphanumerics" |
131 | 120 | fails "String#next adds an additional character (just left to the last increased one) if there is a carry and no character left to increase" |
132 | | - fails "String#next taints the result if self is tainted" |
133 | 121 |
|
134 | 122 | fails "String#partition with String accepts regexp" |
135 | 123 | fails "String#partition with String sets global vars if regexp used" |
|
154 | 142 |
|
155 | 143 | fails "String#rstrip returns a copy of self with trailing whitespace removed" |
156 | 144 | fails "String#rstrip returns a copy of self with all trailing whitespace and NULL bytes removed" |
157 | | - fails "String#rstrip taints the result when self is tainted" |
158 | 145 |
|
159 | 146 | fails "String#slice calls to_int on the given index" |
160 | 147 | fails "String#slice calls to_int on the given index" |
161 | 148 | fails "String#slice raises a TypeError if the given index is nil" |
162 | 149 | fails "String#slice raises a TypeError if the given index can't be converted to an Integer" |
163 | | - fails "String#slice with index, length always taints resulting strings when self is tainted" |
164 | 150 | fails "String#slice with index, length returns nil if the length is negative" |
165 | 151 | fails "String#slice with index, length calls to_int on the given index and the given length" |
166 | 152 | fails "String#slice with index, length calls to_int on the given index and the given length" |
167 | 153 | fails "String#slice with index, length raises a TypeError when idx or length can't be converted to an integer" |
168 | 154 | fails "String#slice with index, length raises a TypeError when the given index or the given length is nil" |
169 | 155 | fails "String#slice with Range returns nil if the beginning of the range falls outside of self" |
170 | | - fails "String#slice with Range always taints resulting strings when self is tainted" |
171 | 156 | fails "String#slice with Range calls to_int on range arguments" |
172 | 157 | fails "String#slice with Range calls to_int on range arguments" |
173 | 158 | fails "String#slice with Range handles repeated application" |
174 | 159 | fails "String#slice with Regexp returns the matching portion of self" |
175 | 160 | fails "String#slice with Regexp returns nil if there is no match" |
176 | | - fails "String#slice with Regexp always taints resulting strings when self or regexp is tainted" |
177 | 161 | fails "String#slice with Regexp sets $~ to MatchData when there is a match and nil when there's none" |
178 | 162 | fails "String#slice with Regexp, index returns the capture for the given index" |
179 | | - fails "String#slice with Regexp, index always taints resulting strings when self or regexp is tainted" |
180 | 163 | fails "String#slice with Regexp, index returns nil if there is no match" |
181 | 164 | fails "String#slice with Regexp, index returns nil if there is no capture for the given index" |
182 | 165 | fails "String#slice with Regexp, index calls to_int on the given index" |
|
185 | 168 | fails "String#slice with Regexp, index raises a TypeError when the given index is nil" |
186 | 169 | fails "String#slice with Regexp, index sets $~ to MatchData when there is a match and nil when there's none" |
187 | 170 | fails "String#slice with String returns other_str if it occurs in self" |
188 | | - fails "String#slice with String taints resulting strings when other is tainted" |
189 | 171 | fails "String#slice with String returns nil if there is no match" |
190 | 172 | fails "String#slice with String doesn't call to_str on its argument" |
191 | 173 | fails "String#slice with String returns a subclass instance when given a subclass instance" |
|
201 | 183 | fails "String#split with String tries converting limit to an integer via to_int" |
202 | 184 | fails "String#split with String returns subclass instances based on self" |
203 | 185 | fails "String#split with String does not call constructor on created subclass instances" |
204 | | - fails "String#split with String taints the resulting strings if self is tainted" |
205 | 186 | fails "String#split with Regexp divides self on regexp matches" |
206 | 187 | fails "String#split with Regexp treats negative limits as no limit" |
207 | 188 | fails "String#split with Regexp suppresses trailing empty fields when limit isn't given or 0" |
|
216 | 197 | fails "String#split with Regexp returns a type error if limit can't be converted to an integer" |
217 | 198 | fails "String#split with Regexp returns subclass instances based on self" |
218 | 199 | fails "String#split with Regexp does not call constructor on created subclass instances" |
219 | | - fails "String#split with Regexp taints the resulting strings if self is tainted" |
220 | | - fails "String#split with Regexp taints an empty string if self is tainted" |
221 | | - fails "String#split with Regexp doesn't taints the resulting strings if the Regexp is tainted" |
222 | 200 | fails "String#split with Regexp retains the encoding of the source string" |
223 | 201 | fails "String#split with Regexp returns an ArgumentError if an invalid UTF-8 string is supplied" |
224 | 202 |
|
|
227 | 205 |
|
228 | 206 | fails "String#strip returns a new string with leading and trailing whitespace removed" |
229 | 207 | fails "String#strip returns a copy of self with trailing NULL bytes and whitespace" |
230 | | - fails "String#strip taints the result when self is tainted" |
231 | 208 |
|
232 | 209 | fails "String#sub with pattern, replacement supports \\G which matches at the beginning of the string" |
233 | 210 | fails "String#sub with pattern, replacement replaces \\1 sequences with the regexp's corresponding capture" |
|
238 | 215 | fails "String#sub with pattern, replacement replaces \\+ with the last paren that actually matched" |
239 | 216 | fails "String#sub with pattern, replacement treats \\+ as an empty string if there was no captures" |
240 | 217 | fails "String#sub with pattern, replacement maps \\\\ in replacement to \\" |
241 | | - fails "String#sub with pattern, replacement taints the result if the original string or replacement is tainted" |
242 | 218 | fails "String#sub with pattern, replacement tries to convert pattern to a string using to_str" |
243 | 219 | fails "String#sub with pattern, replacement tries to convert pattern to a string using to_str" |
244 | 220 | fails "String#sub with pattern, replacement raises a TypeError when pattern can't be converted to a string" |
|
249 | 225 | fails "String#sub with pattern and block sets $~ for access from the block" |
250 | 226 | fails "String#sub with pattern and block sets $~ to MatchData of last match and nil when there's none for access from outside" |
251 | 227 | fails "String#sub with pattern and block doesn't raise a RuntimeError if the string is modified while substituting" |
252 | | - fails "String#sub with pattern and block taints the result if the original string or replacement is tainted" |
253 | 228 |
|
254 | 229 | fails "String#succ returns the successor by increasing the rightmost alphanumeric (digit => digit, letter => letter with same case)" |
255 | 230 | fails "String#succ increases the next best alphanumeric (jumping over non-alphanumerics) if there is a carry" |
256 | 231 | fails "String#succ increases the next best character if there is a carry for non-alphanumerics" |
257 | 232 | fails "String#succ adds an additional character (just left to the last increased one) if there is a carry and no character left to increase" |
258 | | - fails "String#succ taints the result if self is tainted" |
259 | 233 |
|
260 | 234 | fails "String#sum returns a basic n-bit checksum of the characters in self" |
261 | 235 | fails "String#sum tries to convert n to an integer using to_int" |
|
0 commit comments