File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -370,8 +370,8 @@ main = hspec $ around withDummyServer $ do
370370 liftIO $ do
371371 case regMethod `mEqClient` SWorkspaceDidChangeWatchedFiles of
372372 Just (Right HRefl ) ->
373- regOpts `shouldBe` (DidChangeWatchedFilesRegistrationOptions $ List
374- [ FileSystemWatcher " *.watch" (Just (WatchKind True True True )) ])
373+ regOpts `shouldBe` (Just ( DidChangeWatchedFilesRegistrationOptions $ List
374+ [ FileSystemWatcher " *.watch" (Just (WatchKind True True True )) ]) )
375375 _ -> expectationFailure " Registration wasn't on workspace/didChangeWatchedFiles"
376376
377377 -- now unregister it by sending a specific createDoc
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ spec = describe "server capabilities" $ do
3434 Just registrationParams = decode input :: Maybe RegistrationParams
3535 in registrationParams ^. registrations `shouldBe`
3636 List [SomeRegistration $ Registration " 4a56f5ca-7188-4f4c-a366-652d6f9d63aa"
37- SWorkspaceDidChangeConfiguration Empty ]
37+ SWorkspaceDidChangeConfiguration ( Just Empty ) ]
3838 where
3939 documentFilters = List [DocumentFilter (Just " haskell" ) Nothing Nothing ]
4040 documentFiltersJson = " [{\" language\" : \" haskell\" }]"
You can’t perform that action at this time.
0 commit comments