[1.9] Module#name specs aren't running
--------------------------------------
Key: JRUBY-4835
URL: http://jira.codehaus.org/browse/JRUBY-4835
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.5
Reporter: Hiro Asari
Currently, JRuby can't load RubySpec's fixture file for Module#name. This
results in specs not running at all.
{noformat}
$ jruby spec/mspec/bin/mspec -T--1.9 spec/ruby/core/module/name_spec.rb
jruby 1.6.0.dev (ruby 1.9.2dev trunk -1) (2010-05-28 813fb66) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_20) [x86_64-java]
1)
An exception occurred during: Module#name ERROR
SyntaxError:
/Users/asari/Development/src/jruby/spec/ruby/core/module/fixtures/name.rb:4:
\303Invalid char `\303' ('ᅢ') in expression
/Users/asari/Development/src/jruby/spec/ruby/core/module/fixtures/name.rb:18
/Users/asari/Development/src/jruby/spec/ruby/core/module/fixtures/name.rb:18:in
`require'
/Users/asari/Development/src/jruby/spec/ruby/core/module/name_spec.rb:18
/Users/asari/Development/src/jruby/spec/ruby/core/module/name_spec.rb:12
/Users/asari/Development/src/jruby/spec/ruby/core/module/name_spec.rb:4
/Users/asari/Development/src/jruby/spec/ruby/core/module/name_spec.rb:56:in
`load'
Finished in 0.025000 seconds
1 file, 0 examples, 0 expectations, 0 failures, 1 error
{noformat}
I pushed a commit to RubySpec so that JRuby can at least run the specs. There
are no specs for Module#name that fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email