summaryrefslogtreecommitdiff
path: root/t/ViewWebmail.t
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-09-07 15:59:11 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-09-07 15:59:11 +0200
commit065f17c4b0ffafa1d78f1c901667d26f4591ffc2 (patch)
tree1ed505a74b4d6fefdce89d808886a3301bb52bc3 /t/ViewWebmail.t
parent8659fae92a89007786578460552dd3e19b0f2b11 (diff)
better number formatting for HTML
Diffstat (limited to 't/ViewWebmail.t')
-rw-r--r--t/ViewWebmail.t4
1 files changed, 3 insertions, 1 deletions
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/&nbsp;/ /;
+ is($res, $want);
}
};