Skip to content

Commit

Permalink
Showing 24 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/tags/ruby/core/basicobject/instance_eval_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:BasicObject#instance_eval evaluates string with given filename and negative linenumber
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/dir/chroot_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:Dir.chroot as regular user raises an Errno::EPERM exception if the directory exists
fails:Dir.chroot as regular user raises a SystemCallError if the directory doesn't exist
fails:Dir.chroot as regular user calls #to_path on non-String argument
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/enumerator/inject_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:Enumerator#inject appends given arguments to receiver.each
fails:Enumerator#inject returns the same value from receiver.each if block and arguments are given
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/enumerator/lazy/to_enum_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails:Enumerator::Lazy#to_enum sets #size to nil when not given a block
fails:Enumerator::Lazy#to_enum sets given block to size when given a block
fails:Enumerator::Lazy#to_enum used by some parent's methods though returning Lazy
1 change: 1 addition & 0 deletions spec/tags/ruby/core/hash/constructor_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
fails:Hash.[] raises an ArgumentError for arrays of more than 2 elements
fails:Hash.[] raises an ArgumentError when passed a list of value-invalid-pairs in an array
fails:Hash.[] ignores elements that are not arrays
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/io/for_fd_tags.txt
Original file line number Diff line number Diff line change
@@ -2,3 +2,5 @@ fails:IO.for_fd raises an error if passed matching binary/text mode two ways
fails:IO.for_fd raises an error if passed conflicting binary/text mode two ways
windows:IO.for_fd raises an Errno::EBADF if the file descriptor is not valid
windows:IO.for_fd raises an Errno::EINVAL if the new mode is not compatible with the descriptor's current mode
fails:IO.for_fd ignores the :encoding option when the :external_encoding option is present
fails:IO.for_fd ignores the :encoding option when the :internal_encoding option is present
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/io/new_tags.txt
Original file line number Diff line number Diff line change
@@ -5,3 +5,5 @@ windows:IO.new ingores the :encoding option when the :internal_encoding option i
windows:IO.new does not use binary encoding when :internal_encoding option is specified
windows:IO.new raises an Errno::EBADF if the file descriptor is not valid
windows:IO.new raises an Errno::EINVAL if the new mode is not compatible with the descriptor's current mode
fails:IO.new ignores the :encoding option when the :external_encoding option is present
fails:IO.new ignores the :encoding option when the :internal_encoding option is present
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/io/open_tags.txt
Original file line number Diff line number Diff line change
@@ -5,3 +5,5 @@ windows:IO.open ingores the :encoding option when the :internal_encoding option
windows:IO.open does not use binary encoding when :internal_encoding option is specified
windows:IO.open raises an Errno::EBADF if the file descriptor is not valid
windows:IO.open raises an Errno::EINVAL if the new mode is not compatible with the descriptor's current mode
fails:IO.open ignores the :encoding option when the :external_encoding option is present
fails:IO.open ignores the :encoding option when the :internal_encoding option is present
10 changes: 10 additions & 0 deletions spec/tags/ruby/core/kernel/fork_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
windows:Kernel#fork returns false from #respond_to?
fails:Kernel#fork returns status zero
fails:Kernel#fork returns status non-zero
fails:Kernel#fork returns nil for the child process
fails:Kernel#fork runs a block in a child process
fails:Kernel#fork marks threads from the parent as killed
fails:Kernel.fork returns status zero
fails:Kernel.fork returns status non-zero
fails:Kernel.fork returns nil for the child process
fails:Kernel.fork runs a block in a child process
fails:Kernel.fork marks threads from the parent as killed
8 changes: 8 additions & 0 deletions spec/tags/ruby/core/marshal/restore_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
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
fails:Marshal.restore for a user Class raises ArgumentError if the object from an 'o' stream is not dumpable as 'o' type user class
fails:Marshal.restore for a Module loads an old module
fails:Marshal.restore for a wrapped C pointer loads
fails:Marshal.restore for a wrapped C pointer raises TypeError when the local class is missing _load_data
fails:Marshal.restore when a class does not exist in the namespace raises an ArgumentError
1 change: 1 addition & 0 deletions spec/tags/ruby/core/math/log2_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Math.log2 returns the natural logarithm of the argument
1 change: 1 addition & 0 deletions spec/tags/ruby/core/method/element_reference_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Method#[] for a Method generated by respond_to_missing? does not call the original method name even if it now exists
1 change: 1 addition & 0 deletions spec/tags/ruby/core/method/parameters_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Method#parameters returns [[:rest]] for a Method generated by respond_to_missing?
8 changes: 8 additions & 0 deletions spec/tags/ruby/core/numeric/step_tags.txt
Original file line number Diff line number Diff line change
@@ -59,3 +59,11 @@ fails:Numeric#step with mixed arguments when no block is given returned Enumerat
fails:Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is positive returns 0 if value > limit
fails:Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is negative returns the difference between self and stop divided by the number of steps
fails:Numeric#step with mixed arguments when no block is given returned Enumerator size when self, stop or step is a Float and step is negative returns 0 if value < limit
fails:Numeric#step with positional args when step is a String with self and stop as Floats raises an ArgumentError when step is a numeric representation
fails:Numeric#step with positional args when step is a String with self and stop as Floats raises an ArgumentError with step as an alphanumeric string
fails:Numeric#step with positional args when no block is given returned Enumerator size when step is a String with self and stop as Floats raises an ArgumentError when step is a numeric representation
fails:Numeric#step with positional args when no block is given returned Enumerator size when step is a String with self and stop as Floats raises an ArgumentError with step as an alphanumeric string
fails:Numeric#step with keyword arguments when step is a String with self and stop as Floats raises an ArgumentError when step is a numeric representation
fails:Numeric#step with keyword arguments when step is a String with self and stop as Floats raises an ArgumentError with step as an alphanumeric string
fails:Numeric#step with keyword arguments when no block is given returned Enumerator size when step is a String with self and stop as Floats raises an ArgumentError when step is a numeric representation
fails:Numeric#step with keyword arguments when no block is given returned Enumerator size when step is a String with self and stop as Floats raises an ArgumentError with step as an alphanumeric string
3 changes: 3 additions & 0 deletions spec/tags/ruby/core/process/exec_tags.txt
Original file line number Diff line number Diff line change
@@ -12,3 +12,6 @@ windows:Process.exec with multiple arguments does not subject the arguments to s
windows:Process.exec (environment variables) sets environment variables in the child environment
windows:Process.exec (environment variables) unsets environment variables whose value is nil
windows:Process.exec (environment variables) coerces environment argument using to_hash
fails:Process.exec (environment variables) sets environment variables in the child environment
fails:Process.exec (environment variables) unsets environment variables whose value is nil
fails:Process.exec (environment variables) coerces environment argument using to_hash
5 changes: 5 additions & 0 deletions spec/tags/ruby/core/process/fork_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fails:Process.fork returns status zero
fails:Process.fork returns status non-zero
fails:Process.fork returns nil for the child process
fails:Process.fork runs a block in a child process
fails:Process.fork marks threads from the parent as killed
1 change: 1 addition & 0 deletions spec/tags/ruby/core/process/spawn_tags.txt
Original file line number Diff line number Diff line change
@@ -73,3 +73,4 @@ windows:Process.spawn when passed close_others: false does not close STDERR
windows:Process.spawn with Integer option keys maps the key to a file descriptor in the child that inherits the file descriptor from the parent specified by the value
fails:Process.spawn unsets other environment variables when given a true :unsetenv_others option
fails:Process.spawn unsets other environment variables when given a non-false :unsetenv_others option
fails:Process.spawn redirects both STDERR and STDOUT at the time to the given name
1 change: 1 addition & 0 deletions spec/tags/ruby/core/string/crypt_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:String#crypt raises an ArgumentError when the string contains NUL character
1 change: 1 addition & 0 deletions spec/tags/ruby/core/string/multiply_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:String#* raises an ArgumentError if the length of the resulting string doesn't fit into a long
1 change: 1 addition & 0 deletions spec/tags/ruby/core/time/gmtoff_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Time#gmtoff returns offset as Rational
1 change: 1 addition & 0 deletions spec/tags/ruby/core/time/mktime_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Time.mktime creates the correct time just after dst change
2 changes: 2 additions & 0 deletions spec/tags/ruby/core/time/succ_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails:Time#succ returns a new time one second later than time
fails:Time#succ returns a new instance
1 change: 1 addition & 0 deletions spec/tags/ruby/core/time/utc_offset_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails:Time#utc_offset returns offset as Rational
1 change: 1 addition & 0 deletions spec/tags/ruby/core/time/zone_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
fails:Time#zone returns nil when getting the local time with a fixed offset
fails:Time#zone defaults to UTC when bad zones given

0 comments on commit fb01692

Please sign in to comment.