diff options
| author | Stefan Kangas | 2022-03-02 06:33:19 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2022-03-02 06:33:19 +0100 |
| commit | 6d78321ce824ede11ab04d976d46487bcd191cab (patch) | |
| tree | e1f511f01c224bea7b70d1f4db52ccee5331b34a /test | |
| parent | 2b130bd944a36510043750286106a16a1e2ad7c4 (diff) | |
| parent | 9dadcbe4297fdd52e2664e99fe693ba35a51eb57 (diff) | |
| download | emacs-6d78321ce824ede11ab04d976d46487bcd191cab.tar.gz emacs-6d78321ce824ede11ab04d976d46487bcd191cab.zip | |
Merge from origin/emacs-28
9dadcbe429 ; * doc/misc/eshell.texi (Dollars Expansion): Fix markup.
2c3d1b6bf4 Improve/correct documentation about Eshell variable expansion
9e257aecc9 Partially revert b03f74e0f2a578b1580e8b1c368665850ee7f808
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/eshell/eshell-tests.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/eshell/eshell-tests.el b/test/lisp/eshell/eshell-tests.el index d6ee1bdb175..eff4edd62c7 100644 --- a/test/lisp/eshell/eshell-tests.el +++ b/test/lisp/eshell/eshell-tests.el | |||
| @@ -93,6 +93,10 @@ e.g. \"{(+ 1 2)} 3\" => 3" | |||
| 93 | "Interpolate Lisp form evaluation" | 93 | "Interpolate Lisp form evaluation" |
| 94 | (should (equal (eshell-test-command-result "+ $(+ 1 2) 3") 6))) | 94 | (should (equal (eshell-test-command-result "+ $(+ 1 2) 3") 6))) |
| 95 | 95 | ||
| 96 | (ert-deftest eshell-test/interp-temp-cmd () | ||
| 97 | "Interpolate command result redirected to temp file" | ||
| 98 | (should (equal (eshell-test-command-result "cat $<echo hi>") "hi"))) | ||
| 99 | |||
| 96 | (ert-deftest eshell-test/interp-concat () | 100 | (ert-deftest eshell-test/interp-concat () |
| 97 | "Interpolate and concat command" | 101 | "Interpolate and concat command" |
| 98 | (should (equal (eshell-test-command-result "+ ${+ 1 2}3 3") 36))) | 102 | (should (equal (eshell-test-command-result "+ ${+ 1 2}3 3") 36))) |