Skip to content

Commit

Permalink
Fix test-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Unisay committed Nov 30, 2023
1 parent 5727873 commit 58b2a3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/test-utils/test/Test/Hspec/ExtraSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ import Control.Monad.IO.Unlift
import Data.Bifunctor
( first
)
import Data.Char
( isSpace
)
import Data.Function
( on
)
Expand Down Expand Up @@ -193,6 +196,8 @@ itSpec = describe "Extra.it" $ before_ (setEnv "TESTS_RETRY_FAILED" "y") $ do
. filter (not . ("Finished in" `isPrefixOf`))
. filter (not . ("Randomized" `isPrefixOf`))
. filter (not . ("retry:" `isPrefixOf`))
. filter (not . ("To rerun use:" `isPrefixOf`))
. map (dropWhile isSpace)
. lines

-- | Returns an IO action that is different every time you run it!,
Expand Down

0 comments on commit 58b2a3a

Please sign in to comment.