Skip to content

Commit c1a9fe9

Browse files
committed
Update to latest RubySpecs.
1 parent 1c32137 commit c1a9fe9

File tree

137 files changed

+288
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+288
-3
lines changed

default.build.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ version.ruby1_9=1.9.2
7373
version.ruby1_9.patchlevel=136
7474
version.ruby1_9.revision=27758
7575
version.jruby=1.7.0.dev
76-
mspec.revision=d9912dbc73a0cc875d1e999e967e75d58eecf888
77-
rubyspecs.revision=4edd28c23814d124f590b390bb060ab6c1b51a38
76+
mspec.revision=9f589781c92a6fc8579a049685e5c202702b0a31
77+
rubyspecs.revision=6ea9ed4b60c371e245911f1d682cd0eb3313baaf
7878
joda.time.version=1.6.2
7979
tzdata.builddir=build/tzdata
8080
tzdata.ftpserver=elsie.nci.nih.gov

spec/jruby.1.9.mspec

+4
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ class MSpecScript
6161
'^' + SPEC_DIR + '/library/generator',
6262
'^' + SPEC_DIR + '/library/parsedate',
6363
'^' + SPEC_DIR + '/library/ping',
64+
65+
# masked out because of load-time errors that can't be tagged
66+
'^' + SPEC_DIR + '/library/net/http',
67+
'^' + SPEC_DIR + '/library/yaml'
6468
]
6569

6670
# Command Line specs
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Array#* with an integer does not copy the taint status of the original array if the passed count is 0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Array#pack with format 'P' returns a String whose size is the number of bytes in a machine word
2+
fails:Array#pack with format 'p' returns a String whose size is the number of bytes in a machine word
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
critical(hangs):IO.select when passed nil for timeout sleeps forever
2+
critical(hangs):IO.select when passed nil for timeout sets the thread's status to 'sleep'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Kernel#eval raises a LocalJumpError if there is no lambda-style closure in the chain
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
fails(JRUBY-3357):Marshal::load loads an Array with proc
22
fails(JRUBY-3786):Marshal::load raises an ArgumentError when the dumped data is truncated
3+
fails:Marshal::load for a Module loads an old module
4+
fails:Marshal::load for a wrapped C pointer loads
5+
fails:Marshal::load for a wrapped C pointer raises TypeError when the local class is missing _data_load

spec/tags/1.8/ruby/core/numeric/step_tags.txt

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ fails(JRUBY-5662):Numeric#step Numeric#step with [stop, +Infinity] does not yiel
55
fails(JRUBY-5662):Numeric#step Numeric#step with [stop, +Infinity] does not yield when stop is -Infinity
66
fails(JRUBY-5662):Numeric#step Numeric#step with [stop, -infinity] yields once if stop is -Infinity
77
fails(JRUBY-5662):Numeric#step Numeric#step with [stop, -infinity] yields once when self and stop are Infinity
8+
fails:Numeric#step Numeric#step with [stop, +step] when self, stop or step is a Float is careful about not yielding a value greater than limit
9+
fails:Numeric#step Numeric#step with [stop, -step] when self, stop or step is a Float is careful about not yielding a value smaller than limit
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Range#step given Float values and step returns float values of the form step * n + begin and never the end value if the range is exclusive
2+
fails:Range#step given Float values and step returns float values of the form step * n + begin and never bigger than the end value if the range is inclusive
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Struct.new raises an ArgumentError if fixnum#to_sym is nil
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
fails(JRUBY-5668):A block with multiple arguments raises a TypeError if the #to_ary value isn't an Array
2+
fails:A block taking |*| arguments calls #to_ary to convert a single yielded object to an Array
3+
fails:A block taking |*| arguments raises an TypeError if #to_ary does not return an Array
4+
fails:A block taking |*a| arguments calls #to_ary to convert a single yielded object to an Array
5+
fails:A block taking |*a| arguments raises an TypeError if #to_ary does not return an Array
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
fails(compiler):A class definition extending an object (sclass) allows accessing the block of the original scope
2+
fails:An anonymous class forces named nested classes to be anonymous
3+
fails:An anonymous class never recalculates full name once no longer anonymous
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Constant resolution within methods with ||= raises a NameError if the constant is not defined
2+
fails(compiler):Literal (A::X) constant resolution with dynamically assigned constants searches Object if a toplevel qualifier (::X) is given
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
critical(hangs):ConditionVariable#broadcast returns self if something is waiting for a broadcast
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fails:DRb.stop_service should correctly clear the port so a new server can start
1+
fails:DRb.stop_service should correctly clear the port so a new server can startfails:DRb.stop_service clears the port so a new server can start
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix.I for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#clone for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#collect for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix.columns for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix.[] for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#/ for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix.identity for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#inspect for a subclass of Matrix returns a string using the subclass' name
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#inv for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#inverse for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#map for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#minor for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#- for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#* for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#+ for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#transpose for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix#transpose for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix.unit for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Matrix.zero for a subclass of Matrix returns an instance of that subclass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:OpenStruct#[]= raises a NoMethodError
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Rational() passed Integer returns a new Rational number with 1 as the denominator
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Rational#** when passed Rational converts self to a Float and returns it raised to the passed argument
2+
fails:Rational#** when passed Rational returns NaN when self is negative and the passed argument is not 0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Rational#inspect returns a reconstructable string representation of self
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Readline.basic_quote_characters returns not nil
2+
fails:Readline.basic_quote_characters= returns the passed string
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Readline.completer_quote_characters returns nil
2+
fails:Readline.completer_quote_characters= returns the passed string
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Readline.completer_word_break_characters returns nil
2+
fails:Readline.completer_word_break_characters= returns the passed string
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Readline.completion_append_character returns not nil
2+
fails:Readline.completion_append_character= returns the first character of the passed string
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Readline.completion_proc returns nil
2+
fails:Readline.completion_proc= returns the passed Proc
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Readline.emacs_editing_mode returns nil
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Readline.filename_quote_characters returns nil
2+
fails:Readline.filename_quote_characters= returns the passed string
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
critical(hangs):Readline.readline returns the input string
2+
critical(hangs):Readline.readline taints the returned strings
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Readline.vi_editing_mode returns nil
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:BasicSocket#for_fd return a Socket instance wrapped around the descriptor
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11

