summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-25 18:41:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-25 18:41:32 +0000
commit762fec4946d4ab0eea846ef87de22e783ddd5ac7 (patch)
tree5e1ca375eafa632cf137335ec096ce89ed688137 /test
parent5ac1389aeaa9219bbf56962f5ed4e617a7fdff86 (diff)
* time.c (rb_gmtime, rb_localtime): gmtime and localtime return
NULL on error. [ruby-core:23551] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/test_time.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_time.rb b/test/test_time.rb
index 0d88dce2c4..2a22c6069f 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"))