You are right, when I ran against MRI I got the "". In my case I always use 
_why's web page to test the results and unfortunatly the result was ".bashrc", 
you see I trust _why :) 
So if this has to match MRI, yes, then I need to change the code. Let me know.
Thanks.



----- Original Message ----
From: Alex Young <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, May 14, 2008 5:43:59 AM
Subject: Re: [Ironruby-core] changes to extname_spec.rb

Unnikrishnan Nair wrote:
> One more spec change. Could you please review line 8 of this spec, it 
> should read
> 
>    File.extname(".bashrc").should == ".bashrc"
> 
> instead of
> 
>    File.extname(".bashrc").should == ""
Quick question:  are the specs supposed to ensure that IronRuby matches 
MRI's behaviour, or just that it's internally consistent?  I get this in 
MRI's IRB:

irb(main):001:0> File.extname(".bashrc")
=> ""

Also in YARV:

irb(main):002:0> File.extname(".bashrc")
=> ""

-- 
Alex
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to