Skip to content

Commit 907faef

Browse files
committed
check 6th method
1 parent 408a5ff commit 907faef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/integration-tests.el

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@
7979
(delete-char -3)
8080
(completion-at-point)
8181
(expect (looking-back "X\\.func") :to-be t)))
82-
;; (it "finds definition in pervasives"
83-
;; (with-current-buffer (eglot-fsharp--find-file-noselect "test/Test1/Program.fs")
84-
;; (search-forward "printfn")
85-
;; (expect (current-word) :to-equal "printfn") ;sanity check
86-
;; (call-interactively #'xref-find-definitions)
87-
;; (expect (file-name-nondirectory (buffer-file-name)) :to-equal "fslib-extra-pervasives.fs")))
82+
(it "finds definition in pervasives"
83+
(with-current-buffer (eglot-fsharp--find-file-noselect "test/Test1/Program.fs")
84+
(search-forward "printfn")
85+
(expect (current-word) :to-equal "printfn") ;sanity check
86+
(call-interactively #'xref-find-definitions)
87+
(expect (file-name-nondirectory (buffer-file-name)) :to-equal "fslib-extra-pervasives.fs")))
8888
;; (it "finds definitions in other files of Project"
8989
;; (with-current-buffer (eglot-fsharp--find-file-noselect "test/Test1/Program.fs")
9090
;; (goto-char 150)

0 commit comments

Comments
 (0)