|
1 | 1 | opal_filter "Time" do |
| 2 | + fails "Time.gm ignores fractional seconds if a passed fractional number of microseconds" |
| 3 | + fails "Time.gm ignores fractional seconds if a passed whole number of microseconds" |
| 4 | + fails "Time.gm handles fractional microseconds as a Rational" |
| 5 | + fails "Time.gm handles fractional microseconds as a Float" |
| 6 | + fails "Time.gm handles microseconds" |
| 7 | + fails "Time.gm handles float arguments" |
| 8 | + fails "Time.gm handles string arguments" |
| 9 | + fails "Time.gm returns subclass instances" |
| 10 | + fails "Time.gm raises ArgumentError when given 11 arguments" |
| 11 | + fails "Time.gm raises ArgumentError when given 9 arguments" |
| 12 | + fails "Time.gm handles fractional seconds as a Rational" |
| 13 | + fails "Time.gm handles fractional seconds as a Float" |
| 14 | + fails "Time.gm coerces the second with #to_int" |
| 15 | + fails "Time.gm coerces the minute with #to_int" |
| 16 | + fails "Time.gm coerces the hour with #to_int" |
| 17 | + fails "Time.gm coerces the day with #to_int" |
| 18 | + fails "Time.gm coerces the month with #to_int" |
| 19 | + fails "Time.gm coerces the month with #to_str" |
| 20 | + fails "Time.gm handles a String month given as a short month name" |
| 21 | + fails "Time.gm coerces the year with #to_int" |
| 22 | + fails "Time.gm accepts nil month, day, hour, minute, and second" |
| 23 | + fails "Time.gm creates a time based on given C-style gmtime arguments, interpreted as UTC (GMT)" |
| 24 | + fails "Time.gm creates a time based on given values, interpreted as UTC (GMT)" |
| 25 | + |
| 26 | + fails "Time.local ignores fractional seconds if a passed fractional number of microseconds" |
| 27 | + fails "Time.local ignores fractional seconds if a passed whole number of microseconds" |
| 28 | + fails "Time.local handles fractional microseconds as a Rational" |
| 29 | + fails "Time.local handles fractional microseconds as a Float" |
| 30 | + fails "Time.local handles microseconds" |
| 31 | + fails "Time.local returns subclass instances" |
| 32 | + fails "Time.local handles fractional seconds as a Rational" |
| 33 | + fails "Time.local handles fractional seconds as a Float" |
| 34 | + fails "Time.local coerces the month with #to_str" |
| 35 | + fails "Time.local handles a String month given as a short month name" |
| 36 | + fails "Time.local creates the correct time just after dst change" |
| 37 | + fails "Time.local creates the correct time just before dst change" |
| 38 | + fails "Time.local creates a time based on given C-style gmtime arguments, interpreted in the local time zone" |
| 39 | + fails "Time.local respects rare old timezones" |
| 40 | + fails "Time.local creates a time based on given values, interpreted in the local time zone" |
| 41 | + |
| 42 | + fails "Time#- returns a time with the same fixed offset as self" |
| 43 | + fails "Time#- maintains subseconds precision" |
| 44 | + fails "Time#- maintains nanoseconds precision" |
| 45 | + fails "Time#- maintains microseconds precision" |
| 46 | + fails "Time#- maintains precision" |
| 47 | + fails "Time#- tracks nanoseconds" |
| 48 | + fails "Time#- tracks microseconds" |
| 49 | + fails "Time#- tracks microseconds" |
| 50 | + fails "Time#- accepts arguments that can be coerced into Rational" |
| 51 | + fails "Time#- understands negative subtractions" |
| 52 | + |
2 | 53 | fails "Time.mktime respects rare old timezones" |
3 | 54 | fails "Time.mktime creates a time based on given values, interpreted in the local time zone" |
4 | 55 | fails "Time.mktime creates the correct time just before dst change" |
|
12 | 63 | fails "Time.mktime handles a String month given as a short month name" |
13 | 64 | fails "Time.mktime returns subclass instances" |
14 | 65 |
|
| 66 | + fails "Time#eql? returns false if self and other have differing fractional microseconds" |
| 67 | + |
15 | 68 | fails "Time.inspect formats the local time following the pattern 'yyyy-MM-dd HH:mm:ss Z'" |
16 | 69 | fails "Time.inspect formats the fixed offset time following the pattern 'yyyy-MM-dd HH:mm:ss +/-HHMM'" |
17 | 70 |
|
| 71 | + fails "Time#+ maintains subseconds precision" |
| 72 | + fails "Time#+ maintains nanoseconds precision" |
| 73 | + fails "Time#+ maintains microseconds precision" |
| 74 | + fails "Time#+ maintains precision" |
| 75 | + fails "Time#+ tracks nanoseconds" |
| 76 | + fails "Time#+ tracks microseconds" |
| 77 | + fails "Time#+ returns a time with the same fixed offset as self" |
| 78 | + fails "Time#+ accepts arguments that can be coerced into Rational" |
| 79 | + fails "Time#+ increments the time by the specified amount as rational numbers" |
| 80 | + fails "Time#+ adds a negative Float" |
| 81 | + fails "Time#+ is a commutative operator" |
| 82 | + |
18 | 83 | fails "Time#strftime supports week of year format with %U and %W" |
19 | 84 |
|
20 | 85 | fails "Time#to_s formats the local time following the pattern 'yyyy-MM-dd HH:mm:ss Z'" |
|
44 | 109 | fails "Time.utc accepts nil month, day, hour, minute, and second" |
45 | 110 | fails "Time.utc creates a time based on given C-style gmtime arguments, interpreted as UTC (GMT)" |
46 | 111 | fails "Time.utc creates a time based on given values, interpreted as UTC (GMT)" |
| 112 | + |
| 113 | + fails "Time#utc_offset given negative offset returns a negative offset" |
| 114 | + fails "Time#utc_offset given positive offset returns a positive offset" |
| 115 | + fails "Time#utc_offset returns offset as Rational" |
| 116 | + fails "Time#utc_offset returns the correct offset for New Zealand around daylight savings time change" |
| 117 | + fails "Time#utc_offset returns the correct offset for Hawaii around daylight savings time change" |
| 118 | + fails "Time#utc_offset returns the correct offset for US Eastern time zone around daylight savings time change" |
| 119 | + fails "Time#utc_offset returns the offset in seconds between the timezone of time and UTC" |
47 | 120 | end |
0 commit comments