We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb50012 commit d74ade7Copy full SHA for d74ade7
test/functional/FunctionalBadProject.hs
@@ -4,6 +4,7 @@ module FunctionalBadProject (tests) where
4
5
import Control.Lens
6
import qualified Data.Text as T
7
+import Debug.Trace (traceIO)
8
import qualified Language.LSP.Protocol.Lens as L
9
import Test.Hls
10
import Test.Hls.Command
@@ -23,6 +24,8 @@ tests = testGroup "behaviour on malformed projects"
23
24
[diag] <- waitForDiagnosticsFrom doc
25
liftIO $ assertBool "missing module name" $
26
"Other" `T.isInfixOf` (diag ^. L.message)
27
+ -- liftIO $ traceIO $ show diag
28
+ liftIO $ traceIO $ show $ diag ^. L.message
29
liftIO $ assertBool "hie-bios message" $
30
"Cabal" `T.isInfixOf` (diag ^. L.message)
31
]
0 commit comments