File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import Control.Applicative.Combinators
30
30
import Control.Concurrent.Async (async , cancel , wait )
31
31
import Control.Concurrent.Extra
32
32
import Control.Exception.Base
33
- import Control.Monad (unless )
33
+ import Control.Monad (unless , void )
34
34
import Control.Monad.IO.Class
35
35
import Data.Aeson (Value (Null ), toJSON )
36
36
import Data.ByteString.Lazy (ByteString )
@@ -95,6 +95,7 @@ goldenWithHaskellDoc plugin title testDataDir path desc ext act =
95
95
$ TL. encodeUtf8 . TL. fromStrict
96
96
<$> do
97
97
doc <- openDoc (path <.> ext) " haskell"
98
+ void waitForBuildQueue
98
99
act doc
99
100
documentContents doc
100
101
@@ -114,6 +115,7 @@ goldenWithHaskellDocFormatter plugin formatter title testDataDir path desc ext a
114
115
$ TL. encodeUtf8 . TL. fromStrict
115
116
<$> do
116
117
doc <- openDoc (path <.> ext) " haskell"
118
+ void waitForBuildQueue
117
119
act doc
118
120
documentContents doc
119
121
You can’t perform that action at this time.
0 commit comments