mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Initialize commands in the Lorem Ipsum length test
This commit is contained in:
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"})] {
|
||||
|
||||
Reference in new issue
Block a user