Skip to content

Commit d6dd44c

Browse files
committed
check 3rd method
1 parent 3b8ce46 commit d6dd44c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

test/integration-tests.el

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,17 @@
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 )))
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 )))
7373
;; (it "provides completion"
7474
;; (with-current-buffer (eglot-fsharp--find-file-noselect "test/Test1/FileTwo.fs")
7575
;; (expect (plist-get (eglot--capabilities (eglot--current-server-or-lose)) :completionProvider) :not :to-be nil)))

0 commit comments

Comments
 (0)