Skip to content
Permalink
Browse files

more tags

  • Loading branch information
timfel committed Mar 4, 2017
1 parent 7f613d4 commit 9687a6887cb71c16076dfa586a3d8063e309a2ae
@@ -1,12 +1,14 @@
fails:Time.at passed Numeric returns a Time object representing the given number of Integer seconds since 1970-01-01 00:00:00 UTC
fails:Time.at passed Time returns a UTC time if the argument is UTC
fails:Time.at passed Time returns a non-UTC time if the argument is non-UTC
fails:Time.at passed non-Time, non-Numeric with an argument that responds to #to_int coerces using #to_int
fails:Time.at passed non-Time, non-Numeric with an argument that responds to #to_r coerces using #to_r
fails:Time.at passed [Integer, Numeric] returns a Time object representing the given number of seconds and Float microseconds since 1970-01-01 00:00:00 UTC
fails:Time.at with a second argument that responds to #to_int coerces using #to_int
fails:Time.at with a second argument that responds to #to_r coerces using #to_r
fails:Time.at passed [Time, Integer] returns a Time object equal to the specified time plus the number of microseconds
fails:Time.at passed [Time, Integer] raises a TypeError
fails:Time.at passed Numeric returns a non-UTC Time
fails:Time.at passed Numeric roundtrips a Rational produced by #to_r
fails:Time.at passed Numeric passed BigDecimal doesn't round input value
fails:Time.at passed [Integer, String] raises a TypeError
@@ -38,6 +38,9 @@ fails:Time.new with a utc_offset argument raises ArgumentError if the argument r
fails:Time.new with a utc_offset argument with an argument that responds to #to_int coerces using #to_int
fails:Time.new with a utc_offset argument with an argument that responds to #to_r coerces using #to_r
fails:Time.new with a utc_offset argument with an argument that responds to #to_str coerces using #to_str
fails:Time.new with a utc_offset argument disallows a value for minutes greater than 59
fails:Time.new with a utc_offset argument raises ArgumentError if the String argument is not of the form (+|-)HH:MM
fails:Time.new with a utc_offset argument raises ArgumentError if the hour value is greater than 23
fails:Time.new handles years from 0 as such
fails:Time.new with a utc_offset argument adds one hour if the minute value is greater than 59
fails:Time.new creates a subclass instance if called on a subclass
@@ -46,3 +46,4 @@ fails:Time.utc interprets pre-Gregorian reform dates using Gregorian proleptic c
fails:Time.utc interprets Julian-Gregorian gap dates using Gregorian proleptic calendar
fails:Time.utc interprets post-Gregorian reform dates using Gregorian calendar
fails:Time.utc handles years from 0 as such
fails:Time#utc? returns true if time represents a time in UTC (GMT)
@@ -6,6 +6,8 @@ fails:The defined? keyword when called with a method name having a local variabl
fails:The defined? keyword when called with a method name having a local variable as receiver calls #respond_to_missing?
fails:The defined? keyword when called with a method name having a class variable as receiver returns nil if the variable does not exist
fails:The defined? keyword when called with a method name having a method call as a receiver returns nil if evaluating the receiver raises an exception
fails:The defined? keyword when called with a method name having an instance variable as receiver returns nil if the variable does not exist
fails:The defined? keyword when called with a method name having a global variable as receiver returns nil if the variable does not exist
fails:The defined? keyword for an expression returns nil for an expression with == and an undefined method
fails:The defined? keyword for an expression returns nil for an expression with != and an undefined method
fails:The defined? keyword for an expression returns nil for an expression with !~ and an undefined method
@@ -33,7 +35,9 @@ fails:The defined? keyword for variables when a Regexp does not match a String r
fails:The defined? keyword for variables when a Regexp does not match a String returns nil for $1-$9
fails:The defined? keyword for variables when a Regexp matches a String returns nil for non-captures
fails:The defined? keyword for a scoped constant returns nil when the undefined constant is scoped to an undefined constant
fails:The defined? keyword for a scoped constant returns nil when an undefined constant is scoped to a defined constant
fails:The defined? keyword for a top-level scoped constant returns nil when the undefined constant is scoped to an undefined constant
fails:The defined? keyword for a top-level scoped constant returns nil when an undefined constant is scoped to a defined constant
fails:The defined? keyword for a self-send method call scoped constant returns nil if the middle constant is not defined in the scope chain
fails:The defined? keyword for a receiver method call scoped constant returns nil if the middle constant is not defined in the scope chain
fails:The defined? keyword for a module method call scoped constant returns nil if the middle constant in the scope chain is not defined

0 comments on commit 9687a68

Please sign in to comment.
You can’t perform that action at this time.