mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fixes tests
This commit is contained in:
@@ -181,9 +181,11 @@
|
||||
shape-before (-> (create-test-shape type {:modifiers modifiers})
|
||||
(assoc :selrect selrect))
|
||||
shape-after (gsh/transform-shape shape-before {:round-coords? false})]
|
||||
(= (:selrect shape-before) (:selrect shape-after)))
|
||||
|
||||
:rect {:x 0 :y 0 :width ##Inf :height ##Inf}
|
||||
:path {:x 0 :y 0 :width ##Inf :height ##Inf}
|
||||
(= (:selrect shape-before)
|
||||
(:selrect shape-after)))
|
||||
|
||||
:rect {:x 0 :y 0 :x1 0 :y1 0 :x2 ##Inf :y2 ##Inf :width ##Inf :height ##Inf}
|
||||
:path {:x 0 :y 0 :x1 0 :y1 0 :x2 ##Inf :y2 ##Inf :width ##Inf :height ##Inf}
|
||||
:rect nil
|
||||
:path nil)))
|
||||
|
||||
Reference in New Issue
Block a user