summaryrefslogtreecommitdiff
path: root/test/psych/test_date_time.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/test_date_time.rb')
-rw-r--r--test/psych/test_date_time.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/psych/test_date_time.rb b/test/psych/test_date_time.rb
index 9a8e37bc67..91de6a4841 100644
--- a/test/psych/test_date_time.rb
+++ b/test/psych/test_date_time.rb
@@ -3,6 +3,10 @@ require 'date'
module Psych
class TestDateTime < TestCase
+ def test_invalid_date
+ assert_cycle "2013-10-31T10:40:07-000000000000033"
+ end
+
def test_string_tag
dt = DateTime.now
yaml = Psych.dump dt