mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-27 19:56:51 -06:00
Integration: close the live-corner test before the pen cursor tests
The tool-cursors merge (ba6fcbe2) appended the branch's pen cursor tests
after next's live_corner_diamonds_follow_a_rotated_frame without that
test's closing brace.
This commit is contained in:
@@ -1205,6 +1205,8 @@ fn live_corner_diamonds_follow_a_rotated_frame() {
|
||||
let a = t.pointer(&cx, &PointerEvent::new(PointerKind::Drag, to.x, to.y));
|
||||
let got = corner_preview(&a);
|
||||
assert!(got.iter().all(|(shape, size)| shape == "rounded" && (size - 25.0).abs() < 1e-6), "{got:?}");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pen_cursor_shows_add_delete_and_close() {
|
||||
let mut d = Document::new(&NewDocument::default());
|
||||
|
||||
Reference in New Issue
Block a user