Skip to content

Commit ba9a761

Browse files
author
kokobd
committed
fix more tests in ghcide
1 parent c763e79 commit ba9a761

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

ghcide/ghcide.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,6 @@ test-suite ghcide-tests
422422
QuickCheck,
423423
quickcheck-instances,
424424
random,
425-
rope-utf16-splay,
426425
regex-tdfa ^>= 1.3.1,
427426
safe,
428427
safe-exceptions,

ghcide/src/Development/IDE/Core/Shake.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,8 @@ shakeRestart recorder IdeState{..} vfs reason acts =
706706
backlog <- readTVarIO $ dirtyKeys shakeExtras
707707
queue <- atomicallyNamed "actionQueue - peek" $ peekInProgress $ actionQueue shakeExtras
708708

709-
log Debug $ LogBuildSessionRestart reason queue backlog stopTime res
709+
-- this log is required by tests
710+
log Info $ LogBuildSessionRestart reason queue backlog stopTime res
710711
)
711712
-- It is crucial to be masked here, otherwise we can get killed
712713
-- between spawning the new thread and updating shakeSession.

ghcide/test/exe/Main.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6379,7 +6379,8 @@ clientSettingsTest = testGroup "client settings handling"
63796379
void $ skipManyTill anyMessage $ message SClientRegisterCapability
63806380
void $ createDoc "A.hs" "haskell" "module A where"
63816381
waitForProgressDone
6382-
sendNotification SWorkspaceDidChangeConfiguration (DidChangeConfigurationParams (toJSON ("" :: String)))
6382+
sendNotification SWorkspaceDidChangeConfiguration
6383+
(DidChangeConfigurationParams (toJSON (mempty :: A.Object)))
63836384
skipManyTill anyMessage restartingBuildSession
63846385

63856386
]

0 commit comments

Comments
 (0)