Skip to content

Commit e2158f3

Browse files
authored
Activate all checks and mark test case as expected to fail (#815)
1 parent 5ea66a6 commit e2158f3

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
2025-11-17 Mats Lidell <matsl@gnu.org>
22

3+
* test/hywiki-tests.el (hywiki-tests--maybe-highlight-page-names): Add
4+
test cases that fail and mark test as expected-result failed.
5+
36
* test/hpath-tests.el
47
(hpath:path-at-point-with-unbalanced-quote-on-same-line):
58
Rename test. Track current behavior.

test/hywiki-tests.el

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2049,7 +2049,11 @@ face is verified during the change."
20492049
(hywiki-tests--delete-hywiki-dir-and-buffer hywiki-directory)))))
20502050

20512051
(ert-deftest hywiki-tests--maybe-highlight-page-names ()
2052-
"Verify `hywiki-maybe-highlight-page-names'."
2052+
"Verify `hywiki-maybe-highlight-page-names'.
2053+
Start and stop point of all highlighted regions in the buffer, as
2054+
computed by `hywiki-tests--hywiki-face-regions', are compared to the
2055+
expected result."
2056+
:expected-result :failed
20532057
(hywiki-tests--preserve-hywiki-mode
20542058
(let* ((hywiki-directory (make-temp-file "hywiki_" t))
20552059
(wikiword (cdr (hywiki-add-page "WiWo"))))
@@ -2062,11 +2066,10 @@ face is verified during the change."
20622066
("WiWo text WiWo" . ((1 . 5) (11 . 15)))
20632067
("\"WiWo\"" . ((2 . 6)))
20642068
("\"WiWo text\"" . ((2 . 6)))
2065-
;; FIXME: Failing tests below.
2066-
;; ("\"WiWo WiWo\"" . ((2 . 6) (7 . 11)))
2067-
;; ("\"WiWo text WiWo\"" . ((2 . 6) (12 . 16)))
2068-
;; ("\"WiWo WiWo WiWo\"" . ((2 . 6) (7 . 11) (12 . 16)))
2069-
))
2069+
;; Failing tests below.
2070+
("\"WiWo WiWo\"" . ((2 . 6) (7 . 11)))
2071+
("\"WiWo text WiWo\"" . ((2 . 6) (12 . 16)))
2072+
("\"WiWo WiWo WiWo\"" . ((2 . 6) (7 . 11) (12 . 16)))))
20702073
(let ((input (car v))
20712074
(overlay-regions (cdr v)))
20722075
(with-temp-buffer

0 commit comments

Comments
 (0)