Skip to content

Commit

Permalink
Clean up rubyspec tags
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Nov 2, 2023
1 parent 708452e commit 379d2bd
Show file tree
Hide file tree
Showing 45 changed files with 7 additions and 67 deletions.
2 changes: 0 additions & 2 deletions spec/tags/ruby/command_line/dash_upper_i_tags.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/argf/each_codepoint_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
hangs:ARGF.each_codepoint returns self when passed a block
fails:ARGF.each_codepoint yields each codepoint of all streams
1 change: 0 additions & 1 deletion spec/tags/ruby/core/array/initialize_tags.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/exception/no_method_error_tags.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/file/expand_path_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/file/printf_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/io/read_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/kernel/lambda_tags.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions spec/tags/ruby/core/kernel/printf_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions spec/tags/ruby/core/kernel/sprintf_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions spec/tags/ruby/core/marshal/dump_tags.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 2 additions & 3 deletions spec/tags/ruby/core/module/define_method_tags.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/module/instance_method_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/ruby/core/module/private_tags.txt
Original file line number Diff line number Diff line change
@@ -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
7 changes: 0 additions & 7 deletions spec/tags/ruby/core/module/refine_tags.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion spec/tags/ruby/core/module/ruby2_keywords_tags.txt
Original file line number Diff line number Diff line change
@@ -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)
1 change: 0 additions & 1 deletion spec/tags/ruby/core/queue/initialize_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/ruby/core/refinement/import_methods_tags.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion spec/tags/ruby/core/regexp/encoding_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/ruby/core/signal/trap_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions spec/tags/ruby/core/string/lines_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/ruby/core/string/modulo_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/string/undump_tags.txt

This file was deleted.

2 changes: 1 addition & 1 deletion spec/tags/ruby/core/symbol/end_with_tags.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/thread/backtrace_tags.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/thread/report_on_exception_tags.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/thread/terminate_tags.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/core/unboundmethod/hash_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/ruby/core/warning/element_set_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/ruby/core/warning/warn_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/ruby/language/method_tags.txt
Original file line number Diff line number Diff line change
@@ -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;'
2 changes: 0 additions & 2 deletions spec/tags/ruby/language/predefined_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion spec/tags/ruby/language/range_tags.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions spec/tags/ruby/language/regexp/repetition_tags.txt

This file was deleted.

2 changes: 1 addition & 1 deletion spec/tags/ruby/library/etc/getlogin_tags.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/library/fiber/current_tags.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/library/logger/logger/new_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
windows:Logger#new creates a new logger object

5 changes: 0 additions & 5 deletions spec/tags/ruby/library/openstruct/to_h_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/ruby/library/socket/basicsocket/recvmsg_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/library/stringio/printf_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/library/weakref/weakref_alive_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/ruby/library/yaml/to_yaml_tags.txt
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/library/zlib/deflate/deflate_tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion spec/tags/ruby/library/zlib/inflate/inflate_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:Zlib::Inflate#inflate without break inflates chunked data
fails:Zlib::Inflate#inflate has a binary encoding

0 comments on commit 379d2bd

Please sign in to comment.