mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix ses-test.el indentation.
This commit is contained in:
parent
20bb4d708b
commit
d07902e5ca
1 changed files with 14 additions and 14 deletions
|
|
@ -202,23 +202,23 @@ to `ses--bar' and inserting a row, makes A2 value empty, and `ses--bar' equal to
|
|||
|
||||
(ert-deftest ses-jump-B2-lowcase ()
|
||||
"Test jumping to cell B2 by use of lowercase cell name string"
|
||||
(let ((ses-initial-size '(3 . 3))
|
||||
ses-after-entry-functions)
|
||||
(with-temp-buffer
|
||||
(ses-mode)
|
||||
(funcall-interactively 'ses-jump "b2")
|
||||
(ses-command-hook)
|
||||
(should (eq (ses--cell-at-pos (point)) 'B2)))))
|
||||
(let ((ses-initial-size '(3 . 3))
|
||||
ses-after-entry-functions)
|
||||
(with-temp-buffer
|
||||
(ses-mode)
|
||||
(funcall-interactively 'ses-jump "b2")
|
||||
(ses-command-hook)
|
||||
(should (eq (ses--cell-at-pos (point)) 'B2)))))
|
||||
|
||||
(ert-deftest ses-jump-B2-lowcase-keys ()
|
||||
"Test jumping to cell B2 by use of lowercase cell name string with simulating keys"
|
||||
(let ((ses-initial-size '(3 . 3))
|
||||
ses-after-entry-functions)
|
||||
(with-temp-buffer
|
||||
(ses-mode)
|
||||
(ert-simulate-keys [ ?b ?2 return] (ses-jump))
|
||||
(ses-command-hook)
|
||||
(should (eq (ses--cell-at-pos (point)) 'B2)))))
|
||||
(let ((ses-initial-size '(3 . 3))
|
||||
ses-after-entry-functions)
|
||||
(with-temp-buffer
|
||||
(ses-mode)
|
||||
(ert-simulate-keys [ ?b ?2 return] (ses-jump))
|
||||
(ses-command-hook)
|
||||
(should (eq (ses--cell-at-pos (point)) 'B2)))))
|
||||
|
||||
(ert-deftest ses-jump-B2-symbol ()
|
||||
"Test jumping to cell B2 by use of cell name symbol"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue