mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Path delete test: start from an installed session
This commit is contained in:
1 parent
32704afb63
commit
4a136a64bb
1 file changed
+1
-2
@@ -432,8 +432,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn deleting_components_rejects_invalid_indices_without_changing_history() {
|
||||
let mut s = Session::new();
|
||||
s.execute("file.new", json!({"width": 40, "height": 40})).unwrap();
|
||||
let mut s = session();
|
||||
let path = json!({"subpaths": [
|
||||
{"closed": true, "knots": [[1,1], [30,1], [30,30], [1,30]]},
|
||||
{"closed": true, "op": "join", "knots": [[5,5], [5,10], [10,10], [10,5]]},
|
||||
|
||||
Reference in new issue
Block a user