LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Batch 39: #1474's hint test expects the value hint #1604 gave the scrubbable value
Brandon Thomasf0b5f0339a73
diff --git a/crates/ui-egui/src/tests_slider_reset.rs b/crates/ui-egui/src/tests_slider_reset.rsindex 6d0357fcb..ead2491b1 100644--- a/crates/ui-egui/src/tests_slider_reset.rs+++ b/crates/ui-egui/src/tests_slider_reset.rs@@ -131,7 +131,7 @@ fn a_sliders_name_and_thumb_say_a_double_click_resets_it() {assert!(!shown(&h), "no hint away from the thumb");// the value keeps its own hintask(&mut h, "ui.hoverWidget", json!({"id": "sliderValue:light.exposure"}));- assert!(h.step_until(Duration::from_secs(5), |h| h.painted_text().iter().any(|t| t == "Click to type a value")));+ assert!(h.step_until(Duration::from_secs(5), |h| h.painted_text().iter().any(|t| t == "Click to type a value, drag to change it")));}/// Typing a value (KEY-SLIDER-TYPE, #1362) still works next to the reset.