From d30f2ccb2693f398ed1c627811a830d4130ecb82 Mon Sep 17 00:00:00 2001 From: yoriswind Date: Mon, 30 Nov 2026 15:02:26 -0800 Subject: [PATCH] Initialize commands in the Lorem Ipsum length test --- crates/engine-core/src/cmd/type_paste_lorem_length_tests.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/engine-core/src/cmd/type_paste_lorem_length_tests.rs b/crates/engine-core/src/cmd/type_paste_lorem_length_tests.rs index 4921db325e..fedb3dbf2c 100644 --- a/crates/engine-core/src/cmd/type_paste_lorem_length_tests.rs +++ b/crates/engine-core/src/cmd/type_paste_lorem_length_tests.rs @@ -1,10 +1,8 @@ use serde_json::json; -use crate::Session; - #[test] fn paste_lorem_adds_one_full_paragraph_without_growing_the_type_box() { - let mut session = Session::new(); + let mut session = crate::session(); session.execute("file.new", json!({"width": 240, "height": 120})).unwrap(); for params in [json!({"x": 10, "y": 20, "text": "Existing"}), json!({"box": [10, 10, 20, 18], "text": "Existing"})] {