emacs/test/lisp/eshell
Jim Porter 7b0f24ab1f Fix behavior of 'eshell-hist-ignoredups' when set to 'erase'
* lisp/eshell/em-hist.el (eshell-add-input-to-history): Refactor to
use 'pcase' and correct the logic for the 'erase' case.

* test/lisp/eshell/em-hist-tests.el: Require our test helpers.
(eshell-write-readonly-history): Rename to...
(em-hist-test/write-readonly-history): ... this.
(em-hist-test/add-to-history/allow-dups)
(em-hist-test/add-to-history/no-consecutive-dups)
(em-hist-test/add-to-history/erase-dups): New tests (bug#63360).
2023-08-23 18:27:45 -07:00
..
em-alias-tests.el
em-basic-tests.el
em-cmpl-tests.el
em-dirs-tests.el
em-extpipe-tests.el ; Fix Eshell tests 2023-08-14 09:20:34 -07:00
em-glob-tests.el Allow splicing Eshell globs in-place 2023-08-21 11:42:46 -07:00
em-hist-tests.el Fix behavior of 'eshell-hist-ignoredups' when set to 'erase' 2023-08-23 18:27:45 -07:00
em-ls-tests.el
em-pred-tests.el
em-prompt-tests.el
em-script-tests.el
em-tramp-tests.el
em-unix-tests.el Add 'compile' builtin command for Eshell 2023-08-16 10:01:49 -07:00
esh-arg-tests.el
esh-cmd-tests.el
esh-ext-tests.el
esh-io-tests.el Use generics to define Eshell output targets 2023-08-21 11:43:24 -07:00
esh-opt-tests.el
esh-proc-tests.el
esh-util-tests.el
esh-var-tests.el Support 'comint-pager' in Eshell 2023-08-23 16:46:25 -07:00
eshell-tests-helpers.el
eshell-tests-unload.el
eshell-tests.el ; Fix Eshell tests 2023-08-14 09:20:34 -07:00