summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-27 01:05:31 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-27 01:05:31 +0000
commit9f698ff1d533a5542ebbed0a96ef3bf40d72561d (patch)
tree5e9dde02a0c732a70f566263f8cda4f44dcff312
parent83d8d057c2df674138187718eb2c9423506fa758 (diff)
modified test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/date/test_date_strftime.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/date/test_date_strftime.rb b/test/date/test_date_strftime.rb
index e6bfed8e21d..7c0450e787f 100644
--- a/test/date/test_date_strftime.rb
+++ b/test/date/test_date_strftime.rb
@@ -72,19 +72,19 @@ class TestDateStrftime < Test::Unit::TestCase
assert_equal(s[0], d.strftime(f), [f, s].inspect)
case f[-1,1]
when 'c', 'C', 'x', 'X', 'y', 'Y'
- f2 = f.sub(/\A%/, '%E')
- assert_equal(s[0], d.strftime(f2), [f2, s].inspect)
+ f2 = f.sub(/\A%/, '%E')
+ assert_equal(s[0], d.strftime(f2), [f2, s].inspect)
else
- f2 = f.sub(/\A%/, '%E')
- assert_equal(f2, d.strftime(f2), [f2, s].inspect)
+ f2 = f.sub(/\A%/, '%E')
+ assert_equal(f2, d.strftime(f2), [f2, s].inspect)
end
case f[-1,1]
- when 'd', 'e', 'H', 'I', 'm', 'M', 'S', 'u', 'U', 'V', 'w', 'W', 'y'
- f2 = f.sub(/\A%/, '%O')
- assert_equal(s[0], d.strftime(f2), [f2, s].inspect)
+ when 'd', 'e', 'H', 'k', 'I', 'l', 'm', 'M', 'S', 'u', 'U', 'V', 'w', 'W', 'y'
+ f2 = f.sub(/\A%/, '%O')
+ assert_equal(s[0], d.strftime(f2), [f2, s].inspect)
else
- f2 = f.sub(/\A%/, '%O')
- assert_equal(f2, d.strftime(f2), [f2, s].inspect)
+ f2 = f.sub(/\A%/, '%O')
+ assert_equal(f2, d.strftime(f2), [f2, s].inspect)
end
end
end