Skip to content
Permalink
Browse files

Merge pull request #830 from mswart/test_failures

Fixing / Tagging the current build errors
  • Loading branch information
timfel committed Jul 24, 2014
2 parents 2aaf623 + 5fd2d29 commit 7325ed31b6d325e557d91238c58e667bbbdf1e07
Showing with 665 additions and 43 deletions.
  1. +2 −0 spec/tags/command_line/dash_upper_c_tags.txt
  2. +4 −0 spec/tags/core/argf/each_line_tags.txt
  3. +4 −0 spec/tags/core/argf/each_tags.txt
  4. +1 −0 spec/tags/core/argf/filename_tags.txt
  5. +1 −0 spec/tags/core/argf/gets_tags.txt
  6. +6 −0 spec/tags/core/argf/lines_tags.txt
  7. +1 −0 spec/tags/core/argf/path_tags.txt
  8. +1 −0 spec/tags/core/argf/read_tags.txt
  9. +2 −0 spec/tags/core/array/flatten_tags.txt
  10. +1 −0 spec/tags/core/array/join_tags.txt
  11. +2 −2 spec/tags/core/array/pack/l_tags.txt
  12. +2 −0 spec/tags/core/array/values_at_tags.txt
  13. +1 −0 spec/tags/core/bignum/bit_and_tags.txt
  14. +1 −0 spec/tags/core/bignum/bit_xor_tags.txt
  15. +2 −0 spec/tags/core/bignum/case_compare_tags.txt
  16. +3 −0 spec/tags/core/class/dup_tags.txt
  17. +1 −0 spec/tags/core/class/initialize_tags.txt
  18. +1 −0 spec/tags/core/complex/marshal_dump_tags.txt
  19. +1 −0 spec/tags/core/dir/element_reference_tags.txt
  20. +1 −0 spec/tags/core/dir/glob_tags.txt
  21. +1 −0 spec/tags/core/dir/read_tags.txt
  22. +8 −0 spec/tags/core/encoding/converter/primitive_convert_tags.txt
  23. +1 −0 spec/tags/core/encoding/converter/replacement_tags.txt
  24. +2 −0 spec/tags/core/enumerable/entries_tags.txt
  25. +2 −0 spec/tags/core/enumerable/find_index_tags.txt
  26. +1 −0 spec/tags/core/enumerable/grep_tags.txt
  27. +2 −0 spec/tags/core/enumerable/group_by_tags.txt
  28. +1 −0 spec/tags/core/enumerable/take_while_tags.txt
  29. +2 −0 spec/tags/core/enumerable/to_a_tags.txt
  30. +1 −0 spec/tags/core/enumerator/generator/each_tags.txt
  31. +1 −0 spec/tags/core/enumerator/generator/initialize_tags.txt
  32. +2 −0 spec/tags/core/enumerator/initialize_tags.txt
  33. +2 −0 spec/tags/core/enumerator/yielder/append_tags.txt
  34. +1 −0 spec/tags/core/enumerator/yielder/initialize_tags.txt
  35. +1 −0 spec/tags/core/env/fetch_tags.txt
  36. +5 −0 spec/tags/core/exception/backtrace_tags.txt
  37. +1 −0 spec/tags/core/exception/result_tags.txt
  38. +5 −0 spec/tags/core/file/basename_tags.txt
  39. +8 −0 spec/tags/core/file/constants_tags.txt
  40. +1 −0 spec/tags/core/file/directory_tags.txt
  41. +1 −0 spec/tags/core/file/expand_path_tags.txt
  42. +1 −0 spec/tags/core/file/ftype_tags.txt
  43. +1 −0 spec/tags/core/file/grpowned_tags.txt
  44. +1 −0 spec/tags/core/file/initialize_tags.txt
  45. +1 −0 spec/tags/core/file/new_tags.txt
  46. +1 −0 spec/tags/core/file/readlink_tags.txt
  47. +1 −0 spec/tags/core/file/realpath_tags.txt
  48. +1 −0 spec/tags/core/file/rename_tags.txt
  49. +1 −0 spec/tags/core/file/stat/executable_tags.txt
  50. +1 −0 spec/tags/core/file/stat/grpowned_tags.txt
  51. +2 −0 spec/tags/core/float/comparison_tags.txt
  52. +1 −0 spec/tags/core/hash/constructor_tags.txt
  53. +1 −0 spec/tags/core/hash/default_proc_tags.txt
  54. +2 −0 spec/tags/core/hash/inspect_tags.txt
  55. +2 −0 spec/tags/core/hash/to_a_tags.txt
  56. +2 −0 spec/tags/core/hash/to_s_tags.txt
  57. +1 −0 spec/tags/core/integer/gcdlcm_tags.txt
  58. +1 −0 spec/tags/core/integer/lcm_tags.txt
  59. +1 −0 spec/tags/core/integer/round_tags.txt
  60. +2 −0 spec/tags/core/io/for_fd_tags.txt
  61. +7 −0 spec/tags/core/io/gets_tags.txt
  62. +12 −0 spec/tags/core/io/internal_encoding_tags.txt
  63. +2 −0 spec/tags/core/io/new_tags.txt
  64. +2 −0 spec/tags/core/io/open_tags.txt
  65. +1 −1 spec/tags/core/io/pipe_tags.txt
  66. +3 −0 spec/tags/core/io/popen_tags.txt
  67. +4 −4 spec/tags/core/io/putc_tags.txt
  68. +2 −0 spec/tags/core/io/read_nonblock_tags.txt
  69. +3 −0 spec/tags/core/io/read_tags.txt
  70. +3 −0 spec/tags/core/io/readlines_tags.txt
  71. +6 −0 spec/tags/core/io/set_encoding_tags.txt
  72. +7 −0 spec/tags/core/io/write_tags.txt
  73. +1 −0 spec/tags/core/kernel/backtick_tags.txt
  74. +1 −0 spec/tags/core/kernel/caller_tags.txt
  75. +1 −0 spec/tags/core/kernel/eval_tags.txt
  76. +1 −0 spec/tags/core/kernel/extend_tags.txt
  77. +2 −0 spec/tags/core/kernel/frozen_tags.txt
  78. +2 −0 spec/tags/core/kernel/inspect_tags.txt
  79. +2 −0 spec/tags/core/kernel/instance_variable_get_tags.txt
  80. +1 −0 spec/tags/core/kernel/instance_variable_set_tags.txt
  81. +2 −0 spec/tags/core/kernel/load_tags.txt
  82. +2 −0 spec/tags/core/kernel/printf_tags.txt
  83. +2 −0 spec/tags/core/kernel/private_methods_tags.txt
  84. +2 −0 spec/tags/core/kernel/protected_methods_tags.txt
  85. +2 −0 spec/tags/core/kernel/public_methods_tags.txt
  86. +8 −8 spec/tags/core/kernel/putc_tags.txt
  87. +1 −0 spec/tags/core/kernel/require_relative_tags.txt
  88. +4 −2 spec/tags/core/kernel/require_tags.txt
  89. +2 −0 spec/tags/core/kernel/sleep_tags.txt
  90. +7 −2 spec/tags/core/kernel/spawn_tags.txt
  91. +1 −0 spec/tags/core/kernel/sprintf_tags.txt
  92. +4 −0 spec/tags/core/kernel/taint_tags.txt
  93. +7 −0 spec/tags/core/kernel/test_tags.txt
  94. +7 −0 spec/tags/core/kernel/warn_tags.txt
  95. +3 −0 spec/tags/core/main/def_tags.txt
  96. +1 −0 spec/tags/core/matchdata/begin_tags.txt
  97. +1 −0 spec/tags/core/matchdata/end_tags.txt
  98. +1 −0 spec/tags/core/matchdata/offset_tags.txt
  99. +2 −0 spec/tags/core/matchdata/post_match_tags.txt
  100. +2 −0 spec/tags/core/matchdata/pre_match_tags.txt
  101. +1 −0 spec/tags/core/math/acosh_tags.txt
  102. +1 −0 spec/tags/core/math/atan2_tags.txt
  103. +2 −0 spec/tags/core/math/log2_tags.txt
  104. +1 −0 spec/tags/core/math/tanh_tags.txt
  105. +1 −0 spec/tags/core/method/call_tags.txt
  106. +1 −0 spec/tags/core/method/element_reference_tags.txt
  107. +1 −0 spec/tags/core/method/name_tags.txt
  108. +1 −0 spec/tags/core/method/owner_tags.txt
  109. +3 −0 spec/tags/core/method/parameters_tags.txt
  110. +1 −0 spec/tags/core/method/receiver_tags.txt
  111. +1 −0 spec/tags/core/method/source_location_tags.txt
  112. +1 −0 spec/tags/core/module/alias_method_tags.txt
  113. +5 −0 spec/tags/core/module/append_features_tags.txt
  114. +3 −0 spec/tags/core/module/autoload_tags.txt
  115. +1 −0 spec/tags/core/module/const_get_tags.txt
  116. +1 −0 spec/tags/core/module/const_set_tags.txt
  117. +1 −0 spec/tags/core/module/define_method_tags.txt
  118. +3 −0 spec/tags/core/module/extend_object_tags.txt
  119. +1 −0 spec/tags/core/module/include_tags.txt
  120. +2 −0 spec/tags/core/module/instance_method_tags.txt
  121. +4 −0 spec/tags/core/module/module_function_tags.txt
  122. +1 −0 spec/tags/core/module/private_method_defined_tags.txt
  123. +3 −0 spec/tags/core/module/private_tags.txt
  124. +3 −0 spec/tags/core/module/protected_tags.txt
  125. +10 −0 spec/tags/core/module/public_instance_method_tags.txt
  126. +1 −0 spec/tags/core/module/public_tags.txt
  127. +4 −0 spec/tags/core/module/remove_method_tags.txt
  128. +6 −0 spec/tags/core/module/undef_method_tags.txt
  129. +3 −0 spec/tags/core/mutex/sleep_tags.txt
  130. +1 −0 spec/tags/core/proc/clone_tags.txt
  131. +1 −0 spec/tags/core/proc/dup_tags.txt
  132. +1 −0 spec/tags/core/proc/eql_tags.txt
  133. +1 −0 spec/tags/core/proc/equal_value_tags.txt
  134. +1 −0 spec/tags/core/proc/parameters_tags.txt
  135. +2 −0 spec/tags/core/process/euid_tags.txt
  136. +1 −1 spec/tags/core/process/setpgrp_tags.txt
  137. +5 −1 spec/tags/core/process/spawn_tags.txt
  138. +2 −1 spec/tags/core/process/uid_tags.txt
  139. +1 −0 spec/tags/core/range/cover_tags.txt
  140. +4 −0 spec/tags/core/range/include_tags.txt
  141. +1 −0 spec/tags/core/range/initialize_tags.txt
  142. +2 −0 spec/tags/core/range/inspect_tags.txt
  143. +4 −0 spec/tags/core/range/member_tags.txt
  144. +2 −0 spec/tags/core/range/to_s_tags.txt
  145. +6 −0 spec/tags/core/rational/ceil_tags.txt
  146. +6 −0 spec/tags/core/rational/floor_tags.txt
  147. +1 −0 spec/tags/core/rational/marshal_dump_tags.txt
  148. +8 −0 spec/tags/core/rational/round_tags.txt
  149. +6 −0 spec/tags/core/rational/truncate_tags.txt
  150. +5 −0 spec/tags/core/regexp/match_tags.txt
  151. +1 −0 spec/tags/core/regexp/options_tags.txt
  152. +2 −0 spec/tags/core/regexp/union_tags.txt
  153. +3 −0 spec/tags/core/string/case_compare_tags.txt
  154. +1 −0 spec/tags/core/string/clone_tags.txt
  155. +3 −0 spec/tags/core/string/comparison_tags.txt
  156. +1 −0 spec/tags/core/string/dup_tags.txt
  157. +9 −0 spec/tags/core/string/each_line_tags.txt
  158. +33 −0 spec/tags/core/string/element_reference_tags.txt
  159. +87 −0 spec/tags/core/string/encode_tags.txt
  160. +25 −0 spec/tags/core/string/encoding_tags.txt
  161. +3 −0 spec/tags/core/string/eql_tags.txt
  162. +3 −0 spec/tags/core/string/equal_value_tags.txt
  163. +8 −0 spec/tags/core/string/force_encoding_tags.txt
  164. +2 −0 spec/tags/core/string/getbyte_tags.txt
  165. +2 −0 spec/tags/core/string/insert_tags.txt
  166. +2 −0 spec/tags/core/string/length_tags.txt
  167. +1 −10 spec/tags/core/string/lines_tags.txt
  168. +5 −0 spec/tags/core/string/match_tags.txt
  169. +1 −1 spec/tags/core/string/partition_tags.txt
  170. +2 −0 spec/tags/core/string/reverse_tags.txt
  171. +1 −1 spec/tags/core/string/rpartition_tags.txt
  172. +2 −0 spec/tags/core/string/size_tags.txt
  173. +2 −0 spec/tags/core/string/slice_tags.txt
  174. +2 −0 spec/tags/core/string/split_tags.txt
  175. +18 −0 spec/tags/core/string/sub_tags.txt
  176. +1 −0 spec/tags/core/string/to_i_tags.txt
  177. +2 −2 spec/tags/core/string/tr_tags.txt
  178. +1 −0 spec/tags/core/struct/eql_tags.txt
  179. +1 −0 spec/tags/core/struct/equal_value_tags.txt
  180. +4 −0 spec/tags/core/symbol/element_reference_tags.txt
  181. +4 −0 spec/tags/core/symbol/slice_tags.txt
  182. +1 −0 spec/tags/core/systemexit/success_tags.txt
  183. +1 −0 spec/tags/core/thread/alive_tags.txt
  184. +1 −0 spec/tags/core/thread/element_set_tags.txt
  185. +1 −0 spec/tags/core/thread/fork_tags.txt
  186. +1 −0 spec/tags/core/thread/kill_tags.txt
  187. +2 −0 spec/tags/core/thread/raise_tags.txt
  188. +1 −0 spec/tags/core/thread/start_tags.txt
  189. +1 −0 spec/tags/core/thread/terminate_tags.txt
  190. +1 −0 spec/tags/core/thread/value_tags.txt
  191. +2 −0 spec/tags/core/threadgroup/default_tags.txt
  192. +1 −0 spec/tags/core/threadgroup/enclose_tags.txt
  193. +2 −0 spec/tags/core/threadgroup/enclosed_tags.txt
  194. +1 −0 spec/tags/core/time/_dump_tags.txt
  195. +5 −0 spec/tags/core/time/_load_tags.txt
  196. +1 −0 spec/tags/core/time/getlocal_tags.txt
  197. +1 −0 spec/tags/core/time/gm_tags.txt
  198. +4 −0 spec/tags/core/time/inspect_tags.txt
  199. +1 −0 spec/tags/core/time/local_tags.txt
  200. +1 −0 spec/tags/core/time/localtime_tags.txt
  201. +2 −0 spec/tags/core/time/minus_tags.txt
  202. +1 −0 spec/tags/core/time/mktime_tags.txt
  203. +2 −0 spec/tags/core/time/new_tags.txt
  204. +2 −0 spec/tags/core/time/plus_tags.txt
  205. +1 −0 spec/tags/core/time/round_tags.txt
  206. +1 −0 spec/tags/core/time/strftime_tags.txt
  207. +1 −0 spec/tags/core/time/to_s_tags.txt
  208. +1 −0 spec/tags/core/time/utc_tags.txt
  209. +2 −0 spec/tags/core/time/zone_tags.txt
  210. +1 −0 spec/tags/language/block_tags.txt
  211. +2 −0 spec/tags/language/def_tags.txt
  212. +1 −0 spec/tags/language/lambda_tags.txt
  213. +4 −0 spec/tags/language/match_tags.txt
  214. +1 −1 spec/tags/language/proc_tags.txt
  215. +1 −1 spec/tags/language/throw_tags.txt
  216. +2 −1 tasks/travis.py
  217. +13 −0 topaz.mspec
  218. +2 −2 topaz/lexer.py
  219. +1 −2 topaz/utils/regexp.py
