From 7316bbf019e7ebeb5ce8ea9bcbecbd2d7d22c064 Mon Sep 17 00:00:00 2001 From: Tanish Manku Date: Fri, 20 Nov 2026 03:15:47 -0700 Subject: [PATCH] Stack u1: the removal test writes its script lines as escapes --- crates/engine/tests/it/stretch_select.rs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/crates/engine/tests/it/stretch_select.rs b/crates/engine/tests/it/stretch_select.rs index 960d5cf3d..2e55c9603 100644 --- a/crates/engine/tests/it/stretch_select.rs +++ b/crates/engine/tests/it/stretch_select.rs @@ -183,17 +183,9 @@ fn removing_a_named_object_leaves_the_one_lying_on_it() { let first = line(&mut s, [0.0, 0.0], [10.0, 0.0]); let second = line(&mut s, [0.0, 0.0], [10.0, 0.0]); let (gone, kept) = if named_first { (&first, &second) } else { (&second, &first) }; - s.script("STRETCH -C -8,-2 -12,2 -R -").unwrap(); + s.script("STRETCH\nC\n8,-2\n12,2\nR\n").unwrap(); s.input_object(Handle::parse_hex(gone).unwrap(), None).unwrap(); - s.script(" -0,0 -5,0 -").unwrap(); + s.script("\n0,0\n5,0\n").unwrap(); assert!(s.running.is_none(), "{}", s.prompt_text()); assert!(near(ends(&s, gone).1, 10.0, 0.0), "the named line was removed from the set: {:?}", ends(&s, gone)); assert!(near(ends(&s, kept).1, 15.0, 0.0), "the other line still stretches: {:?}", ends(&s, kept));