From 37887ffb2c8e05dd5c9f04ae5deb8e9e4cf6ce89 Mon Sep 17 00:00:00 2001 From: fvogel Date: Tue, 14 Nov 2023 04:44:32 +0000 Subject: Remove useless abs() in font-44.1 --- tests/font.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/font.test b/tests/font.test index a1bf9b8..ece49d7 100644 --- a/tests/font.test +++ b/tests/font.test @@ -2349,7 +2349,7 @@ puts "font actual {times -12}: [font actual {times -12}]" puts "oldsize: $oldsize" tk scaling 0.5 puts "font actual {times -12}: [font actual {times -12}]" - expr {abs(round([font actual {times -12} -size] / $oldscale * 0.5) - round($oldsize)) == 0} + expr {round([font actual {times -12} -size] / $oldscale * 0.5) - round($oldsize) == 0} } -cleanup { tk scaling $oldscale } -result 1 -- cgit v0.12