aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/multibyte_handler_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-12-21 11:21:20 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-12-21 11:21:20 +0000
commit909b2c1acf2eb18b7a75a8cb8af0154fc948fb01 (patch)
tree4b3eb730b591e1fb79f9bc5775939310b767898d /activesupport/test/multibyte_handler_test.rb
parent2556e674035a416cb98a336d96e7a5ea3d496ab6 (diff)
downloadrails-909b2c1acf2eb18b7a75a8cb8af0154fc948fb01.tar.gz
rails-909b2c1acf2eb18b7a75a8cb8af0154fc948fb01.tar.bz2
rails-909b2c1acf2eb18b7a75a8cb8af0154fc948fb01.zip
Multibyte: String#chars uses passthrough handler for Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/multibyte_handler_test.rb')
-rw-r--r--activesupport/test/multibyte_handler_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/multibyte_handler_test.rb b/activesupport/test/multibyte_handler_test.rb
index 3384a1a0d4..f61176886b 100644
--- a/activesupport/test/multibyte_handler_test.rb
+++ b/activesupport/test/multibyte_handler_test.rb
@@ -1,6 +1,6 @@
-require File.dirname(__FILE__) + '/abstract_unit'
+require 'abstract_unit'
-$KCODE = 'UTF8'
+$KCODE = 'UTF8' if RUBY_VERSION < '1.9'
class String
# Unicode Inspect returns the codepoints of the string in hex