Skip to content

Commit

Permalink
Remove useless abs() in font-44.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fvogelnew1 committed Nov 14, 2023
1 parent 59cb09a commit 7a436fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/font.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a436fd

Please sign in to comment.