[ 
https://issues.apache.org/jira/browse/PROTON-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17117775#comment-17117775
 ] 

Jiri Daněk commented on PROTON-2125:
------------------------------------

I could suppress all deprecation warnings in all of ruby code, which may also 
suppress something helpful, but at this point nobody is going to notice helpful 
messages in all of the mess anyways, or I'd have to monkey-patch out the code 
responsible for the warning, or the tests would have to be upgraded to the new 
methods, and a way would have to be found on older minitest, probably again 
monkeypatching.

> Annoying deprecation warning from Minitest in Ruby tests
> --------------------------------------------------------
>
>                 Key: PROTON-2125
>                 URL: https://issues.apache.org/jira/browse/PROTON-2125
>             Project: Qpid Proton
>          Issue Type: Test
>    Affects Versions: proton-c-0.29.0
>            Reporter: Jiri Daněk
>            Priority: Trivial
>
> {noformat}
> 41: 0.00 s = .
> 41: A data object#test_0002_can hold a null = DEPRECATED: global use of 
> must_equal from 
> /home/travis/build/jdanekrh/qpid-proton/ruby/spec/data_spec.rb:38. Use 
> _(obj).must_equal instead. This will fail in Minitest 6.
> 41: 0.00 s = .
> 41: A data object#test_0019_raises an error on a negative uint = DEPRECATED: 
> global use of must_raise from 
> /home/travis/build/jdanekrh/qpid-proton/ruby/spec/data_spec.rb:136. Use 
> _(obj).must_raise instead. This will fail in Minitest 6.
> 41: 0.00 s = .
> 41: 
> 41: Finished in 0.067732s, 1033.4849 runs/s, 4414.4571 assertions/s.
> 41: 
> 41: 70 runs, 299 assertions, 0 failures, 0 errors, 0 skips
> 41/44 Test #41: ruby-data-spec ...................   Passed    0.28 sec
> test 42
>       Start 42: ruby-exception-handling-spec
> {noformat}
> In e.g. https://travis-ci.org/apache/qpid-proton/jobs/601930436



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to