Skip to content

Add face verification for hywiki--word-face#711

Merged
matsl merged 2 commits intomasterfrom
add-face-verification
Apr 24, 2025
Merged

Add face verification for hywiki--word-face#711
matsl merged 2 commits intomasterfrom
add-face-verification

Conversation

@matsl
Copy link
Copy Markdown
Collaborator

@matsl matsl commented Apr 23, 2025

What

Add face verification for hywiki--word-face.

Make a copy of the step check that does the same verification but adds
a check of the face of the matching WikiWord.

Why

WikiWords should not only be recognized as text but should also have
the right face for visual feedback to the user.

This combines the check of the text with a check that an overlay
exists with the right face.

Note

The test does fails due to the face check. Is it thus put behind the
failure flag to not be executed in the CI.

Make a copy of the step check that does the same verification but adds
a check of the face of the matching WikiWord.
@matsl matsl requested a review from rswgnu April 23, 2025 21:17
Copy link
Copy Markdown
Owner

@rswgnu rswgnu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the one typo noted in the review and then approved.

Comment thread test/hy-test-helpers.el Outdated
(cl-return t))))

(defun hy-test-word-face-at-region (beg end)
"Non-nil if all chars in region [BEG, END] has `hywiki--word-face'."
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

‘have’ instead of ‘has’.

@matsl matsl merged commit 0f0eb92 into master Apr 24, 2025
4 checks passed
@matsl matsl deleted the add-face-verification branch April 24, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants