Update doc to show where to generate a capture file for replay
authorLuke Lau <luke_lau@icloud.com>
Mon, 25 May 2020 12:15:29 +0000 (13:15 +0100)
committerLuke Lau <luke_lau@icloud.com>
Mon, 25 May 2020 12:15:29 +0000 (13:15 +0100)
src/Language/Haskell/LSP/Test/Replay.hs

index 861d6f770dc503208bd05cef6fe03a5500cc31dc..45de1593305c6611842af677983e2555b5eebfef 100644 (file)
@@ -34,6 +34,8 @@ import           Language.Haskell.LSP.Test.Session
 -- makes sure it matches up with an expected response.
 -- The session directory should have a captured session file in it
 -- named "session.log".
+-- You can get these capture files from 'Language.Haskell.LSP.resCaptureFile' in
+-- haskell-lsp.
 replaySession :: String -- ^ The command to run the server.
               -> FilePath -- ^ The recorded session directory.
               -> IO ()