2+
fails:Socket#getaddrinfo accepts empty addresses for IPv6 passive sockets
3+
fails:Socket#getaddrinfo accepts empty addresses for IPv6 non-passive sockets
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Socket#gethostbyname returns broadcast address info for '<broadcast>'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:TCPSocket#recv_nonblock returns a String read from the socket
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:UNIXServer#for_fd can calculate the path
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:UNIXSocket#recv_io reads an IO object across the socket
2+
fails:UNIXSocket#recv_io takes an optional class to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:UNIXSocket#send_io sends the fd for an IO object across the socket
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Syslog.alert logs a message
2+
fails:Syslog.alert accepts sprintf arguments
3+
fails:Syslog.alert works as an alias for Syslog.log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Syslog.close sets the options to nil
2+
fails:Syslog.close sets the facility to nil
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fails:Syslog::Constants Syslog::Constants.LOG_MASK returns the mask value for a priority
2+
fails:Syslog::Constants Syslog::Constants.LOG_MASK works on undefined constants
3+
fails:Syslog::Constants Syslog::Constants.LOG_UPTO returns a mask for the priorities up to a given argument
4+
fails:Syslog::Constants Syslog::Constants.LOG_UPTO works on undefined constants
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Syslog.crit logs a message
2+
fails:Syslog.crit accepts sprintf arguments
3+
fails:Syslog.crit works as an alias for Syslog.log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Syslog.debug logs a message
2+
fails:Syslog.debug accepts sprintf arguments
3+
fails:Syslog.debug works as an alias for Syslog.log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Syslog.err logs a message
2+
fails:Syslog.err accepts sprintf arguments
3+
fails:Syslog.err works as an alias for Syslog.log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Syslog.facility returns nil if the log is closed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Syslog.info logs a message
2+
fails:Syslog.info accepts sprintf arguments
3+
fails:Syslog.info works as an alias for Syslog.log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fails:Syslog.log receives a priority as first argument
2+
fails:Syslog.log accepts undefined priorites
3+
fails:Syslog.log fails with TypeError on nil log messages
4+
fails:Syslog.log accepts printf parameters
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fails:Syslog.mask returns nil if the log is closed
2+
fails:Syslog.mask persists if the log is reopened
3+
fails:Syslog.mask= sets the log priority mask
4+
fails:Syslog.mask= raises an error if the log is closed
5+
fails:Syslog.mask= only accepts numbers
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Syslog.notice logs a message
2+
fails:Syslog.notice accepts sprintf arguments
3+
fails:Syslog.notice works as an alias for Syslog.log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
fails:Syslog.open returns the module
2+
fails:Syslog.open receives an identity as first argument
3+
fails:Syslog.open defaults the identity to $0
4+
fails:Syslog.open receives the logging options as second argument
5+
fails:Syslog.open defaults the logging options to LOG_PID | LOG_CONS
6+
fails:Syslog.open receives a facility as third argument
7+
fails:Syslog.open defaults the facility to LOG_USER
8+
fails:Syslog.open receives a block and calls it with the module
9+
fails:Syslog.open closes the log if after it receives a block
10+
fails:Syslog.open raises an error if the log is opened
11+
fails:Syslog.open! reopens the log
12+
fails:Syslog.open! fails with RuntimeError if the log is closed
13+
fails:Syslog.open! receives the same parameters as Syslog.open
14+
fails:Syslog.open! returns the module
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Syslog.opened? returns true if the log is opened
2+
fails:Syslog.opened? returns false otherwise
3+
fails:Syslog.opened? works inside a block
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fails:Syslog.options returns the logging options
2+
fails:Syslog.options returns nil when the log is closed
3+
fails:Syslog.options defaults to LOG_PID | LOG_CONS
4+
fails:Syslog.options resets after each open call
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fails:Syslog.reopen reopens the log
2+
fails:Syslog.reopen fails with RuntimeError if the log is closed
3+
fails:Syslog.reopen receives the same parameters as Syslog.open
4+
fails:Syslog.reopen returns the module
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fails:Syslog.warning logs a message
2+
fails:Syslog.warning accepts sprintf arguments
3+
fails:Syslog.warning works as an alias for Syslog.log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Array#inspect uses default internal encoding regardless of strings' encodings or content
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Array#pack with format 'P' returns a String whose size is the number of bytes in a machine word
2+
fails:Array#pack with format 'p' returns a String whose size is the number of bytes in a machine word
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Array#to_s uses default internal encoding regardless of strings' encodings or content

