From c0298f55b17731e732016a2223d3386e35b81330 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Thu, 2 Nov 2023 13:14:28 -0500 Subject: [PATCH] Clean up rubyspec tags --- spec/tags/ruby/command_line/dash_upper_i_tags.txt | 2 -- spec/tags/ruby/core/argf/each_codepoint_tags.txt | 1 - spec/tags/ruby/core/array/initialize_tags.txt | 1 - spec/tags/ruby/core/exception/no_method_error_tags.txt | 1 - spec/tags/ruby/core/file/expand_path_tags.txt | 1 - spec/tags/ruby/core/file/printf_tags.txt | 1 - spec/tags/ruby/core/io/read_tags.txt | 1 - spec/tags/ruby/core/kernel/lambda_tags.txt | 1 - spec/tags/ruby/core/kernel/printf_tags.txt | 2 -- spec/tags/ruby/core/kernel/sprintf_tags.txt | 2 -- spec/tags/ruby/core/marshal/dump_tags.txt | 3 --- spec/tags/ruby/core/module/define_method_tags.txt | 3 +-- spec/tags/ruby/core/module/instance_method_tags.txt | 1 - spec/tags/ruby/core/module/private_tags.txt | 1 - spec/tags/ruby/core/module/refine_tags.txt | 7 ------- spec/tags/ruby/core/module/ruby2_keywords_tags.txt | 2 +- spec/tags/ruby/core/queue/initialize_tags.txt | 1 - spec/tags/ruby/core/refinement/import_methods_tags.txt | 1 - spec/tags/ruby/core/regexp/encoding_tags.txt | 1 - spec/tags/ruby/core/signal/trap_tags.txt | 1 - spec/tags/ruby/core/string/lines_tags.txt | 2 -- spec/tags/ruby/core/string/modulo_tags.txt | 1 - spec/tags/ruby/core/string/undump_tags.txt | 1 - spec/tags/ruby/core/symbol/end_with_tags.txt | 2 +- spec/tags/ruby/core/thread/backtrace_tags.txt | 1 - spec/tags/ruby/core/thread/report_on_exception_tags.txt | 1 - spec/tags/ruby/core/thread/terminate_tags.txt | 2 +- spec/tags/ruby/core/unboundmethod/hash_tags.txt | 1 - spec/tags/ruby/core/warning/element_set_tags.txt | 1 - spec/tags/ruby/core/warning/warn_tags.txt | 2 -- spec/tags/ruby/language/method_tags.txt | 1 - spec/tags/ruby/language/predefined_tags.txt | 2 -- spec/tags/ruby/language/range_tags.txt | 2 +- spec/tags/ruby/language/regexp/repetition_tags.txt | 2 -- spec/tags/ruby/library/fiber/current_tags.txt | 1 - spec/tags/ruby/library/logger/logger/new_tags.txt | 1 - spec/tags/ruby/library/openstruct/to_h_tags.txt | 5 ----- spec/tags/ruby/library/stringio/printf_tags.txt | 1 - spec/tags/ruby/library/weakref/weakref_alive_tags.txt | 1 - spec/tags/ruby/library/yaml/to_yaml_tags.txt | 1 - spec/tags/ruby/library/zlib/deflate/deflate_tags.txt | 1 - spec/tags/ruby/library/zlib/inflate/inflate_tags.txt | 1 - 42 files changed, 5 insertions(+), 62 deletions(-) delete mode 100644 spec/tags/ruby/core/module/instance_method_tags.txt delete mode 100644 spec/tags/ruby/core/queue/initialize_tags.txt delete mode 100644 spec/tags/ruby/core/regexp/encoding_tags.txt delete mode 100644 spec/tags/ruby/core/string/lines_tags.txt delete mode 100644 spec/tags/ruby/core/string/undump_tags.txt delete mode 100644 spec/tags/ruby/core/unboundmethod/hash_tags.txt delete mode 100644 spec/tags/ruby/core/warning/element_set_tags.txt delete mode 100644 spec/tags/ruby/core/warning/warn_tags.txt delete mode 100644 spec/tags/ruby/language/regexp/repetition_tags.txt delete mode 100644 spec/tags/ruby/library/openstruct/to_h_tags.txt delete mode 100644 spec/tags/ruby/library/weakref/weakref_alive_tags.txt diff --git a/spec/tags/ruby/command_line/dash_upper_i_tags.txt b/spec/tags/ruby/command_line/dash_upper_i_tags.txt index 20db6ac8d0a..88cbc3c1b0b 100644 --- a/spec/tags/ruby/command_line/dash_upper_i_tags.txt +++ b/spec/tags/ruby/command_line/dash_upper_i_tags.txt @@ -1,3 +1 @@ critical(fails on Travis):The -I command line option adds the path at the front of $LOAD_PATH -fails:The -I command line option adds the path expanded from CWD to $LOAD_PATH -fails:The -I command line option expands a path from CWD even if it does not exist diff --git a/spec/tags/ruby/core/argf/each_codepoint_tags.txt b/spec/tags/ruby/core/argf/each_codepoint_tags.txt index 628660b3465..de22fb505f6 100644 --- a/spec/tags/ruby/core/argf/each_codepoint_tags.txt +++ b/spec/tags/ruby/core/argf/each_codepoint_tags.txt @@ -1,2 +1 @@ hangs:ARGF.each_codepoint returns self when passed a block -fails:ARGF.each_codepoint yields each codepoint of all streams diff --git a/spec/tags/ruby/core/array/initialize_tags.txt b/spec/tags/ruby/core/array/initialize_tags.txt index 69278a5a61a..117732388f6 100644 --- a/spec/tags/ruby/core/array/initialize_tags.txt +++ b/spec/tags/ruby/core/array/initialize_tags.txt @@ -1,2 +1 @@ fails:Array#initialize with (size, object=nil) raises an ArgumentError if size is too large -fails:Array#initialize with no arguments does not use the given block diff --git a/spec/tags/ruby/core/exception/no_method_error_tags.txt b/spec/tags/ruby/core/exception/no_method_error_tags.txt index 653a5a20886..d44ee71de18 100644 --- a/spec/tags/ruby/core/exception/no_method_error_tags.txt +++ b/spec/tags/ruby/core/exception/no_method_error_tags.txt @@ -1,2 +1 @@ fails:NoMethodError#dup copies the name, arguments and receiver -fails:NoMethodError#message uses #name to display the receiver if it is a class or a module diff --git a/spec/tags/ruby/core/file/expand_path_tags.txt b/spec/tags/ruby/core/file/expand_path_tags.txt index dc68e78b9e2..0511481f040 100644 --- a/spec/tags/ruby/core/file/expand_path_tags.txt +++ b/spec/tags/ruby/core/file/expand_path_tags.txt @@ -2,4 +2,3 @@ fails:File.expand_path raises an Encoding::CompatibilityError if the external en windows:File.expand_path does not modify a HOME string argument fails:File.expand_path when HOME is not set uses the user database when passed '~' if HOME is nil fails:File.expand_path when HOME is not set uses the user database when passed '~/' if HOME is nil -fails:File.expand_path expands a path when the default external encoding is BINARY diff --git a/spec/tags/ruby/core/file/printf_tags.txt b/spec/tags/ruby/core/file/printf_tags.txt index a4313055836..ef3eb5fc84a 100644 --- a/spec/tags/ruby/core/file/printf_tags.txt +++ b/spec/tags/ruby/core/file/printf_tags.txt @@ -24,5 +24,4 @@ fails:File#printf width specifies the minimum number of characters that will be fails:File#printf precision float types controls the number of decimal places displayed in fraction part fails:File#printf reference by name %{name} style supports flags, width and precision fails:File#printf other formats c raises TypeError if argument is nil -fails:File#printf other formats c raises TypeError if converting to String with to_str returns non-String fails:File#printf other formats c raises TypeError if converting to Integer with to_int returns non-Integer diff --git a/spec/tags/ruby/core/io/read_tags.txt b/spec/tags/ruby/core/io/read_tags.txt index 35ddb8e4e5d..00e6cc06b17 100644 --- a/spec/tags/ruby/core/io/read_tags.txt +++ b/spec/tags/ruby/core/io/read_tags.txt @@ -5,5 +5,4 @@ windows:IO#read expands the buffer when too small windows:IO#read overwrites the buffer windows:IO#read truncates the buffer when too big windows:IO#read on Windows normalizes line endings in text mode -fails:IO#read raises IOError when stream is closed by another thread fails:IO.read accepts options as keyword arguments diff --git a/spec/tags/ruby/core/kernel/lambda_tags.txt b/spec/tags/ruby/core/kernel/lambda_tags.txt index 5badd4703b5..ab3c7010a2a 100644 --- a/spec/tags/ruby/core/kernel/lambda_tags.txt +++ b/spec/tags/ruby/core/kernel/lambda_tags.txt @@ -1,2 +1 @@ fails:Kernel.lambda does not create lambda-style Procs when captured with #method -fails:Kernel.lambda when called without a literal block warns when proc isn't a lambda diff --git a/spec/tags/ruby/core/kernel/printf_tags.txt b/spec/tags/ruby/core/kernel/printf_tags.txt index dc14f19f9f9..c8bf5f371a3 100644 --- a/spec/tags/ruby/core/kernel/printf_tags.txt +++ b/spec/tags/ruby/core/kernel/printf_tags.txt @@ -49,8 +49,6 @@ fails:Kernel.printf formatting io is not specified width specifies the minimum n fails:Kernel.printf formatting io is not specified precision float types controls the number of decimal places displayed in fraction part fails:Kernel.printf formatting io is not specified reference by name %{name} style supports flags, width and precision fails:Kernel.printf formatting io is specified other formats c raises TypeError if argument is nil -fails:Kernel.printf formatting io is specified other formats c raises TypeError if converting to String with to_str returns non-String fails:Kernel.printf formatting io is specified other formats c raises TypeError if converting to Integer with to_int returns non-Integer fails:Kernel.printf formatting io is not specified other formats c raises TypeError if argument is nil -fails:Kernel.printf formatting io is not specified other formats c raises TypeError if converting to String with to_str returns non-String fails:Kernel.printf formatting io is not specified other formats c raises TypeError if converting to Integer with to_int returns non-Integer diff --git a/spec/tags/ruby/core/kernel/sprintf_tags.txt b/spec/tags/ruby/core/kernel/sprintf_tags.txt index a7b30427cb8..f188e6a0548 100644 --- a/spec/tags/ruby/core/kernel/sprintf_tags.txt +++ b/spec/tags/ruby/core/kernel/sprintf_tags.txt @@ -50,10 +50,8 @@ fails:Kernel.sprintf width specifies the minimum number of characters that will fails:Kernel.sprintf precision float types controls the number of decimal places displayed in fraction part fails:Kernel.sprintf reference by name %{name} style supports flags, width and precision fails:Kernel#sprintf other formats c raises TypeError if argument is nil -fails:Kernel#sprintf other formats c raises TypeError if converting to String with to_str returns non-String fails:Kernel#sprintf other formats c raises TypeError if converting to Integer with to_int returns non-Integer fails:Kernel.sprintf other formats c raises TypeError if argument is nil -fails:Kernel.sprintf other formats c raises TypeError if converting to String with to_str returns non-String fails:Kernel.sprintf other formats c raises TypeError if converting to Integer with to_int returns non-Integer fails:Kernel#sprintf %c raises error when a codepoint isn't representable in an encoding of a format string fails:Kernel.sprintf %c raises error when a codepoint isn't representable in an encoding of a format string diff --git a/spec/tags/ruby/core/marshal/dump_tags.txt b/spec/tags/ruby/core/marshal/dump_tags.txt index a054fffe222..a1ecbee8cb4 100644 --- a/spec/tags/ruby/core/marshal/dump_tags.txt +++ b/spec/tags/ruby/core/marshal/dump_tags.txt @@ -1,8 +1,5 @@ fails:Marshal.dump with a Time dumps the zone and the offset -fails(travis):Marshal.dump with an Exception dumps the message for the exception fails:Marshal.dump with a Symbol dumps a binary encoded Symbol -fails:Marshal.dump with an Exception dumps an empty Exception -fails:Marshal.dump with an Exception contains the filename in the backtrace fails:Marshal.dump with an Object dumps an Object with a non-US-ASCII instance variable fails:Marshal.dump with an Exception dumps the cause for the exception fails:Marshal.dump with a Time dumps the zone, but not the offset if zone is UTC diff --git a/spec/tags/ruby/core/module/define_method_tags.txt b/spec/tags/ruby/core/module/define_method_tags.txt index 8e4ff27a6d4..6b77b22328e 100644 --- a/spec/tags/ruby/core/module/define_method_tags.txt +++ b/spec/tags/ruby/core/module/define_method_tags.txt @@ -1,8 +1,7 @@ fails:Method#define_method when passed a Proc object and a method is defined inside defines the nested method in the default definee where the Proc was created -fails:Module#define_method when the default definee is not the same as the module sets the visibility of the method to public +fails(on GHA):Module#define_method when the default definee is not the same as the module sets the visibility of the method to public fails:Method#define_method when passed a block behaves exactly like a lambda for break fails:Method#define_method when passed a block behaves exactly like a lambda for next -fails:Module#define_method raises TypeError when #to_str called on non-String name returns non-String value fails:Module#define_method raises a TypeError when the given method is no Method/Proc fails:Module#define_method when passed a Proc object and a method is defined inside defines the nested method in the default definee where the Proc was created fails:Module#define_method when passed a block behaves exactly like a lambda for break diff --git a/spec/tags/ruby/core/module/instance_method_tags.txt b/spec/tags/ruby/core/module/instance_method_tags.txt deleted file mode 100644 index ebfd7613fd1..00000000000 --- a/spec/tags/ruby/core/module/instance_method_tags.txt +++ /dev/null @@ -1 +0,0 @@ -fails:Module#instance_method raises TypeError when passed non-String name and #to_str returns non-String value diff --git a/spec/tags/ruby/core/module/private_tags.txt b/spec/tags/ruby/core/module/private_tags.txt index 788d7a8fcb6..8b04e50291b 100644 --- a/spec/tags/ruby/core/module/private_tags.txt +++ b/spec/tags/ruby/core/module/private_tags.txt @@ -1,3 +1,2 @@ fails:Module#private without arguments does not affect method definitions when itself is inside an eval and method definitions are outside fails:Module#private without arguments within a closure sets the visibility outside the closure -fails:Module#private continues to allow a prepended module method to call super diff --git a/spec/tags/ruby/core/module/refine_tags.txt b/spec/tags/ruby/core/module/refine_tags.txt index c2ddcfe693a..f56a17a41d6 100644 --- a/spec/tags/ruby/core/module/refine_tags.txt +++ b/spec/tags/ruby/core/module/refine_tags.txt @@ -1,12 +1,5 @@ -fails:Module#refine for methods accessed indirectly is honored by Kernel#send -fails:Module#refine for methods accessed indirectly is honored by BasicObject#__send__ fails:Module#refine for methods accessed indirectly is not honored by & fails(not implemented, jruby/jruby#6161):Module#refine for methods accessed indirectly is honored by & -fails(not implemented, jruby/jruby#6161):Module#refine for methods accessed indirectly is honored by Kernel#public_send -fails(not implemented, jruby/jruby#6161):Module#refine for methods accessed indirectly is honored by Kernel#respond_to? fails:Module#refine when super is called in a refinement looks in the lexical scope refinements before other active refinements -fails:Module#refine for methods accessed indirectly is honored by Kernel#method fails:Module#refine for methods accessed indirectly is honored by Kernel#public_method -fails:Module#refine for methods accessed indirectly is honored by Kernel#instance_method -fails:Module#refine applies refinements to calls in the refine block fails:Module#refine raises TypeError if not passed a class diff --git a/spec/tags/ruby/core/module/ruby2_keywords_tags.txt b/spec/tags/ruby/core/module/ruby2_keywords_tags.txt index 26967858ec1..b6df80f81b5 100644 --- a/spec/tags/ruby/core/module/ruby2_keywords_tags.txt +++ b/spec/tags/ruby/core/module/ruby2_keywords_tags.txt @@ -1,2 +1,2 @@ fails:Module#ruby2_keywords does NOT copy the Hash when calling a method taking (*args) -fails:Module#ruby2_keywords makes a copy and unmark the Hash when calling a method taking (arg) +fails(JIT mode only):Module#ruby2_keywords makes a copy and unmark the Hash when calling a method taking (arg) diff --git a/spec/tags/ruby/core/queue/initialize_tags.txt b/spec/tags/ruby/core/queue/initialize_tags.txt deleted file mode 100644 index a8d2cf8fea8..00000000000 --- a/spec/tags/ruby/core/queue/initialize_tags.txt +++ /dev/null @@ -1 +0,0 @@ -fails:Queue#initialize raises TypeError if #to_a does not return Array diff --git a/spec/tags/ruby/core/refinement/import_methods_tags.txt b/spec/tags/ruby/core/refinement/import_methods_tags.txt index a7e03894c00..5f71d530cde 100644 --- a/spec/tags/ruby/core/refinement/import_methods_tags.txt +++ b/spec/tags/ruby/core/refinement/import_methods_tags.txt @@ -1,4 +1,3 @@ -fails:Refinement#import_methods when methods are defined in Ruby code imports methods fails:Refinement#import_methods doesn't import any methods if one of the arguments is not a module fails:Refinement#import_methods imports methods from multiple modules so that methods see other's module's methods fails:Refinement#import_methods imports methods from module so that methods can see each other diff --git a/spec/tags/ruby/core/regexp/encoding_tags.txt b/spec/tags/ruby/core/regexp/encoding_tags.txt deleted file mode 100644 index fc74e8f486b..00000000000 --- a/spec/tags/ruby/core/regexp/encoding_tags.txt +++ /dev/null @@ -1 +0,0 @@ -fails:Regexp#encoding allows otherwise invalid characters if NOENCODING is specified diff --git a/spec/tags/ruby/core/signal/trap_tags.txt b/spec/tags/ruby/core/signal/trap_tags.txt index 09d157adbd8..8dce29baa9d 100644 --- a/spec/tags/ruby/core/signal/trap_tags.txt +++ b/spec/tags/ruby/core/signal/trap_tags.txt @@ -7,5 +7,4 @@ fails:Signal.trap raises ArgumentError or Errno::EINVAL for SIGSTOP fails:Signal.trap accepts 'SYSTEM_DEFAULT' and uses the OS handler for SIGPIPE fails:Signal.trap allows to register a handler for all known signals, except reserved signals for which it raises ArgumentError fails:Signal.trap raises ArgumentError when passed unknown signal - fails:Signal.trap calls #to_str on an object to convert to a String diff --git a/spec/tags/ruby/core/string/lines_tags.txt b/spec/tags/ruby/core/string/lines_tags.txt deleted file mode 100644 index 3b3806dc9bf..00000000000 --- a/spec/tags/ruby/core/string/lines_tags.txt +++ /dev/null @@ -1,2 +0,0 @@ -fails:String#lines when `chomp` keyword argument is passed removes only specified separator -fails:String#lines when `chomp` keyword argument is passed ignores new line characters when separator is specified diff --git a/spec/tags/ruby/core/string/modulo_tags.txt b/spec/tags/ruby/core/string/modulo_tags.txt index c0b21505b93..6fe3b98afea 100644 --- a/spec/tags/ruby/core/string/modulo_tags.txt +++ b/spec/tags/ruby/core/string/modulo_tags.txt @@ -24,6 +24,5 @@ fails:String#% width specifies the minimum number of characters that will be wri fails:String#% precision float types controls the number of decimal places displayed in fraction part fails:String#% reference by name %{name} style supports flags, width and precision fails:String#% other formats c raises TypeError if argument is nil -fails:String#% other formats c raises TypeError if converting to String with to_str returns non-String fails:String#% other formats c raises TypeError if converting to Integer with to_int returns non-Integer fails:String#% %c raises error when a codepoint isn't representable in an encoding of a format string diff --git a/spec/tags/ruby/core/string/undump_tags.txt b/spec/tags/ruby/core/string/undump_tags.txt deleted file mode 100644 index f3cb250489a..00000000000 --- a/spec/tags/ruby/core/string/undump_tags.txt +++ /dev/null @@ -1 +0,0 @@ -fails:String#undump Limitations cannot undump non ASCII-compatible string diff --git a/spec/tags/ruby/core/symbol/end_with_tags.txt b/spec/tags/ruby/core/symbol/end_with_tags.txt index 7340b3604cc..ca4cca3c18d 100644 --- a/spec/tags/ruby/core/symbol/end_with_tags.txt +++ b/spec/tags/ruby/core/symbol/end_with_tags.txt @@ -1 +1 @@ -fails:Symbol#end_with? checks that we are starting to match at the head of a character +fails(on GHA):Symbol#end_with? checks that we are starting to match at the head of a character \ No newline at end of file diff --git a/spec/tags/ruby/core/thread/backtrace_tags.txt b/spec/tags/ruby/core/thread/backtrace_tags.txt index 251c5604367..faaf0defe67 100644 --- a/spec/tags/ruby/core/thread/backtrace_tags.txt +++ b/spec/tags/ruby/core/thread/backtrace_tags.txt @@ -1,4 +1,3 @@ fails:Thread#backtrace returns an array (which may be empty) immediately after the thread is created fails:Thread#backtrace returns the current backtrace of a thread fails:Thread#backtrace can be called with a range whose end is negative -fails:Thread#backtrace returns nil if omitting more locations than available diff --git a/spec/tags/ruby/core/thread/report_on_exception_tags.txt b/spec/tags/ruby/core/thread/report_on_exception_tags.txt index f215ff5d223..10a8e52a012 100644 --- a/spec/tags/ruby/core/thread/report_on_exception_tags.txt +++ b/spec/tags/ruby/core/thread/report_on_exception_tags.txt @@ -1,2 +1 @@ fails:Thread#report_on_exception= when set to true prints a backtrace on $stderr in the regular backtrace order -fails:Thread#report_on_exception= when set to true prints the backtrace even if the thread was killed just after Thread#raise diff --git a/spec/tags/ruby/core/thread/terminate_tags.txt b/spec/tags/ruby/core/thread/terminate_tags.txt index aedde8fc40e..deb5a1a3cea 100644 --- a/spec/tags/ruby/core/thread/terminate_tags.txt +++ b/spec/tags/ruby/core/thread/terminate_tags.txt @@ -1,2 +1,2 @@ unstable:Thread#terminate killing dying running does nothing -fails(we disagree that ensures should not be run):Thread#terminate kills other fibers of that thread without running their ensure clauses \ No newline at end of file +unstable(and we disagree with ruby-core about whether ensures should run):Thread#terminate kills other fibers of that thread without running their ensure clauses \ No newline at end of file diff --git a/spec/tags/ruby/core/unboundmethod/hash_tags.txt b/spec/tags/ruby/core/unboundmethod/hash_tags.txt deleted file mode 100644 index 033a044a20e..00000000000 --- a/spec/tags/ruby/core/unboundmethod/hash_tags.txt +++ /dev/null @@ -1 +0,0 @@ -fails:UnboundMethod#hash returns the same value for builtin methods that are eql? diff --git a/spec/tags/ruby/core/warning/element_set_tags.txt b/spec/tags/ruby/core/warning/element_set_tags.txt deleted file mode 100644 index f5f4b2936a8..00000000000 --- a/spec/tags/ruby/core/warning/element_set_tags.txt +++ /dev/null @@ -1 +0,0 @@ -fails:Warning.[]= :experimental emits and suppresses warnings for :experimental diff --git a/spec/tags/ruby/core/warning/warn_tags.txt b/spec/tags/ruby/core/warning/warn_tags.txt deleted file mode 100644 index 8c45348bb34..00000000000 --- a/spec/tags/ruby/core/warning/warn_tags.txt +++ /dev/null @@ -1,2 +0,0 @@ -fails:Warning.warn is called by Kernel.warn with nil category keyword -fails:Warning.warn is called by Kernel.warn with given category keyword converted to a symbol diff --git a/spec/tags/ruby/language/method_tags.txt b/spec/tags/ruby/language/method_tags.txt index d254a6651f4..67c0e5148ad 100644 --- a/spec/tags/ruby/language/method_tags.txt +++ b/spec/tags/ruby/language/method_tags.txt @@ -1,2 +1 @@ -fails:A method assigns local variables from method parameters for definition 'def m(*a) a end' fails:A method assigns local variables from method parameters for definition 'def m(a, **nil); a end;' diff --git a/spec/tags/ruby/language/predefined_tags.txt b/spec/tags/ruby/language/predefined_tags.txt index 00debe69998..29e89f3a3b7 100644 --- a/spec/tags/ruby/language/predefined_tags.txt +++ b/spec/tags/ruby/language/predefined_tags.txt @@ -4,5 +4,3 @@ windows:The predefined global constant ARGV contains Strings encoded in locale E fails:Predefined global $! in bodies without ensure should be cleared when an exception is rescued even when a non-local return is present fails(etc not .so/.jar):$LOAD_PATH.resolve_feature_path returns what will be loaded without actual loading, .so file fails:Execution variable $: default $LOAD_PATH entries until sitelibdir included have @gem_prelude_index set -fails:Predefined global $, warns if assigned non-nil -fails:Predefined global $; warns if assigned non-nil diff --git a/spec/tags/ruby/language/range_tags.txt b/spec/tags/ruby/language/range_tags.txt index 64bc2fa65f3..d6fb003fec9 100644 --- a/spec/tags/ruby/language/range_tags.txt +++ b/spec/tags/ruby/language/range_tags.txt @@ -1 +1 @@ -fails:Literal Ranges creates a simple range as an object literal +fails(JIT mode only):Literal Ranges creates a simple range as an object literal diff --git a/spec/tags/ruby/language/regexp/repetition_tags.txt b/spec/tags/ruby/language/regexp/repetition_tags.txt deleted file mode 100644 index 348391570af..00000000000 --- a/spec/tags/ruby/language/regexp/repetition_tags.txt +++ /dev/null @@ -1,2 +0,0 @@ -fails:Regexps with repetition does not treat {m,n}+ as possessive -fails:Regexps with repetition supports nested quantifiers diff --git a/spec/tags/ruby/library/fiber/current_tags.txt b/spec/tags/ruby/library/fiber/current_tags.txt index b77dd3065e5..f83d68ad6c0 100644 --- a/spec/tags/ruby/library/fiber/current_tags.txt +++ b/spec/tags/ruby/library/fiber/current_tags.txt @@ -1,2 +1 @@ fails:Fiber.current returns the current Fiber when called from a Fiber that transferred to another -fails:Fiber.current is available without an extra require diff --git a/spec/tags/ruby/library/logger/logger/new_tags.txt b/spec/tags/ruby/library/logger/logger/new_tags.txt index 788dee7c106..1cf912d3055 100644 --- a/spec/tags/ruby/library/logger/logger/new_tags.txt +++ b/spec/tags/ruby/library/logger/logger/new_tags.txt @@ -1,2 +1 @@ windows:Logger#new creates a new logger object - diff --git a/spec/tags/ruby/library/openstruct/to_h_tags.txt b/spec/tags/ruby/library/openstruct/to_h_tags.txt deleted file mode 100644 index 04e62cf398d..00000000000 --- a/spec/tags/ruby/library/openstruct/to_h_tags.txt +++ /dev/null @@ -1,5 +0,0 @@ -fails(reverted ostruct due to https://github.com/ruby/ostruct/issues/30):OpenStruct#to_h with block converts [key, value] pairs returned by the block to a hash -fails(reverted ostruct due to https://github.com/ruby/ostruct/issues/30):OpenStruct#to_h with block raises ArgumentError if block returns longer or shorter array -fails(reverted ostruct due to https://github.com/ruby/ostruct/issues/30):OpenStruct#to_h with block raises TypeError if block returns something other than Array -fails(reverted ostruct due to https://github.com/ruby/ostruct/issues/30):OpenStruct#to_h with block coerces returned pair to Array with #to_ary -fails(reverted ostruct due to https://github.com/ruby/ostruct/issues/30):OpenStruct#to_h with block does not coerce returned pair to Array with #to_a diff --git a/spec/tags/ruby/library/stringio/printf_tags.txt b/spec/tags/ruby/library/stringio/printf_tags.txt index a0c4adbf3ef..c08afc7bf51 100644 --- a/spec/tags/ruby/library/stringio/printf_tags.txt +++ b/spec/tags/ruby/library/stringio/printf_tags.txt @@ -24,5 +24,4 @@ fails:StringIO#printf formatting width specifies the minimum number of character fails:StringIO#printf formatting precision float types controls the number of decimal places displayed in fraction part fails:StringIO#printf formatting reference by name %{name} style supports flags, width and precision fails:StringIO#printf formatting other formats c raises TypeError if argument is nil -fails:StringIO#printf formatting other formats c raises TypeError if converting to String with to_str returns non-String fails:StringIO#printf formatting other formats c raises TypeError if converting to Integer with to_int returns non-Integer diff --git a/spec/tags/ruby/library/weakref/weakref_alive_tags.txt b/spec/tags/ruby/library/weakref/weakref_alive_tags.txt deleted file mode 100644 index ee77dd8fc64..00000000000 --- a/spec/tags/ruby/library/weakref/weakref_alive_tags.txt +++ /dev/null @@ -1 +0,0 @@ -fails(depends on GC behavior, fails intermittently):WeakRef#weakref_alive? returns a falsy value if the object is no longer reachable diff --git a/spec/tags/ruby/library/yaml/to_yaml_tags.txt b/spec/tags/ruby/library/yaml/to_yaml_tags.txt index 5c489f6230e..8a2304db8fb 100644 --- a/spec/tags/ruby/library/yaml/to_yaml_tags.txt +++ b/spec/tags/ruby/library/yaml/to_yaml_tags.txt @@ -1,2 +1 @@ fails:Object#to_yaml returns the YAML representation of a RegExp object -fails:Object#to_yaml returns the YAML representation of a Error object diff --git a/spec/tags/ruby/library/zlib/deflate/deflate_tags.txt b/spec/tags/ruby/library/zlib/deflate/deflate_tags.txt index f53c089dd72..0126f382161 100644 --- a/spec/tags/ruby/library/zlib/deflate/deflate_tags.txt +++ b/spec/tags/ruby/library/zlib/deflate/deflate_tags.txt @@ -3,4 +3,3 @@ fails:Zlib::Deflate#deflate without break deflates chunked data fails:Zlib::Deflate#deflate without break deflates chunked data with final chunk fails:Zlib::Deflate#deflate with break deflates only first chunk fails:Zlib::Deflate#deflate with break deflates chunked data with final chunk -fails:Zlib::Deflate#deflate has a binary encoding diff --git a/spec/tags/ruby/library/zlib/inflate/inflate_tags.txt b/spec/tags/ruby/library/zlib/inflate/inflate_tags.txt index 43eea6a4133..2c3eb14a842 100644 --- a/spec/tags/ruby/library/zlib/inflate/inflate_tags.txt +++ b/spec/tags/ruby/library/zlib/inflate/inflate_tags.txt @@ -1,2 +1 @@ fails:Zlib::Inflate#inflate without break inflates chunked data -fails:Zlib::Inflate#inflate has a binary encoding