@@ -0,0 +1,2 @@
fails:The -C command line option changes the PWD when using a file
fails:The -C command line option changes the PWD when using -e
@@ -1,2 +1,6 @@
fails:ARGF.each_line reads each line of files
fails:ARGF.each_line returns self when passed a block
fails:ARGF.each_line is a public method
fails:ARGF.each_line requires multiple arguments
fails:ARGF.each_line returns an Enumerator when passed no block
fails:ARGF.each_line with a separator yields each separated section of all streams
@@ -1,2 +1,6 @@
fails:ARGF.each reads each line of files
fails:ARGF.each returns self when passed a block
fails:ARGF.each is a public method
fails:ARGF.each requires multiple arguments
fails:ARGF.each returns an Enumerator when passed no block
fails:ARGF.each with a separator yields each separated section of all streams
@@ -1,2 +1,3 @@
fails:ARGF.filename returns the current file name on each file
fails:ARGF.filename it sets the $FILENAME global variable with the current file name on each file
fails:ARGF.filename sets the $FILENAME global variable with the current file name on each file
@@ -6,3 +6,4 @@ fails:ARGF.gets sets $_ global variable with each line read
fails:ARGF.gets modifies the files when in place edit mode is on
fails:ARGF.gets modifies and backups two files when in place edit mode is on
fails:ARGF.gets returns nil when reaching end of files
fails:ARGF.gets reads the contents of the file with default encoding
@@ -0,0 +1,6 @@
fails:ARGF.lines is a public method
fails:ARGF.lines requires multiple arguments
fails:ARGF.lines reads each line of files
fails:ARGF.lines returns self when passed a block
fails:ARGF.lines returns an Enumerator when passed no block
fails:ARGF.lines with a separator yields each separated section of all streams
@@ -1,2 +1,3 @@
fails:ARGF.path returns the current file name on each file
fails:ARGF.path it sets the $FILENAME global variable with the current file name on each file
fails:ARGF.path sets the $FILENAME global variable with the current file name on each file
@@ -12,3 +12,4 @@ fails:ARGF.read reads a number of bytes from stdin
fails:ARGF.read reads the contents of one file and stdin
fails:ARGF.read reads the contents of the same file twice
fails:ARGF.read reads the contents of a special device file
fails:ARGF.read reads the contents of the file with default encoding
@@ -0,0 +1,2 @@
fails:Array#flatten returns a tainted array if self is tainted
fails:Array#flatten returns an untrusted array if self is untrusted
@@ -16,3 +16,4 @@ fails:Array#join fails for arrays with incompatibly-encoded strings
fails:Array#join does not separate elements when the passed separator is nil
fails:Array#join with a tainted separator taints the result if the array has two or more elements
fails:Array#join with an untrusted separator untrusts the result if the array has two or more elements
fails:Array#join with $, separates elements with default separator when the passed separator is nil
@@ -72,11 +72,9 @@ fails:Array#pack with format 'L' with modifier '_' encodes all remaining element
fails:Array#pack with format 'L' with modifier '_' ignores NULL bytes between directives
fails:Array#pack with format 'l' with modifier '_' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'l' with modifier '_' calls #to_int to convert the pack argument to an Integer
fails:Array#pack with format 'l' with modifier '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'l' with modifier '_' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'l' with modifier '_' ignores NULL bytes between directives
fails:Array#pack with format 'l' with modifier '_' ignores spaces between directives
fails:Array#pack with format 'l' with modifier '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'l' with modifier '!' encodes the least significant 64 bits of a positive number
fails:Array#pack with format 'l' with modifier '!' encodes the least significant 64 bits of a negative number
fails:Array#pack with format 'l' with modifier '!' calls #to_int to convert the pack argument to an Integer
@@ -105,3 +103,5 @@ fails:Array#pack with format 'l' with modifier '_' encodes the least significant
fails:Array#pack with format 'L' with modifier '!' ignores spaces between directives
fails:Array#pack with format 'L' with modifier '!' ignores NULL bytes between directives
fails:Array#pack with format 'L' with modifier '!' encodes all remaining elements when passed the '*' modifier
fails:Array#pack with format 'l' with modifier '_' encodes the number of array elements specified by the count modifier
fails:Array#pack with format 'l' with modifier '_' encodes all remaining elements when passed the '*' modifier
@@ -0,0 +1,2 @@
fails:Array#values_at when passed a range fills with nil once if the index is out of the range
fails:Array#values_at when passed a range on an empty array fills with nil once if the index is out of the range and starts at 0
@@ -1 +1,2 @@
fails:raises a TypeError when passed a Float
fails:Bignum#& raises a TypeError when passed a Float
@@ -1 +1,2 @@
fails:raises a TypeError when passed a Float
fails:Bignum#^ raises a TypeError when passed a Float
@@ -1,3 +1,5 @@
fails:returns true if self has the same value as the given argument
fails:calls 'other == self' if the given argument is not an Integer
fails:returns the result of 'other == self' as a boolean
fails:Bignum#=== calls 'other == self' if the given argument is not an Integer
fails:Bignum#=== returns the result of 'other == self' as a boolean
@@ -1,3 +1,6 @@
fails:duplicates both the class and the singleton class
fails:retains an included module in the ancestor chain for the singleton class
fails:Class#dup
fails:Class#dup duplicates both the class and the singleton class
fails:Class#dup retains an included module in the ancestor chain for the singleton class
fails:Class#dup retains the correct ancestor chain for the singleton class
@@ -0,0 +1 @@
fails:Class#initialize when given the Class raises a TypeError
@@ -1 +1,2 @@
fails:Complex#marshal_dump dumps real and imaginary parts
fails:Complex#marshal_dump is a public method
@@ -1,2 +1,3 @@
fails:Dir.[] raises an Encoding::CompatibilityError if the argument encoding is not compatible with US-ASCII
fails:Dir.[] returns Strings in the encoding of the pattern
fails:Dir.[] ignores symlinks
@@ -1,2 +1,3 @@
fails:Dir.glob raises an Encoding::CompatibilityError if the argument encoding is not compatible with US-ASCII
fails:Dir.glob with encoding returns Strings in the encoding of the pattern
fails:Dir.glob ignores symlinks
@@ -0,0 +1 @@
fails:Dir#read returns the file name in the current seek position
@@ -21,3 +21,11 @@ fails:Encoding::Converter#primitive_convert returns :undefined_conversion when a
fails:Encoding::Converter#primitive_convert returns :invalid_byte_sequence when an invalid byte sequence was found in the source buffer
fails:Encoding::Converter#primitive_convert returns :finished when the conversion succeeded
fails:Encoding::Converter#primitive_convert returns :destination_buffer_full when the destination buffer is too small
fails:Encoding::Converter#primitive_convert removes the undefined part from the source buffer when returning :undefined_conversion
fails:Encoding::Converter#primitive_convert clears the source buffer when returning :incomplete_input
fails:Encoding::Converter#primitive_convert clears the source buffer when returning :source_buffer_empty
fails:Encoding::Converter#primitive_convert removes consumed and erroneous bytes from the source buffer when returning :invalid_byte_sequence
fails:Encoding::Converter#primitive_convert clears the source buffer when returning :finished
fails:Encoding::Converter#primitive_convert clears the source buffer when returning :destination_buffer_full
fails:Encoding::Converter#primitive_convert keeps removing invalid bytes from the source buffer
fails:Encoding::Converter#primitive_convert reuses read-again bytes after the first error
@@ -6,3 +6,4 @@ fails:Encoding::Converter#replacement= raises an TypeError if assigned a non-Str
fails:Encoding::Converter#replacement= sets #replacement
fails:Encoding::Converter#replacement= raises an UndefinedConversionError is the argument cannot be converted into the destination encoding
fails:Encoding::Converter#replacement= does not change the replacement character if the argument cannot be converted into the destination encoding
fails:Encoding::Converter#replacement= raises a TypeError if assigned a non-String argument
@@ -0,0 +1,2 @@
fails:Enumerable#entries returns a tainted array if self is tainted
fails:Enumerable#entries returns an untrusted array if self is untrusted
@@ -0,0 +1,2 @@
fails:Enumerable#find_index without block gathers whole arrays as elements when each yields multiple
fails:Enumerable#find_index with block given a greedy yield parameter passes a gathered array to the parameter
@@ -1 +1,2 @@
fails:Enumerable#grep can use $~ in the block when used with a Regexp
fails:Enumerable#grep calls the block with an array when yielded with multiple arguments
@@ -0,0 +1,2 @@
fails:Enumerable#group_by returns a tainted hash if self is tainted
fails:Enumerable#group_by returns an untrusted hash if self is untrusted
@@ -0,0 +1 @@
fails:Enumerable#take_while calls the block with initial args when yielded with multiple arguments
@@ -0,0 +1,2 @@
fails:Enumerable#to_a returns a tainted array if self is tainted
fails:Enumerable#to_a returns an untrusted array if self is untrusted
@@ -0,0 +1 @@
fails:Enumerator::Generator#each is an enumerable
@@ -0,0 +1 @@
fails:Enumerator::Generator#initialize returns self when given a block
@@ -0,0 +1,2 @@
fails:Enumerator#initialize returns self when given an object
fails:Enumerator#initialize returns self when given a block
@@ -0,0 +1,2 @@
fails:Enumerator::Yielder#<< requires multiple arguments
fails:Enumerator::Yielder#<< yields with passed arguments
@@ -0,0 +1 @@
fails:Enumerator::Yielder#initialize returns self when given a block
@@ -1,2 +1,3 @@
fails:ENV.fetch warns on block and default parameter given
fails:ENV.fetch uses the locale encoding
fails:ENV.fetch raises a TypeError if the key is not a String
@@ -1 +1,6 @@
fails:Exception#backtrace
fails:Exception#backtrace returns nil if no backtrace was set
fails:Exception#backtrace includes the name of the method from where self raised in the first element
fails:Exception#backtrace includes the filename of the location immediately prior to where self raised in the second element
fails:Exception#backtrace includes the line number of the location immediately prior to where self raised in the second element
fails:Exception#backtrace contains lines of the same format for each prior position in the stack
@@ -0,0 +1 @@
fails:StopIteration#result returns the method-returned-object from an Enumerator
@@ -4,3 +4,8 @@ fails:File.basename return the basename for unix format
fails:File.basename return the basename for edge cases
fails:File.basename ignores a trailing directory separator
fails:File.basename return the basename for unix suffix
fails:File.basename returns the basename of a path (basic cases)
fails:File.basename returns the last component of the filename
fails:File.basename returns the basename for unix format
fails:File.basename returns the basename for edge cases
fails:File.basename returns the basename for unix suffix
@@ -3,3 +3,11 @@ fails:File::Constants the separator constant
fails:File::Constants the open mode constants
fails:File::Constants lock mode constants
fails:File::
fails:File::Constants matches mode constants
fails:File::Constants File::NOCTTY
fails:File::Constants File::NONBLOCK
fails:File::Constants File::LOCK_EX
fails:File::Constants File::LOCK_NB
fails:File::Constants File::LOCK_SH
fails:File::Constants File::LOCK_UN
fails:File::Constants File::Separator
@@ -1,3 +1,4 @@
fails:File.directory? returns false if the argument is an IO that's not a directory
fails:File.directory? return true if the argument is an IO that is a directory
fails:File.directory? calls #to_io to convert a non-IO object
fails:File.directory? returns true if the argument is an IO that is a directory
@@ -2,3 +2,4 @@ fails:File.expand_path produces a String in the default external encoding
fails:File.expand_path raises an Encoding::CompatibilityError if the external encoding is not compatible
fails:File.expand_path raises an ArgumentError if the path is not valid
fails:File.expand_path expands ~ENV['USER'] to the user's home directory
fails:File.expand_path expands a path when the default external encoding is ASCII-8BIT
@@ -8,3 +8,4 @@ fails:File.ftype returns 'characterSpecial' when the file is a char
fails:File.ftype returns 'link' when the file is a link
fails:File.ftype returns fifo when the file is a fifo
fails:File.ftype returns 'socket' when the file is a socket
fails:File.ftype returns a String
@@ -1,3 +1,4 @@
fails:File.grpowned? returns true if the file exist
fails:File.grpowned? accepts an object that has a #to_path method
fails:File.grpowned? returns false if file the does not exist
fails:File.grpowned? takes non primary groups into account
@@ -1,3 +1,4 @@
fails:File#initialize
fails:File#initialize ignores encoding options in mode parameter
fails:File#initialize accepts encoding options in mode parameter
fails:File#initialize accepts encoding options as a hash parameter
@@ -4,3 +4,4 @@ fails:File.new opens the existing file, does not change permissions even when th
fails:File.new returns a new File with modus fd
fails:File.new raises an Errno::EBADF if the first parameter is an invalid file descriptor
fails:File.new can't alter mode or permissions when opening a file
fails:File.new returns a new File with modus fd
@@ -4,3 +4,4 @@ fails:File.readlink File.readlink with absolute paths raises an Errno::ENOENT if
fails:File.readlink File.readlink with absolute paths raises an Errno::EINVAL if called with a normal file
fails:File.readlink File.readlink when changing the working directory returns the name of the file referenced by the given link
fails:File.readlink File.readlink when changing the working directory returns the name of the file referenced by the given link when the file does not exist
fails:File.readlink File.readlink with absolute paths returns the name of the file referenced by the given link
@@ -7,3 +7,4 @@ fails:File.realpath raises a Errno::ELOOP if the symlink points to itself
fails:File.realpath raises Errno::ENOENT if the file is absent
fails:File.realpath raises Errno::ENOENT if the symlink points to an absent file
fails:File.realpath uses link directory for expanding relative links
fails:File.realpath raises an Errno::ELOOP if the symlink points to itself
@@ -2,3 +2,4 @@ fails:File.rename renames a file
fails:File.rename raises an Errno::ENOENT if the source does not exist
fails:File.rename raises an ArgumentError if not passed two arguments
fails:File.rename raises a TypeError if not passed String types
fails:File.rename renames a file
@@ -1,3 +1,4 @@
fails:File::Stat#executable? returns true if named file is executable by the effective user id of the process, otherwise false
fails:File::Stat#executable? return true if the argument is an executable file
fails:File::Stat#executable? accepts an object that has a #to_path method
fails:File::Stat#executable? returns true if the argument is an executable file
@@ -1,2 +1,3 @@
fails:File::Stat#grpowned? returns true if the file exist
fails:File::Stat#grpowned? accepts an object that has a #to_path method
fails:File::Stat#grpowned? takes non primary groups into account
@@ -1 +1,3 @@
fails:Float#<=>
fails:Float#<=> returns -1, 0, 1 when self is less than, equal, or greater than other
fails:Float#<=> returns nil when either argument is NaN
@@ -0,0 +1 @@
fails:Hash.[] removes the default_proc
@@ -0,0 +1 @@
fails:Hash#default_proc= raises a RuntimeError if self is frozen
@@ -0,0 +1,2 @@
fails:Hash#inspect returns a tainted string if self is tainted and not empty
fails:Hash#inspect returns an untrusted string if self is untrusted and not empty
@@ -0,0 +1,2 @@
fails:Hash#to_a returns a tainted array if self is tainted
fails:Hash#to_a returns an untrusted array if self is untrusted
@@ -0,0 +1,2 @@
fails:Hash#to_s returns a tainted string if self is tainted and not empty
fails:Hash#to_s returns an untrusted string if self is untrusted and not empty
@@ -8,3 +8,4 @@ fails:Integer#gcdlcm works if self is a Bignum
fails:Integer#gcdlcm raises an ArgumentError if not given an argument
fails:Integer#gcdlcm raises an ArgumentError if given more than one argument
fails:Integer#gcdlcm raises an TypeError unless the argument is an Integer
fails:Integer#gcdlcm raises a TypeError unless the argument is an Integer
@@ -9,3 +9,4 @@ fails:Integer#lcm works if self is a Bignum
fails:Integer#lcm raises an ArgumentError if not given an argument
fails:Integer#lcm raises an ArgumentError if given more than one argument
fails:Integer#lcm raises an TypeError unless the argument is an Integer
fails:Integer#lcm raises a TypeError unless the argument is an Integer
@@ -1,3 +1,4 @@
fails:Integer#round returns itself rounded if passed a negative value
fails:Integer#round raises a RangeError when passed Float::INFINITY
fails:Integer#round raises a RangeError when passed a beyond signed int
fails:Integer#round raises a RangeError when passed a big negative value
@@ -42,3 +42,5 @@ fails:IO.for_fd accepts any truthy option :autoclose
fails:IO.for_fd raises an Errno::EBADF if the file descriptor is not valid
fails:IO.for_fd raises an Errno::EINVAL if the new mode is not compatible with the descriptor's current mode
fails:IO.for_fd raises ArgumentError if passed an empty mode string
fails:IO.for_fd uses the :encoding option as the external encoding when only one is given
fails:IO.for_fd uses the :encoding options as the external encoding when it's an Encoding object
@@ -20,3 +20,10 @@ fails:IO#gets calls #to_int to convert the second object argument to an Integer
fails:IO#gets calls #to_str to convert the first argument to a String when passed a limit
fails:IO#gets reads limit bytes when passed nil and a limit
fails:IO#gets reads until the next paragraph when passed '' and a limit greater than the next paragraph
fails:IO#gets uses the default external encoding
fails:IO#gets uses the IO object's external encoding, when set
fails:IO#gets transcodes into the default internal encoding
fails:IO#gets transcodes into the IO object's internal encoding, when set
fails:IO#gets overwrites the default external encoding with the IO object's own external encoding
fails:IO#gets ignores the internal encoding if the default external encoding is ASCII-8BIT
fails:IO#gets ignores the internal encoding if the IO object's external encoding is ASCII-8BIT

0 comments on commit 7325ed3

Please sign in to comment.