spec/tags/1.9/ruby/core/fiber/resume_tags.txt

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ fails:Fiber#resume passes control to the beginning of the block on first invocat
33
error:Fiber#resume returns the last value encountered on first invocation
44
error:Fiber#resume runs until the end of the block or Fiber.yield on first invocation
55
error:Fiber#resume runs until the end of the block or Fiber.yield on first invocation
6+
fails:Fiber#resume returns the last value encountered on first invocation
7+
fails:Fiber#resume resumes from the last call to Fiber.yield on subsequent invocations
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Fixnum#& raises a TypeError when passed a Float
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Fixnum#| raises a TypeError when passed a Float
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Fixnum#^ raises a TypeError when passed a Float
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fails:Float#round rounds self to an optionally given precision
2+
fails:Float#round raises FloatDomainError for exceptional values when passed a non-positive precision
3+
fails:Float#round returns self for exceptional values when passed a non-negative precision
4+
fails:Float#round works for corner cases
5+
fails:Float#round returns rounded values for big values
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Integer#round returns itself rounded if passed a negative value
2+
critical(hangs):Integer#round returns 0 if passed a big negative value
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
fails:IO.copy_stream from an IO raises an IOError if the source IO is not open for reading
2+
fails:IO.copy_stream from an IO does not close the source IO
3+
fails:IO.copy_stream from an IO does not change the IO offset when an offset is specified
4+
fails:IO.copy_stream from an IO does change the IO offset when an offset is not specified
5+
fails:IO.copy_stream from an IO to a file name copies the entire IO contents to the file
6+
fails:IO.copy_stream from an IO to a file name returns the number of bytes copied
7+
fails:IO.copy_stream from an IO to a file name copies only length bytes when specified
8+
fails:IO.copy_stream from an IO to a file name copies only length bytes from the offset
9+
fails:IO.copy_stream from an IO to a file name calls #to_path to convert on object to a file name
10+
fails:IO.copy_stream from an IO to a file name raises a TypeError if #to_path does not return a String
11+
fails:IO.copy_stream from an IO to an IO copies the entire IO contents to the IO
12+
fails:IO.copy_stream from an IO to an IO returns the number of bytes copied
13+
fails:IO.copy_stream from an IO to an IO starts writing at the destination IO's current position
14+
fails:IO.copy_stream from an IO to an IO leaves the destination IO position at the last write
15+
fails:IO.copy_stream from an IO to an IO raises an IOError if the destination IO is not open for writing
16+
fails:IO.copy_stream from an IO to an IO does not close the destination IO
17+
fails:IO.copy_stream from an IO to an IO copies only length bytes when specified
18+
fails:IO.copy_stream from an IO to an IO copies only length bytes from the offset
19+
fails:IO.copy_stream from a file name calls #to_path to convert on object to a file name
20+
fails:IO.copy_stream from a file name raises a TypeError if #to_path does not return a String
21+
fails:IO.copy_stream from a file name to a file name copies only length bytes when specified
22+
fails:IO.copy_stream from a file name to a file name copies only length bytes from the offset
23+
fails:IO.copy_stream from a file name to a file name calls #to_path to convert on object to a file name
24+
fails:IO.copy_stream from a file name to a file name raises a TypeError if #to_path does not return a String
25+
fails:IO.copy_stream from a file name to an IO copies the entire IO contents to the IO
26+
fails:IO.copy_stream from a file name to an IO returns the number of bytes copied
27+
fails:IO.copy_stream from a file name to an IO starts writing at the destination IO's current position
28+
fails:IO.copy_stream from a file name to an IO leaves the destination IO position at the last write
29+
fails:IO.copy_stream from a file name to an IO raises an IOError if the destination IO is not open for writing
30+
fails:IO.copy_stream from a file name to an IO does not close the destination IO
31+
fails:IO.copy_stream from a file name to an IO copies only length bytes when specified
32+
fails:IO.copy_stream from a file name to an IO copies only length bytes from the offset

