Skip to content

Commit

Permalink
Drop update config test
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Feb 13, 2021
1 parent b2f52fa commit 468ef66
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ghcide/test/exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4762,12 +4762,7 @@ asyncTests = testGroup "async"

clientSettingsTest :: TestTree
clientSettingsTest = testGroup "client settings handling"
[
testSession "ghcide does not support update config" $ do
sendNotification WorkspaceDidChangeConfiguration (DidChangeConfigurationParams (toJSON ("" :: String)))
logNot <- skipManyTill anyMessage loggingNotification
isMessagePresent "Updating Not supported" [getLogMessage logNot]
, testSession "ghcide restarts shake session on config changes" $ do
[ testSession "ghcide restarts shake session on config changes" $ do
void $ skipManyTill anyMessage $ message @RegisterCapabilityRequest
sendNotification WorkspaceDidChangeConfiguration (DidChangeConfigurationParams (toJSON ("" :: String)))
nots <- skipManyTill anyMessage $ count 3 loggingNotification
Expand Down

0 comments on commit 468ef66

Please sign in to comment.