Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

Errors in mutlibyte_chars_test for ActiveSupport

#3719

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.

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

State: wontfix
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Jeff Tucker
    Jeff Tucker

    +1 Verified with 1.9.1p378

    January 17th, 2010 @ 06:48 PM

  2. Anuj Dutta
    Anuj Dutta
    • Title changed from Errors in active_support/test/mutlibyte_chars_test.rb to Errors in mutlibyte_chars_test for ActiveSupport

    January 18th, 2010 @ 10:05 AM

  3. Rizwan Reza
    Rizwan Reza
    • Tag changed from activesupport, bugmash, rails3 to activesupport, bugmash, rails3, ruby-1.9.1

    January 18th, 2010 @ 12:52 PM

  4. Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu)

    This is confirmed in Rails 1.9.1p376.

    Also, there're lots of 'warning: too many arguments for format string' message. Is there anything we can fix?

    January 19th, 2010 @ 01:47 AM

  5. Rizwan Reza
    Rizwan Reza
    • Tag changed from activesupport, bugmash, rails3, ruby-1.9.1 to activesupport, rails3, ruby-1.9.1

    February 12th, 2010 @ 12:46 PM

  6. Santiago Pastorino