Project

General

Profile

Actions

Defect #4607

closed

Completely broken unit tests with Ruby 1.9 (encoding problem)

Added by Alexey Palazhchenko over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Ruby support
Target version:
Start date:
2010-01-19
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Current trunk:

$ rake --trace test:units

/Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:147:in `load': /Users/AlekSi/Sites/redmine/test/unit/mail_handler_test.rb:214: invalid multibyte char (US-ASCII) (SyntaxError)
/Users/AlekSi/Sites/redmine/test/unit/mail_handler_test.rb:214: invalid multibyte char (US-ASCII)
/Users/AlekSi/Sites/redmine/test/unit/mail_handler_test.rb:214: syntax error, unexpected $end, expecting ')'
    tracker = Tracker.create!(:name => '開発')
                                          ^
    from /Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:147:in `load_with_new_constant_marking'
    from /Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `block in <main>'
    from /Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `each'
    from /Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `<main>'
rake aborted!
Command failed with status (1): [/Users/AlekSi/.rvm/rubies/ruby-1.9.1-p378/...]
/Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:995:in `block in sh'

btw, I think support for Ruby 1.9 would be a great target for Redmine 1.0. How about to create specific version/milestone for it to see all releated issues?

Actions #1

Updated by Alexey Palazhchenko over 14 years ago

It was bisected down to r3322.

Actions #2

Updated by Jean-Philippe Lang about 14 years ago

  • Status changed from New to Closed
  • Target version set to 0.9.1
  • Resolution set to Fixed

Fixed in r3346.

Actions #3

Updated by Eric Davis about 14 years ago

  • Category set to Ruby support

Aleksey Palazhchenko wrote:

btw, I think support for Ruby 1.9 would be a great target for Redmine 1.0. How about to create specific version/milestone for it to see all releated issues?

Added a category for Ruby 1.9 support.

Actions #4

Updated by Alexey Palazhchenko about 14 years ago

Thanks.

Actions

Also available in: Atom PDF