Skip to content

Commit

Permalink
Add a couple test cases for lisp
Browse files Browse the repository at this point in the history
  • Loading branch information
akreisher committed Jul 1, 2024
1 parent 905f507 commit 5ee0b3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eshell-syntax-highlighting-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@
(esht-test "echo $(message \"hello world\")"))

(ert-deftest esht-test-lisp ()
(esht-test "(use-package eshell-syntax-highlighting :ensure t)"))
(esht-test "(use-package eshell-syntax-highlighting :ensure t)")
(esht-test "ls && (defun my-function () (message \"hello\")); echo 'hello'")
(esht-test "echo (message \"hello\")"))

(ert-deftest esht-test-for-loop ()
(esht-test "for i in #'(1 2 3) {echo \"i: $i\"}"))
Expand Down

0 comments on commit 5ee0b3d

Please sign in to comment.