[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 1cd278b: Add a couple more shell-tests-split-string tests
From: |
Lars Ingebrigtsen |
Subject: |
master 1cd278b: Add a couple more shell-tests-split-string tests |
Date: |
Thu, 15 Jul 2021 19:43:01 -0400 (EDT) |
branch: master
commit 1cd278bfcd7970ebe7f00ec5bd692ecea031ec6d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Add a couple more shell-tests-split-string tests
---
test/lisp/shell-tests.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/lisp/shell-tests.el b/test/lisp/shell-tests.el
index c414708..223a185 100644
--- a/test/lisp/shell-tests.el
+++ b/test/lisp/shell-tests.el
@@ -54,6 +54,10 @@
'("ls" "/tmp/foo bar")))
(should (equal (split-string-shell-command "ls /tmp/'foo bar'")
'("ls" "/tmp/foo bar")))
+ (should (equal (split-string-shell-command "ls /tmp/'foo\"bar'")
+ '("ls" "/tmp/foo\"bar")))
+ (should (equal (split-string-shell-command "ls /tmp/\"foo''bar\"")
+ '("ls" "/tmp/foo''bar")))
(should (equal (split-string-shell-command "ls /tmp/'foo\\ bar'")
'("ls" "/tmp/foo\\ bar")))
(unless (memq system-type '(windows-nt ms-dos))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 1cd278b: Add a couple more shell-tests-split-string tests,
Lars Ingebrigtsen <=