From: Luke Lau Date: Mon, 25 May 2020 12:15:29 +0000 (+0100) Subject: Update doc to show where to generate a capture file for replay X-Git-Tag: 0.11.0.2~6 X-Git-Url: https://git.lukelau.me/?p=lsp-test.git;a=commitdiff_plain;h=4ade7ffa7ba14d0087121bc8c4255e130e343dfb Update doc to show where to generate a capture file for replay --- diff --git a/src/Language/Haskell/LSP/Test/Replay.hs b/src/Language/Haskell/LSP/Test/Replay.hs index 861d6f7..45de159 100644 --- a/src/Language/Haskell/LSP/Test/Replay.hs +++ b/src/Language/Haskell/LSP/Test/Replay.hs @@ -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 ()