spec/tags/1.9/ruby/core/io/gets_tags.txt

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ windows:IO#gets accepts an integer as limit parameter which is same as IO size
55

66
fails:IO#gets with ASCII separator returns the separator's character representation
77
fails:IO#gets with an empty String separator returns the next paragraph
8+
fails:IO#gets calls #to_int to convert a single object argument to an Integer limit
9+
fails:IO#gets calls #to_int to convert the second object argument to an Integer limit

spec/tags/1.9/ruby/core/io/read_tags.txt

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ fails:IO#read strips the BOM when given 'rb:utf-7-bom' as the mode
33
fails:IO#read with 1.9 encodings strips the BOM when given 'rb:utf-7-bom' as the mode
44
fails:IO.read from a pipe opens a pipe to a fork if the rest is -
55
fails:IO.read from a pipe raises Errno::ESPIPE if passed an offset
6+
fails:IO.read raises an IOError if the options Hash specifies write mode
7+
fails:IO.read raises an IOError if the options Hash specifies append only mode
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
critical(hangs):IO.select when passed nil for timeout sleeps forever
2+
fails:IO.select when passed nil for timeout sets the thread's status to 'sleep'
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
fails(JRUBY-5668):Kernel#eval does not share locals across eval scopes
2+
fails:Kernel#eval raises a LocalJumpError if there is no lambda-style closure in the chain
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
fails:Kernel.load sets the enclosing scope to an anonymous module if passed true for 'wrap'
22
fails:Kernel#load sets the enclosing scope to an anonymous module if passed true for 'wrap'
3+
fails:Kernel#load loads from the current working directory
4+
fails:Kernel.load loads from the current working directory
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
fails(JRUBY-5233):Marshal::load loads a Random
2+
fails:Marshal::load for a Module loads an old module
3+
fails:Marshal::load for a wrapped C pointer loads
4+
fails:Marshal::load for a wrapped C pointer raises TypeError when the local class is missing _data_load

spec/tags/1.9/ruby/core/numeric/step_tags.txt

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ fails(JRUBY-5662):Numeric#step Numeric#step with [stop, +Infinity] does not yiel
55
fails(JRUBY-5662):Numeric#step Numeric#step with [stop, +Infinity] does not yield when stop is -Infinity
66
fails(JRUBY-5662):Numeric#step Numeric#step with [stop, -infinity] yields once if stop is -Infinity
77
fails(JRUBY-5662):Numeric#step Numeric#step with [stop, -infinity] yields once when self and stop are Infinity
8+
fails:Numeric#step Numeric#step with [stop, +step] when self, stop or step is a Float is careful about not yielding a value greater than limit
9+
fails:Numeric#step Numeric#step with [stop, -step] when self, stop or step is a Float is careful about not yielding a value smaller than limit
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fails:Proc#arity returns 1 for a block taking |a, | arguments
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fails:Range#step given Float values and step returns float values of the form step * n + begin and never the end value if the range is exclusive
2+
fails:Range#step given Float values and step returns float values of the form step * n + begin and never bigger than the end value if the range is inclusive

0 commit comments

Comments
 (0)