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

Re: RFH: Need an explanation to fix #952027



Am Mittwoch, den 25.03.2020, 10:54 -0300 schrieb Antonio Terceiro:
> On Tue, Mar 24, 2020 at 06:32:10PM +0100, Daniel Leidert wrote:

[..]
> > The output regarding ":block=>#<Proc:...>" doesn't match the expectation. Of
> > course I could easily change the expected result to match the current output.
> > However I'd like to understand the problem. Can someone please give me a few
> > buzzwords to search for or an explanation what is happening here?
> 
> The format of Proc#inspect has changed since this code was written, and
> also changed between 2.5 and 2.7
> 
> $ ruby2.5 -e 'puts((Proc.new{}).inspect)'
> #<Proc:0x000055763128c678@-e:1>
> $ ruby2.7 -e 'puts((Proc.new{}).inspect)'
> #<Proc:0x0000556befec6688 -e:1>
> 
> and some testing helper code in lib/declarative/testing.rb makes
> assumptions about that format.
> 
> there were also other issues with the test suite, such as deprecating
> notices from minitest. See https://github.com/apotonick/declarative/pull/5

I've used your patches (minitest and ruby2.5+) and uploaded the fixed package,
which builds fine now. Thanks.

Regards, Daniel

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: