From 379d2bd110ed2027785eec86cbed402821830774 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 | 5 ++--- 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 | 1 - 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/etc/getlogin_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/socket/basicsocket/recvmsg_tags.txt | 2 -- .../ruby/library/socket/socket/udp_server_loop_tags.txt | 2 +- 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 - 45 files changed, 7 insertions(+), 67 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 20db6ac8d0ab..88cbc3c1b0b2 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 628660b3465f..de22fb505f64 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 69278a5a61ab..117732388f66 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 653a5a20886d..d44ee71de188 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 dc68e78b9e2a..0511481f040b 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 a4313055836b..ef3eb5fc84a7 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 35ddb8e4e5d0..00e6cc06b17e 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 5badd4703b5f..ab3c7010a2aa 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 dc14f19f9f9c..c8bf5f371a31 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 a7b30427cb81..f188e6a0548c 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 a054fffe2220..a1ecbee8cb4f 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 8e4ff27a6d47..c724e28d1504 100644 --- a/spec/tags/ruby/core/module/define_method_tags.txt +++ b/spec/tags/ruby/core/module/define_method_tags.txt @@ -1,9 +1,8 @@ +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 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: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 -fails:Module#define_method when passed a block behaves exactly like a lambda for next +fails:Module#define_method when passed a block behaves exactly like a lambda for next \ No newline at end of file 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 ebfd7613fd10..000000000000 --- 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 788d7a8fcb62..8b04e50291b8 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 c2ddcfe693af..f56a17a41d68 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 26967858ec1f..b6df80f81b52 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 a8d2cf8fea83..000000000000 --- 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 a7e03894c00e..5f71d530cdec 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 fc74e8f486bc..000000000000 --- 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 09d157adbd89..8dce29baa9df 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 3b3806dc9bf9..000000000000 --- 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 c0b21505b939..6fe3b98afeae 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 f3cb250489a1..000000000000 --- 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 7340b3604cc0..ca4cca3c18dd 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 251c56043679..faaf0defe67e 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 f215ff5d2239..10a8e52a0123 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 aedde8fc40ea..c66c9a6859c8 100644 --- a/spec/tags/ruby/core/thread/terminate_tags.txt +++ b/spec/tags/ruby/core/thread/terminate_tags.txt @@ -1,2 +1 @@ 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 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 033a044a20e4..000000000000 --- 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 f5f4b2936a87..000000000000 --- 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 8c45348bb341..000000000000 --- 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 d254a6651f42..67c0e5148ad2 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 00debe699980..29e89f3a3b7e 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 64bc2fa65f3c..d6fb003fec9f 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 348391570af5..000000000000 --- 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/etc/getlogin_tags.txt b/spec/tags/ruby/library/etc/getlogin_tags.txt index b4a5ddb75563..fad0afdfcc32 100644 --- a/spec/tags/ruby/library/etc/getlogin_tags.txt +++ b/spec/tags/ruby/library/etc/getlogin_tags.txt @@ -1 +1 @@ -fails(on GHA):Etc.getlogin returns the name associated with the current login activity +fails(on GHA):Etc.getlogin returns the name associated with the current login activity \ No newline at end of file diff --git a/spec/tags/ruby/library/fiber/current_tags.txt b/spec/tags/ruby/library/fiber/current_tags.txt index b77dd3065e50..f83d68ad6c0e 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 788dee7c1068..1cf912d30559 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 04e62cf398d0..000000000000 --- 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/socket/basicsocket/recvmsg_tags.txt b/spec/tags/ruby/library/socket/basicsocket/recvmsg_tags.txt index c9cbb45d897e..80d5206eab74 100644 --- a/spec/tags/ruby/library/socket/basicsocket/recvmsg_tags.txt +++ b/spec/tags/ruby/library/socket/basicsocket/recvmsg_tags.txt @@ -40,7 +40,5 @@ fails:BasicSocket#recvmsg using IPv6 using a connected socket with data availabl fails:BasicSocket#recvmsg using IPv6 using a connected socket with data available the returned Array the returned Addrinfo returns 0 for the protocol family fails:BasicSocket#recvmsg using IPv6 using a connected socket with data available the returned Array the returned Addrinfo uses the correct socket type fails:BasicSocket#recvmsg using IPv6 using a connected socket with data available the returned Array the returned Addrinfo raises when receiving the ip_port message -fails:BasicSocket#recvmsg using IPv6 using a disconnected socket using a bound socket without any data available blocks the caller -fails:BasicSocket#recvmsg using IPv4 using a disconnected socket using a bound socket without any data available blocks the caller fails:BasicSocket#recvmsg using IPv6 using a disconnected socket using an unbound socket blocks the caller fails:BasicSocket#recvmsg using IPv4 using a disconnected socket using an unbound socket blocks the caller diff --git a/spec/tags/ruby/library/socket/socket/udp_server_loop_tags.txt b/spec/tags/ruby/library/socket/socket/udp_server_loop_tags.txt index e4cd376a1f03..e59b0f2afbff 100644 --- a/spec/tags/ruby/library/socket/socket/udp_server_loop_tags.txt +++ b/spec/tags/ruby/library/socket/socket/udp_server_loop_tags.txt @@ -1,2 +1,2 @@ -fails:Socket.udp_server_loop when no connections are available blocks the caller hangs:Socket.udp_server_loop when a connection is available yields the message and a Socket::UDPSource +fails:Socket.udp_server_loop when no connections are available blocks the caller diff --git a/spec/tags/ruby/library/stringio/printf_tags.txt b/spec/tags/ruby/library/stringio/printf_tags.txt index a0c4adbf3ef8..c08afc7bf517 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 ee77dd8fc64f..000000000000 --- 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 5c489f6230e8..8a2304db8fbe 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 f53c089dd72d..0126f382161d 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 43eea6a41334..2c3eb14a842d 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