Re: Glib::Introspection 0.04: t/enums.t fails



On 25.11.2011 13:33, Jörn Reder  wrote:
   t/enums.t ..................... 1/3
   #   Failed test at t/enums.t line 12.
   #          got: '[ flag1 flag3 ]'
   #     expected: 'ARRAY(0x9322c68)'
   # Looks like you failed 1 test of 3.
   t/enums.t ..................... Dubious, test returned 1 (wstat 256, 0x100)

That's a bug in the test suite. It should be using is_deeply() instead of is(). Apparently, the version of Test::More that I use prefers dereferencing over stringification for objects which overload both operations, whereas your version does the opposite.



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