Skip to content

Commit

Permalink
expect slider to allow for 0 again
Browse files Browse the repository at this point in the history
  • Loading branch information
ericleonardis committed Jan 2, 2025
1 parent 9cef9f3 commit 1dda08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gui/test_slider.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_slider_width_property(qtbot):
# Test edge cases with very small and large widths
slider.box_rect.setWidth(0)
assert (
slider._slider_width == 1
slider._slider_width == 0
), "Expected _slider_width to be 1 when box_rect width is 0"

slider.box_rect.setWidth(10000)
Expand Down

0 comments on commit 1dda08c

Please sign in to comment.