Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #830 from mswart/test_failures
Fixing / Tagging the current build errors
- Loading branch information
Showing
with
665 additions
and 43 deletions.
- +2 −0 spec/tags/command_line/dash_upper_c_tags.txt
- +4 −0 spec/tags/core/argf/each_line_tags.txt
- +4 −0 spec/tags/core/argf/each_tags.txt
- +1 −0 spec/tags/core/argf/filename_tags.txt
- +1 −0 spec/tags/core/argf/gets_tags.txt
- +6 −0 spec/tags/core/argf/lines_tags.txt
- +1 −0 spec/tags/core/argf/path_tags.txt
- +1 −0 spec/tags/core/argf/read_tags.txt
- +2 −0 spec/tags/core/array/flatten_tags.txt
- +1 −0 spec/tags/core/array/join_tags.txt
- +2 −2 spec/tags/core/array/pack/l_tags.txt
- +2 −0 spec/tags/core/array/values_at_tags.txt
- +1 −0 spec/tags/core/bignum/bit_and_tags.txt
- +1 −0 spec/tags/core/bignum/bit_xor_tags.txt
- +2 −0 spec/tags/core/bignum/case_compare_tags.txt
- +3 −0 spec/tags/core/class/dup_tags.txt
- +1 −0 spec/tags/core/class/initialize_tags.txt
- +1 −0 spec/tags/core/complex/marshal_dump_tags.txt
- +1 −0 spec/tags/core/dir/element_reference_tags.txt
- +1 −0 spec/tags/core/dir/glob_tags.txt
- +1 −0 spec/tags/core/dir/read_tags.txt
- +8 −0 spec/tags/core/encoding/converter/primitive_convert_tags.txt
- +1 −0 spec/tags/core/encoding/converter/replacement_tags.txt
- +2 −0 spec/tags/core/enumerable/entries_tags.txt
- +2 −0 spec/tags/core/enumerable/find_index_tags.txt
- +1 −0 spec/tags/core/enumerable/grep_tags.txt
- +2 −0 spec/tags/core/enumerable/group_by_tags.txt
- +1 −0 spec/tags/core/enumerable/take_while_tags.txt
- +2 −0 spec/tags/core/enumerable/to_a_tags.txt
- +1 −0 spec/tags/core/enumerator/generator/each_tags.txt
- +1 −0 spec/tags/core/enumerator/generator/initialize_tags.txt
- +2 −0 spec/tags/core/enumerator/initialize_tags.txt
- +2 −0 spec/tags/core/enumerator/yielder/append_tags.txt
- +1 −0 spec/tags/core/enumerator/yielder/initialize_tags.txt
- +1 −0 spec/tags/core/env/fetch_tags.txt
- +5 −0 spec/tags/core/exception/backtrace_tags.txt
- +1 −0 spec/tags/core/exception/result_tags.txt
- +5 −0 spec/tags/core/file/basename_tags.txt
- +8 −0 spec/tags/core/file/constants_tags.txt
- +1 −0 spec/tags/core/file/directory_tags.txt
- +1 −0 spec/tags/core/file/expand_path_tags.txt
- +1 −0 spec/tags/core/file/ftype_tags.txt
- +1 −0 spec/tags/core/file/grpowned_tags.txt
- +1 −0 spec/tags/core/file/initialize_tags.txt
- +1 −0 spec/tags/core/file/new_tags.txt
- +1 −0 spec/tags/core/file/readlink_tags.txt
- +1 −0 spec/tags/core/file/realpath_tags.txt
- +1 −0 spec/tags/core/file/rename_tags.txt
- +1 −0 spec/tags/core/file/stat/executable_tags.txt
- +1 −0 spec/tags/core/file/stat/grpowned_tags.txt
- +2 −0 spec/tags/core/float/comparison_tags.txt
- +1 −0 spec/tags/core/hash/constructor_tags.txt
- +1 −0 spec/tags/core/hash/default_proc_tags.txt
- +2 −0 spec/tags/core/hash/inspect_tags.txt
- +2 −0 spec/tags/core/hash/to_a_tags.txt
- +2 −0 spec/tags/core/hash/to_s_tags.txt
- +1 −0 spec/tags/core/integer/gcdlcm_tags.txt
- +1 −0 spec/tags/core/integer/lcm_tags.txt
- +1 −0 spec/tags/core/integer/round_tags.txt
- +2 −0 spec/tags/core/io/for_fd_tags.txt
- +7 −0 spec/tags/core/io/gets_tags.txt
- +12 −0 spec/tags/core/io/internal_encoding_tags.txt
- +2 −0 spec/tags/core/io/new_tags.txt
- +2 −0 spec/tags/core/io/open_tags.txt
- +1 −1 spec/tags/core/io/pipe_tags.txt
- +3 −0 spec/tags/core/io/popen_tags.txt
- +4 −4 spec/tags/core/io/putc_tags.txt
- +2 −0 spec/tags/core/io/read_nonblock_tags.txt
- +3 −0 spec/tags/core/io/read_tags.txt
- +3 −0 spec/tags/core/io/readlines_tags.txt
- +6 −0 spec/tags/core/io/set_encoding_tags.txt
- +7 −0 spec/tags/core/io/write_tags.txt
- +1 −0 spec/tags/core/kernel/backtick_tags.txt
- +1 −0 spec/tags/core/kernel/caller_tags.txt
- +1 −0 spec/tags/core/kernel/eval_tags.txt
- +1 −0 spec/tags/core/kernel/extend_tags.txt
- +2 −0 spec/tags/core/kernel/frozen_tags.txt
- +2 −0 spec/tags/core/kernel/inspect_tags.txt
- +2 −0 spec/tags/core/kernel/instance_variable_get_tags.txt
- +1 −0 spec/tags/core/kernel/instance_variable_set_tags.txt
- +2 −0 spec/tags/core/kernel/load_tags.txt
- +2 −0 spec/tags/core/kernel/printf_tags.txt
- +2 −0 spec/tags/core/kernel/private_methods_tags.txt
- +2 −0 spec/tags/core/kernel/protected_methods_tags.txt
- +2 −0 spec/tags/core/kernel/public_methods_tags.txt
- +8 −8 spec/tags/core/kernel/putc_tags.txt
- +1 −0 spec/tags/core/kernel/require_relative_tags.txt
- +4 −2 spec/tags/core/kernel/require_tags.txt
- +2 −0 spec/tags/core/kernel/sleep_tags.txt
- +7 −2 spec/tags/core/kernel/spawn_tags.txt
- +1 −0 spec/tags/core/kernel/sprintf_tags.txt
- +4 −0 spec/tags/core/kernel/taint_tags.txt
- +7 −0 spec/tags/core/kernel/test_tags.txt
- +7 −0 spec/tags/core/kernel/warn_tags.txt
- +3 −0 spec/tags/core/main/def_tags.txt
- +1 −0 spec/tags/core/matchdata/begin_tags.txt
- +1 −0 spec/tags/core/matchdata/end_tags.txt
- +1 −0 spec/tags/core/matchdata/offset_tags.txt
- +2 −0 spec/tags/core/matchdata/post_match_tags.txt
- +2 −0 spec/tags/core/matchdata/pre_match_tags.txt
- +1 −0 spec/tags/core/math/acosh_tags.txt
- +1 −0 spec/tags/core/math/atan2_tags.txt
- +2 −0 spec/tags/core/math/log2_tags.txt
- +1 −0 spec/tags/core/math/tanh_tags.txt
- +1 −0 spec/tags/core/method/call_tags.txt
- +1 −0 spec/tags/core/method/element_reference_tags.txt
- +1 −0 spec/tags/core/method/name_tags.txt
- +1 −0 spec/tags/core/method/owner_tags.txt
- +3 −0 spec/tags/core/method/parameters_tags.txt
- +1 −0 spec/tags/core/method/receiver_tags.txt
- +1 −0 spec/tags/core/method/source_location_tags.txt
- +1 −0 spec/tags/core/module/alias_method_tags.txt
- +5 −0 spec/tags/core/module/append_features_tags.txt
- +3 −0 spec/tags/core/module/autoload_tags.txt
- +1 −0 spec/tags/core/module/const_get_tags.txt
- +1 −0 spec/tags/core/module/const_set_tags.txt
- +1 −0 spec/tags/core/module/define_method_tags.txt
- +3 −0 spec/tags/core/module/extend_object_tags.txt
- +1 −0 spec/tags/core/module/include_tags.txt
- +2 −0 spec/tags/core/module/instance_method_tags.txt
- +4 −0 spec/tags/core/module/module_function_tags.txt
- +1 −0 spec/tags/core/module/private_method_defined_tags.txt
- +3 −0 spec/tags/core/module/private_tags.txt
- +3 −0 spec/tags/core/module/protected_tags.txt
- +10 −0 spec/tags/core/module/public_instance_method_tags.txt
- +1 −0 spec/tags/core/module/public_tags.txt
- +4 −0 spec/tags/core/module/remove_method_tags.txt
- +6 −0 spec/tags/core/module/undef_method_tags.txt
- +3 −0 spec/tags/core/mutex/sleep_tags.txt
- +1 −0 spec/tags/core/proc/clone_tags.txt
- +1 −0 spec/tags/core/proc/dup_tags.txt
- +1 −0 spec/tags/core/proc/eql_tags.txt
- +1 −0 spec/tags/core/proc/equal_value_tags.txt
- +1 −0 spec/tags/core/proc/parameters_tags.txt
- +2 −0 spec/tags/core/process/euid_tags.txt
- +1 −1 spec/tags/core/process/setpgrp_tags.txt
- +5 −1 spec/tags/core/process/spawn_tags.txt
- +2 −1 spec/tags/core/process/uid_tags.txt
- +1 −0 spec/tags/core/range/cover_tags.txt
- +4 −0 spec/tags/core/range/include_tags.txt
- +1 −0 spec/tags/core/range/initialize_tags.txt
- +2 −0 spec/tags/core/range/inspect_tags.txt
- +4 −0 spec/tags/core/range/member_tags.txt
- +2 −0 spec/tags/core/range/to_s_tags.txt
- +6 −0 spec/tags/core/rational/ceil_tags.txt
- +6 −0 spec/tags/core/rational/floor_tags.txt
- +1 −0 spec/tags/core/rational/marshal_dump_tags.txt
- +8 −0 spec/tags/core/rational/round_tags.txt
- +6 −0 spec/tags/core/rational/truncate_tags.txt
- +5 −0 spec/tags/core/regexp/match_tags.txt
- +1 −0 spec/tags/core/regexp/options_tags.txt
- +2 −0 spec/tags/core/regexp/union_tags.txt
- +3 −0 spec/tags/core/string/case_compare_tags.txt
- +1 −0 spec/tags/core/string/clone_tags.txt
- +3 −0 spec/tags/core/string/comparison_tags.txt
- +1 −0 spec/tags/core/string/dup_tags.txt
- +9 −0 spec/tags/core/string/each_line_tags.txt
- +33 −0 spec/tags/core/string/element_reference_tags.txt
- +87 −0 spec/tags/core/string/encode_tags.txt
- +25 −0 spec/tags/core/string/encoding_tags.txt
- +3 −0 spec/tags/core/string/eql_tags.txt
- +3 −0 spec/tags/core/string/equal_value_tags.txt
- +8 −0 spec/tags/core/string/force_encoding_tags.txt
- +2 −0 spec/tags/core/string/getbyte_tags.txt
- +2 −0 spec/tags/core/string/insert_tags.txt
- +2 −0 spec/tags/core/string/length_tags.txt
- +1 −10 spec/tags/core/string/lines_tags.txt
- +5 −0 spec/tags/core/string/match_tags.txt
- +1 −1 spec/tags/core/string/partition_tags.txt
- +2 −0 spec/tags/core/string/reverse_tags.txt
- +1 −1 spec/tags/core/string/rpartition_tags.txt
- +2 −0 spec/tags/core/string/size_tags.txt
- +2 −0 spec/tags/core/string/slice_tags.txt
- +2 −0 spec/tags/core/string/split_tags.txt
- +18 −0 spec/tags/core/string/sub_tags.txt
- +1 −0 spec/tags/core/string/to_i_tags.txt
- +2 −2 spec/tags/core/string/tr_tags.txt
- +1 −0 spec/tags/core/struct/eql_tags.txt
- +1 −0 spec/tags/core/struct/equal_value_tags.txt
- +4 −0 spec/tags/core/symbol/element_reference_tags.txt
- +4 −0 spec/tags/core/symbol/slice_tags.txt
- +1 −0 spec/tags/core/systemexit/success_tags.txt
- +1 −0 spec/tags/core/thread/alive_tags.txt
- +1 −0 spec/tags/core/thread/element_set_tags.txt
- +1 −0 spec/tags/core/thread/fork_tags.txt
- +1 −0 spec/tags/core/thread/kill_tags.txt
- +2 −0 spec/tags/core/thread/raise_tags.txt
- +1 −0 spec/tags/core/thread/start_tags.txt
- +1 −0 spec/tags/core/thread/terminate_tags.txt
- +1 −0 spec/tags/core/thread/value_tags.txt
- +2 −0 spec/tags/core/threadgroup/default_tags.txt
- +1 −0 spec/tags/core/threadgroup/enclose_tags.txt
- +2 −0 spec/tags/core/threadgroup/enclosed_tags.txt
- +1 −0 spec/tags/core/time/_dump_tags.txt
- +5 −0 spec/tags/core/time/_load_tags.txt
- +1 −0 spec/tags/core/time/getlocal_tags.txt
- +1 −0 spec/tags/core/time/gm_tags.txt
- +4 −0 spec/tags/core/time/inspect_tags.txt
- +1 −0 spec/tags/core/time/local_tags.txt
- +1 −0 spec/tags/core/time/localtime_tags.txt
- +2 −0 spec/tags/core/time/minus_tags.txt
- +1 −0 spec/tags/core/time/mktime_tags.txt
- +2 −0 spec/tags/core/time/new_tags.txt
- +2 −0 spec/tags/core/time/plus_tags.txt
- +1 −0 spec/tags/core/time/round_tags.txt
- +1 −0 spec/tags/core/time/strftime_tags.txt
- +1 −0 spec/tags/core/time/to_s_tags.txt
- +1 −0 spec/tags/core/time/utc_tags.txt
- +2 −0 spec/tags/core/time/zone_tags.txt
- +1 −0 spec/tags/language/block_tags.txt
- +2 −0 spec/tags/language/def_tags.txt
- +1 −0 spec/tags/language/lambda_tags.txt
- +4 −0 spec/tags/language/match_tags.txt
- +1 −1 spec/tags/language/proc_tags.txt
- +1 −1 spec/tags/language/throw_tags.txt
- +2 −1 tasks/travis.py
- +13 −0 topaz.mspec
- +2 −2 topaz/lexer.py
- +1 −2 topaz/utils/regexp.py
@@ -0,0 +1,2 @@ | ||
fails:The -C command line option changes the PWD when using a file | ||
fails:The -C command line option changes the PWD when using -e |
@@ -1,2 +1,6 @@ | ||
fails:ARGF.each_line reads each line of files | ||
fails:ARGF.each_line returns self when passed a block | ||
fails:ARGF.each_line is a public method | ||
fails:ARGF.each_line requires multiple arguments | ||
fails:ARGF.each_line returns an Enumerator when passed no block | ||
fails:ARGF.each_line with a separator yields each separated section of all streams |
@@ -1,2 +1,6 @@ | ||
fails:ARGF.each reads each line of files | ||
fails:ARGF.each returns self when passed a block | ||
fails:ARGF.each is a public method | ||
fails:ARGF.each requires multiple arguments | ||
fails:ARGF.each returns an Enumerator when passed no block | ||
fails:ARGF.each with a separator yields each separated section of all streams |
@@ -1,2 +1,3 @@ | ||
fails:ARGF.filename returns the current file name on each file | ||
fails:ARGF.filename it sets the $FILENAME global variable with the current file name on each file | ||
fails:ARGF.filename sets the $FILENAME global variable with the current file name on each file |
@@ -0,0 +1,6 @@ | ||
fails:ARGF.lines is a public method | ||
fails:ARGF.lines requires multiple arguments | ||
fails:ARGF.lines reads each line of files | ||
fails:ARGF.lines returns self when passed a block | ||
fails:ARGF.lines returns an Enumerator when passed no block | ||
fails:ARGF.lines with a separator yields each separated section of all streams |
@@ -1,2 +1,3 @@ | ||
fails:ARGF.path returns the current file name on each file | ||
fails:ARGF.path it sets the $FILENAME global variable with the current file name on each file | ||
fails:ARGF.path sets the $FILENAME global variable with the current file name on each file |
@@ -0,0 +1,2 @@ | ||
fails:Array#flatten returns a tainted array if self is tainted | ||
fails:Array#flatten returns an untrusted array if self is untrusted |
@@ -0,0 +1,2 @@ | ||
fails:Array#values_at when passed a range fills with nil once if the index is out of the range | ||
fails:Array#values_at when passed a range on an empty array fills with nil once if the index is out of the range and starts at 0 |
@@ -1 +1,2 @@ | ||
fails:raises a TypeError when passed a Float | ||
fails:Bignum#& raises a TypeError when passed a Float |
@@ -1 +1,2 @@ | ||
fails:raises a TypeError when passed a Float | ||
fails:Bignum#^ raises a TypeError when passed a Float |
@@ -1,3 +1,5 @@ | ||
fails:returns true if self has the same value as the given argument | ||
fails:calls 'other == self' if the given argument is not an Integer | ||
fails:returns the result of 'other == self' as a boolean | ||
fails:Bignum#=== calls 'other == self' if the given argument is not an Integer | ||
fails:Bignum#=== returns the result of 'other == self' as a boolean |
@@ -1,3 +1,6 @@ | ||
fails:duplicates both the class and the singleton class | ||
fails:retains an included module in the ancestor chain for the singleton class | ||
fails:Class#dup | ||
fails:Class#dup duplicates both the class and the singleton class | ||
fails:Class#dup retains an included module in the ancestor chain for the singleton class | ||
fails:Class#dup retains the correct ancestor chain for the singleton class |
@@ -0,0 +1 @@ | ||
fails:Class#initialize when given the Class raises a TypeError |
@@ -1 +1,2 @@ | ||
fails:Complex#marshal_dump dumps real and imaginary parts | ||
fails:Complex#marshal_dump is a public method |
@@ -1,2 +1,3 @@ | ||
fails:Dir.[] raises an Encoding::CompatibilityError if the argument encoding is not compatible with US-ASCII | ||
fails:Dir.[] returns Strings in the encoding of the pattern | ||
fails:Dir.[] ignores symlinks |
@@ -1,2 +1,3 @@ | ||
fails:Dir.glob raises an Encoding::CompatibilityError if the argument encoding is not compatible with US-ASCII | ||
fails:Dir.glob with encoding returns Strings in the encoding of the pattern | ||
fails:Dir.glob ignores symlinks |
@@ -0,0 +1 @@ | ||
fails:Dir#read returns the file name in the current seek position |
@@ -0,0 +1,2 @@ | ||
fails:Enumerable#entries returns a tainted array if self is tainted | ||
fails:Enumerable#entries returns an untrusted array if self is untrusted |
@@ -0,0 +1,2 @@ | ||
fails:Enumerable#find_index without block gathers whole arrays as elements when each yields multiple | ||
fails:Enumerable#find_index with block given a greedy yield parameter passes a gathered array to the parameter |
@@ -1 +1,2 @@ | ||
fails:Enumerable#grep can use $~ in the block when used with a Regexp | ||
fails:Enumerable#grep calls the block with an array when yielded with multiple arguments |
@@ -0,0 +1,2 @@ | ||
fails:Enumerable#group_by returns a tainted hash if self is tainted | ||
fails:Enumerable#group_by returns an untrusted hash if self is untrusted |
@@ -0,0 +1 @@ | ||
fails:Enumerable#take_while calls the block with initial args when yielded with multiple arguments |
@@ -0,0 +1,2 @@ | ||
fails:Enumerable#to_a returns a tainted array if self is tainted | ||
fails:Enumerable#to_a returns an untrusted array if self is untrusted |
@@ -0,0 +1 @@ | ||
fails:Enumerator::Generator#each is an enumerable |
@@ -0,0 +1 @@ | ||
fails:Enumerator::Generator#initialize returns self when given a block |
@@ -0,0 +1,2 @@ | ||
fails:Enumerator#initialize returns self when given an object | ||
fails:Enumerator#initialize returns self when given a block |
@@ -0,0 +1,2 @@ | ||
fails:Enumerator::Yielder#<< requires multiple arguments | ||
fails:Enumerator::Yielder#<< yields with passed arguments |
@@ -0,0 +1 @@ | ||
fails:Enumerator::Yielder#initialize returns self when given a block |
@@ -1,2 +1,3 @@ | ||
fails:ENV.fetch warns on block and default parameter given | ||
fails:ENV.fetch uses the locale encoding | ||
fails:ENV.fetch raises a TypeError if the key is not a String |
@@ -1 +1,6 @@ | ||
fails:Exception#backtrace | ||
fails:Exception#backtrace returns nil if no backtrace was set | ||
fails:Exception#backtrace includes the name of the method from where self raised in the first element | ||
fails:Exception#backtrace includes the filename of the location immediately prior to where self raised in the second element | ||
fails:Exception#backtrace includes the line number of the location immediately prior to where self raised in the second element | ||
fails:Exception#backtrace contains lines of the same format for each prior position in the stack |
@@ -0,0 +1 @@ | ||
fails:StopIteration#result returns the method-returned-object from an Enumerator |
@@ -1,3 +1,4 @@ | ||
fails:File.directory? returns false if the argument is an IO that's not a directory | ||
fails:File.directory? return true if the argument is an IO that is a directory | ||
fails:File.directory? calls #to_io to convert a non-IO object | ||
fails:File.directory? returns true if the argument is an IO that is a directory |
@@ -1,3 +1,4 @@ | ||
fails:File.grpowned? returns true if the file exist | ||
fails:File.grpowned? accepts an object that has a #to_path method | ||
fails:File.grpowned? returns false if file the does not exist | ||
fails:File.grpowned? takes non primary groups into account |
@@ -1,3 +1,4 @@ | ||
fails:File#initialize | ||
fails:File#initialize ignores encoding options in mode parameter | ||
fails:File#initialize accepts encoding options in mode parameter | ||
fails:File#initialize accepts encoding options as a hash parameter |
@@ -1,3 +1,4 @@ | ||
fails:File::Stat#executable? returns true if named file is executable by the effective user id of the process, otherwise false | ||
fails:File::Stat#executable? return true if the argument is an executable file | ||
fails:File::Stat#executable? accepts an object that has a #to_path method | ||
fails:File::Stat#executable? returns true if the argument is an executable file |
@@ -1,2 +1,3 @@ | ||
fails:File::Stat#grpowned? returns true if the file exist | ||
fails:File::Stat#grpowned? accepts an object that has a #to_path method | ||
fails:File::Stat#grpowned? takes non primary groups into account |
@@ -1 +1,3 @@ | ||
fails:Float#<=> | ||
fails:Float#<=> returns -1, 0, 1 when self is less than, equal, or greater than other | ||
fails:Float#<=> returns nil when either argument is NaN |
@@ -0,0 +1 @@ | ||
fails:Hash.[] removes the default_proc |
@@ -0,0 +1 @@ | ||
fails:Hash#default_proc= raises a RuntimeError if self is frozen |
@@ -0,0 +1,2 @@ | ||
fails:Hash#inspect returns a tainted string if self is tainted and not empty | ||
fails:Hash#inspect returns an untrusted string if self is untrusted and not empty |
@@ -0,0 +1,2 @@ | ||
fails:Hash#to_a returns a tainted array if self is tainted | ||
fails:Hash#to_a returns an untrusted array if self is untrusted |
@@ -0,0 +1,2 @@ | ||
fails:Hash#to_s returns a tainted string if self is tainted and not empty | ||
fails:Hash#to_s returns an untrusted string if self is untrusted and not empty |
@@ -1,3 +1,4 @@ | ||
fails:Integer#round returns itself rounded if passed a negative value | ||
fails:Integer#round raises a RangeError when passed Float::INFINITY | ||
fails:Integer#round raises a RangeError when passed a beyond signed int | ||
fails:Integer#round raises a RangeError when passed a big negative value |
Oops, something went wrong.