diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-25 18:41:32 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-25 18:41:32 +0000 |
| commit | f17f98370e292c10925f27476e2de5671cea8bdd (patch) | |
| tree | 5e1ca375eafa632cf137335ec096ce89ed688137 /test | |
| parent | d62dabb4c36514591417a80eac50e79257e96613 (diff) | |
| download | ruby-f17f98370e292c10925f27476e2de5671cea8bdd.tar.gz ruby-f17f98370e292c10925f27476e2de5671cea8bdd.tar.xz ruby-f17f98370e292c10925f27476e2de5671cea8bdd.zip | |
* time.c (rb_gmtime, rb_localtime): gmtime and localtime return
NULL on error. [ruby-core:23551]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_time.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_time.rb b/test/test_time.rb index 0d88dce2c..2a22c6069 100644 --- a/test/test_time.rb +++ b/test/test_time.rb @@ -1,7 +1,7 @@ require 'time' require 'test/unit' -class TestTimeExtention < Test::Unit::TestCase # :nodoc: +class TestTimeExtension < Test::Unit::TestCase # :nodoc: def test_rfc822 assert_equal(Time.utc(1976, 8, 26, 14, 30) + 4 * 3600, Time.rfc2822("26 Aug 76 14:30 EDT")) |
