tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ruby18-rbtree broken



In message <20080827185722.GI20788%arresum.veego.de@localhost>
        on Wed, 27 Aug 2008 20:57:22 +0200,
        Bernd Ernesti <netbsd%lists.veego.de@localhost> wrote:
>   1) Failure:
> test_inspect(RBTreeTest) 
> [/usr/pkg/lib/ruby/gems/1.8/gems/rbtree-0.2.0/test.rb:491]:
> <"#<Proc:0x080fd400@/usr/pkg/lib/ruby/gems/1.8/gems/rbtree-0.2.0/test.rb:483>">
>  expected to be =~
> </#<Proc:\w+(@test.rb:\d+)?>/>.
It is because of this test.rb script assume it is invoked as below.

        % ruby18 test.rb

So,

% cd /usr/pkg/lib/ruby/gems/1.8/gems/rbtree-0.2.0
% ruby18 -rubygems test.rb
Loaded suite test
Started
....................................................test.rb:201: warning: block 
supersedes default value argument
................................
Finished in 0.112148 seconds.

84 tests, 287 assertions, 0 failures, 0 errors


Yes, test.rb could be fixed...

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index