This project is archived and is in readonly mode.

#3719 ✓wontfix
Anuj Dutta

Errors in mutlibyte_chars_test for ActiveSupport

Reported by Anuj Dutta | January 17th, 2010 @ 06:39 AM

Running ruby-1.9.1-p376.

Got following errors:

  1) Failure:
test_center_should_count_charactes_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/Users/andhapp/Projects/git-repository/andhapp-rails/activesupport/test/multibyte_chars_test.rb:342]:
<"ααこにちわαα"> expected but was

  2) Failure:
test_ljust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/Users/andhapp/Projects/git-repository/andhapp-rails/activesupport/test/multibyte_chars_test.rb:322]:
<"こにちわααα"> expected but was

  3) Failure:
test_rjust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/Users/andhapp/Projects/git-repository/andhapp-rails/activesupport/test/multibyte_chars_test.rb:304]:
<"αααこにちわ"> expected but was

They only fail on this "α". Other assertions in the same test methods pass.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket