diff options
author | fvogel <fvogelnew1@free.fr> | 2023-11-14 04:44:32 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2023-11-14 04:44:32 (GMT) |
commit | 37887ffb2c8e05dd5c9f04ae5deb8e9e4cf6ce89 (patch) | |
tree | f760cddf3cb11893032ad3ee6c0f5ae9d3eaa867 /tests/font.test | |
parent | 29377ce482568009ea57aa8c29955df95e9c066a (diff) | |
download | tk-37887ffb2c8e05dd5c9f04ae5deb8e9e4cf6ce89.zip tk-37887ffb2c8e05dd5c9f04ae5deb8e9e4cf6ce89.tar.gz tk-37887ffb2c8e05dd5c9f04ae5deb8e9e4cf6ce89.tar.bz2 |
Remove useless abs() in font-44.1
Diffstat (limited to 'tests/font.test')
-rw-r--r-- | tests/font.test | 2 |
1 files changed, 1 insertions, 1 deletions
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 |