Skip to content

Commit

Permalink
Update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescherti committed Aug 14, 2024
1 parent 41aa802 commit 8923540
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test-easysession.el
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ to ensure expected buffer states before and after loading or saving."

(add-hook 'easysession-before-save-hook
#'(lambda ()
(unless (get-file-buffer test-easysession--file-buffer1-path)
(error "Before-save: Buffer 1 should be open"))
(setq test-easysession--before-save-hook-triggered t)))

(add-hook 'easysession-after-save-hook
#'(lambda ()
(unless (get-file-buffer test-easysession--file-buffer1-path)
(error "Before-save: Buffer 1 should be open"))
(setq test-easysession--after-save-hook-triggered t))))

(defun test-easysession--switch-session ()
Expand Down Expand Up @@ -259,7 +259,7 @@ storing them in respective variables for later use."
"Test: `easysession--get-all-names'."
(interactive)
(unless (equal (easysession--get-all-names) '("main" "test"))
(error "the easysession--get-all-names failed")))
(error "The easysession--get-all-names failed")))

(defun test-easysession ()
"Test easysession."
Expand Down

0 comments on commit 8923540

Please sign in to comment.