diff options
author | wycats <wycats@gmail.com> | 2010-03-17 00:53:48 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-17 00:53:48 -0700 |
commit | 640ee5b68d1078fc164bd4e10c019f284ad9b760 (patch) | |
tree | c0216c11cc577d93393939c343785189a71cd0c1 /activesupport/test/core_ext/string_ext_test.rb | |
parent | a5587efc1903fd27d4b179753aa6e139445ad18c (diff) | |
download | rails-640ee5b68d1078fc164bd4e10c019f284ad9b760.tar.gz rails-640ee5b68d1078fc164bd4e10c019f284ad9b760.tar.bz2 rails-640ee5b68d1078fc164bd4e10c019f284ad9b760.zip |
Fix some more warnings on 1.9
Diffstat (limited to 'activesupport/test/core_ext/string_ext_test.rb')
-rw-r--r-- | activesupport/test/core_ext/string_ext_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/string_ext_test.rb b/activesupport/test/core_ext/string_ext_test.rb index a50e259726..234e41c772 100644 --- a/activesupport/test/core_ext/string_ext_test.rb +++ b/activesupport/test/core_ext/string_ext_test.rb @@ -285,7 +285,7 @@ class TestGetTextString < Test::Unit::TestCase def test_percent assert_equal("% 1", "%% %<num>d" % {:num => 1.0}) - assert_equal("%{num} %<num>d", "%%{num} %%<num>d" % {:num => 1}) + assert_equal("%{num} %<num>d 1", "%%{num} %%<num>d %<num>d" % {:num => 1}) end def test_sprintf_percent_in_replacement |