[macruby-changes] [1856] MacRuby/branches/experimental
source_changes at macosforge.org
source_changes at macosforge.org
Sun Jun 14 12:01:37 PDT 2009
Revision: 1856
http://trac.macosforge.org/projects/ruby/changeset/1856
Author: eloy.de.enige at gmail.com
Date: 2009-06-14 12:01:34 -0700 (Sun, 14 Jun 2009)
Log Message:
-----------
Tagged all failing examples and for the moment exclude core/kernel/callcc_spec.
Modified Paths:
--------------
MacRuby/branches/experimental/rakelib/spec.rake
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/comparison_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/concat_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/delete_at_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/equal_value_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/flatten_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/include_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/initialize_copy_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/initialize_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/inspect_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/intersection_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/minus_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/multiply_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/new_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pack_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/plus_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pop_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/rindex_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/slice_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/union_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_and_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_or_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_xor_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/class/initialize_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/equal_value_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/drop_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chmod_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/new_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/element_reference_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/element_set_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/eql_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/equal_value_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/initialize_copy_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/inspect_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/merge_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/rehash_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/replace_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/store_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/to_s_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/update_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/for_fd_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/foreach_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/readlines_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/write_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Array_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Float_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/String_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/backtick_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/catch_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/extend_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/math/cos_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/alias_method_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_accessor_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_reader_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_writer_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/autoload_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_eval_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_defined_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_get_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_set_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_defined_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_get_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/method_defined_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/module_eval_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/module_function_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/remove_const_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/coerce_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/eql_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/step_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/each_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/step_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/comparison_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/count_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/crypt_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/delete_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/each_line_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/element_set_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/end_with_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/include_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/index_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/insert_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/match_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/modulo_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/multiply_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/scan_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/split_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/squeeze_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/start_with_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/sub_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/to_i_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_s_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gm_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/local_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/minus_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mktime_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/language/metaclass_tags.txt
MacRuby/branches/experimental/spec/macruby.mspec
Added Paths:
-----------
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/at_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/element_reference_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/element_set_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/fetch_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/fill_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/first_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/insert_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/last_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/replace_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/sample_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/shift_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/transpose_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/try_convert_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/zip_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/method_missing_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_added_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_removed_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_undefined_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/element_reference_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/equal_value_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/left_shift_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/right_shift_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/gt_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/gte_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/lt_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/lte_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/dir/element_reference_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/dir/glob_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/fnmatch_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/size_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/umask_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_and_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_or_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_xor_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/coerce_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/element_reference_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/equal_value_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/left_shift_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/right_shift_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/has_key_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/include_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/index_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/key_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/member_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/lineno_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/syswrite_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_variable_get_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_set_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/abs_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/ceil_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/div_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/divmod_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/floor_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/modulo_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/nonzero_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/remainder_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/round_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/to_int_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/truncate_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/zero_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/cover_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/center_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/ljust_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/rjust_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/sum_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/try_convert_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/language/array_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt
Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/rakelib/spec.rake 2009-06-14 19:01:34 UTC (rev 1856)
@@ -36,38 +36,14 @@
end
namespace :tag do
- desc "Removed fail tags for examples which actually pass. (FIXME)"
+ desc "Removed fail tags for examples which actually pass."
task :remove do
mspec :tag, "-g fails --del fails :full"
end
- desc "Tags failing examples in spec/core, specify the class to tag with the env variable `class'"
+ desc "Add fails tags for examples which fail."
task :add do
- klass = ENV['class']
- puts "Tagging failing examples of class `#{klass}'"
-
- tag_base = "./spec/frozen/tags/macruby/core/#{klass}"
- mkdir_p tag_base
-
- Dir.glob("./spec/frozen/core/#{klass}/*_spec.rb").each do |spec_file|
- puts "Running spec: #{spec_file}"
- cmd = "./mspec/bin/mspec ci -I./lib -f s -B ./spec/macruby.mspec #{spec_file}"
- out = `#{cmd}`
-
- if out.match(/^1\)(.+?)(FAILED|ERROR)/m)
- failures = $1.strip.split("\n")
-
- tag_file = "#{tag_base}/#{spec_file.match(/\/(\w+)_spec\.rb$/)[1]}_tags.txt"
- puts "Writing tags file: #{tag_file}"
-
- File.open(tag_file, 'a+') do |f|
- f << "\n" unless f.read.empty?
- failures.each do |failure|
- f << "fails:#{failure}\n"
- end
- end
- end
- end
+ mspec :tag, "-G critical -G fails :full"
end
end
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/at_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/at_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/at_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array#at tries to convert the passed argument to an Integer using #to_int
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/comparison_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/comparison_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/comparison_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,5 @@
critical:Array#<=> properly handles recursive arrays
+fails:Array#<=> calls <=> left to right and return first non-0 result
+fails:Array#<=> returns -1 if the arrays have same length and a pair of corresponding elements returns -1 for <=>
+fails:Array#<=> returns +1 if the arrays have same length and a pair of corresponding elements returns +1 for <=>
+fails:Array#<=> tries to convert the passed argument to an Array using #to_ary
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/concat_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/concat_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/concat_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,4 @@
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
+fails:Array#concat tries to convert the passed argument to an Array using #to_ary
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/delete_at_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/delete_at_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/delete_at_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
-fails:Array#delete_at keeps untrusted status
\ No newline at end of file
+fails:Array#delete_at keeps untrusted status
+fails:Array#delete_at tries to convert the passed argument to an Integer using #to_int
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/element_reference_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/element_reference_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/element_reference_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Array#[] tries to convert the passed argument to an Integer using #to_int
+fails:Array#[] raises a RangeError when the start index is out of range of Fixnum
+fails:Array#[] raises a RangeError when the length is out of range of Fixnum
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/element_set_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/element_set_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/element_set_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array#[]= calls to_int on its start and length arguments
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/equal_value_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/equal_value_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/equal_value_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
critical:Array#== handles well recursive arrays
fails:Array#== returns true if corresponding elements are #==
+fails:Array#== returns false if any corresponding elements are not #==
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/fetch_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/fetch_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/fetch_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array#fetch tries to convert the passed argument to an Integer using #to_int
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/fill_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/fill_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/fill_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:Array#fill with (filler, index, length) tries to convert the second and third arguments to Integers using #to_int
+fails:Array#fill with (filler, range) tries to convert the start and end of the passed range to Integers using #to_int
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/first_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/first_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/first_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array#first tries to convert the passed argument to an Integer using #to_int
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/flatten_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/flatten_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/flatten_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,5 @@
fails:Array#flatten! returns nil when the level of recursion is 0
+fails:Array#flatten tries to convert passed Objects to Integers using #to_int
+fails:Array#flatten flattens any element which responds to #to_ary, using the return value of said method
+fails:Array#flatten! tries to convert passed Objects to Integers using #to_int
+fails:Array#flatten! flattens any elements which responds to #to_ary, using the return value of said method
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/include_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/include_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/include_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:Array#include? determines presence by using element == obj
+fails:Array#include? calls == on elements from left to right until success
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/initialize_copy_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/initialize_copy_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/initialize_copy_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:Array#initialize_copy is private
+fails:Array#initialize_copy tries to convert the passed argument to an Array using #to_ary
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/initialize_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/initialize_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/initialize_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,4 @@
fails:Array#initialize is private
+fails:Array#initialize with (array) calls #to_ary to convert the value to an array
+fails:Array#initialize with (size, object=nil) calls #to_int to convert the size argument to an Integer when object is given
+fails:Array#initialize with (size, object=nil) calls #to_int to convert the size argument to an Integer when object is not given
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/insert_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/insert_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/insert_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array#insert tries to convert the passed position argument to an Integer using #to_int
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/inspect_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/inspect_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/inspect_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
critical:Array#inspect handles recursive arrays
+fails:Array#inspect calls inspect on its elements
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/intersection_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/intersection_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/intersection_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
critical:Array#& properly handles recursive arrays
-fails:Array#& determines equivalence between elements in the sense of eql?
\ No newline at end of file
+fails:Array#& determines equivalence between elements in the sense of eql?
+fails:Array#& tries to convert the passed argument to an Array using #to_ary
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/last_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/last_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/last_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array#last tries to convert the passed argument to an Integer usinig #to_int
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/minus_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/minus_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/minus_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:Array#- acts as if using an intermediate hash to collect values
+fails:Array#- tries to convert the passed arguments to Arrays using #to_ary
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/multiply_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/multiply_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/multiply_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -7,3 +7,6 @@
fails:Array#* with a string raises a NoMethodError if an element does not respond to #to_s
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
+fails:Array#* tries to convert the passed argument to a String using #to_str
+fails:Array#* tires to convert the passed argument to an Integer using #to_int
+fails:Array#* with a string tries to convert the passed separator to a String using #to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/new_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/new_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/new_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,4 @@
fails:Array.new with (size, object=nil) returns the value passed to break
+fails:Array.new with (array) calls #to_ary to convert the value to an array
+fails:Array.new with (size, object=nil) calls #to_int to convert the size argument to an Integer when object is given
+fails:Array.new with (size, object=nil) calls #to_int to convert the size argument to an Integer when object is not given
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pack_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pack_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pack_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -54,3 +54,38 @@
fails:Array#pack with format 'X' doesn't care even if breaks a character
fails:Array#pack with '@' doesn't change encoding of the result string
fails:Array#pack with '@' doesn't care even if breaks a character
+fails:Array#pack with format 'A' tries to convert the pack argument to a String using #to_str
+fails:Array#pack with format 'a' tries to convert the pack argument to a String using #to_str
+fails:Array#pack with format 'Z' tries to convert the pack argument to a String using #to_str
+fails:Array#pack with format 'H' tries to convert the pack argument to a String using #to_str
+fails:Array#pack with format 'h' tries to convert the pack argument to a String using #to_str
+fails:Array#pack with format 'C' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'c' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'n' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'v' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'N' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'V' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 's' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'S' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'l' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'L' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'q' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'Q' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 's!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 's_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'S!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'S_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'i' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'i!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'i_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'I' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'I!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'I_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'l!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'l_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'L!' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'L_' tries to convert the pack argument to an Integer using #to_int
+fails:Array#pack with format 'M' calls #to_s on object to convert to string
+fails:Array#pack with format 'm' tries to convert the pack argument to a String using #to_str
+fails:Array#pack with format 'u' tries to convert the pack argument to a String using #to_str
+fails:Array#pack with format 'w' calls to_int on non-integer values before packing
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/plus_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/plus_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/plus_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:Array#+ does not infected even if an original array is untrusted
+fails:Array#+ tries to convert the passed argument to an Array using #to_ary
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pop_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pop_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/pop_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,4 @@
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 keeps untrusted status
+fails:Array#pop passed a number n as an argument tries to convert n to an Integer using #to_int
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/replace_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/replace_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/replace_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array#replace tries to convert the passed argument to an Array using #to_ary
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/rindex_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/rindex_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/rindex_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:Array#rindex does not fail when removing elements from block
+fails:Array#rindex returns the first index backwards from the end where element == to object
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/sample_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/sample_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/sample_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array#sample passed a number n as an argument tries to convert n to an Integer using #to_int
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/shift_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/shift_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/shift_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array#shift passed a number n as an argument tries to convert n to an Integer using #to_int
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/slice_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/slice_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/slice_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,4 @@
fails:Array#slice! does not expand array with indices out of bounds
+fails:Array#slice tries to convert the passed argument to an Integer using #to_int
+fails:Array#slice raises a RangeError when the start index is out of range of Fixnum
+fails:Array#slice raises a RangeError when the length is out of range of Fixnum
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/transpose_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/transpose_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/transpose_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array#transpose tries to convert the passed argument to an Array using #to_ary
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/try_convert_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/try_convert_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/try_convert_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array.try_convert checks the result of the conversion
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/union_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/union_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/union_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:Array#| acts as if using an intermediate hash to collect values
+fails:Array#| tries to convert the passed argument to an Array using #to_ary
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/zip_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/zip_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/zip_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Array#zip calls #to_ary to convert the argument to an Array
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/method_missing_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/method_missing_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/method_missing_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:BasicObject#method_missing is a private method
+fails:BasicObject#method_missing is called when a private method is called
+fails:BasicObject#method_missing is called when a protected method is called
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_added_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_added_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_added_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:BasicObject#singleton_method_added is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_removed_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_removed_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_removed_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:BasicObject#singleton_method_removed is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_undefined_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_undefined_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/basicobject/singleton_method_undefined_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:BasicObject#singleton_method_undefined is a private method
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_and_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_and_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_and_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:Bignum#& returns self bitwise AND other
fails:Bignum#& tries to convert the given argument to an Integer using to_int
+fails:Bignum#& raises a TypeError when the given argument can't be converted to Integer
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_or_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_or_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_or_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:Bignum#| returns self bitwise OR other
fails:Bignum#| tries to convert the given argument to an Integer using to_int
+fails:Bignum#| raises a TypeError when the given argument can't be converted to Integer
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_xor_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_xor_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_xor_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:Bignum#^ returns self bitwise EXCLUSIVE OR other
fails:Bignum#^ tries to convert the given argument to an Integer using to_int
+fails:Bignum#^ raises a TypeError when the given argument can't be converted to Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/element_reference_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/element_reference_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/element_reference_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:Bignum#[] tries to convert the given argument to an Integer using #to_int
+fails:Bignum#[] raises a TypeError when the given argument can't be converted to Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/equal_value_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/equal_value_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/equal_value_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:Bignum#== calls 'other == self' if the given argument is not an Integer
+fails:Bignum#== returns the result of 'other == self' as a boolean
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/left_shift_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/left_shift_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/left_shift_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Bignum#<< tries to convert the given argument to an Integer using to_int
+fails:Bignum#<< raises a TypeError when the given argument can't be converted to Integer
+fails:Bignum#<< raises a RangeError when the given argument is a Bignum
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/right_shift_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/right_shift_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/right_shift_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,4 @@
+fails:Bignum#>> tries to convert the given argument to an Integer using to_int
+fails:Bignum#>> raises a TypeError when the given argument can't be converted to Integer
+fails:Bignum#>> returns 0 when the given argument is a Bignum and self is positive
+fails:Bignum#>> returns -1 when the given argument is a Bignum and self is negative
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/class/initialize_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/class/initialize_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/class/initialize_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:Class#new invokes #initialize on the new instance with the given args
+fails:Class#new passes the block to #initialize
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/equal_value_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/equal_value_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/equal_value_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,4 @@
fails:Comparable#== returns nil if calling #<=> on self returns nil or a non-Integer
fails:Comparable#== returns nil if calling #<=> on self raises a StandardError
+fails:Comparable#== calls #<=> on self with other and returns true if #<=> returns 0
+fails:Comparable#== returns false if calling #<=> on self returns a non-zero Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/gt_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/gt_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/gt_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Comparable#> calls #<=> on self with other and returns true if #<=> returns any Integer greater than 0
+fails:Comparable#> returns false if calling #<=> on self returns 0 or any Integer less than 0
+fails:Comparable#> raises an ArgumentError if calling #<=> on self returns nil
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/gte_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/gte_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/gte_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Comparable#>= calls #<=> on self with other and returns true if #<=> returns 0 or any Integer greater than 0
+fails:Comparable#>= returns false if calling #<=> on self returns any Integer less than 0
+fails:Comparable#>= raises an ArgumentError if calling #<=> on self returns nil
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/lt_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/lt_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/lt_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Comparable#< calls #<=> on self with other and returns true if #<=> returns any Integer less than 0
+fails:Comparable#< returns false if calling #<=> on self returns 0 or any Integer greater than 0
+fails:Comparable#< raises an ArgumentError if calling #<=> on self returns nil
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/lte_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/lte_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/comparable/lte_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Comparable#<= calls #<=> on self with other and returns true if #<=> returns 0 or any Integer less than 0
+fails:Comparable#<= returns false if calling #<=> on self returns any Integer greater than 0
+fails:Comparable#<= raises an ArgumentError if calling #<=> on self returns nil
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/dir/element_reference_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/dir/element_reference_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/dir/element_reference_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Dir.[] converts patterns with to_str
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/dir/glob_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/dir/glob_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/dir/glob_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Dir.glob converts patterns with to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/drop_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/drop_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/enumerable/drop_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:Enumerable#drop requires exactly one argument
+fails:Enumerable#drop passed a number n as an argument tries to convert n to an Integer using #to_int
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chmod_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chmod_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/chmod_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -6,3 +6,5 @@
fails:File#chmod with '0666' makes file readable and writable but not executable
fails:File#chmod with '0111' makes file executable but not readable or writable
fails:File#chmod modifies the permission bits of the files specified
+fails:File.chmod invokes to_int on non-integer argument
+fails:File.chmod invokes to_str on non-string file names
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/fnmatch_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/fnmatch_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/fnmatch_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:File.fnmatch does not raise a TypeError if the third argument can be coerced to an Integer
+fails:File.fnmatch? does not raise a TypeError if the third argument can be coerced to an Integer
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/join_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
-critical:File.join raises an ArgumentError if passed a recursive array
\ No newline at end of file
+critical:File.join raises an ArgumentError if passed a recursive array
+fails:File.join calls #to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/new_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/new_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/new_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -10,3 +10,5 @@
fails:File.new return a new File with modus fd
fails:File.new expected errors
fails:File.new can't alter mode or permissions when opening a file
+fails:File.new coerces filename using to_str
+fails:File.new coerces filename using #to_path
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/size_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/size_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/size_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,7 @@
+fails:File#size is an instance method
+fails:File#size returns the file's size as a Fixnum
+fails:File#size returns the file's size in bytes
+fails:File#size returns the cached size of the file if subsequently deleted
+fails:File#size returns the file's current size even if modified
+fails:File#size returns 0 for an empty file
+fails:File#size follows symlinks if necessary
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/umask_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/umask_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/file/umask_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:File.umask invokes to_int on non-integer argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_and_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_and_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_and_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Fixnum#& tries to convert it's int like argument to an Integer using to_int
+fails:Fixnum#& raises a TypeError when the given argument can't be converted to Integer
+fails:Fixnum#& coerces arguments correctly even if it is a Bignum
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_or_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_or_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_or_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Fixnum#| tries to convert the int like argument to an Integer using to_int
+fails:Fixnum#| raises a TypeError when the given argument can't be converted to Integer
+fails:Fixnum#| coerces arguments correctly even if it is a Bignum
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_xor_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_xor_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/bit_xor_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Fixnum#^ tries to convert the given argument to an Integer using to_int
+fails:Fixnum#^ raises a TypeError when the given argument can't be converted to Integer
+fails:Fixnum#^ coerces arguments correctly even if it is a Bignum
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/coerce_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/coerce_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/coerce_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Fixnum#coerce tries to convert the given Object into a Float by using #to_f
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/element_reference_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/element_reference_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/element_reference_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Fixnum#[] tries to convert the given argument to an Integer using #to_int
+fails:Fixnum#[] raises a TypeError when the given argument can't be converted to Integer
+fails:Fixnum#[] coerces arguments correctly even if it is a Bignum
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/equal_value_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/equal_value_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/equal_value_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Fixnum#== calls 'other == self' if the given argument is not a Fixnum
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/left_shift_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/left_shift_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/left_shift_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Fixnum#<< tries to convert its argument to an Integer using to_int
+fails:Fixnum#<< raises a TypeError when the given argument can't be converted to Integer
+fails:Fixnum#<< raises a RangeError when the given argument is out of range of Fixnum
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/right_shift_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/right_shift_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/fixnum/right_shift_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,3 @@
+fails:Fixnum#>> tries to convert it's argument to an Integer using to_int
+fails:Fixnum#>> raises a TypeError when the given argument can't be converted to Integer
+fails:Fixnum#>> does not raise RangeError when the given argument is out of range of Fixnum
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/element_reference_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/element_reference_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/element_reference_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,4 @@
fails:Hash#[] compares key with found hash code via eql?
fails:Hash#[] compares keys with eql? semantics
+fails:Hash#[] compares key via hash
+fails:Hash#[] does not compare key with unknown hash codes via eql?
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/element_set_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/element_set_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/element_set_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,4 @@
fails:Hash#[]= duplicates string keys using dup semantics
fails:Hash#[]= duplicates and freezes string keys
fails:Hash#[]= raises a TypeError if called on a frozen instance
+fails:Hash#[]= stores unequal keys that hash to the same value
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/eql_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/eql_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/eql_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -2,3 +2,5 @@
critical:Hash#eql? computes equality for recursive hashes & arrays
fails:Hash#eql? compares keys with matching hash codes via eql?
fails:Hash#eql? compares keys with eql? semantics
+fails:Hash#eql? first compares keys via hash
+fails:Hash#eql? does not compare keys with different hash codes via eql?
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/equal_value_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/equal_value_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/equal_value_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -2,3 +2,5 @@
critical:Hash#== computes equality for recursive hashes & arrays
fails:Hash#== compares keys with matching hash codes via eql?
fails:Hash#== compares keys with eql? semantics
+fails:Hash#== first compares keys via hash
+fails:Hash#== does not compare keys with different hash codes via eql?
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/has_key_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/has_key_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/has_key_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Hash#has_key? returns false for objects with the same hash
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/include_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/include_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/include_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Hash#include? returns false for objects with the same hash
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/index_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/index_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/index_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Hash#index compares values using ==
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/initialize_copy_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/initialize_copy_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/initialize_copy_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,4 @@
fails:Hash#initialize_copy is private
fails:Hash#initialize_copy does not transfer default values
fails:Hash#initialize_copy raises a RuntimeError if called on a frozen instance
+fails:Hash#initialize_copy tries to convert the passed argument to a hash using #to_hash
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/inspect_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/inspect_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/inspect_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
-critical:Hash#inspect handles recursive hashes
\ No newline at end of file
+critical:Hash#inspect handles recursive hashes
+fails:Hash#inspect calls inspect on keys and values
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/key_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/key_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/key_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:Hash#key? returns false for objects with the same hash
+fails:Hash#key compares values using ==
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/member_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/member_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/member_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Hash#member? returns false for objects with the same hash
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/merge_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/merge_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/merge_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,5 @@
fails:Hash#merge returns subclass instance for subclasses
fails:Hash#merge! raises a RuntimeError if called on a non-empty, frozen instance
fails:Hash#merge! raises a RuntimeError if called on a frozen instance
+fails:Hash#merge tries to convert the passed argument to a hash using #to_hash
+fails:Hash#merge! tries to convert the passed argument to a hash using #to_hash
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/rehash_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/rehash_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/rehash_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:Hash#rehash raises a TypeError if called on a frozen instance
fails:Hash#rehash causes a RuntimeError to be raised if called inside an iterator block
+fails:Hash#rehash reorganizes the hash by recomputing all key hash codes
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/replace_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/replace_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/replace_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:Hash#replace does not transfer default values
fails:Hash#replace raises a RuntimeError if called on a frozen instance
+fails:Hash#replace tries to convert the passed argument to a hash using #to_hash
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/store_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/store_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/store_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,4 @@
fails:Hash#store duplicates string keys using dup semantics
fails:Hash#store duplicates and freezes string keys
fails:Hash#store raises a TypeError if called on a frozen instance
+fails:Hash#store stores unequal keys that hash to the same value
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/to_s_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/to_s_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/to_s_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
-critical:Hash#to_s handles recursive hashes
\ No newline at end of file
+critical:Hash#to_s handles recursive hashes
+fails:Hash#to_s calls inspect on keys and values
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/update_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/update_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/hash/update_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:Hash#update raises a RuntimeError if called on a frozen instance
+fails:Hash#update tries to convert the passed argument to a hash using #to_hash
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/for_fd_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/for_fd_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/for_fd_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,4 @@
fails:IO.for_fd associates new IO with the old descriptor so each IO directly affects the other
fails:IO.for_fd raises EINVAL if mode is not compatible with the descriptor's current mode
fails:IO.for_fd cannot open an IO with incompatible flags
+fails:IO.for_fd takes an Integer or #to_int argument as the descriptor to open
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/foreach_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/foreach_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/foreach_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -5,3 +5,4 @@
fails:IO::foreach can handle non-ASCII data as separator
fails:IO::foreach converts second parameter to string and uses as separator
fails:IO::foreach converts second parameter to string and uses as separator, with each to_str calling for each lines of the IOs
+fails:IO::foreach converts first parameter to string and uses as file name
Copied: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/lineno_tags.txt (from rev 1855, MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/comparison_tags.txt)
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/lineno_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/lineno_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:IO#lineno= invokes to_int on non-numeric arguments
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/readlines_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/readlines_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/readlines_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -11,3 +11,4 @@
fails:IO#readlines when passed [file_name, separator] does not change $_
fails:IO#readlines when passed [file_name, separator] returns an Array containing all paragraphs when the passed separator is an empty String
fails:IO#readlines when passed [file_name, separator] tries to convert the passed separator to a String using #to_str
+fails:IO.readlines when passed [file_name] tries to convert the passed file_name to a String using #to_str
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/syswrite_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/syswrite_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/syswrite_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:IO#syswrite coerces the argument to a string using to_s
+fails:IO#syswrite invokes to_s on non-String argument
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/write_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/write_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/write_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,3 @@
-fails:IO#write on a file does not check if the file is writable if writing zero bytes
\ No newline at end of file
+fails:IO#write on a file does not check if the file is writable if writing zero bytes
+fails:IO#write coerces the argument to a string using to_s
+fails:IO#write invokes to_s on non-String argument
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Array_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Array_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Array_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,4 @@
fails:Kernel#Array is a private method
+fails:Kernel#Array tries to call #to_ary on the given argument if it's not an Array
+fails:Kernel#Array tries to call #to_a on the given argument if #to_ary is not provided
+fails:Kernel#Array raises a TypeError if #to_ary / #to_a do not return an array
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Float_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Float_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Float_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -25,4 +25,14 @@
fails:Kernel.Float is a private method
fails:Kernel#Float is a private method
fails:Kernel.Float raises a TypeError if #to_f is not provided
-fails:Kernel#Float raises a TypeError if #to_f is not provided
\ No newline at end of file
+fails:Kernel#Float raises a TypeError if #to_f is not provided
+fails:Kernel.Float otherwise, converts the given argument to a Float by calling #to_f
+fails:Kernel.Float returns the identical NaN if to_f is called and it returns NaN
+fails:Kernel.Float returns the identical Infinity if to_f is called and it returns Infinity
+fails:Kernel.Float raises a TypeError if #to_f returns a String
+fails:Kernel.Float raises a TypeError if #to_f returns an Integer
+fails:Kernel#Float otherwise, converts the given argument to a Float by calling #to_f
+fails:Kernel#Float returns the identical NaN if to_f is called and it returns NaN
+fails:Kernel#Float returns the identical Infinity if to_f is called and it returns Infinity
+fails:Kernel#Float raises a TypeError if #to_f returns a String
+fails:Kernel#Float raises a TypeError if #to_f returns an Integer
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -11,4 +11,18 @@
fails:Kernel.Integer calls to_i on Rationals
fails:Kernel.Integer raises an ArgumentError if the String ends with a null byte
fails:Kernel#Integer calls to_i on Rationals
-fails:Kernel#Integer raises an ArgumentError if the String ends with a null byte
\ No newline at end of file
+fails:Kernel#Integer raises an ArgumentError if the String ends with a null byte
+fails:Kernel.Integer uncritically return the value of to_int even if it is not an Integer
+fails:Kernel.Integer returns the value of to_int if the result is a Fixnum
+fails:Kernel.Integer returns the value of to_int if the result is a Bignum
+fails:Kernel.Integer calls to_i on an object whose to_int returns nil
+fails:Kernel.Integer uncritically return the value of to_int even if it is not an Integer
+fails:Kernel.Integer raises a TypeError if to_i returns a value that is not an Integer
+fails:Kernel.Integer raises a TypeError if to_int returns nil and no to_i exists
+fails:Kernel#Integer uncritically return the value of to_int even if it is not an Integer
+fails:Kernel#Integer returns the value of to_int if the result is a Fixnum
+fails:Kernel#Integer returns the value of to_int if the result is a Bignum
+fails:Kernel#Integer calls to_i on an object whose to_int returns nil
+fails:Kernel#Integer uncritically return the value of to_int even if it is not an Integer
+fails:Kernel#Integer raises a TypeError if to_i returns a value that is not an Integer
+fails:Kernel#Integer raises a TypeError if to_int returns nil and no to_i exists
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/String_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/String_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/String_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -5,4 +5,16 @@
fails:Kernel#String converts the given argument to a String by calling #to_s
fails:Kernel#String raises a TypeError if #to_s is not provided
fails:Kernel#String tries to call the to_s method if respond_to? returns true for to_s
-fails:Kernel#String is a private method
\ No newline at end of file
+fails:Kernel#String is a private method
+fails:Kernel.String converts a constant to a String
+fails:Kernel.String calls #to_s to convert an arbitrary object to a String
+fails:Kernel.String raises a TypeError if #to_s does not exist
+fails:Kernel.String raises a NoMethodError if #to_s is not defined but #respond_to?(:to_s) returns true
+fails:Kernel.String calls #to_s if #respond_to?(:to_s) returns true
+fails:Kernel.String raises a TypeError if #to_s does not return a String
+fails:Kernel#String converts a constant to a String
+fails:Kernel#String calls #to_s to convert an arbitrary object to a String
+fails:Kernel#String raises a TypeError if #to_s does not exist
+fails:Kernel#String raises a NoMethodError if #to_s is not defined but #respond_to?(:to_s) returns true
+fails:Kernel#String calls #to_s if #respond_to?(:to_s) returns true
+fails:Kernel#String raises a TypeError if #to_s does not return a String
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/backtick_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/backtick_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/backtick_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:Kernel#` is a private method
fails:Kernel#` sets $? to the exit status of the executed sub-process
+fails:Kernel#` tries to convert the given argument to String using #to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/catch_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/catch_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/catch_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,4 +1,5 @@
critical:Kernel.catch can be nested
fails:Kernel.catch raises ArgumentError if the number of arguments is not one
fails:Kernel.catch raises TypeError if the argument is not a symbol
-fails:Kernel#catch is a private method
\ No newline at end of file
+fails:Kernel#catch is a private method
+fails:Kernel.catch yields a new, unique object when called without arguments
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/extend_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/extend_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/extend_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:Kernel#extend raises a TypeError if self is frozen
+fails:Kernel#extend raises a RuntimeError if self is frozen
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_variable_get_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_variable_get_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_variable_get_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,4 @@
+fails:Kernel#instance_variable_get tries to convert the passed argument to a String using #to_str
+fails:Kernel#instance_variable_get returns the value of the passed instance variable that is referred to by the conversion result
+fails:Kernel#instance_variable_get raises a TypeError when the passed argument can't be converted to a String
+fails:Kernel#instance_variable_get raises a NameError when the conversion result does not start with an '@'
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -11,4 +11,8 @@
fails:Kernel#require will not load the same file twice, returns false instead
fails:Kernel#require checks $LOADED_FEATURES to see whether file is already loaded
fails:Kernel#require does not infinite loop on an rb file that requires itself
-fails:Kernel#require appends a file with no extension with .rb/.<ext> in that order to locate file
\ No newline at end of file
+fails:Kernel#require appends a file with no extension with .rb/.<ext> in that order to locate file
+fails:Kernel#require collapses consecutive path separators
+fails:Kernel#require collapses '../' inside an absolute path
+fails:Kernel#require canonicalizes relative paths
+fails:Kernel#require calls #to_path on non-String arguments
\ No newline at end of file
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/math/cos_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/math/cos_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/math/cos_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,4 @@
fails:Math.cos raises an ArgumentError if the argument cannot be coerced with Float()
fails:Math.cos accepts any argument that can be coerced with Float()
fails:Math#cos is accessible as a private instance method
+fails:Math.cos coerces its argument with #to_f
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/alias_method_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/alias_method_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/alias_method_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:Module#alias_method retains method visibility
fails:Module#alias_method is a private method
+fails:Module#alias_method converts a non string/symbol/fixnum name to string using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_accessor_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_accessor_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_accessor_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,3 @@
fails:Module#attr_accessor applies current visibility to methods created
+fails:Module#attr_accessor converts non string/symbol/fixnum names to strings using to_str
+fails:Module#attr_accessor raises a TypeError when the given names can't be converted to strings using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_reader_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_reader_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_reader_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,4 @@
fails:Module#attr_reader creates a getter for each given attribute name
fails:Module#attr_reader applies current visibility to methods created
+fails:Module#attr_reader converts non string/symbol/fixnum names to strings using to_str
+fails:Module#attr_reader raises a TypeError when the given names can't be converted to strings using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -3,3 +3,5 @@
fails:Module#attr applies current visibility to methods created
fails:Module#attr creates a getter but no setter for all given attribute names
fails:Module#attr applies current visibility to methods created
+fails:Module#attr converts non string/symbol/fixnum names to strings using to_str
+fails:Module#attr raises a TypeError when the given names can't be converted to strings using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_writer_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_writer_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/attr_writer_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,4 @@
fails:Module#attr_writer creates a setter for an attribute name given as a Fixnum
fails:Module#attr_writer converts non string/symbol/fixnum names to strings using to_str
fails:Module#attr_writer applies current visibility to methods created
+fails:Module#attr_writer raises a TypeError when the given names can't be converted to strings using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/autoload_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/autoload_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/autoload_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -19,3 +19,4 @@
fails:Module#autoload raises a NameError when the autoload file did not define the constant and a module is opened with the same name
fails:Module#autoload raises a TypeError if opening a class with a different superclass than the class defined in the autoload file
fails:Module#autoload does not call Kernel#require or Kernel#load dynamically
+fails:Module#autoload calls #to_path on non-String filename arguments
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_eval_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_eval_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_eval_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,4 @@
fails:Module#class_eval shares a scope across sibling evals
fails:Module#class_eval does not add defined methods to other classes
+fails:Module#class_eval converts non string eval-string to string using to_str
+fails:Module#class_eval raises a TypeError when the given eval-string can't be converted to string using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_defined_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_defined_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_defined_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,4 @@
fails:Module#class_variable_defined? returns true if a class variables with the given name is defined in an included module
fails:Module#class_variable_defined? accepts Fixnums for class variables
+fails:Module#class_variable_defined? converts a non string/symbol/fixnum name to string using to_str
+fails:Module#class_variable_defined? raises a TypeError when the given names can't be converted to strings using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_get_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_get_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_get_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,5 @@
fails:Module#class_variable_get returns the value of a class variable with the given name defined in an included module
fails:Module#class_variable_get accepts Fixnums for class variables
fails:Module#class_variable_get raises a NameError when a Fixnum for an uninitialized class variable is given
+fails:Module#class_variable_get converts a non string/symbol/fixnum name to string using to_str
+fails:Module#class_variable_get raises a TypeError when the given names can't be converted to strings using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_set_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_set_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/class_variable_set_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,5 @@
fails:Module#class_variable_set accepts Fixnums for class variables
fails:Module#class_variable_set raises a TypeError when self is frozen
+fails:Module#class_variable_set raises a RuntimeError when self is frozen
+fails:Module#class_variable_set converts a non string/symbol/fixnum name to string using to_str
+fails:Module#class_variable_set raises a TypeError when the given names can't be converted to strings using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_defined_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_defined_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_defined_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,3 @@
fails:Module#const_defined? returns false if the constant is not defined in the receiver
+fails:Module#const_defined? calls #to_str to convert the given name to a String
+fails:Module#const_defined? raises a TypeError if conversion to a String by calling #to_str fails
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_get_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_get_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_get_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,5 @@
fails:Module#const_get with statically assigned constants searches the superclass chain
-fails:Module#const_get with dynamically assigned constants searches the superclass chain
\ No newline at end of file
+fails:Module#const_get with dynamically assigned constants searches the superclass chain
+fails:Module#const_get calls #to_str to convert the given name to a String
+fails:Module#const_get raises a TypeError if conversion to a String by calling #to_str fails
+fails:Module#const_get calls #const_missing on the receiver if unable to locate the constant
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_set_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_set_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/const_set_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:Module#const_set calls #to_str to convert the given name to a String
+fails:Module#const_set raises a TypeError if conversion to a String by calling #to_str fails
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/method_defined_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/method_defined_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/method_defined_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:Module#method_defined? returns true if a public or private method with the given name is defined in self, self's ancestors or one of self's included modules
fails:Module#method_defined? converts the given name to a string using to_str
+fails:Module#method_defined? raises a TypeError when the given object is not a string/symbol/fixnum
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/module_eval_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/module_eval_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/module_eval_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,4 @@
fails:Module#module_eval shares a scope across sibling evals
fails:Module#module_eval does not add defined methods to other classes
+fails:Module#module_eval converts non string eval-string to string using to_str
+fails:Module#module_eval raises a TypeError when the given eval-string can't be converted to string using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/module_function_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/module_function_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/module_function_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -3,3 +3,5 @@
fails:Module#module_function as a toggle (no arguments) in a Module body stops creating module functions if the body encounters another toggle like public/protected/private without arguments
fails:Module#module_function as a toggle (no arguments) in a Module body does not affect module_evaled method definitions also if outside the eval itself
fails:Module#module_function as a toggle (no arguments) in a Module body has no effect if inside a module_eval if the definitions are outside of it
+fails:Module#module_function with specific method names tries to convert the given names to strings using to_str
+fails:Module#module_function with specific method names raises a TypeError when the given names can't be converted to string using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/remove_const_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/remove_const_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/module/remove_const_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,5 @@
fails:Module#remove_const removes the constant specified by a String or Symbol from the receiver's constant table
fails:Module#remove_const raises a NameError if the constant is not defined directly in the module
fails:Module#remove_const is a private method
+fails:Module#remove_const calls #to_str to convert the given name to a String
+fails:Module#remove_const raises a TypeError if conversion to a String by calling #to_str fails
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/abs_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/abs_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/abs_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:Numeric#abs returns self when self is greater than 0
+fails:Numeric#abs returns self#@- when self is less than 0
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/ceil_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/ceil_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/ceil_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Numeric#ceil converts self to a Float (using #to_f) and returns the #ceil'ed result
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/coerce_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/coerce_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/coerce_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,4 +1,6 @@
critical:Numeric#coerce returns [other.to_f, self.to_f] if self and other are instances of different classes
fails:Numeric#coerce raises a TypeError when passed a Symbol
fails:Numeric#coerce calls #to_f to convert other if self responds to #to_f
-fails:Numeric#coerce raises a TypeError when passed a boolean
\ No newline at end of file
+fails:Numeric#coerce raises a TypeError when passed a boolean
+fails:Numeric#coerce raises a TypeError when passed nil
+fails:Numeric#coerce raises an ArgumentError when passed a String
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/div_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/div_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/div_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Numeric#div calls self#/ with other, converts the result to a Float (using #to_f) and returns the #floor'ed result
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/divmod_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/divmod_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/divmod_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Numeric#divmod returns [quotient, modulus], with quotient being obtained as in Numeric#div and modulus being obtained by calling self#% with other
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/eql_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/eql_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/eql_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
-critical:Numeric#eql? returns false if self's and other's types don't match
\ No newline at end of file
+critical:Numeric#eql? returns false if self's and other's types don't match
+fails:Numeric#eql? returns the result of calling self#== with other when self's and other's types match
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/floor_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/floor_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/floor_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Numeric#floor converts self to a Float (using #to_f) and returns the #floor'ed result
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/modulo_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/modulo_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/modulo_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Numeric#modulo returns the result of calling self#% with other
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/nonzero_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/nonzero_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/nonzero_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:Numeric#nonzero? returns self if self#zero? is false
+fails:Numeric#nonzero? returns nil if self#zero? is true
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/remainder_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/remainder_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/remainder_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,5 @@
+fails:Numeric#remainder returns the result of calling self#% with other if self is 0
+fails:Numeric#remainder returns the result of calling self#% with other if self and other are greater than 0
+fails:Numeric#remainder returns the result of calling self#% with other if self and other are less than 0
+fails:Numeric#remainder returns the result of calling self#% with other - other if self is greater than 0 and other is less than 0
+fails:Numeric#remainder returns the result of calling self#% with other - other if self is less than 0 and other is greater than 0
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/round_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/round_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/round_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Numeric#round converts self to a Float (using #to_f) and returns the #round'ed result
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/step_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/step_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/step_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,4 @@
fails:Numeric#step with [stop, step] returns an Enumerator when passed no block and self > stop
fails:Numeric#step with [stop, step] returns an Enumerator when passed no block and self < stop
+fails:Numeric#step with [stop, step] increments self (using #+) until self > stop when step > 0
+fails:Numeric#step with [stop, step] decrements self (using #-) until self < stop when step < 0
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/to_int_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/to_int_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/to_int_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Numeric#to_int returns self#to_i
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/truncate_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/truncate_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/truncate_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:Numeric#truncate converts self to a Float (using #to_f) and returns the #truncate'd result
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/zero_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/zero_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/zero_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:Numeric#zero? returns true if self is 0
+fails:Numeric#zero? returns false if self is not 0
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/cover_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/cover_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/cover_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:Range#cover? returns false if range is empty
+fails:Range#cover? uses the range element's <=> to make the comparison
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/each_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/each_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/each_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:Range#each raises a TypeError if the first element does not respond to #succ
fails:Range#each returns an enumerator when no block given
+fails:Range#each passes each element to the given block by using #succ
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/step_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/step_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/range/step_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:Range#step raises a TypeError if the first element does not respond to #succ
fails:Range#step returns an enumerator when no block given
+fails:Range#step coerces the argument to integer by invoking to_int
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/center_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/center_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/center_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:String#center with length, padding calls #to_int to convert length to an integer
+fails:String#center with length, padding calls #to_str to convert padstr to a String
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/comparison_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/comparison_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/comparison_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:String#<=> with String ignores subclass differences
-fails:String#<=> with String compares individual characters based on their ascii value
\ No newline at end of file
+fails:String#<=> with String compares individual characters based on their ascii value
+fails:String#<=> calls #to_str to convert the argument to a String and calls #<=> to compare with self
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/count_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/count_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/count_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,4 @@
fails:String#count negates sets starting with ^
fails:String#count counts all chars in a sequence
fails:String#count raises a TypeError when a set arg can't be converted to a string
+fails:String#count calls #to_str to convert each set arg to a String
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/crypt_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/crypt_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/crypt_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:String#crypt taints the result if either salt or self is tainted
fails:String#crypt doesn't return subclass instances
+fails:String#crypt calls #to_str to converts the salt arg to a String
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/delete_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/delete_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/delete_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -3,3 +3,4 @@
fails:String#delete taints result when self is tainted
fails:String#delete raises a TypeError when one set arg can't be converted to a string
fails:String#delete! raises a TypeError when self is frozen
+fails:String#delete tries to convert each set arg to a string using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/each_line_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/each_line_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/each_line_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -4,3 +4,4 @@
fails:String#each_line yields subclass instances for subclasses
fails:String#each_line not care if the string is modified while substituting
fails:String#each_line returns an enumerator when no block given
+fails:String#each_line tries to convert the separator to a string using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/element_set_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/element_set_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/element_set_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -6,3 +6,5 @@
fails:String#[]= with String raises a TypeError when self is frozen
fails:String#[]= with String raises a TypeError if other_str can't be converted to a String
fails:String#[]= with index, count raises a TypeError if other_str is a type other than String
+fails:String#[]= with String calls to_int on index
+fails:String#[]= with String calls #to_str to convert other to a String
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/end_with_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/end_with_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/end_with_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:String#end_with? works for multibyte strings
+fails:String#end_with? converts its argument using :to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/include_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/include_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/include_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -2,3 +2,4 @@
fails:String#include? with String raises a TypeError if other can't be converted to string
fails:String#include? with Fixnum returns true if self contains the given char
fails:String#include? with Fixnum uses fixnum % 256
+fails:String#include? with String tries to convert other to string using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/index_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/index_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/index_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -7,3 +7,6 @@
fails:String#index with String ignores string subclasses
fails:String#index with String starts the search at the given offset
fails:String#index with Regexp behaves the same as String#index(string) for escaped string regexps
+fails:String#index with object tries to convert obj to a string via to_str
+fails:String#index with String converts start_offset to an integer via to_int
+fails:String#index with Regexp converts start_offset to an integer via to_int
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/insert_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/insert_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/insert_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,4 @@
fails:String#insert with index, other raises a TypeError if other can't be converted to string
fails:String#insert with index, other raises a TypeError if self is frozen
+fails:String#insert with index, other converts index to an integer using to_int
+fails:String#insert with index, other converts other to a string using to_str
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/ljust_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/ljust_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/ljust_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:String#ljust with length, padding tries to convert length to an integer using to_int
+fails:String#ljust with length, padding tries to convert padstr to a string using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/match_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/match_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/match_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,4 @@
fails:String#=~ raises a TypeError if a obj is a string
fails:String#match tries to convert pattern to a string via to_str
fails:String#match raises a TypeError if pattern is not a regexp or a string
+fails:String#=~ invokes obj.=~ with self if obj is neither a string nor regexp
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/modulo_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/modulo_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/modulo_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -64,4 +64,10 @@
fails:String#% supports hex formats using %x for positive numbers
fails:String#% supports hex formats using %x for negative numbers
fails:String#% supports hex formats using %X for positive numbers
-fails:String#% supports hex formats using %X for negative numbers
\ No newline at end of file
+fails:String#% supports hex formats using %X for negative numbers
+fails:String#% calls #to_ary on argument for %c formats
+fails:String#% tries to convert the passed argument to an Array using #to_ary
+fails:String#% tries to convert the passed argument to an Array using #to_ary
+fails:String#% tries to convert the passed argument to an Array using #to_ary
+fails:String#% tries to convert the passed argument to an Array using #to_ary
+fails:String#% tries to convert the passed argument to an Array using #to_ary
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/multiply_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/multiply_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/multiply_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:String#* returns subclass instances
fails:String#* always taints the result when self is tainted
+fails:String#* tries to convert the given argument to an integer using to_int
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/rjust_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/rjust_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/rjust_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:String#rjust with length, padding tries to convert length to an integer using to_int
+fails:String#rjust with length, padding tries to convert padstr to a string using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/scan_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/scan_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/scan_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -4,3 +4,4 @@
fails:String#scan with pattern and block sets $~ for access from the block
fails:String#scan with pattern and block sets $~ to MatchData of last match and nil when there's none for access from outside
fails:String#scan with pattern and block taints the match strings if self is tainted, unless the tain happens inside the scan
+fails:String#scan tries to convert pattern to a string via to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/split_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/split_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/split_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -8,3 +8,6 @@
fails:String#split with Regexp returns subclass instances based on self
fails:String#split with Regexp does not call constructor on created subclass instances
fails:String#split with Regexp taints the resulting strings if self is tainted
+fails:String#split with String tries converting its pattern argument to a string via to_str
+fails:String#split with String tries converting limit to an integer via to_int
+fails:String#split with Regexp tries converting limit to an integer via to_int
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/squeeze_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/squeeze_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/squeeze_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -3,3 +3,4 @@
fails:String#squeeze taints the result when self is tainted
fails:String#squeeze raises a TypeError when one set arg can't be converted to a string
fails:String#squeeze! raises a TypeError when self is frozen
+fails:String#squeeze tries to convert each set arg to a string using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/start_with_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/start_with_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/start_with_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
fails:String#start_with? works for multibyte strings
+fails:String#start_with? converts its argument using :to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/sub_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/sub_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/sub_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -10,3 +10,5 @@
fails:String#sub! with pattern and block taints self if block's result is tainted
fails:String#sub! with pattern and block raises a RuntimeError if the string is modified while substituting
fails:String#sub! with pattern, replacement raises a RuntimeError when self is frozen
+fails:String#sub with pattern, replacement tries to convert replacement to a string using to_str
+fails:String#sub with pattern and block converts the block's return value to a string using to_s
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/sum_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/sum_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/sum_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:String#sum tries to convert n to an integer using to_int
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/to_i_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/to_i_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/to_i_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,3 @@
fails:String#to_i ignores leading underscores
fails:String#to_i ignores a leading mix of whitespaces and underscores
+fails:String#to_i tries to convert the base to an integer using to_int
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_s_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_s_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_s_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -2,3 +2,4 @@
fails:String#tr_s translates chars not in from_string when it starts with a ^
fails:String#tr_s taints the result when self is tainted
fails:String#tr_s! raises a TypeError if self is frozen
+fails:String#tr_s tries to convert from_str and to_str to strings using to_str
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/tr_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -4,3 +4,4 @@
fails:String#tr taints the result when self is tainted
fails:String#tr! modifies self in place
fails:String#tr! raises a TypeError if self is frozen
+fails:String#tr tries to convert from_str and to_str to strings using to_str
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/try_convert_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/try_convert_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/string/try_convert_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1,2 @@
+fails:String.try_convert converts using :to_str
+fails:String.try_convert checks the result of the conversion
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gm_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gm_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/gm_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,4 @@
fails:Time.gm creates a time based on given values, interpreted as UTC (GMT)
fails:Time.gm creates a time based on given C-style gmtime arguments, interpreted as UTC (GMT)
+fails:Time.gm handles string-like second argument
+fails:Time.gm handles string-like second argument
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/local_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/local_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/local_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,4 @@
fails:Time.local creates a time based on given values, interpreted in the local time zone
fails:Time.local creates a time based on given C-style gmtime arguments, interpreted in the local time zone
+fails:Time.local handles string-like second argument
+fails:Time.local handles string-like second argument
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/minus_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/minus_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/minus_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1 +1,2 @@
-fails:Time#- raises TypeError on argument that can't be coerced into Float
\ No newline at end of file
+fails:Time#- raises TypeError on argument that can't be coerced into Float
+fails:Time#- accepts arguments that can be coerced into Float
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mktime_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mktime_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/mktime_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,2 +1,4 @@
fails:Time.mktime creates a time based on given values, interpreted in the local time zone
fails:Time.mktime creates a time based on given C-style gmtime arguments, interpreted in the local time zone
+fails:Time.mktime handles string-like second argument
+fails:Time.mktime handles string-like second argument
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/time/utc_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -1,3 +1,5 @@
fails:Time.utc creates a time based on given values, interpreted as UTC (GMT)
fails:Time.utc creates a time based on given C-style gmtime arguments, interpreted as UTC (GMT)
fails:Time#utc returns the utc representation of time
+fails:Time.utc handles string-like second argument
+fails:Time.utc handles string-like second argument
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/array_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/array_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/array_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:The unpacking splat operator (*) when applied to a non-Array value attempts to coerce it to Array if the object respond_to?(:to_a)
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -0,0 +1 @@
+fails:A class definition raises TypeError if constant given as class name exists and is not a Module
Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/metaclass_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/metaclass_tags.txt 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/metaclass_tags.txt 2009-06-14 19:01:34 UTC (rev 1856)
@@ -3,4 +3,5 @@
fails:A constant on a metaclass can be accessed via self::CONST
fails:A constant on a metaclass can be accessed via const_get
fails:A constant on a metaclass is not defined on the object's class
-fails:A constant on a metaclass is not preserved when the object is duped
\ No newline at end of file
+fails:A constant on a metaclass is not preserved when the object is duped
+fails:A constant on a metaclass does not appear in the object's class constant list
Modified: MacRuby/branches/experimental/spec/macruby.mspec
===================================================================
--- MacRuby/branches/experimental/spec/macruby.mspec 2009-06-14 18:58:48 UTC (rev 1855)
+++ MacRuby/branches/experimental/spec/macruby.mspec 2009-06-14 19:01:34 UTC (rev 1856)
@@ -11,6 +11,7 @@
# obsolete in 1.9
'^core/continuation',
+ '^core/kernel/callcc_spec.rb',
# Currently not working on MacRuby
'^core/marshal',
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090614/e68d61b3/attachment-0001.html>
More information about the macruby-changes
mailing list