From: Basil L. Contovounesios Date: Sun, 9 Apr 2023 22:32:14 +0000 (+0100) Subject: Avoid Git project in eglot-test-eclipse-connect X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6674ac17eb42a5b0b7405770771b07253fd75bf3;p=emacs.git Avoid Git project in eglot-test-eclipse-connect * test/lisp/progmodes/eglot-tests.el (eglot-test-eclipse-connect): Avoid creating a Git project, which subsequently confuses project-files (bug#62741). --- diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el index 62e04539ebf..041aafabe8e 100644 --- a/test/lisp/progmodes/eglot-tests.el +++ b/test/lisp/progmodes/eglot-tests.el @@ -325,8 +325,7 @@ then restored." "Connect to eclipse.jdt.ls server." (skip-unless (executable-find "jdtls")) (eglot--with-fixture - '(("project/src/main/java/foo" . (("Main.java" . ""))) - ("project/.git/" . nil)) + '(("project/src/main/java/foo" . (("Main.java" . "")))) (with-current-buffer (eglot--find-file-noselect "project/src/main/java/foo/Main.java") (eglot--sniffing (:server-notifications s-notifs)