Skip to content
Browse files

Commented out 5 crashing specs. Created tags using:

$ bin/mspec tag -G fails -G unstable -G critical -B full :ci_files
  • Loading branch information...
1 parent c6b3878 commit b565bb17de152c192a0baa9328074a91df0830cd @marcandre marcandre committed Dec 3, 2009
Showing with 1,194 additions and 73 deletions.
  1. +30 −29 spec/frozen/language/versions/literal_lambda_1.9.rb
  2. +48 −44 spec/frozen/language/versions/method_1.9.rb
  3. +6 −0 spec/tags/core/kernel/const_lookup_tags.txt
  4. +1 −0 spec/tags/core/lookuptable/initialize_tags.txt
  5. +1 −0 spec/tags/frozen/core/argf/binmode_tags.txt
  6. +1 −0 spec/tags/frozen/core/argf/bytes_tags.txt
  7. +1 −0 spec/tags/frozen/core/argf/chars_tags.txt
  8. +1 −0 spec/tags/frozen/core/argf/each_byte_tags.txt
  9. +1 −0 spec/tags/frozen/core/argf/each_char_tags.txt
  10. +1 −0 spec/tags/frozen/core/argf/readlines_tags.txt
  11. +1 −0 spec/tags/frozen/core/argf/to_a_tags.txt
  12. +1 −0 spec/tags/frozen/core/array/append_tags.txt
  13. +2 −0 spec/tags/frozen/core/array/clear_tags.txt
  14. +1 −0 spec/tags/frozen/core/array/clone_tags.txt
  15. +5 −0 spec/tags/frozen/core/array/collect_tags.txt
  16. +1 −0 spec/tags/frozen/core/array/combination_tags.txt
  17. +3 −0 spec/tags/frozen/core/array/compact_tags.txt
  18. +4 −0 spec/tags/frozen/core/array/concat_tags.txt
  19. +2 −0 spec/tags/frozen/core/array/delete_at_tags.txt
  20. +3 −0 spec/tags/frozen/core/array/delete_if_tags.txt
  21. +2 −0 spec/tags/frozen/core/array/delete_tags.txt
  22. +1 −0 spec/tags/frozen/core/array/dup_tags.txt
  23. +1 −0 spec/tags/frozen/core/array/each_index_tags.txt
  24. +1 −0 spec/tags/frozen/core/array/each_tags.txt
  25. +2 −0 spec/tags/frozen/core/array/element_reference_tags.txt
  26. +9 −0 spec/tags/frozen/core/array/element_set_tags.txt
  27. +1 −0 spec/tags/frozen/core/array/fill_tags.txt
  28. +2 −0 spec/tags/frozen/core/array/flatten_tags.txt
  29. +2 −0 spec/tags/frozen/core/array/initialize_copy_tags.txt
  30. +2 −0 spec/tags/frozen/core/array/initialize_tags.txt
  31. +1 −0 spec/tags/frozen/core/array/insert_tags.txt
  32. +3 −0 spec/tags/frozen/core/array/join_tags.txt
  33. +5 −0 spec/tags/frozen/core/array/map_tags.txt
  34. +7 −0 spec/tags/frozen/core/array/multiply_tags.txt
  35. +360 −0 spec/tags/frozen/core/array/pack_tags.txt
  36. +1 −0 spec/tags/frozen/core/array/plus_tags.txt
  37. +5 −0 spec/tags/frozen/core/array/pop_tags.txt
  38. +3 −0 spec/tags/frozen/core/array/product_tags.txt
  39. +1 −0 spec/tags/frozen/core/array/push_tags.txt
  40. +3 −0 spec/tags/frozen/core/array/reject_tags.txt
  41. +1 −0 spec/tags/frozen/core/array/replace_tags.txt
  42. +1 −0 spec/tags/frozen/core/array/reverse_each_tags.txt
  43. +1 −0 spec/tags/frozen/core/array/reverse_tags.txt
  44. +1 −0 spec/tags/frozen/core/array/shift_tags.txt
  45. +1 −0 spec/tags/frozen/core/array/shuffle_tags.txt
  46. +1 −0 spec/tags/frozen/core/array/slice_tags.txt
  47. +6 −0 spec/tags/frozen/core/array/sort_by_tags.txt
  48. +2 −0 spec/tags/frozen/core/array/sort_tags.txt
  49. +2 −0 spec/tags/frozen/core/array/to_s_tags.txt
  50. +1 −0 spec/tags/frozen/core/array/uniq_tags.txt
  51. +1 −0 spec/tags/frozen/core/array/unshift_tags.txt
  52. +2 −0 spec/tags/frozen/core/basicobject/instance_exec_tags.txt
  53. +1 −0 spec/tags/frozen/core/basicobject/new_tags.txt
  54. +1 −0 spec/tags/frozen/core/bignum/bit_and_tags.txt
  55. +1 −0 spec/tags/frozen/core/bignum/bit_or_tags.txt
  56. +1 −0 spec/tags/frozen/core/bignum/bit_xor_tags.txt
  57. +1 −0 spec/tags/frozen/core/bignum/divmod_tags.txt
  58. +1 −0 spec/tags/frozen/core/bignum/quo_tags.txt
  59. +1 −0 spec/tags/frozen/core/bignum/remainder_tags.txt
  60. +1 −0 spec/tags/frozen/core/class/new_tags.txt
  61. +1 −0 spec/tags/frozen/core/class/superclass_tags.txt
  62. +2 −0 spec/tags/frozen/core/comparable/equal_value_tags.txt
  63. +4 −0 spec/tags/frozen/core/complex/Complex_tags.txt
  64. +1 −0 spec/tags/frozen/core/complex/abs2_tags.txt
  65. +1 −0 spec/tags/frozen/core/complex/abs_tags.txt
  66. +1 −0 spec/tags/frozen/core/complex/angle_tags.txt
  67. +1 −0 spec/tags/frozen/core/complex/arg_tags.txt
  68. +5 −0 spec/tags/frozen/core/complex/coerce_tags.txt
  69. +1 −0 spec/tags/frozen/core/complex/conj_tags.txt
  70. +1 −0 spec/tags/frozen/core/complex/conjugate_tags.txt
  71. +1 −0 spec/tags/frozen/core/complex/denominator_tags.txt
  72. +7 −0 spec/tags/frozen/core/complex/divide_tags.txt
  73. +3 −0 spec/tags/frozen/core/complex/equal_value_tags.txt
  74. +5 −0 spec/tags/frozen/core/complex/exponent_tags.txt
  75. +16 −0 spec/tags/frozen/core/complex/fdiv_tags.txt
  76. +1 −0 spec/tags/frozen/core/complex/hash_tags.txt
  77. +1 −0 spec/tags/frozen/core/complex/imag_tags.txt
  78. +2 −0 spec/tags/frozen/core/complex/inspect_tags.txt
  79. +2 −0 spec/tags/frozen/core/complex/integer_tags.txt
  80. +3 −0 spec/tags/frozen/core/complex/minus_tags.txt
  81. +3 −0 spec/tags/frozen/core/complex/multiply_tags.txt
  82. +1 −0 spec/tags/frozen/core/complex/numerator_tags.txt
  83. +3 −0 spec/tags/frozen/core/complex/plus_tags.txt
  84. +2 −0 spec/tags/frozen/core/complex/polar_tags.txt
  85. +5 −0 spec/tags/frozen/core/complex/real_tags.txt
  86. +5 −0 spec/tags/frozen/core/complex/rect_tags.txt
  87. +5 −0 spec/tags/frozen/core/complex/rectangular_tags.txt
  88. +2 −0 spec/tags/frozen/core/complex/to_s_tags.txt
  89. +1 −0 spec/tags/frozen/core/dir/chdir_tags.txt
  90. +1 −0 spec/tags/frozen/core/dir/chroot_tags.txt
  91. +1 −0 spec/tags/frozen/core/dir/delete_tags.txt
  92. +1 −0 spec/tags/frozen/core/dir/each_tags.txt
  93. +1 −0 spec/tags/frozen/core/dir/entries_tags.txt
  94. +10 −0 spec/tags/frozen/core/dir/exist_tags.txt
  95. +10 −0 spec/tags/frozen/core/dir/exists_tags.txt
  96. +2 −0 spec/tags/frozen/core/dir/foreach_tags.txt
  97. +3 −0 spec/tags/frozen/core/dir/home_tags.txt
  98. +1 −0 spec/tags/frozen/core/dir/mkdir_tags.txt
  99. +1 −0 spec/tags/frozen/core/dir/open_tags.txt
  100. +1 −0 spec/tags/frozen/core/dir/pwd_tags.txt
  101. +1 −0 spec/tags/frozen/core/dir/rmdir_tags.txt
  102. +1 −0 spec/tags/frozen/core/dir/unlink_tags.txt
  103. +8 −0 spec/tags/frozen/core/encoding/aliases_tags.txt
  104. +2 −0 spec/tags/frozen/core/encoding/ascii_compatible_tags.txt
  105. +4 −0 spec/tags/frozen/core/encoding/compatible_tags.txt
  106. +7 −0 spec/tags/frozen/core/encoding/converter/asciicompat_encoding_tags.txt
  107. +26 −0 spec/tags/frozen/core/encoding/converter/constants_tags.txt
  108. +7 −0 spec/tags/frozen/core/encoding/converter/convert_tags.txt
  109. +1 −0 spec/tags/frozen/core/encoding/converter/destination_encoding_tags.txt
  110. +6 −0 spec/tags/frozen/core/encoding/converter/finish_tags.txt
  111. +10 −0 spec/tags/frozen/core/encoding/converter/last_error_tags.txt
  112. +21 −0 spec/tags/frozen/core/encoding/converter/primitive_convert_tags.txt
  113. +10 −0 spec/tags/frozen/core/encoding/converter/primitive_errinfo_tags.txt
  114. +6 −0 spec/tags/frozen/core/encoding/converter/putback_tags.txt
  115. +8 −0 spec/tags/frozen/core/encoding/converter/replacement_tags.txt
  116. +1 −0 spec/tags/frozen/core/encoding/converter/source_encoding_tags.txt
  117. +7 −0 spec/tags/frozen/core/encoding/default_internal_tags.txt
  118. +2 −0 spec/tags/frozen/core/encoding/dummy_tags.txt
  119. +3 −0 spec/tags/frozen/core/encoding/inspect_tags.txt
  120. +2 −0 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/destination_encoding_name_tags.txt
  121. +2 −0 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/destination_encoding_tags.txt
  122. +3 −0 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/error_bytes_tags.txt
  123. +3 −0 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/incomplete_input_tags.txt
  124. +3 −0 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/readagain_bytes_tags.txt
  125. +3 −0 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/source_encoding_name_tags.txt
  126. +3 −0 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/source_encoding_tags.txt
  127. +7 −0 spec/tags/frozen/core/encoding/list_tags.txt
  128. +3 −0 spec/tags/frozen/core/encoding/locale_charmap_tags.txt
  129. +4 −0 spec/tags/frozen/core/encoding/name_list_tags.txt
  130. +2 −0 spec/tags/frozen/core/encoding/name_tags.txt
  131. +4 −0 spec/tags/frozen/core/encoding/names_tags.txt
  132. +2 −0 spec/tags/frozen/core/encoding/to_s_tags.txt
  133. +2 −0 spec/tags/frozen/core/encoding/undefined_conversion_error/destination_encoding_name_tags.txt
  134. +2 −0 spec/tags/frozen/core/encoding/undefined_conversion_error/destination_encoding_tags.txt
  135. +3 −0 spec/tags/frozen/core/encoding/undefined_conversion_error/error_char_tags.txt
  136. +3 −0 spec/tags/frozen/core/encoding/undefined_conversion_error/source_encoding_name_tags.txt
  137. +3 −0 spec/tags/frozen/core/encoding/undefined_conversion_error/source_encoding_tags.txt
  138. +2 −0 spec/tags/frozen/core/enumerable/collect_tags.txt
  139. +1 −0 spec/tags/frozen/core/enumerable/detect_tags.txt
  140. +1 −0 spec/tags/frozen/core/enumerable/drop_while_tags.txt
  141. +1 −0 spec/tags/frozen/core/enumerable/each_cons_tags.txt
  142. +1 −0 spec/tags/frozen/core/enumerable/each_slice_tags.txt
  143. +1 −0 spec/tags/frozen/core/enumerable/each_with_index_tags.txt
  144. +1 −0 spec/tags/frozen/core/enumerable/find_all_tags.txt
  145. +1 −0 spec/tags/frozen/core/enumerable/find_index_tags.txt
  146. +1 −0 spec/tags/frozen/core/enumerable/find_tags.txt
  147. +1 −0 spec/tags/frozen/core/enumerable/group_by_tags.txt
  148. +9 −0 spec/tags/frozen/core/enumerable/join_tags.txt
  149. +2 −0 spec/tags/frozen/core/enumerable/map_tags.txt
  150. +1 −0 spec/tags/frozen/core/enumerable/max_by_tags.txt
  151. +1 −0 spec/tags/frozen/core/enumerable/min_by_tags.txt
  152. +1 −0 spec/tags/frozen/core/enumerable/minmax_by_tags.txt
  153. +1 −0 spec/tags/frozen/core/enumerable/partition_tags.txt
  154. +1 −0 spec/tags/frozen/core/enumerable/reject_tags.txt
  155. +1 −0 spec/tags/frozen/core/enumerable/reverse_each_tags.txt
  156. +1 −0 spec/tags/frozen/core/enumerable/select_tags.txt
  157. +1 −0 spec/tags/frozen/core/enumerable/sort_by_tags.txt
  158. +1 −0 spec/tags/frozen/core/enumerable/take_while_tags.txt
  159. +1 −0 spec/tags/frozen/core/enumerable/zip_tags.txt
  160. +7 −0 spec/tags/frozen/core/enumerator/each_tags.txt
  161. +3 −0 spec/tags/frozen/core/enumerator/each_with_index_tags.txt
  162. +1 −0 spec/tags/frozen/core/enumerator/each_with_object_tags.txt
  163. +1 −0 spec/tags/frozen/core/enumerator/enum_for_tags.txt
  164. +8 −0 spec/tags/frozen/core/enumerator/new_tags.txt
  165. +3 −0 spec/tags/frozen/core/enumerator/next_tags.txt
  166. +5 −0 spec/tags/frozen/core/enumerator/peek_tags.txt
  167. +6 −0 spec/tags/frozen/core/enumerator/rewind_tags.txt
  168. +1 −0 spec/tags/frozen/core/enumerator/to_enum_tags.txt
  169. +6 −0 spec/tags/frozen/core/enumerator/with_index_tags.txt
  170. +3 −0 spec/tags/frozen/core/enumerator/with_object_tags.txt
  171. +1 −0 spec/tags/frozen/core/env/delete_if_tags.txt
  172. +2 −0 spec/tags/frozen/core/env/each_key_tags.txt
  173. +2 −0 spec/tags/frozen/core/env/each_pair_tags.txt
  174. +2 −0 spec/tags/frozen/core/env/each_tags.txt
  175. +2 −0 spec/tags/frozen/core/env/each_value_tags.txt
  176. +1 −0 spec/tags/frozen/core/env/element_reference_tags.txt
  177. +1 −0 spec/tags/frozen/core/env/fetch_tags.txt
  178. +1 −0 spec/tags/frozen/core/env/keys_tags.txt
  179. +2 −0 spec/tags/frozen/core/env/reject_tags.txt
  180. +2 −0 spec/tags/frozen/core/env/select_tags.txt
  181. +1 −0 spec/tags/frozen/core/env/to_a_tags.txt
  182. +1 −0 spec/tags/frozen/core/env/values_at_tags.txt
  183. +1 −0 spec/tags/frozen/core/env/values_tags.txt
  184. +6 −0 spec/tags/frozen/core/exception/equal_value_tags.txt
  185. +1 −0 spec/tags/frozen/core/exception/exception_tags.txt
  186. +1 −0 spec/tags/frozen/core/exception/to_str_tags.txt
  187. +6 −0 spec/tags/frozen/core/fiber/new_tags.txt
  188. +5 −0 spec/tags/frozen/core/fiber/yield_tags.txt
  189. +5 −0 spec/tags/frozen/core/file/absolute_path_tags.txt
  190. +1 −0 spec/tags/frozen/core/file/atime_tags.txt
  191. +1 −0 spec/tags/frozen/core/file/basename_tags.txt
  192. +1 −0 spec/tags/frozen/core/file/blockdev_tags.txt
  193. +1 −0 spec/tags/frozen/core/file/chardev_tags.txt
  194. +1 −0 spec/tags/frozen/core/file/chmod_tags.txt
  195. +1 −0 spec/tags/frozen/core/file/ctime_tags.txt
  196. +1 −0 spec/tags/frozen/core/file/delete_tags.txt
  197. +1 −0 spec/tags/frozen/core/file/directory_tags.txt
  198. +1 −0 spec/tags/frozen/core/file/dirname_tags.txt
  199. +1 −0 spec/tags/frozen/core/file/executable_real_tags.txt
  200. +1 −0 spec/tags/frozen/core/file/executable_tags.txt
  201. +1 −0 spec/tags/frozen/core/file/exist_tags.txt
  202. +1 −0 spec/tags/frozen/core/file/exists_tags.txt
  203. +2 −0 spec/tags/frozen/core/file/expand_path_tags.txt
  204. +1 −0 spec/tags/frozen/core/file/extname_tags.txt
  205. +1 −0 spec/tags/frozen/core/file/file_tags.txt
  206. +2 −0 spec/tags/frozen/core/file/fnmatch_tags.txt
  207. +1 −0 spec/tags/frozen/core/file/grpowned_tags.txt
  208. +1 −0 spec/tags/frozen/core/file/identical_tags.txt
  209. +2 −0 spec/tags/frozen/core/file/initialize_tags.txt
  210. +1 −0 spec/tags/frozen/core/file/join_tags.txt
  211. +1 −0 spec/tags/frozen/core/file/lstat_tags.txt
  212. +1 −0 spec/tags/frozen/core/file/new_tags.txt
  213. +1 −0 spec/tags/frozen/core/file/path_tags.txt
  214. +1 −0 spec/tags/frozen/core/file/readable_real_tags.txt
  215. +1 −0 spec/tags/frozen/core/file/readable_tags.txt
  216. +1 −0 spec/tags/frozen/core/file/reopen_tags.txt
  217. +9 −0 spec/tags/frozen/core/file/size_tags.txt
  218. +1 −0 spec/tags/frozen/core/file/split_tags.txt
  219. +1 −0 spec/tags/frozen/core/file/stat/blockdev_tags.txt
  220. +1 −0 spec/tags/frozen/core/file/stat/chardev_tags.txt
  221. +1 −0 spec/tags/frozen/core/file/stat/directory_tags.txt
  222. +1 −0 spec/tags/frozen/core/file/stat/executable_real_tags.txt
  223. +1 −0 spec/tags/frozen/core/file/stat/executable_tags.txt
  224. +1 −0 spec/tags/frozen/core/file/stat/file_tags.txt
  225. +1 −0 spec/tags/frozen/core/file/stat/grpowned_tags.txt
  226. +1 −0 spec/tags/frozen/core/file/stat/new_tags.txt
  227. +1 −0 spec/tags/frozen/core/file/stat/readable_real_tags.txt
  228. +1 −0 spec/tags/frozen/core/file/stat/readable_tags.txt
  229. +2 −0 spec/tags/frozen/core/file/stat/size_tags.txt
  230. +1 −0 spec/tags/frozen/core/file/stat/symlink_tags.txt
  231. +6 −0 spec/tags/frozen/core/file/stat/world_readable_tags.txt
  232. +6 −0 spec/tags/frozen/core/file/stat/world_writable_tags.txt
  233. +1 −0 spec/tags/frozen/core/file/stat/writable_real_tags.txt
  234. +1 −0 spec/tags/frozen/core/file/stat/writable_tags.txt
  235. +1 −0 spec/tags/frozen/core/file/stat/zero_tags.txt
  236. +1 −0 spec/tags/frozen/core/file/stat_tags.txt
  237. +2 −0 spec/tags/frozen/core/file/symlink_tags.txt
  238. +5 −0 spec/tags/frozen/core/file/to_path_tags.txt
  239. +1 −0 spec/tags/frozen/core/file/truncate_tags.txt
  240. +1 −0 spec/tags/frozen/core/file/unlink_tags.txt
  241. +1 −0 spec/tags/frozen/core/file/utime_tags.txt
  242. +7 −0 spec/tags/frozen/core/file/world_readable_tags.txt
  243. +7 −0 spec/tags/frozen/core/file/world_writable_tags.txt
  244. +1 −0 spec/tags/frozen/core/file/writable_real_tags.txt
  245. +1 −0 spec/tags/frozen/core/file/writable_tags.txt
  246. +1 −0 spec/tags/frozen/core/file/zero_tags.txt
  247. +1 −0 spec/tags/frozen/core/filetest/blockdev_tags.txt
  248. +1 −0 spec/tags/frozen/core/filetest/chardev_tags.txt
  249. +1 −0 spec/tags/frozen/core/filetest/directory_tags.txt
  250. +1 −0 spec/tags/frozen/core/filetest/executable_real_tags.txt
  251. +1 −0 spec/tags/frozen/core/filetest/executable_tags.txt
  252. +1 −0 spec/tags/frozen/core/filetest/exist_tags.txt
  253. +1 −0 spec/tags/frozen/core/filetest/exists_tags.txt
  254. +1 −0 spec/tags/frozen/core/filetest/file_tags.txt
  255. +1 −0 spec/tags/frozen/core/filetest/grpowned_tags.txt
  256. +1 −0 spec/tags/frozen/core/filetest/identical_tags.txt
  257. +1 −0 spec/tags/frozen/core/filetest/readable_real_tags.txt
  258. +1 −0 spec/tags/frozen/core/filetest/readable_tags.txt
  259. +2 −0 spec/tags/frozen/core/filetest/size_tags.txt
  260. +1 −0 spec/tags/frozen/core/filetest/symlink_tags.txt
  261. +1 −0 spec/tags/frozen/core/filetest/writable_real_tags.txt
  262. +1 −0 spec/tags/frozen/core/filetest/writable_tags.txt
  263. +1 −0 spec/tags/frozen/core/filetest/zero_tags.txt
  264. +1 −0 spec/tags/frozen/core/fixnum/div_tags.txt
  265. +1 −0 spec/tags/frozen/core/fixnum/divmod_tags.txt
  266. +1 −0 spec/tags/frozen/core/fixnum/exponent_tags.txt
  267. +2 −0 spec/tags/frozen/core/fixnum/modulo_tags.txt
  268. +1 −0 spec/tags/frozen/core/fixnum/quo_tags.txt
  269. +3 −0 spec/tags/frozen/core/float/denominator_tags.txt
  270. +1 −0 spec/tags/frozen/core/float/divmod_tags.txt
  271. +2 −0 spec/tags/frozen/core/float/fdiv_tags.txt
  272. +2 −0 spec/tags/frozen/core/float/modulo_tags.txt
  273. +5 −0 spec/tags/frozen/core/float/numerator_tags.txt
  274. +5 −0 spec/tags/frozen/core/float/rationalize_tags.txt
  275. +1 −0 spec/tags/frozen/core/float/to_s_tags.txt
  276. +7 −0 spec/tags/frozen/core/hash/assoc_tags.txt
  277. +1 −0 spec/tags/frozen/core/hash/clear_tags.txt
  278. +14 −0 spec/tags/frozen/core/hash/compare_by_identity_tags.txt
  279. +4 −0 spec/tags/frozen/core/hash/default_proc_tags.txt
  280. +1 −0 spec/tags/frozen/core/hash/default_tags.txt
  281. +3 −0 spec/tags/frozen/core/hash/delete_if_tags.txt
  282. +1 −0 spec/tags/frozen/core/hash/delete_tags.txt
  283. +2 −0 spec/tags/frozen/core/hash/each_key_tags.txt
  284. +3 −0 spec/tags/frozen/core/hash/each_pair_tags.txt
  285. +2 −0 spec/tags/frozen/core/hash/each_tags.txt
  286. +2 −0 spec/tags/frozen/core/hash/each_value_tags.txt
  287. +1 −0 spec/tags/frozen/core/hash/element_set_tags.txt
  288. +9 −0 spec/tags/frozen/core/hash/flatten_tags.txt
  289. +2 −0 spec/tags/frozen/core/hash/initialize_copy_tags.txt
  290. +2 −0 spec/tags/frozen/core/hash/initialize_tags.txt
  291. +4 −0 spec/tags/frozen/core/hash/key_tags.txt
  292. +1 −0 spec/tags/frozen/core/hash/keys_tags.txt
  293. +1 −0 spec/tags/frozen/core/hash/merge_tags.txt
  294. +7 −0 spec/tags/frozen/core/hash/rassoc_tags.txt
  295. +1 −0 spec/tags/frozen/core/hash/rehash_tags.txt
  296. +5 −0 spec/tags/frozen/core/hash/reject_tags.txt
  297. +1 −0 spec/tags/frozen/core/hash/replace_tags.txt
  298. +3 −0 spec/tags/frozen/core/hash/select_tags.txt
  299. +1 −0 spec/tags/frozen/core/hash/shift_tags.txt
  300. +1 −0 spec/tags/frozen/core/hash/store_tags.txt
