Skip to content

Commit fd28518

Browse files
committed
Put test id in the logs
1 parent 20746cf commit fd28518

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/functional/PluginSpec.hs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Control.Monad.IO.Class
1111
-- import Data.Default
1212
-- import qualified Data.HashMap.Strict as HM
1313
-- import Data.Maybe
14-
-- import qualified Data.Text as T
14+
import qualified Data.Text as T
1515
-- import Language.Haskell.LSP.Test
1616
import Language.Haskell.LSP.Test as Test
1717
import Language.Haskell.LSP.Types
@@ -31,6 +31,9 @@ spec = do
3131
describe "composes code actions" $
3232
it "provides 3.8 code actions" $ runSession hieCommandExamplePlugin fullCaps "test/testdata" $ do
3333

34+
-- sendNotification (CustomClientMethod "$/progress") (T.pack "provides 3.8 code actions")
35+
sendNotification (CustomClientMethod "$/testid") (T.pack "provides 3.8 code actions")
36+
3437
doc <- openDoc "Format.hs" "haskell"
3538
_diags@(diag1:_) <- waitForDiagnostics
3639

0 commit comments

Comments
 (0)