davidshepherd7 / terminal-here

An Emacs package to open an external terminal emulator in the current directory
GNU General Public License v3.0
73 stars 12 forks source link

Fix tests: Mock executable-find for kgx/gnome-terminal respectively #41

Closed juergenhoetzel closed 8 months ago

juergenhoetzel commented 8 months ago

On my system linux-default-command-gnome-de fails with:

Test linux-default-command-gnome-de condition:
    (ert-test-failed
     ((should
       (equal
    (terminal-here--get-terminal-command "adir")
    '("gnome-terminal")))
      :form
      (equal
       ("kgx")
       ("gnome-terminal"))
      :value nil :explanation
      (list-elt 0
        (arrays-of-different-length 3 14 "kgx" "gnome-terminal" first-mismatch-at 0))))
davidshepherd7 commented 8 months ago

Thanks!