diff --git a/crates/thing-tui/tests/diff.rs b/crates/thing-tui/tests/diff.rs index ac4e1ba..ddc3ffa 100644 --- a/crates/thing-tui/tests/diff.rs +++ b/crates/thing-tui/tests/diff.rs @@ -79,7 +79,7 @@ fn commands(rng: &mut Rng, count: usize, cols: u64, rows: u64) -> Vec fill(rect(x, y, w, h), color), 2 => stroke(rect(x, y, w, h), color), - 3 | 4 | 5 => text(x, y, rng.pick(&WORDS), color), + 3 | 4 | 5 => text(x, y, *rng.pick(&WORDS), color), 6 => RenderCommand::Polyline { points: vec![(x, y), (x + w, y + h)], width: 1.0, color }, _ => RenderCommand::Embed { rect: rect(x, y, w.min(3.0), h.min(2.0)), slot_kind: String::new(), slot_id: String::new() }, });