emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3a769e1: Fix incompatibility with TCC in test for b


From: Juanma Barranquero
Subject: [Emacs-diffs] master 3a769e1: Fix incompatibility with TCC in test for bug#18745
Date: Sun, 01 Nov 2015 18:27:47 +0000

branch: master
commit 3a769e173ebaaff768497dae9c430ac03aedeb94
Author: Juanma Barranquero <address@hidden>
Commit: Juanma Barranquero <address@hidden>

    Fix incompatibility with TCC in test for bug#18745
    
    * test/automated/process-tests.el (process-test-quoted-batfile):
    Remove spaces unrelated to the bug being tested.
---
 test/automated/process-tests.el |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/automated/process-tests.el b/test/automated/process-tests.el
index 1dab615..58a2de7 100644
--- a/test/automated/process-tests.el
+++ b/test/automated/process-tests.el
@@ -61,15 +61,15 @@
             ;; to force quoting.
             (setq batfile (make-temp-file "echo args" nil ".bat"))
             (with-temp-file batfile
-              (insert "@echo arg1 = %1, arg2 = %2\n"))
+              (insert "@echo arg1=%1, arg2=%2\n"))
             (with-temp-buffer
               (call-process batfile nil '(t t) t "x &y")
-              (should (string= (buffer-string) "arg1 = \"x &y\", arg2 = \n")))
+              (should (string= (buffer-string) "arg1=\"x &y\", arg2=\n")))
             (with-temp-buffer
               (call-process-shell-command
                (mapconcat #'shell-quote-argument (list batfile "x &y") " ")
                nil '(t t) t)
-              (should (string= (buffer-string) "arg1 = \"x &y\", arg2 = \n"))))
+              (should (string= (buffer-string) "arg1=\"x &y\", arg2=\n"))))
         (when batfile (delete-file batfile))))))
 
 (ert-deftest process-test-stderr-buffer ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]