emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/urgrep 69e45bad3c 069/115: Fix unit tests for git-grep


From: ELPA Syncer
Subject: [elpa] externals/urgrep 69e45bad3c 069/115: Fix unit tests for git-grep
Date: Wed, 10 May 2023 03:00:45 -0400 (EDT)

branch: externals/urgrep
commit 69e45bad3c4a78fa90385469fc5a4b33a90872f5
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>

    Fix unit tests for git-grep
---
 urgrep-tests.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/urgrep-tests.el b/urgrep-tests.el
index 75f2d8c535..e8e1ac17f4 100644
--- a/urgrep-tests.el
+++ b/urgrep-tests.el
@@ -325,8 +325,8 @@
 (ert-deftest urgrep-tests-command-git-grep ()
   (let ((tool (assq 'git-grep urgrep-tools))
         (common-args '("git" "--no-pager" "-c" "color.grep.filename=magenta"
-                       "-c" "color.grep.match=bold red" "grep" "--color" "-n"
-                       "--recurse-submodules"))
+                       "-c" "color.grep.match=bold red" "grep" "--color"
+                       "--no-index" "--exclude-standard" "-n"))
         (group-args '("--heading" "--break")))
     ;; String/case
     (urgrep-test--check-command
@@ -389,7 +389,8 @@
     (urgrep-test--check-command
      (urgrep-command "foo" :tool tool :color nil)
      (append
-      '("git" "--no-pager" "grep" "--no-color" "-n" "--recurse-submodules")
+      '("git" "--no-pager" "grep" "--no-color" "--no-index"
+        "--exclude-standard" "-n")
       group-args
       '("-i" "-F" "-e" "foo" "--")))))
 



reply via email to

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