Skip to content

Commit 2082f69

Browse files
committed
check 4th method
1 parent d6dd44c commit 2082f69

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

test/integration-tests.el

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,20 @@
5959
(it "is enabled on F# Files"
6060
(with-current-buffer (eglot-fsharp--find-file-noselect "test/Test1/FileTwo.fs")
6161
(expect (type-of (eglot--current-server-or-lose)) :to-be 'eglot-fsautocomplete)))
62-
(it "shows flymake errors"
63-
(with-current-buffer (eglot-fsharp--find-file-noselect "test/Test1/Error.fs")
64-
(flymake-mode t)
65-
(flymake-start)
66-
(eglot-fsharp--sniff-diagnostics "test/Test1/Error.fs")
67-
(goto-char (point-min))
68-
(search-forward "nonexisting")
69-
(insert "x")
70-
(eglot--signal-textDocument/didChange)
71-
(flymake-goto-next-error 1 '() t)
72-
(expect (face-at-point) :to-be 'flymake-error )))
73-
;; (it "provides completion"
74-
;; (with-current-buffer (eglot-fsharp--find-file-noselect "test/Test1/FileTwo.fs")
75-
;; (expect (plist-get (eglot--capabilities (eglot--current-server-or-lose)) :completionProvider) :not :to-be nil)))
62+
;; (it "shows flymake errors"
63+
;; (with-current-buffer (eglot-fsharp--find-file-noselect "test/Test1/Error.fs")
64+
;; (flymake-mode t)
65+
;; (flymake-start)
66+
;; (eglot-fsharp--sniff-diagnostics "test/Test1/Error.fs")
67+
;; (goto-char (point-min))
68+
;; (search-forward "nonexisting")
69+
;; (insert "x")
70+
;; (eglot--signal-textDocument/didChange)
71+
;; (flymake-goto-next-error 1 '() t)
72+
;; (expect (face-at-point) :to-be 'flymake-error )))
73+
(it "provides completion"
74+
(with-current-buffer (eglot-fsharp--find-file-noselect "test/Test1/FileTwo.fs")
75+
(expect (plist-get (eglot--capabilities (eglot--current-server-or-lose)) :completionProvider) :not :to-be nil)))
7676
;; (it "completes function in other modules"
7777
;; (with-current-buffer (eglot-fsharp--find-file-noselect "test/Test1/Program.fs")
7878
;; (search-forward "X.func")

0 commit comments

Comments
 (0)