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 Y. [email protected]
To: [email protected]
Sent: Wednesday, May 14, 2008 5:43:59 AM
Subject: Re: [Ironruby-core] changes to extname_spec.rb
Unnikrishnan N. 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”)
=> “”