emacs-diffs
[Top][All Lists]
Advanced

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

master a83e60eccbc 5/5: Fix recent ses-tests mistakes (bug#5852)


From: Mattias Engdegård
Subject: master a83e60eccbc 5/5: Fix recent ses-tests mistakes (bug#5852)
Date: Sun, 14 Jan 2024 08:17:49 -0500 (EST)

branch: master
commit a83e60eccbc16613fc3da85f46a3fb032c098a82
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Fix recent ses-tests mistakes (bug#5852)
    
    * test/lisp/ses-tests.el
    (ses-set-formula-write-cells-with-changed-references):
    Quote constant list.  Remove unused variable.
---
 test/lisp/ses-tests.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/lisp/ses-tests.el b/test/lisp/ses-tests.el
index be6784be7a0..a916aed9eb3 100644
--- a/test/lisp/ses-tests.el
+++ b/test/lisp/ses-tests.el
@@ -246,7 +246,7 @@ to `ses--bar' and inserting a row, makes A2 value empty, 
and `ses--bar' equal to
 When setting a formula has some cell with changed references, this
 cell has to be rewritten to data area."
   (let ((ses-initial-size '(4 . 3))
-        ses-after-entry-functions beg)
+        (ses-after-entry-functions nil))
     (with-temp-buffer
       (ses-mode)
       (dolist (c '((0 1 1); B1
@@ -257,7 +257,7 @@ cell has to be rewritten to data area."
         (apply 'ses-calculate-cell (list (car c) (cadr c) nil)))
       (ses-cell-set-formula 2 1 '(+ B2 A3)); B3
       (ses-command-hook)
-      (ses-cell-set-formula 3 1 (+ B3 A4)); B4
+      (ses-cell-set-formula 3 1 '(+ B3 A4)); B4
       (ses-command-hook)
       (should (equal (ses-cell-references 1 1) '(B3)))
       (ses-mode)



reply via email to

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