We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 986d317 commit 906e97dCopy full SHA for 906e97d
tests/markdown-test.el
@@ -5458,11 +5458,11 @@ See GH-288."
5458
5459
(ert-deftest test-markdown-table/table-begin-top-of-file ()
5460
"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))
+ (markdown-test-string "| 1 | 2 |\n| 3 | 4 |\n"
+ (should (markdown-table-at-point-p))
5463
(forward-line)
5464
(should (markdown-table-at-point-p))
5465
- (should (= (markdown-table-begin) 2))))
+ (should (= (markdown-table-begin) 1))))
5466
5467
;;; Extension: pipe table insertion
5468
0 commit comments