RubySpec: The __FILE__ constant equals a relative path when required using a
relative path
------------------------------------------------------------------------------------------
Key: JRUBY-3567
URL: http://jira.codehaus.org/browse/JRUBY-3567
Project: JRuby
Issue Type: Bug
Reporter: Charles Oliver Nutter
Assignee: Thomas E Enebo
{noformat}
The __FILE__ constant equals a relative path when required using a relative
path FAILED
Expected "fixtures/file.rb"
to equal "./fixtures/file.rb"
/Users/headius/projects/jruby/spec/ruby/language/file_spec.rb:19
/Users/headius/projects/jruby/spec/ruby/language/file_spec.rb:17:in `chdir'
/Users/headius/projects/jruby/spec/ruby/language/file_spec.rb:17
/Users/headius/projects/jruby/spec/ruby/language/file_spec.rb:5
/Users/headius/projects/jruby/spec/ruby/language/file_spec.rb:55:in `load'
{noformat}
This appears to be a very niggling difference between what goes into __FILE__
for a relative-required path. I'm not entirely convinced this should be
specified behavior.
--
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