This project is archived and is in readonly mode.

#3835 ✓wontfix
Santiago Pastorino

[PATCH] multibyte_chars_test.rb failing tests

Reported by Santiago Pastorino | February 1st, 2010 @ 04:29 PM

Running ruby 1.9.1p376 (2009-12-07 revision 26041) [x86_64-linux] on master

  1) Failure:
test_center_should_count_charactes_instead_of_bytes(MultibyteCharsUTF8BehaviourTest)
    [/home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/test/multibyte_chars_test.rb:342:in `test_center_should_count_charactes_instead_of_bytes'
     /home/santiago/.gem/ruby/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/test_unit/gem_version_201_and_above.rb:20:in `run']:
<"ααこにちわαα"> expected but was
<"αこにちわα">.

diff:
- ααこにちわαα
? --            --
+ αこにちわα

  2) Failure:
test_ljust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest)
    [/home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/test/multibyte_chars_test.rb:322:in `test_ljust_should_count_characters_instead_of_bytes'
     /home/santiago/.gem/ruby/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/test_unit/gem_version_201_and_above.rb:20:in `run']:
<"こにちわααα"> expected but was
<"こにちわαα">.

diff:
- こにちわααα
?             --
+ こにちわαα

  3) Failure:
test_rjust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest)
    [/home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/test/multibyte_chars_test.rb:304:in `test_rjust_should_count_characters_instead_of_bytes'
     /home/santiago/.gem/ruby/1.9.1/gems/mocha-0.9.8/lib/mocha/integration/test_unit/gem_version_201_and_above.rb:20:in `run']:
<"αααこにちわ"> expected but was
<"ααこにちわ">.

diff:
- αααこにちわ
? --
+ ααこにちわ

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages