aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2018-02-09 11:12:48 -0800
committerGlenn Morris2018-02-09 11:12:48 -0800
commit875cb835f00260d58c536b3a3f7c0343fd5f28dc (patch)
tree4f59af87328e8d4d69667b3b35c42f795e7d3d29 /test
parent05e8b4392be7fb368dcf4e4a19f75f94b323028d (diff)
parent0276743672672ce0caec7861741293a4ae11cb52 (diff)
downloademacs-875cb835f00260d58c536b3a3f7c0343fd5f28dc.tar.gz
emacs-875cb835f00260d58c536b3a3f7c0343fd5f28dc.zip
Merge from origin/emacs-26
0276743 (origin/emacs-26) Doc string fix in latin-alt.el c9269af Minor improvements in package.texi 898a3e4 Minor improvement in Emacs user manual 8f7d718 * doc/lispref/anti.texi (Antinews): Replace 25.2 with 25.3. 989d0af Improve documentation of mini-window resizing 923e415 More changes in the Emacs manual 565adf2 Clarify that text-quoting-style doesn't affect *Info* (Bug#24... 2dd273b Mention that shell quoting of % on w32 may fail (Bug#19350) 19fa6d5 Fix --no-build-details for w32 and macOS 979944c * doc/lispref/anti.texi (Antinews): Add some more antinews. c2727e3 Fix crashes when run with --no-build-details dc08490 More changes for the manual 04c5bd5 Doc fixes for process functions (Bug#30349) e209034 Fix shr and CSS 4 color maps 5fe8192 Yet another round of improvements in the manual Conflicts: doc/emacs/files.texi test/lisp/subr-tests.el
Diffstat (limited to 'test')
-rw-r--r--test/lisp/subr-tests.el17
-rw-r--r--test/lisp/textmodes/css-mode-tests.el2
2 files changed, 18 insertions, 1 deletions
diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el
index d0b3127f71b..52b61d9fb97 100644
--- a/test/lisp/subr-tests.el
+++ b/test/lisp/subr-tests.el
@@ -325,5 +325,22 @@ cf. Bug#25477."
325 (should (equal (butlast (new-list-fn)) 325 (should (equal (butlast (new-list-fn))
326 (assoc-delete-all "foo" (new-list-fn)))))) 326 (assoc-delete-all "foo" (new-list-fn))))))
327 327
328(ert-deftest shell-quote-argument-%-on-w32 ()
329 "Quoting of `%' in w32 shells isn't perfect.
330See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19350."
331 :expected-result :failed
332 (skip-unless (and (fboundp 'w32-shell-dos-semantics)
333 (w32-shell-dos-semantics)))
334 (let ((process-environment (append '("ca^=with-caret"
335 "ca=without-caret")
336 process-environment)))
337 ;; It actually results in
338 ;; without-caret with-caret
339 (should (equal (shell-command-to-string
340 (format "echo %s %s"
341 "%ca%"
342 (shell-quote-argument "%ca%")))
343 "without-caret %ca%"))))
344
328(provide 'subr-tests) 345(provide 'subr-tests)
329;;; subr-tests.el ends here 346;;; subr-tests.el ends here
diff --git a/test/lisp/textmodes/css-mode-tests.el b/test/lisp/textmodes/css-mode-tests.el
index a8ce9944169..b0283bfa455 100644
--- a/test/lisp/textmodes/css-mode-tests.el
+++ b/test/lisp/textmodes/css-mode-tests.el
@@ -58,7 +58,7 @@
58 58
59 ;; Check that the `color' property doesn't cause infinite recursion 59 ;; Check that the `color' property doesn't cause infinite recursion
60 ;; because it refers to the value class of the same name. 60 ;; because it refers to the value class of the same name.
61 (should (= (length (css--property-values "color")) 152))) 61 (should (= (length (css--property-values "color")) 154)))
62 62
63(ert-deftest css-test-property-value-cache () 63(ert-deftest css-test-property-value-cache ()
64 "Test that `css--property-value-cache' is in use." 64 "Test that `css--property-value-cache' is in use."