From afcd252205d84ebf5ffd0659301c604a7beba2bb Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 17 Apr 2010 15:16:38 -0700 Subject: removes code written for Ruby < 1.8.7 --- activesupport/test/core_ext/string_ext_test.rb | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'activesupport/test/core_ext') diff --git a/activesupport/test/core_ext/string_ext_test.rb b/activesupport/test/core_ext/string_ext_test.rb index 234e41c772..58ca215970 100644 --- a/activesupport/test/core_ext/string_ext_test.rb +++ b/activesupport/test/core_ext/string_ext_test.rb @@ -230,18 +230,6 @@ class CoreExtStringMultibyteTest < ActiveSupport::TestCase assert !BYTE_STRING.is_utf8? end - if RUBY_VERSION < '1.8.7' - def test_core_ext_adds_chars - assert UNICODE_STRING.respond_to?(:chars) - end - - def test_chars_warns_about_deprecation - assert_deprecated("String#chars") do - ''.chars - end - end - end - if RUBY_VERSION < '1.9' def test_mb_chars_returns_self_when_kcode_not_set with_kcode('none') do -- cgit v1.2.3