Subject: | [PATCH] Loungdouble trouble |
t/23_unicode.t ....... 2/19
# Failed test 'Round trip ok'
# at t/23_unicode.t line 99.
# Structures begin differing at:
# $got->{two} = '1.23'
# $expected->{two} = '1.22999999999999998'
# Looks like you failed 1 test of 19.
t/23_unicode.t ....... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/19 subtests
Please use reproducible doubles :)
--8<---
--- t/23_unicode.t.org 2012-03-05 15:47:26.000000000 +0100
+++ t/23_unicode.t 2012-03-05 15:46:58.000000000 +0100
@@ -79,7 +79,7 @@ SCOPE: {
SCOPE: {
my $smiley1 = My::Foo->create(
one => 1,
- two => 1.23,
+ two => 1.125,
name => 'foo',
text => "\x{263A}",
);
-->8---
=>
All tests successful.
Files=25, Tests=533, 19 wallclock secs ( 0.21 usr 0.06 sys + 2.35
cusr 0.44 csys = 3.06 CPU)
Result: PASS