Subject: | tests in t/currency.t fail |
Date: | Wed, 27 Nov 2013 11:29:44 +0100 |
To: | bug-DBIx-Class-InflateColumn-Currency [...] rt.cpan.org |
From: | Rhesa Rozendaal <rhesa [...] cpan.org> |
Hi CLACO,
Ever since Data::Currency added overloads for mathematical overloads in
0.05, some of the tests in t/currency.t fail.
For example on line 48:
# Failed test at t/currency.t line 48.
# got: '$2.23'
# expected: '2.23'
I'm not sure what the best way is to fix these tests. I suppose calling
->value on the result, and upping the version requirement on
Data::Currency is the safest way forward.
Rhesa