[Ironruby-core] changes to extname_spec.rb
Alex Young
alex at blackkettle.org
Wed May 14 06:43:59 EDT 2008
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
More information about the Ironruby-core
mailing list