File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -464,17 +464,17 @@ edit mode."
464464(ert-deftest deadgrep--arguments ()
465465 (should
466466 (equal (deadgrep--arguments " foo" 'regexp 'smart nil )
467- '(" --no-config" " --color=ansi" " --line-number" " --no-heading" " --no-column" " --with-filename" " --smart-case" " --" " foo" " ." )))
467+ '(" --no-config" " --color=ansi" " --line-number" " --no-heading" " --no-column" " --with-filename" " --smart-case" " --hidden " " --glob=!/.git " " -- " " foo" " ." )))
468468
469469 (let ((deadgrep--file-type '(type . " elisp" )))
470470 (should
471471 (equal (deadgrep--arguments " foo" 'string 'sensitive '(1 . 0 ))
472- '(" --no-config" " --color=ansi" " --line-number" " --no-heading" " --no-column" " --with-filename" " --fixed-strings" " --case-sensitive" " --type=elisp" " --before-context=1" " --after-context=0" " --" " foo" " ." ))))
472+ '(" --no-config" " --color=ansi" " --line-number" " --no-heading" " --no-column" " --with-filename" " --fixed-strings" " --case-sensitive" " --type=elisp" " --before-context=1" " --after-context=0" " --hidden " " --glob=!/.git " " -- " " foo" " ." ))))
473473
474474 (let ((deadgrep--file-type '(glob . " *.el" )))
475475 (should
476476 (equal (deadgrep--arguments " foo" 'words 'ignore '(3 . 2 ))
477- '(" --no-config" " --color=ansi" " --line-number" " --no-heading" " --no-column" " --with-filename" " --fixed-strings" " --word-regexp" " --ignore-case" " --glob=*.el" " --before-context=3" " --after-context=2" " --" " foo" " ." )))))
477+ '(" --no-config" " --color=ansi" " --line-number" " --no-heading" " --no-column" " --with-filename" " --fixed-strings" " --word-regexp" " --ignore-case" " --glob=*.el" " --before-context=3" " --after-context=2" " --hidden " " --glob=!/.git " " -- " " foo" " ." )))))
478478
479479(ert-deftest deadgrep--arguments-error-cases ()
480480 (should-error
You can’t perform that action at this time.
0 commit comments