Skip to content

Commit 906e97d

Browse files
committed
Update beginning of file table test
1 parent 986d317 commit 906e97d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/markdown-test.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5458,11 +5458,11 @@ See GH-288."
54585458

54595459
(ert-deftest test-markdown-table/table-begin-top-of-file ()
54605460
"Test beginning of table detection at top of file."
5461-
(markdown-test-string "\n| 1 | 2 |\n"
5462-
(should-not (markdown-table-at-point-p))
5461+
(markdown-test-string "| 1 | 2 |\n| 3 | 4 |\n"
5462+
(should (markdown-table-at-point-p))
54635463
(forward-line)
54645464
(should (markdown-table-at-point-p))
5465-
(should (= (markdown-table-begin) 2))))
5465+
(should (= (markdown-table-begin) 1))))
54665466

54675467
;;; Extension: pipe table insertion
54685468

0 commit comments

Comments
 (0)