From f17f98370e292c10925f27476e2de5671cea8bdd Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 25 May 2009 18:41:32 +0000 Subject: * 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 --- test/test_time.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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")) -- cgit