|
1 | 1 | opal_filter "Time" do |
| 2 | + fails "Time.at passed [Time, Integer] raises a TypeError" |
| 3 | + fails "Time.at passed [Integer, String] raises a TypeError" |
| 4 | + fails "Time.at passed [Integer, nil] raises a TypeError" |
| 5 | + fails "Time.at with a second argument that responds to #to_r coerces using #to_r" |
| 6 | + fails "Time.at with a second argument that responds to #to_int coerces using #to_int" |
| 7 | + fails "Time.at passed [Integer, Numeric] returns a Time object representing the given number of seconds and Float microseconds since 1971-01-01 00:00:00 UTC" |
| 8 | + fails "Time.at passed [Integer, Numeric] returns a Time object representing the given number of seconds and Integer microseconds since 1970-01-01 00:00:00 UTC" |
| 9 | + fails "Time.at passed non-Time, non-Numeric with an argument that responds to #to_r coerces using #to_r" |
| 10 | + fails "Time.at passed non-Time, non-Numeric with an argument that responds to #to_int coerces using #to_int" |
| 11 | + 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" |
| 12 | + fails "Time.at passed non-Time, non-Numeric raises a TypeError with a nil argument" |
| 13 | + fails "Time.at passed non-Time, non-Numeric raises a TypeError with a String argument" |
| 14 | + fails "Time.at passed Time returns a subclass instance" |
| 15 | + fails "Time.at passed Time returns a UTC time if the argument is UTC" |
| 16 | + fails "Time.at passed Time creates a new time object with the value given by time" |
| 17 | + fails "Time.at passed Numeric returns a subclass instance on a Time subclass" |
| 18 | + fails "Time.at passed Numeric returns a Time object representing the given number of Float seconds since 1970-01-01 00:00:00 UTC" |
| 19 | + fails "Time.at passed Numeric returns a Time object representing the given number of Integer seconds since 1970-01-01 00:00:00 UTC" |
| 20 | + |
| 21 | + fails "Time#getgm returns a new time which is the utc representation of time" |
| 22 | + |
2 | 23 | fails "Time.gm ignores fractional seconds if a passed fractional number of microseconds" |
3 | 24 | fails "Time.gm ignores fractional seconds if a passed whole number of microseconds" |
4 | 25 | fails "Time.gm handles fractional microseconds as a Rational" |
|
0 commit comments