Skip to content

Commit

Permalink
travis test
Browse files Browse the repository at this point in the history
  • Loading branch information
ohler55 committed Mar 1, 2015
1 parent f5accbe commit ac42a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,9 @@ def test_xml_time_utc

def test_ruby_time
if RUBY_VERSION.start_with?('1.8')
t = Time.parse('2015-01-05T21:37:07.123456-08:00')
t = Time.parse('2015-01-05T21:37:07-08:00')
else
t = Time.new(2015, 1, 5, 21, 37, 7.123456, -8 * 3600)
t = Time.new(2015, 1, 5, 21, 37, 7, -8 * 3600)
end
# The fractional seconds are not always recreated exactly which cacuses a
# mismatch so instead the seconds, nsecs, and gmt_offset are checked
Expand Down

0 comments on commit ac42a7f

Please sign in to comment.