diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2009-10-06 20:12:00 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2009-10-06 20:12:00 -0700 |
commit | 2cf1f822b5e44308bb9e5af8ee4d75cfda0b4d9e (patch) | |
tree | 47c1056052e8ee61f73dc086586da521fe1f9bb8 /test | |
parent | 3b4656645f551f0ebe8b5c7e8660992bc88de123 (diff) | |
download | psych-2cf1f822b5e44308bb9e5af8ee4d75cfda0b4d9e.zip |
times now round trip
Diffstat (limited to 'test')
-rw-r--r-- | test/visitors/test_yast_builder.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/visitors/test_yast_builder.rb b/test/visitors/test_yast_builder.rb index 2f6e443..8205430 100644 --- a/test/visitors/test_yast_builder.rb +++ b/test/visitors/test_yast_builder.rb @@ -8,6 +8,10 @@ module Psych @v = Visitors::YASTBuilder.new end + def test_time + assert_round_trip Time.now + end + def test_date date = Date.strptime('2002-12-14', '%Y-%m-%d') assert_round_trip date |