From 065f17c4b0ffafa1d78f1c901667d26f4591ffc2 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Thu, 7 Sep 2023 15:59:11 +0200 Subject: better number formatting for HTML --- t/ViewWebmail.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 't/ViewWebmail.t') diff --git a/t/ViewWebmail.t b/t/ViewWebmail.t index b1dd75f..0708523 100644 --- a/t/ViewWebmail.t +++ b/t/ViewWebmail.t @@ -33,7 +33,9 @@ subtest 'print_size10' => sub { plan tests => scalar keys %TESTS; while (my ($input, $want) = each %TESTS) { - is(JWebmail::View::Webmail->print_sizes10($input), $want); + my $res = JWebmail::View::Webmail->print_sizes10($input); + $res =~ s/ / /; + is($res, $want); } }; -- cgit v1.2.3