Sorry, we could not display the entire diff because too many files (647) changed.
View
59 spec/frozen/language/versions/literal_lambda_1.9.rb
@@ -6,54 +6,55 @@
it "returns a Proc object" do
->(){}.should be_an_instance_of(Proc)
end
-
+
it "returns a lambda" do
->(){}.lambda?.should be_true
end
-
+
it "can be assigned to a variable" do
var = ->(){}
var.lambda?.should be_true
end
-
+
it "understands a do/end block in place of {}" do
lambda do
->() do
end
end.should_not raise_error(SyntaxError)
end
-
+
it "requires an associated block" do
lambda { eval "->()" }.should raise_error(SyntaxError)
lambda { eval "->" }.should raise_error(SyntaxError)
end
-
+
it "can be interpolated into a String" do
"1+2=#{->{ 1 + 2}.call}".should == "1+2=3"
end
-
+
it "can be be used as a Hash key" do
h = new_hash
h[->(one=1){ one + 2}.call] = :value
h.key?(3).should be_true
end
-
- it "can be used in method parameter lists" do
- def glark7654(a=-> { :foo })
- a.call
- end
- glark7654.should == :foo
- end
-
+
+ ### Crashes rubinius
+ # it "can be used in method parameter lists" do
+ # def glark7654(a=-> { :foo })
+ # a.call
+ # end
+ # glark7654.should == :foo
+ # end
+ #
it "accepts an parameter list between the parenthesis" do
lambda { ->(a) {} }.should_not raise_error(SyntaxError)
lambda { ->(a,b) {} }.should_not raise_error(SyntaxError)
end
-
+
it "accepts an empty parameter list" do
lambda { ->() {} }.should_not raise_error(SyntaxError)
end
-
+
it "allows the parenthesis to be omitted entirely" do
lambda { -> {} }.should_not raise_error(SyntaxError)
lambda { ->{} }.should_not raise_error(SyntaxError)
@@ -63,56 +64,56 @@ def glark7654(a=-> { :foo })
end.should_not raise_error(SyntaxError)
->{}.should be_an_instance_of(Proc)
end
-
+
it "aliases each argument to the corresponding parameter" do
->(a) {a}.call(:sym).should == :sym
->(a,b) {[a, b]}.call(:sym, :bol).should == [:sym, :bol]
end
-
+
it "accepts parameters with default parameters between the parenthesis" do
lambda { ->(a=1) {} }.should_not raise_error(SyntaxError)
lambda { ->(x=1, b=[]) {} }.should_not raise_error(SyntaxError)
end
-
+
it "aliases each argument with a default value to the corresponding parameter" do
->(a=:cymbal) {a}.call(:sym).should == :sym
->(a,b=:cymbal) {[a, b]}.call(:sym, :bol).should == [:sym, :bol]
end
-
+
it "sets arguments to their default value if one wasn't supplied" do
->(a=:cymbal) {a}.call.should == :cymbal
->(a,b=:cymbal) {[a, b]}.call(:sym).should == [:sym, :cymbal]
end
-
+
it "accepts a parameter prefixed with an asterisk between the parenthesis" do
lambda { ->(*a) {} }.should_not raise_error(SyntaxError)
lambda { ->(x, *a) {} }.should_not raise_error(SyntaxError)
end
-
+
it "assigns all remaining arguments to the variable in the parameter list prefixed with an asterisk, if one exists" do
->(*a) {a}.call(:per, :cus, :si, :on).should == [:per, :cus, :si, :on]
->(a,*b) {b}.call(:per, :cus, :si, :on).should == [:cus, :si, :on]
end
-
+
it "accepts a parameter prefixed with an ampersand between the parenthesis" do
lambda { ->(&a) {} }.should_not raise_error(SyntaxError)
lambda { ->(x, &a) {} }.should_not raise_error(SyntaxError)
end
-
+
it "assigns the given block to the parameter prefixed with an ampersand if such a parameter exists" do
l = ->(&a) { a }.call { :foo }
l.call.should == :foo
end
-
+
it "assigns nil to the parameter prefixed with an ampersand unless a block was supplied" do
->(&a) { a }.call.should be_nil
end
-
+
it "accepts a combination of argument types between the parenthesis" do
lambda { ->(x, y={}, z = Object.new, *a, &b) {} }.
should_not raise_error(SyntaxError)
end
-
+
it "sets parameters appropriately when a combination of parameter types is given between the parenthesis" do
l = ->(x, y={}, z = Object.new, *a, &b) { [x,y,z,a,b]}
l.call(1, [], [], 30, 40).should == [1, [], [], [30, 40], nil]
@@ -121,13 +122,13 @@ def glark7654(a=-> { :foo })
l2 = ->(x, y={}, *a) { [x, y, a]}
l2.call(:x).should == [:x, {}, []]
end
-
+
it "uses lambda's 'rigid' argument handling" do
->(a, b){}.parameters.first.first.should == :req
->(a, b){}.parameters.last.first.should == :req
lambda { ->(a, b){}.call 1 }.should raise_error(ArgumentError)
end
-
+
it "does not call the associated block" do
@called = false
->() { @called = true }
View
92 spec/frozen/language/versions/method_1.9.rb
@@ -1,23 +1,24 @@
# FIXME: Add error case
describe "Calling a method" do
- it "works with required args after rest arguments" do
- def fooP0RQ1(*r, q); [r, q]; end
- fooP0RQ1(1).should == [[], 1]
- fooP0RQ1(1,2).should == [[1], 2]
- fooP0RQ1(1,2,3).should == [[1,2], 3]
-
- def fooP1RQ1(a, *r, q); [a, r, q]; end
- fooP1RQ1(1,2).should == [1, [], 2]
- fooP1RQ1(1,2,3).should == [1, [2], 3]
- fooP1RQ1(1,2,3,4).should == [1, [2, 3], 4]
-
- def fooP1O1RQ1(a, b=9, *r, q); [a, b, r, q]; end
- fooP1O1RQ1(1,2).should == [1, 9, [], 2]
- fooP1O1RQ1(1,2,3).should == [1, 2, [], 3]
- fooP1O1RQ1(1,2,3,4).should == [1, 2, [3], 4]
- end
-
+ ### Crashes rubinius
+ # it "works with required args after rest arguments" do
+ # def fooP0RQ1(*r, q); [r, q]; end
+ # fooP0RQ1(1).should == [[], 1]
+ # fooP0RQ1(1,2).should == [[1], 2]
+ # fooP0RQ1(1,2,3).should == [[1,2], 3]
+ #
+ # def fooP1RQ1(a, *r, q); [a, r, q]; end
+ # fooP1RQ1(1,2).should == [1, [], 2]
+ # fooP1RQ1(1,2,3).should == [1, [2], 3]
+ # fooP1RQ1(1,2,3,4).should == [1, [2, 3], 4]
+ #
+ # def fooP1O1RQ1(a, b=9, *r, q); [a, b, r, q]; end
+ # fooP1O1RQ1(1,2).should == [1, 9, [], 2]
+ # fooP1O1RQ1(1,2,3).should == [1, 2, [], 3]
+ # fooP1O1RQ1(1,2,3,4).should == [1, 2, [3], 4]
+ # end
+
it "works with block arguments" do
def fooP0Q0B(&a); [a.(1)]; end
fooP0Q0B() { |z| z }.should == [1]
@@ -28,7 +29,7 @@ def fooP1O1Q0B(a, b=2, &c); [a, b, c.(3)]; end
def fooP1O1RQ0B(a, b=2, *c, &d); [a, b, c, d.(5)]; end
fooP1O1RQ0B(1, 2, 3, 4) { |z| z }.should == [1, 2, [3, 4], 5]
end
-
+
it "works with vestigial trailing ',' in call" do
def fooP1Q0(a); [a]; end
fooP1Q0(1,).should == [1]
@@ -76,35 +77,35 @@ def fooP1Q0(a); [a]; end
it "with splat operator * and non-Array value attempts to coerce it to Array if the object respond_to?(:to_a)" do
def fooP3(a,b,c); a+b+c end
def fooP4(a,b,c,d); a+b+c+d end
-
+
obj = "pseudo-array"
class << obj
def to_a; [2,3,4] end
end
fooP3(*obj).should == 9
fooP4(1,*obj).should == 10
end
-
+
it "with splat operator * and non-Array value uses value unchanged if it does not respond_to?(:to_a)" do
def fooP0R(*args); args.length end
-
+
obj = Object.new
obj.should_not respond_to(:to_a)
fooP0R(*obj).should == 1
fooP0R(1,2,*obj,3).should == 4
end
-
+
it "accepts additional arguments after splat expansion" do
def fooP4(a,b,c,d); a+b+c+d end
-
+
a = [1,2]
fooP4(*a,3,4).should == 10
fooP4(0,*a,3).should == 6
end
-
+
it "accepts multiple splat expansions in the same argument list" do
def fooP0R(*args); args.length end
-
+
a = [1,2,3]
b = 7
c = "pseudo-array"
@@ -114,27 +115,30 @@ def c.to_a; [0,0] end
fooP0R(0,*a,4,*5,6,7,*c,-1).should == 11
end
- it "expands an array to arguments grouped in parentheses" do
- def fooP1((a,b)); a+b; end
-
- fooP1([40,2]).should == 42
- end
-
- it "expands an array to arguments grouped in parentheses and ignores any rest arguments in the array" do
- def fooP1((a,b)); a+b; end
-
- fooP1([40,2,84]).should == 42
- end
-
- it "expands an array to arguments grouped in parentheses and sets not specified arguments to nil" do
- def fooP1((a,b)); [a,b]; end
-
- fooP1([42]).should == [42, nil]
- end
-
+ ### Crashes rubinius
+ # it "expands an array to arguments grouped in parentheses" do
+ # def fooP1((a,b)); a+b; end
+ #
+ # fooP1([40,2]).should == 42
+ # end
+
+ ### Crashes rubinius
+ # it "expands an array to arguments grouped in parentheses and ignores any rest arguments in the array" do
+ # def fooP1((a,b)); a+b; end
+ #
+ # fooP1([40,2,84]).should == 42
+ # end
+
+ ### Crashes rubinius
+ # it "expands an array to arguments grouped in parentheses and sets not specified arguments to nil" do
+ # def fooP1((a,b)); [a,b]; end
+ #
+ # fooP1([42]).should == [42, nil]
+ # end
+
it "expands an array to arguments grouped in parentheses which in turn takes rest arguments" do
def fooP1((a,b,*c,d,e)); [a,b,c,d,e]; end
-
+
fooP1([1, 2, 3]).should == [1, 2, [], 3, nil]
fooP1([1, 2, 3, 4]).should == [1, 2, [], 3, 4]
fooP1([1, 2, 3, 4, 5]).should == [1, 2, [3], 4, 5]
View
6 spec/tags/core/kernel/const_lookup_tags.txt
@@ -0,0 +1,6 @@
+fails:Kernel#const_lookup returns the constant specified by 'A::B'
+fails:Kernel#const_lookup returns a regular constant specified without scoping
+fails:Kernel#const_lookup returns an explicit toplevel constant
+fails:Kernel#const_lookup returns the constant from the proper scope
+fails:Kernel#const_lookup raises NameError if the constant is not contained within the module's scope
+fails:Kernel#const_lookup returns the value of #const_missing
View
1 spec/tags/core/lookuptable/initialize_tags.txt
@@ -0,0 +1 @@
+fails:Rubinius::LookupTable#initialize is private
View
1 spec/tags/frozen/core/argf/binmode_tags.txt
@@ -0,0 +1 @@
+fails:ARGF.binmode sets the file's encoding to ASCII-8BIT
View
1 spec/tags/frozen/core/argf/bytes_tags.txt
@@ -0,0 +1 @@
+fails:ARGF.bytes returns an Enumerator when passed no block
View
1 spec/tags/frozen/core/argf/chars_tags.txt
@@ -0,0 +1 @@
+fails:ARGF.chars returns an Enumerator when passed no block
View
1 spec/tags/frozen/core/argf/each_byte_tags.txt
@@ -0,0 +1 @@
+fails:ARGF.each_byte returns an Enumerator when passed no block
View
1 spec/tags/frozen/core/argf/each_char_tags.txt
@@ -0,0 +1 @@
+fails:ARGF.each_char returns an Enumerator when passed no block
View
1 spec/tags/frozen/core/argf/readlines_tags.txt
@@ -0,0 +1 @@
+fails:ARGF.readlines returns an empty Array when end of stream reached
View
1 spec/tags/frozen/core/argf/to_a_tags.txt
@@ -0,0 +1 @@
+fails:ARGF.to_a returns an empty Array when end of stream reached
View
1 spec/tags/frozen/core/array/append_tags.txt
@@ -0,0 +1 @@
+fails:Array#<< raises a RuntimeError on a frozen array
View
2 spec/tags/frozen/core/array/clear_tags.txt
@@ -0,0 +1,2 @@
+fails:Array#clear keeps untrusted status
+fails:Array#clear raises a RuntimeError on a frozen array
View
1 spec/tags/frozen/core/array/clone_tags.txt
@@ -0,0 +1 @@
+fails:Array#clone copies untrusted status from the original
View
5 spec/tags/frozen/core/array/collect_tags.txt
@@ -0,0 +1,5 @@
+fails:Array#collect returns an Enumerator when no block given
+fails:Array#collect does not copy untrusted status
+fails:Array#collect! returns an Enumerator when no block given, and the enumerator can modify the original array
+fails:Array#collect! keeps untrusted status
+fails:Array#collect! raises a RuntimeError on a frozen array
View
1 spec/tags/frozen/core/array/combination_tags.txt
@@ -0,0 +1 @@
+fails:Array#combination returns an enumerator when no block is provided
View
3 spec/tags/frozen/core/array/compact_tags.txt
@@ -0,0 +1,3 @@
+fails:Array#compact keeps untrusted status even if all elements are removed
+fails:Array#compact! keeps untrusted status even if all elements are removed
+fails:Array#compact! raises a RuntimeError on a frozen array
View
4 spec/tags/frozen/core/array/concat_tags.txt
@@ -0,0 +1,4 @@
+fails:Array#concat raises a RuntimeError when Array is frozen and modification occurs
+fails:Array#concat keeps untrusted status
+fails:Array#concat is not infected untrustedness by the other
+fails:Array#concat keeps the untrusted status of elements
View
2 spec/tags/frozen/core/array/delete_at_tags.txt
@@ -0,0 +1,2 @@
+fails:Array#delete_at raises a RuntimeError on a frozen array
+fails:Array#delete_at keeps untrusted status
View
3 spec/tags/frozen/core/array/delete_if_tags.txt
@@ -0,0 +1,3 @@
+fails:Array#delete_if returns an Enumerator if no block given, and the enumerator can modify the original array
+fails:Array#delete_if raises a RuntimeError on a frozen array
+fails:Array#delete_if keeps untrusted status
View
2 spec/tags/frozen/core/array/delete_tags.txt
@@ -0,0 +1,2 @@
+fails:Array#delete raises a RuntimeError on a frozen array
+fails:Array#delete keeps untrusted status
View
1 spec/tags/frozen/core/array/dup_tags.txt
@@ -0,0 +1 @@
+fails:Array#dup copies untrusted status from the original
View
1 spec/tags/frozen/core/array/each_index_tags.txt
@@ -0,0 +1 @@
+fails:Array#each_index returns an Enumerator if no block given
View
1 spec/tags/frozen/core/array/each_tags.txt
@@ -0,0 +1 @@
+fails:Array#each returns an Enumerator if no block given
View
2 spec/tags/frozen/core/array/element_reference_tags.txt
@@ -0,0 +1,2 @@
+fails:Array.[] can unpack 2 or more nested referenced array
+fails:Array.[] constructs a nested Hash for tailing key-value pairs
View
9 spec/tags/frozen/core/array/element_set_tags.txt
@@ -0,0 +1,9 @@
+fails:Array#[]= just sets the section defined by [start,length] to other even if other is nil
+fails:Array#[]= just sets the section defined by range to other even if other is nil
+fails:Array#[]= just inserts nil if the section defined by range is zero-width and the rhs is nil
+fails:Array#[]= just inserts nil if the section defined by range has negative width and the rhs is nil
+fails:Array#[]= raises a RuntimeError on a frozen array
+fails:Array#[]= with [index, count] just sets the section defined by [start,length] to nil even if the rhs is nil
+fails:Array#[]= with [index, count] just sets the section defined by [start,length] to nil if negative index within bounds, cnt > 0 and the rhs is nil
+fails:Array#[]= with [m..n] just sets the section defined by range to nil even if the rhs is nil
+fails:Array#[]= with [m..n] just sets the section defined by range to nil if m and n < 0 and the rhs is nil
View
1 spec/tags/frozen/core/array/fill_tags.txt
@@ -0,0 +1 @@
+fails:Array#fill raises a RuntimeError on a frozen array
View
2 spec/tags/frozen/core/array/flatten_tags.txt
@@ -0,0 +1,2 @@
+fails:Array#flatten returns dup when the level of recursion is 0
+fails:Array#flatten! raises a RuntimeError on frozen arrays
View
2 spec/tags/frozen/core/array/initialize_copy_tags.txt
@@ -0,0 +1,2 @@
+fails:Array#initialize_copy is private
+fails:Array#initialize_copy raises a RuntimeError on a frozen array
View
2 spec/tags/frozen/core/array/initialize_tags.txt
@@ -0,0 +1,2 @@
+fails:Array#initialize is private
+fails:Array#initialize raises a RuntimeError on frozen arrays
View
1 spec/tags/frozen/core/array/insert_tags.txt
@@ -0,0 +1 @@
+fails:Array#insert raises a RuntimeError on frozen arrays
View
3 spec/tags/frozen/core/array/join_tags.txt
@@ -0,0 +1,3 @@
+fails:Array#join raises an ArgumentError when the Array is recursive
+fails:Array#join does not consider untrustworthiness of either the array or the separator when the array is empty
+fails:Array#join returns a string which would be infected with untrustworthiness of the array, its elements or the separator when the array is not empty
View
5 spec/tags/frozen/core/array/map_tags.txt
@@ -0,0 +1,5 @@
+fails:Array#map returns an Enumerator when no block given
+fails:Array#map does not copy untrusted status
+fails:Array#map! returns an Enumerator when no block given, and the enumerator can modify the original array
+fails:Array#map! keeps untrusted status
+fails:Array#map! raises a RuntimeError on a frozen array
View
7 spec/tags/frozen/core/array/multiply_tags.txt
@@ -0,0 +1,7 @@
+fails:Array#* with an integer copies the taint status of the original array even if the passed count is 0
+fails:Array#* with an integer copies the untrusted status of the original array even if the passed count is 0
+fails:Array#* with an integer copies the untrusted status of the original array even if the array is empty
+fails:Array#* with an integer copies the untrusted status of the original array if the passed count is not 0
+fails:Array#* with a string raises an ArgumentError when the Array is recursive
+fails:Array#* with a string does not consider untrustworthiness of either the array or the separator when the array is empty
+fails:Array#* with a string returns a string which would be infected with untrustworthiness of the array, its elements or the separator when the array is not empty
View
360 spec/tags/frozen/core/array/pack_tags.txt
@@ -15,3 +15,363 @@ unstable(fix these for big-endian):Array#pack with format 'f' keeps order of non
unstable(fix these for big-endian):Array#pack with format 'f' reverses order of nonpositive real numbers
unstable(fix these for big-endian):Array#pack with format 'd' keeps order of nonnegative real numbers
unstable(fix these for big-endian):Array#pack with format 'd' reverses order of nonpositive real numbers
+fails:Array#pack sequentially processes each pack format, which consumes element in the array, and finally concatenates their result
+fails:Array#pack ignores white spaces
+fails:Array#pack returns a tainted string when the format is tainted
+fails:Array#pack returns a tainted string when the format is tainted even if the given format is empty
+fails:Array#pack returns a untrusted string when the format is untrusted
+fails:Array#pack returns a untrusted string when the format is untrusted even if the given format is empty
+fails:Array#pack returns a untrusted string when a pack argument is untrusted
+fails:Array#pack returns a trusted string even if the array is untrusted
+fails:Array#pack returns a string in encoding of common to the concatenated results
+fails:Array#pack with the empty format returns an empty String in US-ASCII
+fails:Array#pack with format 'A' treats a multibyte character just as a byte sequence
+fails:Array#pack with format 'A' returns result in ASCII-8BIT
+fails:Array#pack with format 'A' cuts byte sequence even if it breaks a multibyte character
+fails:Array#pack with format 'a' treats a multibyte character just as a byte sequence
+fails:Array#pack with format 'a' returns result in ASCII-8BIT
+fails:Array#pack with format 'a' cuts byte sequence even if it breaks a multibyte character
+fails:Array#pack with format 'Z' treats a multibyte character just as a byte sequence
+fails:Array#pack with format 'Z' returns result in ASCII-8BIT
+fails:Array#pack with format 'Z' cuts byte sequence even if it breaks a multibyte character
+fails:Array#pack with format 'B' returns packed bit-string descending order
+fails:Array#pack with format 'B' conversion edge case: all zeros
+fails:Array#pack with format 'B' conversion edge case: all ones
+fails:Array#pack with format 'B' conversion edge case: left one
+fails:Array#pack with format 'B' conversion edge case: right one
+fails:Array#pack with format 'B' conversion edge case: edge sequences not in first char
+fails:Array#pack with format 'B' returns zero-char for each 2 of count that greater than string length
+fails:Array#pack with format 'B' returns extra zero char if count is odd and greater than string length
+fails:Array#pack with format 'B' starts new char if string is ended before char's 8 bits
+fails:Array#pack with format 'B' returns empty string if count = 0
+fails:Array#pack with format 'B' returns an ASCII-8BIT string
+fails:Array#pack with format 'b' returns packed bit-string descending order
+fails:Array#pack with format 'b' conversion edge case: all zeros
+fails:Array#pack with format 'b' conversion edge case: all ones
+fails:Array#pack with format 'b' conversion edge case: left one
+fails:Array#pack with format 'b' conversion edge case: right one
+fails:Array#pack with format 'b' conversion edge case: edge sequences not in first char
+fails:Array#pack with format 'b' returns zero-char for each 2 of count that greater than string length
+fails:Array#pack with format 'b' returns extra zero char if count is odd and greater than string length
+fails:Array#pack with format 'b' starts new char if argument string is ended before char's 8 bits
+fails:Array#pack with format 'b' returns empty string if count = 0
+fails:Array#pack with format 'b' returns an ASCII-8BIT string
+fails:Array#pack with format 'H' encodes hexadecimal digits to byte sequence in the order of high-nibble first
+fails:Array#pack with format 'H' ignores rest of the pack argument when the argument is too long
+fails:Array#pack with format 'H' fills low-nibble of the last byte with 0 when count is odd
+fails:Array#pack with format 'H' fills the rest bytes with 0 if pack argument has insufficient length
+fails:Array#pack with format 'H' fills low-nibble of the last byte with 0 when count is odd even if pack argument has insufficient length
+fails:Array#pack with format 'H' returns the whole argument string with star parameter
+fails:Array#pack with format 'H' consumes only one array item per a format
+fails:Array#pack with format 'H' returns an ASCII-8BIT string
+fails:Array#pack with format 'h' encodes hexadecimal digits to byte sequence in the order of low-nibble first
+fails:Array#pack with format 'h' ignores rest of the pack argument when the argument is too long
+fails:Array#pack with format 'h' fills low-nibble of the last byte with 0 when count is odd
+fails:Array#pack with format 'h' fills the rest bytes with 0 if pack argument has insufficient length
+fails:Array#pack with format 'h' fills high-nibble of the last byte with 0 when count is odd even if pack argument has insufficient length
+fails:Array#pack with format 'h' returns the whole argument string with star parameter
+fails:Array#pack with format 'h' consumes only one array item per a format
+fails:Array#pack with format 'h' returns an ASCII-8BIT string
+fails:Array#pack with format 'C' returns a string with byte of appropriate number
+fails:Array#pack with format 'C' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'C' reduces value to fit in byte
+fails:Array#pack with format 'C' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'C' processes count number of array elements if count given
+fails:Array#pack with format 'C' returns empty string if count = 0
+fails:Array#pack with format 'C' with star parameter processes all remaining array items
+fails:Array#pack with format 'C' returns an ASCII-8BIT string
+fails:Array#pack with format 'c' returns a string with byte of appropriate number
+fails:Array#pack with format 'c' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'c' reduces value to fit in byte
+fails:Array#pack with format 'c' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'c' processes count number of array elements if count given
+fails:Array#pack with format 'c' returns empty string if count = 0
+fails:Array#pack with format 'c' with star parameter processes all remaining array items
+fails:Array#pack with format 'c' returns an ASCII-8BIT string
+fails:Array#pack with format 'n' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 'n' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'n' drops higher bytes when a pack argument is >= 2**32
+fails:Array#pack with format 'n' drops higher bytes when a pack argument is < -2**32
+fails:Array#pack with format 'n' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'n' does not raise a RangeError even when a pack argument is >= 2**64
+fails:Array#pack with format 'n' does not raise a RangeError even when a pack argument is <= -2**64
+fails:Array#pack with format 'n' processes count number of array elements if count given
+fails:Array#pack with format 'n' returns empty string if count = 0
+fails:Array#pack with format 'n' with star parameter processes all remaining array items
+fails:Array#pack with format 'n' returns an ASCII-8BIT string
+fails:Array#pack with format 'v' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 'v' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'v' drops higher bytes when a pack argument is >= 2**16
+fails:Array#pack with format 'v' drops higher bytes when a pack argument is < -2**16
+fails:Array#pack with format 'v' does not raise a RangeError even when a pack argument is >= 2**64
+fails:Array#pack with format 'v' does not raise a RangeError even when a pack argument is <= -2**64
+fails:Array#pack with format 'v' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'v' processes count number of array elements if count given
+fails:Array#pack with format 'v' returns empty string if count = 0
+fails:Array#pack with format 'v' with star parameter processes all remaining array items
+fails:Array#pack with format 'v' returns an ASCII-8BIT string
+fails:Array#pack with format 'N' returns a string containing 4 bytes for an integer
+fails:Array#pack with format 'N' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'N' drops higher bytes when a pack argument is >= 2**32
+fails:Array#pack with format 'N' drops higher bytes when a pack argument is < -2**32
+fails:Array#pack with format 'N' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'N' processes count number of array elements if count given
+fails:Array#pack with format 'N' returns empty string if count = 0
+fails:Array#pack with format 'N' with star parameter processes all remaining array items
+fails:Array#pack with format 'N' returns an ASCII-8BIT string
+fails:Array#pack with format 'V' returns a string containing 4 bytes for an integer
+fails:Array#pack with format 'V' drops higher bytes when a pack argument is >= 2**32
+fails:Array#pack with format 'V' drops higher bytes when a pack argument is < -2**32
+fails:Array#pack with format 'V' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'V' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'V' processes count number of array elements if count given
+fails:Array#pack with format 'V' returns empty string if count = 0
+fails:Array#pack with format 'V' with star parameter processes all remaining array items
+fails:Array#pack with format 'V' returns an ASCII-8BIT string
+fails:Array#pack with format 's' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 's' drops higher bytes when a pack argument is >= 2**16
+fails:Array#pack with format 's' drops higher bytes when a pack argument is < -2**16
+fails:Array#pack with format 's' does not raise a RangeError even when a pack argument is >= 2**64
+fails:Array#pack with format 's' does not raise a RangeError even when a pack argument is <= -2**64
+fails:Array#pack with format 's' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 's' processes count number of array elements if count given
+fails:Array#pack with format 's' returns empty string if count = 0
+fails:Array#pack with format 's' with star parameter processes all remaining array items
+fails:Array#pack with format 's' returns an ASCII-8BIT string
+fails:Array#pack with format 'S' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 'S' drops higher bytes when a pack argument is >= 2**16
+fails:Array#pack with format 'S' drops higher bytes when a pack argument is < -2**16
+fails:Array#pack with format 'S' does not raise a RangeError even when a pack argument is >= 2**64
+fails:Array#pack with format 'S' does not raise a RangeError even when a pack argument is <= -2**64
+fails:Array#pack with format 'S' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'S' processes count number of array elements if count given
+fails:Array#pack with format 'S' returns empty string if count = 0
+fails:Array#pack with format 'S' with star parameter processes all remaining array items
+fails:Array#pack with format 'S' returns an ASCII-8BIT string
+fails:Array#pack with format 'l' returns a string containing 4 bytes for an integer
+fails:Array#pack with format 'l' drops higher bytes when a pack argument is >= 2**32
+fails:Array#pack with format 'l' drops higher bytes when a pack argument is < -2**32
+fails:Array#pack with format 'l' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'l' processes count number of array elements if count given
+fails:Array#pack with format 'l' returns empty string if count = 0
+fails:Array#pack with format 'l' with star parameter processes all remaining array items
+fails:Array#pack with format 'l' returns an ASCII-8BIT string
+fails:Array#pack with format 'L' returns a string containing 4 bytes for an integer
+fails:Array#pack with format 'L' drops higher bytes when a pack argument is >= 2**32
+fails:Array#pack with format 'L' drops higher bytes when a pack argument is < -2**32
+fails:Array#pack with format 'L' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'L' processes count number of array elements if count given
+fails:Array#pack with format 'L' returns empty string if count = 0
+fails:Array#pack with format 'L' with star parameter processes all remaining array items
+fails:Array#pack with format 'L' returns an ASCII-8BIT string
+fails:Array#pack with format 'q' returns a string containing 8 bytes for an integer
+fails:Array#pack with format 'q' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'q' drops higher bytes when a pack argument is >= 2**64
+fails:Array#pack with format 'q' drops higher bytes when a pack argument is < -2**64
+fails:Array#pack with format 'q' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'q' processes count number of array elements if count given
+fails:Array#pack with format 'q' returns empty string if count = 0
+fails:Array#pack with format 'q' with star parameter processes all remaining array items
+fails:Array#pack with format 'q' returns an ASCII-8BIT string
+fails:Array#pack with format 'Q' returns a string containing 8 bytes for an integer
+fails:Array#pack with format 'Q' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'Q' drops higher bytes when a pack argument is >= 2**64
+fails:Array#pack with format 'Q' drops higher bytes when a pack argument is < -2**64
+fails:Array#pack with format 'Q' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'Q' processes count number of array elements if count given
+fails:Array#pack with format 'Q' returns empty string if count = 0
+fails:Array#pack with format 'Q' with star parameter processes all remaining array items
+fails:Array#pack with format 'Q' returns an ASCII-8BIT string
+fails:Array#pack with format 's!' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 's!' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 's!' drops higher bytes when a pack argument is >= 2**16
+fails:Array#pack with format 's!' drops higher bytes when a pack argument is < -2**16
+fails:Array#pack with format 's!' does not raise a RangeError even when a pack argument is >= 2**64
+fails:Array#pack with format 's!' does not raise a RangeError even when a pack argument is <= -2**64
+fails:Array#pack with format 's!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 's!' processes count number of array elements if count given
+fails:Array#pack with format 's!' returns empty string if count = 0
+fails:Array#pack with format 's!' with star parameter processes all remaining array items
+fails:Array#pack with format 's!' returns an ASCII-8BIT string
+fails:Array#pack with format 's_' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 's_' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 's_' drops higher bytes when a pack argument is >= 2**16
+fails:Array#pack with format 's_' drops higher bytes when a pack argument is < -2**16
+fails:Array#pack with format 's_' does not raise a RangeError even when a pack argument is >= 2**64
+fails:Array#pack with format 's_' does not raise a RangeError even when a pack argument is <= -2**64
+fails:Array#pack with format 's_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 's_' processes count number of array elements if count given
+fails:Array#pack with format 's_' returns empty string if count = 0
+fails:Array#pack with format 's_' with star parameter processes all remaining array items
+fails:Array#pack with format 's_' returns an ASCII-8BIT string
+fails:Array#pack with format 'S!' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 'S!' drops higher bytes when a pack argument is >= 2**16
+fails:Array#pack with format 'S!' drops higher bytes when a pack argument is < -2**16
+fails:Array#pack with format 'S!' does not raise a RangeError even when a pack argument is >= 2**64
+fails:Array#pack with format 'S!' does not raise a RangeError even when a pack argument is <= -2**64
+fails:Array#pack with format 'S!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'S!' processes count number of array elements if count given
+fails:Array#pack with format 'S!' returns empty string if count = 0
+fails:Array#pack with format 'S!' with star parameter processes all remaining array items
+fails:Array#pack with format 'S!' returns an ASCII-8BIT string
+fails:Array#pack with format 'S_' returns a string containing 2 bytes for an integer
+fails:Array#pack with format 'S_' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'S_' drops higher bytes when a pack argument is >= 2**16
+fails:Array#pack with format 'S_' drops higher bytes when a pack argument is < -2**16
+fails:Array#pack with format 'S_' does not raise a RangeError even when a pack argument is >= 2**64
+fails:Array#pack with format 'S_' does not raise a RangeError even when a pack argument is <= -2**64
+fails:Array#pack with format 'S_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'S_' processes count number of array elements if count given
+fails:Array#pack with format 'S_' returns empty string if count = 0
+fails:Array#pack with format 'S_' with star parameter processes all remaining array items
+fails:Array#pack with format 'S_' returns an ASCII-8BIT string
+fails:Array#pack with format 'i' returns a string containing 4 bytes for an integer
+fails:Array#pack with format 'i' drops higher bytes when a pack argument is >= 2**32
+fails:Array#pack with format 'i' drops higher bytes when a pack argument is < -2**32
+fails:Array#pack with format 'i' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'i' processes count number of array elements if count given
+fails:Array#pack with format 'i' returns empty string if count = 0
+fails:Array#pack with format 'i' with star parameter processes all remaining array items
+fails:Array#pack with format 'i' returns an ASCII-8BIT string
+fails:Array#pack with format 'i!' returns a string containing 4 bytes for an integer
+fails:Array#pack with format 'i!' drops higher bytes when a pack argument is >= 2**32
+fails:Array#pack with format 'i!' drops higher bytes when a pack argument is < -2**32
+fails:Array#pack with format 'i!' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'i!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'i!' processes count number of array elements if count given
+fails:Array#pack with format 'i!' returns empty string if count = 0
+fails:Array#pack with format 'i!' with star parameter processes all remaining array items
+fails:Array#pack with format 'i!' returns an ASCII-8BIT string
+fails:Array#pack with format 'i_' returns a string containing 4 bytes for an integer
+fails:Array#pack with format 'i_' drops higher bytes when a pack argument is >= 2**32
+fails:Array#pack with format 'i_' drops higher bytes when a pack argument is < -2**32
+fails:Array#pack with format 'i_' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'i_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'i_' processes count number of array elements if count given
+fails:Array#pack with format 'i_' returns empty string if count = 0
+fails:Array#pack with format 'i_' with star parameter processes all remaining array items
+fails:Array#pack with format 'i_' returns an ASCII-8BIT string
+fails:Array#pack with format 'I' returns a string containing 4 bytes for an integer
+fails:Array#pack with format 'I' drops higher bytes when a pack argument is >= 2**32
+fails:Array#pack with format 'I' drops higher bytes when a pack argument is < -2**32
+fails:Array#pack with format 'I' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'I' processes count number of array elements if count given
+fails:Array#pack with format 'I' returns empty string if count = 0
+fails:Array#pack with format 'I' with star parameter processes all remaining array items
+fails:Array#pack with format 'I' returns an ASCII-8BIT string
+fails:Array#pack with format 'I!' returns a string containing 4 bytes for an integer
+fails:Array#pack with format 'I!' drops higher bytes when a pack argument is >= 2**32
+fails:Array#pack with format 'I!' drops higher bytes when a pack argument is < -2**32
+fails:Array#pack with format 'I!' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'I!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'I!' processes count number of array elements if count given
+fails:Array#pack with format 'I!' returns empty string if count = 0
+fails:Array#pack with format 'I!' with star parameter processes all remaining array items
+fails:Array#pack with format 'I!' returns an ASCII-8BIT string
+fails:Array#pack with format 'I_' returns a string containing 4 bytes for an integer
+fails:Array#pack with format 'I_' drops higher bytes when a pack argument is >= 2**32
+fails:Array#pack with format 'I_' drops higher bytes when a pack argument is < -2**32
+fails:Array#pack with format 'I_' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'I_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'I_' processes count number of array elements if count given
+fails:Array#pack with format 'I_' returns empty string if count = 0
+fails:Array#pack with format 'I_' with star parameter processes all remaining array items
+fails:Array#pack with format 'I_' returns an ASCII-8BIT string
+fails:Array#pack with format 'l!' returns a string containing 8 bytes for an integer
+fails:Array#pack with format 'l!' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'l!' drops higher bytes when a pack argument is >= 2**64
+fails:Array#pack with format 'l!' drops higher bytes when a pack argument is < -2**64
+fails:Array#pack with format 'l!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'l!' processes count number of array elements if count given
+fails:Array#pack with format 'l!' returns empty string if count = 0
+fails:Array#pack with format 'l!' with star parameter processes all remaining array items
+fails:Array#pack with format 'l!' returns an ASCII-8BIT string
+fails:Array#pack with format 'l_' returns a string containing 8 bytes for an integer
+fails:Array#pack with format 'l_' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'l_' drops higher bytes when a pack argument is >= 2**64
+fails:Array#pack with format 'l_' drops higher bytes when a pack argument is < -2**64
+fails:Array#pack with format 'l_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'l_' processes count number of array elements if count given
+fails:Array#pack with format 'l_' returns empty string if count = 0
+fails:Array#pack with format 'l_' with star parameter processes all remaining array items
+fails:Array#pack with format 'l_' returns an ASCII-8BIT string
+fails:Array#pack with format 'L!' returns a string containing 8 bytes for an integer
+fails:Array#pack with format 'L!' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'L!' drops higher bytes when a pack argument is >= 2**64
+fails:Array#pack with format 'L!' drops higher bytes when a pack argument is < -2**64
+fails:Array#pack with format 'L!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'L!' processes count number of array elements if count given
+fails:Array#pack with format 'L!' returns empty string if count = 0
+fails:Array#pack with format 'L!' with star parameter processes all remaining array items
+fails:Array#pack with format 'L!' returns an ASCII-8BIT string
+fails:Array#pack with format 'L_' returns a string containing 8 bytes for an integer
+fails:Array#pack with format 'L_' regards negative values as 2's complement in order to converts it to positive
+fails:Array#pack with format 'L_' drops higher bytes when a pack argument is >= 2**64
+fails:Array#pack with format 'L_' drops higher bytes when a pack argument is < -2**64
+fails:Array#pack with format 'L_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'L_' processes count number of array elements if count given
+fails:Array#pack with format 'L_' returns empty string if count = 0
+fails:Array#pack with format 'L_' with star parameter processes all remaining array items
+fails:Array#pack with format 'L_' returns an ASCII-8BIT string
+fails:Array#pack with format 'f' returns a ASCII-8BIT string
+fails:Array#pack with format 'f' accepts the positive zero
+fails:Array#pack with format 'f' accepts the negative zero
+fails:Array#pack with format 'f' accepts a positive value
+fails:Array#pack with format 'f' accepts a negative value
+fails:Array#pack with format 'f' accepts the positive infinity
+fails:Array#pack with format 'f' accepts the negative infinity
+fails:Array#pack with format 'd' returns a ASCII-8BIT string
+fails:Array#pack with format 'd' accepts the positive zero
+fails:Array#pack with format 'd' accepts the negative zero
+fails:Array#pack with format 'd' accepts a positive value
+fails:Array#pack with format 'd' accepts a negative value
+fails:Array#pack with format 'd' accepts the positive infinity
+fails:Array#pack with format 'd' accepts the negative infinity
+fails:Array#pack with format 'e' returns a ASCII-8BIT string
+fails:Array#pack with format 'e' accepts the positive zero
+fails:Array#pack with format 'e' accepts the negative zero
+fails:Array#pack with format 'e' accepts a positive value
+fails:Array#pack with format 'e' accepts a negative value
+fails:Array#pack with format 'e' accepts the positive infinity
+fails:Array#pack with format 'e' accepts the negative infinity
+fails:Array#pack with format 'E' returns a ASCII-8BIT string
+fails:Array#pack with format 'E' accepts the positive zero
+fails:Array#pack with format 'E' accepts the negative zero
+fails:Array#pack with format 'E' accepts a positive value
+fails:Array#pack with format 'E' accepts a negative value
+fails:Array#pack with format 'E' accepts the positive infinity
+fails:Array#pack with format 'E' accepts the negative infinity
+fails:Array#pack with format 'g' returns a ASCII-8BIT string
+fails:Array#pack with format 'g' accepts the positive zero
+fails:Array#pack with format 'g' accepts the negative zero
+fails:Array#pack with format 'g' accepts a positive value
+fails:Array#pack with format 'g' accepts a negative value
+fails:Array#pack with format 'g' accepts the positive infinity
+fails:Array#pack with format 'g' accepts the negative infinity
+fails:Array#pack with format 'G' returns a ASCII-8BIT string
+fails:Array#pack with format 'G' accepts the positive zero
+fails:Array#pack with format 'G' accepts the negative zero
+fails:Array#pack with format 'G' accepts a positive value
+fails:Array#pack with format 'G' accepts a negative value
+fails:Array#pack with format 'G' accepts the positive infinity
+fails:Array#pack with format 'G' accepts the negative infinity
+fails:Array#pack with format 'M' returns an US-ASCII string
+fails:Array#pack with format 'm' does not append newline if line length parameter is 0
+fails:Array#pack with format 'm' returns an US-ASCII string
+fails:Array#pack with format 'U' regards a integer as a Unicode codepoint and encodes into UTF-8 byte sequence
+fails:Array#pack with format 'U' returns a UTF-8 string
+fails:Array#pack with format 'u' returns an US-ASCII string
+fails:Array#pack with format 'w' converts to BER-compressed integer
+fails:Array#pack with format 'w' calls to_int on non-integer values before packing
+fails:Array#pack with format 'w' returns an ASCII-8BIT string
+fails:Array#pack with format 'X' returns an ASCII 8-bit String
+fails:Array#pack with format 'X' doesn't care if it breaks a character
+fails:Array#pack with '@' moves the end of result string into the specified position by offset from head
+fails:Array#pack with '@' fills blank with NUL bytes if the position exceeds the end of string
+fails:Array#pack with '@' concatenates successing formats at the position '@' moves it into
+fails:Array#pack with '@' does not recover lost bytes when shorten the string and then extends it again
+fails:Array#pack with '@' is able to work with 'X'
+fails:Array#pack with '@' returns a String in ASCII 8-bit
+fails:Array#pack with '@' doesn't care even if breaks a character
+fails:Array#pack with format 'x' returns an US-ASCII string
+fails:String#unpack with 'w' directive produces a BER-compressed integer
View
1 spec/tags/frozen/core/array/plus_tags.txt
@@ -0,0 +1 @@
+fails:Array#+ does not infected even if an original array is untrusted
View
5 spec/tags/frozen/core/array/pop_tags.txt
@@ -0,0 +1,5 @@
+fails:Array#pop raises a RuntimeError on a frozen array
+fails:Array#pop keeps untrusted status
+fails:Array#pop passed a number n as an argument returns a trusted array even if the array is untrusted
+fails:Array#pop passed a number n as an argument raises a RuntimeError on a frozen array
+fails:Array#pop passed a number n as an argument keeps untrusted status
View
3 spec/tags/frozen/core/array/product_tags.txt
@@ -0,0 +1,3 @@
+fails:Array#product returns converted arguments using :to_ary
+fails:Array#product returns the expected result
+fails:Array#product has no required argument
View
1 spec/tags/frozen/core/array/push_tags.txt
@@ -0,0 +1 @@
+fails:Array#push raises a RuntimeError on a frozen array
View
3 spec/tags/frozen/core/array/reject_tags.txt
@@ -0,0 +1,3 @@
+fails:Array#reject returns an Enumerator if no block given
+fails:Array#reject! raises a RuntimeError on a frozen array
+fails:Array#reject! returns an Enumerator if no block given
View
1 spec/tags/frozen/core/array/replace_tags.txt
@@ -0,0 +1 @@
+fails:Array#replace raises a RuntimeError on a frozen array
View
1 spec/tags/frozen/core/array/reverse_each_tags.txt
@@ -0,0 +1 @@
+fails:Array#reverse_each returns an Enumerator if no block given
View
1 spec/tags/frozen/core/array/reverse_tags.txt
@@ -0,0 +1 @@
+fails:Array#reverse! raises a RuntimeError on a frozen array
View
1 spec/tags/frozen/core/array/shift_tags.txt
@@ -0,0 +1 @@
+fails:Array#shift raises a RuntimeError on a frozen array
View
1 spec/tags/frozen/core/array/shuffle_tags.txt
@@ -0,0 +1 @@
+fails:Array#shuffle! raises a RuntimeError on a frozen array
View
1 spec/tags/frozen/core/array/slice_tags.txt
@@ -0,0 +1 @@
+fails:Array#slice! raises a RuntimeError on a frozen array
View
6 spec/tags/frozen/core/array/sort_by_tags.txt
@@ -0,0 +1,6 @@
+fails:Array#sort_by! sorts array in place by passing each element to the given block
+fails:Array#sort_by! returns an Enumerator if not given a block
+fails:Array#sort_by! completes when supplied a block that always returns the same result
+fails:Array#sort_by! raises a RuntimeError on a frozen array
+fails:Array#sort_by! returns the specified value when it would break in the given block
+fails:Array#sort_by! makes some modification even if finished sorting when it would break in the given block
View
2 spec/tags/frozen/core/array/sort_tags.txt
@@ -0,0 +1,2 @@
+fails:Array#sort! raises a RuntimeError on a frozen array
+fails:Array#sort! ignores any changes of self which would take place during sort!ing
View
2 spec/tags/frozen/core/array/to_s_tags.txt
@@ -0,0 +1,2 @@
+fails:Array#to_s is equivalent to Array#inspect
+fails:Array#to_s is equivalent to Array#inspect in a recursive array
View
1 spec/tags/frozen/core/array/uniq_tags.txt
@@ -0,0 +1 @@
+fails:Array#uniq! raises a RuntimeError on a frozen array
View
1 spec/tags/frozen/core/array/unshift_tags.txt
@@ -0,0 +1 @@
+fails:Array#unshift raises a RuntimeError on a frozen array
View
2 spec/tags/frozen/core/basicobject/instance_exec_tags.txt
@@ -0,0 +1,2 @@
+fails:BasicObject#instance_exec raises a LocalJumpError unless given a block
+fails:BasicObject#instance_exec sets class variables in the receiver
View
1 spec/tags/frozen/core/basicobject/new_tags.txt
@@ -0,0 +1 @@
+fails:BasicObject.new creates a new BasicObject
View
1 spec/tags/frozen/core/bignum/bit_and_tags.txt
@@ -0,0 +1 @@
+fails:Bignum#& raises a TypeError when passed a Float
View
1 spec/tags/frozen/core/bignum/bit_or_tags.txt
@@ -0,0 +1 @@
+fails:Bignum#| raises a TypeError when passed a Float
View
1 spec/tags/frozen/core/bignum/bit_xor_tags.txt
@@ -0,0 +1 @@
+fails:Bignum#^ raises a TypeError when passed a Float
View
1 spec/tags/frozen/core/bignum/divmod_tags.txt
@@ -0,0 +1 @@
+fails:Bignum#divmod raises a ZeroDivisionError when the given argument is 0 and a Float
View
1 spec/tags/frozen/core/bignum/quo_tags.txt
@@ -0,0 +1 @@
+fails:Bignum#quo raises a ZeroDivisionError when the given Integer is 0
View
1 spec/tags/frozen/core/bignum/remainder_tags.txt
@@ -0,0 +1 @@
+fails:Bignum#remainder does raises ZeroDivisionError if other is zero and a Float
View
1 spec/tags/frozen/core/class/new_tags.txt
@@ -0,0 +1 @@
+fails:Class.new creates a class without a name
View
1 spec/tags/frozen/core/class/superclass_tags.txt
@@ -0,0 +1 @@
+fails:Class#superclass returns the superclass of self
View
2 spec/tags/frozen/core/comparable/equal_value_tags.txt
@@ -0,0 +1,2 @@
+fails:Comparable#== returns false if calling #<=> on self returns nil or a non-Integer
+fails:Comparable#== returns false if calling #<=> on self raises an Exception
View
4 spec/tags/frozen/core/complex/Complex_tags.txt
@@ -0,0 +1,4 @@
+fails:Complex when passed [Complex, Complex] returns a new Complex number based on the two given numbers
+fails:Complex when passed [Complex] returns the passed Complex number
+fails:Complex when passed [Integer, Integer] returns a new Complex number
+fails:Complex when passed [Integer] returns a new Complex number with 0 as the imaginary component
View
1 spec/tags/frozen/core/complex/abs2_tags.txt
@@ -0,0 +1 @@
+fails:Complex#abs2 returns the sum of the squares of the real and imaginary parts
View
1 spec/tags/frozen/core/complex/abs_tags.txt
@@ -0,0 +1 @@
+fails:Complex#abs returns the modulus: |a + bi| = sqrt((a ^ 2) + (b ^ 2))
View
1 spec/tags/frozen/core/complex/angle_tags.txt
@@ -0,0 +1 @@
+fails:Complex#angle returns the argument -- i.e., the angle from (1, 0) in the complex plane
View
1 spec/tags/frozen/core/complex/arg_tags.txt
@@ -0,0 +1 @@
+fails:Complex#arg returns the argument -- i.e., the angle from (1, 0) in the complex plane
View
5 spec/tags/frozen/core/complex/coerce_tags.txt
@@ -0,0 +1,5 @@
+fails:Complex#coerce returns an array containing other and self as Complex when other is an Integer
+fails:Complex#coerce returns an array containing other and self as Complex when other is a Float
+fails:Complex#coerce returns an array containing other and self as Complex when other is a Bignum
+fails:Complex#coerce returns an array containing other and self as Complex when other is a Rational
+fails:Complex#coerce raises a TypeError when other is a String
View
1 spec/tags/frozen/core/complex/conj_tags.txt
@@ -0,0 +1 @@
+fails:Complex#conj returns the complex conjugate: conj a + bi = a - bi
View
1 spec/tags/frozen/core/complex/conjugate_tags.txt
@@ -0,0 +1 @@
+fails:Complex#conjugate returns the complex conjugate: conj a + bi = a - bi
View
1 spec/tags/frozen/core/complex/denominator_tags.txt
@@ -0,0 +1 @@
+fails:Complex#denominator returns the least common multiple denominator of the real and imaginary parts
View
7 spec/tags/frozen/core/complex/divide_tags.txt
@@ -0,0 +1,7 @@
+fails:Complex#/ with Complex divides according to the usual rule for complex numbers
+fails:Complex#/ with Fixnum divides both parts of the Complex number
+fails:Complex#/ with Fixnum raises a ZeroDivisionError when given zero
+fails:Complex#/ with Bignum divides both parts of the Complex number
+fails:Complex#/ with Float divides both parts of the Complex number
+fails:Complex#/ with Float returns Complex(Infinity, Infinity) when given zero
+fails:Complex#/ with Object tries to coerce self into other
View
3 spec/tags/frozen/core/complex/equal_value_tags.txt
@@ -0,0 +1,3 @@
+fails:Complex#== with Complex returns true when self and other have numerical equality
+fails:Complex#== with Numeric returns true when self's imaginary part is 0 and the real part and other have numerical equality
+fails:Complex#== with Object calls other#== with self
View
5 spec/tags/frozen/core/complex/exponent_tags.txt
@@ -0,0 +1,5 @@
+fails:Complex#** when given 0 returns Complex(1)
+fails:Complex#** with Complex returns self raised to the given power
+fails:Complex#** with Integer returns self raised to the given power
+fails:Complex#** with Rational returns self raised to the given power
+fails:Complex#** with Object tries to coerce self into other
View
16 spec/tags/frozen/core/complex/fdiv_tags.txt
@@ -0,0 +1,16 @@
+fails:Complex#fdiv raises a TypeError if passed a non-numeric argument
+fails:Complex#fdiv sets the real part to NaN if self's real part is NaN
+fails:Complex#fdiv sets the imaginary part to NaN if self's imaginary part is NaN
+fails:Complex#fdiv sets the real and imaginary part to NaN if self's real and imaginary parts are NaN
+fails:Complex#fdiv sets the real and imaginary part to NaN if self's real part and the argument are both NaN
+fails:Complex#fdiv sets the real and imaginary part to NaN if self's real part, self's imaginary part, and the argument are NaN
+fails:Complex#fdiv sets the real part to Infinity if self's real part is Infinity
+fails:Complex#fdiv sets the imaginary part to Infinity if self's imaginary part is Infinity
+fails:Complex#fdiv sets the imaginary and real part to Infinity if self's imaginary and real parts are Infinity
+fails:Complex#fdiv sets the real part to NaN and the imaginary part to NaN if self's imaginary part, self's real part, and the argument are Infinity
+fails:Complex#fdiv with no imaginary part returns a Complex number
+fails:Complex#fdiv with no imaginary part sets the real part to self's real part fdiv'd with the argument
+fails:Complex#fdiv with no imaginary part sets the imaginary part to 0.0
+fails:Complex#fdiv with an imaginary part returns a Complex number
+fails:Complex#fdiv with an imaginary part sets the real part to self's real part fdiv'd with the argument
+fails:Complex#fdiv with an imaginary part sets the imaginary part to the imaginary part fdiv'd with the argument
View
1 spec/tags/frozen/core/complex/hash_tags.txt
@@ -0,0 +1 @@
+fails:Complex#hash should be static
View
1 spec/tags/frozen/core/complex/imag_tags.txt
@@ -0,0 +1 @@
+fails:Complex#imag returns the imaginary part of self
View
2 spec/tags/frozen/core/complex/inspect_tags.txt
@@ -0,0 +1,2 @@
+fails:Complex#inspect returns (${real}+${image}i) for positive imaginary parts
+fails:Complex#inspect returns (${real}-${image}i) for negative imaginary parts
View
2 spec/tags/frozen/core/complex/integer_tags.txt
@@ -0,0 +1,2 @@
+fails:Complex#integer? returns false for a Complex with no imaginary part
+fails:Complex#integer? returns false for a Complex with an imaginary part
View
3 spec/tags/frozen/core/complex/minus_tags.txt
@@ -0,0 +1,3 @@
+fails:Complex#- with Complex subtracts both the real and imaginary components
+fails:Complex#- with Integer subtracts the real number from the real component of self
+fails:Complex#- with Object tries to coerce self into other
View
3 spec/tags/frozen/core/complex/multiply_tags.txt
@@ -0,0 +1,3 @@
+fails:Complex#* with Complex multiplies according to the usual rule for complex numbers: (a + bi) * (c + di) = ac - bd + (ad + bc)i
+fails:Complex#* with Integer multiplies both parts of self by the given Integer
+fails:Complex#* with Object tries to coerce self into other
View
1 spec/tags/frozen/core/complex/numerator_tags.txt
@@ -0,0 +1 @@
+fails:Complex#numerator returns self's numerator
View
3 spec/tags/frozen/core/complex/plus_tags.txt
@@ -0,0 +1,3 @@
+fails:Complex#+ with Complex adds both the real and imaginary components
+fails:Complex#+ with Integer adds the real number to the real component of self
+fails:Complex#+ with Object tries to coerce self into other
View
2 spec/tags/frozen/core/complex/polar_tags.txt
@@ -0,0 +1,2 @@
+fails:Complex.polar returns the absolute value and the argument
+fails:Complex#polar returns the absolute value and the argument
View
5 spec/tags/frozen/core/complex/real_tags.txt
@@ -0,0 +1,5 @@
+fails:Complex#real returns the real part of self
+fails:Complex#real? returns false if there is an imaginary part
+fails:Complex#real? returns false if there is not an imaginary part
+fails:Complex#real? returns false if the real part is Infinity
+fails:Complex#real? returns false if the real part is NaN
View
5 spec/tags/frozen/core/complex/rect_tags.txt
@@ -0,0 +1,5 @@
+fails:Complex#rect returns an Array
+fails:Complex#rect returns a two-element Array
+fails:Complex#rect returns the real part of self as the first element
+fails:Complex#rect returns the imaginary part of self as the last element
+fails:Complex#rect raises an ArgumentError if given any arguments
View
5 spec/tags/frozen/core/complex/rectangular_tags.txt
@@ -0,0 +1,5 @@
+fails:Complex#rectangular returns an Array
+fails:Complex#rectangular returns a two-element Array
+fails:Complex#rectangular returns the real part of self as the first element
+fails:Complex#rectangular returns the imaginary part of self as the last element
+fails:Complex#rectangular raises an ArgumentError if given any arguments
View
2 spec/tags/frozen/core/complex/to_s_tags.txt
@@ -0,0 +1,2 @@
+fails:Complex#to_s when self's real component is 0 returns both the real and imaginary component even when the real is 0
+fails:Complex#to_s returns self as String
View
1 spec/tags/frozen/core/dir/chdir_tags.txt
@@ -0,0 +1 @@
+fails:Dir.chdir calls #to_path on the argument if it's not a String
View
1 spec/tags/frozen/core/dir/chroot_tags.txt
@@ -0,0 +1 @@
+fails:Dir.chroot as regular user calls #to_path on non-String argument
View
1 spec/tags/frozen/core/dir/delete_tags.txt
@@ -0,0 +1 @@
+fails:Dir.delete calls #to_path on non-String arguments
View
1 spec/tags/frozen/core/dir/each_tags.txt
@@ -0,0 +1 @@
+fails:Dir#each returns an Enumerator if no block given
View
1 spec/tags/frozen/core/dir/entries_tags.txt
@@ -0,0 +1 @@
+fails:Dir.entries calls #to_path on non-String arguments
View
10 spec/tags/frozen/core/dir/exist_tags.txt
@@ -0,0 +1,10 @@
+fails:Dir.exist? returns true if the given directory exists
+fails:Dir.exist? returns true for '.'
+fails:Dir.exist? returns true for '..'
+fails:Dir.exist? understands non-ASCII paths
+fails:Dir.exist? understands relative paths
+fails:Dir.exist? returns false if the given directory doesn't exist
+fails:Dir.exist? doesn't require the name to have a trailing slash
+fails:Dir.exist? doesn't expand paths
+fails:Dir.exist? returns false if the argument exists but is a file
+fails:Dir.exist? calls #to_path on non String arguments
View
10 spec/tags/frozen/core/dir/exists_tags.txt
@@ -0,0 +1,10 @@
+fails:Dir.exists? returns true if the given directory exists
+fails:Dir.exists? returns true for '.'
+fails:Dir.exists? returns true for '..'
+fails:Dir.exists? understands non-ASCII paths
+fails:Dir.exists? understands relative paths
+fails:Dir.exists? returns false if the given directory doesn't exist
+fails:Dir.exists? doesn't require the name to have a trailing slash
+fails:Dir.exists? doesn't expand paths
+fails:Dir.exists? returns false if the argument exists but is a file
+fails:Dir.exists? calls #to_path on non String arguments
View
2 spec/tags/frozen/core/dir/foreach_tags.txt
@@ -0,0 +1,2 @@
+fails:Dir.foreach calls #to_path on non-String arguments
+fails:Dir.foreach returns an Enumerator if no block given
View
3 spec/tags/frozen/core/dir/home_tags.txt
@@ -0,0 +1,3 @@
+fails:Dir.home returns the current user's home directory as a string if called without arguments
+fails:Dir.home returns the named user's home directory as a string if called with an argument
+fails:Dir.home raises an ArgumentError if the named user doesn't exist
View
1 spec/tags/frozen/core/dir/mkdir_tags.txt
@@ -0,0 +1 @@
+fails:Dir.mkdir calls #to_path on non-String arguments
View
1 spec/tags/frozen/core/dir/open_tags.txt
@@ -0,0 +1 @@
+fails:Dir.open calls #to_path on non-String arguments
View
1 spec/tags/frozen/core/dir/pwd_tags.txt
@@ -0,0 +1 @@
+fails:Dir.pwd correctly displays dirs with unicode characters in them
View
1 spec/tags/frozen/core/dir/rmdir_tags.txt
@@ -0,0 +1 @@
+fails:Dir.rmdir calls #to_path on non-String arguments
View
1 spec/tags/frozen/core/dir/unlink_tags.txt
@@ -0,0 +1 @@
+fails:Dir.unlink calls #to_path on non-String arguments
View
8 spec/tags/frozen/core/encoding/aliases_tags.txt
@@ -0,0 +1,8 @@
+fails:Encoding.aliases returns a Hash
+fails:Encoding.aliases has Strings as keys
+fails:Encoding.aliases has Strings as values
+fails:Encoding.aliases has alias names as its keys
+fails:Encoding.aliases has the names of the aliased encoding as its values
+fails:Encoding.aliases has an 'external' key with the external default encoding as its value
+fails:Encoding.aliases has a 'locale' key with the locale charmap encoding as its value
+fails:Encoding.aliases only contains valid aliased encodings
View
2 spec/tags/frozen/core/encoding/ascii_compatible_tags.txt
@@ -0,0 +1,2 @@
+fails:Encoding#ascii_compatible? returns true if self represents an ASCII-compatible encoding
+fails:Encoding#ascii_compatible? returns false if self does not represent an ASCII-compatible encoding
View
4 spec/tags/frozen/core/encoding/compatible_tags.txt
@@ -0,0 +1,4 @@
+fails:Encoding.compatible? returns an Encoding object if the given encodings are compatible
+fails:Encoding.compatible? returns the encoding of the string that would result from concatenating the arguments
+fails:Encoding.compatible? returns nil if there is not a compatible encoding for the arguments
+fails:Encoding.compatible? returns nil unless both arguments are Strings
View
7 spec/tags/frozen/core/encoding/converter/asciicompat_encoding_tags.txt
@@ -0,0 +1,7 @@
+fails:Encoding::Converter.asciicompat_encoding accepts an encoding name as a String argument
+fails:Encoding::Converter.asciicompat_encoding coerces non-String/Encoding objects with #to_str
+fails:Encoding::Converter.asciicompat_encoding accepts an Encoding object as an argument
+fails:Encoding::Converter.asciicompat_encoding returns a corresponding ASCII compatible encoding for ASCII-incompatible encodings
+fails:Encoding::Converter.asciicompat_encoding returns nil when the given encoding is ASCII compatible
+fails:Encoding::Converter.asciicompat_encoding handles encoding names who resolve to nil encodings
+fails:Encoding::Converter.asciicompat_encoding returns nil if called with an encoding it returned previously
View
26 spec/tags/frozen/core/encoding/converter/constants_tags.txt
@@ -0,0 +1,26 @@
+fails:Encoding::Converter::INVALID_MASK exists
+fails:Encoding::Converter::INVALID_MASK has a Fixnum value
+fails:Encoding::Converter::INVALID_REPLACE exists
+fails:Encoding::Converter::INVALID_REPLACE has a Fixnum value
+fails:Encoding::Converter::UNDEF_MASK exists
+fails:Encoding::Converter::UNDEF_MASK has a Fixnum value
+fails:Encoding::Converter::UNDEF_REPLACE exists
+fails:Encoding::Converter::UNDEF_REPLACE has a Fixnum value
+fails:Encoding::Converter::UNDEF_HEX_CHARREF exists
+fails:Encoding::Converter::UNDEF_HEX_CHARREF has a Fixnum value
+fails:Encoding::Converter::PARTIAL_INPUT exists
+fails:Encoding::Converter::PARTIAL_INPUT has a Fixnum value
+fails:Encoding::Converter::AFTER_OUTPUT exists
+fails:Encoding::Converter::AFTER_OUTPUT has a Fixnum value
+fails:Encoding::Converter::UNIVERSAL_NEWLINE_DECORATOR exists
+fails:Encoding::Converter::UNIVERSAL_NEWLINE_DECORATOR has a Fixnum value
+fails:Encoding::Converter::CRLF_NEWLINE_DECORATOR exists
+fails:Encoding::Converter::CRLF_NEWLINE_DECORATOR has a Fixnum value
+fails:Encoding::Converter::CR_NEWLINE_DECORATOR exists
+fails:Encoding::Converter::CR_NEWLINE_DECORATOR has a Fixnum value
+fails:Encoding::Converter::XML_TEXT_DECORATOR exists
+fails:Encoding::Converter::XML_TEXT_DECORATOR has a Fixnum value
+fails:Encoding::Converter::XML_ATTR_CONTENT_DECORATOR exists
+fails:Encoding::Converter::XML_ATTR_CONTENT_DECORATOR has a Fixnum value
+fails:Encoding::Converter::XML_ATTR_QUOTE_DECORATOR exists
+fails:Encoding::Converter::XML_ATTR_QUOTE_DECORATOR has a Fixnum value
View
7 spec/tags/frozen/core/encoding/converter/convert_tags.txt
@@ -0,0 +1,7 @@
+fails:Encoding::Converter#convert returns a String
+fails:Encoding::Converter#convert sets the encoding of the result to the target encoding
+fails:Encoding::Converter#convert transcodes the given String to the target encoding
+fails:Encoding::Converter#convert allows Strings of different encodings to the source encoding
+fails:Encoding::Converter#convert reuses the given encoding pair if called multiple times
+fails:Encoding::Converter#convert raises UndefinedConversionError if the String contains characters invalid for the target encoding
+fails:Encoding::Converter#convert raises an ArgumentError if called on a finished stream
View
1 spec/tags/frozen/core/encoding/converter/destination_encoding_tags.txt
@@ -0,0 +1 @@
+fails:Encoding::Converter#destination_encoding returns the destination encoding as an Encoding object
View
6 spec/tags/frozen/core/encoding/converter/finish_tags.txt
@@ -0,0 +1,6 @@
+fails:Encoding::Converter#finish returns a String
+fails:Encoding::Converter#finish returns an empty String if there is nothing more to convert
+fails:Encoding::Converter#finish returns the last part of the converted String if it hasn't already
+fails:Encoding::Converter#finish returns a String in the destination encoding
+fails:Encoding::Converter#finish returns an empty String if self was not given anything to convert
+fails:Encoding::Converter#finish returns an empty String on subsequent invocations
View
10 spec/tags/frozen/core/encoding/converter/last_error_tags.txt
@@ -0,0 +1,10 @@
+fails:Encoding::Converter#last_error returns nil when the no conversion has been attempted
+fails:Encoding::Converter#last_error returns nil when the last conversion did not produce an error
+fails:Encoding::Converter#last_error returns nil when #primitive_convert last returned :destination_buffer_full
+fails:Encoding::Converter#last_error returns nil when #primitive_convert last returned :finished
+fails:Encoding::Converter#last_error returns nil if the last conversion succeeded but the penultimate failed
+fails:Encoding::Converter#last_error returns an Encoding::InvalidByteSequenceError when #primitive_convert last returned :invalid_byte_sequence
+fails:Encoding::Converter#last_error returns an Encoding::UndefinedConversionError when #primitive_convert last returned :undefined_conversion
+fails:Encoding::Converter#last_error returns an Encoding::InvalidByteSequenceError when #primitive_convert last returned :incomplete_input
+fails:Encoding::Converter#last_error returns an Encoding::InvalidByteSequenceError when the last call to #convert produced one
+fails:Encoding::Converter#last_error returns an Encoding::UndefinedConversionError when the last call to #convert produced one
View
21 spec/tags/frozen/core/encoding/converter/primitive_convert_tags.txt
@@ -0,0 +1,21 @@
+fails:Encoding::Converter#primitive_convert accepts a nil source buffer
+fails:Encoding::Converter#primitive_convert accepts a String as the source buffer
+fails:Encoding::Converter#primitive_convert accepts nil for the destination byte offset
+fails:Encoding::Converter#primitive_convert accepts an integer for the destination byte offset
+fails:Encoding::Converter#primitive_convert raises an ArgumentError if the destination byte offset is greater than the bytesize of the destination buffer
+fails:Encoding::Converter#primitive_convert uses the destination byte offset to determine where to write the result in the destination buffer
+fails:Encoding::Converter#primitive_convert accepts nil for the destination bytesize
+fails:Encoding::Converter#primitive_convert accepts an integer for the destination bytesize
+fails:Encoding::Converter#primitive_convert allows a destination bytesize value greater than the bytesize of the source buffer
+fails:Encoding::Converter#primitive_convert allows a destination bytesize value less than the bytesize of the source buffer
+fails:Encoding::Converter#primitive_convert uses destination bytesize as the maximumn bytesize of the destination buffer
+fails:Encoding::Converter#primitive_convert allows a destination buffer of unlimited size if destination bytesize is nil
+fails:Encoding::Converter#primitive_convert accepts an options hash
+fails:Encoding::Converter#primitive_convert sets the destination buffer's encoding to the destination encoding if the conversion suceeded
+fails:Encoding::Converter#primitive_convert sets the destination buffer's encoding to the destination encoding if the conversion failed
+fails:Encoding::Converter#primitive_convert returns :incomplete_input when source buffer ends unexpectedly and :partial_input isn't specified
+fails:Encoding::Converter#primitive_convert returns :source_buffer_empty when source buffer ends unexpectedly and :partial_input is true
+fails:Encoding::Converter#primitive_convert returns :undefined_conversion when a character in the source buffer is not representable in the output encoding
+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
View
10 spec/tags/frozen/core/encoding/converter/primitive_errinfo_tags.txt
@@ -0,0 +1,10 @@
+fails:Encoding::Converter#primitive_errinfo returns [:source_buffer_empty,nil,nil,nil,nil] when no conversion has been attempted
+fails:Encoding::Converter#primitive_errinfo returns [:finished,nil,nil,nil,nil] when #primitive_convert last returned :finished
+fails:Encoding::Converter#primitive_errinfo returns [:source_buffer_empty,nil,nil,nil, nil] when #convert last succeeded
+fails:Encoding::Converter#primitive_errinfo returns [:destination_buffer_full,nil,nil,nil,nil] when #primitive_convert last returned :destination_buffer_full
+fails:Encoding::Converter#primitive_errinfo returns the status of the last primitive conversion, even if it was successful and the previous one wasn't
+fails:Encoding::Converter#primitive_errinfo returns the state, source encoding, target encoding, and the erroneous bytes when #primitive_convert last returned :undefined_conversion
+fails:Encoding::Converter#primitive_errinfo returns the state, source encoding, target encoding, and erroneous bytes when #primitive_convert last returned :incomplete_input
+fails:Encoding::Converter#primitive_errinfo returns the state, source encoding, target encoding, erroneous bytes, and the read-again bytes when #primitive_convert last returned :invalid_byte_sequence
+fails:Encoding::Converter#primitive_errinfo returns the state, source encoding, target encoding, erroneous bytes, and the read-again bytes when #convert last raised InvalidByteSequenceError
+fails:Encoding::Converter#primitive_errinfo returns the state, source encoding, target encoding, erroneous bytes, and the read-again bytes when #finish last raised InvalidByteSequenceError
View
6 spec/tags/frozen/core/encoding/converter/putback_tags.txt
@@ -0,0 +1,6 @@
+fails:Encoding::Converter#putback returns a String
+fails:Encoding::Converter#putback returns a String in the source encoding
+fails:Encoding::Converter#putback returns the bytes buffered due to an :invalid_byte_sequence error
+fails:Encoding::Converter#putback allows conversion to be resumed after an :invalid_byte_sequence
+fails:Encoding::Converter#putback returns an empty String when there are no more bytes to put back
+fails:Encoding::Converter#putback accepts an integer argument corresponding to the number of bytes to be put back
View
8 spec/tags/frozen/core/encoding/converter/replacement_tags.txt
@@ -0,0 +1,8 @@
+fails:Encoding::Converter#replacement returns '?' in US-ASCII when the destination encoding is not UTF-8
+fails:Encoding::Converter#replacement returns u{fffd} when the destination encoding is UTF-8
+fails:Encoding::Converter#replacement= accepts a String argument
+fails:Encoding::Converter#replacement= accepts a String argument of arbitrary length
+fails:Encoding::Converter#replacement= raises an TypeError if assigned a non-String argument
+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
View
1 spec/tags/frozen/core/encoding/converter/source_encoding_tags.txt
@@ -0,0 +1 @@
+fails:Encoding::Converter#source_encoding returns the source encoding as an Encoding object
View
7 spec/tags/frozen/core/encoding/default_internal_tags.txt
@@ -0,0 +1,7 @@
+fails:Encoding.default_internal is nil by default
+fails:Encoding.default_internal returns an Encoding object if a default internal encoding is set
+fails:Encoding.default_internal returns nil if no default internal encoding is set
+fails:Encoding.default_internal returns the default internal encoding
+fails:Encoding.default_internal returns Encoding::UTF_8 if ruby was invoked with -U
+fails:Encoding.default_internal uses the encoding specified when ruby is invoked with an '-E :internal' argument
+fails:Encoding.default_internal uses the encoding specified when ruby is invoked with an '-E external:internal' argument
View
2 spec/tags/frozen/core/encoding/dummy_tags.txt
@@ -0,0 +1,2 @@
+fails:Encoding#dummy? returns false for proper encodings
+fails:Encoding#dummy? returns true for dummy encodings
View
3 spec/tags/frozen/core/encoding/inspect_tags.txt
@@ -0,0 +1,3 @@
+fails:Encoding#inspect returns a String
+fails:Encoding#inspect returns #<Encoding:name> for a non-dummy encoding named 'name'
+fails:Encoding#inspect returns #<Encoding:name (dummy)> for a dummy encoding named 'name'
View
2 .../tags/frozen/core/encoding/invalid_byte_sequence_error/destination_encoding_name_tags.txt
@@ -0,0 +1,2 @@
+fails:Encoding::InvalidByteSequenceError#destination_encoding_name returns a String
+fails:Encoding::InvalidByteSequenceError#destination_encoding_name is equal to the destination encoding name of the object that raised it
View
2 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/destination_encoding_tags.txt
@@ -0,0 +1,2 @@
+fails:Encoding::InvalidByteSequenceError#destination_encoding returns an Encoding object
+fails:Encoding::InvalidByteSequenceError#destination_encoding is equal to the destination encoding of the object that raised it
View
3 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/error_bytes_tags.txt
@@ -0,0 +1,3 @@
+fails:Encoding::InvalidByteSequenceError#error_bytes returns a String
+fails:Encoding::InvalidByteSequenceError#error_bytes returns the bytes that caused the exception
+fails:Encoding::InvalidByteSequenceError#error_bytes uses ASCII-8BIT as the encoding
View
3 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/incomplete_input_tags.txt
@@ -0,0 +1,3 @@
+fails:Encoding::InvalidByteSequenceError#incomplete_input? returns nil by default
+fails:Encoding::InvalidByteSequenceError#incomplete_input? returns true if #primitive_convert returned :incomplete_input for the same data
+fails:Encoding::InvalidByteSequenceError#incomplete_input? returns false if #primitive_convert returned :invalid_byte_sequence for the same data
View
3 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/readagain_bytes_tags.txt
@@ -0,0 +1,3 @@
+fails:Encoding::InvalidByteSequenceError#readagain_bytes returns a String
+fails:Encoding::InvalidByteSequenceError#readagain_bytes returns the bytes to be read again
+fails:Encoding::InvalidByteSequenceError#readagain_bytes uses ASCII-8BIT as the encoding
View
3 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/source_encoding_name_tags.txt
@@ -0,0 +1,3 @@
+fails:Encoding::UndefinedConversionError#source_encoding_name returns a String
+fails:Encoding::UndefinedConversionError#source_encoding_name is equal to the source encoding name of the object that raised it
+fails:Encoding::UndefinedConversionError#source_encoding_name is equal to the source encoding at the stage of the conversion path where the error occured
View
3 spec/tags/frozen/core/encoding/invalid_byte_sequence_error/source_encoding_tags.txt
@@ -0,0 +1,3 @@
+fails:Encoding::InvalidByteSequenceError#source_encoding returns an Encoding object
+fails:Encoding::InvalidByteSequenceError#source_encoding is equal to the source encoding of the object that raised it
+fails:Encoding::InvalidByteSequenceError#source_encoding is equal to the source encoding at the stage of the conversion path where the error occured
View
7 spec/tags/frozen/core/encoding/list_tags.txt
@@ -0,0 +1,7 @@
+fails:Encoding.list returns an Array
+fails:Encoding.list returns an Array of Encoding objects
+fails:Encoding.list returns each encoding only once
+fails:Encoding.list includes the default external encoding
+fails:Encoding.list does not include any alias names
+fails:Encoding.list includes all aliased encodings