diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-24 13:10:07 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-24 13:10:07 +0000 |
commit | aa498028b28b709db51408c0855163cc8adfbb8b (patch) | |
tree | 0d0ad33ccde61a2ad995b162d07c129c5eb79355 /test/ruby | |
parent | 32aed810463a40807db2192c91faa7cec2cb23d5 (diff) | |
download | ruby-aa498028b28b709db51408c0855163cc8adfbb8b.tar.gz |
* strftime.c (rb_strftime): The precision of %0N should be 9.
[ruby-dev:37156]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_time.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb index d3b6982649..b15027c1f8 100644 --- a/test/ruby/test_time.rb +++ b/test/ruby/test_time.rb @@ -396,7 +396,7 @@ class TestTime < Test::Unit::TestCase assert_equal("123456", t.strftime("%6N")) assert_equal("123456789", t.strftime("%9N")) assert_equal("1234567890", t.strftime("%10N")) - assert_equal("", t.strftime("%0N")) + assert_equal("123456789", t.strftime("%0N")) assert_equal("000", t.strftime("%3S")) assert_equal("946684800", t.strftime("%s")) assert_equal("946684800", t.utc.strftime("%s")) |