diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-27 07:42:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-27 07:42:55 +0000 |
commit | 74ba517411b5926b1da584f921daf03ff8a72ec4 (patch) | |
tree | 6fc8090140e2f30685e4d720ca400ce6cda61f61 /test/yaml/test_yaml.rb | |
parent | 652f15029b099ebae0cfb89f5adc435faeb5fb09 (diff) | |
download | ruby-74ba517411b5926b1da584f921daf03ff8a72ec4.tar.gz |
* merged from trunk r20281:20375.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@20376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/yaml/test_yaml.rb')
-rw-r--r-- | test/yaml/test_yaml.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/yaml/test_yaml.rb b/test/yaml/test_yaml.rb index ed94705fcf..837f34722f 100644 --- a/test/yaml/test_yaml.rb +++ b/test/yaml/test_yaml.rb @@ -1306,6 +1306,10 @@ EOY raise "id collision in ordered map" if omap.to_yaml =~ /id\d+/ end + def test_date_out_of_range + assert_nothing_raised{YAML::load('1900-01-01T00:00:00+00:00')} + end + def test_normal_exit YAML.load("2000-01-01 00:00:00.#{"0"*1000} +00:00\n") # '[ruby-core:13735]' |