Skip to content

Commit

Permalink
Showing 22 changed files with 49 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/tags/ruby/command_line/dash_p_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:The -p command line option runs the code in loop conditional on Kernel.gets() and prints $_
fails:The -p command line option sets $-p
2 changes: 2 additions & 0 deletions spec/tags/ruby/command_line/dash_upper_k_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:The -K command line option sets __ENCODING__ to Encoding::Windows_31J with -Ks
fails:The -K command line option sets __ENCODING__ to Encoding::Windows_31J with -KS
1 change: 1 addition & 0 deletions spec/tags/ruby/core/argf/bytes_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fails:ARGF.bytes yields each byte of all streams to the passed block
fails:ARGF.bytes returns self when passed a block
fails:ARGF.bytes returns an Enumerator when passed no block
fails:ARGF.bytes when no block is given returns an Enumerator
1 change: 1 addition & 0 deletions spec/tags/ruby/core/argf/chars_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fails:ARGF.chars yields each char of all streams to the passed block
fails:ARGF.chars returns self when passed a block
fails:ARGF.chars returns an Enumerator when passed no block
fails:ARGF.chars when no block is given returns an Enumerator
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/codepoints_tags.txt
Original file line number Diff line number Diff line change
@@ -3,3 +3,5 @@ fails:ARGF.codepoints does not require arguments
fails:ARGF.codepoints returns self when passed a block
fails:ARGF.codepoints returns an Enumerator when passed no block
fails:ARGF.codepoints yields each codepoint of all streams
fails:ARGF.codepoints when no block is given returns an Enumerator
fails:ARGF.codepoints when no block is given returned Enumerator size should return nil
1 change: 1 addition & 0 deletions spec/tags/ruby/core/argf/each_byte_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fails:ARGF.each_byte yields each byte of all streams to the passed block
fails:ARGF.each_byte returns self when passed a block
fails:ARGF.each_byte returns an Enumerator when passed no block
fails:ARGF.each_byte when no block is given returns an Enumerator
1 change: 1 addition & 0 deletions spec/tags/ruby/core/argf/each_char_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fails:ARGF.each_char yields each char of all streams to the passed block
fails:ARGF.each_char returns self when passed a block
fails:ARGF.each_char returns an Enumerator when passed no block
fails:ARGF.each_char when no block is given returns an Enumerator
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/argf/each_codepoint_tags.txt
Original file line number Diff line number Diff line change
@@ -3,3 +3,5 @@ fails:ARGF.each_codepoint does not require arguments
fails:ARGF.each_codepoint returns self when passed a block
fails:ARGF.each_codepoint returns an Enumerator when passed no block
fails:ARGF.each_codepoint yields each codepoint of all streams
fails:ARGF.each_codepoint when no block is given returns an Enumerator
fails:ARGF.each_codepoint when no block is given returned Enumerator size should return nil
1 change: 1 addition & 0 deletions spec/tags/ruby/core/array/collect_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Array#collect! when no block is given returned Enumerator size returns the enumerable size
1 change: 1 addition & 0 deletions spec/tags/ruby/core/array/each_index_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Array#each_index when no block is given returned Enumerator size returns the enumerable size
1 change: 1 addition & 0 deletions spec/tags/ruby/core/enumerable/each_cons_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Enumerable#each_cons raises an Argument Error if there is not a single parameter > 0
1 change: 1 addition & 0 deletions spec/tags/ruby/core/enumerable/each_slice_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Enumerable#each_slice raises an Argument Error if there is not a single parameter > 0
1 change: 1 addition & 0 deletions spec/tags/ruby/core/file/flock_tags.txt
Original file line number Diff line number Diff line change
@@ -2,3 +2,4 @@ java1.5:File#flock returns false if trying to lock an exclusively locked file
critical(hangs):File#flock blocks if trying to lock an exclusively locked file
fails:File#flock fails with EBADF acquiring exclusive lock on read-only File
fails:File#flock fails with EBADF acquiring shared lock on read-only File
fails:File#flock blocks if trying to lock an exclusively locked file
4 changes: 4 additions & 0 deletions spec/tags/ruby/core/kernel/load_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
fails:Kernel#load loads from the current working directory
fails:Kernel.load loads from the current working directory
fails:Kernel#load when passed true for 'wrap' with top-level methods allows calling top-level methods
fails:Kernel#load when passed true for 'wrap' with top-level methods does not pollute the receiver
fails:Kernel.load when passed true for 'wrap' with top-level methods allows calling top-level methods
fails:Kernel.load when passed true for 'wrap' with top-level methods does not pollute the receiver
4 changes: 4 additions & 0 deletions spec/tags/ruby/core/kernel/spawn_tags.txt
Original file line number Diff line number Diff line change
@@ -47,3 +47,7 @@ fails:Kernel#spawn joins the current process if :pgroup => false
fails:Kernel.spawn does not unset other environment variables when given a false :unsetenv_others option
fails:Kernel.spawn does not unset environment variables included in the environment hash
fails:Kernel.spawn joins the current process if :pgroup => false
fails:Kernel#spawn redirects STDOUT to the given file if :out => String
fails:Kernel#spawn redirects STDERR to the given file if :err => String
fails:Kernel#spawn when passed :close_others => false does not close file descriptors >= 3 in the child process if fds are set close_on_exec=false
fails:Kernel.spawn when passed :close_others => false does not close file descriptors >= 3 in the child process if fds are set close_on_exec=false
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/marshal/load_tags.txt
Original file line number Diff line number Diff line change
@@ -15,3 +15,6 @@ fails:Marshal.load when a class with the same name as the dumped one exists outs
fails:Marshal.load when a class with the same name as the dumped one exists outside the namespace invokes Module#const_missing
fails:Marshal.load loads an array containing an object with _dump that returns an immediate value, followed by multiple instances of another object
fails:Marshal.load when a class does not exist in the namespace raises an ArgumentError
fails:Marshal.load when called on objects with custom _dump methods that return an immediate value loads an array containing an instance of the object, followed by multiple instances of another object
fails:Marshal.load when called on objects with custom _dump methods that return an immediate value loads any structure with multiple references to the same object, followed by multiple instances of another object
fails:Marshal.load when called on objects with custom _dump methods that return an immediate value loads an array containing references to multiple instances of the object, followed by multiple instances of another object
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/marshal/restore_tags.txt
Original file line number Diff line number Diff line change
@@ -15,3 +15,6 @@ fails:Marshal.restore when a class with the same name as the dumped one exists o
fails:Marshal.restore when a class with the same name as the dumped one exists outside the namespace invokes Module#const_missing
fails:Marshal.restore loads an array containing an object with _dump that returns an immediate value, followed by multiple instances of another object
fails:Marshal.restore when a class does not exist in the namespace raises an ArgumentError
fails:Marshal.restore when called on objects with custom _dump methods that return an immediate value loads an array containing an instance of the object, followed by multiple instances of another object
fails:Marshal.restore when called on objects with custom _dump methods that return an immediate value loads any structure with multiple references to the same object, followed by multiple instances of another object
fails:Marshal.restore when called on objects with custom _dump methods that return an immediate value loads an array containing references to multiple instances of the object, followed by multiple instances of another object
1 change: 1 addition & 0 deletions spec/tags/ruby/core/proc/curry_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Proc#curry with arity argument raises an ArgumentError if called on a lambda that requires fewer than _arity_ arguments
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/process/spawn_tags.txt
Original file line number Diff line number Diff line change
@@ -15,3 +15,6 @@ fails:Process.spawn with Integer option keys maps the key to a file descriptor i
fails:Process.spawn does not unset other environment variables when given a false :unsetenv_others option
fails:Process.spawn does not unset environment variables included in the environment hash
fails:Process.spawn joins the current process if :pgroup => false
fails:Process.spawn redirects STDOUT to the given file if :out => String
fails:Process.spawn redirects STDERR to the given file if :err => String
fails:Process.spawn when passed :close_others => false does not close file descriptors >= 3 in the child process if fds are set close_on_exec=false
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/rational/exponent_tags.txt
Original file line number Diff line number Diff line change
@@ -3,3 +3,5 @@ critical(hangs):Rational#** when passed Bignum returns 0.0 when self is > 1 and
critical(hangs):Rational#** when passed Bignum returns positive Infinity when self < -1
critical(hangs):Rational#** when passed Bignum returns 0.0 when self is < -1 and the exponent is negative
fails:Rational#** raises ZeroDivisionError for Rational(0, 1) passed a negative Rational
fails:Rational#** when passed Bignum returns positive Infinity when self is > 1
fails:Rational#** when passed Bignum returns 0.0 when self is > 1 and the exponent is negative
4 changes: 4 additions & 0 deletions spec/tags/ruby/language/block_tags.txt
Original file line number Diff line number Diff line change
@@ -9,3 +9,7 @@ fails:A block yielded a single Array treats hashes with symbol keys as keyword a
fails:A block yielded a single Array does not treat hashes with string keys as keyword arguments
fails:A block yielded a single Array calls #to_hash on the last element when there are more arguments than parameters
fails:A block yielded a single Array assigns elements to required arguments when a keyword rest argument is present
fails:A block yielded a single Array assigns symbol keys from a Hash to keyword arguments
fails:A block yielded a single Array assigns symbol keys from a Hash returned by #to_hash to keyword arguments
fails:A block yielded a single Array calls #to_hash on the argument but does not use the result when no keywords are present
fails:A block yielded a single Array assigns non-symbol keys to non-keyword arguments
8 changes: 8 additions & 0 deletions spec/tags/ruby/language/method_tags.txt
Original file line number Diff line number Diff line change
@@ -16,3 +16,11 @@ fails:"A method assigns local variables from method parameters for definition \n
fails:"A method assigns local variables from method parameters for definition \n def m(*, **k) k end"
fails:"A method assigns local variables from method parameters for definition \n def m(a = nil, **k) [a, k] end"
fails:"A method assigns local variables from method parameters for definition \n def m(*a, **k) [a, k] end"
fails:"A method assigns local variables from method parameters for definition \n def m(a=1, b:) [a, b] end"
fails:"A method assigns local variables from method parameters for definition \n def m(a=1, b: 2) [a, b] end"
fails:"A method assigns local variables from method parameters for definition \n def m(a=1, **) a end"
fails:"A method assigns local variables from method parameters for definition \n def m(*, a:) a end"
fails:"A method assigns local variables from method parameters for definition \n def m(*a, b:) [a, b] end"
fails:"A method assigns local variables from method parameters for definition \n def m(*, a: 1) a end"
fails:"A method assigns local variables from method parameters for definition \n def m(a:, **) a end"
fails:"A method assigns local variables from method parameters for definition \n def m(a:, **k) [a, k] end"

0 comments on commit 791196d

Please sign in to comment.