Initialize commands in the Lorem Ipsum length test

This commit is contained in:
yoriswind committed 2026-11-30 15:02:26 -08:00
1 parent e5f33cadcf
commit d30f2ccb26
1 file changed
+1 -3
@@ -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"})] {