mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 15:51:40 +02:00
🐛 Fixes tests
This commit is contained in:
parent
60af960f42
commit
c28a2acfc7
3 changed files with 25 additions and 19 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue