File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 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)
You can’t perform that action at this time.
0 commit comments