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"})] {