emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/beancount 16c1b346f3 075/103: Fix thing-at-point tests


From: ELPA Syncer
Subject: [nongnu] elpa/beancount 16c1b346f3 075/103: Fix thing-at-point tests
Date: Mon, 29 Apr 2024 15:59:47 -0400 (EDT)

branch: elpa/beancount
commit 16c1b346f33a588df2dd258765658533b2edbcd7
Author: Daniele Nicolodi <daniele@grinta.net>
Commit: Daniele Nicolodi <daniele@grinta.net>

    Fix thing-at-point tests
    
    The beancount/link-at-point-002 test cannot work as written. Fix it.
---
 beancount-tests.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/beancount-tests.el b/beancount-tests.el
index efab120ae8..409eef56e3 100644
--- a/beancount-tests.el
+++ b/beancount-tests.el
@@ -317,8 +317,6 @@ known option nmaes."
   :tags '(regress thing-at-point)
   (with-temp-buffer
     (insert "^link")
-    (beancount-mode)
-    (goto-char 2)
     (should (equal (thing-at-point 'beancount-link) "^link"))))
 
 (ert-deftest beancount/link-at-point-002 ()
@@ -331,5 +329,5 @@ known option nmaes."
   :tags '(regress thing-at-point)
   (with-temp-buffer
     (insert "foo ^link baz")
-    (goto-char 15)
+    (goto-char 7)
     (should (equal (thing-at-point 'beancount-link) "^link"))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]