♻️ Remove redundant flag on text overrides (#6933)

This commit is contained in:
Pablo Alba
2025-07-22 12:32:24 +02:00
committed by GitHub
parent f768ffbdad
commit ea5521485a
4 changed files with 72 additions and 74 deletions

View File

@@ -103,7 +103,7 @@
file' (thf/apply-changes file changes)
copy-child' (ths/get-shape file' :copy-child)]
(t/is (= #{:content-group :text-content-structure :text-content-structure-same-attrs} (:touched copy-child')))))
(t/is (= #{:content-group :text-content-structure} (:touched copy-child')))))
(t/deftest test-text-copy-changed-structure-diff-attrs
(let [;; ==== Setup

View File

@@ -39,7 +39,7 @@
(t/is (= #{:text-content-attribute} diff-attr))
(t/is (= #{:text-content-text :text-content-attribute} diff-both))
(t/is (= #{:text-content-structure} diff-structure))
(t/is (= #{:text-content-structure :text-content-structure-same-attrs} diff-structure-same-attrs))))
(t/is (= #{:text-content-structure} diff-structure-same-attrs))))
(t/deftest test-get-diff-attrs