Choices: review r1 fixes

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 13:11:39 -04:00
1 parent cfdccfec5c
commit 82471ab0bf
40 files changed
+774 -209

No files matched your search

-12
View File
@@ -70,18 +70,6 @@ func TestSliderClampsOutOfRangeValue(t *testing.T) {
}
}
func TestSliderDisabled(t *testing.T) {
v, changes := 30.0, 0
tt := sliderTester(&v, SliderOptions{Disabled: true, Step: 1}, &changes)
tt.Key(0, ui.KeyTab)
tt.Key(0, ui.KeyRight)
tt.Press(100, 18)
tt.Release(100, 18)
if v != 30 {
t.Fatalf("disabled slider moved to %v", v)
}
}
func TestSliderBadRange(t *testing.T) {
defer func() {
if recover() == nil {