969.51 s
[opt-env-conf-test] ppIndent $ do
969.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:566:21-79
969.51 s
[opt-env-conf-test] @@ -563,7 +563,6 @@
969.51 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
969.51 s
[opt-env-conf-test] ppIndent $ go p'
969.51 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
969.51 s
[opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
969.51 s
[opt-env-conf-test] ppIndent $ go p'
969.51 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
969.51 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
969.51 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Doc.hs:332:22-38
969.51 s
[opt-env-conf-test] @@ -329,7 +329,7 @@
969.51 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
969.51 s
[opt-env-conf-test] renderLongOptDocs optDocs
969.51 s
[opt-env-conf-test] ]
969.51 s
[opt-env-conf-test] - | not (nullDocs optDocs)
969.51 s
[opt-env-conf-test] + | not (not nullDocs optDocs)
969.51 s
[opt-env-conf-test] ],
969.51 s
[opt-env-conf-test] concat
969.51 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
969.51 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Doc.hs:323:15-16
969.51 s
[opt-env-conf-test] @@ -320,11 +320,10 @@
969.51 s
[opt-env-conf-test] renderSetDocs docs
969.51 s
[opt-env-conf-test] ],
969.52 s
[opt-env-conf-test] concat
969.52 s
[opt-env-conf-test] [ [ [".Sh ", "COMMANDS"],
969.52 s
[opt-env-conf-test] renderCommandDocs docs
969.52 s
[opt-env-conf-test] ]
969.52 s
[opt-env-conf-test] - | not (null commandDocs)
969.52 s
[opt-env-conf-test] ],
969.52 s
[opt-env-conf-test] concat
969.52 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
969.52 s
[opt-env-conf-test] renderLongOptDocs optDocs
969.52 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:326:22-38
969.52 s
[opt-env-conf-test] @@ -323,7 +323,7 @@
969.52 s
[opt-env-conf-test] [ [ [".Sh ", "COMMANDS"],
969.52 s
[opt-env-conf-test] renderCommandDocs docs
969.52 s
[opt-env-conf-test] ]
969.52 s
[opt-env-conf-test] - | not (null commandDocs)
969.52 s
[opt-env-conf-test] + | not (True)
969.52 s
[opt-env-conf-test] ],
969.52 s
[opt-env-conf-test] concat
969.52 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
969.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:569:21-72
969.52 s
[opt-env-conf-test] @@ -566,7 +566,6 @@
969.52 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
969.52 s
[opt-env-conf-test] ppIndent $ go p'
969.52 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
969.52 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
969.52 s
[opt-env-conf-test] ppIndent $ do
969.52 s
[opt-env-conf-test] mNewConfig <- go pc
969.52 s
[opt-env-conf-test] mRes <- go pa
969.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:317:15-35
969.52 s
[opt-env-conf-test] @@ -314,7 +314,6 @@
969.52 s
[opt-env-conf-test] [".Nd ", chunk $ T.pack progDesc],
969.52 s
[opt-env-conf-test] [".Sh ", "VERSION"],
969.52 s
[opt-env-conf-test] [versionChunk version],
969.52 s
[opt-env-conf-test] - [".Sh ", "SYNOPSIS"],
969.52 s
[opt-env-conf-test] renderShortOptDocs progname $ docsToOptDocs docs',
969.52 s
[opt-env-conf-test] [".Sh ", "SETTINGS"],
969.52 s
[opt-env-conf-test] renderSetDocs docs
969.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:594:32-47
969.52 s
[opt-env-conf-test] @@ -591,9 +591,8 @@
969.52 s
[opt-env-conf-test] Just c -> do
969.52 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
969.52 s
[opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
969.52 s
[opt-env-conf-test] pure $ case mRes of
969.52 s
[opt-env-conf-test] - Nothing -> Just (reverse path, commandParserDocs c)
969.52 s
[opt-env-conf-test] Just res -> pure res
969.52 s
[opt-env-conf-test]
969.52 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
969.52 s
[opt-env-conf-test] deriving
969.53 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:553:30-37
969.53 s
[opt-env-conf-test] @@ -550,9 +550,8 @@
969.53 s
[opt-env-conf-test] Just a -> do
969.53 s
[opt-env-conf-test] debug ["Left side succeeded."]
969.53 s
[opt-env-conf-test] pure a
969.53 s
[opt-env-conf-test] Nothing -> do
969.53 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
975.35 s
[opt-env-conf-test] ppIndent $ go p2
975.35 s
[opt-env-conf-test] ParserMany mLoc p' -> do
975.35 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
975.38 s
[opt-env-conf-test] ppIndent $ go p'
975.38 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:568:44-43
975.38 s
[opt-env-conf-test] @@ -565,12 +565,11 @@
975.38 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
975.38 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
975.38 s
[opt-env-conf-test] ppIndent $ go p'
975.38 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
975.38 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
975.38 s
[opt-env-conf-test] ppIndent $ do
975.38 s
[opt-env-conf-test] mNewConfig <- go pc
975.38 s
[opt-env-conf-test] mRes <- go pa
975.38 s
[opt-env-conf-test] pure $ mRes <|> mNewConfig -- Reverse order
975.38 s
[opt-env-conf-test] ParserSetting mLoc _ -> do
975.39 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
975.39 s
[opt-env-conf-test] pure Nothing
975.39 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Doc.hs:332:17-39
975.39 s
[opt-env-conf-test] @@ -329,7 +329,7 @@
975.39 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
975.39 s
[opt-env-conf-test] renderLongOptDocs optDocs
975.39 s
[opt-env-conf-test] ]
975.39 s
[opt-env-conf-test] - | not (nullDocs optDocs)
975.39 s
[opt-env-conf-test] + | not not (nullDocs optDocs)
975.39 s
[opt-env-conf-test] ],
975.39 s
[opt-env-conf-test] concat
975.39 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
975.39 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:323:19-39
975.39 s
[opt-env-conf-test] @@ -320,7 +320,6 @@
975.39 s
[opt-env-conf-test] renderSetDocs docs
975.39 s
[opt-env-conf-test] ],
975.39 s
[opt-env-conf-test] concat
975.39 s
[opt-env-conf-test] - [ [ [".Sh ", "COMMANDS"],
975.39 s
[opt-env-conf-test] renderCommandDocs docs
975.39 s
[opt-env-conf-test] ]
975.39 s
[opt-env-conf-test] | not (null commandDocs)
975.39 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:566:21-79
975.39 s
[opt-env-conf-test] @@ -563,7 +563,6 @@
975.39 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
975.39 s
[opt-env-conf-test] ppIndent $ go p'
975.39 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
975.39 s
[opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
975.39 s
[opt-env-conf-test] ppIndent $ go p'
975.39 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
975.39 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
975.39 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:569:21-72
975.39 s
[opt-env-conf-test] @@ -566,7 +566,6 @@
975.39 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
975.39 s
[opt-env-conf-test] ppIndent $ go p'
975.39 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
975.40 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
975.40 s
[opt-env-conf-test] ppIndent $ do
975.40 s
[opt-env-conf-test] mNewConfig <- go pc
975.40 s
[opt-env-conf-test] mRes <- go pa
975.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:582:17-47
975.40 s
[opt-env-conf-test] @@ -579,21 +579,10 @@
975.40 s
[opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
975.40 s
[opt-env-conf-test] ppIndent $ do
975.40 s
[opt-env-conf-test] mS <- ppArg
975.40 s
[opt-env-conf-test] case mS of
975.40 s
[opt-env-conf-test] Nothing -> do
975.40 s
[opt-env-conf-test] debug ["No argument found for choosing a command."]
975.40 s
[opt-env-conf-test] pure Nothing
975.40 s
[opt-env-conf-test] - Just s -> do
975.40 s
[opt-env-conf-test] - case find ((== s) . commandArg) cs of
975.40 s
[opt-env-conf-test] - Nothing -> do
975.40 s
[opt-env-conf-test] - debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
975.40 s
[opt-env-conf-test] - pure Nothing
975.40 s
[opt-env-conf-test] - Just c -> do
975.40 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
975.40 s
[opt-env-conf-test] - mRes <- go' (commandArg c : path) $ commandParser c
975.40 s
[opt-env-conf-test] - pure $ case mRes of
975.40 s
[opt-env-conf-test] - Nothing -> Just (reverse path, commandParserDocs c)
975.40 s
[opt-env-conf-test] - Just res -> pure res
975.40 s
[opt-env-conf-test]
975.40 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
975.40 s
[opt-env-conf-test] deriving
975.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:587:21-47
975.40 s
[opt-env-conf-test] @@ -584,16 +584,10 @@
975.40 s
[opt-env-conf-test] debug ["No argument found for choosing a command."]
975.40 s
[opt-env-conf-test] pure Nothing
975.40 s
[opt-env-conf-test] Just s -> do
975.40 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
975.40 s
[opt-env-conf-test] Nothing -> do
975.40 s
[opt-env-conf-test] debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
975.40 s
[opt-env-conf-test] pure Nothing
975.40 s
[opt-env-conf-test] - Just c -> do
975.40 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
975.40 s
[opt-env-conf-test] - mRes <- go' (commandArg c : path) $ commandParser c
975.40 s
[opt-env-conf-test] - pure $ case mRes of
975.40 s
[opt-env-conf-test] - Nothing -> Just (reverse path, commandParserDocs c)
975.40 s
[opt-env-conf-test] - Just res -> pure res
975.40 s
[opt-env-conf-test]
975.40 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
975.41 s
[opt-env-conf-test] deriving
975.41 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:441:13-14
975.41 s
[opt-env-conf-test] @@ -438,9 +438,7 @@
975.41 s
[opt-env-conf-test] else withHelpDocs docs
975.41 s
[opt-env-conf-test] ],
975.41 s
[opt-env-conf-test] concat
975.41 s
[opt-env-conf-test] - [ [ headerChunks "Available commands",
975.41 s
[opt-env-conf-test] - renderCommandDocsShort docs
975.41 s
[opt-env-conf-test] ]
975.41 s
[opt-env-conf-test] | not (null (docsToCommandDocs docs))
975.41 s
[opt-env-conf-test] ]
975.41 s
[opt-env-conf-test] ]
975.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:582:17-47
975.41 s
[opt-env-conf-test] @@ -579,21 +579,18 @@
975.41 s
[opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
975.41 s
[opt-env-conf-test] ppIndent $ do
975.41 s
[opt-env-conf-test] mS <- ppArg
975.41 s
[opt-env-conf-test] case mS of
975.41 s
[opt-env-conf-test] - Nothing -> do
975.41 s
[opt-env-conf-test] - debug ["No argument found for choosing a command."]
975.41 s
[opt-env-conf-test] - pure Nothing
975.41 s
[opt-env-conf-test] Just s -> do
975.41 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
975.41 s
[opt-env-conf-test] Nothing -> do
975.41 s
[opt-env-conf-test] debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
975.41 s
[opt-env-conf-test] pure Nothing
975.41 s
[opt-env-conf-test] Just c -> do
975.41 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
975.41 s
[opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
975.41 s
[opt-env-conf-test] pure $ case mRes of
975.41 s
[opt-env-conf-test] Nothing -> Just (reverse path, commandParserDocs c)
975.41 s
[opt-env-conf-test] Just res -> pure res
975.41 s
[opt-env-conf-test]
975.41 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
975.41 s
[opt-env-conf-test] deriving
975.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:594:32-47
975.41 s
[opt-env-conf-test] @@ -591,9 +591,8 @@
975.41 s
[opt-env-conf-test] Just c -> do
975.41 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
975.41 s
[opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
975.41 s
[opt-env-conf-test] pure $ case mRes of
975.41 s
[opt-env-conf-test] Nothing -> Just (reverse path, commandParserDocs c)
975.41 s
[opt-env-conf-test] - Just res -> pure res
975.41 s
[opt-env-conf-test]
975.41 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
975.41 s
[opt-env-conf-test] deriving
975.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:587:21-47
975.41 s
[opt-env-conf-test] @@ -584,16 +584,13 @@
975.42 s
[opt-env-conf-test] debug ["No argument found for choosing a command."]
975.42 s
[opt-env-conf-test] pure Nothing
975.42 s
[opt-env-conf-test] Just s -> do
975.42 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
975.42 s
[opt-env-conf-test] - Nothing -> do
975.42 s
[opt-env-conf-test] - debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
975.42 s
[opt-env-conf-test] - pure Nothing
975.42 s
[opt-env-conf-test] Just c -> do
975.42 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
975.42 s
[opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
975.42 s
[opt-env-conf-test] pure $ case mRes of
975.42 s
[opt-env-conf-test] Nothing -> Just (reverse path, commandParserDocs c)
975.42 s
[opt-env-conf-test] Just res -> pure res
975.42 s
[opt-env-conf-test]
975.42 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
975.42 s
[opt-env-conf-test] deriving
975.42 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:535:35-33
975.42 s
[opt-env-conf-test] @@ -532,12 +532,11 @@
975.42 s
[opt-env-conf-test] mf <- go ff
975.42 s
[opt-env-conf-test] ma <- go fa
975.42 s
[opt-env-conf-test] pure $ ma <|> mf -- Reverse order
975.42 s
[opt-env-conf-test] ParserSelect fe ff -> do
975.42 s
[opt-env-conf-test] - debug [syntaxChunk "Select"]
975.42 s
[opt-env-conf-test] ppIndent $ do
975.42 s
[opt-env-conf-test] me <- go fe
975.42 s
[opt-env-conf-test] mf <- go ff
975.42 s
[opt-env-conf-test] pure $ mf <|> me -- Reverse order
975.42 s
[opt-env-conf-test] ParserEmpty mLoc -> do
982.56 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
982.58 s
[opt-env-conf-test] pure Nothing
982.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:323:17-18
982.58 s
[opt-env-conf-test] @@ -320,9 +320,8 @@
982.58 s
[opt-env-conf-test] renderSetDocs docs
982.58 s
[opt-env-conf-test] ],
982.58 s
[opt-env-conf-test] concat
982.58 s
[opt-env-conf-test] - [ [ [".Sh ", "COMMANDS"],
982.58 s
[opt-env-conf-test] renderCommandDocs docs
982.58 s
[opt-env-conf-test] ]
982.58 s
[opt-env-conf-test] | not (null commandDocs)
982.58 s
[opt-env-conf-test] ],
982.58 s
[opt-env-conf-test] concat
982.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:332:17-39
982.58 s
[opt-env-conf-test] @@ -329,7 +329,7 @@
982.58 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
982.58 s
[opt-env-conf-test] renderLongOptDocs optDocs
982.58 s
[opt-env-conf-test] ]
982.58 s
[opt-env-conf-test] - | not (nullDocs optDocs)
982.58 s
[opt-env-conf-test] + | True
982.58 s
[opt-env-conf-test] ],
982.59 s
[opt-env-conf-test] concat
982.59 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
982.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:436:16-32
982.59 s
[opt-env-conf-test] @@ -433,7 +433,7 @@
982.59 s
[opt-env-conf-test] ],
982.59 s
[opt-env-conf-test] [ headerChunks "Available settings",
982.59 s
[opt-env-conf-test] renderSetDocs $
982.59 s
[opt-env-conf-test] - if null commandPath
982.59 s
[opt-env-conf-test] + if False
982.59 s
[opt-env-conf-test] then withHelpAndVersionDocs mVersion docs
982.59 s
[opt-env-conf-test] else withHelpDocs docs
982.59 s
[opt-env-conf-test] ],
982.59 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:569:21-72
982.59 s
[opt-env-conf-test] @@ -566,7 +566,6 @@
982.59 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
982.59 s
[opt-env-conf-test] ppIndent $ go p'
982.59 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
982.59 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
982.59 s
[opt-env-conf-test] ppIndent $ do
982.59 s
[opt-env-conf-test] mNewConfig <- go pc
982.59 s
[opt-env-conf-test] mRes <- go pa
982.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:485:20-25
982.59 s
[opt-env-conf-test] @@ -482,9 +482,8 @@
982.59 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
982.59 s
[opt-env-conf-test] tryReaders rs s = left NE.reverse $ go rs
982.59 s
[opt-env-conf-test] where
982.59 s
[opt-env-conf-test] go (r :| rl) = case runReader r s of
982.59 s
[opt-env-conf-test] - Left err -> go' (err :| []) rl
982.59 s
[opt-env-conf-test] Right a -> Right a
982.59 s
[opt-env-conf-test] go' errs = \case
982.59 s
[opt-env-conf-test] [] -> Left errs
982.59 s
[opt-env-conf-test] (r : rl) -> case runReader r s of
982.59 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:323:17-18
982.59 s
[opt-env-conf-test] @@ -320,9 +320,7 @@
982.59 s
[opt-env-conf-test] renderSetDocs docs
982.59 s
[opt-env-conf-test] ],
982.59 s
[opt-env-conf-test] concat
982.59 s
[opt-env-conf-test] - [ [ [".Sh ", "COMMANDS"],
982.59 s
[opt-env-conf-test] - renderCommandDocs docs
982.59 s
[opt-env-conf-test] ]
982.59 s
[opt-env-conf-test] | not (null commandDocs)
982.59 s
[opt-env-conf-test] ],
982.59 s
[opt-env-conf-test] concat
982.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:485:20-25
982.59 s
[opt-env-conf-test] @@ -482,9 +482,8 @@
982.59 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
982.59 s
[opt-env-conf-test] tryReaders rs s = left NE.reverse $ go rs
982.59 s
[opt-env-conf-test] where
982.59 s
[opt-env-conf-test] go (r :| rl) = case runReader r s of
982.59 s
[opt-env-conf-test] Left err -> go' (err :| []) rl
982.59 s
[opt-env-conf-test] - Right a -> Right a
982.59 s
[opt-env-conf-test] go' errs = \case
982.60 s
[opt-env-conf-test] [] -> Left errs
982.60 s
[opt-env-conf-test] (r : rl) -> case runReader r s of
982.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:463:3-20
982.60 s
[opt-env-conf-test] @@ -460,13 +460,8 @@
982.60 s
[opt-env-conf-test] PP a ->
982.60 s
[opt-env-conf-test] PP a
982.60 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
982.60 s
[opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
982.60 s
[opt-env-conf-test] - Just missings -> do
982.60 s
[opt-env-conf-test] - debug $
982.60 s
[opt-env-conf-test] - "Missing capabilities: "
982.60 s
[opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
982.60 s
[opt-env-conf-test] - ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
982.60 s
[opt-env-conf-test] Nothing -> func
982.60 s
[opt-env-conf-test]
982.60 s
[opt-env-conf-test] data ParseResult a
982.60 s
[opt-env-conf-test] = NotRun
982.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:490:19-27
982.60 s
[opt-env-conf-test] @@ -487,9 +487,8 @@
982.60 s
[opt-env-conf-test] Right a -> Right a
982.60 s
[opt-env-conf-test] go' errs = \case
982.60 s
[opt-env-conf-test] [] -> Left errs
982.60 s
[opt-env-conf-test] (r : rl) -> case runReader r s of
982.60 s
[opt-env-conf-test] Left err -> go' (err <| errs) rl
982.60 s
[opt-env-conf-test] - Right a -> Right a
982.60 s
[opt-env-conf-test]
982.60 s
[opt-env-conf-test] runHelpParser ::
982.60 s
[opt-env-conf-test] -- DebugMode
982.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:579:25-39
982.60 s
[opt-env-conf-test] @@ -576,7 +576,7 @@
982.60 s
[opt-env-conf-test] indent $ concatMap renderSetDocWithoutHeader $ d : sds,
982.60 s
[opt-env-conf-test] [[]]
982.60 s
[opt-env-conf-test] ]
982.60 s
[opt-env-conf-test] - | not isTopLevel
982.60 s
[opt-env-conf-test] + | True
982.60 s
[opt-env-conf-test] ],
982.60 s
[opt-env-conf-test] goOr isTopLevel rest
982.60 s
[opt-env-conf-test] ]
982.60 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:464:22-66
982.60 s
[opt-env-conf-test] @@ -461,11 +461,8 @@
982.60 s
[opt-env-conf-test] PP a
982.60 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
982.60 s
[opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
982.60 s
[opt-env-conf-test] Just missings -> do
982.60 s
[opt-env-conf-test] - debug $
982.60 s
[opt-env-conf-test] - "Missing capabilities: "
982.60 s
[opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
982.60 s
[opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
982.60 s
[opt-env-conf-test] Nothing -> func
982.60 s
[opt-env-conf-test]
982.60 s
[opt-env-conf-test] data ParseResult a
982.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:477:21-21
982.60 s
[opt-env-conf-test] @@ -474,9 +474,8 @@
982.60 s
[opt-env-conf-test] | Found a
982.60 s
[opt-env-conf-test]
982.60 s
[opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
982.60 s
[opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
982.60 s
[opt-env-conf-test] - Nothing -> ppError Nothing ParseErrorNoReaders
982.60 s
[opt-env-conf-test] Just ne -> pure ne
982.60 s
[opt-env-conf-test]
982.60 s
[opt-env-conf-test] -- Try the readers in order
982.60 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
982.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:477:21-21
982.60 s
[opt-env-conf-test] @@ -474,9 +474,8 @@
982.60 s
[opt-env-conf-test] | Found a
982.60 s
[opt-env-conf-test]
982.60 s
[opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
982.60 s
[opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
982.60 s
[opt-env-conf-test] Nothing -> ppError Nothing ParseErrorNoReaders
982.60 s
[opt-env-conf-test] - Just ne -> pure ne
982.60 s
[opt-env-conf-test]
982.60 s
[opt-env-conf-test] -- Try the readers in order
982.60 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
982.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:101:41-43
982.60 s
[opt-env-conf-test] @@ -98,9 +98,8 @@
982.60 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
982.60 s
[opt-env-conf-test] Just _ -> id
982.60 s
[opt-env-conf-test] in f firstErrors
982.60 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
982.60 s
[opt-env-conf-test] - Success a -> pure (Right a)
982.60 s
[opt-env-conf-test] Failure _ -> goNexts ns'
982.60 s
[opt-env-conf-test] in goNexts nexts
982.60 s
[opt-env-conf-test] where
982.60 s
[opt-env-conf-test] go ::
982.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:84:3-26
982.60 s
[opt-env-conf-test] @@ -81,27 +81,8 @@
982.60 s
[opt-env-conf-test] Nothing -> pure result
982.60 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
982.60 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
982.60 s
[opt-env-conf-test] case mTup of
982.60 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
982.60 s
[opt-env-conf-test] - Just ((errOrRes, _), nexts) -> case errOrRes of
982.60 s
[opt-env-conf-test] - Success a -> pure (Right a)
982.60 s
[opt-env-conf-test] - Failure firstErrors ->
982.60 s
[opt-env-conf-test] - let goNexts ns = do
982.60 s
[opt-env-conf-test] - -- TODO: Consider keeping around all errors?
982.60 s
[opt-env-conf-test] - mNext <- runNonDetTLazy ns
982.60 s
[opt-env-conf-test] - case mNext of
982.60 s
[opt-env-conf-test] - Nothing ->
982.60 s
[opt-env-conf-test] - pure $
982.60 s
[opt-env-conf-test] - Left $
982.60 s
[opt-env-conf-test] - -- Only show source locations in debug mode.
982.60 s
[opt-env-conf-test] - let f = case mDebugMode of
982.60 s
[opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
982.60 s
[opt-env-conf-test] - Just _ -> id
982.60 s
[opt-env-conf-test] - in f firstErrors
982.60 s
[opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
982.60 s
[opt-env-conf-test] - Success a -> pure (Right a)
982.60 s
[opt-env-conf-test] - Failure _ -> goNexts ns'
982.60 s
[opt-env-conf-test] - in goNexts nexts
982.60 s
[opt-env-conf-test] where
982.60 s
[opt-env-conf-test] go ::
982.60 s
[opt-env-conf-test] Parser a ->
982.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:86:36-26
982.60 s
[opt-env-conf-test] @@ -83,25 +83,24 @@
982.60 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
982.60 s
[opt-env-conf-test] case mTup of
982.60 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
982.60 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
982.61 s
[opt-env-conf-test] - Success a -> pure (Right a)
982.61 s
[opt-env-conf-test] Failure firstErrors ->
982.61 s
[opt-env-conf-test] let goNexts ns = do
982.61 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
982.61 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
982.61 s
[opt-env-conf-test] case mNext of
982.61 s
[opt-env-conf-test] Nothing ->
982.61 s
[opt-env-conf-test] pure $
982.61 s
[opt-env-conf-test] Left $
982.61 s
[opt-env-conf-test] -- Only show source locations in debug mode.
982.61 s
[opt-env-conf-test] let f = case mDebugMode of
982.61 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
982.61 s
[opt-env-conf-test] Just _ -> id
982.61 s
[opt-env-conf-test] in f firstErrors
982.61 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
982.61 s
[opt-env-conf-test] Success a -> pure (Right a)
982.61 s
[opt-env-conf-test] Failure _ -> goNexts ns'
982.61 s
[opt-env-conf-test] in goNexts nexts
982.61 s
[opt-env-conf-test] where
982.61 s
[opt-env-conf-test] go ::
982.61 s
[opt-env-conf-test] Parser a ->
982.61 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:113:25-35
982.61 s
[opt-env-conf-test] @@ -110,9 +110,8 @@
989.43 s
[opt-env-conf-test] ParserPure a -> do
989.43 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
989.43 s
[opt-env-conf-test] pure a
989.46 s
[opt-env-conf-test] ParserAp ff fa -> do
989.46 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
989.46 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
989.46 s
[opt-env-conf-test] ParserEmpty mLoc -> do
989.46 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
989.46 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
989.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
989.46 s
[opt-env-conf-test] @@ -114,7 +114,6 @@
989.46 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
989.46 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
989.46 s
[opt-env-conf-test] ParserEmpty mLoc -> do
989.46 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
989.46 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
989.46 s
[opt-env-conf-test] ParserSelect fe ff -> do
989.46 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
989.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:101:41-43
989.46 s
[opt-env-conf-test] @@ -98,9 +98,8 @@
989.46 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
989.46 s
[opt-env-conf-test] Just _ -> id
989.46 s
[opt-env-conf-test] in f firstErrors
989.46 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
989.46 s
[opt-env-conf-test] Success a -> pure (Right a)
989.46 s
[opt-env-conf-test] - Failure _ -> goNexts ns'
989.46 s
[opt-env-conf-test] in goNexts nexts
989.46 s
[opt-env-conf-test] where
989.46 s
[opt-env-conf-test] go ::
989.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:86:36-26
989.46 s
[opt-env-conf-test] @@ -83,25 +83,8 @@
989.46 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
989.46 s
[opt-env-conf-test] case mTup of
989.46 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
989.46 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
989.46 s
[opt-env-conf-test] Success a -> pure (Right a)
989.46 s
[opt-env-conf-test] - Failure firstErrors ->
989.46 s
[opt-env-conf-test] - let goNexts ns = do
989.46 s
[opt-env-conf-test] - -- TODO: Consider keeping around all errors?
989.46 s
[opt-env-conf-test] - mNext <- runNonDetTLazy ns
989.46 s
[opt-env-conf-test] - case mNext of
989.46 s
[opt-env-conf-test] - Nothing ->
989.46 s
[opt-env-conf-test] - pure $
989.46 s
[opt-env-conf-test] - Left $
989.46 s
[opt-env-conf-test] - -- Only show source locations in debug mode.
989.46 s
[opt-env-conf-test] - let f = case mDebugMode of
989.46 s
[opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
989.47 s
[opt-env-conf-test] - Just _ -> id
989.47 s
[opt-env-conf-test] - in f firstErrors
989.47 s
[opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
989.47 s
[opt-env-conf-test] - Success a -> pure (Right a)
989.47 s
[opt-env-conf-test] - Failure _ -> goNexts ns'
989.47 s
[opt-env-conf-test] - in goNexts nexts
989.47 s
[opt-env-conf-test] where
989.47 s
[opt-env-conf-test] go ::
989.47 s
[opt-env-conf-test] Parser a ->
989.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:97:31-41
989.47 s
[opt-env-conf-test] @@ -94,9 +94,8 @@
989.47 s
[opt-env-conf-test] pure $
989.47 s
[opt-env-conf-test] Left $
989.47 s
[opt-env-conf-test] -- Only show source locations in debug mode.
989.47 s
[opt-env-conf-test] let f = case mDebugMode of
989.47 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
989.47 s
[opt-env-conf-test] - Just _ -> id
989.47 s
[opt-env-conf-test] in f firstErrors
989.47 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
989.47 s
[opt-env-conf-test] Success a -> pure (Right a)
989.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:92:15-43
989.47 s
[opt-env-conf-test] @@ -89,18 +89,10 @@
989.47 s
[opt-env-conf-test] let goNexts ns = do
989.47 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
989.47 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
989.47 s
[opt-env-conf-test] case mNext of
989.47 s
[opt-env-conf-test] - Nothing ->
989.47 s
[opt-env-conf-test] - pure $
989.47 s
[opt-env-conf-test] - Left $
989.47 s
[opt-env-conf-test] - -- Only show source locations in debug mode.
989.47 s
[opt-env-conf-test] - let f = case mDebugMode of
989.47 s
[opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
989.47 s
[opt-env-conf-test] - Just _ -> id
989.48 s
[opt-env-conf-test] - in f firstErrors
989.48 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
989.48 s
[opt-env-conf-test] Success a -> pure (Right a)
989.48 s
[opt-env-conf-test] Failure _ -> goNexts ns'
989.48 s
[opt-env-conf-test] in goNexts nexts
989.48 s
[opt-env-conf-test] where
989.48 s
[opt-env-conf-test] go ::
989.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:80:9-79
989.48 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
989.48 s
[opt-env-conf-test] let go' = do
989.48 s
[opt-env-conf-test] result <- go parser
989.48 s
[opt-env-conf-test] leftoverArgs <- gets ppStateArgs
989.48 s
[opt-env-conf-test] case recogniseLeftovers leftoverArgs of
989.48 s
[opt-env-conf-test] - Nothing -> pure result
989.48 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
989.48 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
989.48 s
[opt-env-conf-test] case mTup of
989.48 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
989.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:80:9-79
989.48 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
989.48 s
[opt-env-conf-test] let go' = do
989.48 s
[opt-env-conf-test] result <- go parser
989.48 s
[opt-env-conf-test] leftoverArgs <- gets ppStateArgs
989.48 s
[opt-env-conf-test] case recogniseLeftovers leftoverArgs of
989.48 s
[opt-env-conf-test] Nothing -> pure result
989.48 s
[opt-env-conf-test] - Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
989.48 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
989.48 s
[opt-env-conf-test] case mTup of
989.48 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
989.48 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Run.hs:75:27-28
989.48 s
[opt-env-conf-test] @@ -72,7 +72,7 @@
989.48 s
[opt-env-conf-test] { ppEnvEnv = envVars,
989.48 s
[opt-env-conf-test] ppEnvConf = mConfig,
989.48 s
[opt-env-conf-test] ppEnvDebug = mDebugMode,
989.48 s
[opt-env-conf-test] - ppEnvIndent = 0
989.48 s
[opt-env-conf-test] + ppEnvIndent = 1
989.48 s
[opt-env-conf-test] }
989.48 s
[opt-env-conf-test] let go' = do
989.48 s
[opt-env-conf-test] result <- go parser
989.48 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:119:29-42
989.48 s
[opt-env-conf-test] @@ -116,9 +116,8 @@
989.48 s
[opt-env-conf-test] ParserEmpty mLoc -> do
989.48 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
989.48 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
989.48 s
[opt-env-conf-test] ParserSelect fe ff -> do
989.48 s
[opt-env-conf-test] - debug [syntaxChunk "Select"]
989.48 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
989.48 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
989.48 s
[opt-env-conf-test] debug [syntaxChunk "Alt"]
989.48 s
[opt-env-conf-test] ppIndent $ do
989.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:463:3-20
989.48 s
[opt-env-conf-test] @@ -460,13 +460,12 @@
989.48 s
[opt-env-conf-test] PP a ->
989.48 s
[opt-env-conf-test] PP a
989.48 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
989.48 s
[opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
989.48 s
[opt-env-conf-test] Just missings -> do
989.48 s
[opt-env-conf-test] debug $
989.48 s
[opt-env-conf-test] "Missing capabilities: "
989.48 s
[opt-env-conf-test] : capabilitiesChunks (Set.fromList (NE.toList missings))
989.48 s
[opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
989.48 s
[opt-env-conf-test] - Nothing -> func
989.48 s
[opt-env-conf-test]
989.48 s
[opt-env-conf-test] data ParseResult a
989.48 s
[opt-env-conf-test] = NotRun
989.48 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:131:24-31
989.48 s
[opt-env-conf-test] @@ -128,9 +128,8 @@
989.48 s
[opt-env-conf-test] Just a -> do
989.48 s
[opt-env-conf-test] debug ["Left side succeeded."]
989.48 s
[opt-env-conf-test] pure a
989.48 s
[opt-env-conf-test] Nothing -> do
989.48 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
989.48 s
[opt-env-conf-test] ppIndent $ go p2
989.49 s
[opt-env-conf-test] ParserMany mLoc p' -> do
989.49 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
989.49 s
[opt-env-conf-test] ppIndent $ do
989.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:84:3-26
989.49 s
[opt-env-conf-test] @@ -81,27 +81,26 @@
989.49 s
[opt-env-conf-test] Nothing -> pure result
989.49 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
989.49 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
989.49 s
[opt-env-conf-test] case mTup of
989.49 s
[opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
989.49 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
989.49 s
[opt-env-conf-test] Success a -> pure (Right a)
989.49 s
[opt-env-conf-test] Failure firstErrors ->
989.49 s
[opt-env-conf-test] let goNexts ns = do
989.49 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
989.49 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
989.49 s
[opt-env-conf-test] case mNext of
989.49 s
[opt-env-conf-test] Nothing ->
989.49 s
[opt-env-conf-test] pure $
989.49 s
[opt-env-conf-test] Left $
989.49 s
[opt-env-conf-test] -- Only show source locations in debug mode.
989.49 s
[opt-env-conf-test] let f = case mDebugMode of
989.49 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
989.49 s
[opt-env-conf-test] Just _ -> id
989.49 s
[opt-env-conf-test] in f firstErrors
989.49 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
989.49 s
[opt-env-conf-test] Success a -> pure (Right a)
989.49 s
[opt-env-conf-test] Failure _ -> goNexts ns'
989.49 s
[opt-env-conf-test] in goNexts nexts
989.49 s
[opt-env-conf-test] where
989.49 s
[opt-env-conf-test] go ::
989.49 s
[opt-env-conf-test] Parser a ->
989.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:127:11-31
989.49 s
[opt-env-conf-test] @@ -124,13 +124,10 @@
989.49 s
[opt-env-conf-test] ppIndent $ do
989.49 s
[opt-env-conf-test] debug ["Trying left side."]
989.49 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
989.49 s
[opt-env-conf-test] case eor of
989.49 s
[opt-env-conf-test] - Just a -> do
989.49 s
[opt-env-conf-test] - debug ["Left side succeeded."]
989.49 s
[opt-env-conf-test] - pure a
989.49 s
[opt-env-conf-test] Nothing -> do
989.49 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
989.49 s
[opt-env-conf-test] ppIndent $ go p2
989.49 s
[opt-env-conf-test] ParserMany mLoc p' -> do
989.49 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
989.49 s
[opt-env-conf-test] ppIndent $ do
989.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:97:31-41
989.49 s
[opt-env-conf-test] @@ -94,9 +94,8 @@
989.49 s
[opt-env-conf-test] pure $
989.49 s
[opt-env-conf-test] Left $
997.82 s
[opt-env-conf-test] -- Only show source locations in debug mode.
997.85 s
[opt-env-conf-test] let f = case mDebugMode of
997.85 s
[opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
997.85 s
[opt-env-conf-test] Just _ -> id
997.85 s
[opt-env-conf-test] in f firstErrors
997.85 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
997.85 s
[opt-env-conf-test] Success a -> pure (Right a)
997.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:127:11-31
997.85 s
[opt-env-conf-test] @@ -124,13 +124,10 @@
997.85 s
[opt-env-conf-test] ppIndent $ do
997.85 s
[opt-env-conf-test] debug ["Trying left side."]
997.85 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
997.85 s
[opt-env-conf-test] case eor of
997.85 s
[opt-env-conf-test] Just a -> do
997.86 s
[opt-env-conf-test] debug ["Left side succeeded."]
997.86 s
[opt-env-conf-test] pure a
997.86 s
[opt-env-conf-test] - Nothing -> do
997.86 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
997.86 s
[opt-env-conf-test] - ppIndent $ go p2
997.86 s
[opt-env-conf-test] ParserMany mLoc p' -> do
997.86 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
997.86 s
[opt-env-conf-test] ppIndent $ do
997.86 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:122:26-31
997.86 s
[opt-env-conf-test] @@ -119,18 +119,17 @@
997.86 s
[opt-env-conf-test] ParserSelect fe ff -> do
997.86 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
997.86 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
997.86 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
997.86 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
997.86 s
[opt-env-conf-test] ppIndent $ do
997.86 s
[opt-env-conf-test] debug ["Trying left side."]
997.86 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
997.86 s
[opt-env-conf-test] case eor of
997.86 s
[opt-env-conf-test] Just a -> do
997.86 s
[opt-env-conf-test] debug ["Left side succeeded."]
997.86 s
[opt-env-conf-test] pure a
997.86 s
[opt-env-conf-test] Nothing -> do
997.86 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
997.86 s
[opt-env-conf-test] ppIndent $ go p2
997.86 s
[opt-env-conf-test] ParserMany mLoc p' -> do
997.86 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
997.86 s
[opt-env-conf-test] ppIndent $ do
997.86 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
997.86 s
[opt-env-conf-test] @@ -114,7 +114,6 @@
997.86 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
997.86 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
997.86 s
[opt-env-conf-test] ParserEmpty mLoc -> do
997.86 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
997.86 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
997.86 s
[opt-env-conf-test] ParserSelect fe ff -> do
997.86 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
997.86 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:116:27-37
997.86 s
[opt-env-conf-test] @@ -113,9 +113,8 @@
997.86 s
[opt-env-conf-test] ParserAp ff fa -> do
997.87 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
997.87 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
997.87 s
[opt-env-conf-test] ParserEmpty mLoc -> do
997.87 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
997.87 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
997.87 s
[opt-env-conf-test] ParserSelect fe ff -> do
997.87 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
997.87 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
997.87 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
997.87 s
[opt-env-conf-test] @@ -114,7 +114,6 @@
997.87 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
997.87 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
997.87 s
[opt-env-conf-test] ParserEmpty mLoc -> do
997.87 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
997.87 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
997.87 s
[opt-env-conf-test] ParserSelect fe ff -> do
997.87 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
997.87 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:135:15-60
997.87 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
997.87 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
997.87 s
[opt-env-conf-test] ppIndent $ go p2
997.87 s
[opt-env-conf-test] ParserMany mLoc p' -> do
997.87 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
997.87 s
[opt-env-conf-test] ppIndent $ do
997.87 s
[opt-env-conf-test] eor <- tryPP $ go p'
997.87 s
[opt-env-conf-test] case eor of
997.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:138:11-28
997.87 s
[opt-env-conf-test] @@ -135,11 +135,8 @@
997.87 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
997.87 s
[opt-env-conf-test] ppIndent $ do
997.87 s
[opt-env-conf-test] eor <- tryPP $ go p'
997.87 s
[opt-env-conf-test] case eor of
997.87 s
[opt-env-conf-test] Nothing -> pure []
997.87 s
[opt-env-conf-test] - Just a -> do
997.87 s
[opt-env-conf-test] - as <- go (ParserMany mLoc p')
997.87 s
[opt-env-conf-test] - pure (a : as)
997.87 s
[opt-env-conf-test] ParserSome mLoc p' -> do
997.87 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
997.87 s
[opt-env-conf-test] ppIndent $ do
997.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:138:11-28
997.87 s
[opt-env-conf-test] @@ -135,11 +135,10 @@
997.87 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
997.87 s
[opt-env-conf-test] ppIndent $ do
997.87 s
[opt-env-conf-test] eor <- tryPP $ go p'
997.87 s
[opt-env-conf-test] case eor of
997.87 s
[opt-env-conf-test] - Nothing -> pure []
997.87 s
[opt-env-conf-test] Just a -> do
997.87 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
997.87 s
[opt-env-conf-test] pure (a : as)
997.87 s
[opt-env-conf-test] ParserSome mLoc p' -> do
997.87 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
997.87 s
[opt-env-conf-test] ppIndent $ do
997.87 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:135:15-60
997.87 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
997.87 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
997.88 s
[opt-env-conf-test] ppIndent $ go p2
997.88 s
[opt-env-conf-test] ParserMany mLoc p' -> do
997.88 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
997.88 s
[opt-env-conf-test] ppIndent $ do
997.88 s
[opt-env-conf-test] eor <- tryPP $ go p'
997.88 s
[opt-env-conf-test] case eor of
997.88 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:151:15-68
997.88 s
[opt-env-conf-test] @@ -148,7 +148,6 @@
997.88 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
997.88 s
[opt-env-conf-test] pure (a :| as)
997.88 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
997.88 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
997.88 s
[opt-env-conf-test] ppIndent $ do
997.88 s
[opt-env-conf-test] e <- ask
997.88 s
[opt-env-conf-test] s <- get
997.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:24-50
997.88 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
997.88 s
[opt-env-conf-test] case result of
997.88 s
[opt-env-conf-test] Success a -> pure a
997.88 s
[opt-env-conf-test] Failure errs -> do
997.88 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
997.88 s
[opt-env-conf-test] + if not $ False
997.88 s
[opt-env-conf-test] then ppErrors' errs
997.88 s
[opt-env-conf-test] else do
997.88 s
[opt-env-conf-test] -- Settings available below
997.88 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:151:15-68
997.88 s
[opt-env-conf-test] @@ -148,7 +148,6 @@
997.88 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
997.88 s
[opt-env-conf-test] pure (a :| as)
997.88 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
997.88 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
997.88 s
[opt-env-conf-test] ppIndent $ do
997.88 s
[opt-env-conf-test] e <- ask
997.88 s
[opt-env-conf-test] s <- get
997.88 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:151:15-68
997.88 s
[opt-env-conf-test] @@ -148,7 +148,6 @@
997.88 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
997.88 s
[opt-env-conf-test] pure (a :| as)
997.88 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
997.88 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
997.88 s
[opt-env-conf-test] ppIndent $ do
997.88 s
[opt-env-conf-test] e <- ask
997.88 s
[opt-env-conf-test] s <- get
997.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:18-50
997.88 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
997.88 s
[opt-env-conf-test] case result of
997.88 s
[opt-env-conf-test] Success a -> pure a
997.88 s
[opt-env-conf-test] Failure errs -> do
997.89 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
997.89 s
[opt-env-conf-test] + if False
997.89 s
[opt-env-conf-test] then ppErrors' errs
997.89 s
[opt-env-conf-test] else do
997.89 s
[opt-env-conf-test] -- Settings available below
997.89 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
997.89 s
[opt-env-conf-test] @@ -141,7 +141,6 @@
997.89 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
997.89 s
[opt-env-conf-test] pure (a : as)
997.89 s
[opt-env-conf-test] ParserSome mLoc p' -> do
997.89 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
997.89 s
[opt-env-conf-test] ppIndent $ do
997.89 s
[opt-env-conf-test] a <- go p'
997.89 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
997.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:161:24-50
997.89 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
997.89 s
[opt-env-conf-test] case result of
997.89 s
[opt-env-conf-test] Success a -> pure a
997.89 s
[opt-env-conf-test] Failure errs -> do
997.89 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
997.89 s
[opt-env-conf-test] + if not $ not all errorIsForgivable errs
997.89 s
[opt-env-conf-test] then ppErrors' errs
997.89 s
[opt-env-conf-test] else do
997.89 s
[opt-env-conf-test] -- Settings available below
997.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:161:18-50
997.89 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
997.89 s
[opt-env-conf-test] case result of
997.89 s
[opt-env-conf-test] Success a -> pure a
997.89 s
[opt-env-conf-test] Failure errs -> do
997.89 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
997.89 s
[opt-env-conf-test] + if not not $ all errorIsForgivable errs
997.89 s
[opt-env-conf-test] then ppErrors' errs
997.89 s
[opt-env-conf-test] else do
997.89 s
[opt-env-conf-test] -- Settings available below
997.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:24-50
997.89 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
997.89 s
[opt-env-conf-test] case result of
997.89 s
[opt-env-conf-test] Success a -> pure a
997.89 s
[opt-env-conf-test] Failure errs -> do
997.89 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
997.89 s
[opt-env-conf-test] + if not $ True
997.89 s
[opt-env-conf-test] then ppErrors' errs
997.89 s
[opt-env-conf-test] else do
997.89 s
[opt-env-conf-test] -- Settings available below
997.89 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:135:15-60
997.89 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
997.89 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
997.89 s
[opt-env-conf-test] ppIndent $ go p2
997.89 s
[opt-env-conf-test] ParserMany mLoc p' -> do
997.89 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1002.97 s
[opt-env-conf-test] ppIndent $ do
1002.97 s
[opt-env-conf-test] eor <- tryPP $ go p'
1002.97 s
[opt-env-conf-test] case eor of
1003.00 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:195:29-70
1003.00 s
[opt-env-conf-test] @@ -192,9 +192,8 @@
1003.00 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
1003.00 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1003.00 s
[opt-env-conf-test] case errOrB of
1003.00 s
[opt-env-conf-test] Left err -> do
1003.00 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1003.00 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1003.00 s
[opt-env-conf-test] Right b -> do
1003.00 s
[opt-env-conf-test] debug ["succeeded"]
1003.00 s
[opt-env-conf-test] pure b
1003.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:194:15-25
1003.00 s
[opt-env-conf-test] @@ -191,13 +191,10 @@
1003.00 s
[opt-env-conf-test] ppIndent $
1003.00 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
1003.00 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1003.00 s
[opt-env-conf-test] case errOrB of
1003.00 s
[opt-env-conf-test] - Left err -> do
1003.00 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1003.00 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
1003.00 s
[opt-env-conf-test] Right b -> do
1003.00 s
[opt-env-conf-test] debug ["succeeded"]
1003.00 s
[opt-env-conf-test] pure b
1003.00 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1003.00 s
[opt-env-conf-test] debug [syntaxChunk "Commands", ": ", mSrcLocChunk mLoc]
1003.00 s
[opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
1003.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:194:15-25
1003.00 s
[opt-env-conf-test] @@ -191,13 +191,10 @@
1003.00 s
[opt-env-conf-test] ppIndent $
1003.00 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
1003.01 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1003.01 s
[opt-env-conf-test] case errOrB of
1003.01 s
[opt-env-conf-test] Left err -> do
1003.01 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1003.01 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1003.01 s
[opt-env-conf-test] - Right b -> do
1003.01 s
[opt-env-conf-test] - debug ["succeeded"]
1003.01 s
[opt-env-conf-test] - pure b
1003.01 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1003.01 s
[opt-env-conf-test] debug [syntaxChunk "Commands", ": ", mSrcLocChunk mLoc]
1003.01 s
[opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
1003.01 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:216:25-85
1003.01 s
[opt-env-conf-test] @@ -213,7 +213,6 @@
1003.01 s
[opt-env-conf-test] case mDefaultCommand of
1003.01 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1003.01 s
[opt-env-conf-test] Just dc -> do
1003.01 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1003.01 s
[opt-env-conf-test] go $ commandParser dc
1003.01 s
[opt-env-conf-test] Just s -> do
1003.01 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1003.01 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:215:28-40
1003.01 s
[opt-env-conf-test] @@ -212,9 +212,8 @@
1003.01 s
[opt-env-conf-test] find ((== d) . commandArg) cs
1003.01 s
[opt-env-conf-test] case mDefaultCommand of
1003.01 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1003.01 s
[opt-env-conf-test] Just dc -> do
1003.01 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1003.01 s
[opt-env-conf-test] go $ commandParser dc
1003.01 s
[opt-env-conf-test] Just s -> do
1003.01 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1003.01 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1003.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:213:15-40
1003.01 s
[opt-env-conf-test] @@ -210,11 +210,10 @@
1003.01 s
[opt-env-conf-test] let mDefaultCommand = do
1003.01 s
[opt-env-conf-test] d <- mDefault
1003.01 s
[opt-env-conf-test] find ((== d) . commandArg) cs
1003.01 s
[opt-env-conf-test] case mDefaultCommand of
1003.01 s
[opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1003.01 s
[opt-env-conf-test] Just dc -> do
1003.01 s
[opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
1003.01 s
[opt-env-conf-test] go $ commandParser dc
1003.01 s
[opt-env-conf-test] Just s -> do
1003.01 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1003.01 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1003.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:213:15-40
1003.01 s
[opt-env-conf-test] @@ -210,11 +210,8 @@
1003.01 s
[opt-env-conf-test] let mDefaultCommand = do
1003.01 s
[opt-env-conf-test] d <- mDefault
1003.01 s
[opt-env-conf-test] find ((== d) . commandArg) cs
1003.02 s
[opt-env-conf-test] case mDefaultCommand of
1003.02 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1003.02 s
[opt-env-conf-test] - Just dc -> do
1003.02 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1003.02 s
[opt-env-conf-test] - go $ commandParser dc
1003.02 s
[opt-env-conf-test] Just s -> do
1003.02 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1003.02 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1003.02 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:222:25-73
1003.02 s
[opt-env-conf-test] @@ -219,7 +219,6 @@
1003.02 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1003.02 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1003.02 s
[opt-env-conf-test] Just c -> do
1003.02 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1003.02 s
[opt-env-conf-test] go $ commandParser c
1003.02 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1003.02 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1003.02 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:222:25-73
1003.02 s
[opt-env-conf-test] @@ -219,7 +219,6 @@
1003.02 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1003.02 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1003.02 s
[opt-env-conf-test] Just c -> do
1003.02 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1003.02 s
[opt-env-conf-test] go $ commandParser c
1003.02 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1003.02 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1003.02 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:221:27-39
1003.02 s
[opt-env-conf-test] @@ -218,9 +218,8 @@
1003.02 s
[opt-env-conf-test] Just s -> do
1003.02 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1003.02 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1003.02 s
[opt-env-conf-test] Just c -> do
1003.02 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1003.02 s
[opt-env-conf-test] go $ commandParser c
1003.02 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1003.02 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1003.02 s
[opt-env-conf-test] ppIndent $ do
1003.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:219:15-39
1003.02 s
[opt-env-conf-test] @@ -216,11 +216,10 @@
1003.02 s
[opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
1003.02 s
[opt-env-conf-test] go $ commandParser dc
1003.02 s
[opt-env-conf-test] Just s -> do
1003.02 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1003.02 s
[opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1003.02 s
[opt-env-conf-test] Just c -> do
1003.02 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1003.02 s
[opt-env-conf-test] go $ commandParser c
1003.02 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1003.02 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1003.02 s
[opt-env-conf-test] ppIndent $ do
1003.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:219:15-39
1003.02 s
[opt-env-conf-test] @@ -216,11 +216,8 @@
1003.02 s
[opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
1003.02 s
[opt-env-conf-test] go $ commandParser dc
1003.02 s
[opt-env-conf-test] Just s -> do
1003.02 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1003.02 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1003.02 s
[opt-env-conf-test] - Just c -> do
1003.02 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1003.02 s
[opt-env-conf-test] - go $ commandParser c
1003.02 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1003.02 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1003.02 s
[opt-env-conf-test] ppIndent $ do
1003.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:207:11-39
1003.03 s
[opt-env-conf-test] @@ -204,23 +204,13 @@
1003.03 s
[opt-env-conf-test] ppIndent $ do
1003.03 s
[opt-env-conf-test] mS <- ppArg
1003.03 s
[opt-env-conf-test] let docsForErrors = map (void . commandParserDocs) cs
1003.03 s
[opt-env-conf-test] case mS of
1003.03 s
[opt-env-conf-test] - Nothing -> do
1003.03 s
[opt-env-conf-test] - debug ["No argument found for choosing a command."]
1003.03 s
[opt-env-conf-test] - let mDefaultCommand = do
1003.03 s
[opt-env-conf-test] - d <- mDefault
1003.03 s
[opt-env-conf-test] - find ((== d) . commandArg) cs
1003.03 s
[opt-env-conf-test] - case mDefaultCommand of
1003.03 s
[opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1003.03 s
[opt-env-conf-test] - Just dc -> do
1003.03 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1003.03 s
[opt-env-conf-test] - go $ commandParser dc
1007.83 s
[opt-env-conf-test] Just s -> do
1007.83 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1007.84 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1007.84 s
[opt-env-conf-test] Just c -> do
1007.84 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1007.84 s
[opt-env-conf-test] go $ commandParser c
1007.84 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1007.84 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1007.84 s
[opt-env-conf-test] ppIndent $ do
1007.84 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:207:11-39
1007.84 s
[opt-env-conf-test] @@ -204,23 +204,17 @@
1007.84 s
[opt-env-conf-test] ppIndent $ do
1007.84 s
[opt-env-conf-test] mS <- ppArg
1007.84 s
[opt-env-conf-test] let docsForErrors = map (void . commandParserDocs) cs
1007.84 s
[opt-env-conf-test] case mS of
1007.84 s
[opt-env-conf-test] Nothing -> do
1007.84 s
[opt-env-conf-test] debug ["No argument found for choosing a command."]
1007.84 s
[opt-env-conf-test] let mDefaultCommand = do
1007.84 s
[opt-env-conf-test] d <- mDefault
1007.84 s
[opt-env-conf-test] find ((== d) . commandArg) cs
1007.84 s
[opt-env-conf-test] case mDefaultCommand of
1007.84 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1007.84 s
[opt-env-conf-test] Just dc -> do
1007.84 s
[opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
1007.84 s
[opt-env-conf-test] go $ commandParser dc
1007.84 s
[opt-env-conf-test] - Just s -> do
1007.84 s
[opt-env-conf-test] - case find ((== s) . commandArg) cs of
1007.84 s
[opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1007.84 s
[opt-env-conf-test] - Just c -> do
1007.84 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1007.84 s
[opt-env-conf-test] - go $ commandParser c
1007.84 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1007.84 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1007.85 s
[opt-env-conf-test] ppIndent $ do
1007.85 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:225:15-66
1007.85 s
[opt-env-conf-test] @@ -222,7 +222,6 @@
1007.85 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1007.85 s
[opt-env-conf-test] go $ commandParser c
1007.85 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1007.85 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1007.85 s
[opt-env-conf-test] ppIndent $ do
1007.85 s
[opt-env-conf-test] debug ["loading config"]
1007.85 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
1007.85 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:225:15-66
1007.85 s
[opt-env-conf-test] @@ -222,7 +222,6 @@
1007.85 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1007.85 s
[opt-env-conf-test] go $ commandParser c
1007.85 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1007.85 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1007.85 s
[opt-env-conf-test] ppIndent $ do
1007.85 s
[opt-env-conf-test] debug ["loading config"]
1007.85 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
1007.85 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:225:15-66
1007.85 s
[opt-env-conf-test] @@ -222,7 +222,6 @@
1007.85 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1007.85 s
[opt-env-conf-test] go $ commandParser c
1007.85 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1007.85 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1007.85 s
[opt-env-conf-test] ppIndent $ do
1007.85 s
[opt-env-conf-test] debug ["loading config"]
1007.85 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
1007.85 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:224:38-20
1007.85 s
[opt-env-conf-test] @@ -221,15 +221,14 @@
1007.85 s
[opt-env-conf-test] Just c -> do
1007.85 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1007.85 s
[opt-env-conf-test] go $ commandParser c
1007.85 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1007.85 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1007.85 s
[opt-env-conf-test] ppIndent $ do
1007.85 s
[opt-env-conf-test] debug ["loading config"]
1007.85 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
1007.85 s
[opt-env-conf-test] debug ["with loaded config"]
1007.85 s
[opt-env-conf-test] ppIndent $
1007.85 s
[opt-env-conf-test] local (\e -> e {ppEnvConf = mNewConfig}) $
1007.85 s
[opt-env-conf-test] go pa
1007.85 s
[opt-env-conf-test] ParserSetting mLoc set@Setting {..} -> do
1007.85 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
1007.85 s
[opt-env-conf-test] when (not (Set.null settingRequiredCapabilities)) $
1007.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:262:16-34
1007.86 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1007.86 s
[opt-env-conf-test] mLoc
1007.86 s
[opt-env-conf-test] let mOptDoc = settingOptDoc set
1007.86 s
[opt-env-conf-test] mArg <-
1007.86 s
[opt-env-conf-test] - if settingTryArgument
1007.86 s
[opt-env-conf-test] + if True
1007.86 s
[opt-env-conf-test] then do
1007.86 s
[opt-env-conf-test] -- Require readers before finding the argument so the parser
1007.86 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1007.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:262:16-34
1007.86 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1007.86 s
[opt-env-conf-test] mLoc
1007.86 s
[opt-env-conf-test] let mOptDoc = settingOptDoc set
1007.86 s
[opt-env-conf-test] mArg <-
1007.86 s
[opt-env-conf-test] - if settingTryArgument
1007.86 s
[opt-env-conf-test] + if False
1007.86 s
[opt-env-conf-test] then do
1007.86 s
[opt-env-conf-test] -- Require readers before finding the argument so the parser
1007.86 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1007.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:262:16-34
1007.86 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1007.86 s
[opt-env-conf-test] mLoc
1007.86 s
[opt-env-conf-test] let mOptDoc = settingOptDoc set
1007.86 s
[opt-env-conf-test] mArg <-
1007.86 s
[opt-env-conf-test] - if settingTryArgument
1007.86 s
[opt-env-conf-test] + if not settingTryArgument
1007.86 s
[opt-env-conf-test] then do
1007.86 s
[opt-env-conf-test] -- Require readers before finding the argument so the parser
1007.86 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1007.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:273:21-39
1007.86 s
[opt-env-conf-test] @@ -270,14 +270,13 @@
1007.86 s
[opt-env-conf-test] debug ["could not set based on argument: no argument"]
1007.86 s
[opt-env-conf-test] pure NotFound
1007.86 s
[opt-env-conf-test] Just argStr -> cap $
1007.86 s
[opt-env-conf-test] case tryReaders rs argStr of
1007.86 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
1007.86 s
[opt-env-conf-test] Right a -> do
1007.86 s
[opt-env-conf-test] debug
1007.86 s
[opt-env-conf-test] [ "set based on argument: ",
1007.86 s
[opt-env-conf-test] chunk $ T.pack $ show argStr
1007.86 s
[opt-env-conf-test] ]
1007.86 s
[opt-env-conf-test] pure $ Found a
1007.86 s
[opt-env-conf-test] else pure NotRun
1007.86 s
[opt-env-conf-test]
1007.86 s
[opt-env-conf-test] case mArg of
1007.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:273:21-39
1007.86 s
[opt-env-conf-test] @@ -270,14 +270,8 @@
1007.86 s
[opt-env-conf-test] debug ["could not set based on argument: no argument"]
1007.86 s
[opt-env-conf-test] pure NotFound
1007.86 s
[opt-env-conf-test] Just argStr -> cap $
1007.86 s
[opt-env-conf-test] case tryReaders rs argStr of
1007.86 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
1007.86 s
[opt-env-conf-test] - Right a -> do
1007.86 s
[opt-env-conf-test] - debug
1007.86 s
[opt-env-conf-test] - [ "set based on argument: ",
1007.86 s
[opt-env-conf-test] - chunk $ T.pack $ show argStr
1007.86 s
[opt-env-conf-test] - ]
1007.86 s
[opt-env-conf-test] - pure $ Found a
1007.86 s
[opt-env-conf-test] else pure NotRun
1007.86 s
[opt-env-conf-test]
1007.86 s
[opt-env-conf-test] case mArg of
1007.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:268:17-39
1007.86 s
[opt-env-conf-test] @@ -265,19 +265,16 @@
1007.86 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1007.86 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1007.87 s
[opt-env-conf-test] mS <- ppArg
1007.87 s
[opt-env-conf-test] case mS of
1007.87 s
[opt-env-conf-test] - Nothing -> do
1007.87 s
[opt-env-conf-test] - debug ["could not set based on argument: no argument"]
1007.87 s
[opt-env-conf-test] - pure NotFound
1007.87 s
[opt-env-conf-test] Just argStr -> cap $
1007.87 s
[opt-env-conf-test] case tryReaders rs argStr of
1007.87 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
1007.87 s
[opt-env-conf-test] Right a -> do
1007.87 s
[opt-env-conf-test] debug
1007.87 s
[opt-env-conf-test] [ "set based on argument: ",
1007.87 s
[opt-env-conf-test] chunk $ T.pack $ show argStr
1007.87 s
[opt-env-conf-test] ]
1007.87 s
[opt-env-conf-test] pure $ Found a
1007.87 s
[opt-env-conf-test] else pure NotRun
1007.87 s
[opt-env-conf-test]
1007.87 s
[opt-env-conf-test] case mArg of
1007.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:268:17-39
1007.87 s
[opt-env-conf-test] @@ -265,19 +265,10 @@
1007.87 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1007.87 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1007.87 s
[opt-env-conf-test] mS <- ppArg
1007.87 s
[opt-env-conf-test] case mS of
1007.87 s
[opt-env-conf-test] Nothing -> do
1007.87 s
[opt-env-conf-test] debug ["could not set based on argument: no argument"]
1007.87 s
[opt-env-conf-test] pure NotFound
1007.87 s
[opt-env-conf-test] - Just argStr -> cap $
1007.87 s
[opt-env-conf-test] - case tryReaders rs argStr of
1007.87 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
1007.87 s
[opt-env-conf-test] - Right a -> do
1007.87 s
[opt-env-conf-test] - debug
1007.87 s
[opt-env-conf-test] - [ "set based on argument: ",
1007.87 s
[opt-env-conf-test] - chunk $ T.pack $ show argStr
1007.87 s
[opt-env-conf-test] - ]
1007.87 s
[opt-env-conf-test] - pure $ Found a
1014.16 s
[opt-env-conf-test] else pure NotRun
1014.16 s
[opt-env-conf-test]
1014.18 s
[opt-env-conf-test] case mArg of
1014.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:292:19-37
1014.18 s
[opt-env-conf-test] @@ -289,16 +289,10 @@
1014.18 s
[opt-env-conf-test] Nothing -> pure NotRun
1014.18 s
[opt-env-conf-test] Just a -> do
1014.19 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1014.19 s
[opt-env-conf-test] case mS of
1014.19 s
[opt-env-conf-test] - Nothing -> do
1014.19 s
[opt-env-conf-test] - debug
1014.19 s
[opt-env-conf-test] - [ "could not set based on switch, no switch: ",
1014.19 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1014.19 s
[opt-env-conf-test] - ]
1014.19 s
[opt-env-conf-test] - pure NotFound
1014.19 s
[opt-env-conf-test] Just () -> cap $ do
1014.19 s
[opt-env-conf-test] debug ["set based on switch."]
1014.19 s
[opt-env-conf-test] pure $ Found a
1014.19 s
[opt-env-conf-test]
1014.19 s
[opt-env-conf-test] case mSwitch of
1014.19 s
[opt-env-conf-test] Found a -> do
1014.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:292:19-37
1014.19 s
[opt-env-conf-test] @@ -289,16 +289,13 @@
1014.19 s
[opt-env-conf-test] Nothing -> pure NotRun
1014.19 s
[opt-env-conf-test] Just a -> do
1014.19 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1014.19 s
[opt-env-conf-test] case mS of
1014.19 s
[opt-env-conf-test] Nothing -> do
1014.19 s
[opt-env-conf-test] debug
1014.19 s
[opt-env-conf-test] [ "could not set based on switch, no switch: ",
1014.19 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1014.19 s
[opt-env-conf-test] ]
1014.19 s
[opt-env-conf-test] pure NotFound
1014.19 s
[opt-env-conf-test] - Just () -> cap $ do
1014.19 s
[opt-env-conf-test] - debug ["set based on switch."]
1014.19 s
[opt-env-conf-test] - pure $ Found a
1014.20 s
[opt-env-conf-test]
1014.20 s
[opt-env-conf-test] case mSwitch of
1014.20 s
[opt-env-conf-test] Found a -> do
1014.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:288:26-37
1014.20 s
[opt-env-conf-test] @@ -285,20 +285,19 @@
1014.20 s
[opt-env-conf-test] markParsed
1014.20 s
[opt-env-conf-test] pure a
1014.20 s
[opt-env-conf-test] _ -> do
1014.20 s
[opt-env-conf-test] mSwitch <- case settingSwitchValue of
1014.20 s
[opt-env-conf-test] - Nothing -> pure NotRun
1014.20 s
[opt-env-conf-test] Just a -> do
1014.20 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1014.20 s
[opt-env-conf-test] case mS of
1014.20 s
[opt-env-conf-test] Nothing -> do
1014.20 s
[opt-env-conf-test] debug
1014.20 s
[opt-env-conf-test] [ "could not set based on switch, no switch: ",
1014.20 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1014.20 s
[opt-env-conf-test] ]
1014.20 s
[opt-env-conf-test] pure NotFound
1014.20 s
[opt-env-conf-test] Just () -> cap $ do
1014.20 s
[opt-env-conf-test] debug ["set based on switch."]
1014.20 s
[opt-env-conf-test] pure $ Found a
1014.20 s
[opt-env-conf-test]
1014.20 s
[opt-env-conf-test] case mSwitch of
1014.20 s
[opt-env-conf-test] Found a -> do
1014.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:288:26-37
1014.20 s
[opt-env-conf-test] @@ -285,20 +285,8 @@
1014.20 s
[opt-env-conf-test] markParsed
1014.20 s
[opt-env-conf-test] pure a
1014.20 s
[opt-env-conf-test] _ -> do
1014.20 s
[opt-env-conf-test] mSwitch <- case settingSwitchValue of
1014.20 s
[opt-env-conf-test] Nothing -> pure NotRun
1014.20 s
[opt-env-conf-test] - Just a -> do
1014.20 s
[opt-env-conf-test] - mS <- ppSwitch settingDasheds
1014.20 s
[opt-env-conf-test] - case mS of
1014.20 s
[opt-env-conf-test] - Nothing -> do
1014.20 s
[opt-env-conf-test] - debug
1014.20 s
[opt-env-conf-test] - [ "could not set based on switch, no switch: ",
1014.20 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1014.20 s
[opt-env-conf-test] - ]
1014.20 s
[opt-env-conf-test] - pure NotFound
1014.20 s
[opt-env-conf-test] - Just () -> cap $ do
1014.21 s
[opt-env-conf-test] - debug ["set based on switch."]
1014.21 s
[opt-env-conf-test] - pure $ Found a
1014.21 s
[opt-env-conf-test]
1014.21 s
[opt-env-conf-test] case mSwitch of
1014.21 s
[opt-env-conf-test] Found a -> do
1014.21 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:309:24-40
1014.21 s
[opt-env-conf-test] @@ -306,7 +306,7 @@
1014.21 s
[opt-env-conf-test] pure a
1014.21 s
[opt-env-conf-test] _ -> do
1014.21 s
[opt-env-conf-test] mOpt <-
1014.21 s
[opt-env-conf-test] - if settingTryOption
1014.21 s
[opt-env-conf-test] + if True
1014.21 s
[opt-env-conf-test] then do
1014.21 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1014.21 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1014.21 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:309:24-40
1014.21 s
[opt-env-conf-test] @@ -306,7 +306,7 @@
1014.21 s
[opt-env-conf-test] pure a
1014.21 s
[opt-env-conf-test] _ -> do
1014.21 s
[opt-env-conf-test] mOpt <-
1014.21 s
[opt-env-conf-test] - if settingTryOption
1014.21 s
[opt-env-conf-test] + if False
1014.21 s
[opt-env-conf-test] then do
1014.21 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1014.21 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1014.21 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:309:24-40
1014.21 s
[opt-env-conf-test] @@ -306,7 +306,7 @@
1014.21 s
[opt-env-conf-test] pure a
1014.21 s
[opt-env-conf-test] _ -> do
1014.21 s
[opt-env-conf-test] mOpt <-
1014.21 s
[opt-env-conf-test] - if settingTryOption
1014.21 s
[opt-env-conf-test] + if not settingTryOption
1014.21 s
[opt-env-conf-test] then do
1014.21 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1014.21 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1014.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:323:29-47
1014.21 s
[opt-env-conf-test] @@ -320,14 +320,13 @@
1014.21 s
[opt-env-conf-test] ]
1014.21 s
[opt-env-conf-test] pure NotFound
1014.21 s
[opt-env-conf-test] Just optionStr -> cap $
1014.21 s
[opt-env-conf-test] case tryReaders rs optionStr of
1014.21 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1014.21 s
[opt-env-conf-test] Right a -> do
1014.21 s
[opt-env-conf-test] debug
1014.21 s
[opt-env-conf-test] [ "set based on option: ",
1014.21 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1014.21 s
[opt-env-conf-test] ]
1014.21 s
[opt-env-conf-test] pure $ Found a
1014.21 s
[opt-env-conf-test] else pure NotRun
1014.21 s
[opt-env-conf-test]
1014.21 s
[opt-env-conf-test] case mOpt of
1014.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:323:29-47
1014.21 s
[opt-env-conf-test] @@ -320,14 +320,8 @@
1014.21 s
[opt-env-conf-test] ]
1014.21 s
[opt-env-conf-test] pure NotFound
1014.21 s
[opt-env-conf-test] Just optionStr -> cap $
1014.22 s
[opt-env-conf-test] case tryReaders rs optionStr of
1014.22 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1014.22 s
[opt-env-conf-test] - Right a -> do
1014.22 s
[opt-env-conf-test] - debug
1014.22 s
[opt-env-conf-test] - [ "set based on option: ",
1014.22 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1014.22 s
[opt-env-conf-test] - ]
1014.22 s
[opt-env-conf-test] - pure $ Found a
1014.22 s
[opt-env-conf-test] else pure NotRun
1014.22 s
[opt-env-conf-test]
1014.22 s
[opt-env-conf-test] case mOpt of
1014.22 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:315:25-47
1014.22 s
[opt-env-conf-test] @@ -312,22 +312,16 @@
1014.22 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1014.22 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1014.22 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1014.22 s
[opt-env-conf-test] case mS of
1014.22 s
[opt-env-conf-test] - Nothing -> do
1014.22 s
[opt-env-conf-test] - debug
1014.22 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1014.22 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1014.22 s
[opt-env-conf-test] - ]
1014.22 s
[opt-env-conf-test] - pure NotFound
1014.22 s
[opt-env-conf-test] Just optionStr -> cap $
1014.22 s
[opt-env-conf-test] case tryReaders rs optionStr of
1014.22 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1014.22 s
[opt-env-conf-test] Right a -> do
1014.22 s
[opt-env-conf-test] debug
1014.22 s
[opt-env-conf-test] [ "set based on option: ",
1014.22 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1014.22 s
[opt-env-conf-test] ]
1014.22 s
[opt-env-conf-test] pure $ Found a
1014.22 s
[opt-env-conf-test] else pure NotRun
1014.22 s
[opt-env-conf-test]
1014.22 s
[opt-env-conf-test] case mOpt of
1014.22 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:315:25-47
1014.22 s
[opt-env-conf-test] @@ -312,22 +312,13 @@
1014.22 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1014.22 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1014.22 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1014.22 s
[opt-env-conf-test] case mS of
1014.22 s
[opt-env-conf-test] Nothing -> do
1014.22 s
[opt-env-conf-test] debug
1014.22 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1014.22 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1014.22 s
[opt-env-conf-test] ]
1014.22 s
[opt-env-conf-test] pure NotFound
1014.22 s
[opt-env-conf-test] - Just optionStr -> cap $
1020.17 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1020.17 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1020.20 s
[opt-env-conf-test] - Right a -> do
1020.20 s
[opt-env-conf-test] - debug
1020.20 s
[opt-env-conf-test] - [ "set based on option: ",
1020.20 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1020.20 s
[opt-env-conf-test] - ]
1020.20 s
[opt-env-conf-test] - pure $ Found a
1020.20 s
[opt-env-conf-test] else pure NotRun
1020.20 s
[opt-env-conf-test]
1020.20 s
[opt-env-conf-test] case mOpt of
1020.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
1020.20 s
[opt-env-conf-test] @@ -349,14 +349,13 @@
1020.20 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1020.20 s
[opt-env-conf-test] -- result.
1020.20 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1020.20 s
[opt-env-conf-test] case tryReaders rs varStr of
1020.20 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1020.21 s
[opt-env-conf-test] Right a -> do
1020.21 s
[opt-env-conf-test] debug
1020.21 s
[opt-env-conf-test] [ "set based on env: ",
1020.21 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1020.21 s
[opt-env-conf-test] ]
1020.21 s
[opt-env-conf-test] pure a
1020.21 s
[opt-env-conf-test] case listToMaybe results of
1020.21 s
[opt-env-conf-test] Nothing -> do
1020.21 s
[opt-env-conf-test] debug
1020.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
1020.21 s
[opt-env-conf-test] @@ -349,14 +349,8 @@
1020.21 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1020.21 s
[opt-env-conf-test] -- result.
1020.21 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1020.21 s
[opt-env-conf-test] case tryReaders rs varStr of
1020.21 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1020.21 s
[opt-env-conf-test] - Right a -> do
1020.21 s
[opt-env-conf-test] - debug
1020.21 s
[opt-env-conf-test] - [ "set based on env: ",
1020.21 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1020.21 s
[opt-env-conf-test] - ]
1020.21 s
[opt-env-conf-test] - pure a
1020.21 s
[opt-env-conf-test] case listToMaybe results of
1020.22 s
[opt-env-conf-test] Nothing -> do
1020.22 s
[opt-env-conf-test] debug
1020.22 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:216:25-85
1020.22 s
[opt-env-conf-test] @@ -213,7 +213,6 @@
1020.22 s
[opt-env-conf-test] case mDefaultCommand of
1020.22 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1020.22 s
[opt-env-conf-test] Just dc -> do
1020.22 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1020.22 s
[opt-env-conf-test] go $ commandParser dc
1020.22 s
[opt-env-conf-test] Just s -> do
1020.22 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1020.22 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:197:56-66
1020.22 s
[opt-env-conf-test] @@ -194,7 +194,7 @@
1020.22 s
[opt-env-conf-test] case errOrB of
1020.22 s
[opt-env-conf-test] Left err -> do
1020.22 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1020.22 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
1020.22 s
[opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed True err
1020.22 s
[opt-env-conf-test] Right b -> do
1020.22 s
[opt-env-conf-test] debug ["succeeded"]
1020.22 s
[opt-env-conf-test] pure b
1020.22 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
1020.22 s
[opt-env-conf-test] @@ -357,14 +357,13 @@
1020.22 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1020.22 s
[opt-env-conf-test] ]
1020.22 s
[opt-env-conf-test] pure a
1020.22 s
[opt-env-conf-test] case listToMaybe results of
1020.22 s
[opt-env-conf-test] Nothing -> do
1020.22 s
[opt-env-conf-test] debug
1020.22 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1020.22 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1020.22 s
[opt-env-conf-test] ]
1020.22 s
[opt-env-conf-test] pure NotFound
1020.22 s
[opt-env-conf-test] - Just a -> pure $ Found a
1020.23 s
[opt-env-conf-test]
1020.23 s
[opt-env-conf-test] case mEnv of
1020.23 s
[opt-env-conf-test] Found a -> do
1020.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:490:19-27
1020.23 s
[opt-env-conf-test] @@ -487,9 +487,8 @@
1020.23 s
[opt-env-conf-test] Right a -> Right a
1020.23 s
[opt-env-conf-test] go' errs = \case
1020.23 s
[opt-env-conf-test] [] -> Left errs
1020.23 s
[opt-env-conf-test] (r : rl) -> case runReader r s of
1020.23 s
[opt-env-conf-test] - Left err -> go' (err <| errs) rl
1020.23 s
[opt-env-conf-test] Right a -> Right a
1020.23 s
[opt-env-conf-test]
1020.23 s
[opt-env-conf-test] runHelpParser ::
1020.23 s
[opt-env-conf-test] -- DebugMode
1020.23 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:196:25-83
1020.23 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
1020.23 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1020.23 s
[opt-env-conf-test] case errOrB of
1020.23 s
[opt-env-conf-test] Left err -> do
1020.23 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1020.23 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1020.23 s
[opt-env-conf-test] Right b -> do
1020.23 s
[opt-env-conf-test] debug ["succeeded"]
1020.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
1020.23 s
[opt-env-conf-test] @@ -336,35 +336,34 @@
1020.23 s
[opt-env-conf-test] pure a
1020.23 s
[opt-env-conf-test] _ -> do
1020.23 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1020.23 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1020.23 s
[opt-env-conf-test] - Nothing -> pure NotRun
1020.23 s
[opt-env-conf-test] Just ne -> do
1020.23 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1020.23 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1020.23 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1020.23 s
[opt-env-conf-test] es <- asks ppEnvEnv
1020.23 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1020.23 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1020.23 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1020.23 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1020.23 s
[opt-env-conf-test] -- result.
1020.23 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1020.24 s
[opt-env-conf-test] case tryReaders rs varStr of
1020.24 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1020.24 s
[opt-env-conf-test] Right a -> do
1020.24 s
[opt-env-conf-test] debug
1020.24 s
[opt-env-conf-test] [ "set based on env: ",
1020.24 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1020.24 s
[opt-env-conf-test] ]
1020.24 s
[opt-env-conf-test] pure a
1020.24 s
[opt-env-conf-test] case listToMaybe results of
1020.24 s
[opt-env-conf-test] Nothing -> do
1020.24 s
[opt-env-conf-test] debug
1020.24 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1020.24 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1020.24 s
[opt-env-conf-test] ]
1020.24 s
[opt-env-conf-test] pure NotFound
1020.24 s
[opt-env-conf-test] Just a -> pure $ Found a
1020.24 s
[opt-env-conf-test]
1020.24 s
[opt-env-conf-test] case mEnv of
1020.24 s
[opt-env-conf-test] Found a -> do
1020.24 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:196:72-82
1020.24 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
1020.24 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1020.24 s
[opt-env-conf-test] case errOrB of
1020.24 s
[opt-env-conf-test] Left err -> do
1020.24 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1020.24 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show not forgivable]
1020.24 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1020.24 s
[opt-env-conf-test] Right b -> do
1020.24 s
[opt-env-conf-test] debug ["succeeded"]
1020.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:197:56-66
1020.24 s
[opt-env-conf-test] @@ -194,7 +194,7 @@
1020.24 s
[opt-env-conf-test] case errOrB of
1020.24 s
[opt-env-conf-test] Left err -> do
1020.24 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1020.24 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
1020.24 s
[opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed False err
1020.24 s
[opt-env-conf-test] Right b -> do
1020.24 s
[opt-env-conf-test] debug ["succeeded"]
1020.25 s
[opt-env-conf-test] pure b
1020.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:196:25-83
1020.25 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
1020.25 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1020.25 s
[opt-env-conf-test] case errOrB of
1020.25 s
[opt-env-conf-test] Left err -> do
1020.25 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1020.25 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1020.25 s
[opt-env-conf-test] Right b -> do
1020.25 s
[opt-env-conf-test] debug ["succeeded"]
1025.22 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
1025.26 s
[opt-env-conf-test] @@ -385,9 +385,8 @@
1025.26 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1025.26 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1025.26 s
[opt-env-conf-test] Nothing -> do
1025.26 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1025.26 s
[opt-env-conf-test] Nothing -> pure Nothing
1025.26 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1025.26 s
[opt-env-conf-test] Just neRest -> do
1025.26 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1025.26 s
[opt-env-conf-test] case mO' of
1025.26 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:196:72-82
1025.26 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
1025.26 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1025.26 s
[opt-env-conf-test] case errOrB of
1025.26 s
[opt-env-conf-test] Left err -> do
1025.26 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1025.26 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show True]
1025.26 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1025.26 s
[opt-env-conf-test] Right b -> do
1025.26 s
[opt-env-conf-test] debug ["succeeded"]
1025.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
1025.26 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
1025.26 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1025.26 s
[opt-env-conf-test] Just neRest -> do
1025.26 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1025.27 s
[opt-env-conf-test] case mO' of
1025.27 s
[opt-env-conf-test] Nothing -> pure Nothing
1025.27 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1025.27 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1025.27 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1025.27 s
[opt-env-conf-test] Right mV -> case mV of
1025.27 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:152:20-112
1025.27 s
[opt-env-conf-test] @@ -149,32 +149,31 @@
1025.27 s
[opt-env-conf-test] pure (a :| as)
1025.27 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1025.27 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1025.27 s
[opt-env-conf-test] ppIndent $ do
1025.27 s
[opt-env-conf-test] e <- ask
1025.27 s
[opt-env-conf-test] s <- get
1025.27 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
1025.27 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
1025.27 s
[opt-env-conf-test] - put s'
1025.27 s
[opt-env-conf-test] case result of
1025.27 s
[opt-env-conf-test] Success a -> pure a
1025.27 s
[opt-env-conf-test] Failure errs -> do
1025.27 s
[opt-env-conf-test] if not $ all errorIsForgivable errs
1025.27 s
[opt-env-conf-test] then ppErrors' errs
1025.27 s
[opt-env-conf-test] else do
1025.27 s
[opt-env-conf-test] -- Settings available below
1025.27 s
[opt-env-conf-test] let settingsMap = parserSettingsMap p'
1025.27 s
[opt-env-conf-test] -- Settings that have been parsed
1025.27 s
[opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
1025.27 s
[opt-env-conf-test] -- Settings that have been parsed below
1025.27 s
[opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
1025.27 s
[opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
1025.27 s
[opt-env-conf-test] -- (this is the case because we're in the failure branch)
1025.27 s
[opt-env-conf-test] -- with only forgivable errors
1025.27 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1025.27 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1025.27 s
[opt-env-conf-test] if null parsedSettingsMap
1025.27 s
[opt-env-conf-test] then ppErrors' errs
1025.27 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1025.27 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1025.27 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1025.27 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
1025.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
1025.27 s
[opt-env-conf-test] @@ -383,16 +383,11 @@
1025.27 s
[opt-env-conf-test] Just obj -> do
1025.27 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1025.27 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1025.28 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1025.28 s
[opt-env-conf-test] Nothing -> do
1025.28 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1025.28 s
[opt-env-conf-test] Nothing -> pure Nothing
1025.28 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1025.28 s
[opt-env-conf-test] - Just neRest -> do
1025.28 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1025.28 s
[opt-env-conf-test] - case mO' of
1025.28 s
[opt-env-conf-test] - Nothing -> pure Nothing
1025.28 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1025.28 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1025.28 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1025.28 s
[opt-env-conf-test] Right mV -> case mV of
1025.28 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
1025.28 s
[opt-env-conf-test] @@ -404,19 +404,13 @@
1025.28 s
[opt-env-conf-test] pure Nothing
1025.28 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1025.28 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1025.28 s
[opt-env-conf-test] Right mA -> case mA of
1025.28 s
[opt-env-conf-test] - Nothing -> do
1025.28 s
[opt-env-conf-test] - debug
1025.28 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1025.28 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1025.28 s
[opt-env-conf-test] - ]
1025.28 s
[opt-env-conf-test] - pure Nothing
1025.28 s
[opt-env-conf-test] Just a -> do
1025.28 s
[opt-env-conf-test] debug
1025.28 s
[opt-env-conf-test] [ "set based on config value: ",
1025.28 s
[opt-env-conf-test] chunk $ T.pack $ show v
1025.28 s
[opt-env-conf-test] ]
1025.28 s
[opt-env-conf-test] pure $ Just a
1025.28 s
[opt-env-conf-test] let toRes = \case
1025.28 s
[opt-env-conf-test] Nothing -> NotFound
1025.28 s
[opt-env-conf-test] Just a -> Found a
1025.28 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
1025.28 s
[opt-env-conf-test] @@ -404,19 +404,13 @@
1025.28 s
[opt-env-conf-test] pure Nothing
1025.28 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1025.29 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1025.29 s
[opt-env-conf-test] Right mA -> case mA of
1025.29 s
[opt-env-conf-test] Nothing -> do
1025.29 s
[opt-env-conf-test] debug
1025.29 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1025.29 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1025.29 s
[opt-env-conf-test] ]
1025.29 s
[opt-env-conf-test] pure Nothing
1025.29 s
[opt-env-conf-test] - Just a -> do
1025.29 s
[opt-env-conf-test] - debug
1025.29 s
[opt-env-conf-test] - [ "set based on config value: ",
1025.29 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1025.29 s
[opt-env-conf-test] - ]
1026.49 s
[opt-env-conf-test] - pure $ Just a
1026.49 s
[opt-env-conf-test] let toRes = \case
1026.49 s
[opt-env-conf-test] Nothing -> NotFound
1026.49 s
[opt-env-conf-test] Just a -> Found a
1026.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1026.49 s
[opt-env-conf-test] @@ -402,21 +402,20 @@
1026.49 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1026.49 s
[opt-env-conf-test] ]
1026.49 s
[opt-env-conf-test] pure Nothing
1026.49 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1026.49 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1026.49 s
[opt-env-conf-test] Right mA -> case mA of
1026.49 s
[opt-env-conf-test] Nothing -> do
1026.49 s
[opt-env-conf-test] debug
1026.50 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1026.50 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1026.50 s
[opt-env-conf-test] ]
1026.50 s
[opt-env-conf-test] pure Nothing
1026.50 s
[opt-env-conf-test] Just a -> do
1026.50 s
[opt-env-conf-test] debug
1026.50 s
[opt-env-conf-test] [ "set based on config value: ",
1026.50 s
[opt-env-conf-test] chunk $ T.pack $ show v
1026.50 s
[opt-env-conf-test] ]
1026.50 s
[opt-env-conf-test] pure $ Just a
1026.50 s
[opt-env-conf-test] let toRes = \case
1026.50 s
[opt-env-conf-test] Nothing -> NotFound
1026.50 s
[opt-env-conf-test] Just a -> Found a
1026.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1026.50 s
[opt-env-conf-test] @@ -402,21 +402,8 @@
1026.50 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1026.50 s
[opt-env-conf-test] ]
1026.50 s
[opt-env-conf-test] pure Nothing
1026.50 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1026.50 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1026.50 s
[opt-env-conf-test] - Right mA -> case mA of
1026.50 s
[opt-env-conf-test] - Nothing -> do
1026.50 s
[opt-env-conf-test] - debug
1026.50 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1026.50 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1026.50 s
[opt-env-conf-test] - ]
1026.50 s
[opt-env-conf-test] - pure Nothing
1026.50 s
[opt-env-conf-test] - Just a -> do
1026.50 s
[opt-env-conf-test] - debug
1026.50 s
[opt-env-conf-test] - [ "set based on config value: ",
1026.50 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1026.50 s
[opt-env-conf-test] - ]
1026.50 s
[opt-env-conf-test] - pure $ Just a
1026.51 s
[opt-env-conf-test] let toRes = \case
1026.51 s
[opt-env-conf-test] Nothing -> NotFound
1026.51 s
[opt-env-conf-test] Just a -> Found a
1026.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
1026.51 s
[opt-env-conf-test] @@ -395,28 +395,22 @@
1026.51 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1026.51 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1026.51 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1026.51 s
[opt-env-conf-test] Right mV -> case mV of
1026.51 s
[opt-env-conf-test] - Nothing -> do
1026.51 s
[opt-env-conf-test] - debug
1026.51 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1026.51 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1026.51 s
[opt-env-conf-test] - ]
1026.51 s
[opt-env-conf-test] - pure Nothing
1026.51 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1026.51 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1026.51 s
[opt-env-conf-test] Right mA -> case mA of
1026.51 s
[opt-env-conf-test] Nothing -> do
1026.51 s
[opt-env-conf-test] debug
1026.51 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1026.51 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1026.51 s
[opt-env-conf-test] ]
1026.51 s
[opt-env-conf-test] pure Nothing
1026.51 s
[opt-env-conf-test] Just a -> do
1026.51 s
[opt-env-conf-test] debug
1026.51 s
[opt-env-conf-test] [ "set based on config value: ",
1026.51 s
[opt-env-conf-test] chunk $ T.pack $ show v
1026.51 s
[opt-env-conf-test] ]
1026.69 s
[opt-env-conf-test] pure $ Just a
1026.69 s
[opt-env-conf-test] let toRes = \case
1026.69 s
[opt-env-conf-test] Nothing -> NotFound
1026.69 s
[opt-env-conf-test] Just a -> Found a
1026.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1026.69 s
[opt-env-conf-test] @@ -393,30 +393,8 @@
1026.69 s
[opt-env-conf-test] case mO' of
1026.69 s
[opt-env-conf-test] Nothing -> pure Nothing
1026.69 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1026.70 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1026.70 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1026.70 s
[opt-env-conf-test] - Right mV -> case mV of
1026.70 s
[opt-env-conf-test] - Nothing -> do
1026.70 s
[opt-env-conf-test] - debug
1026.70 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1026.70 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1026.70 s
[opt-env-conf-test] - ]
1026.70 s
[opt-env-conf-test] - pure Nothing
1026.70 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1026.70 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1026.70 s
[opt-env-conf-test] - Right mA -> case mA of
1026.70 s
[opt-env-conf-test] - Nothing -> do
1026.70 s
[opt-env-conf-test] - debug
1026.70 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1026.70 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1026.70 s
[opt-env-conf-test] - ]
1026.70 s
[opt-env-conf-test] - pure Nothing
1026.70 s
[opt-env-conf-test] - Just a -> do
1027.99 s
[opt-env-conf-test] - debug
1027.99 s
[opt-env-conf-test] - [ "set based on config value: ",
1027.99 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1027.99 s
[opt-env-conf-test] - ]
1027.99 s
[opt-env-conf-test] - pure $ Just a
1027.99 s
[opt-env-conf-test] let toRes = \case
1027.99 s
[opt-env-conf-test] Nothing -> NotFound
1027.99 s
[opt-env-conf-test] Just a -> Found a
1027.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
1027.99 s
[opt-env-conf-test] @@ -424,9 +424,8 @@
1027.99 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1027.99 s
[opt-env-conf-test] Just ne -> do
1027.99 s
[opt-env-conf-test] res <- goConfSet confSet
1027.99 s
[opt-env-conf-test] case res of
1027.99 s
[opt-env-conf-test] - Just a -> pure $ Found a
1027.99 s
[opt-env-conf-test] Nothing -> goConfSets ne
1027.99 s
[opt-env-conf-test] goConfSets confSets
1027.99 s
[opt-env-conf-test] case mConf of
1027.99 s
[opt-env-conf-test] Found a -> do
1027.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
1027.99 s
[opt-env-conf-test] @@ -395,28 +395,13 @@
1027.99 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1027.99 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1027.99 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1027.99 s
[opt-env-conf-test] Right mV -> case mV of
1028.00 s
[opt-env-conf-test] Nothing -> do
1028.00 s
[opt-env-conf-test] debug
1028.00 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1028.00 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1028.00 s
[opt-env-conf-test] ]
1028.00 s
[opt-env-conf-test] pure Nothing
1028.00 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1028.00 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1028.00 s
[opt-env-conf-test] - Right mA -> case mA of
1028.00 s
[opt-env-conf-test] - Nothing -> do
1028.00 s
[opt-env-conf-test] - debug
1028.00 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1028.00 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1028.00 s
[opt-env-conf-test] - ]
1028.00 s
[opt-env-conf-test] - pure Nothing
1028.00 s
[opt-env-conf-test] - Just a -> do
1028.00 s
[opt-env-conf-test] - debug
1028.00 s
[opt-env-conf-test] - [ "set based on config value: ",
1028.00 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1028.00 s
[opt-env-conf-test] - ]
1028.00 s
[opt-env-conf-test] - pure $ Just a
1028.00 s
[opt-env-conf-test] let toRes = \case
1028.00 s
[opt-env-conf-test] Nothing -> NotFound
1028.00 s
[opt-env-conf-test] Just a -> Found a
1028.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1028.00 s
[opt-env-conf-test] @@ -393,30 +393,29 @@
1028.00 s
[opt-env-conf-test] case mO' of
1028.00 s
[opt-env-conf-test] Nothing -> pure Nothing
1028.00 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1028.00 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1028.00 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1028.00 s
[opt-env-conf-test] Right mV -> case mV of
1028.00 s
[opt-env-conf-test] Nothing -> do
1028.00 s
[opt-env-conf-test] debug
1028.00 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1028.00 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1028.00 s
[opt-env-conf-test] ]
1028.00 s
[opt-env-conf-test] pure Nothing
1028.00 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1028.01 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1028.01 s
[opt-env-conf-test] Right mA -> case mA of
1028.01 s
[opt-env-conf-test] Nothing -> do
1028.01 s
[opt-env-conf-test] debug
1028.01 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1028.01 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1028.01 s
[opt-env-conf-test] ]
1028.01 s
[opt-env-conf-test] pure Nothing
1028.01 s
[opt-env-conf-test] Just a -> do
1028.01 s
[opt-env-conf-test] debug
1028.01 s
[opt-env-conf-test] [ "set based on config value: ",
1029.38 s
[opt-env-conf-test] chunk $ T.pack $ show v
1029.38 s
[opt-env-conf-test] ]
1029.38 s
[opt-env-conf-test] pure $ Just a
1029.38 s
[opt-env-conf-test] let toRes = \case
1029.38 s
[opt-env-conf-test] Nothing -> NotFound
1029.38 s
[opt-env-conf-test] Just a -> Found a
1029.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
1029.38 s
[opt-env-conf-test] @@ -424,9 +424,8 @@
1029.38 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1029.38 s
[opt-env-conf-test] Just ne -> do
1029.38 s
[opt-env-conf-test] res <- goConfSet confSet
1029.38 s
[opt-env-conf-test] case res of
1029.38 s
[opt-env-conf-test] Just a -> pure $ Found a
1029.38 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1029.38 s
[opt-env-conf-test] goConfSets confSets
1029.38 s
[opt-env-conf-test] case mConf of
1029.38 s
[opt-env-conf-test] Found a -> do
1029.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
1029.38 s
[opt-env-conf-test] @@ -420,13 +420,12 @@
1029.38 s
[opt-env-conf-test] let toRes = \case
1029.38 s
[opt-env-conf-test] Nothing -> NotFound
1029.38 s
[opt-env-conf-test] Just a -> Found a
1029.38 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1029.38 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1029.38 s
[opt-env-conf-test] Just ne -> do
1029.38 s
[opt-env-conf-test] res <- goConfSet confSet
1029.38 s
[opt-env-conf-test] case res of
1029.38 s
[opt-env-conf-test] Just a -> pure $ Found a
1029.38 s
[opt-env-conf-test] Nothing -> goConfSets ne
1029.38 s
[opt-env-conf-test] goConfSets confSets
1029.38 s
[opt-env-conf-test] case mConf of
1029.38 s
[opt-env-conf-test] Found a -> do
1029.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
1029.38 s
[opt-env-conf-test] @@ -420,13 +420,8 @@
1029.38 s
[opt-env-conf-test] let toRes = \case
1029.38 s
[opt-env-conf-test] Nothing -> NotFound
1029.38 s
[opt-env-conf-test] Just a -> Found a
1029.38 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1029.38 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1029.38 s
[opt-env-conf-test] - Just ne -> do
1029.38 s
[opt-env-conf-test] - res <- goConfSet confSet
1029.38 s
[opt-env-conf-test] - case res of
1029.39 s
[opt-env-conf-test] - Just a -> pure $ Found a
1029.39 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1029.39 s
[opt-env-conf-test] goConfSets confSets
1029.39 s
[opt-env-conf-test] case mConf of
1029.39 s
[opt-env-conf-test] Found a -> do
1029.39 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
1029.39 s
[opt-env-conf-test] @@ -376,58 +376,55 @@
1029.39 s
[opt-env-conf-test] Nothing -> pure NotRun
1029.39 s
[opt-env-conf-test] Just confSets -> do
1029.39 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1029.39 s
[opt-env-conf-test] case mObj of
1029.39 s
[opt-env-conf-test] - Nothing -> do
1029.39 s
[opt-env-conf-test] - debug ["no config object to set from"]
1029.39 s
[opt-env-conf-test] - pure NotFound
1029.39 s
[opt-env-conf-test] Just obj -> do
1029.39 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1029.39 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1029.39 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1029.39 s
[opt-env-conf-test] Nothing -> do
1029.39 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1029.39 s
[opt-env-conf-test] Nothing -> pure Nothing
1029.39 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1029.39 s
[opt-env-conf-test] Just neRest -> do
1029.39 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1029.39 s
[opt-env-conf-test] case mO' of
1029.39 s
[opt-env-conf-test] Nothing -> pure Nothing
1029.39 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1029.39 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1029.39 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1029.39 s
[opt-env-conf-test] Right mV -> case mV of
1029.39 s
[opt-env-conf-test] Nothing -> do
1029.39 s
[opt-env-conf-test] debug
1029.39 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1029.39 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1029.39 s
[opt-env-conf-test] ]
1029.39 s
[opt-env-conf-test] pure Nothing
1029.39 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1029.39 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1029.39 s
[opt-env-conf-test] Right mA -> case mA of
1029.39 s
[opt-env-conf-test] Nothing -> do
1029.39 s
[opt-env-conf-test] debug
1029.39 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1029.39 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1029.39 s
[opt-env-conf-test] ]
1029.39 s
[opt-env-conf-test] pure Nothing
1029.39 s
[opt-env-conf-test] Just a -> do
1029.39 s
[opt-env-conf-test] debug
1029.39 s
[opt-env-conf-test] [ "set based on config value: ",
1029.39 s
[opt-env-conf-test] chunk $ T.pack $ show v
1029.39 s
[opt-env-conf-test] ]
1029.39 s
[opt-env-conf-test] pure $ Just a
1029.39 s
[opt-env-conf-test] let toRes = \case
1029.39 s
[opt-env-conf-test] Nothing -> NotFound
1029.39 s
[opt-env-conf-test] Just a -> Found a
1029.39 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1029.39 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1029.39 s
[opt-env-conf-test] Just ne -> do
1029.39 s
[opt-env-conf-test] res <- goConfSet confSet
1029.40 s
[opt-env-conf-test] case res of
1029.40 s
[opt-env-conf-test] Just a -> pure $ Found a
1029.40 s
[opt-env-conf-test] Nothing -> goConfSets ne
1029.49 s
[opt-env-conf-test] goConfSets confSets
1029.49 s
[opt-env-conf-test] case mConf of
1029.49 s
[opt-env-conf-test] Found a -> do
1029.49 s
[opt-env-conf-test] markParsed
1029.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
1029.49 s
[opt-env-conf-test] @@ -376,58 +376,10 @@
1029.49 s
[opt-env-conf-test] Nothing -> pure NotRun
1029.49 s
[opt-env-conf-test] Just confSets -> do
1029.49 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1029.49 s
[opt-env-conf-test] case mObj of
1029.50 s
[opt-env-conf-test] Nothing -> do
1029.50 s
[opt-env-conf-test] debug ["no config object to set from"]
1029.50 s
[opt-env-conf-test] pure NotFound
1029.50 s
[opt-env-conf-test] - Just obj -> do
1029.50 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1029.50 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1029.50 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1029.50 s
[opt-env-conf-test] - Nothing -> do
1029.50 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1029.50 s
[opt-env-conf-test] - Nothing -> pure Nothing
1029.50 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1029.50 s
[opt-env-conf-test] - Just neRest -> do
1029.50 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1029.50 s
[opt-env-conf-test] - case mO' of
1029.50 s
[opt-env-conf-test] - Nothing -> pure Nothing
1029.50 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1029.50 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1029.50 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1029.50 s
[opt-env-conf-test] - Right mV -> case mV of
1029.50 s
[opt-env-conf-test] - Nothing -> do
1029.50 s
[opt-env-conf-test] - debug
1029.50 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1029.50 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1029.50 s
[opt-env-conf-test] - ]
1029.50 s
[opt-env-conf-test] - pure Nothing
1029.50 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1029.50 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1029.50 s
[opt-env-conf-test] - Right mA -> case mA of
1029.51 s
[opt-env-conf-test] - Nothing -> do
1029.51 s
[opt-env-conf-test] - debug
1029.51 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1029.51 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1029.51 s
[opt-env-conf-test] - ]
1029.51 s
[opt-env-conf-test] - pure Nothing
1029.51 s
[opt-env-conf-test] - Just a -> do
1029.51 s
[opt-env-conf-test] - debug
1029.51 s
[opt-env-conf-test] - [ "set based on config value: ",
1029.51 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1029.51 s
[opt-env-conf-test] - ]
1029.51 s
[opt-env-conf-test] - pure $ Just a
1029.51 s
[opt-env-conf-test] - let toRes = \case
1029.51 s
[opt-env-conf-test] - Nothing -> NotFound
1029.51 s
[opt-env-conf-test] - Just a -> Found a
1029.51 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1029.51 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1030.17 s
[opt-env-conf-test] - Just ne -> do
1030.17 s
[opt-env-conf-test] - res <- goConfSet confSet
1030.17 s
[opt-env-conf-test] - case res of
1030.17 s
[opt-env-conf-test] - Just a -> pure $ Found a
1030.17 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1030.17 s
[opt-env-conf-test] - goConfSets confSets
1030.17 s
[opt-env-conf-test] case mConf of
1030.17 s
[opt-env-conf-test] Found a -> do
1030.17 s
[opt-env-conf-test] markParsed
1030.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
1030.17 s
[opt-env-conf-test] @@ -372,62 +372,61 @@
1030.17 s
[opt-env-conf-test] pure a
1030.17 s
[opt-env-conf-test] _ -> do
1030.17 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1030.17 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1030.17 s
[opt-env-conf-test] - Nothing -> pure NotRun
1030.17 s
[opt-env-conf-test] Just confSets -> do
1030.17 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1030.17 s
[opt-env-conf-test] case mObj of
1030.17 s
[opt-env-conf-test] Nothing -> do
1030.17 s
[opt-env-conf-test] debug ["no config object to set from"]
1030.17 s
[opt-env-conf-test] pure NotFound
1030.17 s
[opt-env-conf-test] Just obj -> do
1030.17 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1030.17 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1030.17 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1030.17 s
[opt-env-conf-test] Nothing -> do
1030.17 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1030.17 s
[opt-env-conf-test] Nothing -> pure Nothing
1030.17 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1030.17 s
[opt-env-conf-test] Just neRest -> do
1030.17 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1030.17 s
[opt-env-conf-test] case mO' of
1030.18 s
[opt-env-conf-test] Nothing -> pure Nothing
1030.18 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1030.18 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1030.18 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1030.18 s
[opt-env-conf-test] Right mV -> case mV of
1030.18 s
[opt-env-conf-test] Nothing -> do
1030.18 s
[opt-env-conf-test] debug
1030.18 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1030.18 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1030.18 s
[opt-env-conf-test] ]
1030.18 s
[opt-env-conf-test] pure Nothing
1030.18 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1030.18 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1030.18 s
[opt-env-conf-test] Right mA -> case mA of
1030.18 s
[opt-env-conf-test] Nothing -> do
1030.18 s
[opt-env-conf-test] debug
1030.18 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1030.18 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1030.18 s
[opt-env-conf-test] ]
1030.19 s
[opt-env-conf-test] pure Nothing
1030.19 s
[opt-env-conf-test] Just a -> do
1030.19 s
[opt-env-conf-test] debug
1030.19 s
[opt-env-conf-test] [ "set based on config value: ",
1030.19 s
[opt-env-conf-test] chunk $ T.pack $ show v
1030.19 s
[opt-env-conf-test] ]
1030.19 s
[opt-env-conf-test] pure $ Just a
1030.19 s
[opt-env-conf-test] let toRes = \case
1030.19 s
[opt-env-conf-test] Nothing -> NotFound
1030.19 s
[opt-env-conf-test] Just a -> Found a
1030.19 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1030.19 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1030.19 s
[opt-env-conf-test] Just ne -> do
1030.19 s
[opt-env-conf-test] res <- goConfSet confSet
1030.19 s
[opt-env-conf-test] case res of
1031.64 s
[opt-env-conf-test] Just a -> pure $ Found a
1031.72 s
[opt-env-conf-test] Nothing -> goConfSets ne
1031.72 s
[opt-env-conf-test] goConfSets confSets
1031.72 s
[opt-env-conf-test] case mConf of
1031.73 s
[opt-env-conf-test] Found a -> do
1031.73 s
[opt-env-conf-test] markParsed
1031.73 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
1031.73 s
[opt-env-conf-test] @@ -372,62 +372,8 @@
1031.73 s
[opt-env-conf-test] pure a
1031.73 s
[opt-env-conf-test] _ -> do
1031.73 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1031.73 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1031.73 s
[opt-env-conf-test] Nothing -> pure NotRun
1031.73 s
[opt-env-conf-test] - Just confSets -> do
1031.73 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1031.73 s
[opt-env-conf-test] - case mObj of
1031.73 s
[opt-env-conf-test] - Nothing -> do
1031.73 s
[opt-env-conf-test] - debug ["no config object to set from"]
1031.73 s
[opt-env-conf-test] - pure NotFound
1031.73 s
[opt-env-conf-test] - Just obj -> do
1031.73 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1031.73 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1031.73 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1031.73 s
[opt-env-conf-test] - Nothing -> do
1031.74 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1031.74 s
[opt-env-conf-test] - Nothing -> pure Nothing
1031.74 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1031.74 s
[opt-env-conf-test] - Just neRest -> do
1031.74 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1031.74 s
[opt-env-conf-test] - case mO' of
1031.74 s
[opt-env-conf-test] - Nothing -> pure Nothing
1031.74 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1031.74 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1031.74 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1031.74 s
[opt-env-conf-test] - Right mV -> case mV of
1031.74 s
[opt-env-conf-test] - Nothing -> do
1031.74 s
[opt-env-conf-test] - debug
1031.74 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1031.74 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1031.74 s
[opt-env-conf-test] - ]
1031.74 s
[opt-env-conf-test] - pure Nothing
1031.74 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1031.74 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1031.74 s
[opt-env-conf-test] - Right mA -> case mA of
1031.74 s
[opt-env-conf-test] - Nothing -> do
1031.74 s
[opt-env-conf-test] - debug
1031.74 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1031.74 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1031.74 s
[opt-env-conf-test] - ]
1031.74 s
[opt-env-conf-test] - pure Nothing
1031.74 s
[opt-env-conf-test] - Just a -> do
1031.74 s
[opt-env-conf-test] - debug
1031.74 s
[opt-env-conf-test] - [ "set based on config value: ",
1031.74 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1031.74 s
[opt-env-conf-test] - ]
1031.74 s
[opt-env-conf-test] - pure $ Just a
1031.75 s
[opt-env-conf-test] - let toRes = \case
1031.75 s
[opt-env-conf-test] - Nothing -> NotFound
1031.75 s
[opt-env-conf-test] - Just a -> Found a
1035.90 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1035.90 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1035.90 s
[opt-env-conf-test] - Just ne -> do
1035.90 s
[opt-env-conf-test] - res <- goConfSet confSet
1035.90 s
[opt-env-conf-test] - case res of
1035.90 s
[opt-env-conf-test] - Just a -> pure $ Found a
1035.91 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1035.91 s
[opt-env-conf-test] - goConfSets confSets
1035.91 s
[opt-env-conf-test] case mConf of
1035.91 s
[opt-env-conf-test] Found a -> do
1035.91 s
[opt-env-conf-test] markParsed
1035.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1035.91 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1035.91 s
[opt-env-conf-test] debug ["set to default value"]
1035.91 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1035.91 s
[opt-env-conf-test] Nothing -> do
1035.91 s
[opt-env-conf-test] let parseResultError e res = case res of
1035.91 s
[opt-env-conf-test] - NotRun -> Nothing
1035.91 s
[opt-env-conf-test] NotFound -> Just e
1035.91 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1035.91 s
[opt-env-conf-test] debug ["not found"]
1035.91 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1035.91 s
[opt-env-conf-test] NE.nonEmpty $
1035.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1035.91 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1035.91 s
[opt-env-conf-test] debug ["set to default value"]
1035.91 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1035.91 s
[opt-env-conf-test] Nothing -> do
1035.91 s
[opt-env-conf-test] let parseResultError e res = case res of
1035.91 s
[opt-env-conf-test] NotRun -> Nothing
1035.91 s
[opt-env-conf-test] NotFound -> Just e
1035.92 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1035.92 s
[opt-env-conf-test] debug ["not found"]
1035.92 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1035.92 s
[opt-env-conf-test] NE.nonEmpty $
1035.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1035.92 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1035.92 s
[opt-env-conf-test] debug ["set to default value"]
1035.92 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1035.92 s
[opt-env-conf-test] Nothing -> do
1035.92 s
[opt-env-conf-test] let parseResultError e res = case res of
1035.92 s
[opt-env-conf-test] NotRun -> Nothing
1035.92 s
[opt-env-conf-test] - NotFound -> Just e
1035.92 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1035.92 s
[opt-env-conf-test] debug ["not found"]
1035.92 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1035.92 s
[opt-env-conf-test] NE.nonEmpty $
1035.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1035.92 s
[opt-env-conf-test] @@ -446,12 +446,7 @@
1035.92 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1035.92 s
[opt-env-conf-test] NE.nonEmpty $
1035.92 s
[opt-env-conf-test] catMaybes
1035.92 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1035.92 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1035.92 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1035.92 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1035.92 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1035.92 s
[opt-env-conf-test] ]
1035.92 s
[opt-env-conf-test]
1035.92 s
[opt-env-conf-test] withCapabilities ::
1035.92 s
[opt-env-conf-test] Maybe SrcLoc ->
1035.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1035.92 s
[opt-env-conf-test] @@ -446,12 +446,11 @@
1035.92 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1035.93 s
[opt-env-conf-test] NE.nonEmpty $
1035.93 s
[opt-env-conf-test] catMaybes
1035.93 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1035.93 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1035.93 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1035.93 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1035.93 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1035.93 s
[opt-env-conf-test] ]
1035.93 s
[opt-env-conf-test]
1035.93 s
[opt-env-conf-test] withCapabilities ::
1035.93 s
[opt-env-conf-test] Maybe SrcLoc ->
1035.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1035.93 s
[opt-env-conf-test] @@ -446,12 +446,11 @@
1035.93 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1035.93 s
[opt-env-conf-test] NE.nonEmpty $
1035.93 s
[opt-env-conf-test] catMaybes
1035.93 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1035.93 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1035.93 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1035.93 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1035.93 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1035.93 s
[opt-env-conf-test] ]
1035.93 s
[opt-env-conf-test]
1035.93 s
[opt-env-conf-test] withCapabilities ::
1035.93 s
[opt-env-conf-test] Maybe SrcLoc ->
1035.93 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:440:44-42
1035.93 s
[opt-env-conf-test] @@ -437,21 +437,20 @@
1035.93 s
[opt-env-conf-test] Just (a, _) -> do
1035.93 s
[opt-env-conf-test] debug ["set to default value"]
1035.93 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1035.93 s
[opt-env-conf-test] Nothing -> do
1035.93 s
[opt-env-conf-test] let parseResultError e res = case res of
1035.93 s
[opt-env-conf-test] NotRun -> Nothing
1035.94 s
[opt-env-conf-test] NotFound -> Just e
1035.94 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1035.94 s
[opt-env-conf-test] - debug ["not found"]
1035.94 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1035.94 s
[opt-env-conf-test] NE.nonEmpty $
1035.94 s
[opt-env-conf-test] catMaybes
1035.94 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1035.94 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1035.94 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1035.94 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1035.94 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1035.94 s
[opt-env-conf-test] ]
1035.94 s
[opt-env-conf-test]
1035.94 s
[opt-env-conf-test] withCapabilities ::
1035.94 s
[opt-env-conf-test] Maybe SrcLoc ->
1035.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
1035.94 s
[opt-env-conf-test] @@ -428,30 +428,27 @@
1035.94 s
[opt-env-conf-test] Just a -> pure $ Found a
1035.94 s
[opt-env-conf-test] Nothing -> goConfSets ne
1035.94 s
[opt-env-conf-test] goConfSets confSets
1035.94 s
[opt-env-conf-test] case mConf of
1035.94 s
[opt-env-conf-test] - Found a -> do
1035.94 s
[opt-env-conf-test] - markParsed
1035.94 s
[opt-env-conf-test] - pure a
1035.94 s
[opt-env-conf-test] _ ->
1035.94 s
[opt-env-conf-test] case settingDefaultValue of
1035.94 s
[opt-env-conf-test] Just (a, _) -> do
1035.94 s
[opt-env-conf-test] debug ["set to default value"]
1035.94 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1035.94 s
[opt-env-conf-test] Nothing -> do
1035.94 s
[opt-env-conf-test] let parseResultError e res = case res of
1035.94 s
[opt-env-conf-test] NotRun -> Nothing
1035.94 s
[opt-env-conf-test] NotFound -> Just e
1037.90 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1037.95 s
[opt-env-conf-test] debug ["not found"]
1037.95 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1037.95 s
[opt-env-conf-test] NE.nonEmpty $
1037.95 s
[opt-env-conf-test] catMaybes
1037.95 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1037.95 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1037.95 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1037.95 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1037.95 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1037.95 s
[opt-env-conf-test] ]
1037.95 s
[opt-env-conf-test]
1037.95 s
[opt-env-conf-test] withCapabilities ::
1037.95 s
[opt-env-conf-test] Maybe SrcLoc ->
1037.95 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
1037.95 s
[opt-env-conf-test] @@ -433,25 +433,22 @@
1037.95 s
[opt-env-conf-test] markParsed
1037.96 s
[opt-env-conf-test] pure a
1037.96 s
[opt-env-conf-test] _ ->
1037.96 s
[opt-env-conf-test] case settingDefaultValue of
1037.96 s
[opt-env-conf-test] - Just (a, _) -> do
1037.96 s
[opt-env-conf-test] - debug ["set to default value"]
1037.96 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1037.96 s
[opt-env-conf-test] Nothing -> do
1037.96 s
[opt-env-conf-test] let parseResultError e res = case res of
1037.96 s
[opt-env-conf-test] NotRun -> Nothing
1037.96 s
[opt-env-conf-test] NotFound -> Just e
1037.96 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1037.96 s
[opt-env-conf-test] debug ["not found"]
1037.96 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1037.96 s
[opt-env-conf-test] NE.nonEmpty $
1037.96 s
[opt-env-conf-test] catMaybes
1037.96 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1037.96 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1037.96 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1037.96 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1037.96 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1037.96 s
[opt-env-conf-test] ]
1037.96 s
[opt-env-conf-test]
1037.96 s
[opt-env-conf-test] withCapabilities ::
1037.96 s
[opt-env-conf-test] Maybe SrcLoc ->
1037.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
1037.96 s
[opt-env-conf-test] @@ -366,92 +366,89 @@
1037.96 s
[opt-env-conf-test] pure NotFound
1037.96 s
[opt-env-conf-test] Just a -> pure $ Found a
1037.96 s
[opt-env-conf-test]
1037.96 s
[opt-env-conf-test] case mEnv of
1037.96 s
[opt-env-conf-test] - Found a -> do
1037.96 s
[opt-env-conf-test] - markParsed
1037.96 s
[opt-env-conf-test] - pure a
1037.96 s
[opt-env-conf-test] _ -> do
1037.96 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1037.96 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1037.96 s
[opt-env-conf-test] Nothing -> pure NotRun
1037.96 s
[opt-env-conf-test] Just confSets -> do
1037.96 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1037.96 s
[opt-env-conf-test] case mObj of
1037.96 s
[opt-env-conf-test] Nothing -> do
1037.96 s
[opt-env-conf-test] debug ["no config object to set from"]
1037.96 s
[opt-env-conf-test] pure NotFound
1037.96 s
[opt-env-conf-test] Just obj -> do
1037.96 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1037.96 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1037.96 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1037.96 s
[opt-env-conf-test] Nothing -> do
1037.96 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1037.96 s
[opt-env-conf-test] Nothing -> pure Nothing
1037.97 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1037.97 s
[opt-env-conf-test] Just neRest -> do
1037.97 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1037.97 s
[opt-env-conf-test] case mO' of
1037.97 s
[opt-env-conf-test] Nothing -> pure Nothing
1037.97 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1037.97 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1037.97 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1037.97 s
[opt-env-conf-test] Right mV -> case mV of
1037.97 s
[opt-env-conf-test] Nothing -> do
1037.97 s
[opt-env-conf-test] debug
1037.97 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1037.97 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1037.97 s
[opt-env-conf-test] ]
1037.97 s
[opt-env-conf-test] pure Nothing
1037.97 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1037.97 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1037.97 s
[opt-env-conf-test] Right mA -> case mA of
1037.97 s
[opt-env-conf-test] Nothing -> do
1037.97 s
[opt-env-conf-test] debug
1037.97 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1037.97 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1037.97 s
[opt-env-conf-test] ]
1037.97 s
[opt-env-conf-test] pure Nothing
1037.97 s
[opt-env-conf-test] Just a -> do
1037.97 s
[opt-env-conf-test] debug
1037.97 s
[opt-env-conf-test] [ "set based on config value: ",
1037.97 s
[opt-env-conf-test] chunk $ T.pack $ show v
1037.97 s
[opt-env-conf-test] ]
1037.97 s
[opt-env-conf-test] pure $ Just a
1037.97 s
[opt-env-conf-test] let toRes = \case
1037.97 s
[opt-env-conf-test] Nothing -> NotFound
1037.97 s
[opt-env-conf-test] Just a -> Found a
1037.97 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1039.22 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
1039.22 s
[opt-env-conf-test] @@ -433,25 +433,10 @@
1039.22 s
[opt-env-conf-test] markParsed
1039.22 s
[opt-env-conf-test] pure a
1039.22 s
[opt-env-conf-test] _ ->
1039.22 s
[opt-env-conf-test] case settingDefaultValue of
1039.22 s
[opt-env-conf-test] Just (a, _) -> do
1039.22 s
[opt-env-conf-test] debug ["set to default value"]
1039.22 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1039.22 s
[opt-env-conf-test] - Nothing -> do
1039.22 s
[opt-env-conf-test] - let parseResultError e res = case res of
1039.22 s
[opt-env-conf-test] - NotRun -> Nothing
1039.22 s
[opt-env-conf-test] - NotFound -> Just e
1039.22 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1039.22 s
[opt-env-conf-test] - debug ["not found"]
1039.22 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1039.22 s
[opt-env-conf-test] - NE.nonEmpty $
1039.22 s
[opt-env-conf-test] - catMaybes
1039.23 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1039.23 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1039.23 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1039.23 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1039.23 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1039.23 s
[opt-env-conf-test] - ]
1039.23 s
[opt-env-conf-test]
1039.23 s
[opt-env-conf-test] withCapabilities ::
1039.23 s
[opt-env-conf-test] Maybe SrcLoc ->
1039.23 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1039.23 s
[opt-env-conf-test] Just ne -> do
1039.23 s
[opt-env-conf-test] res <- goConfSet confSet
1039.23 s
[opt-env-conf-test] case res of
1039.23 s
[opt-env-conf-test] Just a -> pure $ Found a
1039.23 s
[opt-env-conf-test] Nothing -> goConfSets ne
1039.23 s
[opt-env-conf-test] goConfSets confSets
1039.23 s
[opt-env-conf-test] case mConf of
1039.23 s
[opt-env-conf-test] Found a -> do
1039.23 s
[opt-env-conf-test] markParsed
1039.23 s
[opt-env-conf-test] pure a
1039.23 s
[opt-env-conf-test] _ ->
1039.23 s
[opt-env-conf-test] case settingDefaultValue of
1039.23 s
[opt-env-conf-test] Just (a, _) -> do
1039.23 s
[opt-env-conf-test] debug ["set to default value"]
1039.23 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1039.23 s
[opt-env-conf-test] Nothing -> do
1039.23 s
[opt-env-conf-test] let parseResultError e res = case res of
1039.23 s
[opt-env-conf-test] NotRun -> Nothing
1039.23 s
[opt-env-conf-test] NotFound -> Just e
1039.23 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1039.23 s
[opt-env-conf-test] debug ["not found"]
1039.23 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1039.23 s
[opt-env-conf-test] NE.nonEmpty $
1039.23 s
[opt-env-conf-test] catMaybes
1039.23 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1039.23 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1039.23 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1039.23 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1039.23 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1039.24 s
[opt-env-conf-test] ]
1039.24 s
[opt-env-conf-test]
1039.24 s
[opt-env-conf-test] withCapabilities ::
1039.24 s
[opt-env-conf-test] Maybe SrcLoc ->
1039.24 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
1039.24 s
[opt-env-conf-test] @@ -428,30 +428,10 @@
1039.24 s
[opt-env-conf-test] Just a -> pure $ Found a
1039.24 s
[opt-env-conf-test] Nothing -> goConfSets ne
1039.24 s
[opt-env-conf-test] goConfSets confSets
1039.24 s
[opt-env-conf-test] case mConf of
1039.24 s
[opt-env-conf-test] Found a -> do
1039.24 s
[opt-env-conf-test] markParsed
1039.24 s
[opt-env-conf-test] pure a
1039.24 s
[opt-env-conf-test] - _ ->
1039.24 s
[opt-env-conf-test] - case settingDefaultValue of
1039.24 s
[opt-env-conf-test] - Just (a, _) -> do
1039.24 s
[opt-env-conf-test] - debug ["set to default value"]
1039.24 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1039.24 s
[opt-env-conf-test] - Nothing -> do
1039.24 s
[opt-env-conf-test] - let parseResultError e res = case res of
1039.24 s
[opt-env-conf-test] - NotRun -> Nothing
1039.24 s
[opt-env-conf-test] - NotFound -> Just e
1039.24 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1039.24 s
[opt-env-conf-test] - debug ["not found"]
1039.24 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1039.25 s
[opt-env-conf-test] - NE.nonEmpty $
1039.25 s
[opt-env-conf-test] - catMaybes
1039.25 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1039.25 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1039.25 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1039.25 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1039.25 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1039.25 s
[opt-env-conf-test] - ]
1039.25 s
[opt-env-conf-test]
1039.25 s
[opt-env-conf-test] withCapabilities ::
1039.28 s
[opt-env-conf-test] Maybe SrcLoc ->
1039.28 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
1039.28 s
[opt-env-conf-test] @@ -366,92 +366,10 @@
1039.28 s
[opt-env-conf-test] pure NotFound
1039.28 s
[opt-env-conf-test] Just a -> pure $ Found a
1039.28 s
[opt-env-conf-test]
1039.28 s
[opt-env-conf-test] case mEnv of
1039.29 s
[opt-env-conf-test] Found a -> do
1039.29 s
[opt-env-conf-test] markParsed
1039.29 s
[opt-env-conf-test] pure a
1039.29 s
[opt-env-conf-test] - _ -> do
1039.29 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1039.29 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1039.29 s
[opt-env-conf-test] - Nothing -> pure NotRun
1039.29 s
[opt-env-conf-test] - Just confSets -> do
1039.29 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1039.29 s
[opt-env-conf-test] - case mObj of
1039.29 s
[opt-env-conf-test] - Nothing -> do
1039.29 s
[opt-env-conf-test] - debug ["no config object to set from"]
1039.29 s
[opt-env-conf-test] - pure NotFound
1039.29 s
[opt-env-conf-test] - Just obj -> do
1039.29 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1039.29 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1039.29 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1039.29 s
[opt-env-conf-test] - Nothing -> do
1039.29 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1039.29 s
[opt-env-conf-test] - Nothing -> pure Nothing
1039.29 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1039.29 s
[opt-env-conf-test] - Just neRest -> do
1039.29 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1039.29 s
[opt-env-conf-test] - case mO' of
1039.29 s
[opt-env-conf-test] - Nothing -> pure Nothing
1039.30 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1039.30 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1039.30 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1039.30 s
[opt-env-conf-test] - Right mV -> case mV of
1039.30 s
[opt-env-conf-test] - Nothing -> do
1039.30 s
[opt-env-conf-test] - debug
1039.30 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1039.30 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1039.30 s
[opt-env-conf-test] - ]
1039.30 s
[opt-env-conf-test] - pure Nothing
1039.30 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1039.30 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1039.30 s
[opt-env-conf-test] - Right mA -> case mA of
1039.30 s
[opt-env-conf-test] - Nothing -> do
1039.30 s
[opt-env-conf-test] - debug
1039.30 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1039.30 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1039.30 s
[opt-env-conf-test] - ]
1039.30 s
[opt-env-conf-test] - pure Nothing
1039.30 s
[opt-env-conf-test] - Just a -> do
1039.30 s
[opt-env-conf-test] - debug
1039.30 s
[opt-env-conf-test] - [ "set based on config value: ",
1039.30 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1039.30 s
[opt-env-conf-test] - ]
1039.30 s
[opt-env-conf-test] - pure $ Just a
1039.30 s
[opt-env-conf-test] - let toRes = \case
1039.30 s
[opt-env-conf-test] - Nothing -> NotFound
1039.30 s
[opt-env-conf-test] - Just a -> Found a
1039.30 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1039.30 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1039.30 s
[opt-env-conf-test] - Just ne -> do
1039.30 s
[opt-env-conf-test] - res <- goConfSet confSet
1039.30 s
[opt-env-conf-test] - case res of
1039.30 s
[opt-env-conf-test] - Just a -> pure $ Found a
1039.30 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1039.30 s
[opt-env-conf-test] - goConfSets confSets
1039.30 s
[opt-env-conf-test] - case mConf of
1039.30 s
[opt-env-conf-test] - Found a -> do
1039.30 s
[opt-env-conf-test] - markParsed
1039.30 s
[opt-env-conf-test] - pure a
1039.30 s
[opt-env-conf-test] - _ ->
1039.30 s
[opt-env-conf-test] - case settingDefaultValue of
1039.31 s
[opt-env-conf-test] - Just (a, _) -> do
1039.31 s
[opt-env-conf-test] - debug ["set to default value"]
1039.31 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1039.31 s
[opt-env-conf-test] - Nothing -> do
1039.31 s
[opt-env-conf-test] - let parseResultError e res = case res of
1039.31 s
[opt-env-conf-test] - NotRun -> Nothing
1039.31 s
[opt-env-conf-test] - NotFound -> Just e
1039.31 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1039.31 s
[opt-env-conf-test] - debug ["not found"]
1039.31 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1039.31 s
[opt-env-conf-test] - NE.nonEmpty $
1039.31 s
[opt-env-conf-test] - catMaybes
1040.29 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1040.29 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1040.29 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1040.29 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1040.29 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1040.29 s
[opt-env-conf-test] - ]
1040.29 s
[opt-env-conf-test]
1040.29 s
[opt-env-conf-test] withCapabilities ::
1040.29 s
[opt-env-conf-test] Maybe SrcLoc ->
1040.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
1040.29 s
[opt-env-conf-test] @@ -330,128 +330,125 @@
1040.29 s
[opt-env-conf-test] pure $ Found a
1040.29 s
[opt-env-conf-test] else pure NotRun
1040.29 s
[opt-env-conf-test]
1040.29 s
[opt-env-conf-test] case mOpt of
1040.30 s
[opt-env-conf-test] - Found a -> do
1040.30 s
[opt-env-conf-test] - markParsed
1040.30 s
[opt-env-conf-test] - pure a
1040.30 s
[opt-env-conf-test] _ -> do
1040.30 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1040.30 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1040.30 s
[opt-env-conf-test] Nothing -> pure NotRun
1040.30 s
[opt-env-conf-test] Just ne -> do
1040.30 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1040.30 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1040.30 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1040.30 s
[opt-env-conf-test] es <- asks ppEnvEnv
1040.30 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1040.30 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1040.30 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1040.30 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1040.30 s
[opt-env-conf-test] -- result.
1040.30 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1040.30 s
[opt-env-conf-test] case tryReaders rs varStr of
1040.30 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1040.30 s
[opt-env-conf-test] Right a -> do
1040.30 s
[opt-env-conf-test] debug
1040.30 s
[opt-env-conf-test] [ "set based on env: ",
1040.30 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1040.30 s
[opt-env-conf-test] ]
1040.30 s
[opt-env-conf-test] pure a
1040.30 s
[opt-env-conf-test] case listToMaybe results of
1040.30 s
[opt-env-conf-test] Nothing -> do
1040.30 s
[opt-env-conf-test] debug
1040.31 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1040.31 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1040.31 s
[opt-env-conf-test] ]
1040.31 s
[opt-env-conf-test] pure NotFound
1040.31 s
[opt-env-conf-test] Just a -> pure $ Found a
1040.31 s
[opt-env-conf-test]
1040.31 s
[opt-env-conf-test] case mEnv of
1040.31 s
[opt-env-conf-test] Found a -> do
1040.31 s
[opt-env-conf-test] markParsed
1040.31 s
[opt-env-conf-test] pure a
1040.31 s
[opt-env-conf-test] _ -> do
1040.31 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1040.31 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1040.31 s
[opt-env-conf-test] Nothing -> pure NotRun
1040.31 s
[opt-env-conf-test] Just confSets -> do
1040.31 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1040.31 s
[opt-env-conf-test] case mObj of
1040.31 s
[opt-env-conf-test] Nothing -> do
1040.31 s
[opt-env-conf-test] debug ["no config object to set from"]
1040.31 s
[opt-env-conf-test] pure NotFound
1040.31 s
[opt-env-conf-test] Just obj -> do
1040.31 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1040.31 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1040.31 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1040.31 s
[opt-env-conf-test] Nothing -> do
1040.31 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1040.31 s
[opt-env-conf-test] Nothing -> pure Nothing
1040.31 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1040.31 s
[opt-env-conf-test] Just neRest -> do
1040.31 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1040.31 s
[opt-env-conf-test] case mO' of
1040.31 s
[opt-env-conf-test] Nothing -> pure Nothing
1040.32 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1040.32 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1040.32 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1040.32 s
[opt-env-conf-test] Right mV -> case mV of
1040.32 s
[opt-env-conf-test] Nothing -> do
1040.32 s
[opt-env-conf-test] debug
1040.32 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1040.32 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1040.32 s
[opt-env-conf-test] ]
1040.32 s
[opt-env-conf-test] pure Nothing
1040.32 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1040.32 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1040.32 s
[opt-env-conf-test] Right mA -> case mA of
1040.32 s
[opt-env-conf-test] Nothing -> do
1040.32 s
[opt-env-conf-test] debug
1040.32 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1040.32 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1040.32 s
[opt-env-conf-test] ]
1040.32 s
[opt-env-conf-test] pure Nothing
1040.32 s
[opt-env-conf-test] Just a -> do
1040.32 s
[opt-env-conf-test] debug
1040.32 s
[opt-env-conf-test] [ "set based on config value: ",
1040.32 s
[opt-env-conf-test] chunk $ T.pack $ show v
1040.32 s
[opt-env-conf-test] ]
1040.32 s
[opt-env-conf-test] pure $ Just a
1040.32 s
[opt-env-conf-test] let toRes = \case
1040.32 s
[opt-env-conf-test] Nothing -> NotFound
1040.32 s
[opt-env-conf-test] Just a -> Found a
1040.32 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1040.32 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1040.32 s
[opt-env-conf-test] Just ne -> do
1040.99 s
[opt-env-conf-test] res <- goConfSet confSet
1040.99 s
[opt-env-conf-test] case res of
1040.99 s
[opt-env-conf-test] Just a -> pure $ Found a
1040.99 s
[opt-env-conf-test] Nothing -> goConfSets ne
1040.99 s
[opt-env-conf-test] goConfSets confSets
1040.99 s
[opt-env-conf-test] case mConf of
1040.99 s
[opt-env-conf-test] Found a -> do
1040.99 s
[opt-env-conf-test] markParsed
1040.99 s
[opt-env-conf-test] pure a
1040.99 s
[opt-env-conf-test] _ ->
1040.99 s
[opt-env-conf-test] case settingDefaultValue of
1040.99 s
[opt-env-conf-test] Just (a, _) -> do
1040.99 s
[opt-env-conf-test] debug ["set to default value"]
1040.99 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1040.99 s
[opt-env-conf-test] Nothing -> do
1040.99 s
[opt-env-conf-test] let parseResultError e res = case res of
1040.99 s
[opt-env-conf-test] NotRun -> Nothing
1040.99 s
[opt-env-conf-test] NotFound -> Just e
1040.99 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1040.99 s
[opt-env-conf-test] debug ["not found"]
1040.99 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1040.99 s
[opt-env-conf-test] NE.nonEmpty $
1040.99 s
[opt-env-conf-test] catMaybes
1040.99 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1040.99 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1041.00 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1041.00 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1041.00 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1041.00 s
[opt-env-conf-test] ]
1041.00 s
[opt-env-conf-test]
1041.00 s
[opt-env-conf-test] withCapabilities ::
1041.00 s
[opt-env-conf-test] Maybe SrcLoc ->
1041.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
1041.00 s
[opt-env-conf-test] @@ -300,158 +300,10 @@
1041.00 s
[opt-env-conf-test] debug ["set based on switch."]
1041.00 s
[opt-env-conf-test] pure $ Found a
1041.00 s
[opt-env-conf-test]
1041.00 s
[opt-env-conf-test] case mSwitch of
1041.00 s
[opt-env-conf-test] Found a -> do
1041.00 s
[opt-env-conf-test] markParsed
1041.00 s
[opt-env-conf-test] pure a
1041.00 s
[opt-env-conf-test] - _ -> do
1041.00 s
[opt-env-conf-test] - mOpt <-
1041.00 s
[opt-env-conf-test] - if settingTryOption
1041.00 s
[opt-env-conf-test] - then do
1041.00 s
[opt-env-conf-test] - -- Require readers before finding the option so the parser
1041.00 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1041.00 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1041.00 s
[opt-env-conf-test] - mS <- ppOpt settingDasheds
1041.00 s
[opt-env-conf-test] - case mS of
1041.00 s
[opt-env-conf-test] - Nothing -> do
1041.00 s
[opt-env-conf-test] - debug
1041.00 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1041.00 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1041.00 s
[opt-env-conf-test] - ]
1041.00 s
[opt-env-conf-test] - pure NotFound
1041.00 s
[opt-env-conf-test] - Just optionStr -> cap $
1041.00 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1041.00 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1041.00 s
[opt-env-conf-test] - Right a -> do
1041.00 s
[opt-env-conf-test] - debug
1041.00 s
[opt-env-conf-test] - [ "set based on option: ",
1041.00 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1041.00 s
[opt-env-conf-test] - ]
1041.00 s
[opt-env-conf-test] - pure $ Found a
1041.00 s
[opt-env-conf-test] - else pure NotRun
1041.00 s
[opt-env-conf-test] -
1041.00 s
[opt-env-conf-test] - case mOpt of
1041.00 s
[opt-env-conf-test] - Found a -> do
1041.00 s
[opt-env-conf-test] - markParsed
1041.00 s
[opt-env-conf-test] - pure a
1041.00 s
[opt-env-conf-test] - _ -> do
1041.00 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1041.01 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1041.01 s
[opt-env-conf-test] - Nothing -> pure NotRun
1041.01 s
[opt-env-conf-test] - Just ne -> do
1041.01 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1041.01 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1041.01 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1041.01 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1041.01 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1041.01 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1041.01 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1041.01 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1041.01 s
[opt-env-conf-test] - -- result.
1041.01 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1041.01 s
[opt-env-conf-test] - case tryReaders rs varStr of
1041.01 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1041.01 s
[opt-env-conf-test] - Right a -> do
1041.01 s
[opt-env-conf-test] - debug
1041.01 s
[opt-env-conf-test] - [ "set based on env: ",
1041.01 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1041.01 s
[opt-env-conf-test] - ]
1041.01 s
[opt-env-conf-test] - pure a
1041.01 s
[opt-env-conf-test] - case listToMaybe results of
1041.01 s
[opt-env-conf-test] - Nothing -> do
1041.01 s
[opt-env-conf-test] - debug
1041.01 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1041.01 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1041.01 s
[opt-env-conf-test] - ]
1041.01 s
[opt-env-conf-test] - pure NotFound
1041.01 s
[opt-env-conf-test] - Just a -> pure $ Found a
1041.01 s
[opt-env-conf-test] -
1041.01 s
[opt-env-conf-test] - case mEnv of
1041.01 s
[opt-env-conf-test] - Found a -> do
1041.01 s
[opt-env-conf-test] - markParsed
1041.01 s
[opt-env-conf-test] - pure a
1041.01 s
[opt-env-conf-test] - _ -> do
1041.01 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1041.01 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1041.01 s
[opt-env-conf-test] - Nothing -> pure NotRun
1041.01 s
[opt-env-conf-test] - Just confSets -> do
1041.01 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1041.01 s
[opt-env-conf-test] - case mObj of
1041.01 s
[opt-env-conf-test] - Nothing -> do
1041.01 s
[opt-env-conf-test] - debug ["no config object to set from"]
1041.01 s
[opt-env-conf-test] - pure NotFound
1041.01 s
[opt-env-conf-test] - Just obj -> do
1041.01 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1041.01 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1041.01 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1041.01 s
[opt-env-conf-test] - Nothing -> do
1041.01 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1041.01 s
[opt-env-conf-test] - Nothing -> pure Nothing
1041.01 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1041.01 s
[opt-env-conf-test] - Just neRest -> do
1041.02 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1041.02 s
[opt-env-conf-test] - case mO' of
1041.02 s
[opt-env-conf-test] - Nothing -> pure Nothing
1041.02 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1041.02 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1041.02 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1041.02 s
[opt-env-conf-test] - Right mV -> case mV of
1041.02 s
[opt-env-conf-test] - Nothing -> do
1041.02 s
[opt-env-conf-test] - debug
1041.02 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1041.02 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1041.02 s
[opt-env-conf-test] - ]
1041.02 s
[opt-env-conf-test] - pure Nothing
1041.02 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1041.02 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1041.02 s
[opt-env-conf-test] - Right mA -> case mA of
1041.02 s
[opt-env-conf-test] - Nothing -> do
1041.02 s
[opt-env-conf-test] - debug
1041.02 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1041.02 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1041.02 s
[opt-env-conf-test] - ]
1041.02 s
[opt-env-conf-test] - pure Nothing
1041.02 s
[opt-env-conf-test] - Just a -> do
1041.02 s
[opt-env-conf-test] - debug
1041.02 s
[opt-env-conf-test] - [ "set based on config value: ",
1041.02 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1041.02 s
[opt-env-conf-test] - ]
1041.02 s
[opt-env-conf-test] - pure $ Just a
1041.02 s
[opt-env-conf-test] - let toRes = \case
1041.02 s
[opt-env-conf-test] - Nothing -> NotFound
1041.02 s
[opt-env-conf-test] - Just a -> Found a
1041.02 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1041.02 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1041.02 s
[opt-env-conf-test] - Just ne -> do
1041.02 s
[opt-env-conf-test] - res <- goConfSet confSet
1041.02 s
[opt-env-conf-test] - case res of
1041.02 s
[opt-env-conf-test] - Just a -> pure $ Found a
1041.02 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1041.02 s
[opt-env-conf-test] - goConfSets confSets
1041.02 s
[opt-env-conf-test] - case mConf of
1041.03 s
[opt-env-conf-test] - Found a -> do
1041.03 s
[opt-env-conf-test] - markParsed
1041.03 s
[opt-env-conf-test] - pure a
1041.03 s
[opt-env-conf-test] - _ ->
1041.03 s
[opt-env-conf-test] - case settingDefaultValue of
1041.03 s
[opt-env-conf-test] - Just (a, _) -> do
1041.03 s
[opt-env-conf-test] - debug ["set to default value"]
1041.03 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1041.03 s
[opt-env-conf-test] - Nothing -> do
1041.03 s
[opt-env-conf-test] - let parseResultError e res = case res of
1041.03 s
[opt-env-conf-test] - NotRun -> Nothing
1041.03 s
[opt-env-conf-test] - NotFound -> Just e
1041.03 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1041.03 s
[opt-env-conf-test] - debug ["not found"]
1041.03 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1041.03 s
[opt-env-conf-test] - NE.nonEmpty $
1041.03 s
[opt-env-conf-test] - catMaybes
1041.03 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1041.03 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1041.24 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1041.24 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1041.24 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1041.24 s
[opt-env-conf-test] - ]
1041.24 s
[opt-env-conf-test]
1041.24 s
[opt-env-conf-test] withCapabilities ::
1041.24 s
[opt-env-conf-test] Maybe SrcLoc ->
1041.24 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
1041.24 s
[opt-env-conf-test] @@ -330,128 +330,10 @@
1041.24 s
[opt-env-conf-test] pure $ Found a
1041.24 s
[opt-env-conf-test] else pure NotRun
1041.24 s
[opt-env-conf-test]
1041.24 s
[opt-env-conf-test] case mOpt of
1041.24 s
[opt-env-conf-test] Found a -> do
1041.24 s
[opt-env-conf-test] markParsed
1041.24 s
[opt-env-conf-test] pure a
1041.24 s
[opt-env-conf-test] - _ -> do
1041.25 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1041.25 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1041.25 s
[opt-env-conf-test] - Nothing -> pure NotRun
1041.25 s
[opt-env-conf-test] - Just ne -> do
1041.25 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1041.25 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1041.25 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1041.25 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1041.25 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1041.25 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1041.25 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1041.25 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1041.25 s
[opt-env-conf-test] - -- result.
1041.25 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1041.25 s
[opt-env-conf-test] - case tryReaders rs varStr of
1041.25 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1041.25 s
[opt-env-conf-test] - Right a -> do
1041.25 s
[opt-env-conf-test] - debug
1041.25 s
[opt-env-conf-test] - [ "set based on env: ",
1041.25 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1041.25 s
[opt-env-conf-test] - ]
1041.25 s
[opt-env-conf-test] - pure a
1041.25 s
[opt-env-conf-test] - case listToMaybe results of
1041.25 s
[opt-env-conf-test] - Nothing -> do
1041.25 s
[opt-env-conf-test] - debug
1041.25 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1041.25 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1041.25 s
[opt-env-conf-test] - ]
1041.25 s
[opt-env-conf-test] - pure NotFound
1041.25 s
[opt-env-conf-test] - Just a -> pure $ Found a
1041.26 s
[opt-env-conf-test] -
1041.26 s
[opt-env-conf-test] - case mEnv of
1041.26 s
[opt-env-conf-test] - Found a -> do
1041.26 s
[opt-env-conf-test] - markParsed
1041.26 s
[opt-env-conf-test] - pure a
1041.26 s
[opt-env-conf-test] - _ -> do
1041.26 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1041.26 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1041.26 s
[opt-env-conf-test] - Nothing -> pure NotRun
1041.26 s
[opt-env-conf-test] - Just confSets -> do
1041.26 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1041.26 s
[opt-env-conf-test] - case mObj of
1041.26 s
[opt-env-conf-test] - Nothing -> do
1041.26 s
[opt-env-conf-test] - debug ["no config object to set from"]
1041.26 s
[opt-env-conf-test] - pure NotFound
1041.26 s
[opt-env-conf-test] - Just obj -> do
1041.26 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1041.26 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1041.26 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1041.26 s
[opt-env-conf-test] - Nothing -> do
1041.26 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1041.26 s
[opt-env-conf-test] - Nothing -> pure Nothing
1041.26 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1041.26 s
[opt-env-conf-test] - Just neRest -> do
1041.26 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1041.26 s
[opt-env-conf-test] - case mO' of
1041.26 s
[opt-env-conf-test] - Nothing -> pure Nothing
1041.27 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1041.27 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1041.27 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1041.27 s
[opt-env-conf-test] - Right mV -> case mV of
1041.27 s
[opt-env-conf-test] - Nothing -> do
1041.27 s
[opt-env-conf-test] - debug
1041.27 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1041.27 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1041.27 s
[opt-env-conf-test] - ]
1041.27 s
[opt-env-conf-test] - pure Nothing
1041.27 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1041.27 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1041.27 s
[opt-env-conf-test] - Right mA -> case mA of
1041.27 s
[opt-env-conf-test] - Nothing -> do
1041.27 s
[opt-env-conf-test] - debug
1041.27 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1041.27 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1041.27 s
[opt-env-conf-test] - ]
1041.27 s
[opt-env-conf-test] - pure Nothing
1041.27 s
[opt-env-conf-test] - Just a -> do
1041.27 s
[opt-env-conf-test] - debug
1041.27 s
[opt-env-conf-test] - [ "set based on config value: ",
1041.27 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1041.27 s
[opt-env-conf-test] - ]
1041.27 s
[opt-env-conf-test] - pure $ Just a
1041.27 s
[opt-env-conf-test] - let toRes = \case
1041.27 s
[opt-env-conf-test] - Nothing -> NotFound
1041.27 s
[opt-env-conf-test] - Just a -> Found a
1041.27 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1041.27 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1041.28 s
[opt-env-conf-test] - Just ne -> do
1041.28 s
[opt-env-conf-test] - res <- goConfSet confSet
1041.28 s
[opt-env-conf-test] - case res of
1041.28 s
[opt-env-conf-test] - Just a -> pure $ Found a
1041.28 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1041.28 s
[opt-env-conf-test] - goConfSets confSets
1041.28 s
[opt-env-conf-test] - case mConf of
1041.28 s
[opt-env-conf-test] - Found a -> do
1041.28 s
[opt-env-conf-test] - markParsed
1041.28 s
[opt-env-conf-test] - pure a
1041.28 s
[opt-env-conf-test] - _ ->
1041.28 s
[opt-env-conf-test] - case settingDefaultValue of
1041.28 s
[opt-env-conf-test] - Just (a, _) -> do
1041.28 s
[opt-env-conf-test] - debug ["set to default value"]
1041.28 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1041.28 s
[opt-env-conf-test] - Nothing -> do
1041.28 s
[opt-env-conf-test] - let parseResultError e res = case res of
1041.28 s
[opt-env-conf-test] - NotRun -> Nothing
1041.28 s
[opt-env-conf-test] - NotFound -> Just e
1041.28 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1041.28 s
[opt-env-conf-test] - debug ["not found"]
1041.41 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1041.41 s
[opt-env-conf-test] - NE.nonEmpty $
1041.41 s
[opt-env-conf-test] - catMaybes
1041.42 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1041.42 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1041.42 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1041.42 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1041.42 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1041.42 s
[opt-env-conf-test] - ]
1041.42 s
[opt-env-conf-test]
1041.42 s
[opt-env-conf-test] withCapabilities ::
1041.42 s
[opt-env-conf-test] Maybe SrcLoc ->
1041.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
1041.42 s
[opt-env-conf-test] @@ -300,158 +300,155 @@
1041.42 s
[opt-env-conf-test] debug ["set based on switch."]
1041.42 s
[opt-env-conf-test] pure $ Found a
1041.42 s
[opt-env-conf-test]
1041.42 s
[opt-env-conf-test] case mSwitch of
1041.42 s
[opt-env-conf-test] - Found a -> do
1041.42 s
[opt-env-conf-test] - markParsed
1041.42 s
[opt-env-conf-test] - pure a
1041.42 s
[opt-env-conf-test] _ -> do
1041.42 s
[opt-env-conf-test] mOpt <-
1041.42 s
[opt-env-conf-test] if settingTryOption
1041.42 s
[opt-env-conf-test] then do
1041.42 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1041.42 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1041.43 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1041.43 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1041.43 s
[opt-env-conf-test] case mS of
1041.43 s
[opt-env-conf-test] Nothing -> do
1041.43 s
[opt-env-conf-test] debug
1041.43 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1041.43 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1041.43 s
[opt-env-conf-test] ]
1041.43 s
[opt-env-conf-test] pure NotFound
1041.43 s
[opt-env-conf-test] Just optionStr -> cap $
1041.43 s
[opt-env-conf-test] case tryReaders rs optionStr of
1041.43 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1041.43 s
[opt-env-conf-test] Right a -> do
1041.43 s
[opt-env-conf-test] debug
1041.43 s
[opt-env-conf-test] [ "set based on option: ",
1041.43 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1041.43 s
[opt-env-conf-test] ]
1041.43 s
[opt-env-conf-test] pure $ Found a
1041.43 s
[opt-env-conf-test] else pure NotRun
1041.43 s
[opt-env-conf-test]
1041.43 s
[opt-env-conf-test] case mOpt of
1041.43 s
[opt-env-conf-test] Found a -> do
1041.43 s
[opt-env-conf-test] markParsed
1041.43 s
[opt-env-conf-test] pure a
1041.43 s
[opt-env-conf-test] _ -> do
1041.43 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1041.43 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1041.43 s
[opt-env-conf-test] Nothing -> pure NotRun
1041.43 s
[opt-env-conf-test] Just ne -> do
1041.43 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1041.43 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1041.43 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1041.43 s
[opt-env-conf-test] es <- asks ppEnvEnv
1041.43 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1041.43 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1041.43 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1041.43 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1041.43 s
[opt-env-conf-test] -- result.
1041.43 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1041.44 s
[opt-env-conf-test] case tryReaders rs varStr of
1041.44 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1041.44 s
[opt-env-conf-test] Right a -> do
1041.44 s
[opt-env-conf-test] debug
1041.44 s
[opt-env-conf-test] [ "set based on env: ",
1041.44 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1041.44 s
[opt-env-conf-test] ]
1041.44 s
[opt-env-conf-test] pure a
1041.44 s
[opt-env-conf-test] case listToMaybe results of
1041.44 s
[opt-env-conf-test] Nothing -> do
1041.44 s
[opt-env-conf-test] debug
1041.44 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1041.44 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1041.44 s
[opt-env-conf-test] ]
1041.44 s
[opt-env-conf-test] pure NotFound
1041.44 s
[opt-env-conf-test] Just a -> pure $ Found a
1041.44 s
[opt-env-conf-test]
1041.44 s
[opt-env-conf-test] case mEnv of
1041.44 s
[opt-env-conf-test] Found a -> do
1041.44 s
[opt-env-conf-test] markParsed
1041.44 s
[opt-env-conf-test] pure a
1041.44 s
[opt-env-conf-test] _ -> do
1041.44 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1041.44 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1041.44 s
[opt-env-conf-test] Nothing -> pure NotRun
1041.44 s
[opt-env-conf-test] Just confSets -> do
1041.44 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1041.44 s
[opt-env-conf-test] case mObj of
1041.44 s
[opt-env-conf-test] Nothing -> do
1041.44 s
[opt-env-conf-test] debug ["no config object to set from"]
1041.44 s
[opt-env-conf-test] pure NotFound
1041.44 s
[opt-env-conf-test] Just obj -> do
1041.44 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1041.44 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1041.44 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1041.44 s
[opt-env-conf-test] Nothing -> do
1041.45 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1041.45 s
[opt-env-conf-test] Nothing -> pure Nothing
1041.45 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1041.45 s
[opt-env-conf-test] Just neRest -> do
1041.45 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1041.45 s
[opt-env-conf-test] case mO' of
1041.45 s
[opt-env-conf-test] Nothing -> pure Nothing
1041.45 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1041.45 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1041.45 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1041.45 s
[opt-env-conf-test] Right mV -> case mV of
1041.45 s
[opt-env-conf-test] Nothing -> do
1041.45 s
[opt-env-conf-test] debug
1041.45 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1041.45 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1041.45 s
[opt-env-conf-test] ]
1041.45 s
[opt-env-conf-test] pure Nothing
1041.45 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1041.45 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1041.45 s
[opt-env-conf-test] Right mA -> case mA of
1041.45 s
[opt-env-conf-test] Nothing -> do
1041.45 s
[opt-env-conf-test] debug
1041.45 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1041.45 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1041.45 s
[opt-env-conf-test] ]
1041.45 s
[opt-env-conf-test] pure Nothing
1041.45 s
[opt-env-conf-test] Just a -> do
1041.46 s
[opt-env-conf-test] debug
1041.46 s
[opt-env-conf-test] [ "set based on config value: ",
1041.46 s
[opt-env-conf-test] chunk $ T.pack $ show v
1041.46 s
[opt-env-conf-test] ]
1041.46 s
[opt-env-conf-test] pure $ Just a
1041.46 s
[opt-env-conf-test] let toRes = \case
1041.46 s
[opt-env-conf-test] Nothing -> NotFound
1041.46 s
[opt-env-conf-test] Just a -> Found a
1041.46 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1041.46 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1041.46 s
[opt-env-conf-test] Just ne -> do
1041.46 s
[opt-env-conf-test] res <- goConfSet confSet
1041.46 s
[opt-env-conf-test] case res of
1041.46 s
[opt-env-conf-test] Just a -> pure $ Found a
1041.46 s
[opt-env-conf-test] Nothing -> goConfSets ne
1041.46 s
[opt-env-conf-test] goConfSets confSets
1041.46 s
[opt-env-conf-test] case mConf of
1041.46 s
[opt-env-conf-test] Found a -> do
1041.46 s
[opt-env-conf-test] markParsed
1041.46 s
[opt-env-conf-test] pure a
1041.46 s
[opt-env-conf-test] _ ->
1041.46 s
[opt-env-conf-test] case settingDefaultValue of
1041.46 s
[opt-env-conf-test] Just (a, _) -> do
1041.46 s
[opt-env-conf-test] debug ["set to default value"]
1041.46 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1041.46 s
[opt-env-conf-test] Nothing -> do
1041.46 s
[opt-env-conf-test] let parseResultError e res = case res of
1041.46 s
[opt-env-conf-test] NotRun -> Nothing
1041.46 s
[opt-env-conf-test] NotFound -> Just e
1041.46 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1041.46 s
[opt-env-conf-test] debug ["not found"]
1041.46 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1041.46 s
[opt-env-conf-test] NE.nonEmpty $
1041.46 s
[opt-env-conf-test] catMaybes
1041.46 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1041.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1041.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1041.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1041.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1041.46 s
[opt-env-conf-test] ]
1041.46 s
[opt-env-conf-test]
1041.46 s
[opt-env-conf-test] withCapabilities ::
1041.46 s
[opt-env-conf-test] Maybe SrcLoc ->
1041.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
1041.46 s
[opt-env-conf-test] @@ -280,178 +280,175 @@
1041.46 s
[opt-env-conf-test] pure $ Found a
1041.46 s
[opt-env-conf-test] else pure NotRun
1041.46 s
[opt-env-conf-test]
1041.46 s
[opt-env-conf-test] case mArg of
1041.46 s
[opt-env-conf-test] - Found a -> do
1041.46 s
[opt-env-conf-test] - markParsed
1041.46 s
[opt-env-conf-test] - pure a
1041.46 s
[opt-env-conf-test] _ -> do
1041.46 s
[opt-env-conf-test] mSwitch <- case settingSwitchValue of
1041.47 s
[opt-env-conf-test] Nothing -> pure NotRun
1041.47 s
[opt-env-conf-test] Just a -> do
1041.47 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1041.47 s
[opt-env-conf-test] case mS of
1041.47 s
[opt-env-conf-test] Nothing -> do
1041.47 s
[opt-env-conf-test] debug
1041.47 s
[opt-env-conf-test] [ "could not set based on switch, no switch: ",
1041.47 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1041.47 s
[opt-env-conf-test] ]
1041.47 s
[opt-env-conf-test] pure NotFound
1041.47 s
[opt-env-conf-test] Just () -> cap $ do
1041.47 s
[opt-env-conf-test] debug ["set based on switch."]
1041.47 s
[opt-env-conf-test] pure $ Found a
1041.47 s
[opt-env-conf-test]
1041.47 s
[opt-env-conf-test] case mSwitch of
1041.47 s
[opt-env-conf-test] Found a -> do
1041.47 s
[opt-env-conf-test] markParsed
1041.47 s
[opt-env-conf-test] pure a
1041.47 s
[opt-env-conf-test] _ -> do
1041.47 s
[opt-env-conf-test] mOpt <-
1041.47 s
[opt-env-conf-test] if settingTryOption
1041.47 s
[opt-env-conf-test] then do
1041.47 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1041.47 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1041.47 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1041.47 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1041.47 s
[opt-env-conf-test] case mS of
1041.47 s
[opt-env-conf-test] Nothing -> do
1041.47 s
[opt-env-conf-test] debug
1041.47 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1041.47 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1041.47 s
[opt-env-conf-test] ]
1041.47 s
[opt-env-conf-test] pure NotFound
1041.47 s
[opt-env-conf-test] Just optionStr -> cap $
1041.47 s
[opt-env-conf-test] case tryReaders rs optionStr of
1041.47 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1041.47 s
[opt-env-conf-test] Right a -> do
1041.47 s
[opt-env-conf-test] debug
1041.47 s
[opt-env-conf-test] [ "set based on option: ",
1041.47 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1041.47 s
[opt-env-conf-test] ]
1041.47 s
[opt-env-conf-test] pure $ Found a
1041.47 s
[opt-env-conf-test] else pure NotRun
1041.47 s
[opt-env-conf-test]
1041.47 s
[opt-env-conf-test] case mOpt of
1041.47 s
[opt-env-conf-test] Found a -> do
1041.47 s
[opt-env-conf-test] markParsed
1041.47 s
[opt-env-conf-test] pure a
1041.47 s
[opt-env-conf-test] _ -> do
1041.47 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1041.47 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1041.47 s
[opt-env-conf-test] Nothing -> pure NotRun
1041.47 s
[opt-env-conf-test] Just ne -> do
1041.47 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1041.47 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1041.47 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1041.47 s
[opt-env-conf-test] es <- asks ppEnvEnv
1041.47 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1041.47 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1041.47 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1041.47 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1041.47 s
[opt-env-conf-test] -- result.
1041.47 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1041.47 s
[opt-env-conf-test] case tryReaders rs varStr of
1041.48 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1041.48 s
[opt-env-conf-test] Right a -> do
1041.48 s
[opt-env-conf-test] debug
1041.48 s
[opt-env-conf-test] [ "set based on env: ",
1041.48 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1041.48 s
[opt-env-conf-test] ]
1041.48 s
[opt-env-conf-test] pure a
1041.48 s
[opt-env-conf-test] case listToMaybe results of
1041.48 s
[opt-env-conf-test] Nothing -> do
1041.48 s
[opt-env-conf-test] debug
1041.48 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1041.48 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1041.48 s
[opt-env-conf-test] ]
1041.48 s
[opt-env-conf-test] pure NotFound
1041.48 s
[opt-env-conf-test] Just a -> pure $ Found a
1041.48 s
[opt-env-conf-test]
1041.48 s
[opt-env-conf-test] case mEnv of
1041.48 s
[opt-env-conf-test] Found a -> do
1041.48 s
[opt-env-conf-test] markParsed
1041.48 s
[opt-env-conf-test] pure a
1041.48 s
[opt-env-conf-test] _ -> do
1041.48 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1041.48 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1041.48 s
[opt-env-conf-test] Nothing -> pure NotRun
1041.48 s
[opt-env-conf-test] Just confSets -> do
1041.48 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1041.48 s
[opt-env-conf-test] case mObj of
1041.48 s
[opt-env-conf-test] Nothing -> do
1041.48 s
[opt-env-conf-test] debug ["no config object to set from"]
1041.48 s
[opt-env-conf-test] pure NotFound
1041.48 s
[opt-env-conf-test] Just obj -> do
1041.48 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1041.48 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1041.48 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1041.48 s
[opt-env-conf-test] Nothing -> do
1041.48 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1041.48 s
[opt-env-conf-test] Nothing -> pure Nothing
1041.48 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1041.48 s
[opt-env-conf-test] Just neRest -> do
1041.48 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1041.48 s
[opt-env-conf-test] case mO' of
1041.48 s
[opt-env-conf-test] Nothing -> pure Nothing
1041.48 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1041.48 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1041.48 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1041.48 s
[opt-env-conf-test] Right mV -> case mV of
1041.48 s
[opt-env-conf-test] Nothing -> do
1041.48 s
[opt-env-conf-test] debug
1041.48 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1041.49 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1041.49 s
[opt-env-conf-test] ]
1041.49 s
[opt-env-conf-test] pure Nothing
1041.49 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1041.49 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1041.49 s
[opt-env-conf-test] Right mA -> case mA of
1041.49 s
[opt-env-conf-test] Nothing -> do
1041.49 s
[opt-env-conf-test] debug
1041.49 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1041.49 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1041.49 s
[opt-env-conf-test] ]
1041.49 s
[opt-env-conf-test] pure Nothing
1041.49 s
[opt-env-conf-test] Just a -> do
1041.49 s
[opt-env-conf-test] debug
1041.49 s
[opt-env-conf-test] [ "set based on config value: ",
1041.49 s
[opt-env-conf-test] chunk $ T.pack $ show v
1041.49 s
[opt-env-conf-test] ]
1041.49 s
[opt-env-conf-test] pure $ Just a
1041.49 s
[opt-env-conf-test] let toRes = \case
1041.49 s
[opt-env-conf-test] Nothing -> NotFound
1041.49 s
[opt-env-conf-test] Just a -> Found a
1041.49 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1042.35 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1042.35 s
[opt-env-conf-test] Just ne -> do
1042.35 s
[opt-env-conf-test] res <- goConfSet confSet
1042.35 s
[opt-env-conf-test] case res of
1042.35 s
[opt-env-conf-test] Just a -> pure $ Found a
1042.35 s
[opt-env-conf-test] Nothing -> goConfSets ne
1042.35 s
[opt-env-conf-test] goConfSets confSets
1042.35 s
[opt-env-conf-test] case mConf of
1042.35 s
[opt-env-conf-test] Found a -> do
1042.35 s
[opt-env-conf-test] markParsed
1042.35 s
[opt-env-conf-test] pure a
1042.35 s
[opt-env-conf-test] _ ->
1042.35 s
[opt-env-conf-test] case settingDefaultValue of
1042.35 s
[opt-env-conf-test] Just (a, _) -> do
1042.35 s
[opt-env-conf-test] debug ["set to default value"]
1042.35 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1042.35 s
[opt-env-conf-test] Nothing -> do
1042.35 s
[opt-env-conf-test] let parseResultError e res = case res of
1042.35 s
[opt-env-conf-test] NotRun -> Nothing
1042.35 s
[opt-env-conf-test] NotFound -> Just e
1042.35 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1042.35 s
[opt-env-conf-test] debug ["not found"]
1042.35 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1042.35 s
[opt-env-conf-test] NE.nonEmpty $
1042.35 s
[opt-env-conf-test] catMaybes
1042.36 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1042.36 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1042.36 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1042.36 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1042.36 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1042.36 s
[opt-env-conf-test] ]
1042.36 s
[opt-env-conf-test]
1042.36 s
[opt-env-conf-test] withCapabilities ::
1042.36 s
[opt-env-conf-test] Maybe SrcLoc ->
1042.36 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1042.36 s
[opt-env-conf-test] @@ -227,10 +227,7 @@
1042.36 s
[opt-env-conf-test] internalParser p =
1042.36 s
[opt-env-conf-test] choice
1042.36 s
[opt-env-conf-test] [ setting
1042.36 s
[opt-env-conf-test] - [ switch ShowVersion,
1042.36 s
[opt-env-conf-test] - long "version",
1042.36 s
[opt-env-conf-test] - hidden
1042.36 s
[opt-env-conf-test] ],
1042.36 s
[opt-env-conf-test] setting
1042.36 s
[opt-env-conf-test] [ switch RenderMan,
1042.36 s
[opt-env-conf-test] long "render-man-page",
1042.36 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
1042.36 s
[opt-env-conf-test] @@ -280,178 +280,10 @@
1042.36 s
[opt-env-conf-test] pure $ Found a
1042.36 s
[opt-env-conf-test] else pure NotRun
1042.36 s
[opt-env-conf-test]
1042.36 s
[opt-env-conf-test] case mArg of
1042.36 s
[opt-env-conf-test] Found a -> do
1042.36 s
[opt-env-conf-test] markParsed
1042.36 s
[opt-env-conf-test] pure a
1042.36 s
[opt-env-conf-test] - _ -> do
1042.36 s
[opt-env-conf-test] - mSwitch <- case settingSwitchValue of
1042.36 s
[opt-env-conf-test] - Nothing -> pure NotRun
1042.36 s
[opt-env-conf-test] - Just a -> do
1042.36 s
[opt-env-conf-test] - mS <- ppSwitch settingDasheds
1042.36 s
[opt-env-conf-test] - case mS of
1042.36 s
[opt-env-conf-test] - Nothing -> do
1042.36 s
[opt-env-conf-test] - debug
1042.36 s
[opt-env-conf-test] - [ "could not set based on switch, no switch: ",
1042.36 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1042.36 s
[opt-env-conf-test] - ]
1042.36 s
[opt-env-conf-test] - pure NotFound
1042.36 s
[opt-env-conf-test] - Just () -> cap $ do
1042.36 s
[opt-env-conf-test] - debug ["set based on switch."]
1042.36 s
[opt-env-conf-test] - pure $ Found a
1042.36 s
[opt-env-conf-test] -
1042.36 s
[opt-env-conf-test] - case mSwitch of
1042.36 s
[opt-env-conf-test] - Found a -> do
1042.36 s
[opt-env-conf-test] - markParsed
1042.36 s
[opt-env-conf-test] - pure a
1042.36 s
[opt-env-conf-test] - _ -> do
1042.36 s
[opt-env-conf-test] - mOpt <-
1042.36 s
[opt-env-conf-test] - if settingTryOption
1042.36 s
[opt-env-conf-test] - then do
1042.36 s
[opt-env-conf-test] - -- Require readers before finding the option so the parser
1042.36 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1042.36 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1042.36 s
[opt-env-conf-test] - mS <- ppOpt settingDasheds
1042.36 s
[opt-env-conf-test] - case mS of
1042.36 s
[opt-env-conf-test] - Nothing -> do
1042.36 s
[opt-env-conf-test] - debug
1042.36 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1042.37 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1042.37 s
[opt-env-conf-test] - ]
1042.37 s
[opt-env-conf-test] - pure NotFound
1042.37 s
[opt-env-conf-test] - Just optionStr -> cap $
1042.37 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1042.37 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1042.37 s
[opt-env-conf-test] - Right a -> do
1042.37 s
[opt-env-conf-test] - debug
1042.37 s
[opt-env-conf-test] - [ "set based on option: ",
1042.37 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1042.37 s
[opt-env-conf-test] - ]
1042.37 s
[opt-env-conf-test] - pure $ Found a
1042.37 s
[opt-env-conf-test] - else pure NotRun
1042.37 s
[opt-env-conf-test] -
1042.37 s
[opt-env-conf-test] - case mOpt of
1042.37 s
[opt-env-conf-test] - Found a -> do
1042.37 s
[opt-env-conf-test] - markParsed
1042.37 s
[opt-env-conf-test] - pure a
1042.37 s
[opt-env-conf-test] - _ -> do
1042.37 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1042.37 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1042.37 s
[opt-env-conf-test] - Nothing -> pure NotRun
1042.37 s
[opt-env-conf-test] - Just ne -> do
1042.37 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1042.37 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1042.37 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1042.37 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1042.37 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1042.37 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1042.37 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1042.37 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1042.37 s
[opt-env-conf-test] - -- result.
1042.37 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1042.37 s
[opt-env-conf-test] - case tryReaders rs varStr of
1042.37 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1042.37 s
[opt-env-conf-test] - Right a -> do
1042.37 s
[opt-env-conf-test] - debug
1042.37 s
[opt-env-conf-test] - [ "set based on env: ",
1042.37 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1042.37 s
[opt-env-conf-test] - ]
1042.37 s
[opt-env-conf-test] - pure a
1042.37 s
[opt-env-conf-test] - case listToMaybe results of
1042.37 s
[opt-env-conf-test] - Nothing -> do
1042.37 s
[opt-env-conf-test] - debug
1042.37 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1042.37 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1042.37 s
[opt-env-conf-test] - ]
1042.37 s
[opt-env-conf-test] - pure NotFound
1042.37 s
[opt-env-conf-test] - Just a -> pure $ Found a
1042.37 s
[opt-env-conf-test] -
1042.37 s
[opt-env-conf-test] - case mEnv of
1042.37 s
[opt-env-conf-test] - Found a -> do
1042.37 s
[opt-env-conf-test] - markParsed
1042.37 s
[opt-env-conf-test] - pure a
1042.37 s
[opt-env-conf-test] - _ -> do
1042.37 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1042.37 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1042.37 s
[opt-env-conf-test] - Nothing -> pure NotRun
1042.37 s
[opt-env-conf-test] - Just confSets -> do
1042.37 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1042.37 s
[opt-env-conf-test] - case mObj of
1042.37 s
[opt-env-conf-test] - Nothing -> do
1042.37 s
[opt-env-conf-test] - debug ["no config object to set from"]
1042.37 s
[opt-env-conf-test] - pure NotFound
1042.37 s
[opt-env-conf-test] - Just obj -> do
1042.37 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1042.37 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1042.37 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1042.37 s
[opt-env-conf-test] - Nothing -> do
1042.37 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1042.37 s
[opt-env-conf-test] - Nothing -> pure Nothing
1042.37 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1042.37 s
[opt-env-conf-test] - Just neRest -> do
1042.37 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1042.37 s
[opt-env-conf-test] - case mO' of
1042.37 s
[opt-env-conf-test] - Nothing -> pure Nothing
1042.37 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1042.37 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1042.37 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1042.37 s
[opt-env-conf-test] - Right mV -> case mV of
1042.37 s
[opt-env-conf-test] - Nothing -> do
1042.37 s
[opt-env-conf-test] - debug
1042.37 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1042.37 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1042.37 s
[opt-env-conf-test] - ]
1042.37 s
[opt-env-conf-test] - pure Nothing
1042.37 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1042.37 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1042.37 s
[opt-env-conf-test] - Right mA -> case mA of
1042.37 s
[opt-env-conf-test] - Nothing -> do
1042.38 s
[opt-env-conf-test] - debug
1042.38 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1042.38 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1042.38 s
[opt-env-conf-test] - ]
1042.38 s
[opt-env-conf-test] - pure Nothing
1042.38 s
[opt-env-conf-test] - Just a -> do
1042.38 s
[opt-env-conf-test] - debug
1042.38 s
[opt-env-conf-test] - [ "set based on config value: ",
1042.38 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1042.38 s
[opt-env-conf-test] - ]
1042.38 s
[opt-env-conf-test] - pure $ Just a
1042.38 s
[opt-env-conf-test] - let toRes = \case
1042.38 s
[opt-env-conf-test] - Nothing -> NotFound
1042.38 s
[opt-env-conf-test] - Just a -> Found a
1042.38 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1042.38 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1042.38 s
[opt-env-conf-test] - Just ne -> do
1042.38 s
[opt-env-conf-test] - res <- goConfSet confSet
1042.38 s
[opt-env-conf-test] - case res of
1042.38 s
[opt-env-conf-test] - Just a -> pure $ Found a
1042.38 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1042.38 s
[opt-env-conf-test] - goConfSets confSets
1042.38 s
[opt-env-conf-test] - case mConf of
1042.38 s
[opt-env-conf-test] - Found a -> do
1042.38 s
[opt-env-conf-test] - markParsed
1042.38 s
[opt-env-conf-test] - pure a
1042.38 s
[opt-env-conf-test] - _ ->
1042.38 s
[opt-env-conf-test] - case settingDefaultValue of
1042.38 s
[opt-env-conf-test] - Just (a, _) -> do
1042.38 s
[opt-env-conf-test] - debug ["set to default value"]
1042.38 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1043.09 s
[opt-env-conf-test] - Nothing -> do
1043.22 s
[opt-env-conf-test] - let parseResultError e res = case res of
1043.22 s
[opt-env-conf-test] - NotRun -> Nothing
1043.22 s
[opt-env-conf-test] - NotFound -> Just e
1043.23 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1043.23 s
[opt-env-conf-test] - debug ["not found"]
1043.23 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1043.23 s
[opt-env-conf-test] - NE.nonEmpty $
1043.23 s
[opt-env-conf-test] - catMaybes
1043.23 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1043.23 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1043.23 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1043.23 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1043.23 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1043.23 s
[opt-env-conf-test] - ]
1043.23 s
[opt-env-conf-test]
1043.23 s
[opt-env-conf-test] withCapabilities ::
1043.23 s
[opt-env-conf-test] Maybe SrcLoc ->
1043.23 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1043.24 s
[opt-env-conf-test] @@ -227,10 +227,9 @@
1043.24 s
[opt-env-conf-test] internalParser p =
1043.24 s
[opt-env-conf-test] choice
1043.24 s
[opt-env-conf-test] [ setting
1043.24 s
[opt-env-conf-test] - [ switch ShowVersion,
1043.24 s
[opt-env-conf-test] long "version",
1043.24 s
[opt-env-conf-test] hidden
1043.24 s
[opt-env-conf-test] ],
1043.24 s
[opt-env-conf-test] setting
1043.24 s
[opt-env-conf-test] [ switch RenderMan,
1043.24 s
[opt-env-conf-test] long "render-man-page",
1043.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1043.24 s
[opt-env-conf-test] @@ -227,10 +227,9 @@
1043.24 s
[opt-env-conf-test] internalParser p =
1043.24 s
[opt-env-conf-test] choice
1043.24 s
[opt-env-conf-test] [ setting
1043.24 s
[opt-env-conf-test] [ switch ShowVersion,
1043.24 s
[opt-env-conf-test] long "version",
1043.24 s
[opt-env-conf-test] - hidden
1043.24 s
[opt-env-conf-test] ],
1043.24 s
[opt-env-conf-test] setting
1043.24 s
[opt-env-conf-test] [ switch RenderMan,
1043.24 s
[opt-env-conf-test] long "render-man-page",
1043.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1043.24 s
[opt-env-conf-test] @@ -232,11 +232,7 @@
1043.24 s
[opt-env-conf-test] hidden
1043.24 s
[opt-env-conf-test] ],
1043.24 s
[opt-env-conf-test] setting
1043.24 s
[opt-env-conf-test] - [ switch RenderMan,
1043.24 s
[opt-env-conf-test] - long "render-man-page",
1043.24 s
[opt-env-conf-test] - hidden,
1043.24 s
[opt-env-conf-test] - help "Render a manpage"
1043.24 s
[opt-env-conf-test] ],
1043.24 s
[opt-env-conf-test] setting
1043.24 s
[opt-env-conf-test] [ switch RenderDocumentation,
1043.24 s
[opt-env-conf-test] long "render-reference-documentation",
1043.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1043.24 s
[opt-env-conf-test] @@ -232,11 +232,10 @@
1043.25 s
[opt-env-conf-test] hidden
1043.25 s
[opt-env-conf-test] ],
1043.25 s
[opt-env-conf-test] setting
1043.25 s
[opt-env-conf-test] - [ switch RenderMan,
1043.25 s
[opt-env-conf-test] long "render-man-page",
1043.25 s
[opt-env-conf-test] hidden,
1043.25 s
[opt-env-conf-test] help "Render a manpage"
1043.25 s
[opt-env-conf-test] ],
1043.25 s
[opt-env-conf-test] setting
1043.25 s
[opt-env-conf-test] [ switch RenderDocumentation,
1043.25 s
[opt-env-conf-test] long "render-reference-documentation",
1043.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1043.25 s
[opt-env-conf-test] @@ -232,11 +232,10 @@
1043.25 s
[opt-env-conf-test] hidden
1043.25 s
[opt-env-conf-test] ],
1043.25 s
[opt-env-conf-test] setting
1043.25 s
[opt-env-conf-test] [ switch RenderMan,
1043.25 s
[opt-env-conf-test] long "render-man-page",
1043.25 s
[opt-env-conf-test] hidden,
1043.25 s
[opt-env-conf-test] - help "Render a manpage"
1043.25 s
[opt-env-conf-test] ],
1043.25 s
[opt-env-conf-test] setting
1043.25 s
[opt-env-conf-test] [ switch RenderDocumentation,
1043.25 s
[opt-env-conf-test] long "render-reference-documentation",
1043.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1043.25 s
[opt-env-conf-test] @@ -238,11 +238,7 @@
1043.25 s
[opt-env-conf-test] help "Render a manpage"
1043.25 s
[opt-env-conf-test] ],
1043.25 s
[opt-env-conf-test] setting
1043.25 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1043.25 s
[opt-env-conf-test] - long "render-reference-documentation",
1043.25 s
[opt-env-conf-test] - hidden,
1043.25 s
[opt-env-conf-test] - help "Render reference documentation"
1043.25 s
[opt-env-conf-test] ],
1043.25 s
[opt-env-conf-test] setting
1043.25 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1043.25 s
[opt-env-conf-test] long "render-nix-options",
1043.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1043.25 s
[opt-env-conf-test] @@ -238,11 +238,10 @@
1043.25 s
[opt-env-conf-test] help "Render a manpage"
1043.25 s
[opt-env-conf-test] ],
1043.25 s
[opt-env-conf-test] setting
1043.26 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1043.26 s
[opt-env-conf-test] long "render-reference-documentation",
1043.26 s
[opt-env-conf-test] hidden,
1043.26 s
[opt-env-conf-test] help "Render reference documentation"
1043.26 s
[opt-env-conf-test] ],
1043.26 s
[opt-env-conf-test] setting
1043.26 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1043.26 s
[opt-env-conf-test] long "render-nix-options",
1043.26 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1043.26 s
[opt-env-conf-test] @@ -238,11 +238,10 @@
1043.26 s
[opt-env-conf-test] help "Render a manpage"
1043.26 s
[opt-env-conf-test] ],
1043.26 s
[opt-env-conf-test] setting
1043.26 s
[opt-env-conf-test] [ switch RenderDocumentation,
1043.26 s
[opt-env-conf-test] long "render-reference-documentation",
1043.26 s
[opt-env-conf-test] hidden,
1043.26 s
[opt-env-conf-test] - help "Render reference documentation"
1043.26 s
[opt-env-conf-test] ],
1043.26 s
[opt-env-conf-test] setting
1043.26 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1043.26 s
[opt-env-conf-test] long "render-nix-options",
1043.26 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1043.26 s
[opt-env-conf-test] @@ -244,11 +244,7 @@
1043.26 s
[opt-env-conf-test] help "Render reference documentation"
1043.26 s
[opt-env-conf-test] ],
1043.26 s
[opt-env-conf-test] setting
1043.26 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1043.26 s
[opt-env-conf-test] - long "render-nix-options",
1043.26 s
[opt-env-conf-test] - hidden,
1043.26 s
[opt-env-conf-test] - help "Render Nix options"
1043.26 s
[opt-env-conf-test] ],
1043.26 s
[opt-env-conf-test] BashCompletionScript
1043.26 s
[opt-env-conf-test] <$> setting
1043.26 s
[opt-env-conf-test] [ option,
1043.26 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1043.26 s
[opt-env-conf-test] @@ -244,11 +244,10 @@
1043.26 s
[opt-env-conf-test] help "Render reference documentation"
1043.26 s
[opt-env-conf-test] ],
1043.26 s
[opt-env-conf-test] setting
1043.26 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1043.26 s
[opt-env-conf-test] long "render-nix-options",
1043.26 s
[opt-env-conf-test] hidden,
1043.26 s
[opt-env-conf-test] help "Render Nix options"
1043.26 s
[opt-env-conf-test] ],
1043.26 s
[opt-env-conf-test] BashCompletionScript
1043.26 s
[opt-env-conf-test] <$> setting
1043.26 s
[opt-env-conf-test] [ option,
1043.26 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1043.26 s
[opt-env-conf-test] @@ -244,11 +244,10 @@
1043.26 s
[opt-env-conf-test] help "Render reference documentation"
1043.26 s
[opt-env-conf-test] ],
1043.26 s
[opt-env-conf-test] setting
1043.27 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1043.27 s
[opt-env-conf-test] long "render-nix-options",
1043.27 s
[opt-env-conf-test] hidden,
1043.27 s
[opt-env-conf-test] - help "Render Nix options"
1043.27 s
[opt-env-conf-test] ],
1043.27 s
[opt-env-conf-test] BashCompletionScript
1043.27 s
[opt-env-conf-test] <$> setting
1043.27 s
[opt-env-conf-test] [ option,
1043.27 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1043.27 s
[opt-env-conf-test] @@ -251,12 +251,7 @@
1043.27 s
[opt-env-conf-test] ],
1043.27 s
[opt-env-conf-test] BashCompletionScript
1043.27 s
[opt-env-conf-test] <$> setting
1043.27 s
[opt-env-conf-test] - [ option,
1043.27 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1043.27 s
[opt-env-conf-test] - long "bash-completion-script",
1043.27 s
[opt-env-conf-test] - hidden,
1043.27 s
[opt-env-conf-test] - help "Render the bash completion script"
1043.27 s
[opt-env-conf-test] ],
1043.27 s
[opt-env-conf-test] ZshCompletionScript
1043.27 s
[opt-env-conf-test] <$> setting
1043.27 s
[opt-env-conf-test] [ option,
1043.27 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1043.27 s
[opt-env-conf-test] @@ -251,12 +251,11 @@
1043.27 s
[opt-env-conf-test] ],
1043.27 s
[opt-env-conf-test] BashCompletionScript
1043.27 s
[opt-env-conf-test] <$> setting
1043.27 s
[opt-env-conf-test] - [ option,
1043.27 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1043.27 s
[opt-env-conf-test] long "bash-completion-script",
1043.27 s
[opt-env-conf-test] hidden,
1043.27 s
[opt-env-conf-test] help "Render the bash completion script"
1043.27 s
[opt-env-conf-test] ],
1043.27 s
[opt-env-conf-test] ZshCompletionScript
1043.27 s
[opt-env-conf-test] <$> setting
1043.27 s
[opt-env-conf-test] [ option,
1043.27 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1043.27 s
[opt-env-conf-test] @@ -251,12 +251,11 @@
1043.27 s
[opt-env-conf-test] ],
1043.27 s
[opt-env-conf-test] BashCompletionScript
1043.27 s
[opt-env-conf-test] <$> setting
1043.27 s
[opt-env-conf-test] [ option,
1043.27 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1043.27 s
[opt-env-conf-test] long "bash-completion-script",
1043.27 s
[opt-env-conf-test] hidden,
1043.27 s
[opt-env-conf-test] - help "Render the bash completion script"
1043.27 s
[opt-env-conf-test] ],
1043.27 s
[opt-env-conf-test] ZshCompletionScript
1043.27 s
[opt-env-conf-test] <$> setting
1043.27 s
[opt-env-conf-test] [ option,
1043.28 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1043.28 s
[opt-env-conf-test] @@ -259,12 +259,7 @@
1043.28 s
[opt-env-conf-test] ],
1043.28 s
[opt-env-conf-test] ZshCompletionScript
1043.28 s
[opt-env-conf-test] <$> setting
1043.28 s
[opt-env-conf-test] - [ option,
1043.28 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1043.28 s
[opt-env-conf-test] - long "zsh-completion-script",
1043.28 s
[opt-env-conf-test] - hidden,
1043.28 s
[opt-env-conf-test] - help "Render the zsh completion script"
1043.28 s
[opt-env-conf-test] ],
1043.28 s
[opt-env-conf-test] ZshCompletionScript
1043.28 s
[opt-env-conf-test] <$> setting
1043.28 s
[opt-env-conf-test] [ option,
1043.28 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1043.28 s
[opt-env-conf-test] @@ -259,12 +259,11 @@
1043.28 s
[opt-env-conf-test] ],
1043.28 s
[opt-env-conf-test] ZshCompletionScript
1043.28 s
[opt-env-conf-test] <$> setting
1043.28 s
[opt-env-conf-test] - [ option,
1043.28 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1043.28 s
[opt-env-conf-test] long "zsh-completion-script",
1043.28 s
[opt-env-conf-test] hidden,
1043.28 s
[opt-env-conf-test] help "Render the zsh completion script"
1043.28 s
[opt-env-conf-test] ],
1043.28 s
[opt-env-conf-test] ZshCompletionScript
1043.28 s
[opt-env-conf-test] <$> setting
1043.28 s
[opt-env-conf-test] [ option,
1043.28 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1043.28 s
[opt-env-conf-test] @@ -267,12 +267,7 @@
1043.28 s
[opt-env-conf-test] ],
1043.28 s
[opt-env-conf-test] ZshCompletionScript
1043.28 s
[opt-env-conf-test] <$> setting
1043.28 s
[opt-env-conf-test] - [ option,
1043.28 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1043.28 s
[opt-env-conf-test] - long "fish-completion-script",
1043.28 s
[opt-env-conf-test] - hidden,
1043.28 s
[opt-env-conf-test] - help "Render the fish completion script"
1043.28 s
[opt-env-conf-test] ],
1043.28 s
[opt-env-conf-test] setting
1043.28 s
[opt-env-conf-test] [ help "Query completion",
1043.28 s
[opt-env-conf-test] switch CompletionQuery,
1043.28 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1043.28 s
[opt-env-conf-test] @@ -259,12 +259,11 @@
1043.28 s
[opt-env-conf-test] ],
1043.28 s
[opt-env-conf-test] ZshCompletionScript
1043.29 s
[opt-env-conf-test] <$> setting
1043.29 s
[opt-env-conf-test] [ option,
1043.29 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1043.29 s
[opt-env-conf-test] long "zsh-completion-script",
1043.29 s
[opt-env-conf-test] hidden,
1043.29 s
[opt-env-conf-test] - help "Render the zsh completion script"
1043.29 s
[opt-env-conf-test] ],
1043.29 s
[opt-env-conf-test] ZshCompletionScript
1043.29 s
[opt-env-conf-test] <$> setting
1043.29 s
[opt-env-conf-test] [ option,
1043.29 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1043.29 s
[opt-env-conf-test] @@ -267,12 +267,11 @@
1043.29 s
[opt-env-conf-test] ],
1043.29 s
[opt-env-conf-test] ZshCompletionScript
1043.29 s
[opt-env-conf-test] <$> setting
1043.29 s
[opt-env-conf-test] - [ option,
1043.29 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1043.29 s
[opt-env-conf-test] long "fish-completion-script",
1043.29 s
[opt-env-conf-test] hidden,
1043.29 s
[opt-env-conf-test] help "Render the fish completion script"
1043.29 s
[opt-env-conf-test] ],
1043.29 s
[opt-env-conf-test] setting
1043.29 s
[opt-env-conf-test] [ help "Query completion",
1043.29 s
[opt-env-conf-test] switch CompletionQuery,
1043.29 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1043.29 s
[opt-env-conf-test] @@ -267,12 +267,11 @@
1043.29 s
[opt-env-conf-test] ],
1043.29 s
[opt-env-conf-test] ZshCompletionScript
1043.29 s
[opt-env-conf-test] <$> setting
1043.29 s
[opt-env-conf-test] [ option,
1043.29 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1043.29 s
[opt-env-conf-test] long "fish-completion-script",
1043.29 s
[opt-env-conf-test] hidden,
1043.29 s
[opt-env-conf-test] - help "Render the fish completion script"
1043.29 s
[opt-env-conf-test] ],
1043.29 s
[opt-env-conf-test] setting
1043.29 s
[opt-env-conf-test] [ help "Query completion",
1043.29 s
[opt-env-conf-test] switch CompletionQuery,
1043.29 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1043.29 s
[opt-env-conf-test] @@ -274,12 +274,11 @@
1043.29 s
[opt-env-conf-test] help "Render the fish completion script"
1043.29 s
[opt-env-conf-test] ],
1043.29 s
[opt-env-conf-test] setting
1043.29 s
[opt-env-conf-test] - [ help "Query completion",
1043.29 s
[opt-env-conf-test] switch CompletionQuery,
1043.29 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1043.29 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1043.29 s
[opt-env-conf-test] hidden
1043.29 s
[opt-env-conf-test] ]
1043.29 s
[opt-env-conf-test] <*> setting
1043.29 s
[opt-env-conf-test] [ switch True,
1043.29 s
[opt-env-conf-test] long "completion-enriched",
1043.29 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:284:20-24
1043.29 s
[opt-env-conf-test] @@ -281,7 +281,7 @@
1043.29 s
[opt-env-conf-test] hidden
1043.29 s
[opt-env-conf-test] ]
1043.30 s
[opt-env-conf-test] <*> setting
1043.30 s
[opt-env-conf-test] - [ switch True,
1043.30 s
[opt-env-conf-test] + [ switch False,
1043.30 s
[opt-env-conf-test] long "completion-enriched",
1043.30 s
[opt-env-conf-test] value False,
1043.30 s
[opt-env-conf-test] hidden,
1043.30 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1043.30 s
[opt-env-conf-test] @@ -274,12 +274,8 @@
1043.30 s
[opt-env-conf-test] help "Render the fish completion script"
1043.30 s
[opt-env-conf-test] ],
1043.30 s
[opt-env-conf-test] setting
1043.30 s
[opt-env-conf-test] - [ help "Query completion",
1043.30 s
[opt-env-conf-test] - switch CompletionQuery,
1043.30 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1043.30 s
[opt-env-conf-test] - long "query-opt-env-conf-completion",
1043.30 s
[opt-env-conf-test] - hidden
1043.30 s
[opt-env-conf-test] ]
1043.30 s
[opt-env-conf-test] <*> setting
1043.30 s
[opt-env-conf-test] [ switch True,
1043.30 s
[opt-env-conf-test] long "completion-enriched",
1043.30 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:286:19-24
1043.30 s
[opt-env-conf-test] @@ -283,7 +283,7 @@
1043.30 s
[opt-env-conf-test] <*> setting
1043.30 s
[opt-env-conf-test] [ switch True,
1043.30 s
[opt-env-conf-test] long "completion-enriched",
1043.30 s
[opt-env-conf-test] - value False,
1043.30 s
[opt-env-conf-test] + value True,
1043.30 s
[opt-env-conf-test] hidden,
1043.30 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1043.30 s
[opt-env-conf-test] ]
1043.30 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1043.30 s
[opt-env-conf-test] @@ -274,12 +274,11 @@
1043.30 s
[opt-env-conf-test] help "Render the fish completion script"
1043.30 s
[opt-env-conf-test] ],
1043.30 s
[opt-env-conf-test] setting
1043.30 s
[opt-env-conf-test] [ help "Query completion",
1043.30 s
[opt-env-conf-test] switch CompletionQuery,
1043.30 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1043.30 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1043.30 s
[opt-env-conf-test] - hidden
1043.30 s
[opt-env-conf-test] ]
1043.31 s
[opt-env-conf-test] <*> setting
1043.31 s
[opt-env-conf-test] [ switch True,
1043.31 s
[opt-env-conf-test] long "completion-enriched",
1043.31 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1043.31 s
[opt-env-conf-test] @@ -281,12 +281,7 @@
1043.31 s
[opt-env-conf-test] hidden
1043.31 s
[opt-env-conf-test] ]
1043.31 s
[opt-env-conf-test] <*> setting
1043.31 s
[opt-env-conf-test] - [ switch True,
1043.31 s
[opt-env-conf-test] - long "completion-enriched",
1043.31 s
[opt-env-conf-test] - value False,
1043.31 s
[opt-env-conf-test] - hidden,
1043.31 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1043.31 s
[opt-env-conf-test] ]
1043.31 s
[opt-env-conf-test] <*> setting
1043.31 s
[opt-env-conf-test] [ option,
1043.31 s
[opt-env-conf-test] reader auto,
1043.31 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1043.31 s
[opt-env-conf-test] @@ -281,12 +281,11 @@
1043.31 s
[opt-env-conf-test] hidden
1043.31 s
[opt-env-conf-test] ]
1043.31 s
[opt-env-conf-test] <*> setting
1043.31 s
[opt-env-conf-test] - [ switch True,
1043.31 s
[opt-env-conf-test] long "completion-enriched",
1043.31 s
[opt-env-conf-test] value False,
1043.31 s
[opt-env-conf-test] hidden,
1043.31 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1043.31 s
[opt-env-conf-test] ]
1043.31 s
[opt-env-conf-test] <*> setting
1043.31 s
[opt-env-conf-test] [ option,
1043.31 s
[opt-env-conf-test] reader auto,
1043.31 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1043.31 s
[opt-env-conf-test] @@ -281,12 +281,11 @@
1043.31 s
[opt-env-conf-test] hidden
1043.31 s
[opt-env-conf-test] ]
1043.31 s
[opt-env-conf-test] <*> setting
1043.31 s
[opt-env-conf-test] [ switch True,
1043.31 s
[opt-env-conf-test] long "completion-enriched",
1043.31 s
[opt-env-conf-test] value False,
1043.31 s
[opt-env-conf-test] hidden,
1043.31 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1043.31 s
[opt-env-conf-test] ]
1043.31 s
[opt-env-conf-test] <*> setting
1043.31 s
[opt-env-conf-test] [ option,
1043.31 s
[opt-env-conf-test] reader auto,
1043.31 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1043.31 s
[opt-env-conf-test] @@ -288,12 +288,7 @@
1043.31 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1043.32 s
[opt-env-conf-test] ]
1043.32 s
[opt-env-conf-test] <*> setting
1043.32 s
[opt-env-conf-test] - [ option,
1043.32 s
[opt-env-conf-test] - reader auto,
1043.32 s
[opt-env-conf-test] - long "completion-index",
1043.32 s
[opt-env-conf-test] - hidden,
1043.32 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1043.32 s
[opt-env-conf-test] ]
1043.32 s
[opt-env-conf-test] <*> many
1043.32 s
[opt-env-conf-test] ( setting
1043.32 s
[opt-env-conf-test] [ option,
1043.32 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1043.32 s
[opt-env-conf-test] @@ -288,12 +288,11 @@
1043.32 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1043.32 s
[opt-env-conf-test] ]
1043.32 s
[opt-env-conf-test] <*> setting
1043.32 s
[opt-env-conf-test] - [ option,
1043.32 s
[opt-env-conf-test] reader auto,
1043.32 s
[opt-env-conf-test] long "completion-index",
1043.32 s
[opt-env-conf-test] hidden,
1043.32 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1043.32 s
[opt-env-conf-test] ]
1043.32 s
[opt-env-conf-test] <*> many
1043.32 s
[opt-env-conf-test] ( setting
1043.32 s
[opt-env-conf-test] [ option,
1043.32 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1043.32 s
[opt-env-conf-test] @@ -288,12 +288,11 @@
1043.32 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1043.32 s
[opt-env-conf-test] ]
1043.32 s
[opt-env-conf-test] <*> setting
1043.32 s
[opt-env-conf-test] [ option,
1043.32 s
[opt-env-conf-test] reader auto,
1043.32 s
[opt-env-conf-test] long "completion-index",
1043.32 s
[opt-env-conf-test] hidden,
1043.32 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1043.32 s
[opt-env-conf-test] ]
1043.32 s
[opt-env-conf-test] <*> many
1043.33 s
[opt-env-conf-test] ( setting
1043.33 s
[opt-env-conf-test] [ option,
1043.33 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1043.33 s
[opt-env-conf-test] @@ -296,12 +296,7 @@
1043.33 s
[opt-env-conf-test] ]
1043.33 s
[opt-env-conf-test] <*> many
1043.33 s
[opt-env-conf-test] ( setting
1043.33 s
[opt-env-conf-test] - [ option,
1043.33 s
[opt-env-conf-test] - reader str,
1043.33 s
[opt-env-conf-test] - long "completion-word",
1043.33 s
[opt-env-conf-test] - hidden,
1043.33 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1043.33 s
[opt-env-conf-test] ]
1043.33 s
[opt-env-conf-test] ),
1043.33 s
[opt-env-conf-test] ParsedNormally <$> p
1043.33 s
[opt-env-conf-test] ]
1043.33 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1043.33 s
[opt-env-conf-test] @@ -296,12 +296,11 @@
1043.33 s
[opt-env-conf-test] ]
1043.33 s
[opt-env-conf-test] <*> many
1043.33 s
[opt-env-conf-test] ( setting
1043.33 s
[opt-env-conf-test] - [ option,
1043.33 s
[opt-env-conf-test] reader str,
1043.33 s
[opt-env-conf-test] long "completion-word",
1043.33 s
[opt-env-conf-test] hidden,
1043.33 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1043.33 s
[opt-env-conf-test] ]
1043.33 s
[opt-env-conf-test] ),
1043.33 s
[opt-env-conf-test] ParsedNormally <$> p
1043.33 s
[opt-env-conf-test] ]
1043.33 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1043.33 s
[opt-env-conf-test] @@ -296,12 +296,11 @@
1043.33 s
[opt-env-conf-test] ]
1043.33 s
[opt-env-conf-test] <*> many
1043.33 s
[opt-env-conf-test] ( setting
1043.33 s
[opt-env-conf-test] [ option,
1043.33 s
[opt-env-conf-test] reader str,
1043.33 s
[opt-env-conf-test] long "completion-word",
1043.33 s
[opt-env-conf-test] hidden,
1043.33 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1043.33 s
[opt-env-conf-test] ]
1043.33 s
[opt-env-conf-test] ),
1043.33 s
[opt-env-conf-test] ParsedNormally <$> p
1043.33 s
[opt-env-conf-test] ]
1043.34 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1043.34 s
[opt-env-conf-test] @@ -226,82 +226,4 @@
1043.34 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1043.34 s
[opt-env-conf-test] internalParser p =
1043.34 s
[opt-env-conf-test] choice
1043.34 s
[opt-env-conf-test] - [ setting
1043.34 s
[opt-env-conf-test] - [ switch ShowVersion,
1043.34 s
[opt-env-conf-test] - long "version",
1043.34 s
[opt-env-conf-test] - hidden
1043.34 s
[opt-env-conf-test] - ],
1043.34 s
[opt-env-conf-test] - setting
1043.34 s
[opt-env-conf-test] - [ switch RenderMan,
1043.34 s
[opt-env-conf-test] - long "render-man-page",
1043.34 s
[opt-env-conf-test] - hidden,
1043.34 s
[opt-env-conf-test] - help "Render a manpage"
1043.34 s
[opt-env-conf-test] - ],
1043.34 s
[opt-env-conf-test] - setting
1043.34 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1043.34 s
[opt-env-conf-test] - long "render-reference-documentation",
1043.34 s
[opt-env-conf-test] - hidden,
1043.34 s
[opt-env-conf-test] - help "Render reference documentation"
1043.34 s
[opt-env-conf-test] - ],
1043.34 s
[opt-env-conf-test] - setting
1043.34 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1043.34 s
[opt-env-conf-test] - long "render-nix-options",
1043.34 s
[opt-env-conf-test] - hidden,
1043.34 s
[opt-env-conf-test] - help "Render Nix options"
1043.34 s
[opt-env-conf-test] - ],
1043.34 s
[opt-env-conf-test] - BashCompletionScript
1043.34 s
[opt-env-conf-test] - <$> setting
1043.34 s
[opt-env-conf-test] - [ option,
1043.34 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1043.34 s
[opt-env-conf-test] - long "bash-completion-script",
1043.34 s
[opt-env-conf-test] - hidden,
1043.34 s
[opt-env-conf-test] - help "Render the bash completion script"
1043.34 s
[opt-env-conf-test] - ],
1043.34 s
[opt-env-conf-test] - ZshCompletionScript
1043.34 s
[opt-env-conf-test] - <$> setting
1043.34 s
[opt-env-conf-test] - [ option,
1043.34 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1043.35 s
[opt-env-conf-test] - long "zsh-completion-script",
1043.35 s
[opt-env-conf-test] - hidden,
1043.35 s
[opt-env-conf-test] - help "Render the zsh completion script"
1043.35 s
[opt-env-conf-test] - ],
1043.35 s
[opt-env-conf-test] - ZshCompletionScript
1043.35 s
[opt-env-conf-test] - <$> setting
1043.35 s
[opt-env-conf-test] - [ option,
1043.35 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1043.35 s
[opt-env-conf-test] - long "fish-completion-script",
1043.35 s
[opt-env-conf-test] - hidden,
1043.35 s
[opt-env-conf-test] - help "Render the fish completion script"
1043.35 s
[opt-env-conf-test] - ],
1043.35 s
[opt-env-conf-test] - setting
1043.35 s
[opt-env-conf-test] - [ help "Query completion",
1043.35 s
[opt-env-conf-test] - switch CompletionQuery,
1043.35 s
[opt-env-conf-test] - -- Long string that no normal user would ever use.
1043.35 s
[opt-env-conf-test] - long "query-opt-env-conf-completion",
1043.35 s
[opt-env-conf-test] - hidden
1043.35 s
[opt-env-conf-test] - ]
1043.35 s
[opt-env-conf-test] - <*> setting
1043.35 s
[opt-env-conf-test] - [ switch True,
1043.35 s
[opt-env-conf-test] - long "completion-enriched",
1043.35 s
[opt-env-conf-test] - value False,
1043.35 s
[opt-env-conf-test] - hidden,
1043.36 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1043.36 s
[opt-env-conf-test] - ]
1043.36 s
[opt-env-conf-test] - <*> setting
1043.36 s
[opt-env-conf-test] - [ option,
1043.36 s
[opt-env-conf-test] - reader auto,
1043.36 s
[opt-env-conf-test] - long "completion-index",
1043.36 s
[opt-env-conf-test] - hidden,
1043.36 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1043.36 s
[opt-env-conf-test] - ]
1043.36 s
[opt-env-conf-test] - <*> many
1043.36 s
[opt-env-conf-test] - ( setting
1043.36 s
[opt-env-conf-test] - [ option,
1043.36 s
[opt-env-conf-test] - reader str,
1043.36 s
[opt-env-conf-test] - long "completion-word",
1043.36 s
[opt-env-conf-test] - hidden,
1043.36 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1043.36 s
[opt-env-conf-test] - ]
1043.36 s
[opt-env-conf-test] - ),
1043.36 s
[opt-env-conf-test] - ParsedNormally <$> p
1043.36 s
[opt-env-conf-test] ]
1043.36 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1043.36 s
[opt-env-conf-test] @@ -226,82 +226,77 @@
1043.36 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1043.36 s
[opt-env-conf-test] internalParser p =
1043.36 s
[opt-env-conf-test] choice
1043.37 s
[opt-env-conf-test] - [ setting
1043.37 s
[opt-env-conf-test] - [ switch ShowVersion,
1043.37 s
[opt-env-conf-test] - long "version",
1043.37 s
[opt-env-conf-test] - hidden
1043.37 s
[opt-env-conf-test] - ],
1043.37 s
[opt-env-conf-test] setting
1043.37 s
[opt-env-conf-test] [ switch RenderMan,
1043.37 s
[opt-env-conf-test] long "render-man-page",
1043.37 s
[opt-env-conf-test] hidden,
1043.37 s
[opt-env-conf-test] help "Render a manpage"
1043.37 s
[opt-env-conf-test] ],
1043.37 s
[opt-env-conf-test] setting
1043.37 s
[opt-env-conf-test] [ switch RenderDocumentation,
1043.37 s
[opt-env-conf-test] long "render-reference-documentation",
1043.37 s
[opt-env-conf-test] hidden,
1043.37 s
[opt-env-conf-test] help "Render reference documentation"
1043.37 s
[opt-env-conf-test] ],
1043.37 s
[opt-env-conf-test] setting
1043.37 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1043.37 s
[opt-env-conf-test] long "render-nix-options",
1043.37 s
[opt-env-conf-test] hidden,
1043.37 s
[opt-env-conf-test] help "Render Nix options"
1043.37 s
[opt-env-conf-test] ],
1043.37 s
[opt-env-conf-test] BashCompletionScript
1043.37 s
[opt-env-conf-test] <$> setting
1043.37 s
[opt-env-conf-test] [ option,
1043.37 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1043.38 s
[opt-env-conf-test] long "bash-completion-script",
1043.38 s
[opt-env-conf-test] hidden,
1043.38 s
[opt-env-conf-test] help "Render the bash completion script"
1043.38 s
[opt-env-conf-test] ],
1043.38 s
[opt-env-conf-test] ZshCompletionScript
1043.38 s
[opt-env-conf-test] <$> setting
1043.38 s
[opt-env-conf-test] [ option,
1043.38 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1043.38 s
[opt-env-conf-test] long "zsh-completion-script",
1043.38 s
[opt-env-conf-test] hidden,
1043.38 s
[opt-env-conf-test] help "Render the zsh completion script"
1043.38 s
[opt-env-conf-test] ],
1043.38 s
[opt-env-conf-test] ZshCompletionScript
1043.38 s
[opt-env-conf-test] <$> setting
1043.38 s
[opt-env-conf-test] [ option,
1043.38 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1043.38 s
[opt-env-conf-test] long "fish-completion-script",
1043.38 s
[opt-env-conf-test] hidden,
1043.38 s
[opt-env-conf-test] help "Render the fish completion script"
1043.38 s
[opt-env-conf-test] ],
1043.38 s
[opt-env-conf-test] setting
1043.38 s
[opt-env-conf-test] [ help "Query completion",
1043.38 s
[opt-env-conf-test] switch CompletionQuery,
1043.38 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1043.38 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1043.38 s
[opt-env-conf-test] hidden
1043.38 s
[opt-env-conf-test] ]
1043.38 s
[opt-env-conf-test] <*> setting
1043.38 s
[opt-env-conf-test] [ switch True,
1043.38 s
[opt-env-conf-test] long "completion-enriched",
1043.38 s
[opt-env-conf-test] value False,
1043.38 s
[opt-env-conf-test] hidden,
1043.38 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1043.39 s
[opt-env-conf-test] ]
1043.39 s
[opt-env-conf-test] <*> setting
1043.39 s
[opt-env-conf-test] [ option,
1044.40 s
[opt-env-conf-test] reader auto,
1044.40 s
[opt-env-conf-test] long "completion-index",
1044.40 s
[opt-env-conf-test] hidden,
1044.40 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1044.41 s
[opt-env-conf-test] ]
1044.41 s
[opt-env-conf-test] <*> many
1044.41 s
[opt-env-conf-test] ( setting
1044.41 s
[opt-env-conf-test] [ option,
1044.41 s
[opt-env-conf-test] reader str,
1044.41 s
[opt-env-conf-test] long "completion-word",
1044.41 s
[opt-env-conf-test] hidden,
1044.41 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1044.41 s
[opt-env-conf-test] ]
1044.41 s
[opt-env-conf-test] ),
1044.41 s
[opt-env-conf-test] ParsedNormally <$> p
1044.41 s
[opt-env-conf-test] ]
1044.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
1044.41 s
[opt-env-conf-test] @@ -198,11 +198,8 @@
1044.41 s
[opt-env-conf-test] let t = T.pack x
1044.41 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1044.41 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1044.41 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1044.41 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
1044.41 s
[opt-env-conf-test] - Nothing ->
1044.41 s
[opt-env-conf-test] - let (finalCaps, rest) = go caps xs
1044.41 s
[opt-env-conf-test] - in (finalCaps, x : rest)
1044.41 s
[opt-env-conf-test]
1044.41 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1044.41 s
[opt-env-conf-test] -- is supposed to.
1044.41 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1044.41 s
[opt-env-conf-test] @@ -226,82 +226,81 @@
1044.41 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1044.42 s
[opt-env-conf-test] internalParser p =
1044.42 s
[opt-env-conf-test] choice
1044.42 s
[opt-env-conf-test] [ setting
1044.42 s
[opt-env-conf-test] [ switch ShowVersion,
1044.42 s
[opt-env-conf-test] long "version",
1044.42 s
[opt-env-conf-test] hidden
1044.42 s
[opt-env-conf-test] ],
1044.42 s
[opt-env-conf-test] setting
1044.42 s
[opt-env-conf-test] [ switch RenderMan,
1044.42 s
[opt-env-conf-test] long "render-man-page",
1044.42 s
[opt-env-conf-test] hidden,
1044.42 s
[opt-env-conf-test] help "Render a manpage"
1044.42 s
[opt-env-conf-test] ],
1044.42 s
[opt-env-conf-test] setting
1044.42 s
[opt-env-conf-test] [ switch RenderDocumentation,
1044.42 s
[opt-env-conf-test] long "render-reference-documentation",
1044.42 s
[opt-env-conf-test] hidden,
1044.42 s
[opt-env-conf-test] help "Render reference documentation"
1044.42 s
[opt-env-conf-test] ],
1044.42 s
[opt-env-conf-test] setting
1044.42 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1044.42 s
[opt-env-conf-test] long "render-nix-options",
1044.42 s
[opt-env-conf-test] hidden,
1044.42 s
[opt-env-conf-test] help "Render Nix options"
1044.42 s
[opt-env-conf-test] ],
1044.42 s
[opt-env-conf-test] BashCompletionScript
1044.42 s
[opt-env-conf-test] <$> setting
1044.42 s
[opt-env-conf-test] [ option,
1044.42 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1044.42 s
[opt-env-conf-test] long "bash-completion-script",
1044.42 s
[opt-env-conf-test] hidden,
1044.42 s
[opt-env-conf-test] help "Render the bash completion script"
1044.42 s
[opt-env-conf-test] ],
1044.42 s
[opt-env-conf-test] ZshCompletionScript
1044.42 s
[opt-env-conf-test] <$> setting
1044.42 s
[opt-env-conf-test] [ option,
1044.42 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1044.43 s
[opt-env-conf-test] long "zsh-completion-script",
1044.43 s
[opt-env-conf-test] hidden,
1044.43 s
[opt-env-conf-test] help "Render the zsh completion script"
1044.43 s
[opt-env-conf-test] ],
1044.43 s
[opt-env-conf-test] ZshCompletionScript
1044.43 s
[opt-env-conf-test] <$> setting
1044.43 s
[opt-env-conf-test] [ option,
1044.43 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1044.43 s
[opt-env-conf-test] long "fish-completion-script",
1044.43 s
[opt-env-conf-test] hidden,
1044.43 s
[opt-env-conf-test] help "Render the fish completion script"
1044.43 s
[opt-env-conf-test] ],
1044.43 s
[opt-env-conf-test] setting
1044.43 s
[opt-env-conf-test] [ help "Query completion",
1044.43 s
[opt-env-conf-test] switch CompletionQuery,
1044.43 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1044.43 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1044.43 s
[opt-env-conf-test] hidden
1044.43 s
[opt-env-conf-test] ]
1044.43 s
[opt-env-conf-test] <*> setting
1044.43 s
[opt-env-conf-test] [ switch True,
1044.43 s
[opt-env-conf-test] long "completion-enriched",
1044.43 s
[opt-env-conf-test] value False,
1044.43 s
[opt-env-conf-test] hidden,
1044.43 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1044.43 s
[opt-env-conf-test] ]
1044.43 s
[opt-env-conf-test] <*> setting
1044.43 s
[opt-env-conf-test] [ option,
1044.43 s
[opt-env-conf-test] reader auto,
1055.93 s
[opt-env-conf-test] long "completion-index",
1055.98 s
[opt-env-conf-test] hidden,
1055.98 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1055.98 s
[opt-env-conf-test] ]
1055.98 s
[opt-env-conf-test] <*> many
1055.98 s
[opt-env-conf-test] ( setting
1055.98 s
[opt-env-conf-test] [ option,
1055.99 s
[opt-env-conf-test] reader str,
1055.99 s
[opt-env-conf-test] long "completion-word",
1055.99 s
[opt-env-conf-test] hidden,
1055.99 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1055.99 s
[opt-env-conf-test] ]
1055.99 s
[opt-env-conf-test] ),
1055.99 s
[opt-env-conf-test] - ParsedNormally <$> p
1055.99 s
[opt-env-conf-test] ]
1055.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
1055.99 s
[opt-env-conf-test] @@ -198,11 +198,10 @@
1055.99 s
[opt-env-conf-test] let t = T.pack x
1055.99 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1055.99 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1055.99 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1055.99 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
1055.99 s
[opt-env-conf-test] Nothing ->
1055.99 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1055.99 s
[opt-env-conf-test] in (finalCaps, x : rest)
1055.99 s
[opt-env-conf-test]
1055.99 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1055.99 s
[opt-env-conf-test] -- is supposed to.
1056.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
1056.00 s
[opt-env-conf-test] @@ -196,13 +196,12 @@
1056.00 s
[opt-env-conf-test] [] -> (caps, [])
1056.00 s
[opt-env-conf-test] (x : xs) ->
1056.00 s
[opt-env-conf-test] let t = T.pack x
1056.00 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1056.00 s
[opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
1056.00 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1056.00 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
1056.00 s
[opt-env-conf-test] Nothing ->
1056.00 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1056.00 s
[opt-env-conf-test] in (finalCaps, x : rest)
1056.00 s
[opt-env-conf-test]
1056.00 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1056.00 s
[opt-env-conf-test] -- is supposed to.
1056.00 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:170:14-19
1056.00 s
[opt-env-conf-test] @@ -167,7 +167,7 @@
1056.00 s
[opt-env-conf-test] consumeExactArg arg = go
1056.00 s
[opt-env-conf-test] where
1056.00 s
[opt-env-conf-test] go = \case
1056.00 s
[opt-env-conf-test] - [] -> (False, [])
1056.00 s
[opt-env-conf-test] + [] -> (True, [])
1056.00 s
[opt-env-conf-test] (x : xs)
1056.00 s
[opt-env-conf-test] | x == arg -> (True, xs)
1056.00 s
[opt-env-conf-test] | otherwise ->
1056.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
1056.00 s
[opt-env-conf-test] @@ -196,13 +196,8 @@
1056.00 s
[opt-env-conf-test] [] -> (caps, [])
1056.01 s
[opt-env-conf-test] (x : xs) ->
1056.01 s
[opt-env-conf-test] let t = T.pack x
1056.01 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1056.01 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1056.01 s
[opt-env-conf-test] - Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1056.01 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
1056.01 s
[opt-env-conf-test] - Nothing ->
1056.01 s
[opt-env-conf-test] - let (finalCaps, rest) = go caps xs
1056.01 s
[opt-env-conf-test] - in (finalCaps, x : rest)
1056.01 s
[opt-env-conf-test]
1056.01 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1056.01 s
[opt-env-conf-test] -- is supposed to.
1056.01 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:172:11-19
1056.01 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1056.01 s
[opt-env-conf-test] go = \case
1056.01 s
[opt-env-conf-test] [] -> (False, [])
1056.01 s
[opt-env-conf-test] (x : xs)
1056.01 s
[opt-env-conf-test] - | x == arg -> (True, xs)
1056.01 s
[opt-env-conf-test] + | True -> (True, xs)
1056.01 s
[opt-env-conf-test] | otherwise ->
1056.01 s
[opt-env-conf-test] let (found, rest) = go xs
1056.01 s
[opt-env-conf-test] in (found, x : rest)
1056.01 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:172:11-19
1056.01 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1056.01 s
[opt-env-conf-test] go = \case
1056.01 s
[opt-env-conf-test] [] -> (False, [])
1056.01 s
[opt-env-conf-test] (x : xs)
1056.01 s
[opt-env-conf-test] - | x == arg -> (True, xs)
1056.01 s
[opt-env-conf-test] + | not x == arg -> (True, xs)
1056.01 s
[opt-env-conf-test] | otherwise ->
1056.01 s
[opt-env-conf-test] let (found, rest) = go xs
1056.01 s
[opt-env-conf-test] in (found, x : rest)
1056.01 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:172:24-28
1056.01 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1056.02 s
[opt-env-conf-test] go = \case
1056.02 s
[opt-env-conf-test] [] -> (False, [])
1056.02 s
[opt-env-conf-test] (x : xs)
1056.02 s
[opt-env-conf-test] - | x == arg -> (True, xs)
1056.02 s
[opt-env-conf-test] + | x == arg -> (False, xs)
1056.02 s
[opt-env-conf-test] | otherwise ->
1056.02 s
[opt-env-conf-test] let (found, rest) = go xs
1056.02 s
[opt-env-conf-test] in (found, x : rest)
1056.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
1056.02 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1056.02 s
[opt-env-conf-test] | x == arg -> (True, xs)
1056.02 s
[opt-env-conf-test] | otherwise ->
1056.02 s
[opt-env-conf-test] let (found, rest) = go xs
1056.02 s
[opt-env-conf-test] - in (found, x : rest)
1056.02 s
[opt-env-conf-test] + in (True, x : rest)
1056.02 s
[opt-env-conf-test]
1056.02 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1056.02 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1056.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
1056.02 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1056.02 s
[opt-env-conf-test] | x == arg -> (True, xs)
1056.02 s
[opt-env-conf-test] | otherwise ->
1056.02 s
[opt-env-conf-test] let (found, rest) = go xs
1056.02 s
[opt-env-conf-test] - in (found, x : rest)
1056.02 s
[opt-env-conf-test] + in (False, x : rest)
1056.02 s
[opt-env-conf-test]
1056.02 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1056.02 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1056.02 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:175:18-23
1056.02 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1056.02 s
[opt-env-conf-test] | x == arg -> (True, xs)
1056.02 s
[opt-env-conf-test] | otherwise ->
1056.02 s
[opt-env-conf-test] let (found, rest) = go xs
1056.02 s
[opt-env-conf-test] - in (found, x : rest)
1056.02 s
[opt-env-conf-test] + in (not found, x : rest)
1056.02 s
[opt-env-conf-test]
1056.02 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1056.02 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1056.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
1056.02 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1056.02 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1056.02 s
[opt-env-conf-test] consumeHelpMode as =
1056.02 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1056.03 s
[opt-env-conf-test] - in if found
1056.03 s
[opt-env-conf-test] + in if False
1056.03 s
[opt-env-conf-test] then (True, as')
1056.03 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1056.03 s
[opt-env-conf-test]
1056.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
1056.03 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1056.03 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1056.03 s
[opt-env-conf-test] consumeHelpMode as =
1056.03 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1056.03 s
[opt-env-conf-test] - in if found
1056.03 s
[opt-env-conf-test] + in if True
1056.03 s
[opt-env-conf-test] then (True, as')
1056.03 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1056.03 s
[opt-env-conf-test]
1056.03 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:184:10-15
1056.03 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1056.03 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1056.03 s
[opt-env-conf-test] consumeHelpMode as =
1056.03 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1056.03 s
[opt-env-conf-test] - in if found
1056.03 s
[opt-env-conf-test] + in if not found
1056.03 s
[opt-env-conf-test] then (True, as')
1056.03 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1056.03 s
[opt-env-conf-test]
1056.03 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:185:15-19
1056.03 s
[opt-env-conf-test] @@ -182,7 +182,7 @@
1056.03 s
[opt-env-conf-test] consumeHelpMode as =
1056.03 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1056.03 s
[opt-env-conf-test] in if found
1056.03 s
[opt-env-conf-test] - then (True, as')
1056.03 s
[opt-env-conf-test] + then (False, as')
1056.03 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1056.03 s
[opt-env-conf-test]
1056.03 s
[opt-env-conf-test] consumeCheckMode :: [String] -> (Bool, [String])
1056.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
1056.03 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1056.03 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1056.03 s
[opt-env-conf-test]
1056.03 s
[opt-env-conf-test] mDebugMode <-
1056.04 s
[opt-env-conf-test] - if debugMode
1056.04 s
[opt-env-conf-test] + if True
1056.04 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1056.04 s
[opt-env-conf-test] else pure Nothing
1056.04 s
[opt-env-conf-test]
1056.04 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:83:12-21
1056.04 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1056.04 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1056.04 s
[opt-env-conf-test]
1056.04 s
[opt-env-conf-test] mDebugMode <-
1056.04 s
[opt-env-conf-test] - if debugMode
1056.04 s
[opt-env-conf-test] + if not debugMode
1056.04 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1056.04 s
[opt-env-conf-test] else pure Nothing
1056.04 s
[opt-env-conf-test]
1056.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
1056.04 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1056.04 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1056.04 s
[opt-env-conf-test]
1056.04 s
[opt-env-conf-test] mDebugMode <-
1056.04 s
[opt-env-conf-test] - if debugMode
1056.04 s
[opt-env-conf-test] + if False
1056.04 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1056.04 s
[opt-env-conf-test] else pure Nothing
1056.04 s
[opt-env-conf-test]
1056.04 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:89:10-18
1056.04 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1056.04 s
[opt-env-conf-test]
1056.04 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1056.04 s
[opt-env-conf-test]
1056.04 s
[opt-env-conf-test] - if helpMode
1056.04 s
[opt-env-conf-test] + if not helpMode
1056.04 s
[opt-env-conf-test] then do
1056.04 s
[opt-env-conf-test] progname <- getProgName
1056.04 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1056.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
1056.04 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1056.04 s
[opt-env-conf-test]
1056.04 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1056.04 s
[opt-env-conf-test]
1056.04 s
[opt-env-conf-test] - if helpMode
1056.04 s
[opt-env-conf-test] + if True
1056.04 s
[opt-env-conf-test] then do
1056.04 s
[opt-env-conf-test] progname <- getProgName
1056.04 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1056.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
1056.04 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1056.04 s
[opt-env-conf-test]
1056.05 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1056.05 s
[opt-env-conf-test]
1056.05 s
[opt-env-conf-test] - if helpMode
1056.05 s
[opt-env-conf-test] + if False
1056.05 s
[opt-env-conf-test] then do
1056.05 s
[opt-env-conf-test] progname <- getProgName
1056.05 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1058.66 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
1058.66 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
1058.66 s
[opt-env-conf-test] exitFailure
1058.66 s
[opt-env-conf-test] Right mCommandDoc -> do
1058.66 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1058.66 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1058.66 s
[opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
1058.67 s
[opt-env-conf-test] Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1058.67 s
[opt-env-conf-test] exitSuccess
1058.67 s
[opt-env-conf-test] else do
1058.67 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1058.67 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
1058.67 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
1058.67 s
[opt-env-conf-test] exitFailure
1058.67 s
[opt-env-conf-test] Right mCommandDoc -> do
1058.67 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1058.67 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1058.67 s
[opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
1058.67 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1058.67 s
[opt-env-conf-test] exitSuccess
1058.67 s
[opt-env-conf-test] else do
1058.67 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1058.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
1058.67 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1058.67 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1058.67 s
[opt-env-conf-test]
1058.67 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1058.67 s
[opt-env-conf-test] - if checkMode
1058.67 s
[opt-env-conf-test] + if True
1058.67 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1058.67 s
[opt-env-conf-test] else do
1058.67 s
[opt-env-conf-test] let p' = internalParser p
1058.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
1058.67 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1058.67 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1058.67 s
[opt-env-conf-test]
1058.67 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1058.67 s
[opt-env-conf-test] - if checkMode
1058.67 s
[opt-env-conf-test] + if False
1058.67 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1058.67 s
[opt-env-conf-test] else do
1058.67 s
[opt-env-conf-test] let p' = internalParser p
1058.67 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:111:14-23
1058.67 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1058.67 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1058.67 s
[opt-env-conf-test]
1058.68 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1058.68 s
[opt-env-conf-test] - if checkMode
1058.68 s
[opt-env-conf-test] + if not checkMode
1058.68 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1058.68 s
[opt-env-conf-test] else do
1058.68 s
[opt-env-conf-test] let p' = internalParser p
1058.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
1058.68 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1058.68 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1058.68 s
[opt-env-conf-test] exitSuccess
1058.68 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1058.68 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1058.68 s
[opt-env-conf-test] + runCompletionQuery p' True index ws
1058.68 s
[opt-env-conf-test] exitSuccess
1058.68 s
[opt-env-conf-test] ParsedNormally a -> pure a
1058.68 s
[opt-env-conf-test]
1058.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
1058.68 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1058.68 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1058.68 s
[opt-env-conf-test] exitSuccess
1058.68 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1058.68 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1058.68 s
[opt-env-conf-test] + runCompletionQuery p' False index ws
1058.68 s
[opt-env-conf-test] exitSuccess
1058.68 s
[opt-env-conf-test] ParsedNormally a -> pure a
1058.68 s
[opt-env-conf-test]
1058.68 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:161:43-51
1058.68 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1058.68 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1058.68 s
[opt-env-conf-test] exitSuccess
1058.68 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1058.68 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1058.68 s
[opt-env-conf-test] + runCompletionQuery p' not enriched index ws
1058.68 s
[opt-env-conf-test] exitSuccess
1058.69 s
[opt-env-conf-test] ParsedNormally a -> pure a
1058.69 s
[opt-env-conf-test]
1058.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1058.69 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1058.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1058.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1058.69 s
[opt-env-conf-test] exitFailure
1058.69 s
[opt-env-conf-test] Right i -> case i of
1058.69 s
[opt-env-conf-test] - ShowVersion -> do
1058.69 s
[opt-env-conf-test] - progname <- getProgName
1058.69 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1058.69 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1058.69 s
[opt-env-conf-test] - exitSuccess
1058.69 s
[opt-env-conf-test] RenderMan -> do
1058.69 s
[opt-env-conf-test] progname <- getProgName
1058.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1058.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1058.69 s
[opt-env-conf-test] exitSuccess
1058.69 s
[opt-env-conf-test] RenderDocumentation -> do
1058.69 s
[opt-env-conf-test] progname <- getProgName
1058.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1058.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1058.69 s
[opt-env-conf-test] exitSuccess
1058.70 s
[opt-env-conf-test] RenderNixosOptions -> do
1058.70 s
[opt-env-conf-test] progname <- getProgName
1058.70 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1058.70 s
[opt-env-conf-test] exitSuccess
1058.70 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1058.70 s
[opt-env-conf-test] progname <- getProgName
1058.70 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1058.70 s
[opt-env-conf-test] exitSuccess
1058.70 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1058.70 s
[opt-env-conf-test] progname <- getProgName
1058.70 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1058.70 s
[opt-env-conf-test] exitSuccess
1058.70 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1058.70 s
[opt-env-conf-test] progname <- getProgName
1058.70 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1058.70 s
[opt-env-conf-test] exitSuccess
1059.95 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1059.95 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1059.96 s
[opt-env-conf-test] exitSuccess
1059.96 s
[opt-env-conf-test] ParsedNormally a -> pure a
1059.96 s
[opt-env-conf-test]
1059.96 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1059.96 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1059.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:158:11-112
1059.96 s
[opt-env-conf-test] @@ -155,26 +155,8 @@
1059.96 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
1059.96 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
1059.96 s
[opt-env-conf-test] put s'
1059.96 s
[opt-env-conf-test] case result of
1059.96 s
[opt-env-conf-test] Success a -> pure a
1059.96 s
[opt-env-conf-test] - Failure errs -> do
1059.96 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
1059.96 s
[opt-env-conf-test] - then ppErrors' errs
1059.96 s
[opt-env-conf-test] - else do
1059.96 s
[opt-env-conf-test] - -- Settings available below
1059.96 s
[opt-env-conf-test] - let settingsMap = parserSettingsMap p'
1059.96 s
[opt-env-conf-test] - -- Settings that have been parsed
1059.96 s
[opt-env-conf-test] - parsedMap <- gets ppStateParsedSettings
1059.96 s
[opt-env-conf-test] - -- Settings that have been parsed below
1059.96 s
[opt-env-conf-test] - let parsedSettingsMap = settingsMap `M.intersection` parsedMap
1059.96 s
[opt-env-conf-test] - -- If any settings have been parsed below, and parsing still failed
1059.96 s
[opt-env-conf-test] - -- (this is the case because we're in the failure branch)
1059.96 s
[opt-env-conf-test] - -- with only forgivable errors
1059.96 s
[opt-env-conf-test] - -- (this is the case because we're in the branch where that's been checked)
1059.96 s
[opt-env-conf-test] - -- then this should be an unforgivable error.
1059.96 s
[opt-env-conf-test] - if null parsedSettingsMap
1059.96 s
[opt-env-conf-test] - then ppErrors' errs
1059.96 s
[opt-env-conf-test] - else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1059.96 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1059.96 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1059.96 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
1059.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
1059.99 s
[opt-env-conf-test] @@ -385,9 +385,8 @@
1059.99 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1059.99 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1059.99 s
[opt-env-conf-test] Nothing -> do
1059.99 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1059.99 s
[opt-env-conf-test] - Nothing -> pure Nothing
1059.99 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1059.99 s
[opt-env-conf-test] Just neRest -> do
1059.99 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1059.99 s
[opt-env-conf-test] case mO' of
1059.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
1059.99 s
[opt-env-conf-test] @@ -336,35 +336,8 @@
1059.99 s
[opt-env-conf-test] pure a
1060.00 s
[opt-env-conf-test] _ -> do
1060.00 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1060.00 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1060.00 s
[opt-env-conf-test] Nothing -> pure NotRun
1060.00 s
[opt-env-conf-test] - Just ne -> do
1060.00 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1060.00 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1060.00 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1060.00 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1060.00 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1060.00 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1060.00 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1060.00 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1060.00 s
[opt-env-conf-test] - -- result.
1060.00 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1060.00 s
[opt-env-conf-test] - case tryReaders rs varStr of
1060.00 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1060.00 s
[opt-env-conf-test] - Right a -> do
1060.00 s
[opt-env-conf-test] - debug
1060.00 s
[opt-env-conf-test] - [ "set based on env: ",
1060.00 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1060.00 s
[opt-env-conf-test] - ]
1060.00 s
[opt-env-conf-test] - pure a
1060.00 s
[opt-env-conf-test] - case listToMaybe results of
1060.00 s
[opt-env-conf-test] - Nothing -> do
1060.00 s
[opt-env-conf-test] - debug
1060.00 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1060.00 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1060.00 s
[opt-env-conf-test] - ]
1063.80 s
[opt-env-conf-test] - pure NotFound
1063.87 s
[opt-env-conf-test] - Just a -> pure $ Found a
1063.87 s
[opt-env-conf-test]
1063.87 s
[opt-env-conf-test] case mEnv of
1063.87 s
[opt-env-conf-test] Found a -> do
1063.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:158:11-112
1063.87 s
[opt-env-conf-test] @@ -155,26 +155,25 @@
1063.87 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
1063.87 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
1063.87 s
[opt-env-conf-test] put s'
1063.87 s
[opt-env-conf-test] case result of
1063.87 s
[opt-env-conf-test] - Success a -> pure a
1063.87 s
[opt-env-conf-test] Failure errs -> do
1063.87 s
[opt-env-conf-test] if not $ all errorIsForgivable errs
1063.87 s
[opt-env-conf-test] then ppErrors' errs
1063.87 s
[opt-env-conf-test] else do
1063.87 s
[opt-env-conf-test] -- Settings available below
1063.87 s
[opt-env-conf-test] let settingsMap = parserSettingsMap p'
1063.87 s
[opt-env-conf-test] -- Settings that have been parsed
1063.87 s
[opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
1063.87 s
[opt-env-conf-test] -- Settings that have been parsed below
1063.87 s
[opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
1063.87 s
[opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
1063.87 s
[opt-env-conf-test] -- (this is the case because we're in the failure branch)
1063.87 s
[opt-env-conf-test] -- with only forgivable errors
1063.87 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1063.87 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1063.87 s
[opt-env-conf-test] if null parsedSettingsMap
1063.88 s
[opt-env-conf-test] then ppErrors' errs
1063.88 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1063.88 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1063.88 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1063.88 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
1063.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
1063.88 s
[opt-env-conf-test] @@ -357,14 +357,8 @@
1063.88 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1063.88 s
[opt-env-conf-test] ]
1063.88 s
[opt-env-conf-test] pure a
1063.88 s
[opt-env-conf-test] case listToMaybe results of
1063.88 s
[opt-env-conf-test] - Nothing -> do
1063.88 s
[opt-env-conf-test] - debug
1063.88 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1063.88 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1063.88 s
[opt-env-conf-test] - ]
1063.88 s
[opt-env-conf-test] - pure NotFound
1063.88 s
[opt-env-conf-test] Just a -> pure $ Found a
1063.88 s
[opt-env-conf-test]
1063.88 s
[opt-env-conf-test] case mEnv of
1063.88 s
[opt-env-conf-test] Found a -> do
1063.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:197:56-66
1063.88 s
[opt-env-conf-test] @@ -194,7 +194,7 @@
1063.88 s
[opt-env-conf-test] case errOrB of
1063.88 s
[opt-env-conf-test] Left err -> do
1063.88 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1063.88 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
1063.88 s
[opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed not forgivable err
1063.88 s
[opt-env-conf-test] Right b -> do
1063.88 s
[opt-env-conf-test] debug ["succeeded"]
1063.88 s
[opt-env-conf-test] pure b
1063.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:175:22-44
1063.88 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1063.88 s
[opt-env-conf-test] -- with only forgivable errors
1063.88 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1063.88 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1063.88 s
[opt-env-conf-test] - if null parsedSettingsMap
1063.88 s
[opt-env-conf-test] + if False
1063.88 s
[opt-env-conf-test] then ppErrors' errs
1063.88 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1063.88 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1063.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
1063.88 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
1063.89 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1063.89 s
[opt-env-conf-test] Just neRest -> do
1063.89 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1063.89 s
[opt-env-conf-test] case mO' of
1063.89 s
[opt-env-conf-test] - Nothing -> pure Nothing
1063.89 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1063.89 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1063.89 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1063.89 s
[opt-env-conf-test] Right mV -> case mV of
1063.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
1063.89 s
[opt-env-conf-test] @@ -383,16 +383,12 @@
1063.89 s
[opt-env-conf-test] Just obj -> do
1063.89 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1063.89 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1063.89 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1063.89 s
[opt-env-conf-test] - Nothing -> do
1063.89 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1063.89 s
[opt-env-conf-test] - Nothing -> pure Nothing
1063.89 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1063.89 s
[opt-env-conf-test] Just neRest -> do
1063.89 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1063.89 s
[opt-env-conf-test] case mO' of
1063.89 s
[opt-env-conf-test] Nothing -> pure Nothing
1063.89 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1063.89 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1063.89 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1063.89 s
[opt-env-conf-test] Right mV -> case mV of
1063.89 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
1063.89 s
[opt-env-conf-test] @@ -141,7 +141,6 @@
1063.89 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1063.89 s
[opt-env-conf-test] pure (a : as)
1063.89 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1063.89 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1063.89 s
[opt-env-conf-test] ppIndent $ do
1063.89 s
[opt-env-conf-test] a <- go p'
1063.89 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1063.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1063.89 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1063.89 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1063.89 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1063.89 s
[opt-env-conf-test] exitFailure
1063.89 s
[opt-env-conf-test] Right i -> case i of
1063.89 s
[opt-env-conf-test] ShowVersion -> do
1063.89 s
[opt-env-conf-test] progname <- getProgName
1063.89 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1063.90 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1063.90 s
[opt-env-conf-test] exitSuccess
1063.90 s
[opt-env-conf-test] RenderMan -> do
1063.90 s
[opt-env-conf-test] progname <- getProgName
1063.90 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1063.90 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1063.90 s
[opt-env-conf-test] exitSuccess
1063.90 s
[opt-env-conf-test] RenderDocumentation -> do
1063.90 s
[opt-env-conf-test] progname <- getProgName
1063.90 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1063.90 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1063.90 s
[opt-env-conf-test] exitSuccess
1063.90 s
[opt-env-conf-test] RenderNixosOptions -> do
1063.90 s
[opt-env-conf-test] progname <- getProgName
1063.90 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1063.90 s
[opt-env-conf-test] exitSuccess
1063.90 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1063.90 s
[opt-env-conf-test] progname <- getProgName
1063.90 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1063.90 s
[opt-env-conf-test] - exitSuccess
1063.90 s
[opt-env-conf-test] - ZshCompletionScript progPath -> do
1063.90 s
[opt-env-conf-test] - progname <- getProgName
1063.90 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
1063.90 s
[opt-env-conf-test] exitSuccess
1063.90 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1063.90 s
[opt-env-conf-test] progname <- getProgName
1063.90 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1063.90 s
[opt-env-conf-test] exitSuccess
1068.75 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1068.75 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1068.75 s
[opt-env-conf-test] exitSuccess
1068.75 s
[opt-env-conf-test] ParsedNormally a -> pure a
1068.75 s
[opt-env-conf-test]
1068.75 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1068.75 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1068.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1068.76 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1068.76 s
[opt-env-conf-test] orCompletions p1 p2 = do
1068.76 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1068.76 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1068.76 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1068.76 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1068.76 s
[opt-env-conf-test] - (Just cs, Nothing) -> Just cs
1068.76 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1068.76 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1068.76 s
[opt-env-conf-test]
1068.76 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1068.76 s
[opt-env-conf-test] andCompletions p1 p2 = do
1068.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1068.76 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1068.76 s
[opt-env-conf-test] orCompletions p1 p2 = do
1068.76 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1068.76 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1068.76 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1068.76 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1068.76 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1068.76 s
[opt-env-conf-test] - (Nothing, Just cs) -> Just cs
1068.76 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1068.76 s
[opt-env-conf-test]
1068.76 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1068.76 s
[opt-env-conf-test] andCompletions p1 p2 = do
1068.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
1068.76 s
[opt-env-conf-test] @@ -304,9 +304,8 @@
1068.76 s
[opt-env-conf-test] Nothing -> pure Nothing
1068.76 s
[opt-env-conf-test] Just cs1 -> do
1068.76 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1068.76 s
[opt-env-conf-test] pure $ case p2s of
1068.76 s
[opt-env-conf-test] Nothing -> Nothing
1068.76 s
[opt-env-conf-test] - Just cs2 -> pure $ cs1 ++ cs2
1068.76 s
[opt-env-conf-test]
1068.76 s
[opt-env-conf-test] -- Nothing means "this branch was not valid"
1068.76 s
[opt-env-conf-test] -- Just [] means "no completions"
1068.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1068.77 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1068.77 s
[opt-env-conf-test] orCompletions p1 p2 = do
1068.77 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1068.77 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1068.77 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1068.77 s
[opt-env-conf-test] - (Nothing, Nothing) -> Nothing
1068.77 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1068.77 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1068.77 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1068.77 s
[opt-env-conf-test]
1068.77 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1068.77 s
[opt-env-conf-test] andCompletions p1 p2 = do
1068.77 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1068.77 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1068.77 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1068.77 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1068.77 s
[opt-env-conf-test] exitFailure
1068.77 s
[opt-env-conf-test] Right i -> case i of
1068.77 s
[opt-env-conf-test] ShowVersion -> do
1068.77 s
[opt-env-conf-test] progname <- getProgName
1068.77 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1068.77 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1068.77 s
[opt-env-conf-test] exitSuccess
1068.77 s
[opt-env-conf-test] RenderMan -> do
1068.77 s
[opt-env-conf-test] progname <- getProgName
1068.77 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1068.77 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1068.77 s
[opt-env-conf-test] exitSuccess
1068.77 s
[opt-env-conf-test] RenderDocumentation -> do
1068.77 s
[opt-env-conf-test] progname <- getProgName
1068.77 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1068.77 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1068.77 s
[opt-env-conf-test] exitSuccess
1068.77 s
[opt-env-conf-test] RenderNixosOptions -> do
1068.77 s
[opt-env-conf-test] progname <- getProgName
1068.77 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1068.77 s
[opt-env-conf-test] - exitSuccess
1068.77 s
[opt-env-conf-test] - BashCompletionScript progPath -> do
1068.77 s
[opt-env-conf-test] - progname <- getProgName
1068.77 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
1068.77 s
[opt-env-conf-test] exitSuccess
1068.77 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1068.77 s
[opt-env-conf-test] progname <- getProgName
1068.77 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1068.77 s
[opt-env-conf-test] exitSuccess
1068.77 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1068.77 s
[opt-env-conf-test] progname <- getProgName
1068.77 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1068.77 s
[opt-env-conf-test] exitSuccess
1068.84 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1068.84 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1068.90 s
[opt-env-conf-test] exitSuccess
1068.90 s
[opt-env-conf-test] ParsedNormally a -> pure a
1068.90 s
[opt-env-conf-test]
1068.90 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1068.90 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1068.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1068.90 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1068.90 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1068.90 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1068.90 s
[opt-env-conf-test] exitFailure
1068.90 s
[opt-env-conf-test] Right i -> case i of
1068.90 s
[opt-env-conf-test] ShowVersion -> do
1068.90 s
[opt-env-conf-test] progname <- getProgName
1068.90 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1068.90 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1068.90 s
[opt-env-conf-test] exitSuccess
1068.90 s
[opt-env-conf-test] RenderMan -> do
1068.90 s
[opt-env-conf-test] progname <- getProgName
1068.90 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1068.90 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1068.90 s
[opt-env-conf-test] exitSuccess
1068.90 s
[opt-env-conf-test] - RenderDocumentation -> do
1068.90 s
[opt-env-conf-test] - progname <- getProgName
1068.91 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1068.91 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1068.91 s
[opt-env-conf-test] - exitSuccess
1068.91 s
[opt-env-conf-test] RenderNixosOptions -> do
1068.91 s
[opt-env-conf-test] progname <- getProgName
1068.91 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1068.91 s
[opt-env-conf-test] exitSuccess
1068.91 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1068.91 s
[opt-env-conf-test] progname <- getProgName
1068.91 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1068.91 s
[opt-env-conf-test] exitSuccess
1068.91 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1068.91 s
[opt-env-conf-test] progname <- getProgName
1068.91 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1068.91 s
[opt-env-conf-test] exitSuccess
1068.91 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1068.91 s
[opt-env-conf-test] progname <- getProgName
1068.91 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1068.91 s
[opt-env-conf-test] exitSuccess
1069.81 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1069.81 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1069.81 s
[opt-env-conf-test] exitSuccess
1069.81 s
[opt-env-conf-test] ParsedNormally a -> pure a
1069.81 s
[opt-env-conf-test]
1069.81 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1069.81 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1069.81 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1069.81 s
[opt-env-conf-test] @@ -125,42 +125,41 @@
1069.81 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1069.81 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1069.81 s
[opt-env-conf-test] exitFailure
1069.81 s
[opt-env-conf-test] Right i -> case i of
1069.81 s
[opt-env-conf-test] ShowVersion -> do
1069.81 s
[opt-env-conf-test] progname <- getProgName
1069.81 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1069.81 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1069.82 s
[opt-env-conf-test] exitSuccess
1069.82 s
[opt-env-conf-test] RenderMan -> do
1069.82 s
[opt-env-conf-test] progname <- getProgName
1069.82 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1069.82 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1069.82 s
[opt-env-conf-test] exitSuccess
1069.82 s
[opt-env-conf-test] RenderDocumentation -> do
1069.82 s
[opt-env-conf-test] progname <- getProgName
1069.82 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1069.82 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1069.82 s
[opt-env-conf-test] exitSuccess
1069.82 s
[opt-env-conf-test] RenderNixosOptions -> do
1069.82 s
[opt-env-conf-test] progname <- getProgName
1069.82 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1069.82 s
[opt-env-conf-test] exitSuccess
1069.82 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1069.82 s
[opt-env-conf-test] progname <- getProgName
1069.82 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1069.82 s
[opt-env-conf-test] exitSuccess
1069.82 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1069.82 s
[opt-env-conf-test] progname <- getProgName
1069.82 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1069.82 s
[opt-env-conf-test] exitSuccess
1069.82 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1069.82 s
[opt-env-conf-test] progname <- getProgName
1069.82 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1069.82 s
[opt-env-conf-test] exitSuccess
1069.82 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1073.25 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1073.25 s
[opt-env-conf-test] exitSuccess
1073.25 s
[opt-env-conf-test] - ParsedNormally a -> pure a
1073.25 s
[opt-env-conf-test]
1073.25 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1073.25 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1073.25 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1073.25 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1073.25 s
[opt-env-conf-test] orCompletions p1 p2 = do
1073.25 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1073.25 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1073.25 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1073.25 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1073.25 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1073.25 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1073.25 s
[opt-env-conf-test] - (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1073.25 s
[opt-env-conf-test]
1073.25 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1073.25 s
[opt-env-conf-test] andCompletions p1 p2 = do
1073.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:18-50
1073.25 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1073.25 s
[opt-env-conf-test] case result of
1073.25 s
[opt-env-conf-test] Success a -> pure a
1073.25 s
[opt-env-conf-test] Failure errs -> do
1073.25 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
1073.25 s
[opt-env-conf-test] + if True
1073.25 s
[opt-env-conf-test] then ppErrors' errs
1073.25 s
[opt-env-conf-test] else do
1073.25 s
[opt-env-conf-test] -- Settings available below
1073.25 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:150:37-112
1073.25 s
[opt-env-conf-test] @@ -147,34 +147,33 @@
1073.25 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1073.25 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1073.25 s
[opt-env-conf-test] pure (a :| as)
1073.25 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1073.25 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1073.25 s
[opt-env-conf-test] ppIndent $ do
1073.25 s
[opt-env-conf-test] e <- ask
1073.25 s
[opt-env-conf-test] s <- get
1073.25 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
1073.26 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
1073.26 s
[opt-env-conf-test] put s'
1073.26 s
[opt-env-conf-test] case result of
1073.26 s
[opt-env-conf-test] Success a -> pure a
1073.26 s
[opt-env-conf-test] Failure errs -> do
1073.26 s
[opt-env-conf-test] if not $ all errorIsForgivable errs
1073.26 s
[opt-env-conf-test] then ppErrors' errs
1073.26 s
[opt-env-conf-test] else do
1073.26 s
[opt-env-conf-test] -- Settings available below
1073.26 s
[opt-env-conf-test] let settingsMap = parserSettingsMap p'
1073.26 s
[opt-env-conf-test] -- Settings that have been parsed
1073.26 s
[opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
1073.26 s
[opt-env-conf-test] -- Settings that have been parsed below
1073.26 s
[opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
1073.26 s
[opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
1073.26 s
[opt-env-conf-test] -- (this is the case because we're in the failure branch)
1073.26 s
[opt-env-conf-test] -- with only forgivable errors
1073.26 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1073.26 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1073.26 s
[opt-env-conf-test] if null parsedSettingsMap
1073.26 s
[opt-env-conf-test] then ppErrors' errs
1073.26 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1073.26 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1073.26 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1073.26 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
1073.26 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
1073.26 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1073.26 s
[opt-env-conf-test] Nothing -> pure Nothing
1073.26 s
[opt-env-conf-test] Just os -> do
1073.26 s
[opt-env-conf-test] after <- get
1073.26 s
[opt-env-conf-test] - if after == before
1073.26 s
[opt-env-conf-test] + if False
1073.26 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1073.26 s
[opt-env-conf-test] pure $ Just os
1073.26 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1073.26 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:175:22-44
1073.26 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1073.26 s
[opt-env-conf-test] -- with only forgivable errors
1073.26 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1073.26 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1073.26 s
[opt-env-conf-test] - if null parsedSettingsMap
1073.26 s
[opt-env-conf-test] + if True
1073.26 s
[opt-env-conf-test] then ppErrors' errs
1073.26 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1073.26 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1073.26 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:272:14-29
1073.26 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1073.26 s
[opt-env-conf-test] Nothing -> pure Nothing
1073.26 s
[opt-env-conf-test] Just os -> do
1073.26 s
[opt-env-conf-test] after <- get
1073.26 s
[opt-env-conf-test] - if after == before
1073.26 s
[opt-env-conf-test] + if not after == before
1073.26 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1073.26 s
[opt-env-conf-test] pure $ Just os
1073.26 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1073.26 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:175:22-44
1073.26 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1073.26 s
[opt-env-conf-test] -- with only forgivable errors
1073.26 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1073.26 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1073.26 s
[opt-env-conf-test] - if null parsedSettingsMap
1073.26 s
[opt-env-conf-test] + if not null parsedSettingsMap
1073.26 s
[opt-env-conf-test] then ppErrors' errs
1073.26 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1073.26 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1073.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1073.27 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1073.27 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1073.27 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1073.27 s
[opt-env-conf-test] exitFailure
1073.27 s
[opt-env-conf-test] Right i -> case i of
1073.27 s
[opt-env-conf-test] ShowVersion -> do
1073.27 s
[opt-env-conf-test] progname <- getProgName
1073.27 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1073.27 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1073.27 s
[opt-env-conf-test] exitSuccess
1073.27 s
[opt-env-conf-test] - RenderMan -> do
1073.27 s
[opt-env-conf-test] - progname <- getProgName
1073.27 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1073.27 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1073.27 s
[opt-env-conf-test] - exitSuccess
1073.27 s
[opt-env-conf-test] RenderDocumentation -> do
1073.27 s
[opt-env-conf-test] progname <- getProgName
1073.28 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1073.28 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1073.28 s
[opt-env-conf-test] exitSuccess
1073.28 s
[opt-env-conf-test] RenderNixosOptions -> do
1073.28 s
[opt-env-conf-test] progname <- getProgName
1073.28 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1073.28 s
[opt-env-conf-test] exitSuccess
1073.28 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1073.28 s
[opt-env-conf-test] progname <- getProgName
1073.28 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1073.28 s
[opt-env-conf-test] exitSuccess
1073.28 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1073.28 s
[opt-env-conf-test] progname <- getProgName
1073.28 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1073.28 s
[opt-env-conf-test] exitSuccess
1073.28 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1073.28 s
[opt-env-conf-test] progname <- getProgName
1073.28 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1073.28 s
[opt-env-conf-test] exitSuccess
1075.49 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1075.49 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1075.55 s
[opt-env-conf-test] exitSuccess
1075.55 s
[opt-env-conf-test] ParsedNormally a -> pure a
1075.55 s
[opt-env-conf-test]
1075.55 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1075.55 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1075.55 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:287:23-30
1075.55 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1075.55 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1075.55 s
[opt-env-conf-test] -- further), prefer our completions which came
1075.55 s
[opt-env-conf-test] -- from the advancing iteration.
1075.55 s
[opt-env-conf-test] - | null os -> pure $ Just more
1075.55 s
[opt-env-conf-test] + | not null os -> pure $ Just more
1075.55 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1075.55 s
[opt-env-conf-test]
1075.55 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1075.55 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:287:23-30
1075.55 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1075.55 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1075.55 s
[opt-env-conf-test] -- further), prefer our completions which came
1075.55 s
[opt-env-conf-test] -- from the advancing iteration.
1075.55 s
[opt-env-conf-test] - | null os -> pure $ Just more
1075.55 s
[opt-env-conf-test] + | True -> pure $ Just more
1075.55 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1075.55 s
[opt-env-conf-test]
1075.55 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1075.55 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1075.55 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1075.56 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1075.56 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1075.56 s
[opt-env-conf-test] exitFailure
1075.56 s
[opt-env-conf-test] Right i -> case i of
1075.56 s
[opt-env-conf-test] ShowVersion -> do
1075.56 s
[opt-env-conf-test] progname <- getProgName
1075.56 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1075.56 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1075.56 s
[opt-env-conf-test] exitSuccess
1075.56 s
[opt-env-conf-test] RenderMan -> do
1075.56 s
[opt-env-conf-test] progname <- getProgName
1075.56 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1075.56 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1075.56 s
[opt-env-conf-test] exitSuccess
1075.56 s
[opt-env-conf-test] RenderDocumentation -> do
1075.56 s
[opt-env-conf-test] progname <- getProgName
1075.56 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1075.56 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1075.56 s
[opt-env-conf-test] exitSuccess
1075.56 s
[opt-env-conf-test] RenderNixosOptions -> do
1075.56 s
[opt-env-conf-test] progname <- getProgName
1075.56 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1075.56 s
[opt-env-conf-test] exitSuccess
1075.56 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1075.56 s
[opt-env-conf-test] progname <- getProgName
1075.56 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1075.56 s
[opt-env-conf-test] exitSuccess
1075.56 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1075.56 s
[opt-env-conf-test] progname <- getProgName
1075.56 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1075.56 s
[opt-env-conf-test] - exitSuccess
1075.56 s
[opt-env-conf-test] - FishCompletionScript progPath -> do
1075.56 s
[opt-env-conf-test] - progname <- getProgName
1075.56 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
1075.56 s
[opt-env-conf-test] exitSuccess
1080.13 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1080.13 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1080.13 s
[opt-env-conf-test] exitSuccess
1080.13 s
[opt-env-conf-test] ParsedNormally a -> pure a
1080.13 s
[opt-env-conf-test]
1080.13 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1080.13 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1080.13 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
1080.13 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1080.13 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1080.13 s
[opt-env-conf-test] case mArg of
1080.13 s
[opt-env-conf-test] Nothing -> do
1080.13 s
[opt-env-conf-test] - if argsAtEnd rest
1080.13 s
[opt-env-conf-test] + if False
1080.13 s
[opt-env-conf-test] then do
1080.13 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1080.14 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1080.14 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
1080.14 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1080.14 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1080.14 s
[opt-env-conf-test] case mArg of
1080.14 s
[opt-env-conf-test] Nothing -> do
1080.14 s
[opt-env-conf-test] - if argsAtEnd rest
1080.14 s
[opt-env-conf-test] + if True
1080.14 s
[opt-env-conf-test] then do
1080.14 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1080.14 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1080.14 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:340:20-34
1080.14 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1080.14 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1080.14 s
[opt-env-conf-test] case mArg of
1080.14 s
[opt-env-conf-test] Nothing -> do
1080.14 s
[opt-env-conf-test] - if argsAtEnd rest
1080.14 s
[opt-env-conf-test] + if not argsAtEnd rest
1080.14 s
[opt-env-conf-test] then do
1080.14 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1080.14 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1080.14 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
1080.14 s
[opt-env-conf-test] @@ -304,9 +304,8 @@
1080.14 s
[opt-env-conf-test] Nothing -> pure Nothing
1080.14 s
[opt-env-conf-test] Just cs1 -> do
1080.14 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1080.14 s
[opt-env-conf-test] pure $ case p2s of
1080.14 s
[opt-env-conf-test] - Nothing -> Nothing
1080.14 s
[opt-env-conf-test] Just cs2 -> pure $ cs1 ++ cs2
1080.14 s
[opt-env-conf-test]
1080.14 s
[opt-env-conf-test] -- Nothing means "this branch was not valid"
1080.14 s
[opt-env-conf-test] -- Just [] means "no completions"
1080.14 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
1080.14 s
[opt-env-conf-test] @@ -357,11 +357,8 @@
1080.14 s
[opt-env-conf-test] -- name then the remaining args have nowhere to go.
1080.14 s
[opt-env-conf-test] pure Nothing
1080.14 s
[opt-env-conf-test] Just arg ->
1080.14 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1080.14 s
[opt-env-conf-test] - Just c -> do
1080.14 s
[opt-env-conf-test] - put rest
1080.14 s
[opt-env-conf-test] - goCommand c
1080.14 s
[opt-env-conf-test] Nothing -> pure Nothing
1080.14 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1080.14 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1080.14 s
[opt-env-conf-test] -- if the user provides no command.
1080.14 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
1080.14 s
[opt-env-conf-test] @@ -357,11 +357,10 @@
1080.14 s
[opt-env-conf-test] -- name then the remaining args have nowhere to go.
1080.14 s
[opt-env-conf-test] pure Nothing
1080.14 s
[opt-env-conf-test] Just arg ->
1080.14 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1080.14 s
[opt-env-conf-test] Just c -> do
1080.14 s
[opt-env-conf-test] put rest
1080.14 s
[opt-env-conf-test] goCommand c
1080.14 s
[opt-env-conf-test] - Nothing -> pure Nothing
1080.14 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1080.14 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1080.14 s
[opt-env-conf-test] -- if the user provides no command.
1080.14 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:134:29-28
1080.14 s
[opt-env-conf-test] @@ -131,15 +131,14 @@
1080.14 s
[opt-env-conf-test] Nothing -> do
1080.14 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1080.15 s
[opt-env-conf-test] ppIndent $ go p2
1080.15 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1080.15 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1080.15 s
[opt-env-conf-test] ppIndent $ do
1080.15 s
[opt-env-conf-test] eor <- tryPP $ go p'
1080.15 s
[opt-env-conf-test] case eor of
1080.15 s
[opt-env-conf-test] Nothing -> pure []
1080.15 s
[opt-env-conf-test] Just a -> do
1080.15 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1080.15 s
[opt-env-conf-test] pure (a : as)
1080.15 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1080.15 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1080.15 s
[opt-env-conf-test] ppIndent $ do
1080.15 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:378:19-31
1080.15 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1080.15 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1080.15 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1080.15 s
[opt-env-conf-test] -- command's completions.
1080.15 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1080.15 s
[opt-env-conf-test] + | True -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1080.15 s
[opt-env-conf-test] | otherwise -> do
1080.15 s
[opt-env-conf-test] -- The default command consumed args, so its
1080.15 s
[opt-env-conf-test] -- completions are valid. But we must restore
1080.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1080.15 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1080.15 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1080.15 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1080.15 s
[opt-env-conf-test] exitFailure
1080.15 s
[opt-env-conf-test] Right i -> case i of
1080.15 s
[opt-env-conf-test] ShowVersion -> do
1080.15 s
[opt-env-conf-test] progname <- getProgName
1080.15 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1080.15 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1080.15 s
[opt-env-conf-test] exitSuccess
1080.15 s
[opt-env-conf-test] RenderMan -> do
1080.15 s
[opt-env-conf-test] progname <- getProgName
1080.15 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1080.15 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1080.15 s
[opt-env-conf-test] exitSuccess
1080.15 s
[opt-env-conf-test] RenderDocumentation -> do
1080.15 s
[opt-env-conf-test] progname <- getProgName
1080.15 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1080.15 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1080.15 s
[opt-env-conf-test] - exitSuccess
1080.15 s
[opt-env-conf-test] - RenderNixosOptions -> do
1080.15 s
[opt-env-conf-test] - progname <- getProgName
1080.15 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1080.15 s
[opt-env-conf-test] exitSuccess
1080.15 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1080.15 s
[opt-env-conf-test] progname <- getProgName
1080.15 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1080.15 s
[opt-env-conf-test] exitSuccess
1080.15 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1080.15 s
[opt-env-conf-test] progname <- getProgName
1080.15 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1080.15 s
[opt-env-conf-test] exitSuccess
1080.15 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1080.15 s
[opt-env-conf-test] progname <- getProgName
1080.15 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1080.15 s
[opt-env-conf-test] exitSuccess
1089.62 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1089.62 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1089.65 s
[opt-env-conf-test] exitSuccess
1089.65 s
[opt-env-conf-test] ParsedNormally a -> pure a
1089.65 s
[opt-env-conf-test]
1089.65 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1089.65 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1089.65 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:398:18-30
1089.65 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1089.65 s
[opt-env-conf-test] pure Completion {..}
1089.65 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1089.65 s
[opt-env-conf-test] as <- get
1089.65 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
1089.65 s
[opt-env-conf-test] + if not argsAtEnd as then completeWithCompleter else pure $ Just []
1089.65 s
[opt-env-conf-test] let completeWithDasheds = do
1089.65 s
[opt-env-conf-test] let isLong = \case
1089.65 s
[opt-env-conf-test] DashedLong _ -> True
1089.65 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:403:41-66
1089.65 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1089.65 s
[opt-env-conf-test] let isLong = \case
1089.65 s
[opt-env-conf-test] DashedLong _ -> True
1089.65 s
[opt-env-conf-test] DashedShort _ -> False
1089.65 s
[opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1089.65 s
[opt-env-conf-test] + let favorableDasheds = if not any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1089.65 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1089.65 s
[opt-env-conf-test] let completions =
1089.65 s
[opt-env-conf-test] map
1089.65 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
1089.65 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1089.65 s
[opt-env-conf-test] )
1089.65 s
[opt-env-conf-test] suggestions
1089.65 s
[opt-env-conf-test] pure $ Just completions
1089.65 s
[opt-env-conf-test] - if settingHidden
1089.65 s
[opt-env-conf-test] + if False
1089.65 s
[opt-env-conf-test] then pure $ Just []
1089.66 s
[opt-env-conf-test] else do
1089.66 s
[opt-env-conf-test] as <- get
1089.66 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
1089.66 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1089.66 s
[opt-env-conf-test] let isLong = \case
1089.66 s
[opt-env-conf-test] DashedLong _ -> True
1089.66 s
[opt-env-conf-test] DashedShort _ -> False
1089.66 s
[opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1089.66 s
[opt-env-conf-test] + let favorableDasheds = if True then filter isLong settingDasheds else settingDasheds
1089.66 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1089.66 s
[opt-env-conf-test] let completions =
1089.66 s
[opt-env-conf-test] map
1089.66 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
1089.66 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1089.66 s
[opt-env-conf-test] )
1089.66 s
[opt-env-conf-test] suggestions
1089.66 s
[opt-env-conf-test] pure $ Just completions
1089.66 s
[opt-env-conf-test] - if settingHidden
1089.66 s
[opt-env-conf-test] + if True
1089.66 s
[opt-env-conf-test] then pure $ Just []
1089.66 s
[opt-env-conf-test] else do
1089.66 s
[opt-env-conf-test] as <- get
1089.66 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:414:12-25
1089.66 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1089.66 s
[opt-env-conf-test] )
1089.66 s
[opt-env-conf-test] suggestions
1089.66 s
[opt-env-conf-test] pure $ Just completions
1089.66 s
[opt-env-conf-test] - if settingHidden
1089.66 s
[opt-env-conf-test] + if not settingHidden
1089.66 s
[opt-env-conf-test] then pure $ Just []
1089.66 s
[opt-env-conf-test] else do
1089.66 s
[opt-env-conf-test] as <- get
1089.66 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:402:38-43
1089.66 s
[opt-env-conf-test] @@ -399,7 +399,7 @@
1089.66 s
[opt-env-conf-test] let completeWithDasheds = do
1089.66 s
[opt-env-conf-test] let isLong = \case
1089.66 s
[opt-env-conf-test] DashedLong _ -> True
1089.66 s
[opt-env-conf-test] - DashedShort _ -> False
1089.66 s
[opt-env-conf-test] + DashedShort _ -> True
1089.66 s
[opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1089.66 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1089.66 s
[opt-env-conf-test] let completions =
1089.66 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
1089.66 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1089.66 s
[opt-env-conf-test] let isLong = \case
1089.66 s
[opt-env-conf-test] DashedLong _ -> True
1089.66 s
[opt-env-conf-test] DashedShort _ -> False
1089.66 s
[opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1089.66 s
[opt-env-conf-test] + let favorableDasheds = if False then filter isLong settingDasheds else settingDasheds
1089.66 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1089.66 s
[opt-env-conf-test] let completions =
1089.66 s
[opt-env-conf-test] map
1089.66 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:401:37-41
1089.66 s
[opt-env-conf-test] @@ -398,7 +398,7 @@
1089.66 s
[opt-env-conf-test] if argsAtEnd as then completeWithCompleter else pure $ Just []
1089.66 s
[opt-env-conf-test] let completeWithDasheds = do
1089.66 s
[opt-env-conf-test] let isLong = \case
1089.66 s
[opt-env-conf-test] - DashedLong _ -> True
1089.66 s
[opt-env-conf-test] + DashedLong _ -> False
1089.66 s
[opt-env-conf-test] DashedShort _ -> False
1089.66 s
[opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1089.66 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1089.66 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
1089.66 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1089.66 s
[opt-env-conf-test] pure Completion {..}
1089.66 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1089.66 s
[opt-env-conf-test] as <- get
1089.66 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
1089.66 s
[opt-env-conf-test] + if False then completeWithCompleter else pure $ Just []
1089.66 s
[opt-env-conf-test] let completeWithDasheds = do
1089.66 s
[opt-env-conf-test] let isLong = \case
1089.66 s
[opt-env-conf-test] DashedLong _ -> True
1089.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
1089.66 s
[opt-env-conf-test] @@ -375,7 +375,6 @@
1089.66 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1089.66 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1089.66 s
[opt-env-conf-test] -- command's completions.
1089.66 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1089.66 s
[opt-env-conf-test] | otherwise -> do
1089.66 s
[opt-env-conf-test] -- The default command consumed args, so its
1089.66 s
[opt-env-conf-test] -- completions are valid. But we must restore
1089.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
1089.66 s
[opt-env-conf-test] @@ -375,7 +375,6 @@
1089.66 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1089.66 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1089.66 s
[opt-env-conf-test] -- command's completions.
1089.66 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1089.66 s
[opt-env-conf-test] | otherwise -> do
1089.66 s
[opt-env-conf-test] -- The default command consumed args, so its
1089.66 s
[opt-env-conf-test] -- completions are valid. But we must restore
1089.66 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
1089.66 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1089.66 s
[opt-env-conf-test] pure Completion {..}
1089.66 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1089.66 s
[opt-env-conf-test] as <- get
1089.66 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
1089.66 s
[opt-env-conf-test] + if True then completeWithCompleter else pure $ Just []
1089.66 s
[opt-env-conf-test] let completeWithDasheds = do
1089.66 s
[opt-env-conf-test] let isLong = \case
1089.66 s
[opt-env-conf-test] DashedLong _ -> True
1089.66 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:378:19-31
1089.66 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1089.66 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1089.67 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1089.67 s
[opt-env-conf-test] -- command's completions.
1089.67 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1089.67 s
[opt-env-conf-test] + | not argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1089.67 s
[opt-env-conf-test] | otherwise -> do
1089.67 s
[opt-env-conf-test] -- The default command consumed args, so its
1089.67 s
[opt-env-conf-test] -- completions are valid. But we must restore
1089.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
1089.67 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1089.67 s
[opt-env-conf-test] put as'
1089.67 s
[opt-env-conf-test] completeWithCompleterAtEnd
1089.67 s
[opt-env-conf-test] else
1089.67 s
[opt-env-conf-test] - if isJust settingSwitchValue
1089.67 s
[opt-env-conf-test] + if True
1089.67 s
[opt-env-conf-test] then do
1089.67 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1089.67 s
[opt-env-conf-test] -- it's already been parsed.
1089.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
1089.67 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1089.67 s
[opt-env-conf-test] then pure $ Just []
1089.67 s
[opt-env-conf-test] else do
1096.85 s
[opt-env-conf-test] as <- get
1096.86 s
[opt-env-conf-test] - if settingTryArgument
1096.86 s
[opt-env-conf-test] + if True
1096.88 s
[opt-env-conf-test] then do
1096.88 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1096.88 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1096.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1096.88 s
[opt-env-conf-test] @@ -432,11 +432,10 @@
1096.88 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1096.88 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1096.88 s
[opt-env-conf-test] -- completer if we are at the end.
1096.88 s
[opt-env-conf-test] case possibilities of
1096.89 s
[opt-env-conf-test] - [] -> completeWithCompleterAtEnd
1096.89 s
[opt-env-conf-test] (_, as') : _ -> do
1096.89 s
[opt-env-conf-test] put as'
1096.89 s
[opt-env-conf-test] completeWithCompleterAtEnd
1096.89 s
[opt-env-conf-test] else
1096.89 s
[opt-env-conf-test] if isJust settingSwitchValue
1096.89 s
[opt-env-conf-test] then do
1096.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1096.89 s
[opt-env-conf-test] @@ -432,11 +432,8 @@
1096.89 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1096.89 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1096.89 s
[opt-env-conf-test] -- completer if we are at the end.
1096.89 s
[opt-env-conf-test] case possibilities of
1096.89 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
1096.89 s
[opt-env-conf-test] - (_, as') : _ -> do
1096.89 s
[opt-env-conf-test] - put as'
1096.89 s
[opt-env-conf-test] - completeWithCompleterAtEnd
1096.89 s
[opt-env-conf-test] else
1096.89 s
[opt-env-conf-test] if isJust settingSwitchValue
1096.89 s
[opt-env-conf-test] then do
1096.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:418:16-34
1096.89 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1096.89 s
[opt-env-conf-test] then pure $ Just []
1096.89 s
[opt-env-conf-test] else do
1096.89 s
[opt-env-conf-test] as <- get
1096.89 s
[opt-env-conf-test] - if settingTryArgument
1096.89 s
[opt-env-conf-test] + if not settingTryArgument
1096.89 s
[opt-env-conf-test] then do
1096.89 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1096.89 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1096.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
1096.89 s
[opt-env-conf-test] @@ -160,7 +160,7 @@
1096.89 s
[opt-env-conf-test] --
1096.89 s
[opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
1096.89 s
[opt-env-conf-test] let index = pred index'
1096.89 s
[opt-env-conf-test] - let ws = drop 1 ws'
1096.89 s
[opt-env-conf-test] + let ws = drop 0 ws'
1096.89 s
[opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
1096.89 s
[opt-env-conf-test] let completions = pureCompletionQuery parser index ws
1096.89 s
[opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
1096.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
1096.89 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1096.89 s
[opt-env-conf-test] put as'
1096.89 s
[opt-env-conf-test] pure $ Just []
1096.89 s
[opt-env-conf-test] Nothing -> do
1096.89 s
[opt-env-conf-test] - if argsAtEnd as
1096.89 s
[opt-env-conf-test] + if True
1096.89 s
[opt-env-conf-test] then completeWithDasheds
1096.89 s
[opt-env-conf-test] else do
1096.89 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1096.90 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:461:32-44
1096.90 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1096.90 s
[opt-env-conf-test] put as'
1096.90 s
[opt-env-conf-test] pure $ Just []
1096.90 s
[opt-env-conf-test] Nothing -> do
1096.90 s
[opt-env-conf-test] - if argsAtEnd as
1096.90 s
[opt-env-conf-test] + if not argsAtEnd as
1096.90 s
[opt-env-conf-test] then completeWithDasheds
1096.90 s
[opt-env-conf-test] else do
1096.90 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1096.90 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:453:24-40
1096.90 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1096.90 s
[opt-env-conf-test] put as'
1096.90 s
[opt-env-conf-test] pure $ Just []
1096.90 s
[opt-env-conf-test] else do
1096.90 s
[opt-env-conf-test] - if settingTryOption
1096.90 s
[opt-env-conf-test] + if not settingTryOption
1096.90 s
[opt-env-conf-test] then do
1096.90 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1096.90 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1096.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1096.90 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1096.90 s
[opt-env-conf-test] put as'
1096.90 s
[opt-env-conf-test] pure $ Just []
1096.90 s
[opt-env-conf-test] else do
1096.90 s
[opt-env-conf-test] - if settingTryOption
1096.90 s
[opt-env-conf-test] + if False
1096.90 s
[opt-env-conf-test] then do
1096.90 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1096.90 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1096.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1096.90 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1096.90 s
[opt-env-conf-test] put as'
1096.90 s
[opt-env-conf-test] pure $ Just []
1096.90 s
[opt-env-conf-test] else do
1096.90 s
[opt-env-conf-test] - if settingTryOption
1096.90 s
[opt-env-conf-test] + if True
1096.90 s
[opt-env-conf-test] then do
1096.90 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1096.90 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1096.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
1096.90 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1096.90 s
[opt-env-conf-test] put as'
1096.90 s
[opt-env-conf-test] pure $ Just []
1096.91 s
[opt-env-conf-test] Nothing -> do
1096.91 s
[opt-env-conf-test] - if argsAtEnd as
1096.91 s
[opt-env-conf-test] + if False
1096.91 s
[opt-env-conf-test] then completeWithDasheds
1096.91 s
[opt-env-conf-test] else do
1096.91 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1096.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
1096.91 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1096.91 s
[opt-env-conf-test] put as'
1096.91 s
[opt-env-conf-test] completeWithCompleterAtEnd
1096.91 s
[opt-env-conf-test] else
1096.91 s
[opt-env-conf-test] - if isJust settingSwitchValue
1096.91 s
[opt-env-conf-test] + if False
1096.91 s
[opt-env-conf-test] then do
1096.91 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1096.91 s
[opt-env-conf-test] -- it's already been parsed.
1096.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:441:20-45
1096.91 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1096.91 s
[opt-env-conf-test] put as'
1096.91 s
[opt-env-conf-test] completeWithCompleterAtEnd
1096.91 s
[opt-env-conf-test] else
1096.91 s
[opt-env-conf-test] - if isJust settingSwitchValue
1096.91 s
[opt-env-conf-test] + if not isJust settingSwitchValue
1096.91 s
[opt-env-conf-test] then do
1096.91 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1096.91 s
[opt-env-conf-test] -- it's already been parsed.
1096.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
1096.91 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1096.91 s
[opt-env-conf-test] ( \Completion {..} ->
1096.91 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1096.91 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1096.91 s
[opt-env-conf-test] - in case (notFinal, completionDescription) of
1096.91 s
[opt-env-conf-test] + in case (False, completionDescription) of
1096.91 s
[opt-env-conf-test] (False, Nothing) -> val
1096.91 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1096.91 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1096.92 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:179:27-35
1096.92 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1096.92 s
[opt-env-conf-test] ( \Completion {..} ->
1096.92 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1096.92 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1096.92 s
[opt-env-conf-test] - in case (notFinal, completionDescription) of
1096.92 s
[opt-env-conf-test] + in case (not notFinal, completionDescription) of
1096.92 s
[opt-env-conf-test] (False, Nothing) -> val
1096.92 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1096.92 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1096.92 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
1096.92 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1096.92 s
[opt-env-conf-test] map
1096.92 s
[opt-env-conf-test] ( \Completion {..} ->
1096.92 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1096.92 s
[opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1096.92 s
[opt-env-conf-test] + notFinal = False
1096.92 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1096.92 s
[opt-env-conf-test] (False, Nothing) -> val
1096.92 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1096.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1096.92 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1096.92 s
[opt-env-conf-test] ( \Completion {..} ->
1100.01 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1100.02 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1100.02 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1100.02 s
[opt-env-conf-test] (False, Nothing) -> val
1100.02 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1100.02 s
[opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
1100.02 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1100.02 s
[opt-env-conf-test] )
1100.02 s
[opt-env-conf-test] evaluatedCompletions
1100.02 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1100.02 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:171:6-14
1100.02 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1100.02 s
[opt-env-conf-test] -- import System.IO
1100.02 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1100.02 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1100.02 s
[opt-env-conf-test] - if enriched
1100.02 s
[opt-env-conf-test] + if not enriched
1100.02 s
[opt-env-conf-test] then
1100.02 s
[opt-env-conf-test] putStr $
1100.02 s
[opt-env-conf-test] unlines $
1100.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
1100.02 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1100.02 s
[opt-env-conf-test] map
1100.02 s
[opt-env-conf-test] ( \Completion {..} ->
1100.02 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1100.02 s
[opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1100.02 s
[opt-env-conf-test] + notFinal = True
1100.02 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1100.02 s
[opt-env-conf-test] (False, Nothing) -> val
1100.02 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1100.02 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
1100.02 s
[opt-env-conf-test] @@ -160,7 +160,7 @@
1100.02 s
[opt-env-conf-test] --
1100.02 s
[opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
1100.02 s
[opt-env-conf-test] let index = pred index'
1100.02 s
[opt-env-conf-test] - let ws = drop 1 ws'
1100.02 s
[opt-env-conf-test] + let ws = drop -1 ws'
1100.02 s
[opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
1100.02 s
[opt-env-conf-test] let completions = pureCompletionQuery parser index ws
1100.02 s
[opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
1100.02 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:178:32-99
1100.02 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1100.02 s
[opt-env-conf-test] map
1100.02 s
[opt-env-conf-test] ( \Completion {..} ->
1100.02 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1100.02 s
[opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1100.02 s
[opt-env-conf-test] + notFinal = not completionResultFinality completionSuggestion == CompletionNotFinal
1100.02 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1100.03 s
[opt-env-conf-test] (False, Nothing) -> val
1100.03 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1100.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
1100.03 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1100.03 s
[opt-env-conf-test] -- import System.IO
1100.03 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1100.03 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1100.03 s
[opt-env-conf-test] - if enriched
1100.03 s
[opt-env-conf-test] + if False
1100.03 s
[opt-env-conf-test] then
1100.03 s
[opt-env-conf-test] putStr $
1100.03 s
[opt-env-conf-test] unlines $
1100.03 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1100.03 s
[opt-env-conf-test] @@ -64,46 +64,45 @@
1100.03 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1100.03 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1100.03 s
[opt-env-conf-test] unlines
1100.03 s
[opt-env-conf-test] - [ "#compdef " ++ progname,
1100.03 s
[opt-env-conf-test] "",
1100.03 s
[opt-env-conf-test] "local request",
1100.03 s
[opt-env-conf-test] "local completions",
1100.03 s
[opt-env-conf-test] "local word",
1100.03 s
[opt-env-conf-test] "local index=$((CURRENT - 1))",
1100.03 s
[opt-env-conf-test] "",
1100.03 s
[opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1100.03 s
[opt-env-conf-test] "for arg in ${words[@]}; do",
1100.03 s
[opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
1100.03 s
[opt-env-conf-test] "done",
1100.03 s
[opt-env-conf-test] "",
1100.03 s
[opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1100.03 s
[opt-env-conf-test] "",
1100.03 s
[opt-env-conf-test] "for word in $completions; do",
1100.03 s
[opt-env-conf-test] " local -a parts",
1100.03 s
[opt-env-conf-test] "",
1100.03 s
[opt-env-conf-test] " # Split the line at a tab if there is one.",
1100.03 s
[opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
1100.03 s
[opt-env-conf-test] "",
1100.03 s
[opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
1100.03 s
[opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
1100.03 s
[opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
1100.03 s
[opt-env-conf-test] " compadd -d desc -- $parts[1]",
1100.03 s
[opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
1100.03 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1100.03 s
[opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
1100.03 s
[opt-env-conf-test] " else",
1100.03 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1100.03 s
[opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
1100.03 s
[opt-env-conf-test] " fi",
1100.03 s
[opt-env-conf-test] " else",
1100.03 s
[opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
1100.03 s
[opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
1100.03 s
[opt-env-conf-test] " else",
1100.03 s
[opt-env-conf-test] " compadd -f -- $parts[1]",
1100.03 s
[opt-env-conf-test] " fi",
1100.03 s
[opt-env-conf-test] " fi",
1100.03 s
[opt-env-conf-test] "done"
1100.03 s
[opt-env-conf-test] ]
1100.03 s
[opt-env-conf-test]
1100.03 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1100.03 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1100.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
1100.03 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1100.03 s
[opt-env-conf-test] -- import System.IO
1100.03 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1100.03 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1100.03 s
[opt-env-conf-test] - if enriched
1100.03 s
[opt-env-conf-test] + if True
1100.03 s
[opt-env-conf-test] then
1100.03 s
[opt-env-conf-test] putStr $
1100.03 s
[opt-env-conf-test] unlines $
1100.03 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1100.03 s
[opt-env-conf-test] @@ -40,22 +40,7 @@
1100.03 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1100.03 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1100.03 s
[opt-env-conf-test] in unlines
1100.03 s
[opt-env-conf-test] - [ functionName ++ "()",
1100.03 s
[opt-env-conf-test] - "{",
1100.03 s
[opt-env-conf-test] - " local CMDLINE",
1100.03 s
[opt-env-conf-test] - " local IFS=$'\\n'",
1100.03 s
[opt-env-conf-test] - " CMDLINE=(--query-opt-env-conf-completion)",
1100.03 s
[opt-env-conf-test] - " CMDLINE+=(--completion-index $COMP_CWORD)",
1100.03 s
[opt-env-conf-test] - "",
1100.03 s
[opt-env-conf-test] - " for arg in ${COMP_WORDS[@]}; do",
1100.03 s
[opt-env-conf-test] - " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1100.04 s
[opt-env-conf-test] - " done",
1100.04 s
[opt-env-conf-test] - "",
1100.04 s
[opt-env-conf-test] - " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1100.04 s
[opt-env-conf-test] - "}",
1100.04 s
[opt-env-conf-test] - "",
1100.04 s
[opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
1100.04 s
[opt-env-conf-test] ]
1100.04 s
[opt-env-conf-test]
1100.04 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1100.04 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1100.04 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1100.04 s
[opt-env-conf-test] @@ -40,22 +40,21 @@
1100.04 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1100.04 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1100.04 s
[opt-env-conf-test] in unlines
1100.04 s
[opt-env-conf-test] - [ functionName ++ "()",
1100.04 s
[opt-env-conf-test] "{",
1100.04 s
[opt-env-conf-test] " local CMDLINE",
1100.04 s
[opt-env-conf-test] " local IFS=$'\\n'",
1100.04 s
[opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
1100.04 s
[opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
1100.04 s
[opt-env-conf-test] "",
1100.04 s
[opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
1100.04 s
[opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1100.04 s
[opt-env-conf-test] " done",
1100.04 s
[opt-env-conf-test] "",
1100.04 s
[opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1100.04 s
[opt-env-conf-test] "}",
1100.04 s
[opt-env-conf-test] "",
1100.04 s
[opt-env-conf-test] "complete -o filenames -F " ++ functionName ++ " " ++ progname
1100.04 s
[opt-env-conf-test] ]
1100.04 s
[opt-env-conf-test]
1100.04 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1100.04 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1100.04 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1100.04 s
[opt-env-conf-test] @@ -64,46 +64,7 @@
1100.04 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1100.04 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1100.04 s
[opt-env-conf-test] unlines
1100.04 s
[opt-env-conf-test] - [ "#compdef " ++ progname,
1100.04 s
[opt-env-conf-test] - "",
1100.04 s
[opt-env-conf-test] - "local request",
1100.04 s
[opt-env-conf-test] - "local completions",
1100.04 s
[opt-env-conf-test] - "local word",
1100.04 s
[opt-env-conf-test] - "local index=$((CURRENT - 1))",
1100.04 s
[opt-env-conf-test] - "",
1100.04 s
[opt-env-conf-test] - "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1100.04 s
[opt-env-conf-test] - "for arg in ${words[@]}; do",
1100.04 s
[opt-env-conf-test] - " request=(${request[@]} --completion-word $arg)",
1100.04 s
[opt-env-conf-test] - "done",
1100.04 s
[opt-env-conf-test] - "",
1100.04 s
[opt-env-conf-test] - "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1100.04 s
[opt-env-conf-test] - "",
1100.04 s
[opt-env-conf-test] - "for word in $completions; do",
1100.04 s
[opt-env-conf-test] - " local -a parts",
1100.04 s
[opt-env-conf-test] - "",
1100.04 s
[opt-env-conf-test] - " # Split the line at a tab if there is one.",
1100.04 s
[opt-env-conf-test] - " IFS=$'\\t' parts=($( echo $word ))",
1100.04 s
[opt-env-conf-test] - "",
1100.04 s
[opt-env-conf-test] - " if [[ -n $parts[2] ]]; then",
1100.04 s
[opt-env-conf-test] - " if [[ $word[1] == \"-\" ]]; then",
1100.04 s
[opt-env-conf-test] - " local desc=(\"$parts[1] ($parts[2])\")",
1100.04 s
[opt-env-conf-test] - " compadd -d desc -- $parts[1]",
1100.04 s
[opt-env-conf-test] - " elif [[ $parts[3] == 'N' ]]; then",
1100.04 s
[opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1100.04 s
[opt-env-conf-test] - " compadd -f -l -S '' -d desc -- $parts[1]",
1100.04 s
[opt-env-conf-test] - " else",
1100.04 s
[opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1100.04 s
[opt-env-conf-test] - " compadd -f -l -d desc -- $parts[1]",
1100.04 s
[opt-env-conf-test] - " fi",
1100.04 s
[opt-env-conf-test] - " else",
1100.04 s
[opt-env-conf-test] - " if [[ $parts[3] == 'N' ]]; then",
1100.04 s
[opt-env-conf-test] - " compadd -f -S '' -- $parts[1]",
1100.04 s
[opt-env-conf-test] - " else",
1100.04 s
[opt-env-conf-test] - " compadd -f -- $parts[1]",
1100.04 s
[opt-env-conf-test] - " fi",
1100.04 s
[opt-env-conf-test] - " fi",
1100.04 s
[opt-env-conf-test] - "done"
1100.04 s
[opt-env-conf-test] ]
1100.04 s
[opt-env-conf-test]
1100.04 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1102.06 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1102.06 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1102.12 s
[opt-env-conf-test] @@ -40,22 +40,21 @@
1102.12 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1102.12 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1102.12 s
[opt-env-conf-test] in unlines
1102.12 s
[opt-env-conf-test] [ functionName ++ "()",
1102.12 s
[opt-env-conf-test] "{",
1102.12 s
[opt-env-conf-test] " local CMDLINE",
1102.12 s
[opt-env-conf-test] " local IFS=$'\\n'",
1102.12 s
[opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
1102.12 s
[opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
1102.12 s
[opt-env-conf-test] "",
1102.13 s
[opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
1102.13 s
[opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1102.13 s
[opt-env-conf-test] " done",
1102.13 s
[opt-env-conf-test] "",
1102.13 s
[opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1102.13 s
[opt-env-conf-test] "}",
1102.13 s
[opt-env-conf-test] "",
1102.13 s
[opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
1102.13 s
[opt-env-conf-test] ]
1102.13 s
[opt-env-conf-test]
1102.13 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1102.13 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1102.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1102.13 s
[opt-env-conf-test] @@ -113,27 +113,26 @@
1102.13 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1102.13 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1102.13 s
[opt-env-conf-test] in unlines
1102.13 s
[opt-env-conf-test] [ " function " ++ functionName,
1102.13 s
[opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
1102.13 s
[opt-env-conf-test] " # Hack around fish issue #3934",
1102.13 s
[opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1102.13 s
[opt-env-conf-test] " set -l cn (count $cn)",
1102.13 s
[opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1102.13 s
[opt-env-conf-test] " for arg in $cl",
1102.13 s
[opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
1102.13 s
[opt-env-conf-test] " end",
1102.13 s
[opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1102.13 s
[opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
1102.13 s
[opt-env-conf-test] " if test -d $val",
1102.13 s
[opt-env-conf-test] " echo -E \"$val/\"",
1102.13 s
[opt-env-conf-test] " else",
1102.13 s
[opt-env-conf-test] " echo -E \"$val\"",
1102.13 s
[opt-env-conf-test] " end",
1102.13 s
[opt-env-conf-test] " end",
1102.13 s
[opt-env-conf-test] "end",
1102.13 s
[opt-env-conf-test] "",
1102.13 s
[opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1102.13 s
[opt-env-conf-test] ]
1102.13 s
[opt-env-conf-test]
1102.13 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1102.13 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1102.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1102.14 s
[opt-env-conf-test] @@ -64,46 +64,45 @@
1102.14 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1102.14 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1102.14 s
[opt-env-conf-test] unlines
1102.14 s
[opt-env-conf-test] [ "#compdef " ++ progname,
1102.14 s
[opt-env-conf-test] "",
1102.14 s
[opt-env-conf-test] "local request",
1102.14 s
[opt-env-conf-test] "local completions",
1102.14 s
[opt-env-conf-test] "local word",
1102.14 s
[opt-env-conf-test] "local index=$((CURRENT - 1))",
1102.14 s
[opt-env-conf-test] "",
1102.14 s
[opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1102.14 s
[opt-env-conf-test] "for arg in ${words[@]}; do",
1102.14 s
[opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
1102.14 s
[opt-env-conf-test] "done",
1102.14 s
[opt-env-conf-test] "",
1102.14 s
[opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1102.14 s
[opt-env-conf-test] "",
1102.14 s
[opt-env-conf-test] "for word in $completions; do",
1102.14 s
[opt-env-conf-test] " local -a parts",
1102.14 s
[opt-env-conf-test] "",
1102.14 s
[opt-env-conf-test] " # Split the line at a tab if there is one.",
1102.14 s
[opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
1102.14 s
[opt-env-conf-test] "",
1102.14 s
[opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
1102.14 s
[opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
1102.14 s
[opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
1102.14 s
[opt-env-conf-test] " compadd -d desc -- $parts[1]",
1102.14 s
[opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
1102.14 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1102.14 s
[opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
1102.14 s
[opt-env-conf-test] " else",
1102.14 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1102.14 s
[opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
1102.14 s
[opt-env-conf-test] " fi",
1102.14 s
[opt-env-conf-test] " else",
1102.14 s
[opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
1102.14 s
[opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
1102.14 s
[opt-env-conf-test] " else",
1102.14 s
[opt-env-conf-test] " compadd -f -- $parts[1]",
1102.14 s
[opt-env-conf-test] " fi",
1102.14 s
[opt-env-conf-test] " fi",
1102.14 s
[opt-env-conf-test] - "done"
1102.14 s
[opt-env-conf-test] ]
1102.14 s
[opt-env-conf-test]
1102.14 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1102.14 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1102.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1102.14 s
[opt-env-conf-test] @@ -113,27 +113,7 @@
1102.14 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1102.14 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1102.14 s
[opt-env-conf-test] in unlines
1102.14 s
[opt-env-conf-test] - [ " function " ++ functionName,
1102.14 s
[opt-env-conf-test] - " set -l cl (commandline --tokenize --current-process)",
1102.14 s
[opt-env-conf-test] - " # Hack around fish issue #3934",
1102.14 s
[opt-env-conf-test] - " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1102.14 s
[opt-env-conf-test] - " set -l cn (count $cn)",
1102.14 s
[opt-env-conf-test] - " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1102.14 s
[opt-env-conf-test] - " for arg in $cl",
1102.14 s
[opt-env-conf-test] - " set tmpline $tmpline --completion-word $arg",
1102.14 s
[opt-env-conf-test] - " end",
1102.14 s
[opt-env-conf-test] - " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1102.14 s
[opt-env-conf-test] - " set -l val (string split \\t -- $opt)[1]",
1102.14 s
[opt-env-conf-test] - " if test -d $val",
1102.14 s
[opt-env-conf-test] - " echo -E \"$val/\"",
1102.14 s
[opt-env-conf-test] - " else",
1102.14 s
[opt-env-conf-test] - " echo -E \"$val\"",
1102.14 s
[opt-env-conf-test] - " end",
1102.14 s
[opt-env-conf-test] - " end",
1102.14 s
[opt-env-conf-test] - "end",
1102.15 s
[opt-env-conf-test] - "",
1102.15 s
[opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1102.15 s
[opt-env-conf-test] ]
1102.15 s
[opt-env-conf-test]
1102.15 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1102.15 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1102.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1102.15 s
[opt-env-conf-test] @@ -113,27 +113,26 @@
1102.15 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1102.15 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1102.15 s
[opt-env-conf-test] in unlines
1102.15 s
[opt-env-conf-test] - [ " function " ++ functionName,
1102.15 s
[opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
1102.15 s
[opt-env-conf-test] " # Hack around fish issue #3934",
1102.15 s
[opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1102.15 s
[opt-env-conf-test] " set -l cn (count $cn)",
1102.15 s
[opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1102.15 s
[opt-env-conf-test] " for arg in $cl",
1102.15 s
[opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
1102.15 s
[opt-env-conf-test] " end",
1102.15 s
[opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1102.15 s
[opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
1102.15 s
[opt-env-conf-test] " if test -d $val",
1102.15 s
[opt-env-conf-test] " echo -E \"$val/\"",
1102.15 s
[opt-env-conf-test] " else",
1102.15 s
[opt-env-conf-test] " echo -E \"$val\"",
1102.15 s
[opt-env-conf-test] " end",
1102.15 s
[opt-env-conf-test] " end",
1102.15 s
[opt-env-conf-test] "end",
1102.15 s
[opt-env-conf-test] "",
1102.15 s
[opt-env-conf-test] "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1102.15 s
[opt-env-conf-test] ]
1102.15 s
[opt-env-conf-test]
1102.15 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1102.15 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1102.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1102.15 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1102.15 s
[opt-env-conf-test] ( \Completion {..} ->
1102.15 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1102.15 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1102.15 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1102.15 s
[opt-env-conf-test] (False, Nothing) -> val
1102.15 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1102.15 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1102.15 s
[opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
1102.15 s
[opt-env-conf-test] )
1102.15 s
[opt-env-conf-test] evaluatedCompletions
1102.15 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1102.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1102.15 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1102.15 s
[opt-env-conf-test] ( \Completion {..} ->
1102.15 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1102.15 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1102.15 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1106.15 s
[opt-env-conf-test] (False, Nothing) -> val
1106.15 s
[opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
1106.15 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1106.15 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1106.15 s
[opt-env-conf-test] )
1106.15 s
[opt-env-conf-test] evaluatedCompletions
1106.15 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1106.15 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
1106.15 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1106.15 s
[opt-env-conf-test] ( \Completion {..} ->
1106.15 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1106.15 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1106.15 s
[opt-env-conf-test] - in case (notFinal, completionDescription) of
1106.15 s
[opt-env-conf-test] + in case (True, completionDescription) of
1106.15 s
[opt-env-conf-test] (False, Nothing) -> val
1106.15 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1106.15 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1106.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
1106.15 s
[opt-env-conf-test] @@ -700,9 +700,8 @@
1106.15 s
[opt-env-conf-test] [] -> (Nothing, [])
1106.15 s
[opt-env-conf-test] (b : bs) ->
1106.15 s
[opt-env-conf-test] let (mDefault, cs) = go bs
1106.15 s
[opt-env-conf-test] in case b of
1106.16 s
[opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
1106.16 s
[opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
1106.16 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1106.16 s
[opt-env-conf-test]
1106.16 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
1106.16 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:686:41-45
1106.16 s
[opt-env-conf-test] @@ -683,7 +683,7 @@
1106.16 s
[opt-env-conf-test]
1106.16 s
[opt-env-conf-test] -- | Like 'checkMapIO', but allow trying the other side of any alternative if the result is Nothing.
1106.16 s
[opt-env-conf-test] checkMapIOForgivable :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
1106.16 s
[opt-env-conf-test] -checkMapIOForgivable = ParserCheck mLoc True Set.empty
1106.16 s
[opt-env-conf-test] +checkMapIOForgivable = ParserCheck mLoc False Set.empty
1106.16 s
[opt-env-conf-test] where
1106.16 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1106.16 s
[opt-env-conf-test]
1106.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
1106.16 s
[opt-env-conf-test] @@ -671,9 +671,8 @@
1106.16 s
[opt-env-conf-test] checkMapMaybeForgivable func p =
1106.16 s
[opt-env-conf-test] withFrozenCallStack $
1106.16 s
[opt-env-conf-test] checkMapEitherForgivable
1106.16 s
[opt-env-conf-test] ( \a -> case func a of
1106.16 s
[opt-env-conf-test] - Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
1106.16 s
[opt-env-conf-test] Just b -> Right b
1106.16 s
[opt-env-conf-test] )
1106.16 s
[opt-env-conf-test] p
1106.16 s
[opt-env-conf-test]
1106.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1106.16 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1106.16 s
[opt-env-conf-test] ( \Completion {..} ->
1106.16 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1106.16 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1106.16 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1106.17 s
[opt-env-conf-test] - (False, Nothing) -> val
1106.17 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1106.17 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1106.17 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1106.17 s
[opt-env-conf-test] )
1106.17 s
[opt-env-conf-test] evaluatedCompletions
1106.17 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1106.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
1106.17 s
[opt-env-conf-test] @@ -671,9 +671,8 @@
1106.17 s
[opt-env-conf-test] checkMapMaybeForgivable func p =
1106.17 s
[opt-env-conf-test] withFrozenCallStack $
1106.17 s
[opt-env-conf-test] checkMapEitherForgivable
1106.17 s
[opt-env-conf-test] ( \a -> case func a of
1106.17 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
1106.17 s
[opt-env-conf-test] - Just b -> Right b
1106.17 s
[opt-env-conf-test] )
1106.17 s
[opt-env-conf-test] p
1106.17 s
[opt-env-conf-test]
1106.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
1106.17 s
[opt-env-conf-test] @@ -700,9 +700,8 @@
1106.17 s
[opt-env-conf-test] [] -> (Nothing, [])
1106.17 s
[opt-env-conf-test] (b : bs) ->
1106.17 s
[opt-env-conf-test] let (mDefault, cs) = go bs
1106.17 s
[opt-env-conf-test] in case b of
1106.17 s
[opt-env-conf-test] - CommandsBuilderCommand c -> (mDefault, c : cs)
1106.17 s
[opt-env-conf-test] CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
1106.17 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1106.17 s
[opt-env-conf-test]
1106.17 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
1106.17 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
1106.17 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1106.17 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1106.17 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1106.18 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1106.18 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
1106.18 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing True caps f (go p)
1106.18 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1106.18 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1106.18 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1106.18 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1173:64-74
1106.18 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1106.18 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1106.18 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1106.18 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1106.18 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
1106.18 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing not forgivable caps f (go p)
1106.18 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1106.18 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1106.18 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1106.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
1106.18 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1106.18 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1106.18 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1106.18 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1106.18 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
1106.18 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing False caps f (go p)
1106.18 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1106.18 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1106.18 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1106.18 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1210:64-74
1106.18 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1106.18 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1106.18 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1106.18 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1106.18 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
1106.18 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc not forgivable caps f <$> go p
1106.18 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1106.18 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1106.18 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1106.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
1106.18 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1106.18 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1106.18 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1106.18 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1106.18 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
1106.18 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc False caps f <$> go p
1106.18 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1106.19 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1106.19 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1106.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
1106.19 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1106.19 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1106.19 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1106.19 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1106.19 s
[opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
1106.19 s
[opt-env-conf-test] + ParserCheck mLoc' False (Set.insert cap caps) f p
1106.19 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1106.19 s
[opt-env-conf-test] where
1106.19 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1106.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
1106.19 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1106.19 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1106.19 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1106.19 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1110.43 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
1110.51 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc True caps f <$> go p
1110.51 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1110.51 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1110.51 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1110.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
1110.52 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1110.52 s
[opt-env-conf-test] ParserCheck {} -> p'
1110.52 s
[opt-env-conf-test] ParserCommands {} -> p'
1110.52 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1110.52 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1110.52 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1110.52 s
[opt-env-conf-test] - Just _ -> p
1110.52 s
[opt-env-conf-test]
1110.52 s
[opt-env-conf-test] -- | Try a list of parsers in order
1110.52 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1110.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1110.52 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1110.52 s
[opt-env-conf-test] where
1110.52 s
[opt-env-conf-test] go p =
1110.52 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1110.52 s
[opt-env-conf-test] in case p of
1110.52 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1110.52 s
[opt-env-conf-test] - ParserAp {} -> p'
1110.52 s
[opt-env-conf-test] ParserSelect {} -> p'
1110.52 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1110.52 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1110.52 s
[opt-env-conf-test] ParserMany {} -> p'
1110.52 s
[opt-env-conf-test] ParserSome {} -> p'
1110.52 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1110.52 s
[opt-env-conf-test] ParserCheck {} -> p'
1110.52 s
[opt-env-conf-test] ParserCommands {} -> p'
1110.52 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1110.52 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1110.52 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1110.52 s
[opt-env-conf-test] Just _ -> p
1110.52 s
[opt-env-conf-test]
1110.52 s
[opt-env-conf-test] -- | Try a list of parsers in order
1110.52 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1110.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1110.52 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1110.52 s
[opt-env-conf-test] where
1110.52 s
[opt-env-conf-test] go p =
1110.52 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1110.52 s
[opt-env-conf-test] in case p of
1110.52 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1110.52 s
[opt-env-conf-test] ParserAp {} -> p'
1110.52 s
[opt-env-conf-test] - ParserSelect {} -> p'
1110.52 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1110.52 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1110.52 s
[opt-env-conf-test] ParserMany {} -> p'
1110.52 s
[opt-env-conf-test] ParserSome {} -> p'
1110.52 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1110.52 s
[opt-env-conf-test] ParserCheck {} -> p'
1110.52 s
[opt-env-conf-test] ParserCommands {} -> p'
1110.52 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1110.52 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1110.52 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1110.52 s
[opt-env-conf-test] Just _ -> p
1110.52 s
[opt-env-conf-test]
1110.52 s
[opt-env-conf-test] -- | Try a list of parsers in order
1110.52 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1110.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1110.52 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1110.52 s
[opt-env-conf-test] where
1110.52 s
[opt-env-conf-test] go p =
1110.52 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1110.52 s
[opt-env-conf-test] in case p of
1110.52 s
[opt-env-conf-test] - ParserPure a -> ParserPure a
1110.52 s
[opt-env-conf-test] ParserAp {} -> p'
1110.52 s
[opt-env-conf-test] ParserSelect {} -> p'
1110.52 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1110.52 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1110.52 s
[opt-env-conf-test] ParserMany {} -> p'
1110.52 s
[opt-env-conf-test] ParserSome {} -> p'
1110.52 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1110.52 s
[opt-env-conf-test] ParserCheck {} -> p'
1110.52 s
[opt-env-conf-test] ParserCommands {} -> p'
1110.52 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1110.52 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1110.52 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1110.52 s
[opt-env-conf-test] Just _ -> p
1110.52 s
[opt-env-conf-test]
1110.52 s
[opt-env-conf-test] -- | Try a list of parsers in order
1110.52 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1110.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1110.52 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1110.52 s
[opt-env-conf-test] where
1110.52 s
[opt-env-conf-test] go p =
1110.52 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1110.52 s
[opt-env-conf-test] in case p of
1110.52 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1110.52 s
[opt-env-conf-test] ParserAp {} -> p'
1110.52 s
[opt-env-conf-test] ParserSelect {} -> p'
1110.52 s
[opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
1110.52 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1110.52 s
[opt-env-conf-test] ParserMany {} -> p'
1110.52 s
[opt-env-conf-test] ParserSome {} -> p'
1110.52 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1110.52 s
[opt-env-conf-test] ParserCheck {} -> p'
1110.52 s
[opt-env-conf-test] ParserCommands {} -> p'
1110.52 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1110.52 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1110.52 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1110.52 s
[opt-env-conf-test] Just _ -> p
1110.52 s
[opt-env-conf-test]
1110.52 s
[opt-env-conf-test] -- | Try a list of parsers in order
1110.52 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1110.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1110.52 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1110.52 s
[opt-env-conf-test] where
1110.52 s
[opt-env-conf-test] go p =
1110.52 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1110.52 s
[opt-env-conf-test] in case p of
1110.52 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1110.52 s
[opt-env-conf-test] ParserAp {} -> p'
1110.53 s
[opt-env-conf-test] ParserSelect {} -> p'
1110.53 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1110.53 s
[opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1110.53 s
[opt-env-conf-test] ParserMany {} -> p'
1110.53 s
[opt-env-conf-test] ParserSome {} -> p'
1110.53 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1110.53 s
[opt-env-conf-test] ParserCheck {} -> p'
1110.53 s
[opt-env-conf-test] ParserCommands {} -> p'
1110.53 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1110.53 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1110.53 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1110.53 s
[opt-env-conf-test] Just _ -> p
1110.53 s
[opt-env-conf-test]
1110.53 s
[opt-env-conf-test] -- | Try a list of parsers in order
1110.53 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1110.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1110.53 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1110.53 s
[opt-env-conf-test] where
1110.53 s
[opt-env-conf-test] go p =
1110.53 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1110.53 s
[opt-env-conf-test] in case p of
1110.53 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1110.53 s
[opt-env-conf-test] ParserAp {} -> p'
1110.53 s
[opt-env-conf-test] ParserSelect {} -> p'
1110.53 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1110.53 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1110.53 s
[opt-env-conf-test] - ParserMany {} -> p'
1110.53 s
[opt-env-conf-test] ParserSome {} -> p'
1110.53 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1110.53 s
[opt-env-conf-test] ParserCheck {} -> p'
1110.53 s
[opt-env-conf-test] ParserCommands {} -> p'
1110.53 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1110.53 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1110.53 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1110.53 s
[opt-env-conf-test] Just _ -> p
1110.53 s
[opt-env-conf-test]
1110.53 s
[opt-env-conf-test] -- | Try a list of parsers in order
1110.53 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1110.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1110.53 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1110.53 s
[opt-env-conf-test] where
1110.53 s
[opt-env-conf-test] go p =
1110.53 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1110.53 s
[opt-env-conf-test] in case p of
1110.53 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1110.53 s
[opt-env-conf-test] ParserAp {} -> p'
1110.53 s
[opt-env-conf-test] ParserSelect {} -> p'
1110.53 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1110.53 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1110.53 s
[opt-env-conf-test] ParserMany {} -> p'
1110.53 s
[opt-env-conf-test] - ParserSome {} -> p'
1110.53 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1110.53 s
[opt-env-conf-test] ParserCheck {} -> p'
1110.53 s
[opt-env-conf-test] ParserCommands {} -> p'
1110.53 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1110.53 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1110.53 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1110.53 s
[opt-env-conf-test] Just _ -> p
1110.53 s
[opt-env-conf-test]
1110.53 s
[opt-env-conf-test] -- | Try a list of parsers in order
1110.53 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1110.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1110.53 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1110.53 s
[opt-env-conf-test] where
1110.53 s
[opt-env-conf-test] go p =
1110.53 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1110.53 s
[opt-env-conf-test] in case p of
1110.53 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1110.53 s
[opt-env-conf-test] ParserAp {} -> p'
1110.53 s
[opt-env-conf-test] ParserSelect {} -> p'
1110.53 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1110.53 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1110.53 s
[opt-env-conf-test] ParserMany {} -> p'
1110.53 s
[opt-env-conf-test] ParserSome {} -> p'
1110.53 s
[opt-env-conf-test] - ParserAllOrNothing {} -> p'
1110.53 s
[opt-env-conf-test] ParserCheck {} -> p'
1110.53 s
[opt-env-conf-test] ParserCommands {} -> p'
1110.53 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1110.53 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1110.53 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1118.08 s
[opt-env-conf-test] Just _ -> p
1118.08 s
[opt-env-conf-test]
1118.08 s
[opt-env-conf-test] -- | Try a list of parsers in order
1118.10 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1118.10 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1118.10 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1118.10 s
[opt-env-conf-test] where
1118.11 s
[opt-env-conf-test] go p =
1118.11 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1118.11 s
[opt-env-conf-test] in case p of
1118.11 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1118.11 s
[opt-env-conf-test] ParserAp {} -> p'
1118.11 s
[opt-env-conf-test] ParserSelect {} -> p'
1118.11 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1118.11 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1118.11 s
[opt-env-conf-test] ParserMany {} -> p'
1118.11 s
[opt-env-conf-test] ParserSome {} -> p'
1118.11 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1118.11 s
[opt-env-conf-test] - ParserCheck {} -> p'
1118.11 s
[opt-env-conf-test] ParserCommands {} -> p'
1118.11 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1118.11 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1118.11 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1118.11 s
[opt-env-conf-test] Just _ -> p
1118.11 s
[opt-env-conf-test]
1118.11 s
[opt-env-conf-test] -- | Try a list of parsers in order
1118.12 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1118.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1118.12 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1118.12 s
[opt-env-conf-test] where
1118.12 s
[opt-env-conf-test] go p =
1118.12 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1118.12 s
[opt-env-conf-test] in case p of
1118.12 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1118.12 s
[opt-env-conf-test] ParserAp {} -> p'
1118.12 s
[opt-env-conf-test] ParserSelect {} -> p'
1118.12 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1118.12 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1118.12 s
[opt-env-conf-test] ParserMany {} -> p'
1118.12 s
[opt-env-conf-test] ParserSome {} -> p'
1118.12 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1118.12 s
[opt-env-conf-test] ParserCheck {} -> p'
1118.12 s
[opt-env-conf-test] - ParserCommands {} -> p'
1118.12 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1118.12 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1118.12 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1118.12 s
[opt-env-conf-test] Just _ -> p
1118.12 s
[opt-env-conf-test]
1118.12 s
[opt-env-conf-test] -- | Try a list of parsers in order
1118.12 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1118.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1118.12 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1118.12 s
[opt-env-conf-test] where
1118.12 s
[opt-env-conf-test] go p =
1118.12 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1118.12 s
[opt-env-conf-test] in case p of
1118.12 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1118.13 s
[opt-env-conf-test] ParserAp {} -> p'
1118.13 s
[opt-env-conf-test] ParserSelect {} -> p'
1118.13 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1118.13 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1118.13 s
[opt-env-conf-test] ParserMany {} -> p'
1118.13 s
[opt-env-conf-test] ParserSome {} -> p'
1118.13 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1118.13 s
[opt-env-conf-test] ParserCheck {} -> p'
1118.13 s
[opt-env-conf-test] ParserCommands {} -> p'
1118.13 s
[opt-env-conf-test] - ParserWithConfig {} -> p'
1118.13 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1118.13 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1118.13 s
[opt-env-conf-test] Just _ -> p
1118.13 s
[opt-env-conf-test]
1118.13 s
[opt-env-conf-test] -- | Try a list of parsers in order
1118.13 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1118.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1118.13 s
[opt-env-conf-test] @@ -547,21 +547,18 @@
1118.13 s
[opt-env-conf-test] where
1118.13 s
[opt-env-conf-test] go p =
1118.13 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1118.13 s
[opt-env-conf-test] in case p of
1118.13 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1118.13 s
[opt-env-conf-test] ParserAp {} -> p'
1118.13 s
[opt-env-conf-test] ParserSelect {} -> p'
1118.13 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1118.13 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1118.13 s
[opt-env-conf-test] ParserMany {} -> p'
1118.13 s
[opt-env-conf-test] ParserSome {} -> p'
1118.13 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1118.13 s
[opt-env-conf-test] ParserCheck {} -> p'
1118.13 s
[opt-env-conf-test] ParserCommands {} -> p'
1118.13 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1118.13 s
[opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
1118.13 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1118.14 s
[opt-env-conf-test] - Just _ -> p
1118.14 s
[opt-env-conf-test]
1118.14 s
[opt-env-conf-test] -- | Try a list of parsers in order
1118.14 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1118.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1118.14 s
[opt-env-conf-test] @@ -874,13 +874,7 @@
1118.14 s
[opt-env-conf-test] withFrozenCallStack $
1118.14 s
[opt-env-conf-test] choice $
1118.14 s
[opt-env-conf-test] catMaybes
1118.14 s
[opt-env-conf-test] - [ Just parseDummy,
1118.14 s
[opt-env-conf-test] - Just parseDisableSwitch,
1118.14 s
[opt-env-conf-test] - Just parseEnableSwitch,
1118.14 s
[opt-env-conf-test] - parseEnv,
1118.14 s
[opt-env-conf-test] - parseConfigVal,
1118.14 s
[opt-env-conf-test] - parseDefaultVal
1118.14 s
[opt-env-conf-test] ]
1118.14 s
[opt-env-conf-test] where
1118.14 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1118.14 s
[opt-env-conf-test] s = buildSetting builders
1118.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1118.14 s
[opt-env-conf-test] @@ -874,13 +874,12 @@
1118.14 s
[opt-env-conf-test] withFrozenCallStack $
1118.14 s
[opt-env-conf-test] choice $
1118.14 s
[opt-env-conf-test] catMaybes
1118.14 s
[opt-env-conf-test] - [ Just parseDummy,
1118.14 s
[opt-env-conf-test] Just parseDisableSwitch,
1118.14 s
[opt-env-conf-test] Just parseEnableSwitch,
1118.14 s
[opt-env-conf-test] parseEnv,
1118.14 s
[opt-env-conf-test] parseConfigVal,
1118.14 s
[opt-env-conf-test] parseDefaultVal
1118.14 s
[opt-env-conf-test] ]
1118.14 s
[opt-env-conf-test] where
1118.14 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1118.14 s
[opt-env-conf-test] s = buildSetting builders
1118.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1118.14 s
[opt-env-conf-test] @@ -874,13 +874,12 @@
1118.14 s
[opt-env-conf-test] withFrozenCallStack $
1118.14 s
[opt-env-conf-test] choice $
1118.14 s
[opt-env-conf-test] catMaybes
1118.14 s
[opt-env-conf-test] [ Just parseDummy,
1118.14 s
[opt-env-conf-test] Just parseDisableSwitch,
1118.14 s
[opt-env-conf-test] Just parseEnableSwitch,
1118.14 s
[opt-env-conf-test] parseEnv,
1118.14 s
[opt-env-conf-test] parseConfigVal,
1118.14 s
[opt-env-conf-test] - parseDefaultVal
1118.14 s
[opt-env-conf-test] ]
1118.14 s
[opt-env-conf-test] where
1118.14 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1118.14 s
[opt-env-conf-test] s = buildSetting builders
1118.14 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
1118.14 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1118.14 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1118.14 s
[opt-env-conf-test] parseDefaultVal = do
1118.15 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1118.15 s
[opt-env-conf-test] - pure $ pure dv
1118.15 s
[opt-env-conf-test] + pure $ pure True
1118.15 s
[opt-env-conf-test]
1118.15 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1118.15 s
[opt-env-conf-test] parseEnableSwitch =
1118.15 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
1118.15 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1118.15 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1118.15 s
[opt-env-conf-test] parseDefaultVal = do
1118.15 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1118.15 s
[opt-env-conf-test] - pure $ pure dv
1118.15 s
[opt-env-conf-test] + pure $ pure False
1118.15 s
[opt-env-conf-test]
1118.15 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1118.15 s
[opt-env-conf-test] parseEnableSwitch =
1118.15 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:890:19-21
1118.15 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1118.15 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1118.15 s
[opt-env-conf-test] parseDefaultVal = do
1118.15 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1118.15 s
[opt-env-conf-test] - pure $ pure dv
1118.15 s
[opt-env-conf-test] + pure $ pure not dv
1118.15 s
[opt-env-conf-test]
1118.15 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1118.15 s
[opt-env-conf-test] parseEnableSwitch =
1118.15 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:898:34-39
1118.15 s
[opt-env-conf-test] @@ -895,7 +895,7 @@
1118.15 s
[opt-env-conf-test] Setting
1118.15 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
1118.15 s
[opt-env-conf-test] settingReaders = [],
1118.15 s
[opt-env-conf-test] - settingTryArgument = False,
1118.15 s
[opt-env-conf-test] + settingTryArgument = True,
1118.15 s
[opt-env-conf-test] settingSwitchValue = Just True,
1118.15 s
[opt-env-conf-test] settingTryOption = False,
1118.15 s
[opt-env-conf-test] settingEnvVars = Nothing,
1118.15 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:899:39-43
1118.15 s
[opt-env-conf-test] @@ -896,7 +896,7 @@
1118.15 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
1118.15 s
[opt-env-conf-test] settingReaders = [],
1118.15 s
[opt-env-conf-test] settingTryArgument = False,
1118.15 s
[opt-env-conf-test] - settingSwitchValue = Just True,
1118.15 s
[opt-env-conf-test] + settingSwitchValue = Just False,
1118.15 s
[opt-env-conf-test] settingTryOption = False,
1118.15 s
[opt-env-conf-test] settingEnvVars = Nothing,
1118.15 s
[opt-env-conf-test] settingConfigVals = Nothing,
1118.15 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:900:32-37
1118.15 s
[opt-env-conf-test] @@ -897,7 +897,7 @@
1118.15 s
[opt-env-conf-test] settingReaders = [],
1118.15 s
[opt-env-conf-test] settingTryArgument = False,
1118.15 s
[opt-env-conf-test] settingSwitchValue = Just True,
1118.15 s
[opt-env-conf-test] - settingTryOption = False,
1118.16 s
[opt-env-conf-test] + settingTryOption = True,
1118.16 s
[opt-env-conf-test] settingEnvVars = Nothing,
1118.16 s
[opt-env-conf-test] settingConfigVals = Nothing,
1118.16 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1118.16 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:905:29-33
1118.16 s
[opt-env-conf-test] @@ -902,7 +902,7 @@
1118.16 s
[opt-env-conf-test] settingConfigVals = Nothing,
1118.16 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1118.16 s
[opt-env-conf-test] settingExamples = [],
1118.16 s
[opt-env-conf-test] - settingHidden = True,
1118.16 s
[opt-env-conf-test] + settingHidden = False,
1118.16 s
[opt-env-conf-test] settingMetavar = Nothing,
1118.16 s
[opt-env-conf-test] settingHelp = Nothing,
1118.16 s
[opt-env-conf-test] settingCompleter = Nothing,
1118.16 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:917:34-39
1118.16 s
[opt-env-conf-test] @@ -914,7 +914,7 @@
1118.16 s
[opt-env-conf-test] Setting
1118.16 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
1118.16 s
[opt-env-conf-test] settingReaders = [],
1121.39 s
[opt-env-conf-test] - settingTryArgument = False,
1121.39 s
[opt-env-conf-test] + settingTryArgument = True,
1121.39 s
[opt-env-conf-test] settingSwitchValue = Just False,
1121.39 s
[opt-env-conf-test] settingTryOption = False,
1121.39 s
[opt-env-conf-test] settingEnvVars = Nothing,
1121.39 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:918:39-44
1121.39 s
[opt-env-conf-test] @@ -915,7 +915,7 @@
1121.39 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
1121.39 s
[opt-env-conf-test] settingReaders = [],
1121.39 s
[opt-env-conf-test] settingTryArgument = False,
1121.39 s
[opt-env-conf-test] - settingSwitchValue = Just False,
1121.39 s
[opt-env-conf-test] + settingSwitchValue = Just True,
1121.39 s
[opt-env-conf-test] settingTryOption = False,
1121.39 s
[opt-env-conf-test] settingEnvVars = Nothing,
1121.39 s
[opt-env-conf-test] settingConfigVals = Nothing,
1121.40 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:919:32-37
1121.40 s
[opt-env-conf-test] @@ -916,7 +916,7 @@
1121.40 s
[opt-env-conf-test] settingReaders = [],
1121.40 s
[opt-env-conf-test] settingTryArgument = False,
1121.40 s
[opt-env-conf-test] settingSwitchValue = Just False,
1121.40 s
[opt-env-conf-test] - settingTryOption = False,
1121.40 s
[opt-env-conf-test] + settingTryOption = True,
1121.40 s
[opt-env-conf-test] settingEnvVars = Nothing,
1121.40 s
[opt-env-conf-test] settingConfigVals = Nothing,
1121.40 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1121.40 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:924:29-33
1121.40 s
[opt-env-conf-test] @@ -921,7 +921,7 @@
1121.40 s
[opt-env-conf-test] settingConfigVals = Nothing,
1121.40 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1121.40 s
[opt-env-conf-test] settingExamples = [],
1121.40 s
[opt-env-conf-test] - settingHidden = True,
1121.40 s
[opt-env-conf-test] + settingHidden = False,
1121.40 s
[opt-env-conf-test] settingMetavar = Nothing,
1121.40 s
[opt-env-conf-test] settingHelp = Nothing,
1121.40 s
[opt-env-conf-test] settingCompleter = Nothing,
1121.40 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:939:36-41
1121.40 s
[opt-env-conf-test] @@ -936,7 +936,7 @@
1121.40 s
[opt-env-conf-test] Setting
1121.40 s
[opt-env-conf-test] { settingDasheds = [],
1121.41 s
[opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
1121.41 s
[opt-env-conf-test] - settingTryArgument = False,
1121.41 s
[opt-env-conf-test] + settingTryArgument = True,
1121.41 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1121.41 s
[opt-env-conf-test] settingTryOption = False,
1121.41 s
[opt-env-conf-test] settingEnvVars = Just ne,
1121.41 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:941:34-39
1121.41 s
[opt-env-conf-test] @@ -938,7 +938,7 @@
1121.41 s
[opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
1121.41 s
[opt-env-conf-test] settingTryArgument = False,
1121.41 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1121.41 s
[opt-env-conf-test] - settingTryOption = False,
1121.41 s
[opt-env-conf-test] + settingTryOption = True,
1121.41 s
[opt-env-conf-test] settingEnvVars = Just ne,
1121.41 s
[opt-env-conf-test] settingConfigVals = Nothing,
1121.41 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1121.41 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:946:31-36
1121.41 s
[opt-env-conf-test] @@ -943,7 +943,7 @@
1121.41 s
[opt-env-conf-test] settingConfigVals = Nothing,
1121.41 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1121.41 s
[opt-env-conf-test] settingExamples = [],
1121.41 s
[opt-env-conf-test] - settingHidden = False,
1121.41 s
[opt-env-conf-test] + settingHidden = True,
1121.42 s
[opt-env-conf-test] settingMetavar = Just "BOOL",
1121.42 s
[opt-env-conf-test] settingHelp = settingHelp s,
1121.42 s
[opt-env-conf-test] settingCompleter = Nothing,
1121.42 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:960:36-41
1121.42 s
[opt-env-conf-test] @@ -957,7 +957,7 @@
1121.42 s
[opt-env-conf-test] Setting
1121.42 s
[opt-env-conf-test] { settingDasheds = [],
1121.42 s
[opt-env-conf-test] settingReaders = [],
1121.42 s
[opt-env-conf-test] - settingTryArgument = False,
1121.42 s
[opt-env-conf-test] + settingTryArgument = True,
1121.42 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1121.42 s
[opt-env-conf-test] settingTryOption = False,
1121.42 s
[opt-env-conf-test] settingEnvVars = Nothing,
1121.42 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:962:34-39
1121.42 s
[opt-env-conf-test] @@ -959,7 +959,7 @@
1121.42 s
[opt-env-conf-test] settingReaders = [],
1121.42 s
[opt-env-conf-test] settingTryArgument = False,
1121.42 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1121.42 s
[opt-env-conf-test] - settingTryOption = False,
1121.42 s
[opt-env-conf-test] + settingTryOption = True,
1121.42 s
[opt-env-conf-test] settingEnvVars = Nothing,
1121.42 s
[opt-env-conf-test] settingConfigVals = Just ne,
1121.42 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1121.42 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:967:31-36
1121.42 s
[opt-env-conf-test] @@ -964,7 +964,7 @@
1121.42 s
[opt-env-conf-test] settingConfigVals = Just ne,
1121.42 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1121.42 s
[opt-env-conf-test] settingExamples = [],
1121.43 s
[opt-env-conf-test] - settingHidden = False,
1121.43 s
[opt-env-conf-test] + settingHidden = True,
1121.43 s
[opt-env-conf-test] settingMetavar = Nothing,
1121.43 s
[opt-env-conf-test] settingHelp = settingHelp s,
1121.43 s
[opt-env-conf-test] settingCompleter = Nothing,
1121.43 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:979:34-39
1121.43 s
[opt-env-conf-test] @@ -976,7 +976,7 @@
1121.43 s
[opt-env-conf-test] Setting
1121.43 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
1121.43 s
[opt-env-conf-test] settingReaders = [],
1121.43 s
[opt-env-conf-test] - settingTryArgument = False,
1121.43 s
[opt-env-conf-test] + settingTryArgument = True,
1121.43 s
[opt-env-conf-test] settingSwitchValue = Just True, -- Unused
1121.43 s
[opt-env-conf-test] settingTryOption = False,
1121.43 s
[opt-env-conf-test] settingEnvVars = Nothing,
1121.43 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:980:39-43
1121.43 s
[opt-env-conf-test] @@ -977,7 +977,7 @@
1121.43 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
1121.43 s
[opt-env-conf-test] settingReaders = [],
1121.43 s
[opt-env-conf-test] settingTryArgument = False,
1121.43 s
[opt-env-conf-test] - settingSwitchValue = Just True, -- Unused
1121.43 s
[opt-env-conf-test] + settingSwitchValue = Just False, -- Unused
1121.43 s
[opt-env-conf-test] settingTryOption = False,
1121.43 s
[opt-env-conf-test] settingEnvVars = Nothing,
1121.43 s
[opt-env-conf-test] settingConfigVals = Nothing,
1121.43 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:981:32-37
1121.43 s
[opt-env-conf-test] @@ -978,7 +978,7 @@
1121.43 s
[opt-env-conf-test] settingReaders = [],
1121.43 s
[opt-env-conf-test] settingTryArgument = False,
1121.43 s
[opt-env-conf-test] settingSwitchValue = Just True, -- Unused
1121.43 s
[opt-env-conf-test] - settingTryOption = False,
1121.43 s
[opt-env-conf-test] + settingTryOption = True,
1121.43 s
[opt-env-conf-test] settingEnvVars = Nothing,
1121.43 s
[opt-env-conf-test] settingConfigVals = Nothing,
1121.43 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1121.43 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:986:29-34
1121.43 s
[opt-env-conf-test] @@ -983,7 +983,7 @@
1121.43 s
[opt-env-conf-test] settingConfigVals = Nothing,
1121.43 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1121.43 s
[opt-env-conf-test] settingExamples = [],
1121.43 s
[opt-env-conf-test] - settingHidden = False,
1121.43 s
[opt-env-conf-test] + settingHidden = True,
1121.43 s
[opt-env-conf-test] settingMetavar = Nothing,
1121.43 s
[opt-env-conf-test] settingHelp = settingHelp s,
1121.43 s
[opt-env-conf-test] settingCompleter = Nothing,
1121.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1121.43 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1121.43 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1121.43 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1121.44 s
[opt-env-conf-test] bareSetting p f = do
1121.44 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1121.44 s
[opt-env-conf-test] guard $ p s
1121.44 s
[opt-env-conf-test] pure $
1121.44 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1121.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1121.44 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1121.44 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1121.44 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1121.44 s
[opt-env-conf-test] bareSetting p f = do
1121.44 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1121.44 s
[opt-env-conf-test] guard $ p s
1121.44 s
[opt-env-conf-test] pure $
1121.44 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1121.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1121.44 s
[opt-env-conf-test] @@ -480,10 +480,7 @@
1121.44 s
[opt-env-conf-test] withFrozenCallStack $
1121.44 s
[opt-env-conf-test] setting $
1121.44 s
[opt-env-conf-test] builders
1121.44 s
[opt-env-conf-test] - ++ [ reader str,
1121.44 s
[opt-env-conf-test] - metavar "FILE_PATH",
1121.44 s
[opt-env-conf-test] - completer filePath
1121.44 s
[opt-env-conf-test] ]
1121.44 s
[opt-env-conf-test]
1121.44 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1121.44 s
[opt-env-conf-test] --
1121.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
1121.44 s
[opt-env-conf-test] @@ -826,7 +826,6 @@
1121.44 s
[opt-env-conf-test] long "config-file",
1121.44 s
[opt-env-conf-test] env "CONFIG_FILE",
1121.44 s
[opt-env-conf-test] help "Path to the configuration file",
1121.44 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1121.44 s
[opt-env-conf-test] ]
1121.44 s
[opt-env-conf-test]
1121.44 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1121.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1121.44 s
[opt-env-conf-test] @@ -480,10 +480,9 @@
1121.44 s
[opt-env-conf-test] withFrozenCallStack $
1121.44 s
[opt-env-conf-test] setting $
1121.44 s
[opt-env-conf-test] builders
1121.44 s
[opt-env-conf-test] - ++ [ reader str,
1121.44 s
[opt-env-conf-test] metavar "FILE_PATH",
1121.44 s
[opt-env-conf-test] completer filePath
1121.44 s
[opt-env-conf-test] ]
1121.44 s
[opt-env-conf-test]
1121.44 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1121.44 s
[opt-env-conf-test] --
1121.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1121.44 s
[opt-env-conf-test] @@ -1016,13 +1016,12 @@
1121.44 s
[opt-env-conf-test] withFrozenCallStack $
1121.44 s
[opt-env-conf-test] choice $
1121.44 s
[opt-env-conf-test] catMaybes
1121.44 s
[opt-env-conf-test] [ bareOption,
1121.44 s
[opt-env-conf-test] fileOption,
1121.44 s
[opt-env-conf-test] bareEnv,
1121.44 s
[opt-env-conf-test] fileEnv,
1121.44 s
[opt-env-conf-test] bareConf,
1121.44 s
[opt-env-conf-test] - fileConf
1121.44 s
[opt-env-conf-test] ]
1121.44 s
[opt-env-conf-test] where
1123.81 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1123.89 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1123.89 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
1123.89 s
[opt-env-conf-test] @@ -826,7 +826,6 @@
1123.89 s
[opt-env-conf-test] long "config-file",
1123.89 s
[opt-env-conf-test] env "CONFIG_FILE",
1123.89 s
[opt-env-conf-test] help "Path to the configuration file",
1123.89 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1123.89 s
[opt-env-conf-test] ]
1123.89 s
[opt-env-conf-test]
1123.89 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1123.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1123.90 s
[opt-env-conf-test] @@ -480,10 +480,9 @@
1123.90 s
[opt-env-conf-test] withFrozenCallStack $
1123.90 s
[opt-env-conf-test] setting $
1123.90 s
[opt-env-conf-test] builders
1123.90 s
[opt-env-conf-test] ++ [ reader str,
1123.90 s
[opt-env-conf-test] metavar "FILE_PATH",
1123.90 s
[opt-env-conf-test] - completer filePath
1123.90 s
[opt-env-conf-test] ]
1123.90 s
[opt-env-conf-test]
1123.90 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1123.90 s
[opt-env-conf-test] --
1123.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1123.90 s
[opt-env-conf-test] @@ -822,12 +822,7 @@
1123.90 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1123.90 s
[opt-env-conf-test] configuredConfigFile =
1123.90 s
[opt-env-conf-test] filePathSetting
1123.90 s
[opt-env-conf-test] - [ option,
1123.90 s
[opt-env-conf-test] - long "config-file",
1123.90 s
[opt-env-conf-test] - env "CONFIG_FILE",
1123.90 s
[opt-env-conf-test] - help "Path to the configuration file",
1123.90 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1123.90 s
[opt-env-conf-test] ]
1123.90 s
[opt-env-conf-test]
1123.90 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1123.90 s
[opt-env-conf-test] --
1123.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1123.91 s
[opt-env-conf-test] @@ -822,12 +822,11 @@
1123.91 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1123.91 s
[opt-env-conf-test] configuredConfigFile =
1123.91 s
[opt-env-conf-test] filePathSetting
1123.91 s
[opt-env-conf-test] [ option,
1123.91 s
[opt-env-conf-test] long "config-file",
1123.91 s
[opt-env-conf-test] env "CONFIG_FILE",
1123.91 s
[opt-env-conf-test] help "Path to the configuration file",
1123.91 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1123.91 s
[opt-env-conf-test] ]
1123.91 s
[opt-env-conf-test]
1123.91 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1123.91 s
[opt-env-conf-test] --
1123.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1123.91 s
[opt-env-conf-test] @@ -497,10 +497,7 @@
1123.91 s
[opt-env-conf-test] withFrozenCallStack $
1123.91 s
[opt-env-conf-test] setting $
1123.91 s
[opt-env-conf-test] builders
1123.91 s
[opt-env-conf-test] - ++ [ reader str,
1123.91 s
[opt-env-conf-test] - metavar "DIRECTORY_PATH",
1123.91 s
[opt-env-conf-test] - completer directoryPath
1123.91 s
[opt-env-conf-test] ]
1123.91 s
[opt-env-conf-test]
1123.91 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1123.91 s
[opt-env-conf-test] --
1123.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1123.91 s
[opt-env-conf-test] @@ -497,10 +497,9 @@
1123.91 s
[opt-env-conf-test] withFrozenCallStack $
1123.91 s
[opt-env-conf-test] setting $
1123.91 s
[opt-env-conf-test] builders
1123.91 s
[opt-env-conf-test] - ++ [ reader str,
1123.91 s
[opt-env-conf-test] metavar "DIRECTORY_PATH",
1123.91 s
[opt-env-conf-test] completer directoryPath
1123.91 s
[opt-env-conf-test] ]
1123.91 s
[opt-env-conf-test]
1123.91 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1123.91 s
[opt-env-conf-test] --
1123.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1123.91 s
[opt-env-conf-test] @@ -497,10 +497,9 @@
1123.91 s
[opt-env-conf-test] withFrozenCallStack $
1123.91 s
[opt-env-conf-test] setting $
1123.91 s
[opt-env-conf-test] builders
1123.91 s
[opt-env-conf-test] ++ [ reader str,
1123.91 s
[opt-env-conf-test] metavar "DIRECTORY_PATH",
1123.91 s
[opt-env-conf-test] - completer directoryPath
1123.91 s
[opt-env-conf-test] ]
1123.91 s
[opt-env-conf-test]
1123.92 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1123.92 s
[opt-env-conf-test] --
1123.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
1123.92 s
[opt-env-conf-test] @@ -785,11 +785,10 @@
1123.92 s
[opt-env-conf-test] xdgYamlConfigFile subdir =
1123.92 s
[opt-env-conf-test] mapIO
1123.92 s
[opt-env-conf-test] ( \mXdgDir -> do
1123.92 s
[opt-env-conf-test] xdgDir <- case mXdgDir of
1123.92 s
[opt-env-conf-test] - Just d -> resolveDir' d
1123.92 s
[opt-env-conf-test] Nothing -> do
1123.92 s
[opt-env-conf-test] home <- getHomeDir
1123.92 s
[opt-env-conf-test] resolveDir home ".config"
1123.92 s
[opt-env-conf-test] configDir <- resolveDir xdgDir subdir
1123.92 s
[opt-env-conf-test] resolveFile configDir "config.yaml"
1123.92 s
[opt-env-conf-test] )
1123.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1123.92 s
[opt-env-conf-test] @@ -1016,13 +1016,12 @@
1123.92 s
[opt-env-conf-test] withFrozenCallStack $
1123.92 s
[opt-env-conf-test] choice $
1123.92 s
[opt-env-conf-test] catMaybes
1123.92 s
[opt-env-conf-test] - [ bareOption,
1123.92 s
[opt-env-conf-test] fileOption,
1123.92 s
[opt-env-conf-test] bareEnv,
1123.92 s
[opt-env-conf-test] fileEnv,
1123.92 s
[opt-env-conf-test] bareConf,
1123.92 s
[opt-env-conf-test] fileConf
1123.92 s
[opt-env-conf-test] ]
1123.92 s
[opt-env-conf-test] where
1123.92 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1123.92 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1123.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1123.92 s
[opt-env-conf-test] @@ -822,12 +822,11 @@
1123.92 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1123.92 s
[opt-env-conf-test] configuredConfigFile =
1123.92 s
[opt-env-conf-test] filePathSetting
1123.92 s
[opt-env-conf-test] - [ option,
1123.92 s
[opt-env-conf-test] long "config-file",
1123.92 s
[opt-env-conf-test] env "CONFIG_FILE",
1123.92 s
[opt-env-conf-test] help "Path to the configuration file",
1123.92 s
[opt-env-conf-test] completer (filePathWithExtensions [".yaml", ".yml"])
1123.92 s
[opt-env-conf-test] ]
1123.92 s
[opt-env-conf-test]
1123.92 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1123.92 s
[opt-env-conf-test] --
1123.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1123.92 s
[opt-env-conf-test] @@ -796,12 +796,7 @@
1123.92 s
[opt-env-conf-test] $ optional
1123.92 s
[opt-env-conf-test] $ withFrozenCallStack
1123.93 s
[opt-env-conf-test] $ setting
1123.93 s
[opt-env-conf-test] - [ help "Path to the XDG configuration directory",
1123.93 s
[opt-env-conf-test] - reader str,
1123.93 s
[opt-env-conf-test] - env "XDG_CONFIG_HOME",
1123.93 s
[opt-env-conf-test] - metavar "DIRECTORY",
1123.93 s
[opt-env-conf-test] - hidden
1123.93 s
[opt-env-conf-test] ]
1123.93 s
[opt-env-conf-test]
1123.93 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1123.93 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1123.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
1123.93 s
[opt-env-conf-test] @@ -785,11 +785,8 @@
1123.93 s
[opt-env-conf-test] xdgYamlConfigFile subdir =
1123.93 s
[opt-env-conf-test] mapIO
1123.93 s
[opt-env-conf-test] ( \mXdgDir -> do
1123.93 s
[opt-env-conf-test] xdgDir <- case mXdgDir of
1123.93 s
[opt-env-conf-test] Just d -> resolveDir' d
1123.93 s
[opt-env-conf-test] - Nothing -> do
1123.93 s
[opt-env-conf-test] - home <- getHomeDir
1123.93 s
[opt-env-conf-test] - resolveDir home ".config"
1123.93 s
[opt-env-conf-test] configDir <- resolveDir xdgDir subdir
1123.93 s
[opt-env-conf-test] resolveFile configDir "config.yaml"
1123.93 s
[opt-env-conf-test] )
1123.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1123.93 s
[opt-env-conf-test] @@ -796,12 +796,11 @@
1123.93 s
[opt-env-conf-test] $ optional
1123.93 s
[opt-env-conf-test] $ withFrozenCallStack
1123.93 s
[opt-env-conf-test] $ setting
1123.93 s
[opt-env-conf-test] [ help "Path to the XDG configuration directory",
1123.93 s
[opt-env-conf-test] reader str,
1123.93 s
[opt-env-conf-test] env "XDG_CONFIG_HOME",
1123.93 s
[opt-env-conf-test] metavar "DIRECTORY",
1123.93 s
[opt-env-conf-test] - hidden
1123.93 s
[opt-env-conf-test] ]
1123.93 s
[opt-env-conf-test]
1123.93 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1123.93 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1123.93 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1123.93 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1123.93 s
[opt-env-conf-test] where
1123.93 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1123.93 s
[opt-env-conf-test] go d = \case
1123.93 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1123.93 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
1123.93 s
[opt-env-conf-test] ParserAp pf pa ->
1123.93 s
[opt-env-conf-test] showParen (d > 10) $
1123.93 s
[opt-env-conf-test] showString "Ap "
1123.93 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1123.93 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1123.93 s
[opt-env-conf-test] where
1123.93 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1123.93 s
[opt-env-conf-test] go d = \case
1123.93 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1123.93 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 1) $ showString "Pure _"
1123.93 s
[opt-env-conf-test] ParserAp pf pa ->
1123.93 s
[opt-env-conf-test] showParen (d > 10) $
1123.94 s
[opt-env-conf-test] showString "Ap "
1123.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1123.94 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1123.94 s
[opt-env-conf-test] where
1123.94 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1123.94 s
[opt-env-conf-test] go d = \case
1123.94 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1123.94 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > -10) $ showString "Pure _"
1123.94 s
[opt-env-conf-test] ParserAp pf pa ->
1123.94 s
[opt-env-conf-test] showParen (d > 10) $
1123.94 s
[opt-env-conf-test] showString "Ap "
1123.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
1123.94 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1123.94 s
[opt-env-conf-test] where
1123.94 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1123.94 s
[opt-env-conf-test] go d = \case
1123.94 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1123.94 s
[opt-env-conf-test] + ParserPure _ -> showParen (True) $ showString "Pure _"
1123.94 s
[opt-env-conf-test] ParserAp pf pa ->
1123.94 s
[opt-env-conf-test] showParen (d > 10) $
1123.94 s
[opt-env-conf-test] showString "Ap "
1123.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
1123.94 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1123.94 s
[opt-env-conf-test] where
1123.94 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1123.94 s
[opt-env-conf-test] go d = \case
1123.94 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1123.94 s
[opt-env-conf-test] + ParserPure _ -> showParen (False) $ showString "Pure _"
1123.94 s
[opt-env-conf-test] ParserAp pf pa ->
1123.94 s
[opt-env-conf-test] showParen (d > 10) $
1123.94 s
[opt-env-conf-test] showString "Ap "
1123.94 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:34-40
1123.94 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1123.94 s
[opt-env-conf-test] where
1123.94 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1123.94 s
[opt-env-conf-test] go d = \case
1123.94 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1123.94 s
[opt-env-conf-test] + ParserPure _ -> showParen (not d > 10) $ showString "Pure _"
1123.94 s
[opt-env-conf-test] ParserAp pf pa ->
1123.94 s
[opt-env-conf-test] showParen (d > 10) $
1123.94 s
[opt-env-conf-test] showString "Ap "
1123.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
1123.94 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1123.94 s
[opt-env-conf-test] ParserCheck {} -> p'
1123.94 s
[opt-env-conf-test] ParserCommands {} -> p'
1123.94 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1123.94 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1129.78 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1129.81 s
[opt-env-conf-test] Just _ -> p
1129.81 s
[opt-env-conf-test]
1129.81 s
[opt-env-conf-test] -- | Try a list of parsers in order
1129.81 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1129.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1129.81 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1129.81 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1129.81 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1129.81 s
[opt-env-conf-test] bareSetting p f = do
1129.81 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1129.81 s
[opt-env-conf-test] guard $ p s
1129.81 s
[opt-env-conf-test] pure $
1129.82 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1129.82 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:618:31-36
1129.82 s
[opt-env-conf-test] @@ -615,7 +615,7 @@
1129.82 s
[opt-env-conf-test]
1129.82 s
[opt-env-conf-test] -- | Check a 'Parser' after the fact, allowing IO.
1129.82 s
[opt-env-conf-test] checkMapIO :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
1129.82 s
[opt-env-conf-test] -checkMapIO = ParserCheck mLoc False Set.empty
1129.82 s
[opt-env-conf-test] +checkMapIO = ParserCheck mLoc True Set.empty
1129.82 s
[opt-env-conf-test] where
1129.82 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1129.82 s
[opt-env-conf-test]
1129.82 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:663:23-33
1129.82 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1129.82 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1129.82 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1129.82 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1129.82 s
[opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
1129.82 s
[opt-env-conf-test] + ParserCheck mLoc' not forgivable (Set.insert cap caps) f p
1129.82 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1129.82 s
[opt-env-conf-test] where
1129.82 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1129.82 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
1129.82 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1129.82 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1129.82 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1129.82 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1129.82 s
[opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
1129.82 s
[opt-env-conf-test] + ParserCheck mLoc' True (Set.insert cap caps) f p
1129.83 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1129.83 s
[opt-env-conf-test] where
1129.83 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1129.83 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:143:29-25
1129.83 s
[opt-env-conf-test] @@ -140,13 +140,12 @@
1129.83 s
[opt-env-conf-test] Just a -> do
1129.83 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1129.83 s
[opt-env-conf-test] pure (a : as)
1129.83 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1129.83 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1129.83 s
[opt-env-conf-test] ppIndent $ do
1129.83 s
[opt-env-conf-test] a <- go p'
1129.83 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1129.83 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1129.83 s
[opt-env-conf-test] pure (a :| as)
1129.83 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1129.83 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1129.83 s
[opt-env-conf-test] ppIndent $ do
1129.83 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1129.83 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1129.83 s
[opt-env-conf-test] go d = \case
1129.83 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1129.83 s
[opt-env-conf-test] ParserAp pf pa ->
1129.83 s
[opt-env-conf-test] - showParen (d > 10) $
1129.83 s
[opt-env-conf-test] + showParen (d > -10) $
1129.83 s
[opt-env-conf-test] showString "Ap "
1129.83 s
[opt-env-conf-test] . go 11 pf
1129.83 s
[opt-env-conf-test] . showString " "
1129.83 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1129.83 s
[opt-env-conf-test] @@ -125,42 +125,39 @@
1129.83 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1129.83 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1129.83 s
[opt-env-conf-test] exitFailure
1129.83 s
[opt-env-conf-test] Right i -> case i of
1129.83 s
[opt-env-conf-test] ShowVersion -> do
1129.83 s
[opt-env-conf-test] progname <- getProgName
1129.83 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1129.83 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1129.84 s
[opt-env-conf-test] exitSuccess
1129.84 s
[opt-env-conf-test] RenderMan -> do
1129.84 s
[opt-env-conf-test] progname <- getProgName
1129.84 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1129.84 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1129.84 s
[opt-env-conf-test] exitSuccess
1129.84 s
[opt-env-conf-test] RenderDocumentation -> do
1129.84 s
[opt-env-conf-test] progname <- getProgName
1129.84 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1129.84 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1129.84 s
[opt-env-conf-test] exitSuccess
1129.84 s
[opt-env-conf-test] RenderNixosOptions -> do
1129.84 s
[opt-env-conf-test] progname <- getProgName
1129.84 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1129.84 s
[opt-env-conf-test] exitSuccess
1129.84 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1129.84 s
[opt-env-conf-test] progname <- getProgName
1129.84 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1129.84 s
[opt-env-conf-test] exitSuccess
1129.84 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1129.84 s
[opt-env-conf-test] progname <- getProgName
1129.84 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1129.84 s
[opt-env-conf-test] exitSuccess
1129.84 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1129.84 s
[opt-env-conf-test] progname <- getProgName
1129.84 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1129.84 s
[opt-env-conf-test] exitSuccess
1129.84 s
[opt-env-conf-test] - CompletionQuery enriched index ws -> do
1138.10 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1138.12 s
[opt-env-conf-test] - exitSuccess
1138.12 s
[opt-env-conf-test] ParsedNormally a -> pure a
1138.12 s
[opt-env-conf-test]
1138.12 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1138.12 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1138.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
1138.12 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1138.12 s
[opt-env-conf-test] go d = \case
1138.12 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1138.12 s
[opt-env-conf-test] ParserAp pf pa ->
1138.12 s
[opt-env-conf-test] - showParen (d > 10) $
1138.12 s
[opt-env-conf-test] + showParen (False) $
1138.13 s
[opt-env-conf-test] showString "Ap "
1138.13 s
[opt-env-conf-test] . go 11 pf
1138.13 s
[opt-env-conf-test] . showString " "
1138.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:92:15-43
1138.13 s
[opt-env-conf-test] @@ -89,18 +89,15 @@
1138.13 s
[opt-env-conf-test] let goNexts ns = do
1138.13 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
1138.13 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
1138.13 s
[opt-env-conf-test] case mNext of
1138.13 s
[opt-env-conf-test] Nothing ->
1138.13 s
[opt-env-conf-test] pure $
1138.13 s
[opt-env-conf-test] Left $
1138.13 s
[opt-env-conf-test] -- Only show source locations in debug mode.
1138.13 s
[opt-env-conf-test] let f = case mDebugMode of
1138.13 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
1138.13 s
[opt-env-conf-test] Just _ -> id
1138.13 s
[opt-env-conf-test] in f firstErrors
1138.13 s
[opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
1138.13 s
[opt-env-conf-test] - Success a -> pure (Right a)
1138.13 s
[opt-env-conf-test] - Failure _ -> goNexts ns'
1138.13 s
[opt-env-conf-test] in goNexts nexts
1138.13 s
[opt-env-conf-test] where
1138.13 s
[opt-env-conf-test] go ::
1138.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1138.13 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1138.13 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1138.13 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1138.13 s
[opt-env-conf-test] fileSetting p f = do
1138.13 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1138.13 s
[opt-env-conf-test] guard $ p s
1138.13 s
[opt-env-conf-test] pure $
1138.13 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1138.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1138.13 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1138.13 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1138.13 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1138.13 s
[opt-env-conf-test] fileSetting p f = do
1138.13 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1138.13 s
[opt-env-conf-test] guard $ p s
1138.13 s
[opt-env-conf-test] pure $
1138.13 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1138.13 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:664:25-30
1138.13 s
[opt-env-conf-test] @@ -661,7 +661,7 @@
1138.13 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1138.13 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1138.13 s
[opt-env-conf-test] ParserCheck mLoc' forgivable (Set.insert cap caps) f p
1138.14 s
[opt-env-conf-test] - p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1138.14 s
[opt-env-conf-test] + p -> ParserCheck mLoc True (Set.singleton cap) (pure . Right) p
1138.14 s
[opt-env-conf-test] where
1138.14 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1138.14 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1138.14 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1138.14 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1138.14 s
[opt-env-conf-test] go d = \case
1138.14 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1138.14 s
[opt-env-conf-test] ParserAp pf pa ->
1138.14 s
[opt-env-conf-test] - showParen (d > 10) $
1138.14 s
[opt-env-conf-test] + showParen (d > 1) $
1138.14 s
[opt-env-conf-test] showString "Ap "
1138.14 s
[opt-env-conf-test] . go 11 pf
1138.14 s
[opt-env-conf-test] . showString " "
1138.14 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1138.14 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1138.14 s
[opt-env-conf-test] go d = \case
1138.14 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1138.14 s
[opt-env-conf-test] ParserAp pf pa ->
1138.14 s
[opt-env-conf-test] - showParen (d > 10) $
1138.14 s
[opt-env-conf-test] + showParen (d > 0) $
1138.14 s
[opt-env-conf-test] showString "Ap "
1138.14 s
[opt-env-conf-test] . go 11 pf
1138.14 s
[opt-env-conf-test] . showString " "
1138.14 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:33-41
1138.14 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1138.14 s
[opt-env-conf-test] where
1138.14 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1138.14 s
[opt-env-conf-test] go d = \case
1138.14 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1138.14 s
[opt-env-conf-test] + ParserPure _ -> showParen not (d > 10) $ showString "Pure _"
1138.14 s
[opt-env-conf-test] ParserAp pf pa ->
1138.14 s
[opt-env-conf-test] showParen (d > 10) $
1138.14 s
[opt-env-conf-test] showString "Ap "
1138.14 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
1138.14 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1138.14 s
[opt-env-conf-test] go d = \case
1138.14 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1138.14 s
[opt-env-conf-test] ParserAp pf pa ->
1138.14 s
[opt-env-conf-test] - showParen (d > 10) $
1138.14 s
[opt-env-conf-test] + showParen (True) $
1138.14 s
[opt-env-conf-test] showString "Ap "
1138.14 s
[opt-env-conf-test] . go 11 pf
1138.14 s
[opt-env-conf-test] . showString " "
1138.14 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:20-26
1138.14 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1138.14 s
[opt-env-conf-test] go d = \case
1138.14 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1138.14 s
[opt-env-conf-test] ParserAp pf pa ->
1138.14 s
[opt-env-conf-test] - showParen (d > 10) $
1138.14 s
[opt-env-conf-test] + showParen (not d > 10) $
1138.14 s
[opt-env-conf-test] showString "Ap "
1138.14 s
[opt-env-conf-test] . go 11 pf
1138.14 s
[opt-env-conf-test] . showString " "
1138.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1138.14 s
[opt-env-conf-test] @@ -796,12 +796,11 @@
1138.14 s
[opt-env-conf-test] $ optional
1138.14 s
[opt-env-conf-test] $ withFrozenCallStack
1138.14 s
[opt-env-conf-test] $ setting
1138.14 s
[opt-env-conf-test] - [ help "Path to the XDG configuration directory",
1138.14 s
[opt-env-conf-test] reader str,
1138.14 s
[opt-env-conf-test] env "XDG_CONFIG_HOME",
1138.14 s
[opt-env-conf-test] metavar "DIRECTORY",
1138.14 s
[opt-env-conf-test] hidden
1138.14 s
[opt-env-conf-test] ]
1138.14 s
[opt-env-conf-test]
1138.14 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1138.14 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1138.14 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
1138.15 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1138.15 s
[opt-env-conf-test] where
1138.15 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1138.15 s
[opt-env-conf-test] go d = \case
1138.15 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1138.15 s
[opt-env-conf-test] + ParserPure _ -> showParen True $ showString "Pure _"
1138.15 s
[opt-env-conf-test] ParserAp pf pa ->
1138.15 s
[opt-env-conf-test] showParen (d > 10) $
1138.15 s
[opt-env-conf-test] showString "Ap "
1138.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
1138.15 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
1138.15 s
[opt-env-conf-test] checkMapMaybe func p =
1138.15 s
[opt-env-conf-test] withFrozenCallStack $
1138.15 s
[opt-env-conf-test] checkMapEither
1138.15 s
[opt-env-conf-test] ( \a -> case func a of
1138.15 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
1138.15 s
[opt-env-conf-test] - Just b -> Right b
1138.15 s
[opt-env-conf-test] )
1138.15 s
[opt-env-conf-test] p
1138.15 s
[opt-env-conf-test]
1138.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1138.15 s
[opt-env-conf-test] @@ -1016,13 +1016,7 @@
1138.15 s
[opt-env-conf-test] withFrozenCallStack $
1138.15 s
[opt-env-conf-test] choice $
1138.15 s
[opt-env-conf-test] catMaybes
1138.15 s
[opt-env-conf-test] - [ bareOption,
1138.15 s
[opt-env-conf-test] - fileOption,
1138.15 s
[opt-env-conf-test] - bareEnv,
1138.15 s
[opt-env-conf-test] - fileEnv,
1138.15 s
[opt-env-conf-test] - bareConf,
1138.15 s
[opt-env-conf-test] - fileConf
1138.15 s
[opt-env-conf-test] ]
1138.16 s
[opt-env-conf-test] where
1138.16 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1138.16 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1138.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
1138.16 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
1138.16 s
[opt-env-conf-test] checkMapMaybe func p =
1138.16 s
[opt-env-conf-test] withFrozenCallStack $
1138.16 s
[opt-env-conf-test] checkMapEither
1138.16 s
[opt-env-conf-test] ( \a -> case func a of
1138.16 s
[opt-env-conf-test] - Nothing -> Left "checkMapMaybe failed without a helpful error message"
1138.16 s
[opt-env-conf-test] Just b -> Right b
1138.16 s
[opt-env-conf-test] )
1138.16 s
[opt-env-conf-test] p
1138.16 s
[opt-env-conf-test]
1138.16 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1138.16 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1138.16 s
[opt-env-conf-test] ParserAp pf pa ->
1138.16 s
[opt-env-conf-test] showParen (d > 10) $
1138.16 s
[opt-env-conf-test] showString "Ap "
1138.16 s
[opt-env-conf-test] - . go 11 pf
1138.16 s
[opt-env-conf-test] + . go 1 pf
1138.16 s
[opt-env-conf-test] . showString " "
1138.16 s
[opt-env-conf-test] . go 11 pa
1138.16 s
[opt-env-conf-test] ParserSelect pe pf ->
1138.16 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1138.16 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1138.16 s
[opt-env-conf-test] ParserAp pf pa ->
1138.16 s
[opt-env-conf-test] showParen (d > 10) $
1138.16 s
[opt-env-conf-test] showString "Ap "
1138.16 s
[opt-env-conf-test] - . go 11 pf
1138.16 s
[opt-env-conf-test] + . go 0 pf
1138.16 s
[opt-env-conf-test] . showString " "
1138.16 s
[opt-env-conf-test] . go 11 pa
1138.16 s
[opt-env-conf-test] ParserSelect pe pf ->
1138.16 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
1138.16 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1138.16 s
[opt-env-conf-test] go d = \case
1138.17 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1138.17 s
[opt-env-conf-test] ParserAp pf pa ->
1138.17 s
[opt-env-conf-test] - showParen (d > 10) $
1138.17 s
[opt-env-conf-test] + showParen False $
1138.17 s
[opt-env-conf-test] showString "Ap "
1138.17 s
[opt-env-conf-test] . go 11 pf
1138.17 s
[opt-env-conf-test] . showString " "
1138.17 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
1138.17 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1138.17 s
[opt-env-conf-test] go d = \case
1138.17 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1138.17 s
[opt-env-conf-test] ParserAp pf pa ->
1138.17 s
[opt-env-conf-test] - showParen (d > 10) $
1138.17 s
[opt-env-conf-test] + showParen True $
1138.17 s
[opt-env-conf-test] showString "Ap "
1138.17 s
[opt-env-conf-test] . go 11 pf
1138.17 s
[opt-env-conf-test] . showString " "
1138.17 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1138.17 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1138.17 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1138.17 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1138.17 s
[opt-env-conf-test] fileSetting p f = do
1146.55 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1146.57 s
[opt-env-conf-test] guard $ p s
1146.57 s
[opt-env-conf-test] pure $
1146.57 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1146.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
1146.57 s
[opt-env-conf-test] @@ -141,7 +141,6 @@
1146.57 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1146.58 s
[opt-env-conf-test] pure (a : as)
1146.58 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1146.58 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1146.58 s
[opt-env-conf-test] ppIndent $ do
1146.58 s
[opt-env-conf-test] a <- go p'
1146.58 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1146.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
1146.58 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1146.58 s
[opt-env-conf-test] . showString " "
1146.58 s
[opt-env-conf-test] . go 11 pa
1146.58 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.58 s
[opt-env-conf-test] - showParen (d > 10) $
1146.58 s
[opt-env-conf-test] + showParen False $
1146.58 s
[opt-env-conf-test] showString "Select "
1146.58 s
[opt-env-conf-test] . go 11 pe
1146.58 s
[opt-env-conf-test] . showString " "
1146.58 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1146.58 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1146.58 s
[opt-env-conf-test] showString "Ap "
1146.58 s
[opt-env-conf-test] . go 11 pf
1146.58 s
[opt-env-conf-test] . showString " "
1146.58 s
[opt-env-conf-test] - . go 11 pa
1146.58 s
[opt-env-conf-test] + . go 0 pa
1146.58 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.58 s
[opt-env-conf-test] showParen (d > 10) $
1146.58 s
[opt-env-conf-test] showString "Select "
1146.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
1146.59 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1146.59 s
[opt-env-conf-test] . showString " "
1146.59 s
[opt-env-conf-test] . go 11 pa
1146.59 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.59 s
[opt-env-conf-test] - showParen (d > 10) $
1146.59 s
[opt-env-conf-test] + showParen (False) $
1146.59 s
[opt-env-conf-test] showString "Select "
1146.59 s
[opt-env-conf-test] . go 11 pe
1146.59 s
[opt-env-conf-test] . showString " "
1146.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
1146.59 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1146.59 s
[opt-env-conf-test] . showString " "
1146.59 s
[opt-env-conf-test] . go 11 pa
1146.59 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.59 s
[opt-env-conf-test] - showParen (d > 10) $
1146.59 s
[opt-env-conf-test] + showParen (True) $
1146.59 s
[opt-env-conf-test] showString "Select "
1146.59 s
[opt-env-conf-test] . go 11 pe
1146.59 s
[opt-env-conf-test] . showString " "
1146.59 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1146.59 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1146.59 s
[opt-env-conf-test] . showString " "
1146.59 s
[opt-env-conf-test] . go 11 pa
1146.59 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.59 s
[opt-env-conf-test] - showParen (d > 10) $
1146.59 s
[opt-env-conf-test] + showParen (d > 0) $
1146.59 s
[opt-env-conf-test] showString "Select "
1146.59 s
[opt-env-conf-test] . go 11 pe
1146.59 s
[opt-env-conf-test] . showString " "
1146.59 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1146.59 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1146.59 s
[opt-env-conf-test] showString "Ap "
1146.59 s
[opt-env-conf-test] . go 11 pf
1146.59 s
[opt-env-conf-test] . showString " "
1146.60 s
[opt-env-conf-test] - . go 11 pa
1146.60 s
[opt-env-conf-test] + . go 1 pa
1146.60 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.60 s
[opt-env-conf-test] showParen (d > 10) $
1146.60 s
[opt-env-conf-test] showString "Select "
1146.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1146.60 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1146.60 s
[opt-env-conf-test] showString "Ap "
1146.60 s
[opt-env-conf-test] . go 11 pf
1146.60 s
[opt-env-conf-test] . showString " "
1146.60 s
[opt-env-conf-test] - . go 11 pa
1146.60 s
[opt-env-conf-test] + . go -11 pa
1146.60 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.60 s
[opt-env-conf-test] showParen (d > 10) $
1146.60 s
[opt-env-conf-test] showString "Select "
1146.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:20-26
1146.60 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1146.60 s
[opt-env-conf-test] . showString " "
1146.60 s
[opt-env-conf-test] . go 11 pa
1146.60 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.60 s
[opt-env-conf-test] - showParen (d > 10) $
1146.60 s
[opt-env-conf-test] + showParen (not d > 10) $
1146.60 s
[opt-env-conf-test] showString "Select "
1146.60 s
[opt-env-conf-test] . go 11 pe
1146.60 s
[opt-env-conf-test] . showString " "
1146.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1146.60 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1146.60 s
[opt-env-conf-test] . showString " "
1146.60 s
[opt-env-conf-test] . go 11 pa
1146.60 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.60 s
[opt-env-conf-test] - showParen (d > 10) $
1146.60 s
[opt-env-conf-test] + showParen (d > -10) $
1146.60 s
[opt-env-conf-test] showString "Select "
1146.60 s
[opt-env-conf-test] . go 11 pe
1146.60 s
[opt-env-conf-test] . showString " "
1146.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:19-27
1146.61 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1146.61 s
[opt-env-conf-test] . showString " "
1146.61 s
[opt-env-conf-test] . go 11 pa
1146.61 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.61 s
[opt-env-conf-test] - showParen (d > 10) $
1146.61 s
[opt-env-conf-test] + showParen not (d > 10) $
1146.61 s
[opt-env-conf-test] showString "Select "
1146.61 s
[opt-env-conf-test] . go 11 pe
1146.61 s
[opt-env-conf-test] . showString " "
1146.61 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1146.61 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1146.61 s
[opt-env-conf-test] . showString " "
1146.61 s
[opt-env-conf-test] . go 11 pa
1146.61 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.61 s
[opt-env-conf-test] - showParen (d > 10) $
1146.61 s
[opt-env-conf-test] + showParen (d > 1) $
1146.61 s
[opt-env-conf-test] showString "Select "
1146.61 s
[opt-env-conf-test] . go 11 pe
1146.61 s
[opt-env-conf-test] . showString " "
1146.61 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1146.61 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1146.61 s
[opt-env-conf-test] . go 11 pf
1146.61 s
[opt-env-conf-test] ParserEmpty mLoc ->
1146.61 s
[opt-env-conf-test] showString "Empty "
1146.61 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1146.61 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1146.61 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1146.61 s
[opt-env-conf-test] showParen (d > 10) $
1146.61 s
[opt-env-conf-test] showString "Alt "
1146.61 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1146.61 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1146.61 s
[opt-env-conf-test] . go 11 pf
1146.61 s
[opt-env-conf-test] ParserEmpty mLoc ->
1146.61 s
[opt-env-conf-test] showString "Empty "
1146.61 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1146.61 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1146.61 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1146.61 s
[opt-env-conf-test] showParen (d > 10) $
1146.61 s
[opt-env-conf-test] showString "Alt "
1146.61 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1146.61 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1146.61 s
[opt-env-conf-test] . go 11 pf
1146.61 s
[opt-env-conf-test] ParserEmpty mLoc ->
1146.62 s
[opt-env-conf-test] showString "Empty "
1146.62 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1146.62 s
[opt-env-conf-test] + . showsPrec -11 mLoc
1146.62 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1146.62 s
[opt-env-conf-test] showParen (d > 10) $
1146.62 s
[opt-env-conf-test] showString "Alt "
1146.62 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1146.62 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1146.62 s
[opt-env-conf-test] showString "Empty "
1146.62 s
[opt-env-conf-test] . showsPrec 11 mLoc
1146.62 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1146.62 s
[opt-env-conf-test] - showParen (d > 10) $
1146.62 s
[opt-env-conf-test] + showParen (d > 0) $
1146.62 s
[opt-env-conf-test] showString "Alt "
1146.62 s
[opt-env-conf-test] . go 11 p1
1146.62 s
[opt-env-conf-test] . showString " "
1146.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
1146.62 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1146.62 s
[opt-env-conf-test] showString "Empty "
1146.62 s
[opt-env-conf-test] . showsPrec 11 mLoc
1146.62 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1146.62 s
[opt-env-conf-test] - showParen (d > 10) $
1146.62 s
[opt-env-conf-test] + showParen (True) $
1146.62 s
[opt-env-conf-test] showString "Alt "
1146.62 s
[opt-env-conf-test] . go 11 p1
1146.62 s
[opt-env-conf-test] . showString " "
1146.62 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:20-26
1146.62 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1146.62 s
[opt-env-conf-test] showString "Empty "
1146.62 s
[opt-env-conf-test] . showsPrec 11 mLoc
1146.62 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1146.62 s
[opt-env-conf-test] - showParen (d > 10) $
1146.62 s
[opt-env-conf-test] + showParen (not d > 10) $
1146.62 s
[opt-env-conf-test] showString "Alt "
1146.62 s
[opt-env-conf-test] . go 11 p1
1146.62 s
[opt-env-conf-test] . showString " "
1146.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
1146.62 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1146.62 s
[opt-env-conf-test] showString "Empty "
1146.62 s
[opt-env-conf-test] . showsPrec 11 mLoc
1146.62 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1146.62 s
[opt-env-conf-test] - showParen (d > 10) $
1146.62 s
[opt-env-conf-test] + showParen True $
1146.62 s
[opt-env-conf-test] showString "Alt "
1146.62 s
[opt-env-conf-test] . go 11 p1
1146.62 s
[opt-env-conf-test] . showString " "
1146.62 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1146.62 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1146.62 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.62 s
[opt-env-conf-test] showParen (d > 10) $
1146.62 s
[opt-env-conf-test] showString "Select "
1146.62 s
[opt-env-conf-test] - . go 11 pe
1146.62 s
[opt-env-conf-test] + . go 1 pe
1146.62 s
[opt-env-conf-test] . showString " "
1146.62 s
[opt-env-conf-test] . go 11 pf
1146.63 s
[opt-env-conf-test] ParserEmpty mLoc ->
1146.63 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1146.63 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1146.63 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.63 s
[opt-env-conf-test] showParen (d > 10) $
1146.63 s
[opt-env-conf-test] showString "Select "
1146.63 s
[opt-env-conf-test] - . go 11 pe
1146.63 s
[opt-env-conf-test] + . go -11 pe
1146.63 s
[opt-env-conf-test] . showString " "
1146.63 s
[opt-env-conf-test] . go 11 pf
1146.63 s
[opt-env-conf-test] ParserEmpty mLoc ->
1146.63 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
1146.63 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1146.63 s
[opt-env-conf-test] . showString " "
1146.63 s
[opt-env-conf-test] . go 11 pa
1146.63 s
[opt-env-conf-test] ParserSelect pe pf ->
1146.63 s
[opt-env-conf-test] - showParen (d > 10) $
1146.63 s
[opt-env-conf-test] + showParen True $
1146.63 s
[opt-env-conf-test] showString "Select "
1146.63 s
[opt-env-conf-test] . go 11 pe
1146.63 s
[opt-env-conf-test] . showString " "
1146.63 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1146.63 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1146.63 s
[opt-env-conf-test] showString "Select "
1146.63 s
[opt-env-conf-test] . go 11 pe
1146.63 s
[opt-env-conf-test] . showString " "
1146.63 s
[opt-env-conf-test] - . go 11 pf
1146.63 s
[opt-env-conf-test] + . go -11 pf
1146.63 s
[opt-env-conf-test] ParserEmpty mLoc ->
1146.63 s
[opt-env-conf-test] showString "Empty "
1146.63 s
[opt-env-conf-test] . showsPrec 11 mLoc
1146.63 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1146.63 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1146.63 s
[opt-env-conf-test] . showString " "
1146.63 s
[opt-env-conf-test] . go 11 p2
1146.63 s
[opt-env-conf-test] ParserMany mLoc p ->
1146.63 s
[opt-env-conf-test] - showParen (d > 10) $
1146.63 s
[opt-env-conf-test] + showParen (d > -10) $
1146.63 s
[opt-env-conf-test] showString "Many "
1146.63 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.77 s
[opt-env-conf-test] . showString " "
1157.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
1157.79 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1157.80 s
[opt-env-conf-test] . showString " "
1157.80 s
[opt-env-conf-test] . go 11 p2
1157.80 s
[opt-env-conf-test] ParserMany mLoc p ->
1157.80 s
[opt-env-conf-test] - showParen (d > 10) $
1157.80 s
[opt-env-conf-test] + showParen (True) $
1157.80 s
[opt-env-conf-test] showString "Many "
1157.80 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.80 s
[opt-env-conf-test] . showString " "
1157.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
1157.80 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1157.80 s
[opt-env-conf-test] . showString " "
1157.80 s
[opt-env-conf-test] . go 11 p2
1157.80 s
[opt-env-conf-test] ParserMany mLoc p ->
1157.80 s
[opt-env-conf-test] - showParen (d > 10) $
1157.80 s
[opt-env-conf-test] + showParen (False) $
1157.80 s
[opt-env-conf-test] showString "Many "
1157.80 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.80 s
[opt-env-conf-test] . showString " "
1157.80 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:20-26
1157.80 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1157.80 s
[opt-env-conf-test] . showString " "
1157.80 s
[opt-env-conf-test] . go 11 p2
1157.80 s
[opt-env-conf-test] ParserMany mLoc p ->
1157.80 s
[opt-env-conf-test] - showParen (d > 10) $
1157.80 s
[opt-env-conf-test] + showParen (not d > 10) $
1157.80 s
[opt-env-conf-test] showString "Many "
1157.81 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.81 s
[opt-env-conf-test] . showString " "
1157.81 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
1157.81 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1157.81 s
[opt-env-conf-test] . showString " "
1157.81 s
[opt-env-conf-test] . go 11 p2
1157.81 s
[opt-env-conf-test] ParserMany mLoc p ->
1157.81 s
[opt-env-conf-test] - showParen (d > 10) $
1157.81 s
[opt-env-conf-test] + showParen True $
1157.81 s
[opt-env-conf-test] showString "Many "
1157.81 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.81 s
[opt-env-conf-test] . showString " "
1157.81 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
1157.81 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1157.81 s
[opt-env-conf-test] . showString " "
1157.81 s
[opt-env-conf-test] . go 11 p2
1157.81 s
[opt-env-conf-test] ParserMany mLoc p ->
1157.81 s
[opt-env-conf-test] - showParen (d > 10) $
1157.81 s
[opt-env-conf-test] + showParen False $
1157.81 s
[opt-env-conf-test] showString "Many "
1157.81 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.81 s
[opt-env-conf-test] . showString " "
1157.81 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:19-27
1157.81 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1157.81 s
[opt-env-conf-test] . showString " "
1157.81 s
[opt-env-conf-test] . go 11 p2
1157.81 s
[opt-env-conf-test] ParserMany mLoc p ->
1157.81 s
[opt-env-conf-test] - showParen (d > 10) $
1157.81 s
[opt-env-conf-test] + showParen not (d > 10) $
1157.81 s
[opt-env-conf-test] showString "Many "
1157.81 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.81 s
[opt-env-conf-test] . showString " "
1157.81 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1157.81 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1157.81 s
[opt-env-conf-test] ParserMany mLoc p ->
1157.81 s
[opt-env-conf-test] showParen (d > 10) $
1157.81 s
[opt-env-conf-test] showString "Many "
1157.81 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1157.81 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1157.81 s
[opt-env-conf-test] . showString " "
1157.81 s
[opt-env-conf-test] . go 11 p
1157.81 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.81 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1157.82 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1157.82 s
[opt-env-conf-test] ParserMany mLoc p ->
1157.82 s
[opt-env-conf-test] showParen (d > 10) $
1157.82 s
[opt-env-conf-test] showString "Many "
1157.82 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1157.82 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1157.82 s
[opt-env-conf-test] . showString " "
1157.82 s
[opt-env-conf-test] . go 11 p
1157.82 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.82 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1157.82 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1157.82 s
[opt-env-conf-test] ParserMany mLoc p ->
1157.82 s
[opt-env-conf-test] showParen (d > 10) $
1157.82 s
[opt-env-conf-test] showString "Many "
1157.82 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1157.82 s
[opt-env-conf-test] + . showsPrec -11 mLoc
1157.82 s
[opt-env-conf-test] . showString " "
1157.82 s
[opt-env-conf-test] . go 11 p
1157.82 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.82 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1157.82 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1157.82 s
[opt-env-conf-test] showString "Many "
1157.82 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.82 s
[opt-env-conf-test] . showString " "
1157.82 s
[opt-env-conf-test] - . go 11 p
1157.82 s
[opt-env-conf-test] + . go 1 p
1157.82 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.82 s
[opt-env-conf-test] showParen (d > 10) $
1157.82 s
[opt-env-conf-test] showString "Some "
1157.82 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1157.82 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1157.82 s
[opt-env-conf-test] showString "Many "
1157.82 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.82 s
[opt-env-conf-test] . showString " "
1157.82 s
[opt-env-conf-test] - . go 11 p
1157.82 s
[opt-env-conf-test] + . go -11 p
1157.82 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.82 s
[opt-env-conf-test] showParen (d > 10) $
1157.82 s
[opt-env-conf-test] showString "Some "
1157.82 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1157.82 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1157.82 s
[opt-env-conf-test] . showString " "
1157.82 s
[opt-env-conf-test] . go 11 p
1157.82 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.82 s
[opt-env-conf-test] - showParen (d > 10) $
1157.82 s
[opt-env-conf-test] + showParen (d > 0) $
1157.82 s
[opt-env-conf-test] showString "Some "
1157.82 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.82 s
[opt-env-conf-test] . showString " "
1157.82 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1157.82 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1157.82 s
[opt-env-conf-test] . showString " "
1157.82 s
[opt-env-conf-test] . go 11 p
1157.82 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.82 s
[opt-env-conf-test] - showParen (d > 10) $
1157.82 s
[opt-env-conf-test] + showParen (d > 1) $
1157.83 s
[opt-env-conf-test] showString "Some "
1157.83 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.83 s
[opt-env-conf-test] . showString " "
1157.83 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1157.83 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1157.83 s
[opt-env-conf-test] . showString " "
1157.83 s
[opt-env-conf-test] . go 11 p
1157.83 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.83 s
[opt-env-conf-test] - showParen (d > 10) $
1157.83 s
[opt-env-conf-test] + showParen (d > -10) $
1157.83 s
[opt-env-conf-test] showString "Some "
1157.83 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.83 s
[opt-env-conf-test] . showString " "
1157.83 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
1157.83 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1157.83 s
[opt-env-conf-test] . showString " "
1157.83 s
[opt-env-conf-test] . go 11 p
1157.83 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.83 s
[opt-env-conf-test] - showParen (d > 10) $
1157.83 s
[opt-env-conf-test] + showParen (True) $
1157.83 s
[opt-env-conf-test] showString "Some "
1157.83 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.83 s
[opt-env-conf-test] . showString " "
1157.83 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
1157.83 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1157.83 s
[opt-env-conf-test] . showString " "
1157.83 s
[opt-env-conf-test] . go 11 p
1157.83 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.83 s
[opt-env-conf-test] - showParen (d > 10) $
1157.83 s
[opt-env-conf-test] + showParen (False) $
1157.83 s
[opt-env-conf-test] showString "Some "
1157.83 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.83 s
[opt-env-conf-test] . showString " "
1157.83 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:20-26
1157.83 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1157.83 s
[opt-env-conf-test] . showString " "
1157.83 s
[opt-env-conf-test] . go 11 p
1157.83 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.83 s
[opt-env-conf-test] - showParen (d > 10) $
1157.83 s
[opt-env-conf-test] + showParen (not d > 10) $
1157.83 s
[opt-env-conf-test] showString "Some "
1157.83 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.83 s
[opt-env-conf-test] . showString " "
1157.83 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
1157.83 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1157.84 s
[opt-env-conf-test] . showString " "
1157.84 s
[opt-env-conf-test] . go 11 p
1157.84 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.84 s
[opt-env-conf-test] - showParen (d > 10) $
1157.84 s
[opt-env-conf-test] + showParen True $
1157.84 s
[opt-env-conf-test] showString "Some "
1157.84 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.84 s
[opt-env-conf-test] . showString " "
1157.84 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
1157.84 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1157.84 s
[opt-env-conf-test] . showString " "
1157.84 s
[opt-env-conf-test] . go 11 p
1157.84 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.84 s
[opt-env-conf-test] - showParen (d > 10) $
1157.84 s
[opt-env-conf-test] + showParen False $
1157.84 s
[opt-env-conf-test] showString "Some "
1157.84 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.84 s
[opt-env-conf-test] . showString " "
1157.84 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:19-27
1157.84 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1157.84 s
[opt-env-conf-test] . showString " "
1157.84 s
[opt-env-conf-test] . go 11 p
1157.84 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.85 s
[opt-env-conf-test] - showParen (d > 10) $
1157.85 s
[opt-env-conf-test] + showParen not (d > 10) $
1157.85 s
[opt-env-conf-test] showString "Some "
1157.85 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.85 s
[opt-env-conf-test] . showString " "
1157.85 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1157.85 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1157.85 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.85 s
[opt-env-conf-test] showParen (d > 10) $
1157.85 s
[opt-env-conf-test] showString "Some "
1157.85 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1157.85 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1157.85 s
[opt-env-conf-test] . showString " "
1157.85 s
[opt-env-conf-test] . go 11 p
1157.85 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1157.85 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1157.85 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1157.85 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.86 s
[opt-env-conf-test] showParen (d > 10) $
1157.86 s
[opt-env-conf-test] showString "Some "
1157.86 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1157.86 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1157.86 s
[opt-env-conf-test] . showString " "
1157.86 s
[opt-env-conf-test] . go 11 p
1157.86 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1157.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1157.86 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1157.86 s
[opt-env-conf-test] ParserSome mLoc p ->
1157.86 s
[opt-env-conf-test] showParen (d > 10) $
1157.86 s
[opt-env-conf-test] showString "Some "
1157.86 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1157.86 s
[opt-env-conf-test] + . showsPrec -11 mLoc
1157.86 s
[opt-env-conf-test] . showString " "
1157.86 s
[opt-env-conf-test] . go 11 p
1157.86 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1157.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1157.86 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1157.86 s
[opt-env-conf-test] showString "Some "
1157.86 s
[opt-env-conf-test] . showsPrec 11 mLoc
1157.86 s
[opt-env-conf-test] . showString " "
1157.86 s
[opt-env-conf-test] - . go 11 p
1157.86 s
[opt-env-conf-test] + . go 0 p
1157.86 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.66 s
[opt-env-conf-test] showParen (d > 10) $
1160.66 s
[opt-env-conf-test] showString "AllOrNothing "
1160.66 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1160.66 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1160.66 s
[opt-env-conf-test] showString "Many "
1160.66 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.66 s
[opt-env-conf-test] . showString " "
1160.66 s
[opt-env-conf-test] - . go 11 p
1160.66 s
[opt-env-conf-test] + . go 0 p
1160.66 s
[opt-env-conf-test] ParserSome mLoc p ->
1160.66 s
[opt-env-conf-test] showParen (d > 10) $
1160.66 s
[opt-env-conf-test] showString "Some "
1160.66 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1160.66 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1160.66 s
[opt-env-conf-test] showString "Some "
1160.66 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.66 s
[opt-env-conf-test] . showString " "
1160.66 s
[opt-env-conf-test] - . go 11 p
1160.66 s
[opt-env-conf-test] + . go -11 p
1160.66 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.66 s
[opt-env-conf-test] showParen (d > 10) $
1160.66 s
[opt-env-conf-test] showString "AllOrNothing "
1160.66 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1160.66 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1160.66 s
[opt-env-conf-test] showString "Alt "
1160.66 s
[opt-env-conf-test] . go 11 p1
1160.66 s
[opt-env-conf-test] . showString " "
1160.66 s
[opt-env-conf-test] - . go 11 p2
1160.66 s
[opt-env-conf-test] + . go 0 p2
1160.66 s
[opt-env-conf-test] ParserMany mLoc p ->
1160.67 s
[opt-env-conf-test] showParen (d > 10) $
1160.67 s
[opt-env-conf-test] showString "Many "
1160.67 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1160.67 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1160.67 s
[opt-env-conf-test] . showString " "
1160.67 s
[opt-env-conf-test] . go 11 p
1160.67 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.67 s
[opt-env-conf-test] - showParen (d > 10) $
1160.67 s
[opt-env-conf-test] + showParen (d > 1) $
1160.67 s
[opt-env-conf-test] showString "AllOrNothing "
1160.67 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.67 s
[opt-env-conf-test] . showString " "
1160.67 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1160.67 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1160.67 s
[opt-env-conf-test] showString "Alt "
1160.67 s
[opt-env-conf-test] . go 11 p1
1160.67 s
[opt-env-conf-test] . showString " "
1160.67 s
[opt-env-conf-test] - . go 11 p2
1160.67 s
[opt-env-conf-test] + . go 1 p2
1160.67 s
[opt-env-conf-test] ParserMany mLoc p ->
1160.67 s
[opt-env-conf-test] showParen (d > 10) $
1160.67 s
[opt-env-conf-test] showString "Many "
1160.67 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1160.67 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1160.67 s
[opt-env-conf-test] . showString " "
1160.67 s
[opt-env-conf-test] . go 11 p
1160.67 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.67 s
[opt-env-conf-test] - showParen (d > 10) $
1160.67 s
[opt-env-conf-test] + showParen (d > 0) $
1160.67 s
[opt-env-conf-test] showString "AllOrNothing "
1160.67 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.67 s
[opt-env-conf-test] . showString " "
1160.67 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1160.67 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1160.68 s
[opt-env-conf-test] . showString " "
1160.68 s
[opt-env-conf-test] . go 11 p
1160.68 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.68 s
[opt-env-conf-test] - showParen (d > 10) $
1160.68 s
[opt-env-conf-test] + showParen (d > -10) $
1160.68 s
[opt-env-conf-test] showString "AllOrNothing "
1160.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.68 s
[opt-env-conf-test] . showString " "
1160.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
1160.68 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1160.68 s
[opt-env-conf-test] . showString " "
1160.68 s
[opt-env-conf-test] . go 11 p
1160.68 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.68 s
[opt-env-conf-test] - showParen (d > 10) $
1160.68 s
[opt-env-conf-test] + showParen (True) $
1160.68 s
[opt-env-conf-test] showString "AllOrNothing "
1160.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.68 s
[opt-env-conf-test] . showString " "
1160.68 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1160.68 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1160.68 s
[opt-env-conf-test] showString "Alt "
1160.68 s
[opt-env-conf-test] . go 11 p1
1160.68 s
[opt-env-conf-test] . showString " "
1160.68 s
[opt-env-conf-test] - . go 11 p2
1160.68 s
[opt-env-conf-test] + . go -11 p2
1160.68 s
[opt-env-conf-test] ParserMany mLoc p ->
1160.68 s
[opt-env-conf-test] showParen (d > 10) $
1160.68 s
[opt-env-conf-test] showString "Many "
1160.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
1160.68 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1160.69 s
[opt-env-conf-test] . showString " "
1160.69 s
[opt-env-conf-test] . go 11 p
1160.69 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.69 s
[opt-env-conf-test] - showParen (d > 10) $
1160.69 s
[opt-env-conf-test] + showParen (False) $
1160.69 s
[opt-env-conf-test] showString "AllOrNothing "
1160.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.69 s
[opt-env-conf-test] . showString " "
1160.69 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:20-26
1160.69 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1160.69 s
[opt-env-conf-test] . showString " "
1160.69 s
[opt-env-conf-test] . go 11 p
1160.69 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.69 s
[opt-env-conf-test] - showParen (d > 10) $
1160.69 s
[opt-env-conf-test] + showParen (not d > 10) $
1160.69 s
[opt-env-conf-test] showString "AllOrNothing "
1160.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.69 s
[opt-env-conf-test] . showString " "
1160.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
1160.69 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1160.69 s
[opt-env-conf-test] . showString " "
1160.69 s
[opt-env-conf-test] . go 11 p
1160.69 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.69 s
[opt-env-conf-test] - showParen (d > 10) $
1160.69 s
[opt-env-conf-test] + showParen True $
1160.69 s
[opt-env-conf-test] showString "AllOrNothing "
1160.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.69 s
[opt-env-conf-test] . showString " "
1160.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
1160.69 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1160.69 s
[opt-env-conf-test] . showString " "
1160.69 s
[opt-env-conf-test] . go 11 p
1160.69 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.70 s
[opt-env-conf-test] - showParen (d > 10) $
1160.70 s
[opt-env-conf-test] + showParen False $
1160.70 s
[opt-env-conf-test] showString "AllOrNothing "
1160.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.70 s
[opt-env-conf-test] . showString " "
1160.70 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:19-27
1160.70 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1160.70 s
[opt-env-conf-test] . showString " "
1160.70 s
[opt-env-conf-test] . go 11 p
1160.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.70 s
[opt-env-conf-test] - showParen (d > 10) $
1160.70 s
[opt-env-conf-test] + showParen not (d > 10) $
1160.70 s
[opt-env-conf-test] showString "AllOrNothing "
1160.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.70 s
[opt-env-conf-test] . showString " "
1160.70 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1160.70 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1160.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.70 s
[opt-env-conf-test] showParen (d > 10) $
1160.70 s
[opt-env-conf-test] showString "AllOrNothing "
1160.70 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1160.70 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1160.70 s
[opt-env-conf-test] . showString " "
1160.70 s
[opt-env-conf-test] . go 11 p
1160.70 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1160.70 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1160.70 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1160.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.70 s
[opt-env-conf-test] showParen (d > 10) $
1160.70 s
[opt-env-conf-test] showString "AllOrNothing "
1160.70 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1160.70 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1160.70 s
[opt-env-conf-test] . showString " "
1160.70 s
[opt-env-conf-test] . go 11 p
1160.70 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1160.70 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1160.70 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1160.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1160.70 s
[opt-env-conf-test] showParen (d > 10) $
1160.70 s
[opt-env-conf-test] showString "AllOrNothing "
1160.70 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1160.70 s
[opt-env-conf-test] + . showsPrec -11 mLoc
1160.70 s
[opt-env-conf-test] . showString " "
1160.70 s
[opt-env-conf-test] . go 11 p
1160.70 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1160.70 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1160.70 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1160.71 s
[opt-env-conf-test] showString "AllOrNothing "
1160.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.71 s
[opt-env-conf-test] . showString " "
1160.71 s
[opt-env-conf-test] - . go 11 p
1160.71 s
[opt-env-conf-test] + . go 0 p
1160.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1160.71 s
[opt-env-conf-test] showParen (d > 10) $
1160.71 s
[opt-env-conf-test] showString "Check "
1160.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1160.71 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1160.71 s
[opt-env-conf-test] showString "AllOrNothing "
1160.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.71 s
[opt-env-conf-test] . showString " "
1160.71 s
[opt-env-conf-test] - . go 11 p
1160.71 s
[opt-env-conf-test] + . go 1 p
1160.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1160.71 s
[opt-env-conf-test] showParen (d > 10) $
1160.71 s
[opt-env-conf-test] showString "Check "
1160.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1160.71 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1160.71 s
[opt-env-conf-test] showString "AllOrNothing "
1160.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.71 s
[opt-env-conf-test] . showString " "
1160.71 s
[opt-env-conf-test] - . go 11 p
1160.71 s
[opt-env-conf-test] + . go -11 p
1160.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1160.71 s
[opt-env-conf-test] showParen (d > 10) $
1160.71 s
[opt-env-conf-test] showString "Check "
1160.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1160.71 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1160.71 s
[opt-env-conf-test] showString "Select "
1160.71 s
[opt-env-conf-test] . go 11 pe
1160.71 s
[opt-env-conf-test] . showString " "
1160.71 s
[opt-env-conf-test] - . go 11 pf
1160.71 s
[opt-env-conf-test] + . go 1 pf
1160.71 s
[opt-env-conf-test] ParserEmpty mLoc ->
1160.71 s
[opt-env-conf-test] showString "Empty "
1160.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1160.71 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1160.71 s
[opt-env-conf-test] . showString " "
1160.71 s
[opt-env-conf-test] . go 11 p
1160.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1160.71 s
[opt-env-conf-test] - showParen (d > 10) $
1160.71 s
[opt-env-conf-test] + showParen (d > 1) $
1160.71 s
[opt-env-conf-test] showString "Check "
1160.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.71 s
[opt-env-conf-test] . showString " "
1160.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1160.72 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1160.72 s
[opt-env-conf-test] . showString " "
1160.72 s
[opt-env-conf-test] . go 11 p
1160.72 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1160.72 s
[opt-env-conf-test] - showParen (d > 10) $
1160.72 s
[opt-env-conf-test] + showParen (d > 0) $
1160.72 s
[opt-env-conf-test] showString "Check "
1160.72 s
[opt-env-conf-test] . showsPrec 11 mLoc
1160.72 s
[opt-env-conf-test] . showString " "
1173.55 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1173.55 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1173.55 s
[opt-env-conf-test] . showString " "
1173.57 s
[opt-env-conf-test] . go 11 p
1173.57 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1173.58 s
[opt-env-conf-test] - showParen (d > 10) $
1173.58 s
[opt-env-conf-test] + showParen (d > -10) $
1173.58 s
[opt-env-conf-test] showString "Check "
1173.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.58 s
[opt-env-conf-test] . showString " "
1173.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
1173.58 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1173.58 s
[opt-env-conf-test] . showString " "
1173.58 s
[opt-env-conf-test] . go 11 p
1173.58 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1173.58 s
[opt-env-conf-test] - showParen (d > 10) $
1173.58 s
[opt-env-conf-test] + showParen (True) $
1173.58 s
[opt-env-conf-test] showString "Check "
1173.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.58 s
[opt-env-conf-test] . showString " "
1173.58 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1173.58 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1173.58 s
[opt-env-conf-test] . showString " "
1173.58 s
[opt-env-conf-test] . go 11 p2
1173.58 s
[opt-env-conf-test] ParserMany mLoc p ->
1173.58 s
[opt-env-conf-test] - showParen (d > 10) $
1173.58 s
[opt-env-conf-test] + showParen (d > 0) $
1173.58 s
[opt-env-conf-test] showString "Many "
1173.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.58 s
[opt-env-conf-test] . showString " "
1173.58 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1173.58 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1173.58 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1173.58 s
[opt-env-conf-test] showParen (d > 10) $
1173.58 s
[opt-env-conf-test] showString "Alt "
1173.58 s
[opt-env-conf-test] - . go 11 p1
1173.58 s
[opt-env-conf-test] + . go 1 p1
1173.58 s
[opt-env-conf-test] . showString " "
1173.58 s
[opt-env-conf-test] . go 11 p2
1173.58 s
[opt-env-conf-test] ParserMany mLoc p ->
1173.58 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1173.58 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1173.58 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1173.58 s
[opt-env-conf-test] showParen (d > 10) $
1173.59 s
[opt-env-conf-test] showString "Alt "
1173.59 s
[opt-env-conf-test] - . go 11 p1
1173.59 s
[opt-env-conf-test] + . go 0 p1
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] . go 11 p2
1173.59 s
[opt-env-conf-test] ParserMany mLoc p ->
1173.59 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:19-27
1173.59 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1173.59 s
[opt-env-conf-test] showString "Empty "
1173.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.59 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1173.59 s
[opt-env-conf-test] - showParen (d > 10) $
1173.59 s
[opt-env-conf-test] + showParen not (d > 10) $
1173.59 s
[opt-env-conf-test] showString "Alt "
1173.59 s
[opt-env-conf-test] . go 11 p1
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1173.59 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] . go 11 p2
1173.59 s
[opt-env-conf-test] ParserMany mLoc p ->
1173.59 s
[opt-env-conf-test] - showParen (d > 10) $
1173.59 s
[opt-env-conf-test] + showParen (d > 1) $
1173.59 s
[opt-env-conf-test] showString "Many "
1173.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1173.59 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1173.59 s
[opt-env-conf-test] showString "Empty "
1173.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.59 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1173.59 s
[opt-env-conf-test] - showParen (d > 10) $
1173.59 s
[opt-env-conf-test] + showParen (d > -10) $
1173.59 s
[opt-env-conf-test] showString "Alt "
1173.59 s
[opt-env-conf-test] . go 11 p1
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1173.59 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1173.59 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1173.59 s
[opt-env-conf-test] showParen (d > 10) $
1173.59 s
[opt-env-conf-test] showString "Alt "
1173.59 s
[opt-env-conf-test] - . go 11 p1
1173.59 s
[opt-env-conf-test] + . go -11 p1
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] . go 11 p2
1173.59 s
[opt-env-conf-test] ParserMany mLoc p ->
1173.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
1173.59 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] . go 11 p
1173.59 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1173.59 s
[opt-env-conf-test] - showParen (d > 10) $
1173.59 s
[opt-env-conf-test] + showParen True $
1173.59 s
[opt-env-conf-test] showString "Check "
1173.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:20-26
1173.59 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] . go 11 p
1173.59 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1173.59 s
[opt-env-conf-test] - showParen (d > 10) $
1173.59 s
[opt-env-conf-test] + showParen (not d > 10) $
1173.59 s
[opt-env-conf-test] showString "Check "
1173.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
1173.59 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1173.59 s
[opt-env-conf-test] showString "Empty "
1173.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.59 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1173.59 s
[opt-env-conf-test] - showParen (d > 10) $
1173.59 s
[opt-env-conf-test] + showParen (False) $
1173.59 s
[opt-env-conf-test] showString "Alt "
1173.59 s
[opt-env-conf-test] . go 11 p1
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
1173.59 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] . go 11 p
1173.59 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1173.59 s
[opt-env-conf-test] - showParen (d > 10) $
1173.59 s
[opt-env-conf-test] + showParen (False) $
1173.59 s
[opt-env-conf-test] showString "Check "
1173.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1173.59 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1173.59 s
[opt-env-conf-test] showString "Some "
1173.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] - . go 11 p
1173.59 s
[opt-env-conf-test] + . go 1 p
1173.59 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1173.59 s
[opt-env-conf-test] showParen (d > 10) $
1173.59 s
[opt-env-conf-test] showString "AllOrNothing "
1173.59 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1173.59 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1173.59 s
[opt-env-conf-test] showString "Select "
1173.59 s
[opt-env-conf-test] . go 11 pe
1173.59 s
[opt-env-conf-test] . showString " "
1173.59 s
[opt-env-conf-test] - . go 11 pf
1173.59 s
[opt-env-conf-test] + . go 0 pf
1173.59 s
[opt-env-conf-test] ParserEmpty mLoc ->
1173.59 s
[opt-env-conf-test] showString "Empty "
1173.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
1173.59 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1173.59 s
[opt-env-conf-test] where
1173.59 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1173.59 s
[opt-env-conf-test] go d = \case
1173.59 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1173.59 s
[opt-env-conf-test] + ParserPure _ -> showParen False $ showString "Pure _"
1173.59 s
[opt-env-conf-test] ParserAp pf pa ->
1173.59 s
[opt-env-conf-test] showParen (d > 10) $
1173.59 s
[opt-env-conf-test] showString "Ap "
1173.59 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1173.59 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1173.59 s
[opt-env-conf-test] showString "Empty "
1173.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.59 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1173.59 s
[opt-env-conf-test] - showParen (d > 10) $
1173.59 s
[opt-env-conf-test] + showParen (d > 1) $
1173.59 s
[opt-env-conf-test] showString "Alt "
1173.59 s
[opt-env-conf-test] . go 11 p1
1173.59 s
[opt-env-conf-test] . showString " "
1173.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1173.60 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1173.60 s
[opt-env-conf-test] ParserAp pf pa ->
1173.60 s
[opt-env-conf-test] showParen (d > 10) $
1173.60 s
[opt-env-conf-test] showString "Ap "
1173.60 s
[opt-env-conf-test] - . go 11 pf
1173.60 s
[opt-env-conf-test] + . go -11 pf
1173.60 s
[opt-env-conf-test] . showString " "
1173.60 s
[opt-env-conf-test] . go 11 pa
1173.60 s
[opt-env-conf-test] ParserSelect pe pf ->
1173.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1173.60 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1173.60 s
[opt-env-conf-test] ParserSelect pe pf ->
1173.60 s
[opt-env-conf-test] showParen (d > 10) $
1173.60 s
[opt-env-conf-test] showString "Select "
1173.60 s
[opt-env-conf-test] - . go 11 pe
1173.60 s
[opt-env-conf-test] + . go 0 pe
1173.60 s
[opt-env-conf-test] . showString " "
1173.60 s
[opt-env-conf-test] . go 11 pf
1173.60 s
[opt-env-conf-test] ParserEmpty mLoc ->
1173.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
1173.60 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1173.60 s
[opt-env-conf-test] showString "Empty "
1173.60 s
[opt-env-conf-test] . showsPrec 11 mLoc
1173.60 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1173.60 s
[opt-env-conf-test] - showParen (d > 10) $
1173.60 s
[opt-env-conf-test] + showParen False $
1173.60 s
[opt-env-conf-test] showString "Alt "
1173.60 s
[opt-env-conf-test] . go 11 p1
1173.60 s
[opt-env-conf-test] . showString " "
1173.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1173.60 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1173.60 s
[opt-env-conf-test] . showString " "
1173.60 s
[opt-env-conf-test] . showsPrec 11 caps
1173.60 s
[opt-env-conf-test] . showString " _ "
1173.60 s
[opt-env-conf-test] - . go 11 p
1173.60 s
[opt-env-conf-test] + . go 0 p
1173.60 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1173.60 s
[opt-env-conf-test] showParen (d > 10) $
1173.60 s
[opt-env-conf-test] showString "Commands "
1173.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1173.60 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1173.60 s
[opt-env-conf-test] . showString " "
1173.60 s
[opt-env-conf-test] . showsPrec 11 caps
1173.60 s
[opt-env-conf-test] . showString " _ "
1173.60 s
[opt-env-conf-test] - . go 11 p
1173.60 s
[opt-env-conf-test] + . go 1 p
1173.60 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1173.60 s
[opt-env-conf-test] showParen (d > 10) $
1173.60 s
[opt-env-conf-test] showString "Commands "
1173.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1173.60 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1173.60 s
[opt-env-conf-test] . showString " "
1173.60 s
[opt-env-conf-test] . showsPrec 11 forgivable
1173.60 s
[opt-env-conf-test] . showString " "
1173.60 s
[opt-env-conf-test] - . showsPrec 11 caps
1173.60 s
[opt-env-conf-test] + . showsPrec -11 caps
1173.60 s
[opt-env-conf-test] . showString " _ "
1173.60 s
[opt-env-conf-test] . go 11 p
1173.60 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1173.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1173.60 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1173.60 s
[opt-env-conf-test] . showString " "
1173.60 s
[opt-env-conf-test] . showsPrec 11 forgivable
1173.60 s
[opt-env-conf-test] . showString " "
1173.60 s
[opt-env-conf-test] - . showsPrec 11 caps
1173.60 s
[opt-env-conf-test] + . showsPrec 1 caps
1173.60 s
[opt-env-conf-test] . showString " _ "
1185.84 s
[opt-env-conf-test] . go 11 p
1185.86 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1185.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
1185.87 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1185.87 s
[opt-env-conf-test] . showString " _ "
1185.87 s
[opt-env-conf-test] . go 11 p
1185.87 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1185.87 s
[opt-env-conf-test] - showParen (d > 10) $
1185.87 s
[opt-env-conf-test] + showParen False $
1185.87 s
[opt-env-conf-test] showString "Commands "
1185.87 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.87 s
[opt-env-conf-test] . showString " "
1185.87 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:19-27
1185.87 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1185.87 s
[opt-env-conf-test] . showString " _ "
1185.87 s
[opt-env-conf-test] . go 11 p
1185.87 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1185.87 s
[opt-env-conf-test] - showParen (d > 10) $
1185.87 s
[opt-env-conf-test] + showParen not (d > 10) $
1185.87 s
[opt-env-conf-test] showString "Commands "
1185.87 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.87 s
[opt-env-conf-test] . showString " "
1185.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1185.87 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1185.87 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1185.87 s
[opt-env-conf-test] showParen (d > 10) $
1185.88 s
[opt-env-conf-test] showString "Commands "
1185.88 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1185.88 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1185.88 s
[opt-env-conf-test] . showString " "
1185.88 s
[opt-env-conf-test] . showsPrec 11 mDefault
1185.88 s
[opt-env-conf-test] . showString " "
1185.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1185.88 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1185.88 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1185.88 s
[opt-env-conf-test] showParen (d > 10) $
1185.88 s
[opt-env-conf-test] showString "Commands "
1185.88 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1185.88 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1185.88 s
[opt-env-conf-test] . showString " "
1185.88 s
[opt-env-conf-test] . showsPrec 11 mDefault
1185.88 s
[opt-env-conf-test] . showString " "
1185.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1185.88 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1185.88 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1185.88 s
[opt-env-conf-test] showParen (d > 10) $
1185.88 s
[opt-env-conf-test] showString "Commands "
1185.88 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1185.88 s
[opt-env-conf-test] + . showsPrec -11 mLoc
1185.88 s
[opt-env-conf-test] . showString " "
1185.88 s
[opt-env-conf-test] . showsPrec 11 mDefault
1185.88 s
[opt-env-conf-test] . showString " "
1185.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1185.88 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1185.88 s
[opt-env-conf-test] showString "Commands "
1185.88 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.88 s
[opt-env-conf-test] . showString " "
1185.88 s
[opt-env-conf-test] - . showsPrec 11 mDefault
1185.89 s
[opt-env-conf-test] + . showsPrec 0 mDefault
1185.89 s
[opt-env-conf-test] . showString " "
1185.89 s
[opt-env-conf-test] . showListWith
1185.89 s
[opt-env-conf-test] showCommandABit
1185.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1185.89 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1185.89 s
[opt-env-conf-test] showString "Commands "
1185.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.89 s
[opt-env-conf-test] . showString " "
1185.89 s
[opt-env-conf-test] - . showsPrec 11 mDefault
1185.89 s
[opt-env-conf-test] + . showsPrec 1 mDefault
1185.89 s
[opt-env-conf-test] . showString " "
1185.89 s
[opt-env-conf-test] . showListWith
1185.89 s
[opt-env-conf-test] showCommandABit
1185.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1185.89 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1185.89 s
[opt-env-conf-test] showString "Commands "
1185.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.89 s
[opt-env-conf-test] . showString " "
1185.89 s
[opt-env-conf-test] - . showsPrec 11 mDefault
1185.89 s
[opt-env-conf-test] + . showsPrec -11 mDefault
1185.89 s
[opt-env-conf-test] . showString " "
1185.89 s
[opt-env-conf-test] . showListWith
1185.89 s
[opt-env-conf-test] showCommandABit
1185.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1185.89 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1185.89 s
[opt-env-conf-test] showCommandABit
1185.89 s
[opt-env-conf-test] cs
1185.89 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.89 s
[opt-env-conf-test] - showParen (d > 10) $
1185.89 s
[opt-env-conf-test] + showParen (d > 0) $
1185.89 s
[opt-env-conf-test] showString "WithConfig _ "
1185.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.89 s
[opt-env-conf-test] . showString " "
1185.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1185.89 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1185.89 s
[opt-env-conf-test] showCommandABit
1185.89 s
[opt-env-conf-test] cs
1185.89 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.89 s
[opt-env-conf-test] - showParen (d > 10) $
1185.89 s
[opt-env-conf-test] + showParen (d > 1) $
1185.89 s
[opt-env-conf-test] showString "WithConfig _ "
1185.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.90 s
[opt-env-conf-test] . showString " "
1185.90 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1185.90 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1185.90 s
[opt-env-conf-test] showCommandABit
1185.90 s
[opt-env-conf-test] cs
1185.90 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.90 s
[opt-env-conf-test] - showParen (d > 10) $
1185.90 s
[opt-env-conf-test] + showParen (d > -10) $
1185.90 s
[opt-env-conf-test] showString "WithConfig _ "
1185.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.90 s
[opt-env-conf-test] . showString " "
1185.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1185.90 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1185.90 s
[opt-env-conf-test] showCommandABit
1185.90 s
[opt-env-conf-test] cs
1185.90 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.90 s
[opt-env-conf-test] - showParen (d > 10) $
1185.90 s
[opt-env-conf-test] + showParen (True) $
1185.90 s
[opt-env-conf-test] showString "WithConfig _ "
1185.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.90 s
[opt-env-conf-test] . showString " "
1185.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1185.90 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1185.90 s
[opt-env-conf-test] showCommandABit
1185.90 s
[opt-env-conf-test] cs
1185.90 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.90 s
[opt-env-conf-test] - showParen (d > 10) $
1185.90 s
[opt-env-conf-test] + showParen (False) $
1185.90 s
[opt-env-conf-test] showString "WithConfig _ "
1185.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.90 s
[opt-env-conf-test] . showString " "
1185.90 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:20-26
1185.90 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1185.90 s
[opt-env-conf-test] showCommandABit
1185.90 s
[opt-env-conf-test] cs
1185.90 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.90 s
[opt-env-conf-test] - showParen (d > 10) $
1185.90 s
[opt-env-conf-test] + showParen (not d > 10) $
1185.90 s
[opt-env-conf-test] showString "WithConfig _ "
1185.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.90 s
[opt-env-conf-test] . showString " "
1185.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1185.90 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1185.90 s
[opt-env-conf-test] showCommandABit
1185.90 s
[opt-env-conf-test] cs
1185.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.91 s
[opt-env-conf-test] - showParen (d > 10) $
1185.91 s
[opt-env-conf-test] + showParen True $
1185.91 s
[opt-env-conf-test] showString "WithConfig _ "
1185.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.91 s
[opt-env-conf-test] . showString " "
1185.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1185.91 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1185.91 s
[opt-env-conf-test] showCommandABit
1185.91 s
[opt-env-conf-test] cs
1185.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.91 s
[opt-env-conf-test] - showParen (d > 10) $
1185.91 s
[opt-env-conf-test] + showParen False $
1185.91 s
[opt-env-conf-test] showString "WithConfig _ "
1185.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.91 s
[opt-env-conf-test] . showString " "
1185.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:19-27
1185.91 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1185.91 s
[opt-env-conf-test] showCommandABit
1185.91 s
[opt-env-conf-test] cs
1185.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.91 s
[opt-env-conf-test] - showParen (d > 10) $
1185.91 s
[opt-env-conf-test] + showParen not (d > 10) $
1185.91 s
[opt-env-conf-test] showString "WithConfig _ "
1185.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.91 s
[opt-env-conf-test] . showString " "
1185.91 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1185.91 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1185.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.91 s
[opt-env-conf-test] showParen (d > 10) $
1185.91 s
[opt-env-conf-test] showString "WithConfig _ "
1185.91 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1185.91 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1185.91 s
[opt-env-conf-test] . showString " "
1185.91 s
[opt-env-conf-test] . go 11 p1
1185.91 s
[opt-env-conf-test] . showString " "
1185.91 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1185.91 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1185.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.91 s
[opt-env-conf-test] showParen (d > 10) $
1185.91 s
[opt-env-conf-test] showString "WithConfig _ "
1185.91 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1185.91 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1185.92 s
[opt-env-conf-test] . showString " "
1185.92 s
[opt-env-conf-test] . go 11 p1
1185.92 s
[opt-env-conf-test] . showString " "
1185.92 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1185.92 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1185.92 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1185.92 s
[opt-env-conf-test] showParen (d > 10) $
1185.92 s
[opt-env-conf-test] showString "WithConfig _ "
1185.92 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1185.92 s
[opt-env-conf-test] + . showsPrec -11 mLoc
1185.92 s
[opt-env-conf-test] . showString " "
1185.92 s
[opt-env-conf-test] . go 11 p1
1185.92 s
[opt-env-conf-test] . showString " "
1185.92 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1185.92 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1185.92 s
[opt-env-conf-test] showString "WithConfig _ "
1185.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.93 s
[opt-env-conf-test] . showString " "
1185.93 s
[opt-env-conf-test] - . go 11 p1
1185.93 s
[opt-env-conf-test] + . go 0 p1
1185.93 s
[opt-env-conf-test] . showString " "
1185.93 s
[opt-env-conf-test] . go 11 p2
1185.93 s
[opt-env-conf-test] ParserSetting mLoc p ->
1185.93 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1185.93 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1185.93 s
[opt-env-conf-test] showString "WithConfig _ "
1185.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.93 s
[opt-env-conf-test] . showString " "
1185.93 s
[opt-env-conf-test] - . go 11 p1
1185.93 s
[opt-env-conf-test] + . go 1 p1
1185.93 s
[opt-env-conf-test] . showString " "
1185.93 s
[opt-env-conf-test] . go 11 p2
1185.93 s
[opt-env-conf-test] ParserSetting mLoc p ->
1185.93 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1185.93 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1185.93 s
[opt-env-conf-test] showString "WithConfig _ "
1185.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1185.94 s
[opt-env-conf-test] . showString " "
1185.94 s
[opt-env-conf-test] - . go 11 p1
1195.00 s
[opt-env-conf-test] + . go -11 p1
1195.03 s
[opt-env-conf-test] . showString " "
1195.03 s
[opt-env-conf-test] . go 11 p2
1195.03 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.03 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1195.03 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1195.03 s
[opt-env-conf-test] . showString " "
1195.03 s
[opt-env-conf-test] . go 11 p1
1195.03 s
[opt-env-conf-test] . showString " "
1195.03 s
[opt-env-conf-test] - . go 11 p2
1195.03 s
[opt-env-conf-test] + . go 0 p2
1195.03 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.03 s
[opt-env-conf-test] showParen (d > 10) $
1195.03 s
[opt-env-conf-test] showString "Setting "
1195.03 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1195.03 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1195.03 s
[opt-env-conf-test] . showString " "
1195.03 s
[opt-env-conf-test] . go 11 p1
1195.03 s
[opt-env-conf-test] . showString " "
1195.03 s
[opt-env-conf-test] - . go 11 p2
1195.03 s
[opt-env-conf-test] + . go 1 p2
1195.03 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.03 s
[opt-env-conf-test] showParen (d > 10) $
1195.03 s
[opt-env-conf-test] showString "Setting "
1195.03 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1195.03 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1195.03 s
[opt-env-conf-test] . showString " "
1195.03 s
[opt-env-conf-test] . go 11 p1
1195.03 s
[opt-env-conf-test] . showString " "
1195.04 s
[opt-env-conf-test] - . go 11 p2
1195.04 s
[opt-env-conf-test] + . go -11 p2
1195.04 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.04 s
[opt-env-conf-test] showParen (d > 10) $
1195.04 s
[opt-env-conf-test] showString "Setting "
1195.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1195.04 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1195.04 s
[opt-env-conf-test] . showString " "
1195.04 s
[opt-env-conf-test] . go 11 p2
1195.04 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.04 s
[opt-env-conf-test] - showParen (d > 10) $
1195.04 s
[opt-env-conf-test] + showParen (d > 0) $
1195.04 s
[opt-env-conf-test] showString "Setting "
1195.04 s
[opt-env-conf-test] . showsPrec 11 mLoc
1195.04 s
[opt-env-conf-test] . showString " "
1195.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1195.04 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1195.04 s
[opt-env-conf-test] . showString " "
1195.04 s
[opt-env-conf-test] . go 11 p2
1195.04 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.04 s
[opt-env-conf-test] - showParen (d > 10) $
1195.04 s
[opt-env-conf-test] + showParen (d > 1) $
1195.04 s
[opt-env-conf-test] showString "Setting "
1195.04 s
[opt-env-conf-test] . showsPrec 11 mLoc
1195.04 s
[opt-env-conf-test] . showString " "
1195.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1195.04 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1195.04 s
[opt-env-conf-test] . showString " "
1195.04 s
[opt-env-conf-test] . go 11 p2
1195.04 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.04 s
[opt-env-conf-test] - showParen (d > 10) $
1195.04 s
[opt-env-conf-test] + showParen (d > -10) $
1195.04 s
[opt-env-conf-test] showString "Setting "
1195.04 s
[opt-env-conf-test] . showsPrec 11 mLoc
1195.04 s
[opt-env-conf-test] . showString " "
1195.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
1195.04 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1195.04 s
[opt-env-conf-test] . showString " "
1195.04 s
[opt-env-conf-test] . go 11 p2
1195.04 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.04 s
[opt-env-conf-test] - showParen (d > 10) $
1195.04 s
[opt-env-conf-test] + showParen (True) $
1195.04 s
[opt-env-conf-test] showString "Setting "
1195.04 s
[opt-env-conf-test] . showsPrec 11 mLoc
1195.04 s
[opt-env-conf-test] . showString " "
1195.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
1195.04 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1195.04 s
[opt-env-conf-test] . showString " "
1195.04 s
[opt-env-conf-test] . go 11 p2
1195.04 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.04 s
[opt-env-conf-test] - showParen (d > 10) $
1195.04 s
[opt-env-conf-test] + showParen (False) $
1195.05 s
[opt-env-conf-test] showString "Setting "
1195.05 s
[opt-env-conf-test] . showsPrec 11 mLoc
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:20-26
1195.05 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] . go 11 p2
1195.05 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.05 s
[opt-env-conf-test] - showParen (d > 10) $
1195.05 s
[opt-env-conf-test] + showParen (not d > 10) $
1195.05 s
[opt-env-conf-test] showString "Setting "
1195.05 s
[opt-env-conf-test] . showsPrec 11 mLoc
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
1195.05 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] . go 11 p2
1195.05 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.05 s
[opt-env-conf-test] - showParen (d > 10) $
1195.05 s
[opt-env-conf-test] + showParen True $
1195.05 s
[opt-env-conf-test] showString "Setting "
1195.05 s
[opt-env-conf-test] . showsPrec 11 mLoc
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
1195.05 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] . go 11 p2
1195.05 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.05 s
[opt-env-conf-test] - showParen (d > 10) $
1195.05 s
[opt-env-conf-test] + showParen False $
1195.05 s
[opt-env-conf-test] showString "Setting "
1195.05 s
[opt-env-conf-test] . showsPrec 11 mLoc
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:19-27
1195.05 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] . go 11 p2
1195.05 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.05 s
[opt-env-conf-test] - showParen (d > 10) $
1195.05 s
[opt-env-conf-test] + showParen not (d > 10) $
1195.05 s
[opt-env-conf-test] showString "Setting "
1195.05 s
[opt-env-conf-test] . showsPrec 11 mLoc
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1195.05 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1195.05 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.05 s
[opt-env-conf-test] showParen (d > 10) $
1195.05 s
[opt-env-conf-test] showString "Setting "
1195.05 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1195.05 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] . showSettingABit p
1195.05 s
[opt-env-conf-test]
1195.05 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1195.05 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1195.05 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.05 s
[opt-env-conf-test] showParen (d > 10) $
1195.05 s
[opt-env-conf-test] showString "Setting "
1195.05 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1195.05 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] . showSettingABit p
1195.05 s
[opt-env-conf-test]
1195.05 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1195.05 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1195.05 s
[opt-env-conf-test] ParserSetting mLoc p ->
1195.05 s
[opt-env-conf-test] showParen (d > 10) $
1195.05 s
[opt-env-conf-test] showString "Setting "
1195.05 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1195.05 s
[opt-env-conf-test] + . showsPrec -11 mLoc
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] . showSettingABit p
1195.05 s
[opt-env-conf-test]
1195.05 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:19-27
1195.05 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1195.05 s
[opt-env-conf-test] go d = \case
1195.05 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1195.05 s
[opt-env-conf-test] ParserAp pf pa ->
1195.05 s
[opt-env-conf-test] - showParen (d > 10) $
1195.05 s
[opt-env-conf-test] + showParen not (d > 10) $
1195.05 s
[opt-env-conf-test] showString "Ap "
1195.05 s
[opt-env-conf-test] . go 11 pf
1195.05 s
[opt-env-conf-test] . showString " "
1195.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
1195.05 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1195.05 s
[opt-env-conf-test] then pure $ Just []
1195.05 s
[opt-env-conf-test] else do
1195.05 s
[opt-env-conf-test] as <- get
1195.05 s
[opt-env-conf-test] - if settingTryArgument
1195.05 s
[opt-env-conf-test] + if False
1195.05 s
[opt-env-conf-test] then do
1195.05 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1195.05 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1195.06 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1195.06 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1195.06 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1195.06 s
[opt-env-conf-test] showCommandABit Command {..} =
1195.06 s
[opt-env-conf-test] showString "Command "
1195.06 s
[opt-env-conf-test] - . showsPrec 11 commandArg
1195.06 s
[opt-env-conf-test] + . showsPrec 1 commandArg
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1195.06 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1195.06 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1195.06 s
[opt-env-conf-test] showCommandABit Command {..} =
1195.06 s
[opt-env-conf-test] showString "Command "
1195.06 s
[opt-env-conf-test] - . showsPrec 11 commandArg
1195.06 s
[opt-env-conf-test] + . showsPrec -11 commandArg
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1195.06 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1195.06 s
[opt-env-conf-test] showString "Command "
1195.06 s
[opt-env-conf-test] . showsPrec 11 commandArg
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] - . showsPrec 11 commandHelp
1195.06 s
[opt-env-conf-test] + . showsPrec 0 commandHelp
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1195.06 s
[opt-env-conf-test]
1195.06 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1195.06 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1195.06 s
[opt-env-conf-test] showString "Command "
1195.06 s
[opt-env-conf-test] . showsPrec 11 commandArg
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] - . showsPrec 11 commandHelp
1195.06 s
[opt-env-conf-test] + . showsPrec 1 commandHelp
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1195.06 s
[opt-env-conf-test]
1195.06 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1195.06 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1195.06 s
[opt-env-conf-test] showString "Command "
1195.06 s
[opt-env-conf-test] . showsPrec 11 commandArg
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] - . showsPrec 11 commandHelp
1195.06 s
[opt-env-conf-test] + . showsPrec -11 commandHelp
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1195.06 s
[opt-env-conf-test]
1195.06 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1195.06 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] - . showParserPrec 11 commandParser
1195.06 s
[opt-env-conf-test] + . showParserPrec 0 commandParser
1195.06 s
[opt-env-conf-test]
1195.06 s
[opt-env-conf-test] -- | A 'Parser' structure
1195.06 s
[opt-env-conf-test] --
1195.06 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1195.06 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1195.06 s
[opt-env-conf-test] . showString " "
1195.06 s
[opt-env-conf-test] - . showParserPrec 11 commandParser
1195.06 s
[opt-env-conf-test] + . showParserPrec 1 commandParser
1195.06 s
[opt-env-conf-test]
1195.06 s
[opt-env-conf-test] -- | A 'Parser' structure
1195.06 s
[opt-env-conf-test] --
1203.06 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1203.08 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1203.08 s
[opt-env-conf-test] . showString " "
1203.08 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1203.08 s
[opt-env-conf-test] . showString " "
1203.08 s
[opt-env-conf-test] - . showParserPrec 11 commandParser
1203.08 s
[opt-env-conf-test] + . showParserPrec -11 commandParser
1203.08 s
[opt-env-conf-test]
1203.08 s
[opt-env-conf-test] -- | A 'Parser' structure
1203.08 s
[opt-env-conf-test] --
1203.09 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:297:39-40
1203.09 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
1203.09 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1203.09 s
[opt-env-conf-test]
1203.09 s
[opt-env-conf-test] showParserABit :: Parser a -> String
1203.09 s
[opt-env-conf-test] -showParserABit = flip (showParserPrec 0) ""
1203.09 s
[opt-env-conf-test] +showParserABit = flip (showParserPrec 1) ""
1203.09 s
[opt-env-conf-test]
1203.09 s
[opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
1203.09 s
[opt-env-conf-test] showParserPrec = go
1203.09 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:255:27-32
1203.09 s
[opt-env-conf-test] @@ -252,7 +252,7 @@
1203.09 s
[opt-env-conf-test] (<|>) p1 p2 =
1203.09 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1203.09 s
[opt-env-conf-test] isEmpty = \case
1203.09 s
[opt-env-conf-test] - ParserPure _ -> False
1203.09 s
[opt-env-conf-test] + ParserPure _ -> True
1203.09 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.09 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.09 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1203.09 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1203.09 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1203.09 s
[opt-env-conf-test] isEmpty = \case
1203.09 s
[opt-env-conf-test] ParserPure _ -> False
1203.09 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.09 s
[opt-env-conf-test] + ParserAp pf pa -> True && isEmpty pa
1203.09 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.09 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.09 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1203.09 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1203.09 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1203.09 s
[opt-env-conf-test] isEmpty = \case
1203.09 s
[opt-env-conf-test] ParserPure _ -> False
1203.09 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.09 s
[opt-env-conf-test] + ParserAp pf pa -> False && isEmpty pa
1203.09 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.09 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.09 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1203.09 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1203.09 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1203.09 s
[opt-env-conf-test] isEmpty = \case
1203.10 s
[opt-env-conf-test] ParserPure _ -> False
1203.10 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.10 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && True
1203.10 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.10 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.10 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.10 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-39
1203.10 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1203.10 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1203.10 s
[opt-env-conf-test] isEmpty = \case
1203.10 s
[opt-env-conf-test] ParserPure _ -> False
1203.10 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.10 s
[opt-env-conf-test] + ParserAp pf pa -> not isEmpty pf && isEmpty pa
1203.10 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.10 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.10 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1203.10 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1203.10 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1203.10 s
[opt-env-conf-test] isEmpty = \case
1203.10 s
[opt-env-conf-test] ParserPure _ -> False
1203.10 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.10 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && False
1203.10 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.10 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.10 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.10 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:43-53
1203.10 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1203.10 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1203.10 s
[opt-env-conf-test] isEmpty = \case
1203.10 s
[opt-env-conf-test] ParserPure _ -> False
1203.10 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.10 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && not isEmpty pa
1203.10 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.10 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.10 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
1203.10 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1203.10 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1203.10 s
[opt-env-conf-test] isEmpty = \case
1203.10 s
[opt-env-conf-test] ParserPure _ -> False
1203.10 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.10 s
[opt-env-conf-test] + ParserAp pf pa -> True
1203.10 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.10 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.10 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
1203.10 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1203.11 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1203.11 s
[opt-env-conf-test] isEmpty = \case
1203.11 s
[opt-env-conf-test] ParserPure _ -> False
1203.11 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.11 s
[opt-env-conf-test] + ParserAp pf pa -> False
1203.11 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.11 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.11 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.11 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-53
1203.11 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1203.11 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1203.11 s
[opt-env-conf-test] isEmpty = \case
1203.11 s
[opt-env-conf-test] ParserPure _ -> False
1203.11 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.11 s
[opt-env-conf-test] + ParserAp pf pa -> not isEmpty pf && isEmpty pa
1203.11 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.11 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.11 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
1203.11 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1203.11 s
[opt-env-conf-test] isEmpty = \case
1203.11 s
[opt-env-conf-test] ParserPure _ -> False
1203.11 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.11 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.11 s
[opt-env-conf-test] + ParserSelect pe pf -> True && isEmpty pf
1203.11 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.11 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.11 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1203.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
1203.11 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1203.11 s
[opt-env-conf-test] isEmpty = \case
1203.11 s
[opt-env-conf-test] ParserPure _ -> False
1203.11 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.11 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.11 s
[opt-env-conf-test] + ParserSelect pe pf -> False && isEmpty pf
1203.11 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.11 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.11 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1203.11 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-43
1203.11 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1203.11 s
[opt-env-conf-test] isEmpty = \case
1203.11 s
[opt-env-conf-test] ParserPure _ -> False
1203.11 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.11 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.11 s
[opt-env-conf-test] + ParserSelect pe pf -> not isEmpty pe && isEmpty pf
1203.11 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.11 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.11 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1203.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
1203.11 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1203.11 s
[opt-env-conf-test] isEmpty = \case
1203.11 s
[opt-env-conf-test] ParserPure _ -> False
1203.11 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.11 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.11 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && True
1203.11 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.12 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.12 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1203.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
1203.12 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1203.12 s
[opt-env-conf-test] isEmpty = \case
1203.12 s
[opt-env-conf-test] ParserPure _ -> False
1203.12 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.12 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.12 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && False
1203.12 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.12 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.12 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1203.12 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:47-57
1203.12 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1203.12 s
[opt-env-conf-test] isEmpty = \case
1203.12 s
[opt-env-conf-test] ParserPure _ -> False
1203.12 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.12 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.12 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && not isEmpty pf
1203.12 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.12 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.12 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1203.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
1203.12 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1203.12 s
[opt-env-conf-test] isEmpty = \case
1203.12 s
[opt-env-conf-test] ParserPure _ -> False
1203.12 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1203.12 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1203.12 s
[opt-env-conf-test] + ParserSelect pe pf -> True
1203.12 s
[opt-env-conf-test] ParserEmpty _ -> True
1203.12 s
[opt-env-conf-test] ParserAlt _ _ -> False
1203.12 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1203.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
1203.12 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1203.12 s
[opt-env-conf-test] isEmpty = \case
1203.12 s
[opt-env-conf-test] ParserPure _ -> False
1203.12 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1211.56 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1211.59 s
[opt-env-conf-test] + ParserSelect pe pf -> False
1211.59 s
[opt-env-conf-test] ParserEmpty _ -> True
1211.59 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.59 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.59 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-57
1211.59 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1211.59 s
[opt-env-conf-test] isEmpty = \case
1211.59 s
[opt-env-conf-test] ParserPure _ -> False
1211.60 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1211.60 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1211.60 s
[opt-env-conf-test] + ParserSelect pe pf -> not isEmpty pe && isEmpty pf
1211.60 s
[opt-env-conf-test] ParserEmpty _ -> True
1211.60 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.60 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.60 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:258:28-32
1211.60 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1211.60 s
[opt-env-conf-test] ParserPure _ -> False
1211.60 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1211.60 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1211.60 s
[opt-env-conf-test] - ParserEmpty _ -> True
1211.60 s
[opt-env-conf-test] + ParserEmpty _ -> False
1211.60 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.60 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.60 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.60 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:259:28-33
1211.60 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1211.60 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1211.60 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1211.60 s
[opt-env-conf-test] ParserEmpty _ -> True
1211.60 s
[opt-env-conf-test] - ParserAlt _ _ -> False
1211.60 s
[opt-env-conf-test] + ParserAlt _ _ -> True
1211.60 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
1211.61 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1211.61 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1211.61 s
[opt-env-conf-test] ParserEmpty _ -> True
1211.61 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.61 s
[opt-env-conf-test] - ParserMany _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] + ParserMany _ p -> True
1211.61 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
1211.61 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1211.61 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1211.61 s
[opt-env-conf-test] ParserEmpty _ -> True
1211.61 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.61 s
[opt-env-conf-test] - ParserMany _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] + ParserMany _ p -> False
1211.61 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:260:29-38
1211.61 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1211.61 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1211.61 s
[opt-env-conf-test] ParserEmpty _ -> True
1211.61 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.61 s
[opt-env-conf-test] - ParserMany _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] + ParserMany _ p -> not isEmpty p
1211.61 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
1211.61 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1211.61 s
[opt-env-conf-test] ParserEmpty _ -> True
1211.61 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.62 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] - ParserSome _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] + ParserSome _ p -> True
1211.62 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1211.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
1211.62 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1211.62 s
[opt-env-conf-test] ParserEmpty _ -> True
1211.62 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.62 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] - ParserSome _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] + ParserSome _ p -> False
1211.62 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1211.62 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:261:29-38
1211.62 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1211.62 s
[opt-env-conf-test] ParserEmpty _ -> True
1211.62 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.62 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] - ParserSome _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] + ParserSome _ p -> not isEmpty p
1211.62 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1211.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
1211.62 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1211.62 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.62 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> True
1211.62 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1211.62 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1211.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
1211.62 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1211.62 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.62 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.62 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> False
1211.63 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1211.63 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1211.63 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:262:37-46
1211.63 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1211.63 s
[opt-env-conf-test] ParserAlt _ _ -> False
1211.63 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> not isEmpty p
1211.63 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1211.63 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1211.63 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
1211.63 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1211.63 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> True
1211.63 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1211.63 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1211.63 s
[opt-env-conf-test] ParserSetting _ _ -> False
1211.63 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
1211.63 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1211.63 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> False
1211.63 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1211.63 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1211.63 s
[opt-env-conf-test] ParserSetting _ _ -> False
1211.63 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:263:36-45
1211.63 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1211.63 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
1211.63 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> not isEmpty p
1211.64 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1211.64 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1211.64 s
[opt-env-conf-test] ParserSetting _ _ -> False
1211.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
1211.64 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1211.64 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.64 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.64 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.64 s
[opt-env-conf-test] - ParserCommands _ _ cs -> null cs
1211.64 s
[opt-env-conf-test] + ParserCommands _ _ cs -> True
1211.64 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1211.64 s
[opt-env-conf-test] ParserSetting _ _ -> False
1211.64 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1211.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
1211.64 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1211.64 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.64 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.64 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.64 s
[opt-env-conf-test] - ParserCommands _ _ cs -> null cs
1211.64 s
[opt-env-conf-test] + ParserCommands _ _ cs -> False
1211.64 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1211.64 s
[opt-env-conf-test] ParserSetting _ _ -> False
1211.64 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1211.64 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:264:36-43
1211.64 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1211.64 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1211.64 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1211.64 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1211.64 s
[opt-env-conf-test] - ParserCommands _ _ cs -> null cs
1211.64 s
[opt-env-conf-test] + ParserCommands _ _ cs -> not null cs
1213.08 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.08 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.08 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1213.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
1213.09 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1213.09 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1213.09 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1213.09 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.09 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.09 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> True && isEmpty ps
1213.09 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.09 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1213.09 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
1213.09 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1213.09 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1213.09 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1213.09 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.09 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.09 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> False && isEmpty ps
1213.09 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.09 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1213.09 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.09 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-49
1213.09 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1213.09 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1213.09 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1213.09 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.09 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.09 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> not isEmpty pc && isEmpty ps
1213.09 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.09 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1213.09 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
1213.09 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1213.09 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1213.09 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1213.09 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.09 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.10 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && True
1213.10 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.10 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1213.10 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
1213.10 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1213.10 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1213.10 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1213.10 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.10 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.10 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && False
1213.10 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.10 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1213.10 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.10 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:53-63
1213.10 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1213.10 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1213.10 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1213.10 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.10 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.10 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && not isEmpty ps
1213.10 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.10 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1213.10 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
1213.10 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1213.10 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1213.11 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1213.11 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.11 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.11 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> True
1213.11 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.11 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1213.11 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
1213.11 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1213.11 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1213.11 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1213.11 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.11 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.11 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> False
1213.11 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.11 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1213.11 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-63
1213.23 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1213.23 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1213.23 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1213.23 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.23 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.23 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> not isEmpty pc && isEmpty ps
1213.23 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.23 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1213.23 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.23 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:266:32-37
1213.23 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1213.23 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1213.23 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.23 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.23 s
[opt-env-conf-test] - ParserSetting _ _ -> False
1213.23 s
[opt-env-conf-test] + ParserSetting _ _ -> True
1213.23 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1213.23 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.24 s
[opt-env-conf-test] (True, False) -> p2
1213.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
1213.24 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1213.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.24 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.24 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
1213.24 s
[opt-env-conf-test] + in case (True, isEmpty p2) of
1213.24 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.24 s
[opt-env-conf-test] (True, False) -> p2
1213.24 s
[opt-env-conf-test] (False, True) -> p1
1213.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
1213.24 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1213.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.24 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.24 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
1213.24 s
[opt-env-conf-test] + in case (False, isEmpty p2) of
1213.24 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.24 s
[opt-env-conf-test] (True, False) -> p2
1213.24 s
[opt-env-conf-test] (False, True) -> p1
1213.24 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:15-25
1213.24 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1213.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.24 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.24 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
1213.24 s
[opt-env-conf-test] + in case (not isEmpty p1, isEmpty p2) of
1213.24 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.24 s
[opt-env-conf-test] (True, False) -> p2
1213.24 s
[opt-env-conf-test] (False, True) -> p1
1213.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
1213.24 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1213.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.24 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.25 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
1213.25 s
[opt-env-conf-test] + in case (isEmpty p1, True) of
1213.25 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.25 s
[opt-env-conf-test] (True, False) -> p2
1213.25 s
[opt-env-conf-test] (False, True) -> p1
1213.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
1213.25 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1213.25 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.25 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.25 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.25 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
1213.25 s
[opt-env-conf-test] + in case (isEmpty p1, False) of
1213.25 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.25 s
[opt-env-conf-test] (True, False) -> p2
1213.25 s
[opt-env-conf-test] (False, True) -> p1
1213.25 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:27-37
1213.25 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1213.25 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1213.25 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1213.25 s
[opt-env-conf-test] ParserSetting _ _ -> False
1213.25 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
1213.25 s
[opt-env-conf-test] + in case (isEmpty p1, not isEmpty p2) of
1213.25 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1213.25 s
[opt-env-conf-test] (True, False) -> p2
1213.25 s
[opt-env-conf-test] (False, True) -> p1
1213.25 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1213.25 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1213.25 s
[opt-env-conf-test] (True, False) -> p2
1213.25 s
[opt-env-conf-test] (False, True) -> p1
1213.25 s
[opt-env-conf-test] (False, False) ->
1213.25 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1213.25 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1213.25 s
[opt-env-conf-test] -- alts to always be right-leaning
1213.25 s
[opt-env-conf-test] --
1216.32 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1216.33 s
[opt-env-conf-test] -- p
1216.33 s
[opt-env-conf-test] -- / \
1216.33 s
[opt-env-conf-test] -- p1 p2
1216.33 s
[opt-env-conf-test] -- / \
1216.33 s
[opt-env-conf-test] -- p3 p4
1216.33 s
[opt-env-conf-test] --
1216.33 s
[opt-env-conf-test] -- We need to rearrange it to
1216.33 s
[opt-env-conf-test] -- p
1216.33 s
[opt-env-conf-test] -- / \
1216.33 s
[opt-env-conf-test] -- p1 ++ p3 p4
1216.33 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
1216.33 s
[opt-env-conf-test] - go (go p1' p3') p4'
1216.33 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1216.33 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1216.33 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1216.33 s
[opt-env-conf-test] in go p1 p2
1216.33 s
[opt-env-conf-test] many = ParserMany Nothing
1216.33 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1216.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1216.33 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1216.33 s
[opt-env-conf-test] (True, False) -> p2
1216.33 s
[opt-env-conf-test] (False, True) -> p1
1216.33 s
[opt-env-conf-test] (False, False) ->
1216.34 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1216.34 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1216.34 s
[opt-env-conf-test] -- alts to always be right-leaning
1216.34 s
[opt-env-conf-test] --
1216.34 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1216.34 s
[opt-env-conf-test] -- p
1216.34 s
[opt-env-conf-test] -- / \
1216.34 s
[opt-env-conf-test] -- p1 p2
1216.34 s
[opt-env-conf-test] -- / \
1216.34 s
[opt-env-conf-test] -- p3 p4
1216.34 s
[opt-env-conf-test] --
1216.34 s
[opt-env-conf-test] -- We need to rearrange it to
1216.34 s
[opt-env-conf-test] -- p
1216.34 s
[opt-env-conf-test] -- / \
1216.34 s
[opt-env-conf-test] -- p1 ++ p3 p4
1216.34 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1216.34 s
[opt-env-conf-test] go (go p1' p3') p4'
1216.34 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1216.34 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1216.34 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1216.34 s
[opt-env-conf-test] in go p1 p2
1216.34 s
[opt-env-conf-test] many = ParserMany Nothing
1216.34 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1216.34 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1216.34 s
[opt-env-conf-test] @@ -269,26 +269,25 @@
1216.34 s
[opt-env-conf-test] (True, False) -> p2
1216.34 s
[opt-env-conf-test] (False, True) -> p1
1216.34 s
[opt-env-conf-test] (False, False) ->
1216.34 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1216.34 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1216.35 s
[opt-env-conf-test] -- alts to always be right-leaning
1216.35 s
[opt-env-conf-test] --
1216.35 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1216.35 s
[opt-env-conf-test] -- p
1216.35 s
[opt-env-conf-test] -- / \
1216.35 s
[opt-env-conf-test] -- p1 p2
1216.35 s
[opt-env-conf-test] -- / \
1216.35 s
[opt-env-conf-test] -- p3 p4
1216.35 s
[opt-env-conf-test] --
1216.35 s
[opt-env-conf-test] -- We need to rearrange it to
1216.35 s
[opt-env-conf-test] -- p
1216.35 s
[opt-env-conf-test] -- / \
1216.35 s
[opt-env-conf-test] -- p1 ++ p3 p4
1216.35 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1216.35 s
[opt-env-conf-test] go (go p1' p3') p4'
1216.35 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1216.35 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1216.35 s
[opt-env-conf-test] - _ -> ParserAlt p1' p2'
1216.35 s
[opt-env-conf-test] in go p1 p2
1216.35 s
[opt-env-conf-test] many = ParserMany Nothing
1216.35 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1216.35 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1216.35 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1216.35 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1216.35 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1216.35 s
[opt-env-conf-test] ParserSetting _ _ -> False
1216.35 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1216.35 s
[opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
1216.35 s
[opt-env-conf-test] (True, False) -> p2
1216.35 s
[opt-env-conf-test] (False, True) -> p1
1216.35 s
[opt-env-conf-test] (False, False) ->
1216.35 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1216.35 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1216.35 s
[opt-env-conf-test] -- alts to always be right-leaning
1216.35 s
[opt-env-conf-test] --
1216.35 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1216.35 s
[opt-env-conf-test] -- p
1216.36 s
[opt-env-conf-test] -- / \
1216.36 s
[opt-env-conf-test] -- p1 p2
1216.36 s
[opt-env-conf-test] -- / \
1216.36 s
[opt-env-conf-test] -- p3 p4
1216.36 s
[opt-env-conf-test] --
1216.36 s
[opt-env-conf-test] -- We need to rearrange it to
1216.36 s
[opt-env-conf-test] -- p
1216.36 s
[opt-env-conf-test] -- / \
1216.36 s
[opt-env-conf-test] -- p1 ++ p3 p4
1216.36 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1216.36 s
[opt-env-conf-test] go (go p1' p3') p4'
1216.36 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1216.36 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1216.36 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1216.36 s
[opt-env-conf-test] in go p1 p2
1216.36 s
[opt-env-conf-test] many = ParserMany Nothing
1216.36 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1216.36 s
[opt-env-conf-test]
1216.36 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1216.36 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1216.36 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1216.36 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1216.36 s
[opt-env-conf-test] ParserSetting _ _ -> False
1216.36 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1216.36 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1216.36 s
[opt-env-conf-test] - (True, False) -> p2
1216.36 s
[opt-env-conf-test] (False, True) -> p1
1216.36 s
[opt-env-conf-test] (False, False) ->
1216.36 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1216.36 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1216.36 s
[opt-env-conf-test] -- alts to always be right-leaning
1216.36 s
[opt-env-conf-test] --
1216.36 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1216.36 s
[opt-env-conf-test] -- p
1216.36 s
[opt-env-conf-test] -- / \
1216.36 s
[opt-env-conf-test] -- p1 p2
1216.36 s
[opt-env-conf-test] -- / \
1216.36 s
[opt-env-conf-test] -- p3 p4
1216.36 s
[opt-env-conf-test] --
1216.36 s
[opt-env-conf-test] -- We need to rearrange it to
1216.36 s
[opt-env-conf-test] -- p
1216.36 s
[opt-env-conf-test] -- / \
1216.37 s
[opt-env-conf-test] -- p1 ++ p3 p4
1216.37 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1216.37 s
[opt-env-conf-test] go (go p1' p3') p4'
1216.37 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1216.37 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1216.37 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1216.37 s
[opt-env-conf-test] in go p1 p2
1216.37 s
[opt-env-conf-test] many = ParserMany Nothing
1216.37 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1216.37 s
[opt-env-conf-test]
1216.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1216.37 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1216.37 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1216.37 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1216.37 s
[opt-env-conf-test] ParserSetting _ _ -> False
1216.37 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1216.37 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1216.37 s
[opt-env-conf-test] (True, False) -> p2
1216.37 s
[opt-env-conf-test] - (False, True) -> p1
1216.37 s
[opt-env-conf-test] (False, False) ->
1216.37 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1216.37 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1216.37 s
[opt-env-conf-test] -- alts to always be right-leaning
1216.37 s
[opt-env-conf-test] --
1216.37 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1216.37 s
[opt-env-conf-test] -- p
1216.37 s
[opt-env-conf-test] -- / \
1216.37 s
[opt-env-conf-test] -- p1 p2
1216.37 s
[opt-env-conf-test] -- / \
1216.37 s
[opt-env-conf-test] -- p3 p4
1216.37 s
[opt-env-conf-test] --
1216.37 s
[opt-env-conf-test] -- We need to rearrange it to
1216.37 s
[opt-env-conf-test] -- p
1216.37 s
[opt-env-conf-test] -- / \
1216.37 s
[opt-env-conf-test] -- p1 ++ p3 p4
1216.37 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1216.37 s
[opt-env-conf-test] go (go p1' p3') p4'
1216.37 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1216.37 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1216.37 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1216.37 s
[opt-env-conf-test] in go p1 p2
1216.37 s
[opt-env-conf-test] many = ParserMany Nothing
1216.37 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1216.37 s
[opt-env-conf-test]
1216.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1216.37 s
[opt-env-conf-test] @@ -264,32 +264,10 @@
1216.37 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1216.37 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1216.37 s
[opt-env-conf-test] ParserSetting _ _ -> False
1216.37 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1216.37 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1216.37 s
[opt-env-conf-test] (True, False) -> p2
1226.91 s
[opt-env-conf-test] (False, True) -> p1
1226.91 s
[opt-env-conf-test] - (False, False) ->
1226.93 s
[opt-env-conf-test] - let go p1' p2' = case (p1', p2') of
1226.93 s
[opt-env-conf-test] - -- <|> needs to be associative, so we need to reorder the
1226.93 s
[opt-env-conf-test] - -- alts to always be right-leaning
1226.93 s
[opt-env-conf-test] - --
1226.94 s
[opt-env-conf-test] - -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1226.94 s
[opt-env-conf-test] - -- p
1226.94 s
[opt-env-conf-test] - -- / \
1226.94 s
[opt-env-conf-test] - -- p1 p2
1226.94 s
[opt-env-conf-test] - -- / \
1226.94 s
[opt-env-conf-test] - -- p3 p4
1226.94 s
[opt-env-conf-test] - --
1226.94 s
[opt-env-conf-test] - -- We need to rearrange it to
1226.94 s
[opt-env-conf-test] - -- p
1226.94 s
[opt-env-conf-test] - -- / \
1226.94 s
[opt-env-conf-test] - -- p1 ++ p3 p4
1226.94 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
1226.94 s
[opt-env-conf-test] - go (go p1' p3') p4'
1226.94 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1226.94 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1226.94 s
[opt-env-conf-test] - _ -> ParserAlt p1' p2'
1226.94 s
[opt-env-conf-test] - in go p1 p2
1226.94 s
[opt-env-conf-test] many = ParserMany Nothing
1226.94 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1226.94 s
[opt-env-conf-test]
1226.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
1226.94 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
1226.94 s
[opt-env-conf-test]
1226.94 s
[opt-env-conf-test] instance Applicative Parser where
1226.94 s
[opt-env-conf-test] pure = ParserPure
1226.94 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
1226.94 s
[opt-env-conf-test] -- Homomorphism law for applicative
1226.94 s
[opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
1226.94 s
[opt-env-conf-test] _ -> ParserAp p1 p2
1226.94 s
[opt-env-conf-test]
1226.94 s
[opt-env-conf-test] instance Selective Parser where
1226.94 s
[opt-env-conf-test] select = ParserSelect
1226.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
1226.94 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
1226.94 s
[opt-env-conf-test]
1226.94 s
[opt-env-conf-test] instance Applicative Parser where
1226.94 s
[opt-env-conf-test] pure = ParserPure
1226.94 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
1226.94 s
[opt-env-conf-test] -- Homomorphism law for applicative
1226.94 s
[opt-env-conf-test] (ParserPure f, ParserPure a) -> ParserPure (f a)
1226.94 s
[opt-env-conf-test] - _ -> ParserAp p1 p2
1226.94 s
[opt-env-conf-test]
1226.95 s
[opt-env-conf-test] instance Selective Parser where
1226.95 s
[opt-env-conf-test] select = ParserSelect
1226.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
1226.95 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1226.95 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1226.95 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1226.95 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1226.95 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
1226.95 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc True caps (fmap (fmap f) . g) p
1226.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1226.95 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1226.95 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1226.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
1226.95 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1226.95 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1226.95 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1226.95 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1226.95 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
1226.95 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc False caps (fmap (fmap f) . g) p
1226.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1226.95 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1226.95 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1226.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:234:62-72
1226.95 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1226.95 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1226.95 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1226.95 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1226.95 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
1226.95 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc not forgivable caps (fmap (fmap f) . g) p
1226.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1226.95 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1226.95 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1226.95 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:238:30-34
1226.95 s
[opt-env-conf-test] @@ -235,7 +235,7 @@
1226.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1226.95 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1226.95 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1226.96 s
[opt-env-conf-test] - p -> ParserCheck Nothing True Set.empty (pure . Right . f) p
1226.96 s
[opt-env-conf-test] + p -> ParserCheck Nothing False Set.empty (pure . Right . f) p
1226.96 s
[opt-env-conf-test]
1226.96 s
[opt-env-conf-test] instance Applicative Parser where
1226.96 s
[opt-env-conf-test] pure = ParserPure
1226.96 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:238:20-25
1226.96 s
[opt-env-conf-test] @@ -235,7 +235,7 @@
1226.96 s
[opt-env-conf-test] lintParser =
1226.96 s
[opt-env-conf-test] either Just (const Nothing)
1226.96 s
[opt-env-conf-test] . validationToEither
1226.96 s
[opt-env-conf-test] - . (`runReader` False) -- Set to true for parsers that have a way to load conf
1226.96 s
[opt-env-conf-test] + . (`runReader` True) -- Set to true for parsers that have a way to load conf
1226.96 s
[opt-env-conf-test] . runValidationT
1226.96 s
[opt-env-conf-test] . go
1226.96 s
[opt-env-conf-test] where
1226.96 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:246:28-33
1226.96 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1226.96 s
[opt-env-conf-test] -- 'many' is allowed only when every parse below consumes something.
1226.96 s
[opt-env-conf-test] go :: Parser a -> ValidationT LintError (Reader Bool) Bool
1226.96 s
[opt-env-conf-test] go = \case
1226.96 s
[opt-env-conf-test] - ParserPure _ -> pure False
1226.96 s
[opt-env-conf-test] + ParserPure _ -> pure True
1226.96 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1226.96 s
[opt-env-conf-test] c1 <- go p1
1226.96 s
[opt-env-conf-test] c2 <- go p2
1226.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1226.96 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1226.96 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1226.96 s
[opt-env-conf-test] c1 <- go p1
1226.96 s
[opt-env-conf-test] c2 <- go p2
1226.96 s
[opt-env-conf-test] - pure (c1 || c2)
1226.96 s
[opt-env-conf-test] + pure (True || c2)
1226.96 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1226.97 s
[opt-env-conf-test] c1 <- go p1
1226.97 s
[opt-env-conf-test] c2 <- go p2
1226.97 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1226.97 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1226.97 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1226.97 s
[opt-env-conf-test] c1 <- go p1
1226.97 s
[opt-env-conf-test] c2 <- go p2
1226.97 s
[opt-env-conf-test] - pure (c1 || c2)
1226.97 s
[opt-env-conf-test] + pure (False || c2)
1226.97 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1226.97 s
[opt-env-conf-test] c1 <- go p1
1226.97 s
[opt-env-conf-test] c2 <- go p2
1226.97 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-17
1226.97 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1226.97 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1226.97 s
[opt-env-conf-test] c1 <- go p1
1226.97 s
[opt-env-conf-test] c2 <- go p2
1226.97 s
[opt-env-conf-test] - pure (c1 || c2)
1226.97 s
[opt-env-conf-test] + pure (not c1 || c2)
1226.97 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1226.97 s
[opt-env-conf-test] c1 <- go p1
1226.97 s
[opt-env-conf-test] c2 <- go p2
1226.97 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1226.97 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1226.97 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1226.97 s
[opt-env-conf-test] c1 <- go p1
1226.97 s
[opt-env-conf-test] c2 <- go p2
1226.98 s
[opt-env-conf-test] - pure (c1 || c2)
1226.98 s
[opt-env-conf-test] + pure (c1 || True)
1226.98 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1226.98 s
[opt-env-conf-test] c1 <- go p1
1226.98 s
[opt-env-conf-test] c2 <- go p2
1226.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1226.98 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1226.98 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1226.98 s
[opt-env-conf-test] c1 <- go p1
1226.98 s
[opt-env-conf-test] c2 <- go p2
1226.98 s
[opt-env-conf-test] - pure (c1 || c2)
1226.98 s
[opt-env-conf-test] + pure (c1 || False)
1226.98 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1226.98 s
[opt-env-conf-test] c1 <- go p1
1226.98 s
[opt-env-conf-test] c2 <- go p2
1226.98 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:21-23
1226.98 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1226.98 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1226.98 s
[opt-env-conf-test] c1 <- go p1
1226.98 s
[opt-env-conf-test] c2 <- go p2
1226.98 s
[opt-env-conf-test] - pure (c1 || c2)
1226.98 s
[opt-env-conf-test] + pure (c1 || not c2)
1226.98 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1226.98 s
[opt-env-conf-test] c1 <- go p1
1226.98 s
[opt-env-conf-test] c2 <- go p2
1226.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1226.98 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1226.98 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1226.98 s
[opt-env-conf-test] c1 <- go p1
1226.98 s
[opt-env-conf-test] c2 <- go p2
1226.98 s
[opt-env-conf-test] - pure (c1 || c2)
1226.98 s
[opt-env-conf-test] + pure (True)
1226.98 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1226.99 s
[opt-env-conf-test] c1 <- go p1
1226.99 s
[opt-env-conf-test] c2 <- go p2
1226.99 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1226.99 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1226.99 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1226.99 s
[opt-env-conf-test] c1 <- go p1
1226.99 s
[opt-env-conf-test] c2 <- go p2
1226.99 s
[opt-env-conf-test] - pure (c1 || c2)
1226.99 s
[opt-env-conf-test] + pure (False)
1226.99 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1226.99 s
[opt-env-conf-test] c1 <- go p1
1226.99 s
[opt-env-conf-test] c2 <- go p2
1226.99 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-23
1226.99 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1226.99 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1226.99 s
[opt-env-conf-test] c1 <- go p1
1226.99 s
[opt-env-conf-test] c2 <- go p2
1226.99 s
[opt-env-conf-test] - pure (c1 || c2)
1226.99 s
[opt-env-conf-test] + pure (not c1 || c2)
1226.99 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.04 s
[opt-env-conf-test] c1 <- go p1
1231.04 s
[opt-env-conf-test] c2 <- go p2
1231.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1231.04 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1231.04 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1231.04 s
[opt-env-conf-test] c1 <- go p1
1231.04 s
[opt-env-conf-test] c2 <- go p2
1231.04 s
[opt-env-conf-test] - pure (c1 || c2)
1231.04 s
[opt-env-conf-test] + pure False
1231.04 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.04 s
[opt-env-conf-test] c1 <- go p1
1231.04 s
[opt-env-conf-test] c2 <- go p2
1231.04 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:14-24
1231.04 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1231.04 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1231.04 s
[opt-env-conf-test] c1 <- go p1
1231.04 s
[opt-env-conf-test] c2 <- go p2
1231.04 s
[opt-env-conf-test] - pure (c1 || c2)
1231.04 s
[opt-env-conf-test] + pure not (c1 || c2)
1231.04 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.04 s
[opt-env-conf-test] c1 <- go p1
1231.04 s
[opt-env-conf-test] c2 <- go p2
1231.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
1231.04 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.04 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.04 s
[opt-env-conf-test] c1 <- go p1
1231.04 s
[opt-env-conf-test] c2 <- go p2
1231.04 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.04 s
[opt-env-conf-test] + pure (True || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.05 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
1231.05 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.05 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] c2 <- go p2
1231.05 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] + pure (False || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.05 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-17
1231.05 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.05 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] c2 <- go p2
1231.05 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] + pure (not c1 || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.05 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
1231.05 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.05 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] c2 <- go p2
1231.05 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] + pure (c1 || True) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.05 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
1231.05 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.05 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] c2 <- go p2
1231.05 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] + pure (c1 || False) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.05 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:21-23
1231.05 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.05 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] c2 <- go p2
1231.05 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] + pure (c1 || not c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.05 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
1231.05 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.05 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] c2 <- go p2
1231.05 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] + pure (True) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.05 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
1231.05 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.05 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] c2 <- go p2
1231.05 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] + pure (False) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.05 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-23
1231.05 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.05 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.05 s
[opt-env-conf-test] c1 <- go p1
1231.05 s
[opt-env-conf-test] c2 <- go p2
1231.05 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] + pure (not c1 || c2) -- TODO: is this right?
1231.05 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.05 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
1231.06 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.06 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] + pure True -- TODO: is this right?
1231.06 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
1231.06 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.06 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] + pure False -- TODO: is this right?
1231.06 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:14-24
1231.06 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1231.06 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] + pure not (c1 || c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1231.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:255:29-33
1231.06 s
[opt-env-conf-test] @@ -252,7 +252,7 @@
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] pure (c1 || c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] - ParserEmpty _ -> pure True
1231.06 s
[opt-env-conf-test] + ParserEmpty _ -> pure False
1231.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1231.06 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1231.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] + pure (True && c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1231.06 s
[opt-env-conf-test] ParserMany mLoc p -> do
1231.06 s
[opt-env-conf-test] c <- go p
1231.06 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1231.06 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1231.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] + pure (False && c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1231.06 s
[opt-env-conf-test] ParserMany mLoc p -> do
1231.06 s
[opt-env-conf-test] c <- go p
1231.06 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-17
1231.06 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1231.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] + pure (not c1 && c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1231.06 s
[opt-env-conf-test] ParserMany mLoc p -> do
1231.06 s
[opt-env-conf-test] c <- go p
1231.06 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1231.06 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1231.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] + pure (c1 && True) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1231.06 s
[opt-env-conf-test] ParserMany mLoc p -> do
1231.06 s
[opt-env-conf-test] c <- go p
1231.06 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1231.06 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1231.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] + pure (c1 && False) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1231.06 s
[opt-env-conf-test] ParserMany mLoc p -> do
1231.06 s
[opt-env-conf-test] c <- go p
1231.06 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:21-23
1231.06 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1231.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] + pure (c1 && not c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1231.06 s
[opt-env-conf-test] ParserMany mLoc p -> do
1231.06 s
[opt-env-conf-test] c <- go p
1231.06 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1231.06 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1231.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1231.06 s
[opt-env-conf-test] c1 <- go p1
1231.06 s
[opt-env-conf-test] c2 <- go p2
1231.06 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] + pure (True) -- TODO: is this right?
1231.06 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1231.06 s
[opt-env-conf-test] ParserMany mLoc p -> do
1231.06 s
[opt-env-conf-test] c <- go p
1240.84 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1240.84 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1240.86 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1240.86 s
[opt-env-conf-test] c1 <- go p1
1240.86 s
[opt-env-conf-test] c2 <- go p2
1240.86 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1240.87 s
[opt-env-conf-test] + pure (False) -- TODO: is this right?
1240.87 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1240.87 s
[opt-env-conf-test] ParserMany mLoc p -> do
1240.87 s
[opt-env-conf-test] c <- go p
1240.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
1240.87 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1240.87 s
[opt-env-conf-test] Nothing -> pure Nothing
1240.87 s
[opt-env-conf-test] Just os -> do
1240.87 s
[opt-env-conf-test] after <- get
1240.87 s
[opt-env-conf-test] - if after == before
1240.87 s
[opt-env-conf-test] + if True
1240.87 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1240.87 s
[opt-env-conf-test] pure $ Just os
1240.87 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1240.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1240.87 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1240.87 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1240.87 s
[opt-env-conf-test] c1 <- go p1
1240.87 s
[opt-env-conf-test] c2 <- go p2
1240.87 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1240.87 s
[opt-env-conf-test] + pure True -- TODO: is this right?
1240.87 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1240.87 s
[opt-env-conf-test] ParserMany mLoc p -> do
1240.87 s
[opt-env-conf-test] c <- go p
1240.87 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-23
1240.87 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1240.87 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1240.87 s
[opt-env-conf-test] c1 <- go p1
1240.87 s
[opt-env-conf-test] c2 <- go p2
1240.87 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1240.87 s
[opt-env-conf-test] + pure (not c1 && c2) -- TODO: is this right?
1240.87 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1240.87 s
[opt-env-conf-test] ParserMany mLoc p -> do
1240.87 s
[opt-env-conf-test] c <- go p
1240.87 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:14-24
1240.87 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1240.87 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1240.87 s
[opt-env-conf-test] c1 <- go p1
1240.87 s
[opt-env-conf-test] c2 <- go p2
1240.87 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1240.87 s
[opt-env-conf-test] + pure not (c1 && c2) -- TODO: is this right?
1240.87 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1240.87 s
[opt-env-conf-test] ParserMany mLoc p -> do
1240.87 s
[opt-env-conf-test] c <- go p
1240.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
1240.87 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1240.87 s
[opt-env-conf-test] when (not c) $
1240.87 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1240.87 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1240.87 s
[opt-env-conf-test] - pure c
1240.87 s
[opt-env-conf-test] + pure True
1240.87 s
[opt-env-conf-test] ParserSome mLoc p -> do
1240.87 s
[opt-env-conf-test] c <- go p
1240.87 s
[opt-env-conf-test] when (not c) $
1240.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
1240.87 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1240.87 s
[opt-env-conf-test] when (not c) $
1240.87 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1240.87 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1240.87 s
[opt-env-conf-test] - pure c
1240.87 s
[opt-env-conf-test] + pure False
1240.87 s
[opt-env-conf-test] ParserSome mLoc p -> do
1240.87 s
[opt-env-conf-test] c <- go p
1240.88 s
[opt-env-conf-test] when (not c) $
1240.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:266:14-15
1240.88 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1240.88 s
[opt-env-conf-test] when (not c) $
1240.88 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1240.88 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1240.88 s
[opt-env-conf-test] - pure c
1240.88 s
[opt-env-conf-test] + pure not c
1240.88 s
[opt-env-conf-test] ParserSome mLoc p -> do
1240.88 s
[opt-env-conf-test] c <- go p
1240.88 s
[opt-env-conf-test] when (not c) $
1240.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
1240.88 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1240.88 s
[opt-env-conf-test] when (not c) $
1240.88 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1240.88 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1240.88 s
[opt-env-conf-test] - pure c
1240.88 s
[opt-env-conf-test] + pure True
1240.88 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1240.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
1240.88 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1240.88 s
[opt-env-conf-test] when (not c) $
1240.88 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1240.88 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1240.88 s
[opt-env-conf-test] - pure c
1240.88 s
[opt-env-conf-test] + pure False
1240.88 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1240.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:272:14-15
1240.88 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1240.88 s
[opt-env-conf-test] when (not c) $
1240.88 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1240.88 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1240.88 s
[opt-env-conf-test] - pure c
1240.88 s
[opt-env-conf-test] + pure not c
1240.88 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1240.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
1240.88 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1240.88 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1240.88 s
[opt-env-conf-test] - if null cs
1240.88 s
[opt-env-conf-test] + if True
1240.88 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1240.88 s
[opt-env-conf-test] else do
1240.88 s
[opt-env-conf-test] for_ mDefault $ \d ->
1240.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
1240.88 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1240.88 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1240.88 s
[opt-env-conf-test] - if null cs
1240.88 s
[opt-env-conf-test] + if False
1240.88 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1240.88 s
[opt-env-conf-test] else do
1240.88 s
[opt-env-conf-test] for_ mDefault $ \d ->
1240.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:276:12-19
1240.88 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1240.88 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1240.88 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1240.88 s
[opt-env-conf-test] - if null cs
1240.88 s
[opt-env-conf-test] + if not null cs
1240.88 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1240.88 s
[opt-env-conf-test] else do
1240.88 s
[opt-env-conf-test] for_ mDefault $ \d ->
1240.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:21-62
1240.88 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1240.88 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1240.88 s
[opt-env-conf-test] else do
1240.88 s
[opt-env-conf-test] for_ mDefault $ \d ->
1240.88 s
[opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
1240.88 s
[opt-env-conf-test] + when (True) $
1240.88 s
[opt-env-conf-test] validationTFailure $
1240.88 s
[opt-env-conf-test] LintError mLoc $
1240.88 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1240.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:21-62
1240.88 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1240.88 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1240.88 s
[opt-env-conf-test] else do
1240.88 s
[opt-env-conf-test] for_ mDefault $ \d ->
1240.88 s
[opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
1240.88 s
[opt-env-conf-test] + when (not isNothing (find ((== d) . commandArg) cs)) $
1240.88 s
[opt-env-conf-test] validationTFailure $
1240.88 s
[opt-env-conf-test] LintError mLoc $
1240.88 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1240.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:20-63
1240.88 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1240.88 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1240.89 s
[opt-env-conf-test] else do
1240.89 s
[opt-env-conf-test] for_ mDefault $ \d ->
1240.89 s
[opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
1240.89 s
[opt-env-conf-test] + when True $
1240.89 s
[opt-env-conf-test] validationTFailure $
1240.89 s
[opt-env-conf-test] LintError mLoc $
1240.89 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1240.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:20-63
1240.89 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1240.89 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1240.89 s
[opt-env-conf-test] else do
1240.89 s
[opt-env-conf-test] for_ mDefault $ \d ->
1240.89 s
[opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
1240.89 s
[opt-env-conf-test] + when not (isNothing (find ((== d) . commandArg) cs)) $
1240.89 s
[opt-env-conf-test] validationTFailure $
1240.89 s
[opt-env-conf-test] LintError mLoc $
1240.89 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1240.89 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Lint.hs:278:16-53
1240.89 s
[opt-env-conf-test] @@ -275,13 +275,8 @@
1240.89 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1240.89 s
[opt-env-conf-test] if null cs
1240.89 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1240.89 s
[opt-env-conf-test] else do
1240.89 s
[opt-env-conf-test] - for_ mDefault $ \d ->
1240.89 s
[opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
1240.89 s
[opt-env-conf-test] - validationTFailure $
1240.89 s
[opt-env-conf-test] - LintError mLoc $
1240.89 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand d
1240.89 s
[opt-env-conf-test] and <$> traverse (go . commandParser) cs -- TODO is this right?
1240.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1240.89 s
[opt-env-conf-test] c1 <- go p1
1240.89 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1240.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
1240.89 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1240.89 s
[opt-env-conf-test] . showString " _ "
1240.89 s
[opt-env-conf-test] . go 11 p
1240.89 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1240.89 s
[opt-env-conf-test] - showParen (d > 10) $
1247.81 s
[opt-env-conf-test] + showParen True $
1247.84 s
[opt-env-conf-test] showString "Commands "
1247.84 s
[opt-env-conf-test] . showsPrec 11 mLoc
1247.84 s
[opt-env-conf-test] . showString " "
1247.84 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1247.84 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1247.84 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1247.84 s
[opt-env-conf-test] c1 <- go p1
1247.84 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1247.84 s
[opt-env-conf-test] - pure $ c1 || c2
1247.84 s
[opt-env-conf-test] + pure $ True || c2
1247.84 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1247.84 s
[opt-env-conf-test] case settingHelp of
1247.84 s
[opt-env-conf-test] Nothing ->
1247.84 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1247.84 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1247.84 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1247.84 s
[opt-env-conf-test] c1 <- go p1
1247.84 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1247.84 s
[opt-env-conf-test] - pure $ c1 || c2
1247.84 s
[opt-env-conf-test] + pure $ False || c2
1247.84 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1247.84 s
[opt-env-conf-test] case settingHelp of
1247.84 s
[opt-env-conf-test] Nothing ->
1247.84 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
1247.84 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1247.85 s
[opt-env-conf-test] . showString " _ "
1247.85 s
[opt-env-conf-test] . go 11 p
1247.85 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1247.85 s
[opt-env-conf-test] - showParen (d > 10) $
1247.85 s
[opt-env-conf-test] + showParen (False) $
1247.85 s
[opt-env-conf-test] showString "Commands "
1247.85 s
[opt-env-conf-test] . showsPrec 11 mLoc
1247.85 s
[opt-env-conf-test] . showString " "
1247.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1247.85 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1247.85 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1247.85 s
[opt-env-conf-test] c1 <- go p1
1247.85 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1247.85 s
[opt-env-conf-test] - pure $ c1 || c2
1247.85 s
[opt-env-conf-test] + pure $ c1 || True
1247.85 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1247.85 s
[opt-env-conf-test] case settingHelp of
1247.85 s
[opt-env-conf-test] Nothing ->
1247.85 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-18
1247.85 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1247.85 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1247.85 s
[opt-env-conf-test] c1 <- go p1
1247.85 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1247.85 s
[opt-env-conf-test] - pure $ c1 || c2
1247.85 s
[opt-env-conf-test] + pure $ not c1 || c2
1247.85 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1247.85 s
[opt-env-conf-test] case settingHelp of
1247.85 s
[opt-env-conf-test] Nothing ->
1247.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1247.85 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1247.85 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1247.85 s
[opt-env-conf-test] c1 <- go p1
1247.85 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1247.85 s
[opt-env-conf-test] - pure $ c1 || c2
1247.85 s
[opt-env-conf-test] + pure $ c1 || False
1247.85 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1247.85 s
[opt-env-conf-test] case settingHelp of
1247.85 s
[opt-env-conf-test] Nothing ->
1247.85 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:20-26
1247.85 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1247.85 s
[opt-env-conf-test] . showString " _ "
1247.86 s
[opt-env-conf-test] . go 11 p
1247.86 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1247.86 s
[opt-env-conf-test] - showParen (d > 10) $
1247.86 s
[opt-env-conf-test] + showParen (not d > 10) $
1247.86 s
[opt-env-conf-test] showString "Commands "
1247.86 s
[opt-env-conf-test] . showsPrec 11 mLoc
1247.86 s
[opt-env-conf-test] . showString " "
1247.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1247.86 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1247.86 s
[opt-env-conf-test] . showString " "
1247.86 s
[opt-env-conf-test] . showsPrec 11 caps
1247.86 s
[opt-env-conf-test] . showString " _ "
1247.86 s
[opt-env-conf-test] - . go 11 p
1247.86 s
[opt-env-conf-test] + . go -11 p
1247.86 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1247.86 s
[opt-env-conf-test] showParen (d > 10) $
1247.86 s
[opt-env-conf-test] showString "Commands "
1247.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:349:28-38
1247.86 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1247.86 s
[opt-env-conf-test] showString "Check "
1247.86 s
[opt-env-conf-test] . showsPrec 11 mLoc
1247.86 s
[opt-env-conf-test] . showString " "
1247.86 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1247.86 s
[opt-env-conf-test] + . showsPrec 11 not forgivable
1247.86 s
[opt-env-conf-test] . showString " "
1247.86 s
[opt-env-conf-test] . showsPrec 11 caps
1247.86 s
[opt-env-conf-test] . showString " _ "
1247.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1247.86 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1247.86 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1247.86 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1247.86 s
[opt-env-conf-test] and
1247.86 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1247.86 s
[opt-env-conf-test] + [ True || settingTryOption || isJust settingSwitchValue,
1247.86 s
[opt-env-conf-test] null settingEnvVars,
1247.86 s
[opt-env-conf-test] null settingConfigVals
1247.86 s
[opt-env-conf-test] ]
1247.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1247.86 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1247.86 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1247.86 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1247.86 s
[opt-env-conf-test] and
1247.86 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1247.86 s
[opt-env-conf-test] + [ False || settingTryOption || isJust settingSwitchValue,
1247.86 s
[opt-env-conf-test] null settingEnvVars,
1247.86 s
[opt-env-conf-test] null settingConfigVals
1247.86 s
[opt-env-conf-test] ]
1247.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-33
1247.86 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1247.86 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1247.87 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1247.87 s
[opt-env-conf-test] and
1247.87 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1247.87 s
[opt-env-conf-test] + [ not settingTryArgument || settingTryOption || isJust settingSwitchValue,
1247.87 s
[opt-env-conf-test] null settingEnvVars,
1247.87 s
[opt-env-conf-test] null settingConfigVals
1247.87 s
[opt-env-conf-test] ]
1247.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1247.87 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1247.87 s
[opt-env-conf-test] showString "Check "
1247.87 s
[opt-env-conf-test] . showsPrec 11 mLoc
1247.87 s
[opt-env-conf-test] . showString " "
1247.87 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1247.87 s
[opt-env-conf-test] + . showsPrec 1 forgivable
1247.87 s
[opt-env-conf-test] . showString " "
1247.87 s
[opt-env-conf-test] . showsPrec 11 caps
1247.87 s
[opt-env-conf-test] . showString " _ "
1247.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1247.87 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1247.87 s
[opt-env-conf-test] . showString " _ "
1247.87 s
[opt-env-conf-test] . go 11 p
1247.87 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1247.87 s
[opt-env-conf-test] - showParen (d > 10) $
1247.87 s
[opt-env-conf-test] + showParen (d > -10) $
1247.87 s
[opt-env-conf-test] showString "Commands "
1247.87 s
[opt-env-conf-test] . showsPrec 11 mLoc
1247.87 s
[opt-env-conf-test] . showString " "
1247.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1247.87 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1247.87 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1247.87 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1247.87 s
[opt-env-conf-test] and
1247.87 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1247.87 s
[opt-env-conf-test] + [ settingTryArgument || False || isJust settingSwitchValue,
1247.87 s
[opt-env-conf-test] null settingEnvVars,
1247.87 s
[opt-env-conf-test] null settingConfigVals
1247.87 s
[opt-env-conf-test] ]
1247.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
1247.87 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1247.87 s
[opt-env-conf-test] showString "Check "
1247.87 s
[opt-env-conf-test] . showsPrec 11 mLoc
1247.87 s
[opt-env-conf-test] . showString " "
1247.87 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1247.87 s
[opt-env-conf-test] + . showsPrec 11 False
1247.87 s
[opt-env-conf-test] . showString " "
1247.87 s
[opt-env-conf-test] . showsPrec 11 caps
1247.87 s
[opt-env-conf-test] . showString " _ "
1247.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1247.87 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1247.87 s
[opt-env-conf-test] showString "Check "
1247.88 s
[opt-env-conf-test] . showsPrec 11 mLoc
1247.88 s
[opt-env-conf-test] . showString " "
1247.88 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1247.88 s
[opt-env-conf-test] + . showsPrec -11 forgivable
1247.88 s
[opt-env-conf-test] . showString " "
1247.88 s
[opt-env-conf-test] . showsPrec 11 caps
1247.88 s
[opt-env-conf-test] . showString " _ "
1247.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1247.88 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1247.88 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1247.88 s
[opt-env-conf-test] showParen (d > 10) $
1247.88 s
[opt-env-conf-test] showString "Check "
1247.88 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1247.88 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1247.88 s
[opt-env-conf-test] . showString " "
1247.88 s
[opt-env-conf-test] . showsPrec 11 forgivable
1247.88 s
[opt-env-conf-test] . showString " "
1247.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1247.88 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1247.88 s
[opt-env-conf-test] showString "Check "
1247.88 s
[opt-env-conf-test] . showsPrec 11 mLoc
1247.88 s
[opt-env-conf-test] . showString " "
1247.88 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1247.88 s
[opt-env-conf-test] + . showsPrec 0 forgivable
1247.88 s
[opt-env-conf-test] . showString " "
1247.88 s
[opt-env-conf-test] . showsPrec 11 caps
1247.88 s
[opt-env-conf-test] . showString " _ "
1247.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1247.88 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1247.88 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1247.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1247.88 s
[opt-env-conf-test] and
1247.88 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1247.88 s
[opt-env-conf-test] + [ settingTryArgument || True,
1259.64 s
[opt-env-conf-test] null settingEnvVars,
1259.64 s
[opt-env-conf-test] null settingConfigVals
1259.66 s
[opt-env-conf-test] ]
1259.66 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:57-82
1259.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1259.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1259.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1259.67 s
[opt-env-conf-test] and
1259.67 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.67 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || not isJust settingSwitchValue,
1259.67 s
[opt-env-conf-test] null settingEnvVars,
1259.67 s
[opt-env-conf-test] null settingConfigVals
1259.67 s
[opt-env-conf-test] ]
1259.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1259.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1259.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1259.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1259.67 s
[opt-env-conf-test] and
1259.67 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.67 s
[opt-env-conf-test] + [ True,
1259.67 s
[opt-env-conf-test] null settingEnvVars,
1259.67 s
[opt-env-conf-test] null settingConfigVals
1259.67 s
[opt-env-conf-test] ]
1259.67 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1259.67 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1259.67 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1259.67 s
[opt-env-conf-test] showParen (d > 10) $
1259.67 s
[opt-env-conf-test] showString "Check "
1259.67 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1259.67 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1259.67 s
[opt-env-conf-test] . showString " "
1259.67 s
[opt-env-conf-test] . showsPrec 11 forgivable
1259.67 s
[opt-env-conf-test] . showString " "
1259.67 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-82
1259.68 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1259.68 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1259.68 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1259.68 s
[opt-env-conf-test] and
1259.68 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.68 s
[opt-env-conf-test] + [ settingTryArgument || not settingTryOption || isJust settingSwitchValue,
1259.68 s
[opt-env-conf-test] null settingEnvVars,
1259.68 s
[opt-env-conf-test] null settingConfigVals
1259.68 s
[opt-env-conf-test] ]
1259.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1259.68 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1259.68 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1259.68 s
[opt-env-conf-test] c1 <- go p1
1259.68 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1259.68 s
[opt-env-conf-test] - pure $ c1 || c2
1259.68 s
[opt-env-conf-test] + pure $ False
1259.68 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1259.68 s
[opt-env-conf-test] case settingHelp of
1259.68 s
[opt-env-conf-test] Nothing ->
1259.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1259.68 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1259.68 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1259.68 s
[opt-env-conf-test] and
1259.68 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.68 s
[opt-env-conf-test] - null settingEnvVars,
1259.68 s
[opt-env-conf-test] + False,
1259.68 s
[opt-env-conf-test] null settingConfigVals
1259.68 s
[opt-env-conf-test] ]
1259.68 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:341:15-34
1259.68 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1259.68 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1259.68 s
[opt-env-conf-test] and
1259.68 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.68 s
[opt-env-conf-test] - null settingEnvVars,
1259.68 s
[opt-env-conf-test] + not null settingEnvVars,
1259.68 s
[opt-env-conf-test] null settingConfigVals
1259.68 s
[opt-env-conf-test] ]
1259.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1259.68 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1259.68 s
[opt-env-conf-test] and
1259.68 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.68 s
[opt-env-conf-test] null settingEnvVars,
1259.68 s
[opt-env-conf-test] - null settingConfigVals
1259.68 s
[opt-env-conf-test] + True
1259.69 s
[opt-env-conf-test] ]
1259.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1259.69 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1259.69 s
[opt-env-conf-test] and
1259.69 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.69 s
[opt-env-conf-test] null settingEnvVars,
1259.69 s
[opt-env-conf-test] - null settingConfigVals
1259.69 s
[opt-env-conf-test] + False
1259.69 s
[opt-env-conf-test] ]
1259.69 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:342:15-37
1259.69 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1259.69 s
[opt-env-conf-test] and
1259.69 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.69 s
[opt-env-conf-test] null settingEnvVars,
1259.69 s
[opt-env-conf-test] - null settingConfigVals
1259.69 s
[opt-env-conf-test] + not null settingConfigVals
1259.69 s
[opt-env-conf-test] ]
1259.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1259.69 s
[opt-env-conf-test] @@ -337,7 +337,4 @@
1259.69 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1259.69 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1259.69 s
[opt-env-conf-test] and
1259.69 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.69 s
[opt-env-conf-test] - null settingEnvVars,
1259.69 s
[opt-env-conf-test] - null settingConfigVals
1259.69 s
[opt-env-conf-test] ]
1259.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1259.69 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1259.69 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1259.69 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1259.69 s
[opt-env-conf-test] and
1259.69 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.69 s
[opt-env-conf-test] null settingEnvVars,
1259.69 s
[opt-env-conf-test] null settingConfigVals
1259.69 s
[opt-env-conf-test] ]
1259.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1259.69 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1259.69 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1259.69 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1259.69 s
[opt-env-conf-test] and
1259.69 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.69 s
[opt-env-conf-test] null settingEnvVars,
1259.69 s
[opt-env-conf-test] - null settingConfigVals
1259.69 s
[opt-env-conf-test] ]
1259.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
1259.69 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1259.69 s
[opt-env-conf-test] pure $
1259.69 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1259.69 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1259.69 s
[opt-env-conf-test] - and
1259.69 s
[opt-env-conf-test] + True
1259.69 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.69 s
[opt-env-conf-test] null settingEnvVars,
1259.69 s
[opt-env-conf-test] null settingConfigVals
1259.69 s
[opt-env-conf-test] ]
1259.69 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-82
1259.69 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1259.69 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1259.69 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1259.69 s
[opt-env-conf-test] and
1259.69 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.69 s
[opt-env-conf-test] + [ not settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.69 s
[opt-env-conf-test] null settingEnvVars,
1259.69 s
[opt-env-conf-test] null settingConfigVals
1259.69 s
[opt-env-conf-test] ]
1259.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1259.69 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1259.69 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1259.69 s
[opt-env-conf-test] showCommandABit Command {..} =
1259.69 s
[opt-env-conf-test] showString "Command "
1259.69 s
[opt-env-conf-test] - . showsPrec 11 commandArg
1259.69 s
[opt-env-conf-test] + . showsPrec 0 commandArg
1259.69 s
[opt-env-conf-test] . showString " "
1259.69 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1259.69 s
[opt-env-conf-test] . showString " "
1259.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
1259.69 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1259.69 s
[opt-env-conf-test] pure $
1259.69 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1259.70 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1259.70 s
[opt-env-conf-test] - and
1259.70 s
[opt-env-conf-test] + False
1259.70 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1259.70 s
[opt-env-conf-test] null settingEnvVars,
1259.70 s
[opt-env-conf-test] null settingConfigVals
1259.70 s
[opt-env-conf-test] ]
1259.70 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1259.70 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1259.70 s
[opt-env-conf-test] . showString " "
1259.70 s
[opt-env-conf-test] . showsPrec 11 forgivable
1259.70 s
[opt-env-conf-test] . showString " "
1259.70 s
[opt-env-conf-test] - . showsPrec 11 caps
1259.70 s
[opt-env-conf-test] + . showsPrec 0 caps
1259.70 s
[opt-env-conf-test] . showString " _ "
1259.70 s
[opt-env-conf-test] . go 11 p
1259.70 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1259.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
1259.70 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1259.70 s
[opt-env-conf-test] showString "Check "
1259.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1259.70 s
[opt-env-conf-test] . showString " "
1259.70 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1259.70 s
[opt-env-conf-test] + . showsPrec 11 True
1259.70 s
[opt-env-conf-test] . showString " "
1259.70 s
[opt-env-conf-test] . showsPrec 11 caps
1259.70 s
[opt-env-conf-test] . showString " _ "
1259.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1259.70 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1259.70 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1259.70 s
[opt-env-conf-test] case lintErrorMessage of
1259.70 s
[opt-env-conf-test] LintErrorUndocumented ->
1259.70 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1259.70 s
[opt-env-conf-test] LintErrorEmptySetting ->
1259.70 s
[opt-env-conf-test] concat
1259.70 s
[opt-env-conf-test] [ [ [ "This ",
1259.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1267.18 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1267.18 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1267.20 s
[opt-env-conf-test] case lintErrorMessage of
1267.20 s
[opt-env-conf-test] LintErrorUndocumented ->
1267.20 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1267.20 s
[opt-env-conf-test] LintErrorEmptySetting ->
1267.20 s
[opt-env-conf-test] concat
1267.20 s
[opt-env-conf-test] [ [ [ "This ",
1267.20 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:339:11-14
1267.20 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1267.20 s
[opt-env-conf-test] pure $
1267.20 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1267.21 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1267.21 s
[opt-env-conf-test] - and
1267.21 s
[opt-env-conf-test] + not and
1267.21 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1267.21 s
[opt-env-conf-test] null settingEnvVars,
1267.21 s
[opt-env-conf-test] null settingConfigVals
1267.21 s
[opt-env-conf-test] ]
1267.21 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1267.21 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1267.21 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1267.21 s
[opt-env-conf-test] c1 <- go p1
1267.21 s
[opt-env-conf-test] c2 <- go p2
1267.21 s
[opt-env-conf-test] - pure (c1 || c2)
1267.21 s
[opt-env-conf-test] + pure True
1267.21 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1267.21 s
[opt-env-conf-test] c1 <- go p1
1267.21 s
[opt-env-conf-test] c2 <- go p2
1267.21 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1267.21 s
[opt-env-conf-test] @@ -71,10 +71,7 @@
1267.21 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1267.21 s
[opt-env-conf-test] LintErrorEmptySetting ->
1267.21 s
[opt-env-conf-test] concat
1267.21 s
[opt-env-conf-test] - [ [ [ "This ",
1267.21 s
[opt-env-conf-test] - functionChunk "setting",
1267.21 s
[opt-env-conf-test] - " parses nothing."
1267.22 s
[opt-env-conf-test] ]
1267.22 s
[opt-env-conf-test] ],
1267.22 s
[opt-env-conf-test] [ [ "Add an ",
1267.22 s
[opt-env-conf-test] functionChunk "argument",
1267.22 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1267.22 s
[opt-env-conf-test] @@ -71,10 +71,9 @@
1267.22 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1267.22 s
[opt-env-conf-test] LintErrorEmptySetting ->
1267.22 s
[opt-env-conf-test] concat
1267.22 s
[opt-env-conf-test] - [ [ [ "This ",
1267.22 s
[opt-env-conf-test] functionChunk "setting",
1267.22 s
[opt-env-conf-test] " parses nothing."
1267.22 s
[opt-env-conf-test] ]
1267.22 s
[opt-env-conf-test] ],
1267.22 s
[opt-env-conf-test] [ [ "Add an ",
1267.22 s
[opt-env-conf-test] functionChunk "argument",
1267.22 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1267.22 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1267.22 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1267.22 s
[opt-env-conf-test] case lintErrorMessage of
1267.22 s
[opt-env-conf-test] LintErrorUndocumented ->
1267.22 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1267.22 s
[opt-env-conf-test] LintErrorEmptySetting ->
1267.22 s
[opt-env-conf-test] concat
1267.22 s
[opt-env-conf-test] [ [ [ "This ",
1267.22 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1267.22 s
[opt-env-conf-test] @@ -71,10 +71,9 @@
1267.22 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1267.22 s
[opt-env-conf-test] LintErrorEmptySetting ->
1267.22 s
[opt-env-conf-test] concat
1267.22 s
[opt-env-conf-test] [ [ [ "This ",
1267.23 s
[opt-env-conf-test] functionChunk "setting",
1267.23 s
[opt-env-conf-test] - " parses nothing."
1267.23 s
[opt-env-conf-test] ]
1267.23 s
[opt-env-conf-test] ],
1267.23 s
[opt-env-conf-test] [ [ "Add an ",
1267.23 s
[opt-env-conf-test] functionChunk "argument",
1267.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:19-27
1267.23 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1267.23 s
[opt-env-conf-test] . showString " "
1267.23 s
[opt-env-conf-test] . go 11 p
1267.23 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1267.23 s
[opt-env-conf-test] - showParen (d > 10) $
1267.23 s
[opt-env-conf-test] + showParen not (d > 10) $
1267.23 s
[opt-env-conf-test] showString "Check "
1267.23 s
[opt-env-conf-test] . showsPrec 11 mLoc
1267.23 s
[opt-env-conf-test] . showString " "
1267.23 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1267.23 s
[opt-env-conf-test] @@ -76,20 +76,7 @@
1267.23 s
[opt-env-conf-test] " parses nothing."
1267.23 s
[opt-env-conf-test] ]
1267.23 s
[opt-env-conf-test] ],
1267.23 s
[opt-env-conf-test] - [ [ "Add an ",
1267.23 s
[opt-env-conf-test] - functionChunk "argument",
1267.23 s
[opt-env-conf-test] - ", ",
1267.23 s
[opt-env-conf-test] - functionChunk "switch",
1267.24 s
[opt-env-conf-test] - ", ",
1267.24 s
[opt-env-conf-test] - functionChunk "option",
1267.24 s
[opt-env-conf-test] - ", ",
1267.24 s
[opt-env-conf-test] - functionChunk "env",
1267.24 s
[opt-env-conf-test] - ", ",
1267.24 s
[opt-env-conf-test] - functionChunk "conf",
1267.24 s
[opt-env-conf-test] - ", or ",
1267.24 s
[opt-env-conf-test] - functionChunk "value",
1267.24 s
[opt-env-conf-test] - "."
1267.24 s
[opt-env-conf-test] ]
1267.24 s
[opt-env-conf-test] ]
1267.24 s
[opt-env-conf-test] ]
1267.24 s
[opt-env-conf-test] LintErrorDashInShort ->
1267.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1267.24 s
[opt-env-conf-test] @@ -76,20 +76,19 @@
1267.24 s
[opt-env-conf-test] " parses nothing."
1267.24 s
[opt-env-conf-test] ]
1267.24 s
[opt-env-conf-test] ],
1267.24 s
[opt-env-conf-test] - [ [ "Add an ",
1267.24 s
[opt-env-conf-test] functionChunk "argument",
1267.24 s
[opt-env-conf-test] ", ",
1267.24 s
[opt-env-conf-test] functionChunk "switch",
1267.24 s
[opt-env-conf-test] ", ",
1267.24 s
[opt-env-conf-test] functionChunk "option",
1267.24 s
[opt-env-conf-test] ", ",
1267.24 s
[opt-env-conf-test] functionChunk "env",
1267.24 s
[opt-env-conf-test] ", ",
1267.24 s
[opt-env-conf-test] functionChunk "conf",
1267.24 s
[opt-env-conf-test] ", or ",
1267.24 s
[opt-env-conf-test] functionChunk "value",
1267.24 s
[opt-env-conf-test] "."
1267.24 s
[opt-env-conf-test] ]
1267.24 s
[opt-env-conf-test] ]
1267.24 s
[opt-env-conf-test] ]
1267.24 s
[opt-env-conf-test] LintErrorDashInShort ->
1267.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
1267.24 s
[opt-env-conf-test] @@ -71,27 +71,7 @@
1267.25 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1267.25 s
[opt-env-conf-test] LintErrorEmptySetting ->
1267.25 s
[opt-env-conf-test] concat
1267.25 s
[opt-env-conf-test] - [ [ [ "This ",
1267.25 s
[opt-env-conf-test] - functionChunk "setting",
1267.25 s
[opt-env-conf-test] - " parses nothing."
1267.25 s
[opt-env-conf-test] - ]
1267.25 s
[opt-env-conf-test] - ],
1267.25 s
[opt-env-conf-test] - [ [ "Add an ",
1267.25 s
[opt-env-conf-test] - functionChunk "argument",
1267.25 s
[opt-env-conf-test] - ", ",
1267.25 s
[opt-env-conf-test] - functionChunk "switch",
1267.25 s
[opt-env-conf-test] - ", ",
1267.25 s
[opt-env-conf-test] - functionChunk "option",
1267.25 s
[opt-env-conf-test] - ", ",
1267.25 s
[opt-env-conf-test] - functionChunk "env",
1267.25 s
[opt-env-conf-test] - ", ",
1267.25 s
[opt-env-conf-test] - functionChunk "conf",
1267.25 s
[opt-env-conf-test] - ", or ",
1267.25 s
[opt-env-conf-test] - functionChunk "value",
1267.25 s
[opt-env-conf-test] - "."
1267.25 s
[opt-env-conf-test] - ]
1267.25 s
[opt-env-conf-test] - ]
1267.25 s
[opt-env-conf-test] ]
1267.25 s
[opt-env-conf-test] LintErrorDashInShort ->
1267.25 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1267.25 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1267.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1267.25 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1267.25 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1267.25 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1267.25 s
[opt-env-conf-test] and
1267.25 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1267.25 s
[opt-env-conf-test] + [ False,
1267.25 s
[opt-env-conf-test] null settingEnvVars,
1267.25 s
[opt-env-conf-test] null settingConfigVals
1267.25 s
[opt-env-conf-test] ]
1267.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1267.25 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1267.26 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1267.26 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1267.26 s
[opt-env-conf-test] and
1267.26 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1267.26 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || False,
1267.26 s
[opt-env-conf-test] null settingEnvVars,
1267.26 s
[opt-env-conf-test] null settingConfigVals
1267.26 s
[opt-env-conf-test] ]
1267.26 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1267.26 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1267.26 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1267.26 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1267.26 s
[opt-env-conf-test] and
1267.26 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1267.26 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || True,
1267.26 s
[opt-env-conf-test] null settingEnvVars,
1267.26 s
[opt-env-conf-test] null settingConfigVals
1267.26 s
[opt-env-conf-test] ]
1267.26 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1267.26 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1267.26 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1267.26 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1267.26 s
[opt-env-conf-test] and
1267.26 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1267.26 s
[opt-env-conf-test] + [ settingTryArgument || False,
1267.26 s
[opt-env-conf-test] null settingEnvVars,
1267.26 s
[opt-env-conf-test] null settingConfigVals
1267.26 s
[opt-env-conf-test] ]
1267.27 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1267.27 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1267.27 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1267.27 s
[opt-env-conf-test] c1 <- go p1
1267.27 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1267.27 s
[opt-env-conf-test] - pure $ c1 || c2
1267.27 s
[opt-env-conf-test] + pure $ True
1267.27 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1267.27 s
[opt-env-conf-test] case settingHelp of
1267.27 s
[opt-env-conf-test] Nothing ->
1267.27 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-53
1267.27 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1267.27 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1267.27 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1267.27 s
[opt-env-conf-test] and
1275.27 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1275.30 s
[opt-env-conf-test] + [ settingTryArgument || not settingTryOption || isJust settingSwitchValue,
1275.30 s
[opt-env-conf-test] null settingEnvVars,
1275.30 s
[opt-env-conf-test] null settingConfigVals
1275.30 s
[opt-env-conf-test] ]
1275.30 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
1275.30 s
[opt-env-conf-test] @@ -97,7 +97,6 @@
1275.30 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1275.30 s
[opt-env-conf-test] ]
1275.30 s
[opt-env-conf-test] LintErrorDashInLong s ->
1275.30 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1275.30 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1275.30 s
[opt-env-conf-test] [ "Try ",
1275.30 s
[opt-env-conf-test] functionChunk "long",
1275.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1275.30 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1275.30 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1275.30 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1275.30 s
[opt-env-conf-test] and
1275.30 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1275.30 s
[opt-env-conf-test] + [ settingTryArgument || True || isJust settingSwitchValue,
1275.30 s
[opt-env-conf-test] null settingEnvVars,
1275.30 s
[opt-env-conf-test] null settingConfigVals
1275.30 s
[opt-env-conf-test] ]
1275.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1275.30 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1275.30 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1275.30 s
[opt-env-conf-test] and
1275.30 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1275.30 s
[opt-env-conf-test] - null settingEnvVars,
1275.31 s
[opt-env-conf-test] + True,
1275.31 s
[opt-env-conf-test] null settingConfigVals
1275.31 s
[opt-env-conf-test] ]
1275.31 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1275.31 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1275.31 s
[opt-env-conf-test] ]
1275.31 s
[opt-env-conf-test] LintErrorDashInLong s ->
1275.31 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1275.31 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1275.31 s
[opt-env-conf-test] [ "Try ",
1275.31 s
[opt-env-conf-test] functionChunk "long",
1275.31 s
[opt-env-conf-test] " ",
1275.31 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-24
1275.31 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1275.31 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1275.31 s
[opt-env-conf-test] c1 <- go p1
1275.31 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1275.31 s
[opt-env-conf-test] - pure $ c1 || c2
1275.31 s
[opt-env-conf-test] + pure $ not c1 || c2
1275.31 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1275.31 s
[opt-env-conf-test] case settingHelp of
1275.31 s
[opt-env-conf-test] Nothing ->
1275.31 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1275.31 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1275.31 s
[opt-env-conf-test] ]
1275.31 s
[opt-env-conf-test] LintErrorDashInLong s ->
1275.31 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1275.31 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1275.31 s
[opt-env-conf-test] [ "Try ",
1275.31 s
[opt-env-conf-test] functionChunk "long",
1275.31 s
[opt-env-conf-test] " ",
1275.31 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1275.31 s
[opt-env-conf-test] @@ -99,19 +99,7 @@
1275.31 s
[opt-env-conf-test] LintErrorDashInLong s ->
1275.31 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1275.31 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1275.31 s
[opt-env-conf-test] - [ "Try ",
1275.31 s
[opt-env-conf-test] - functionChunk "long",
1275.31 s
[opt-env-conf-test] - " ",
1275.31 s
[opt-env-conf-test] - chunk $
1275.31 s
[opt-env-conf-test] - T.pack $
1275.31 s
[opt-env-conf-test] - show $
1275.31 s
[opt-env-conf-test] - let go = \case
1275.31 s
[opt-env-conf-test] - [] -> []
1275.31 s
[opt-env-conf-test] - '-' : cs -> go cs
1275.31 s
[opt-env-conf-test] - c : cs -> c : cs
1275.31 s
[opt-env-conf-test] - in go $ NE.toList s,
1275.31 s
[opt-env-conf-test] - " instead."
1275.31 s
[opt-env-conf-test] ]
1275.31 s
[opt-env-conf-test] ]
1275.31 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1275.31 s
[opt-env-conf-test] [ [ functionChunk "argument",
1275.31 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1275.31 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1275.31 s
[opt-env-conf-test] . showString " _ "
1275.31 s
[opt-env-conf-test] . go 11 p
1275.31 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1275.31 s
[opt-env-conf-test] - showParen (d > 10) $
1275.31 s
[opt-env-conf-test] + showParen (d > 0) $
1275.31 s
[opt-env-conf-test] showString "Commands "
1275.31 s
[opt-env-conf-test] . showsPrec 11 mLoc
1275.32 s
[opt-env-conf-test] . showString " "
1275.32 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1275.32 s
[opt-env-conf-test] @@ -99,19 +99,18 @@
1275.32 s
[opt-env-conf-test] LintErrorDashInLong s ->
1275.32 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1275.32 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1275.32 s
[opt-env-conf-test] [ "Try ",
1275.32 s
[opt-env-conf-test] functionChunk "long",
1275.32 s
[opt-env-conf-test] " ",
1275.32 s
[opt-env-conf-test] chunk $
1275.32 s
[opt-env-conf-test] T.pack $
1275.32 s
[opt-env-conf-test] show $
1275.32 s
[opt-env-conf-test] let go = \case
1275.32 s
[opt-env-conf-test] [] -> []
1275.32 s
[opt-env-conf-test] '-' : cs -> go cs
1275.32 s
[opt-env-conf-test] c : cs -> c : cs
1275.32 s
[opt-env-conf-test] in go $ NE.toList s,
1275.32 s
[opt-env-conf-test] - " instead."
1275.32 s
[opt-env-conf-test] ]
1275.32 s
[opt-env-conf-test] ]
1275.32 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1275.32 s
[opt-env-conf-test] [ [ functionChunk "argument",
1275.32 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1275.32 s
[opt-env-conf-test] @@ -99,19 +99,18 @@
1275.32 s
[opt-env-conf-test] LintErrorDashInLong s ->
1275.32 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1275.32 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1275.32 s
[opt-env-conf-test] - [ "Try ",
1275.32 s
[opt-env-conf-test] functionChunk "long",
1275.32 s
[opt-env-conf-test] " ",
1275.32 s
[opt-env-conf-test] chunk $
1275.32 s
[opt-env-conf-test] T.pack $
1275.32 s
[opt-env-conf-test] show $
1275.32 s
[opt-env-conf-test] let go = \case
1275.32 s
[opt-env-conf-test] [] -> []
1275.32 s
[opt-env-conf-test] '-' : cs -> go cs
1275.32 s
[opt-env-conf-test] c : cs -> c : cs
1275.32 s
[opt-env-conf-test] in go $ NE.toList s,
1275.32 s
[opt-env-conf-test] " instead."
1275.32 s
[opt-env-conf-test] ]
1275.32 s
[opt-env-conf-test] ]
1275.32 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1275.32 s
[opt-env-conf-test] [ [ functionChunk "argument",
1275.32 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1275.32 s
[opt-env-conf-test] @@ -97,22 +97,7 @@
1275.32 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1275.32 s
[opt-env-conf-test] ]
1275.32 s
[opt-env-conf-test] LintErrorDashInLong s ->
1275.32 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1275.32 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1275.32 s
[opt-env-conf-test] - [ "Try ",
1275.33 s
[opt-env-conf-test] - functionChunk "long",
1275.33 s
[opt-env-conf-test] - " ",
1275.33 s
[opt-env-conf-test] - chunk $
1275.33 s
[opt-env-conf-test] - T.pack $
1275.33 s
[opt-env-conf-test] - show $
1275.33 s
[opt-env-conf-test] - let go = \case
1275.33 s
[opt-env-conf-test] - [] -> []
1275.33 s
[opt-env-conf-test] - '-' : cs -> go cs
1275.33 s
[opt-env-conf-test] - c : cs -> c : cs
1275.33 s
[opt-env-conf-test] - in go $ NE.toList s,
1275.33 s
[opt-env-conf-test] - " instead."
1275.33 s
[opt-env-conf-test] - ]
1275.33 s
[opt-env-conf-test] ]
1275.33 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1275.33 s
[opt-env-conf-test] [ [ functionChunk "argument",
1275.33 s
[opt-env-conf-test] " has no ",
1275.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
1275.33 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1275.33 s
[opt-env-conf-test] . showString " _ "
1275.33 s
[opt-env-conf-test] . go 11 p
1275.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1275.33 s
[opt-env-conf-test] - showParen (d > 10) $
1275.33 s
[opt-env-conf-test] + showParen (True) $
1275.33 s
[opt-env-conf-test] showString "Commands "
1275.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1275.33 s
[opt-env-conf-test] . showString " "
1275.33 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1275.33 s
[opt-env-conf-test] @@ -97,22 +97,21 @@
1275.33 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1275.33 s
[opt-env-conf-test] ]
1275.33 s
[opt-env-conf-test] LintErrorDashInLong s ->
1275.33 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1275.33 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1275.33 s
[opt-env-conf-test] [ "Try ",
1275.33 s
[opt-env-conf-test] functionChunk "long",
1275.33 s
[opt-env-conf-test] " ",
1275.33 s
[opt-env-conf-test] chunk $
1275.33 s
[opt-env-conf-test] T.pack $
1275.33 s
[opt-env-conf-test] show $
1275.33 s
[opt-env-conf-test] let go = \case
1275.33 s
[opt-env-conf-test] [] -> []
1275.33 s
[opt-env-conf-test] '-' : cs -> go cs
1275.33 s
[opt-env-conf-test] c : cs -> c : cs
1275.33 s
[opt-env-conf-test] in go $ NE.toList s,
1275.33 s
[opt-env-conf-test] " instead."
1275.33 s
[opt-env-conf-test] ]
1275.33 s
[opt-env-conf-test] ]
1275.33 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1275.33 s
[opt-env-conf-test] [ [ functionChunk "argument",
1275.34 s
[opt-env-conf-test] " has no ",
1275.34 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1275.34 s
[opt-env-conf-test] @@ -97,22 +97,9 @@
1275.34 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1275.34 s
[opt-env-conf-test] ]
1275.34 s
[opt-env-conf-test] LintErrorDashInLong s ->
1275.34 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1275.34 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1275.34 s
[opt-env-conf-test] - [ "Try ",
1275.34 s
[opt-env-conf-test] - functionChunk "long",
1275.34 s
[opt-env-conf-test] - " ",
1275.34 s
[opt-env-conf-test] - chunk $
1286.70 s
[opt-env-conf-test] - T.pack $
1286.70 s
[opt-env-conf-test] - show $
1286.73 s
[opt-env-conf-test] - let go = \case
1286.73 s
[opt-env-conf-test] - [] -> []
1286.74 s
[opt-env-conf-test] - '-' : cs -> go cs
1286.74 s
[opt-env-conf-test] - c : cs -> c : cs
1286.74 s
[opt-env-conf-test] - in go $ NE.toList s,
1286.74 s
[opt-env-conf-test] - " instead."
1286.74 s
[opt-env-conf-test] - ]
1286.74 s
[opt-env-conf-test] ]
1286.74 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1286.74 s
[opt-env-conf-test] [ [ functionChunk "argument",
1286.74 s
[opt-env-conf-test] " has no ",
1286.74 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
1286.74 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1286.74 s
[opt-env-conf-test] ]
1286.74 s
[opt-env-conf-test] ]
1286.74 s
[opt-env-conf-test] LintErrorDashInShort ->
1286.74 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1286.75 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1286.75 s
[opt-env-conf-test] ]
1286.75 s
[opt-env-conf-test] LintErrorDashInLong s ->
1286.75 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1286.75 s
[opt-env-conf-test] @@ -114,11 +114,7 @@
1286.75 s
[opt-env-conf-test] ]
1286.75 s
[opt-env-conf-test] ]
1286.75 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1286.75 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1286.75 s
[opt-env-conf-test] - " has no ",
1286.75 s
[opt-env-conf-test] - functionChunk "reader",
1286.75 s
[opt-env-conf-test] - "."
1286.75 s
[opt-env-conf-test] ]
1286.75 s
[opt-env-conf-test] ]
1286.75 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1286.75 s
[opt-env-conf-test] [ [ functionChunk "argument",
1286.75 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1286.75 s
[opt-env-conf-test] @@ -114,11 +114,10 @@
1286.75 s
[opt-env-conf-test] ]
1286.75 s
[opt-env-conf-test] ]
1286.75 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1286.75 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1286.75 s
[opt-env-conf-test] " has no ",
1286.75 s
[opt-env-conf-test] functionChunk "reader",
1286.75 s
[opt-env-conf-test] "."
1286.75 s
[opt-env-conf-test] ]
1286.75 s
[opt-env-conf-test] ]
1286.75 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1286.75 s
[opt-env-conf-test] [ [ functionChunk "argument",
1286.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1286.76 s
[opt-env-conf-test] @@ -114,11 +114,10 @@
1286.76 s
[opt-env-conf-test] ]
1286.76 s
[opt-env-conf-test] ]
1286.76 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1286.76 s
[opt-env-conf-test] [ [ functionChunk "argument",
1286.76 s
[opt-env-conf-test] " has no ",
1286.76 s
[opt-env-conf-test] functionChunk "reader",
1286.76 s
[opt-env-conf-test] - "."
1286.76 s
[opt-env-conf-test] ]
1286.76 s
[opt-env-conf-test] ]
1286.76 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1286.76 s
[opt-env-conf-test] [ [ functionChunk "argument",
1286.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1286.76 s
[opt-env-conf-test] @@ -121,11 +121,7 @@
1286.76 s
[opt-env-conf-test] ]
1286.76 s
[opt-env-conf-test] ]
1286.76 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1286.76 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1286.76 s
[opt-env-conf-test] - " has no ",
1286.76 s
[opt-env-conf-test] - functionChunk "metavar",
1286.76 s
[opt-env-conf-test] - "."
1286.76 s
[opt-env-conf-test] ]
1286.76 s
[opt-env-conf-test] ]
1286.76 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1286.76 s
[opt-env-conf-test] [ [ functionChunk "option",
1286.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1286.76 s
[opt-env-conf-test] @@ -121,11 +121,10 @@
1286.76 s
[opt-env-conf-test] ]
1286.76 s
[opt-env-conf-test] ]
1286.76 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1286.76 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1286.76 s
[opt-env-conf-test] " has no ",
1286.77 s
[opt-env-conf-test] functionChunk "metavar",
1286.77 s
[opt-env-conf-test] "."
1286.77 s
[opt-env-conf-test] ]
1286.77 s
[opt-env-conf-test] ]
1286.77 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1286.77 s
[opt-env-conf-test] [ [ functionChunk "option",
1286.77 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1286.77 s
[opt-env-conf-test] @@ -121,11 +121,10 @@
1286.77 s
[opt-env-conf-test] ]
1286.77 s
[opt-env-conf-test] ]
1286.77 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1286.77 s
[opt-env-conf-test] [ [ functionChunk "argument",
1286.77 s
[opt-env-conf-test] " has no ",
1286.77 s
[opt-env-conf-test] functionChunk "metavar",
1286.77 s
[opt-env-conf-test] - "."
1286.77 s
[opt-env-conf-test] ]
1286.77 s
[opt-env-conf-test] ]
1286.77 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1286.77 s
[opt-env-conf-test] [ [ functionChunk "option",
1286.77 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
1286.77 s
[opt-env-conf-test] @@ -93,9 +93,8 @@
1286.77 s
[opt-env-conf-test] ]
1286.77 s
[opt-env-conf-test] ]
1286.77 s
[opt-env-conf-test] LintErrorDashInShort ->
1286.77 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1286.77 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1286.77 s
[opt-env-conf-test] ]
1286.77 s
[opt-env-conf-test] LintErrorDashInLong s ->
1286.77 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1286.77 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1286.77 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1286.77 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1286.77 s
[opt-env-conf-test] ]
1286.77 s
[opt-env-conf-test] LintErrorDashInLong s ->
1286.77 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1286.77 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1286.77 s
[opt-env-conf-test] [ "Try ",
1286.77 s
[opt-env-conf-test] functionChunk "long",
1286.77 s
[opt-env-conf-test] " ",
1286.77 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
1286.77 s
[opt-env-conf-test] @@ -97,7 +97,6 @@
1286.77 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1286.77 s
[opt-env-conf-test] ]
1286.77 s
[opt-env-conf-test] LintErrorDashInLong s ->
1286.77 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1286.78 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1286.78 s
[opt-env-conf-test] [ "Try ",
1286.78 s
[opt-env-conf-test] functionChunk "long",
1286.78 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
1286.78 s
[opt-env-conf-test] @@ -93,9 +93,7 @@
1286.78 s
[opt-env-conf-test] ]
1286.78 s
[opt-env-conf-test] ]
1286.78 s
[opt-env-conf-test] LintErrorDashInShort ->
1286.78 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1286.78 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1286.78 s
[opt-env-conf-test] ]
1286.78 s
[opt-env-conf-test] LintErrorDashInLong s ->
1286.78 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1286.78 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1286.78 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1286.78 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1286.78 s
[opt-env-conf-test] ]
1286.78 s
[opt-env-conf-test] LintErrorDashInShort ->
1286.78 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1286.78 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1286.78 s
[opt-env-conf-test] ]
1286.78 s
[opt-env-conf-test] LintErrorDashInLong s ->
1286.78 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1286.78 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1286.78 s
[opt-env-conf-test] @@ -137,13 +137,12 @@
1286.78 s
[opt-env-conf-test] ]
1286.78 s
[opt-env-conf-test] ]
1286.78 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1286.78 s
[opt-env-conf-test] - [ [ functionChunk "option",
1286.79 s
[opt-env-conf-test] " has no ",
1286.79 s
[opt-env-conf-test] functionChunk "long",
1286.79 s
[opt-env-conf-test] " or ",
1286.79 s
[opt-env-conf-test] functionChunk "short",
1286.79 s
[opt-env-conf-test] "."
1286.79 s
[opt-env-conf-test] ]
1286.79 s
[opt-env-conf-test] ]
1286.79 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1286.79 s
[opt-env-conf-test] [ [ functionChunk "option",
1286.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1286.79 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1286.79 s
[opt-env-conf-test] ]
1286.79 s
[opt-env-conf-test] LintErrorDashInShort ->
1286.79 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1286.79 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1286.79 s
[opt-env-conf-test] ]
1286.79 s
[opt-env-conf-test] LintErrorDashInLong s ->
1286.79 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1286.80 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1286.80 s
[opt-env-conf-test] @@ -137,13 +137,12 @@
1286.80 s
[opt-env-conf-test] ]
1286.80 s
[opt-env-conf-test] ]
1286.80 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1286.80 s
[opt-env-conf-test] [ [ functionChunk "option",
1286.80 s
[opt-env-conf-test] " has no ",
1286.80 s
[opt-env-conf-test] functionChunk "long",
1286.80 s
[opt-env-conf-test] " or ",
1286.80 s
[opt-env-conf-test] functionChunk "short",
1286.80 s
[opt-env-conf-test] - "."
1286.80 s
[opt-env-conf-test] ]
1286.80 s
[opt-env-conf-test] ]
1286.80 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1286.81 s
[opt-env-conf-test] [ [ functionChunk "option",
1286.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1286.81 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1286.81 s
[opt-env-conf-test] ]
1286.81 s
[opt-env-conf-test] LintErrorDashInShort ->
1286.81 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1286.81 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1286.81 s
[opt-env-conf-test] ]
1286.81 s
[opt-env-conf-test] LintErrorDashInLong s ->
1286.81 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1286.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1286.81 s
[opt-env-conf-test] @@ -146,13 +146,7 @@
1286.81 s
[opt-env-conf-test] ]
1286.81 s
[opt-env-conf-test] ]
1286.81 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1286.81 s
[opt-env-conf-test] - [ [ functionChunk "option",
1286.81 s
[opt-env-conf-test] - " or ",
1286.81 s
[opt-env-conf-test] - functionChunk "name",
1286.81 s
[opt-env-conf-test] - " has no ",
1286.81 s
[opt-env-conf-test] - functionChunk "metavar",
1286.81 s
[opt-env-conf-test] - "."
1286.81 s
[opt-env-conf-test] ]
1286.81 s
[opt-env-conf-test] ]
1286.81 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1286.81 s
[opt-env-conf-test] [ [ functionChunk "switch",
1286.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1286.81 s
[opt-env-conf-test] @@ -76,20 +76,19 @@
1286.81 s
[opt-env-conf-test] " parses nothing."
1286.81 s
[opt-env-conf-test] ]
1286.81 s
[opt-env-conf-test] ],
1286.81 s
[opt-env-conf-test] [ [ "Add an ",
1286.81 s
[opt-env-conf-test] functionChunk "argument",
1286.81 s
[opt-env-conf-test] ", ",
1286.81 s
[opt-env-conf-test] functionChunk "switch",
1286.82 s
[opt-env-conf-test] ", ",
1286.82 s
[opt-env-conf-test] functionChunk "option",
1286.82 s
[opt-env-conf-test] ", ",
1286.82 s
[opt-env-conf-test] functionChunk "env",
1286.82 s
[opt-env-conf-test] ", ",
1286.82 s
[opt-env-conf-test] functionChunk "conf",
1286.82 s
[opt-env-conf-test] ", or ",
1286.82 s
[opt-env-conf-test] functionChunk "value",
1296.38 s
[opt-env-conf-test] - "."
1296.41 s
[opt-env-conf-test] ]
1296.41 s
[opt-env-conf-test] ]
1296.41 s
[opt-env-conf-test] ]
1296.41 s
[opt-env-conf-test] LintErrorDashInShort ->
1296.41 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1296.41 s
[opt-env-conf-test] @@ -146,13 +146,12 @@
1296.41 s
[opt-env-conf-test] ]
1296.41 s
[opt-env-conf-test] ]
1296.41 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1296.41 s
[opt-env-conf-test] [ [ functionChunk "option",
1296.41 s
[opt-env-conf-test] " or ",
1296.41 s
[opt-env-conf-test] functionChunk "name",
1296.41 s
[opt-env-conf-test] " has no ",
1296.41 s
[opt-env-conf-test] functionChunk "metavar",
1296.41 s
[opt-env-conf-test] - "."
1296.41 s
[opt-env-conf-test] ]
1296.41 s
[opt-env-conf-test] ]
1296.41 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1296.41 s
[opt-env-conf-test] [ [ functionChunk "switch",
1296.41 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
1296.41 s
[opt-env-conf-test] @@ -71,27 +71,22 @@
1296.41 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1296.42 s
[opt-env-conf-test] LintErrorEmptySetting ->
1296.42 s
[opt-env-conf-test] concat
1296.42 s
[opt-env-conf-test] - [ [ [ "This ",
1296.42 s
[opt-env-conf-test] - functionChunk "setting",
1296.42 s
[opt-env-conf-test] - " parses nothing."
1296.42 s
[opt-env-conf-test] - ]
1296.42 s
[opt-env-conf-test] - ],
1296.42 s
[opt-env-conf-test] [ [ "Add an ",
1296.42 s
[opt-env-conf-test] functionChunk "argument",
1296.42 s
[opt-env-conf-test] ", ",
1296.42 s
[opt-env-conf-test] functionChunk "switch",
1296.42 s
[opt-env-conf-test] ", ",
1296.42 s
[opt-env-conf-test] functionChunk "option",
1296.42 s
[opt-env-conf-test] ", ",
1296.42 s
[opt-env-conf-test] functionChunk "env",
1296.42 s
[opt-env-conf-test] ", ",
1296.42 s
[opt-env-conf-test] functionChunk "conf",
1296.42 s
[opt-env-conf-test] ", or ",
1296.42 s
[opt-env-conf-test] functionChunk "value",
1296.42 s
[opt-env-conf-test] "."
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] LintErrorDashInShort ->
1296.42 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1296.42 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1296.42 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
1296.42 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] LintErrorDashInShort ->
1296.42 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1296.42 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] LintErrorDashInLong s ->
1296.42 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1296.42 s
[opt-env-conf-test] @@ -155,13 +155,7 @@
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1296.42 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1296.42 s
[opt-env-conf-test] - " has no ",
1296.42 s
[opt-env-conf-test] - functionChunk "long",
1296.42 s
[opt-env-conf-test] - " or ",
1296.42 s
[opt-env-conf-test] - functionChunk "short",
1296.42 s
[opt-env-conf-test] - "."
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1296.42 s
[opt-env-conf-test] [ [ functionChunk "long",
1296.42 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1296.42 s
[opt-env-conf-test] @@ -164,15 +164,7 @@
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1296.42 s
[opt-env-conf-test] - [ [ functionChunk "long",
1296.42 s
[opt-env-conf-test] - " or ",
1296.42 s
[opt-env-conf-test] - functionChunk "short",
1296.42 s
[opt-env-conf-test] - " has no ",
1296.42 s
[opt-env-conf-test] - functionChunk "option",
1296.42 s
[opt-env-conf-test] - " or ",
1296.42 s
[opt-env-conf-test] - functionChunk "switch",
1296.42 s
[opt-env-conf-test] - "."
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] ]
1296.42 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1296.42 s
[opt-env-conf-test] [ [ functionChunk "env",
1296.42 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1296.42 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1296.43 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1296.43 s
[opt-env-conf-test] showParen (d > 10) $
1296.43 s
[opt-env-conf-test] showString "Check "
1296.43 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1296.43 s
[opt-env-conf-test] + . showsPrec -11 mLoc
1296.43 s
[opt-env-conf-test] . showString " "
1296.43 s
[opt-env-conf-test] . showsPrec 11 forgivable
1296.43 s
[opt-env-conf-test] . showString " "
1296.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1296.43 s
[opt-env-conf-test] @@ -175,13 +175,7 @@
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1296.43 s
[opt-env-conf-test] - [ [ functionChunk "env",
1296.43 s
[opt-env-conf-test] - " or ",
1296.43 s
[opt-env-conf-test] - functionChunk "name",
1296.43 s
[opt-env-conf-test] - " has no ",
1296.43 s
[opt-env-conf-test] - functionChunk "reader",
1296.43 s
[opt-env-conf-test] - "."
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1296.43 s
[opt-env-conf-test] [ [ functionChunk "env",
1296.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1296.43 s
[opt-env-conf-test] @@ -164,15 +164,14 @@
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1296.43 s
[opt-env-conf-test] [ [ functionChunk "long",
1296.43 s
[opt-env-conf-test] " or ",
1296.43 s
[opt-env-conf-test] functionChunk "short",
1296.43 s
[opt-env-conf-test] " has no ",
1296.43 s
[opt-env-conf-test] functionChunk "option",
1296.43 s
[opt-env-conf-test] " or ",
1296.43 s
[opt-env-conf-test] functionChunk "switch",
1296.43 s
[opt-env-conf-test] - "."
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1296.43 s
[opt-env-conf-test] [ [ functionChunk "env",
1296.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1296.43 s
[opt-env-conf-test] @@ -155,13 +155,12 @@
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1296.43 s
[opt-env-conf-test] [ [ functionChunk "switch",
1296.43 s
[opt-env-conf-test] " has no ",
1296.43 s
[opt-env-conf-test] functionChunk "long",
1296.43 s
[opt-env-conf-test] " or ",
1296.43 s
[opt-env-conf-test] functionChunk "short",
1296.43 s
[opt-env-conf-test] - "."
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1296.43 s
[opt-env-conf-test] [ [ functionChunk "long",
1296.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1296.43 s
[opt-env-conf-test] @@ -164,15 +164,14 @@
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1296.43 s
[opt-env-conf-test] - [ [ functionChunk "long",
1296.43 s
[opt-env-conf-test] " or ",
1296.43 s
[opt-env-conf-test] functionChunk "short",
1296.43 s
[opt-env-conf-test] " has no ",
1296.43 s
[opt-env-conf-test] functionChunk "option",
1296.43 s
[opt-env-conf-test] " or ",
1296.43 s
[opt-env-conf-test] functionChunk "switch",
1296.43 s
[opt-env-conf-test] "."
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1296.43 s
[opt-env-conf-test] [ [ functionChunk "env",
1296.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1296.43 s
[opt-env-conf-test] @@ -155,13 +155,12 @@
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] ]
1296.43 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1296.43 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1296.43 s
[opt-env-conf-test] " has no ",
1296.43 s
[opt-env-conf-test] functionChunk "long",
1296.43 s
[opt-env-conf-test] " or ",
1296.43 s
[opt-env-conf-test] functionChunk "short",
1296.43 s
[opt-env-conf-test] "."
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1296.44 s
[opt-env-conf-test] [ [ functionChunk "long",
1296.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1296.44 s
[opt-env-conf-test] @@ -137,13 +137,7 @@
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1296.44 s
[opt-env-conf-test] - [ [ functionChunk "option",
1296.44 s
[opt-env-conf-test] - " has no ",
1296.44 s
[opt-env-conf-test] - functionChunk "long",
1296.44 s
[opt-env-conf-test] - " or ",
1296.44 s
[opt-env-conf-test] - functionChunk "short",
1296.44 s
[opt-env-conf-test] - "."
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1296.44 s
[opt-env-conf-test] [ [ functionChunk "option",
1296.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1296.44 s
[opt-env-conf-test] @@ -184,13 +184,12 @@
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1296.44 s
[opt-env-conf-test] - [ [ functionChunk "env",
1296.44 s
[opt-env-conf-test] " or ",
1296.44 s
[opt-env-conf-test] functionChunk "name",
1296.44 s
[opt-env-conf-test] " has no ",
1296.44 s
[opt-env-conf-test] functionChunk "metavar",
1296.44 s
[opt-env-conf-test] "."
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] LintErrorNoCommands ->
1296.44 s
[opt-env-conf-test] [ [ functionChunk "commands",
1296.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1296.44 s
[opt-env-conf-test] @@ -184,13 +184,12 @@
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1296.44 s
[opt-env-conf-test] [ [ functionChunk "env",
1296.44 s
[opt-env-conf-test] " or ",
1296.44 s
[opt-env-conf-test] functionChunk "name",
1296.44 s
[opt-env-conf-test] " has no ",
1296.44 s
[opt-env-conf-test] functionChunk "metavar",
1296.44 s
[opt-env-conf-test] - "."
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] LintErrorNoCommands ->
1296.44 s
[opt-env-conf-test] [ [ functionChunk "commands",
1296.44 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1296.44 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1296.44 s
[opt-env-conf-test] . showString " _ "
1296.44 s
[opt-env-conf-test] . go 11 p
1296.44 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1296.44 s
[opt-env-conf-test] - showParen (d > 10) $
1296.44 s
[opt-env-conf-test] + showParen (d > 1) $
1296.44 s
[opt-env-conf-test] showString "Commands "
1296.44 s
[opt-env-conf-test] . showsPrec 11 mLoc
1296.44 s
[opt-env-conf-test] . showString " "
1296.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1296.44 s
[opt-env-conf-test] @@ -198,10 +198,9 @@
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1296.44 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1296.44 s
[opt-env-conf-test] " was called with an unknown command: ",
1296.44 s
[opt-env-conf-test] - commandChunk c
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] ]
1296.44 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1296.44 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1296.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1296.44 s
[opt-env-conf-test] @@ -198,10 +198,7 @@
1303.08 s
[opt-env-conf-test] ]
1303.11 s
[opt-env-conf-test] ]
1303.11 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1303.11 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1303.11 s
[opt-env-conf-test] - " was called with an unknown command: ",
1303.11 s
[opt-env-conf-test] - commandChunk c
1303.11 s
[opt-env-conf-test] ]
1303.11 s
[opt-env-conf-test] ]
1303.11 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1303.11 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1303.11 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1303.11 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1303.11 s
[opt-env-conf-test] ]
1303.11 s
[opt-env-conf-test] ]
1303.11 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1303.11 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1303.11 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1303.11 s
[opt-env-conf-test] ]
1303.11 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1303.11 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1303.11 s
[opt-env-conf-test] @@ -175,13 +175,12 @@
1303.11 s
[opt-env-conf-test] ]
1303.11 s
[opt-env-conf-test] ]
1303.11 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1303.11 s
[opt-env-conf-test] [ [ functionChunk "env",
1303.11 s
[opt-env-conf-test] " or ",
1303.11 s
[opt-env-conf-test] functionChunk "name",
1303.11 s
[opt-env-conf-test] " has no ",
1303.11 s
[opt-env-conf-test] functionChunk "reader",
1303.12 s
[opt-env-conf-test] - "."
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1303.12 s
[opt-env-conf-test] [ [ functionChunk "env",
1303.12 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1303.12 s
[opt-env-conf-test] @@ -128,13 +128,7 @@
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1303.12 s
[opt-env-conf-test] - [ [ functionChunk "option",
1303.12 s
[opt-env-conf-test] - " or ",
1303.12 s
[opt-env-conf-test] - functionChunk "name",
1303.12 s
[opt-env-conf-test] - " has no ",
1303.12 s
[opt-env-conf-test] - functionChunk "reader",
1303.12 s
[opt-env-conf-test] - "."
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1303.12 s
[opt-env-conf-test] [ [ functionChunk "option",
1303.12 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1303.12 s
[opt-env-conf-test] @@ -175,13 +175,12 @@
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1303.12 s
[opt-env-conf-test] - [ [ functionChunk "env",
1303.12 s
[opt-env-conf-test] " or ",
1303.12 s
[opt-env-conf-test] functionChunk "name",
1303.12 s
[opt-env-conf-test] " has no ",
1303.12 s
[opt-env-conf-test] functionChunk "reader",
1303.12 s
[opt-env-conf-test] "."
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1303.12 s
[opt-env-conf-test] [ [ functionChunk "env",
1303.12 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1303.12 s
[opt-env-conf-test] @@ -128,13 +128,12 @@
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1303.12 s
[opt-env-conf-test] [ [ functionChunk "option",
1303.12 s
[opt-env-conf-test] " or ",
1303.12 s
[opt-env-conf-test] functionChunk "name",
1303.12 s
[opt-env-conf-test] " has no ",
1303.12 s
[opt-env-conf-test] functionChunk "reader",
1303.12 s
[opt-env-conf-test] - "."
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] ]
1303.12 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1303.12 s
[opt-env-conf-test] [ [ functionChunk "option",
1303.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1303.13 s
[opt-env-conf-test] @@ -128,13 +128,12 @@
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1303.13 s
[opt-env-conf-test] - [ [ functionChunk "option",
1303.13 s
[opt-env-conf-test] " or ",
1303.13 s
[opt-env-conf-test] functionChunk "name",
1303.13 s
[opt-env-conf-test] " has no ",
1303.13 s
[opt-env-conf-test] functionChunk "reader",
1303.13 s
[opt-env-conf-test] "."
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1303.13 s
[opt-env-conf-test] [ [ functionChunk "option",
1303.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1303.13 s
[opt-env-conf-test] @@ -184,13 +184,7 @@
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1303.13 s
[opt-env-conf-test] - [ [ functionChunk "env",
1303.13 s
[opt-env-conf-test] - " or ",
1303.13 s
[opt-env-conf-test] - functionChunk "name",
1303.13 s
[opt-env-conf-test] - " has no ",
1303.13 s
[opt-env-conf-test] - functionChunk "metavar",
1303.13 s
[opt-env-conf-test] - "."
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorNoCommands ->
1303.13 s
[opt-env-conf-test] [ [ functionChunk "commands",
1303.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
1303.13 s
[opt-env-conf-test] @@ -204,9 +204,8 @@
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1303.13 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1303.13 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1303.13 s
[opt-env-conf-test] [ [ functionChunk "conf",
1303.13 s
[opt-env-conf-test] " or ",
1303.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1303.13 s
[opt-env-conf-test] @@ -208,11 +208,7 @@
1303.13 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1303.13 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1303.13 s
[opt-env-conf-test] - " or ",
1303.13 s
[opt-env-conf-test] - functionChunk "name",
1303.13 s
[opt-env-conf-test] - " was called with no way to load configuration."
1303.13 s
[opt-env-conf-test] ],
1303.13 s
[opt-env-conf-test] [ "You can load configuration with ",
1303.13 s
[opt-env-conf-test] functionChunk "withConfig",
1303.13 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1303.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
1303.13 s
[opt-env-conf-test] @@ -204,9 +204,7 @@
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1303.13 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1303.13 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1303.13 s
[opt-env-conf-test] [ [ functionChunk "conf",
1303.13 s
[opt-env-conf-test] " or ",
1303.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
1303.13 s
[opt-env-conf-test] @@ -205,7 +205,6 @@
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1303.13 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1303.13 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1303.13 s
[opt-env-conf-test] [ [ functionChunk "conf",
1303.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
1303.13 s
[opt-env-conf-test] @@ -205,7 +205,6 @@
1303.13 s
[opt-env-conf-test] ]
1303.13 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1303.14 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1303.14 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1303.14 s
[opt-env-conf-test] ]
1303.14 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1303.14 s
[opt-env-conf-test] [ [ functionChunk "conf",
1303.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1303.14 s
[opt-env-conf-test] @@ -208,11 +208,10 @@
1303.14 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1303.14 s
[opt-env-conf-test] ]
1303.14 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1303.14 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1303.14 s
[opt-env-conf-test] " or ",
1303.14 s
[opt-env-conf-test] functionChunk "name",
1303.14 s
[opt-env-conf-test] " was called with no way to load configuration."
1303.14 s
[opt-env-conf-test] ],
1303.14 s
[opt-env-conf-test] [ "You can load configuration with ",
1303.14 s
[opt-env-conf-test] functionChunk "withConfig",
1303.14 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1303.14 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1303.14 s
[opt-env-conf-test] @@ -66,168 +66,151 @@
1303.14 s
[opt-env-conf-test] renderLintError LintError {..} =
1303.14 s
[opt-env-conf-test] concat
1303.14 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1303.14 s
[opt-env-conf-test] case lintErrorMessage of
1303.14 s
[opt-env-conf-test] LintErrorUndocumented ->
1303.14 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1303.14 s
[opt-env-conf-test] LintErrorEmptySetting ->
1303.14 s
[opt-env-conf-test] concat
1303.14 s
[opt-env-conf-test] [ [ [ "This ",
1303.14 s
[opt-env-conf-test] functionChunk "setting",
1303.14 s
[opt-env-conf-test] " parses nothing."
1303.14 s
[opt-env-conf-test] ]
1303.14 s
[opt-env-conf-test] ],
1303.14 s
[opt-env-conf-test] [ [ "Add an ",
1303.14 s
[opt-env-conf-test] functionChunk "argument",
1303.14 s
[opt-env-conf-test] ", ",
1303.14 s
[opt-env-conf-test] functionChunk "switch",
1303.14 s
[opt-env-conf-test] ", ",
1303.14 s
[opt-env-conf-test] functionChunk "option",
1303.14 s
[opt-env-conf-test] ", ",
1303.14 s
[opt-env-conf-test] functionChunk "env",
1303.14 s
[opt-env-conf-test] ", ",
1303.14 s
[opt-env-conf-test] functionChunk "conf",
1303.14 s
[opt-env-conf-test] ", or ",
1303.14 s
[opt-env-conf-test] functionChunk "value",
1303.14 s
[opt-env-conf-test] "."
1303.14 s
[opt-env-conf-test] ]
1303.14 s
[opt-env-conf-test] ]
1303.14 s
[opt-env-conf-test] ]
1303.14 s
[opt-env-conf-test] LintErrorDashInShort ->
1303.14 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1303.14 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1303.14 s
[opt-env-conf-test] ]
1303.14 s
[opt-env-conf-test] - LintErrorDashInLong s ->
1303.14 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1303.14 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1303.14 s
[opt-env-conf-test] - [ "Try ",
1303.14 s
[opt-env-conf-test] - functionChunk "long",
1303.14 s
[opt-env-conf-test] - " ",
1303.14 s
[opt-env-conf-test] - chunk $
1303.14 s
[opt-env-conf-test] - T.pack $
1303.14 s
[opt-env-conf-test] - show $
1303.14 s
[opt-env-conf-test] - let go = \case
1303.14 s
[opt-env-conf-test] - [] -> []
1303.14 s
[opt-env-conf-test] - '-' : cs -> go cs
1303.14 s
[opt-env-conf-test] - c : cs -> c : cs
1303.14 s
[opt-env-conf-test] - in go $ NE.toList s,
1303.15 s
[opt-env-conf-test] - " instead."
1303.15 s
[opt-env-conf-test] - ]
1303.15 s
[opt-env-conf-test] - ]
1303.15 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1303.15 s
[opt-env-conf-test] [ [ functionChunk "argument",
1303.15 s
[opt-env-conf-test] " has no ",
1303.15 s
[opt-env-conf-test] functionChunk "reader",
1303.15 s
[opt-env-conf-test] "."
1303.15 s
[opt-env-conf-test] ]
1303.15 s
[opt-env-conf-test] ]
1303.15 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1303.15 s
[opt-env-conf-test] [ [ functionChunk "argument",
1303.15 s
[opt-env-conf-test] " has no ",
1303.15 s
[opt-env-conf-test] functionChunk "metavar",
1303.15 s
[opt-env-conf-test] "."
1303.15 s
[opt-env-conf-test] ]
1303.15 s
[opt-env-conf-test] ]
1303.15 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1303.15 s
[opt-env-conf-test] [ [ functionChunk "option",
1303.15 s
[opt-env-conf-test] " or ",
1303.15 s
[opt-env-conf-test] functionChunk "name",
1303.15 s
[opt-env-conf-test] " has no ",
1303.15 s
[opt-env-conf-test] functionChunk "reader",
1303.15 s
[opt-env-conf-test] "."
1303.15 s
[opt-env-conf-test] ]
1303.15 s
[opt-env-conf-test] ]
1303.15 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1303.15 s
[opt-env-conf-test] [ [ functionChunk "option",
1303.15 s
[opt-env-conf-test] " has no ",
1303.15 s
[opt-env-conf-test] functionChunk "long",
1303.15 s
[opt-env-conf-test] " or ",
1303.15 s
[opt-env-conf-test] functionChunk "short",
1303.15 s
[opt-env-conf-test] "."
1303.15 s
[opt-env-conf-test] ]
1303.15 s
[opt-env-conf-test] ]
1303.15 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1303.16 s
[opt-env-conf-test] [ [ functionChunk "option",
1303.16 s
[opt-env-conf-test] " or ",
1303.16 s
[opt-env-conf-test] functionChunk "name",
1303.16 s
[opt-env-conf-test] " has no ",
1303.16 s
[opt-env-conf-test] functionChunk "metavar",
1303.16 s
[opt-env-conf-test] "."
1303.16 s
[opt-env-conf-test] ]
1303.16 s
[opt-env-conf-test] ]
1303.16 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1303.16 s
[opt-env-conf-test] [ [ functionChunk "switch",
1303.16 s
[opt-env-conf-test] " has no ",
1303.16 s
[opt-env-conf-test] functionChunk "long",
1303.16 s
[opt-env-conf-test] " or ",
1303.16 s
[opt-env-conf-test] functionChunk "short",
1303.16 s
[opt-env-conf-test] "."
1303.16 s
[opt-env-conf-test] ]
1303.16 s
[opt-env-conf-test] ]
1303.16 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1303.16 s
[opt-env-conf-test] [ [ functionChunk "long",
1303.16 s
[opt-env-conf-test] " or ",
1303.16 s
[opt-env-conf-test] functionChunk "short",
1303.17 s
[opt-env-conf-test] " has no ",
1303.17 s
[opt-env-conf-test] functionChunk "option",
1303.17 s
[opt-env-conf-test] " or ",
1303.17 s
[opt-env-conf-test] functionChunk "switch",
1303.17 s
[opt-env-conf-test] "."
1303.17 s
[opt-env-conf-test] ]
1303.17 s
[opt-env-conf-test] ]
1303.17 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1303.17 s
[opt-env-conf-test] [ [ functionChunk "env",
1303.17 s
[opt-env-conf-test] " or ",
1303.17 s
[opt-env-conf-test] functionChunk "name",
1303.17 s
[opt-env-conf-test] " has no ",
1303.17 s
[opt-env-conf-test] functionChunk "reader",
1303.17 s
[opt-env-conf-test] "."
1303.17 s
[opt-env-conf-test] ]
1303.17 s
[opt-env-conf-test] ]
1303.17 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1303.17 s
[opt-env-conf-test] [ [ functionChunk "env",
1303.17 s
[opt-env-conf-test] " or ",
1303.17 s
[opt-env-conf-test] functionChunk "name",
1303.17 s
[opt-env-conf-test] " has no ",
1303.17 s
[opt-env-conf-test] functionChunk "metavar",
1303.17 s
[opt-env-conf-test] "."
1303.17 s
[opt-env-conf-test] ]
1303.75 s
[opt-env-conf-test] ]
1303.75 s
[opt-env-conf-test] LintErrorNoCommands ->
1303.75 s
[opt-env-conf-test] [ [ functionChunk "commands",
1303.76 s
[opt-env-conf-test] " was called with an empty list."
1303.76 s
[opt-env-conf-test] ]
1303.76 s
[opt-env-conf-test] ]
1303.76 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1303.76 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1303.76 s
[opt-env-conf-test] " was called with an unknown command: ",
1303.76 s
[opt-env-conf-test] commandChunk c
1303.76 s
[opt-env-conf-test] ]
1303.76 s
[opt-env-conf-test] ]
1303.76 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1303.76 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1303.76 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1303.76 s
[opt-env-conf-test] ]
1303.76 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1303.76 s
[opt-env-conf-test] [ [ functionChunk "conf",
1303.76 s
[opt-env-conf-test] " or ",
1303.76 s
[opt-env-conf-test] functionChunk "name",
1303.76 s
[opt-env-conf-test] " was called with no way to load configuration."
1303.76 s
[opt-env-conf-test] ],
1303.76 s
[opt-env-conf-test] [ "You can load configuration with ",
1303.76 s
[opt-env-conf-test] functionChunk "withConfig",
1303.76 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1303.76 s
[opt-env-conf-test] functionChunk "withoutConfig",
1303.76 s
[opt-env-conf-test] "."
1303.76 s
[opt-env-conf-test] ]
1303.76 s
[opt-env-conf-test] ]
1303.76 s
[opt-env-conf-test] LintErrorManyInfinite ->
1303.76 s
[opt-env-conf-test] [ [ functionChunk "many",
1303.76 s
[opt-env-conf-test] " or ",
1303.76 s
[opt-env-conf-test] functionChunk "some",
1303.76 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1303.76 s
[opt-env-conf-test] ],
1303.76 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1303.76 s
[opt-env-conf-test] ],
1303.76 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1303.76 s
[opt-env-conf-test] ]
1303.76 s
[opt-env-conf-test]
1303.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1303.76 s
[opt-env-conf-test] @@ -66,168 +66,161 @@
1303.76 s
[opt-env-conf-test] renderLintError LintError {..} =
1303.76 s
[opt-env-conf-test] concat
1303.76 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1303.76 s
[opt-env-conf-test] case lintErrorMessage of
1303.76 s
[opt-env-conf-test] LintErrorUndocumented ->
1303.76 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1303.76 s
[opt-env-conf-test] LintErrorEmptySetting ->
1303.76 s
[opt-env-conf-test] concat
1303.76 s
[opt-env-conf-test] [ [ [ "This ",
1303.76 s
[opt-env-conf-test] functionChunk "setting",
1303.76 s
[opt-env-conf-test] " parses nothing."
1303.76 s
[opt-env-conf-test] ]
1303.76 s
[opt-env-conf-test] ],
1303.76 s
[opt-env-conf-test] [ [ "Add an ",
1303.77 s
[opt-env-conf-test] functionChunk "argument",
1303.77 s
[opt-env-conf-test] ", ",
1303.77 s
[opt-env-conf-test] functionChunk "switch",
1303.77 s
[opt-env-conf-test] ", ",
1303.77 s
[opt-env-conf-test] functionChunk "option",
1303.77 s
[opt-env-conf-test] ", ",
1303.77 s
[opt-env-conf-test] functionChunk "env",
1303.77 s
[opt-env-conf-test] ", ",
1303.77 s
[opt-env-conf-test] functionChunk "conf",
1303.77 s
[opt-env-conf-test] ", or ",
1303.77 s
[opt-env-conf-test] functionChunk "value",
1303.77 s
[opt-env-conf-test] "."
1303.77 s
[opt-env-conf-test] ]
1303.77 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] LintErrorDashInShort ->
1303.78 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1303.78 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] LintErrorDashInLong s ->
1303.78 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1303.78 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1303.78 s
[opt-env-conf-test] [ "Try ",
1303.78 s
[opt-env-conf-test] functionChunk "long",
1303.78 s
[opt-env-conf-test] " ",
1303.78 s
[opt-env-conf-test] chunk $
1303.78 s
[opt-env-conf-test] T.pack $
1303.78 s
[opt-env-conf-test] show $
1303.78 s
[opt-env-conf-test] let go = \case
1303.78 s
[opt-env-conf-test] [] -> []
1303.78 s
[opt-env-conf-test] '-' : cs -> go cs
1303.78 s
[opt-env-conf-test] c : cs -> c : cs
1303.78 s
[opt-env-conf-test] in go $ NE.toList s,
1303.78 s
[opt-env-conf-test] " instead."
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] - LintErrorNoReaderForArgument ->
1303.78 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1303.78 s
[opt-env-conf-test] - " has no ",
1303.78 s
[opt-env-conf-test] - functionChunk "reader",
1303.78 s
[opt-env-conf-test] - "."
1303.78 s
[opt-env-conf-test] - ]
1303.78 s
[opt-env-conf-test] - ]
1303.78 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1303.78 s
[opt-env-conf-test] [ [ functionChunk "argument",
1303.78 s
[opt-env-conf-test] " has no ",
1303.78 s
[opt-env-conf-test] functionChunk "metavar",
1303.78 s
[opt-env-conf-test] "."
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1303.78 s
[opt-env-conf-test] [ [ functionChunk "option",
1303.78 s
[opt-env-conf-test] " or ",
1303.78 s
[opt-env-conf-test] functionChunk "name",
1303.78 s
[opt-env-conf-test] " has no ",
1303.78 s
[opt-env-conf-test] functionChunk "reader",
1303.78 s
[opt-env-conf-test] "."
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1303.78 s
[opt-env-conf-test] [ [ functionChunk "option",
1303.78 s
[opt-env-conf-test] " has no ",
1303.78 s
[opt-env-conf-test] functionChunk "long",
1303.78 s
[opt-env-conf-test] " or ",
1303.78 s
[opt-env-conf-test] functionChunk "short",
1303.78 s
[opt-env-conf-test] "."
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1303.78 s
[opt-env-conf-test] [ [ functionChunk "option",
1303.78 s
[opt-env-conf-test] " or ",
1303.78 s
[opt-env-conf-test] functionChunk "name",
1303.78 s
[opt-env-conf-test] " has no ",
1303.78 s
[opt-env-conf-test] functionChunk "metavar",
1303.78 s
[opt-env-conf-test] "."
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] ]
1303.78 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1303.78 s
[opt-env-conf-test] [ [ functionChunk "switch",
1303.79 s
[opt-env-conf-test] " has no ",
1303.79 s
[opt-env-conf-test] functionChunk "long",
1303.79 s
[opt-env-conf-test] " or ",
1303.79 s
[opt-env-conf-test] functionChunk "short",
1303.79 s
[opt-env-conf-test] "."
1303.79 s
[opt-env-conf-test] ]
1303.79 s
[opt-env-conf-test] ]
1303.79 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1303.79 s
[opt-env-conf-test] [ [ functionChunk "long",
1303.79 s
[opt-env-conf-test] " or ",
1303.79 s
[opt-env-conf-test] functionChunk "short",
1303.79 s
[opt-env-conf-test] " has no ",
1303.79 s
[opt-env-conf-test] functionChunk "option",
1303.79 s
[opt-env-conf-test] " or ",
1303.79 s
[opt-env-conf-test] functionChunk "switch",
1303.79 s
[opt-env-conf-test] "."
1303.79 s
[opt-env-conf-test] ]
1303.79 s
[opt-env-conf-test] ]
1303.79 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1303.79 s
[opt-env-conf-test] [ [ functionChunk "env",
1303.79 s
[opt-env-conf-test] " or ",
1303.79 s
[opt-env-conf-test] functionChunk "name",
1303.79 s
[opt-env-conf-test] " has no ",
1303.79 s
[opt-env-conf-test] functionChunk "reader",
1303.79 s
[opt-env-conf-test] "."
1303.79 s
[opt-env-conf-test] ]
1303.79 s
[opt-env-conf-test] ]
1303.79 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1303.79 s
[opt-env-conf-test] [ [ functionChunk "env",
1303.79 s
[opt-env-conf-test] " or ",
1303.79 s
[opt-env-conf-test] functionChunk "name",
1303.79 s
[opt-env-conf-test] " has no ",
1303.79 s
[opt-env-conf-test] functionChunk "metavar",
1303.79 s
[opt-env-conf-test] "."
1303.79 s
[opt-env-conf-test] ]
1303.79 s
[opt-env-conf-test] ]
1303.79 s
[opt-env-conf-test] LintErrorNoCommands ->
1304.59 s
[opt-env-conf-test] [ [ functionChunk "commands",
1304.59 s
[opt-env-conf-test] " was called with an empty list."
1304.59 s
[opt-env-conf-test] ]
1304.59 s
[opt-env-conf-test] ]
1304.59 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1304.59 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1304.59 s
[opt-env-conf-test] " was called with an unknown command: ",
1304.59 s
[opt-env-conf-test] commandChunk c
1304.59 s
[opt-env-conf-test] ]
1304.59 s
[opt-env-conf-test] ]
1304.59 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1304.59 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1304.59 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1304.59 s
[opt-env-conf-test] ]
1304.59 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1304.59 s
[opt-env-conf-test] [ [ functionChunk "conf",
1304.59 s
[opt-env-conf-test] " or ",
1304.59 s
[opt-env-conf-test] functionChunk "name",
1304.59 s
[opt-env-conf-test] " was called with no way to load configuration."
1304.59 s
[opt-env-conf-test] ],
1304.59 s
[opt-env-conf-test] [ "You can load configuration with ",
1304.59 s
[opt-env-conf-test] functionChunk "withConfig",
1304.59 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1304.59 s
[opt-env-conf-test] functionChunk "withoutConfig",
1304.59 s
[opt-env-conf-test] "."
1304.59 s
[opt-env-conf-test] ]
1304.59 s
[opt-env-conf-test] ]
1304.59 s
[opt-env-conf-test] LintErrorManyInfinite ->
1304.59 s
[opt-env-conf-test] [ [ functionChunk "many",
1304.59 s
[opt-env-conf-test] " or ",
1304.59 s
[opt-env-conf-test] functionChunk "some",
1304.59 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1304.59 s
[opt-env-conf-test] ],
1304.59 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1304.59 s
[opt-env-conf-test] ],
1304.59 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1304.59 s
[opt-env-conf-test] ]
1304.59 s
[opt-env-conf-test]
1304.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1304.59 s
[opt-env-conf-test] @@ -66,168 +66,161 @@
1304.60 s
[opt-env-conf-test] renderLintError LintError {..} =
1304.60 s
[opt-env-conf-test] concat
1304.60 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1304.60 s
[opt-env-conf-test] case lintErrorMessage of
1304.60 s
[opt-env-conf-test] LintErrorUndocumented ->
1304.60 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1304.60 s
[opt-env-conf-test] LintErrorEmptySetting ->
1304.60 s
[opt-env-conf-test] concat
1304.60 s
[opt-env-conf-test] [ [ [ "This ",
1304.60 s
[opt-env-conf-test] functionChunk "setting",
1304.60 s
[opt-env-conf-test] " parses nothing."
1304.60 s
[opt-env-conf-test] ]
1304.60 s
[opt-env-conf-test] ],
1304.60 s
[opt-env-conf-test] [ [ "Add an ",
1304.60 s
[opt-env-conf-test] functionChunk "argument",
1304.60 s
[opt-env-conf-test] ", ",
1304.60 s
[opt-env-conf-test] functionChunk "switch",
1304.60 s
[opt-env-conf-test] ", ",
1304.60 s
[opt-env-conf-test] functionChunk "option",
1304.60 s
[opt-env-conf-test] ", ",
1304.60 s
[opt-env-conf-test] functionChunk "env",
1304.60 s
[opt-env-conf-test] ", ",
1304.60 s
[opt-env-conf-test] functionChunk "conf",
1304.60 s
[opt-env-conf-test] ", or ",
1304.60 s
[opt-env-conf-test] functionChunk "value",
1304.60 s
[opt-env-conf-test] "."
1304.60 s
[opt-env-conf-test] ]
1304.61 s
[opt-env-conf-test] ]
1304.61 s
[opt-env-conf-test] ]
1304.61 s
[opt-env-conf-test] LintErrorDashInShort ->
1304.61 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1304.61 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1304.61 s
[opt-env-conf-test] ]
1304.61 s
[opt-env-conf-test] LintErrorDashInLong s ->
1304.61 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1304.61 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1304.61 s
[opt-env-conf-test] [ "Try ",
1304.61 s
[opt-env-conf-test] functionChunk "long",
1304.61 s
[opt-env-conf-test] " ",
1304.61 s
[opt-env-conf-test] chunk $
1304.61 s
[opt-env-conf-test] T.pack $
1304.61 s
[opt-env-conf-test] show $
1304.61 s
[opt-env-conf-test] let go = \case
1304.61 s
[opt-env-conf-test] [] -> []
1304.61 s
[opt-env-conf-test] '-' : cs -> go cs
1304.61 s
[opt-env-conf-test] c : cs -> c : cs
1304.61 s
[opt-env-conf-test] in go $ NE.toList s,
1304.61 s
[opt-env-conf-test] " instead."
1304.61 s
[opt-env-conf-test] ]
1304.61 s
[opt-env-conf-test] ]
1304.61 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1304.61 s
[opt-env-conf-test] [ [ functionChunk "argument",
1304.61 s
[opt-env-conf-test] " has no ",
1304.61 s
[opt-env-conf-test] functionChunk "reader",
1304.61 s
[opt-env-conf-test] "."
1304.61 s
[opt-env-conf-test] ]
1304.62 s
[opt-env-conf-test] ]
1304.62 s
[opt-env-conf-test] - LintErrorNoMetavarForArgument ->
1304.62 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1304.62 s
[opt-env-conf-test] - " has no ",
1304.62 s
[opt-env-conf-test] - functionChunk "metavar",
1304.62 s
[opt-env-conf-test] - "."
1304.62 s
[opt-env-conf-test] - ]
1304.62 s
[opt-env-conf-test] - ]
1304.62 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1304.62 s
[opt-env-conf-test] [ [ functionChunk "option",
1304.62 s
[opt-env-conf-test] " or ",
1304.62 s
[opt-env-conf-test] functionChunk "name",
1304.62 s
[opt-env-conf-test] " has no ",
1304.62 s
[opt-env-conf-test] functionChunk "reader",
1304.62 s
[opt-env-conf-test] "."
1304.62 s
[opt-env-conf-test] ]
1304.62 s
[opt-env-conf-test] ]
1304.62 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1304.62 s
[opt-env-conf-test] [ [ functionChunk "option",
1304.62 s
[opt-env-conf-test] " has no ",
1304.62 s
[opt-env-conf-test] functionChunk "long",
1304.62 s
[opt-env-conf-test] " or ",
1304.62 s
[opt-env-conf-test] functionChunk "short",
1304.62 s
[opt-env-conf-test] "."
1304.62 s
[opt-env-conf-test] ]
1304.62 s
[opt-env-conf-test] ]
1304.62 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1304.62 s
[opt-env-conf-test] [ [ functionChunk "option",
1304.62 s
[opt-env-conf-test] " or ",
1304.62 s
[opt-env-conf-test] functionChunk "name",
1304.62 s
[opt-env-conf-test] " has no ",
1304.62 s
[opt-env-conf-test] functionChunk "metavar",
1304.62 s
[opt-env-conf-test] "."
1304.62 s
[opt-env-conf-test] ]
1304.62 s
[opt-env-conf-test] ]
1304.62 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1304.62 s
[opt-env-conf-test] [ [ functionChunk "switch",
1304.62 s
[opt-env-conf-test] " has no ",
1304.62 s
[opt-env-conf-test] functionChunk "long",
1304.62 s
[opt-env-conf-test] " or ",
1304.62 s
[opt-env-conf-test] functionChunk "short",
1304.62 s
[opt-env-conf-test] "."
1304.62 s
[opt-env-conf-test] ]
1304.62 s
[opt-env-conf-test] ]
1304.62 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1304.62 s
[opt-env-conf-test] [ [ functionChunk "long",
1304.62 s
[opt-env-conf-test] " or ",
1304.62 s
[opt-env-conf-test] functionChunk "short",
1304.62 s
[opt-env-conf-test] " has no ",
1304.62 s
[opt-env-conf-test] functionChunk "option",
1304.62 s
[opt-env-conf-test] " or ",
1304.62 s
[opt-env-conf-test] functionChunk "switch",
1304.62 s
[opt-env-conf-test] "."
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1304.63 s
[opt-env-conf-test] [ [ functionChunk "env",
1304.63 s
[opt-env-conf-test] " or ",
1304.63 s
[opt-env-conf-test] functionChunk "name",
1304.63 s
[opt-env-conf-test] " has no ",
1304.63 s
[opt-env-conf-test] functionChunk "reader",
1304.63 s
[opt-env-conf-test] "."
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1304.63 s
[opt-env-conf-test] [ [ functionChunk "env",
1304.63 s
[opt-env-conf-test] " or ",
1304.63 s
[opt-env-conf-test] functionChunk "name",
1304.63 s
[opt-env-conf-test] " has no ",
1304.63 s
[opt-env-conf-test] functionChunk "metavar",
1304.63 s
[opt-env-conf-test] "."
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] LintErrorNoCommands ->
1304.63 s
[opt-env-conf-test] [ [ functionChunk "commands",
1304.63 s
[opt-env-conf-test] " was called with an empty list."
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1304.63 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1304.63 s
[opt-env-conf-test] " was called with an unknown command: ",
1304.63 s
[opt-env-conf-test] commandChunk c
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1304.63 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1304.63 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1304.63 s
[opt-env-conf-test] [ [ functionChunk "conf",
1304.63 s
[opt-env-conf-test] " or ",
1304.63 s
[opt-env-conf-test] functionChunk "name",
1304.63 s
[opt-env-conf-test] " was called with no way to load configuration."
1304.63 s
[opt-env-conf-test] ],
1304.63 s
[opt-env-conf-test] [ "You can load configuration with ",
1304.63 s
[opt-env-conf-test] functionChunk "withConfig",
1304.63 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1304.63 s
[opt-env-conf-test] functionChunk "withoutConfig",
1304.63 s
[opt-env-conf-test] "."
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test] LintErrorManyInfinite ->
1304.63 s
[opt-env-conf-test] [ [ functionChunk "many",
1304.63 s
[opt-env-conf-test] " or ",
1304.63 s
[opt-env-conf-test] functionChunk "some",
1304.63 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1304.63 s
[opt-env-conf-test] ],
1304.63 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1304.63 s
[opt-env-conf-test] ],
1304.63 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1304.63 s
[opt-env-conf-test] ]
1304.63 s
[opt-env-conf-test]
1304.63 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1304.63 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1304.63 s
[opt-env-conf-test] renderLintError LintError {..} =
1304.63 s
[opt-env-conf-test] concat
1304.63 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1304.63 s
[opt-env-conf-test] case lintErrorMessage of
1304.63 s
[opt-env-conf-test] LintErrorUndocumented ->
1304.63 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1304.63 s
[opt-env-conf-test] LintErrorEmptySetting ->
1304.63 s
[opt-env-conf-test] concat
1304.63 s
[opt-env-conf-test] [ [ [ "This ",
1304.63 s
[opt-env-conf-test] functionChunk "setting",
1304.63 s
[opt-env-conf-test] " parses nothing."
1304.63 s
[opt-env-conf-test] ]
1304.64 s
[opt-env-conf-test] ],
1304.64 s
[opt-env-conf-test] [ [ "Add an ",
1304.64 s
[opt-env-conf-test] functionChunk "argument",
1304.64 s
[opt-env-conf-test] ", ",
1304.64 s
[opt-env-conf-test] functionChunk "switch",
1304.64 s
[opt-env-conf-test] ", ",
1304.64 s
[opt-env-conf-test] functionChunk "option",
1304.64 s
[opt-env-conf-test] ", ",
1304.64 s
[opt-env-conf-test] functionChunk "env",
1304.64 s
[opt-env-conf-test] ", ",
1304.64 s
[opt-env-conf-test] functionChunk "conf",
1304.64 s
[opt-env-conf-test] ", or ",
1304.64 s
[opt-env-conf-test] functionChunk "value",
1304.64 s
[opt-env-conf-test] "."
1304.64 s
[opt-env-conf-test] ]
1304.64 s
[opt-env-conf-test] ]
1304.64 s
[opt-env-conf-test] ]
1304.64 s
[opt-env-conf-test] LintErrorDashInShort ->
1304.64 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1304.64 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1304.64 s
[opt-env-conf-test] ]
1304.64 s
[opt-env-conf-test] LintErrorDashInLong s ->
1304.64 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1304.64 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1304.64 s
[opt-env-conf-test] [ "Try ",
1304.64 s
[opt-env-conf-test] functionChunk "long",
1304.64 s
[opt-env-conf-test] " ",
1304.64 s
[opt-env-conf-test] chunk $
1304.64 s
[opt-env-conf-test] T.pack $
1304.64 s
[opt-env-conf-test] show $
1304.64 s
[opt-env-conf-test] let go = \case
1304.64 s
[opt-env-conf-test] [] -> []
1304.64 s
[opt-env-conf-test] '-' : cs -> go cs
1304.64 s
[opt-env-conf-test] c : cs -> c : cs
1304.64 s
[opt-env-conf-test] in go $ NE.toList s,
1304.64 s
[opt-env-conf-test] " instead."
1304.64 s
[opt-env-conf-test] ]
1304.64 s
[opt-env-conf-test] ]
1304.64 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1304.64 s
[opt-env-conf-test] [ [ functionChunk "argument",
1304.64 s
[opt-env-conf-test] " has no ",
1304.64 s
[opt-env-conf-test] functionChunk "reader",
1304.64 s
[opt-env-conf-test] "."
1304.64 s
[opt-env-conf-test] ]
1304.64 s
[opt-env-conf-test] ]
1304.64 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1304.64 s
[opt-env-conf-test] [ [ functionChunk "argument",
1304.64 s
[opt-env-conf-test] " has no ",
1304.64 s
[opt-env-conf-test] functionChunk "metavar",
1304.64 s
[opt-env-conf-test] "."
1304.64 s
[opt-env-conf-test] ]
1304.64 s
[opt-env-conf-test] ]
1304.64 s
[opt-env-conf-test] - LintErrorNoReaderForOption ->
1304.64 s
[opt-env-conf-test] - [ [ functionChunk "option",
1304.64 s
[opt-env-conf-test] - " or ",
1304.64 s
[opt-env-conf-test] - functionChunk "name",
1304.64 s
[opt-env-conf-test] - " has no ",
1304.64 s
[opt-env-conf-test] - functionChunk "reader",
1304.64 s
[opt-env-conf-test] - "."
1304.64 s
[opt-env-conf-test] - ]
1304.64 s
[opt-env-conf-test] - ]
1304.64 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1304.64 s
[opt-env-conf-test] [ [ functionChunk "option",
1304.64 s
[opt-env-conf-test] " has no ",
1304.64 s
[opt-env-conf-test] functionChunk "long",
1304.64 s
[opt-env-conf-test] " or ",
1304.64 s
[opt-env-conf-test] functionChunk "short",
1304.64 s
[opt-env-conf-test] "."
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1304.65 s
[opt-env-conf-test] [ [ functionChunk "option",
1304.65 s
[opt-env-conf-test] " or ",
1304.65 s
[opt-env-conf-test] functionChunk "name",
1304.65 s
[opt-env-conf-test] " has no ",
1304.65 s
[opt-env-conf-test] functionChunk "metavar",
1304.65 s
[opt-env-conf-test] "."
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1304.65 s
[opt-env-conf-test] [ [ functionChunk "switch",
1304.65 s
[opt-env-conf-test] " has no ",
1304.65 s
[opt-env-conf-test] functionChunk "long",
1304.65 s
[opt-env-conf-test] " or ",
1304.65 s
[opt-env-conf-test] functionChunk "short",
1304.65 s
[opt-env-conf-test] "."
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1304.65 s
[opt-env-conf-test] [ [ functionChunk "long",
1304.65 s
[opt-env-conf-test] " or ",
1304.65 s
[opt-env-conf-test] functionChunk "short",
1304.65 s
[opt-env-conf-test] " has no ",
1304.65 s
[opt-env-conf-test] functionChunk "option",
1304.65 s
[opt-env-conf-test] " or ",
1304.65 s
[opt-env-conf-test] functionChunk "switch",
1304.65 s
[opt-env-conf-test] "."
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1304.65 s
[opt-env-conf-test] [ [ functionChunk "env",
1304.65 s
[opt-env-conf-test] " or ",
1304.65 s
[opt-env-conf-test] functionChunk "name",
1304.65 s
[opt-env-conf-test] " has no ",
1304.65 s
[opt-env-conf-test] functionChunk "reader",
1304.65 s
[opt-env-conf-test] "."
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1304.65 s
[opt-env-conf-test] [ [ functionChunk "env",
1304.65 s
[opt-env-conf-test] " or ",
1304.65 s
[opt-env-conf-test] functionChunk "name",
1304.65 s
[opt-env-conf-test] " has no ",
1304.65 s
[opt-env-conf-test] functionChunk "metavar",
1304.65 s
[opt-env-conf-test] "."
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] ]
1304.65 s
[opt-env-conf-test] LintErrorNoCommands ->
1306.13 s
[opt-env-conf-test] [ [ functionChunk "commands",
1306.13 s
[opt-env-conf-test] " was called with an empty list."
1306.13 s
[opt-env-conf-test] ]
1306.13 s
[opt-env-conf-test] ]
1306.13 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1306.13 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1306.13 s
[opt-env-conf-test] " was called with an unknown command: ",
1306.13 s
[opt-env-conf-test] commandChunk c
1306.13 s
[opt-env-conf-test] ]
1306.13 s
[opt-env-conf-test] ]
1306.13 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1306.13 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1306.13 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1306.13 s
[opt-env-conf-test] ]
1306.13 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1306.13 s
[opt-env-conf-test] [ [ functionChunk "conf",
1306.13 s
[opt-env-conf-test] " or ",
1306.13 s
[opt-env-conf-test] functionChunk "name",
1306.13 s
[opt-env-conf-test] " was called with no way to load configuration."
1306.13 s
[opt-env-conf-test] ],
1306.13 s
[opt-env-conf-test] [ "You can load configuration with ",
1306.13 s
[opt-env-conf-test] functionChunk "withConfig",
1306.13 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1306.13 s
[opt-env-conf-test] functionChunk "withoutConfig",
1306.13 s
[opt-env-conf-test] "."
1306.13 s
[opt-env-conf-test] ]
1306.13 s
[opt-env-conf-test] ]
1306.13 s
[opt-env-conf-test] LintErrorManyInfinite ->
1306.13 s
[opt-env-conf-test] [ [ functionChunk "many",
1306.13 s
[opt-env-conf-test] " or ",
1306.13 s
[opt-env-conf-test] functionChunk "some",
1306.14 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1306.14 s
[opt-env-conf-test] ],
1306.14 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1306.14 s
[opt-env-conf-test] ],
1306.14 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1306.14 s
[opt-env-conf-test] ]
1306.14 s
[opt-env-conf-test]
1306.14 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1306.14 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1306.14 s
[opt-env-conf-test] renderLintError LintError {..} =
1306.14 s
[opt-env-conf-test] concat
1306.14 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1306.14 s
[opt-env-conf-test] case lintErrorMessage of
1306.14 s
[opt-env-conf-test] LintErrorUndocumented ->
1306.14 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1306.14 s
[opt-env-conf-test] LintErrorEmptySetting ->
1306.14 s
[opt-env-conf-test] concat
1306.14 s
[opt-env-conf-test] [ [ [ "This ",
1306.14 s
[opt-env-conf-test] functionChunk "setting",
1306.14 s
[opt-env-conf-test] " parses nothing."
1306.14 s
[opt-env-conf-test] ]
1306.14 s
[opt-env-conf-test] ],
1306.14 s
[opt-env-conf-test] [ [ "Add an ",
1306.14 s
[opt-env-conf-test] functionChunk "argument",
1306.14 s
[opt-env-conf-test] ", ",
1306.14 s
[opt-env-conf-test] functionChunk "switch",
1306.14 s
[opt-env-conf-test] ", ",
1306.14 s
[opt-env-conf-test] functionChunk "option",
1306.14 s
[opt-env-conf-test] ", ",
1306.14 s
[opt-env-conf-test] functionChunk "env",
1306.14 s
[opt-env-conf-test] ", ",
1306.14 s
[opt-env-conf-test] functionChunk "conf",
1306.14 s
[opt-env-conf-test] ", or ",
1306.14 s
[opt-env-conf-test] functionChunk "value",
1306.14 s
[opt-env-conf-test] "."
1306.14 s
[opt-env-conf-test] ]
1306.14 s
[opt-env-conf-test] ]
1306.14 s
[opt-env-conf-test] ]
1306.14 s
[opt-env-conf-test] LintErrorDashInShort ->
1306.14 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1306.14 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1306.14 s
[opt-env-conf-test] ]
1306.14 s
[opt-env-conf-test] LintErrorDashInLong s ->
1306.14 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1306.14 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1306.14 s
[opt-env-conf-test] [ "Try ",
1306.14 s
[opt-env-conf-test] functionChunk "long",
1306.14 s
[opt-env-conf-test] " ",
1306.14 s
[opt-env-conf-test] chunk $
1306.14 s
[opt-env-conf-test] T.pack $
1306.14 s
[opt-env-conf-test] show $
1306.14 s
[opt-env-conf-test] let go = \case
1306.14 s
[opt-env-conf-test] [] -> []
1306.14 s
[opt-env-conf-test] '-' : cs -> go cs
1306.14 s
[opt-env-conf-test] c : cs -> c : cs
1306.14 s
[opt-env-conf-test] in go $ NE.toList s,
1306.14 s
[opt-env-conf-test] " instead."
1306.14 s
[opt-env-conf-test] ]
1306.14 s
[opt-env-conf-test] ]
1306.14 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1306.14 s
[opt-env-conf-test] [ [ functionChunk "argument",
1306.14 s
[opt-env-conf-test] " has no ",
1306.14 s
[opt-env-conf-test] functionChunk "reader",
1306.14 s
[opt-env-conf-test] "."
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1306.15 s
[opt-env-conf-test] [ [ functionChunk "argument",
1306.15 s
[opt-env-conf-test] " has no ",
1306.15 s
[opt-env-conf-test] functionChunk "metavar",
1306.15 s
[opt-env-conf-test] "."
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1306.15 s
[opt-env-conf-test] [ [ functionChunk "option",
1306.15 s
[opt-env-conf-test] " or ",
1306.15 s
[opt-env-conf-test] functionChunk "name",
1306.15 s
[opt-env-conf-test] " has no ",
1306.15 s
[opt-env-conf-test] functionChunk "reader",
1306.15 s
[opt-env-conf-test] "."
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] - LintErrorNoDashedForOption ->
1306.15 s
[opt-env-conf-test] - [ [ functionChunk "option",
1306.15 s
[opt-env-conf-test] - " has no ",
1306.15 s
[opt-env-conf-test] - functionChunk "long",
1306.15 s
[opt-env-conf-test] - " or ",
1306.15 s
[opt-env-conf-test] - functionChunk "short",
1306.15 s
[opt-env-conf-test] - "."
1306.15 s
[opt-env-conf-test] - ]
1306.15 s
[opt-env-conf-test] - ]
1306.15 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1306.15 s
[opt-env-conf-test] [ [ functionChunk "option",
1306.15 s
[opt-env-conf-test] " or ",
1306.15 s
[opt-env-conf-test] functionChunk "name",
1306.15 s
[opt-env-conf-test] " has no ",
1306.15 s
[opt-env-conf-test] functionChunk "metavar",
1306.15 s
[opt-env-conf-test] "."
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1306.15 s
[opt-env-conf-test] [ [ functionChunk "switch",
1306.15 s
[opt-env-conf-test] " has no ",
1306.15 s
[opt-env-conf-test] functionChunk "long",
1306.15 s
[opt-env-conf-test] " or ",
1306.15 s
[opt-env-conf-test] functionChunk "short",
1306.15 s
[opt-env-conf-test] "."
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1306.15 s
[opt-env-conf-test] [ [ functionChunk "long",
1306.15 s
[opt-env-conf-test] " or ",
1306.15 s
[opt-env-conf-test] functionChunk "short",
1306.15 s
[opt-env-conf-test] " has no ",
1306.15 s
[opt-env-conf-test] functionChunk "option",
1306.15 s
[opt-env-conf-test] " or ",
1306.15 s
[opt-env-conf-test] functionChunk "switch",
1306.15 s
[opt-env-conf-test] "."
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1306.15 s
[opt-env-conf-test] [ [ functionChunk "env",
1306.15 s
[opt-env-conf-test] " or ",
1306.15 s
[opt-env-conf-test] functionChunk "name",
1306.15 s
[opt-env-conf-test] " has no ",
1306.15 s
[opt-env-conf-test] functionChunk "reader",
1306.15 s
[opt-env-conf-test] "."
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1306.15 s
[opt-env-conf-test] [ [ functionChunk "env",
1306.15 s
[opt-env-conf-test] " or ",
1306.15 s
[opt-env-conf-test] functionChunk "name",
1306.15 s
[opt-env-conf-test] " has no ",
1306.15 s
[opt-env-conf-test] functionChunk "metavar",
1306.15 s
[opt-env-conf-test] "."
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] ]
1306.15 s
[opt-env-conf-test] LintErrorNoCommands ->
1306.40 s
[opt-env-conf-test] [ [ functionChunk "commands",
1306.40 s
[opt-env-conf-test] " was called with an empty list."
1306.40 s
[opt-env-conf-test] ]
1306.40 s
[opt-env-conf-test] ]
1306.40 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1306.40 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1306.40 s
[opt-env-conf-test] " was called with an unknown command: ",
1306.40 s
[opt-env-conf-test] commandChunk c
1306.40 s
[opt-env-conf-test] ]
1306.40 s
[opt-env-conf-test] ]
1306.40 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1306.40 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1306.40 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1306.40 s
[opt-env-conf-test] ]
1306.40 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1306.40 s
[opt-env-conf-test] [ [ functionChunk "conf",
1306.40 s
[opt-env-conf-test] " or ",
1306.40 s
[opt-env-conf-test] functionChunk "name",
1306.40 s
[opt-env-conf-test] " was called with no way to load configuration."
1306.40 s
[opt-env-conf-test] ],
1306.40 s
[opt-env-conf-test] [ "You can load configuration with ",
1306.40 s
[opt-env-conf-test] functionChunk "withConfig",
1306.40 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1306.40 s
[opt-env-conf-test] functionChunk "withoutConfig",
1306.40 s
[opt-env-conf-test] "."
1306.40 s
[opt-env-conf-test] ]
1306.40 s
[opt-env-conf-test] ]
1306.40 s
[opt-env-conf-test] LintErrorManyInfinite ->
1306.40 s
[opt-env-conf-test] [ [ functionChunk "many",
1306.40 s
[opt-env-conf-test] " or ",
1306.40 s
[opt-env-conf-test] functionChunk "some",
1306.40 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1306.40 s
[opt-env-conf-test] ],
1306.40 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1306.40 s
[opt-env-conf-test] ],
1306.40 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1306.40 s
[opt-env-conf-test] ]
1306.40 s
[opt-env-conf-test]
1306.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1306.40 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1306.40 s
[opt-env-conf-test] renderLintError LintError {..} =
1306.40 s
[opt-env-conf-test] concat
1306.40 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1306.40 s
[opt-env-conf-test] case lintErrorMessage of
1306.41 s
[opt-env-conf-test] LintErrorUndocumented ->
1306.41 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1306.41 s
[opt-env-conf-test] LintErrorEmptySetting ->
1306.41 s
[opt-env-conf-test] concat
1306.41 s
[opt-env-conf-test] [ [ [ "This ",
1306.41 s
[opt-env-conf-test] functionChunk "setting",
1306.41 s
[opt-env-conf-test] " parses nothing."
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] ],
1306.41 s
[opt-env-conf-test] [ [ "Add an ",
1306.41 s
[opt-env-conf-test] functionChunk "argument",
1306.41 s
[opt-env-conf-test] ", ",
1306.41 s
[opt-env-conf-test] functionChunk "switch",
1306.41 s
[opt-env-conf-test] ", ",
1306.41 s
[opt-env-conf-test] functionChunk "option",
1306.41 s
[opt-env-conf-test] ", ",
1306.41 s
[opt-env-conf-test] functionChunk "env",
1306.41 s
[opt-env-conf-test] ", ",
1306.41 s
[opt-env-conf-test] functionChunk "conf",
1306.41 s
[opt-env-conf-test] ", or ",
1306.41 s
[opt-env-conf-test] functionChunk "value",
1306.41 s
[opt-env-conf-test] "."
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] LintErrorDashInShort ->
1306.41 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1306.41 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] LintErrorDashInLong s ->
1306.41 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1306.41 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1306.41 s
[opt-env-conf-test] [ "Try ",
1306.41 s
[opt-env-conf-test] functionChunk "long",
1306.41 s
[opt-env-conf-test] " ",
1306.41 s
[opt-env-conf-test] chunk $
1306.41 s
[opt-env-conf-test] T.pack $
1306.41 s
[opt-env-conf-test] show $
1306.41 s
[opt-env-conf-test] let go = \case
1306.41 s
[opt-env-conf-test] [] -> []
1306.41 s
[opt-env-conf-test] '-' : cs -> go cs
1306.41 s
[opt-env-conf-test] c : cs -> c : cs
1306.41 s
[opt-env-conf-test] in go $ NE.toList s,
1306.41 s
[opt-env-conf-test] " instead."
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1306.41 s
[opt-env-conf-test] [ [ functionChunk "argument",
1306.41 s
[opt-env-conf-test] " has no ",
1306.41 s
[opt-env-conf-test] functionChunk "reader",
1306.41 s
[opt-env-conf-test] "."
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1306.41 s
[opt-env-conf-test] [ [ functionChunk "argument",
1306.41 s
[opt-env-conf-test] " has no ",
1306.41 s
[opt-env-conf-test] functionChunk "metavar",
1306.41 s
[opt-env-conf-test] "."
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1306.41 s
[opt-env-conf-test] [ [ functionChunk "option",
1306.41 s
[opt-env-conf-test] " or ",
1306.41 s
[opt-env-conf-test] functionChunk "name",
1306.41 s
[opt-env-conf-test] " has no ",
1306.41 s
[opt-env-conf-test] functionChunk "reader",
1306.41 s
[opt-env-conf-test] "."
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1306.41 s
[opt-env-conf-test] [ [ functionChunk "option",
1306.41 s
[opt-env-conf-test] " has no ",
1306.41 s
[opt-env-conf-test] functionChunk "long",
1306.41 s
[opt-env-conf-test] " or ",
1306.41 s
[opt-env-conf-test] functionChunk "short",
1306.41 s
[opt-env-conf-test] "."
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] ]
1306.41 s
[opt-env-conf-test] - LintErrorNoMetavarForOption ->
1306.42 s
[opt-env-conf-test] - [ [ functionChunk "option",
1306.42 s
[opt-env-conf-test] - " or ",
1306.42 s
[opt-env-conf-test] - functionChunk "name",
1306.42 s
[opt-env-conf-test] - " has no ",
1306.42 s
[opt-env-conf-test] - functionChunk "metavar",
1306.42 s
[opt-env-conf-test] - "."
1306.42 s
[opt-env-conf-test] - ]
1306.42 s
[opt-env-conf-test] - ]
1306.42 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1306.42 s
[opt-env-conf-test] [ [ functionChunk "switch",
1306.42 s
[opt-env-conf-test] " has no ",
1306.42 s
[opt-env-conf-test] functionChunk "long",
1306.42 s
[opt-env-conf-test] " or ",
1306.42 s
[opt-env-conf-test] functionChunk "short",
1306.42 s
[opt-env-conf-test] "."
1306.42 s
[opt-env-conf-test] ]
1306.42 s
[opt-env-conf-test] ]
1306.42 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1306.42 s
[opt-env-conf-test] [ [ functionChunk "long",
1306.42 s
[opt-env-conf-test] " or ",
1306.42 s
[opt-env-conf-test] functionChunk "short",
1306.42 s
[opt-env-conf-test] " has no ",
1306.42 s
[opt-env-conf-test] functionChunk "option",
1306.42 s
[opt-env-conf-test] " or ",
1306.42 s
[opt-env-conf-test] functionChunk "switch",
1306.42 s
[opt-env-conf-test] "."
1306.42 s
[opt-env-conf-test] ]
1306.42 s
[opt-env-conf-test] ]
1306.42 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1306.42 s
[opt-env-conf-test] [ [ functionChunk "env",
1306.42 s
[opt-env-conf-test] " or ",
1306.42 s
[opt-env-conf-test] functionChunk "name",
1306.42 s
[opt-env-conf-test] " has no ",
1306.42 s
[opt-env-conf-test] functionChunk "reader",
1306.42 s
[opt-env-conf-test] "."
1306.42 s
[opt-env-conf-test] ]
1306.42 s
[opt-env-conf-test] ]
1306.42 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1306.42 s
[opt-env-conf-test] [ [ functionChunk "env",
1306.42 s
[opt-env-conf-test] " or ",
1306.42 s
[opt-env-conf-test] functionChunk "name",
1306.42 s
[opt-env-conf-test] " has no ",
1306.42 s
[opt-env-conf-test] functionChunk "metavar",
1306.42 s
[opt-env-conf-test] "."
1306.42 s
[opt-env-conf-test] ]
1306.42 s
[opt-env-conf-test] ]
1306.42 s
[opt-env-conf-test] LintErrorNoCommands ->
1306.62 s
[opt-env-conf-test] [ [ functionChunk "commands",
1306.62 s
[opt-env-conf-test] " was called with an empty list."
1306.62 s
[opt-env-conf-test] ]
1306.62 s
[opt-env-conf-test] ]
1306.62 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1306.62 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1306.62 s
[opt-env-conf-test] " was called with an unknown command: ",
1306.62 s
[opt-env-conf-test] commandChunk c
1306.62 s
[opt-env-conf-test] ]
1306.62 s
[opt-env-conf-test] ]
1306.62 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1306.62 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1306.62 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1306.62 s
[opt-env-conf-test] ]
1306.62 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1306.62 s
[opt-env-conf-test] [ [ functionChunk "conf",
1306.62 s
[opt-env-conf-test] " or ",
1306.62 s
[opt-env-conf-test] functionChunk "name",
1306.62 s
[opt-env-conf-test] " was called with no way to load configuration."
1306.62 s
[opt-env-conf-test] ],
1306.62 s
[opt-env-conf-test] [ "You can load configuration with ",
1306.62 s
[opt-env-conf-test] functionChunk "withConfig",
1306.62 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1306.62 s
[opt-env-conf-test] functionChunk "withoutConfig",
1306.62 s
[opt-env-conf-test] "."
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test] LintErrorManyInfinite ->
1306.63 s
[opt-env-conf-test] [ [ functionChunk "many",
1306.63 s
[opt-env-conf-test] " or ",
1306.63 s
[opt-env-conf-test] functionChunk "some",
1306.63 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1306.63 s
[opt-env-conf-test] ],
1306.63 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1306.63 s
[opt-env-conf-test] ],
1306.63 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test]
1306.63 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1306.63 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1306.63 s
[opt-env-conf-test] renderLintError LintError {..} =
1306.63 s
[opt-env-conf-test] concat
1306.63 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1306.63 s
[opt-env-conf-test] case lintErrorMessage of
1306.63 s
[opt-env-conf-test] LintErrorUndocumented ->
1306.63 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1306.63 s
[opt-env-conf-test] LintErrorEmptySetting ->
1306.63 s
[opt-env-conf-test] concat
1306.63 s
[opt-env-conf-test] [ [ [ "This ",
1306.63 s
[opt-env-conf-test] functionChunk "setting",
1306.63 s
[opt-env-conf-test] " parses nothing."
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test] ],
1306.63 s
[opt-env-conf-test] [ [ "Add an ",
1306.63 s
[opt-env-conf-test] functionChunk "argument",
1306.63 s
[opt-env-conf-test] ", ",
1306.63 s
[opt-env-conf-test] functionChunk "switch",
1306.63 s
[opt-env-conf-test] ", ",
1306.63 s
[opt-env-conf-test] functionChunk "option",
1306.63 s
[opt-env-conf-test] ", ",
1306.63 s
[opt-env-conf-test] functionChunk "env",
1306.63 s
[opt-env-conf-test] ", ",
1306.63 s
[opt-env-conf-test] functionChunk "conf",
1306.63 s
[opt-env-conf-test] ", or ",
1306.63 s
[opt-env-conf-test] functionChunk "value",
1306.63 s
[opt-env-conf-test] "."
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test] LintErrorDashInShort ->
1306.63 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1306.63 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test] LintErrorDashInLong s ->
1306.63 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1306.63 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1306.63 s
[opt-env-conf-test] [ "Try ",
1306.63 s
[opt-env-conf-test] functionChunk "long",
1306.63 s
[opt-env-conf-test] " ",
1306.63 s
[opt-env-conf-test] chunk $
1306.63 s
[opt-env-conf-test] T.pack $
1306.63 s
[opt-env-conf-test] show $
1306.63 s
[opt-env-conf-test] let go = \case
1306.63 s
[opt-env-conf-test] [] -> []
1306.63 s
[opt-env-conf-test] '-' : cs -> go cs
1306.63 s
[opt-env-conf-test] c : cs -> c : cs
1306.63 s
[opt-env-conf-test] in go $ NE.toList s,
1306.63 s
[opt-env-conf-test] " instead."
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1306.63 s
[opt-env-conf-test] [ [ functionChunk "argument",
1306.63 s
[opt-env-conf-test] " has no ",
1306.63 s
[opt-env-conf-test] functionChunk "reader",
1306.63 s
[opt-env-conf-test] "."
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test] ]
1306.63 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1306.64 s
[opt-env-conf-test] [ [ functionChunk "argument",
1306.64 s
[opt-env-conf-test] " has no ",
1306.64 s
[opt-env-conf-test] functionChunk "metavar",
1306.64 s
[opt-env-conf-test] "."
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1306.64 s
[opt-env-conf-test] [ [ functionChunk "option",
1306.64 s
[opt-env-conf-test] " or ",
1306.64 s
[opt-env-conf-test] functionChunk "name",
1306.64 s
[opt-env-conf-test] " has no ",
1306.64 s
[opt-env-conf-test] functionChunk "reader",
1306.64 s
[opt-env-conf-test] "."
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1306.64 s
[opt-env-conf-test] [ [ functionChunk "option",
1306.64 s
[opt-env-conf-test] " has no ",
1306.64 s
[opt-env-conf-test] functionChunk "long",
1306.64 s
[opt-env-conf-test] " or ",
1306.64 s
[opt-env-conf-test] functionChunk "short",
1306.64 s
[opt-env-conf-test] "."
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1306.64 s
[opt-env-conf-test] [ [ functionChunk "option",
1306.64 s
[opt-env-conf-test] " or ",
1306.64 s
[opt-env-conf-test] functionChunk "name",
1306.64 s
[opt-env-conf-test] " has no ",
1306.64 s
[opt-env-conf-test] functionChunk "metavar",
1306.64 s
[opt-env-conf-test] "."
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] - LintErrorNoDashedForSwitch ->
1306.64 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1306.64 s
[opt-env-conf-test] - " has no ",
1306.64 s
[opt-env-conf-test] - functionChunk "long",
1306.64 s
[opt-env-conf-test] - " or ",
1306.64 s
[opt-env-conf-test] - functionChunk "short",
1306.64 s
[opt-env-conf-test] - "."
1306.64 s
[opt-env-conf-test] - ]
1306.64 s
[opt-env-conf-test] - ]
1306.64 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1306.64 s
[opt-env-conf-test] [ [ functionChunk "long",
1306.64 s
[opt-env-conf-test] " or ",
1306.64 s
[opt-env-conf-test] functionChunk "short",
1306.64 s
[opt-env-conf-test] " has no ",
1306.64 s
[opt-env-conf-test] functionChunk "option",
1306.64 s
[opt-env-conf-test] " or ",
1306.64 s
[opt-env-conf-test] functionChunk "switch",
1306.64 s
[opt-env-conf-test] "."
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1306.64 s
[opt-env-conf-test] [ [ functionChunk "env",
1306.64 s
[opt-env-conf-test] " or ",
1306.64 s
[opt-env-conf-test] functionChunk "name",
1306.64 s
[opt-env-conf-test] " has no ",
1306.64 s
[opt-env-conf-test] functionChunk "reader",
1306.64 s
[opt-env-conf-test] "."
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1306.64 s
[opt-env-conf-test] [ [ functionChunk "env",
1306.64 s
[opt-env-conf-test] " or ",
1306.64 s
[opt-env-conf-test] functionChunk "name",
1306.64 s
[opt-env-conf-test] " has no ",
1306.64 s
[opt-env-conf-test] functionChunk "metavar",
1306.64 s
[opt-env-conf-test] "."
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] ]
1306.64 s
[opt-env-conf-test] LintErrorNoCommands ->
1307.31 s
[opt-env-conf-test] [ [ functionChunk "commands",
1307.31 s
[opt-env-conf-test] " was called with an empty list."
1307.31 s
[opt-env-conf-test] ]
1307.31 s
[opt-env-conf-test] ]
1307.31 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1307.32 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1307.32 s
[opt-env-conf-test] " was called with an unknown command: ",
1307.32 s
[opt-env-conf-test] commandChunk c
1307.32 s
[opt-env-conf-test] ]
1307.32 s
[opt-env-conf-test] ]
1307.32 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1307.32 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1307.32 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1307.32 s
[opt-env-conf-test] ]
1307.32 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1307.32 s
[opt-env-conf-test] [ [ functionChunk "conf",
1307.32 s
[opt-env-conf-test] " or ",
1307.32 s
[opt-env-conf-test] functionChunk "name",
1307.32 s
[opt-env-conf-test] " was called with no way to load configuration."
1307.32 s
[opt-env-conf-test] ],
1307.32 s
[opt-env-conf-test] [ "You can load configuration with ",
1307.32 s
[opt-env-conf-test] functionChunk "withConfig",
1307.32 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1307.32 s
[opt-env-conf-test] functionChunk "withoutConfig",
1307.32 s
[opt-env-conf-test] "."
1307.32 s
[opt-env-conf-test] ]
1307.32 s
[opt-env-conf-test] ]
1307.32 s
[opt-env-conf-test] LintErrorManyInfinite ->
1307.32 s
[opt-env-conf-test] [ [ functionChunk "many",
1307.32 s
[opt-env-conf-test] " or ",
1307.32 s
[opt-env-conf-test] functionChunk "some",
1307.32 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1307.32 s
[opt-env-conf-test] ],
1307.32 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1307.32 s
[opt-env-conf-test] ],
1307.32 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1307.32 s
[opt-env-conf-test] ]
1307.32 s
[opt-env-conf-test]
1307.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1307.32 s
[opt-env-conf-test] @@ -66,168 +66,157 @@
1307.32 s
[opt-env-conf-test] renderLintError LintError {..} =
1307.33 s
[opt-env-conf-test] concat
1307.33 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1307.33 s
[opt-env-conf-test] case lintErrorMessage of
1307.33 s
[opt-env-conf-test] LintErrorUndocumented ->
1307.33 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1307.33 s
[opt-env-conf-test] LintErrorEmptySetting ->
1307.33 s
[opt-env-conf-test] concat
1307.33 s
[opt-env-conf-test] [ [ [ "This ",
1307.33 s
[opt-env-conf-test] functionChunk "setting",
1307.33 s
[opt-env-conf-test] " parses nothing."
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] ],
1307.33 s
[opt-env-conf-test] [ [ "Add an ",
1307.33 s
[opt-env-conf-test] functionChunk "argument",
1307.33 s
[opt-env-conf-test] ", ",
1307.33 s
[opt-env-conf-test] functionChunk "switch",
1307.33 s
[opt-env-conf-test] ", ",
1307.33 s
[opt-env-conf-test] functionChunk "option",
1307.33 s
[opt-env-conf-test] ", ",
1307.33 s
[opt-env-conf-test] functionChunk "env",
1307.33 s
[opt-env-conf-test] ", ",
1307.33 s
[opt-env-conf-test] functionChunk "conf",
1307.33 s
[opt-env-conf-test] ", or ",
1307.33 s
[opt-env-conf-test] functionChunk "value",
1307.33 s
[opt-env-conf-test] "."
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] LintErrorDashInShort ->
1307.33 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1307.33 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] LintErrorDashInLong s ->
1307.33 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1307.33 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1307.33 s
[opt-env-conf-test] [ "Try ",
1307.33 s
[opt-env-conf-test] functionChunk "long",
1307.33 s
[opt-env-conf-test] " ",
1307.33 s
[opt-env-conf-test] chunk $
1307.33 s
[opt-env-conf-test] T.pack $
1307.33 s
[opt-env-conf-test] show $
1307.33 s
[opt-env-conf-test] let go = \case
1307.33 s
[opt-env-conf-test] [] -> []
1307.33 s
[opt-env-conf-test] '-' : cs -> go cs
1307.33 s
[opt-env-conf-test] c : cs -> c : cs
1307.33 s
[opt-env-conf-test] in go $ NE.toList s,
1307.33 s
[opt-env-conf-test] " instead."
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1307.33 s
[opt-env-conf-test] [ [ functionChunk "argument",
1307.33 s
[opt-env-conf-test] " has no ",
1307.33 s
[opt-env-conf-test] functionChunk "reader",
1307.33 s
[opt-env-conf-test] "."
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1307.33 s
[opt-env-conf-test] [ [ functionChunk "argument",
1307.33 s
[opt-env-conf-test] " has no ",
1307.33 s
[opt-env-conf-test] functionChunk "metavar",
1307.33 s
[opt-env-conf-test] "."
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1307.33 s
[opt-env-conf-test] [ [ functionChunk "option",
1307.33 s
[opt-env-conf-test] " or ",
1307.33 s
[opt-env-conf-test] functionChunk "name",
1307.33 s
[opt-env-conf-test] " has no ",
1307.33 s
[opt-env-conf-test] functionChunk "reader",
1307.33 s
[opt-env-conf-test] "."
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1307.33 s
[opt-env-conf-test] [ [ functionChunk "option",
1307.33 s
[opt-env-conf-test] " has no ",
1307.33 s
[opt-env-conf-test] functionChunk "long",
1307.33 s
[opt-env-conf-test] " or ",
1307.33 s
[opt-env-conf-test] functionChunk "short",
1307.33 s
[opt-env-conf-test] "."
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] ]
1307.33 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1307.33 s
[opt-env-conf-test] [ [ functionChunk "option",
1307.33 s
[opt-env-conf-test] " or ",
1307.33 s
[opt-env-conf-test] functionChunk "name",
1307.33 s
[opt-env-conf-test] " has no ",
1307.33 s
[opt-env-conf-test] functionChunk "metavar",
1307.33 s
[opt-env-conf-test] "."
1307.34 s
[opt-env-conf-test] ]
1307.34 s
[opt-env-conf-test] ]
1307.34 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1307.34 s
[opt-env-conf-test] [ [ functionChunk "switch",
1307.34 s
[opt-env-conf-test] " has no ",
1307.34 s
[opt-env-conf-test] functionChunk "long",
1307.34 s
[opt-env-conf-test] " or ",
1307.34 s
[opt-env-conf-test] functionChunk "short",
1307.34 s
[opt-env-conf-test] "."
1307.34 s
[opt-env-conf-test] ]
1307.34 s
[opt-env-conf-test] ]
1307.34 s
[opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
1307.34 s
[opt-env-conf-test] - [ [ functionChunk "long",
1307.34 s
[opt-env-conf-test] - " or ",
1307.34 s
[opt-env-conf-test] - functionChunk "short",
1307.34 s
[opt-env-conf-test] - " has no ",
1307.34 s
[opt-env-conf-test] - functionChunk "option",
1307.34 s
[opt-env-conf-test] - " or ",
1307.34 s
[opt-env-conf-test] - functionChunk "switch",
1307.34 s
[opt-env-conf-test] - "."
1307.34 s
[opt-env-conf-test] - ]
1307.34 s
[opt-env-conf-test] - ]
1307.34 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1307.34 s
[opt-env-conf-test] [ [ functionChunk "env",
1307.34 s
[opt-env-conf-test] " or ",
1307.34 s
[opt-env-conf-test] functionChunk "name",
1307.34 s
[opt-env-conf-test] " has no ",
1307.34 s
[opt-env-conf-test] functionChunk "reader",
1307.34 s
[opt-env-conf-test] "."
1307.34 s
[opt-env-conf-test] ]
1307.34 s
[opt-env-conf-test] ]
1307.34 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1307.34 s
[opt-env-conf-test] [ [ functionChunk "env",
1307.34 s
[opt-env-conf-test] " or ",
1307.34 s
[opt-env-conf-test] functionChunk "name",
1307.34 s
[opt-env-conf-test] " has no ",
1307.34 s
[opt-env-conf-test] functionChunk "metavar",
1307.34 s
[opt-env-conf-test] "."
1307.34 s
[opt-env-conf-test] ]
1307.34 s
[opt-env-conf-test] ]
1307.34 s
[opt-env-conf-test] LintErrorNoCommands ->
1307.99 s
[opt-env-conf-test] [ [ functionChunk "commands",
1307.99 s
[opt-env-conf-test] " was called with an empty list."
1307.99 s
[opt-env-conf-test] ]
1307.99 s
[opt-env-conf-test] ]
1307.99 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1307.99 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1307.99 s
[opt-env-conf-test] " was called with an unknown command: ",
1307.99 s
[opt-env-conf-test] commandChunk c
1307.99 s
[opt-env-conf-test] ]
1307.99 s
[opt-env-conf-test] ]
1307.99 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1307.99 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1307.99 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1307.99 s
[opt-env-conf-test] ]
1307.99 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1307.99 s
[opt-env-conf-test] [ [ functionChunk "conf",
1307.99 s
[opt-env-conf-test] " or ",
1307.99 s
[opt-env-conf-test] functionChunk "name",
1308.00 s
[opt-env-conf-test] " was called with no way to load configuration."
1308.00 s
[opt-env-conf-test] ],
1308.00 s
[opt-env-conf-test] [ "You can load configuration with ",
1308.00 s
[opt-env-conf-test] functionChunk "withConfig",
1308.00 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1308.00 s
[opt-env-conf-test] functionChunk "withoutConfig",
1308.00 s
[opt-env-conf-test] "."
1308.00 s
[opt-env-conf-test] ]
1308.00 s
[opt-env-conf-test] ]
1308.00 s
[opt-env-conf-test] LintErrorManyInfinite ->
1308.00 s
[opt-env-conf-test] [ [ functionChunk "many",
1308.00 s
[opt-env-conf-test] " or ",
1308.00 s
[opt-env-conf-test] functionChunk "some",
1308.00 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1308.00 s
[opt-env-conf-test] ],
1308.00 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1308.00 s
[opt-env-conf-test] ],
1308.00 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1308.00 s
[opt-env-conf-test] ]
1308.00 s
[opt-env-conf-test]
1308.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1308.00 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1308.00 s
[opt-env-conf-test] renderLintError LintError {..} =
1308.00 s
[opt-env-conf-test] concat
1308.00 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1308.00 s
[opt-env-conf-test] case lintErrorMessage of
1308.00 s
[opt-env-conf-test] LintErrorUndocumented ->
1308.00 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1308.00 s
[opt-env-conf-test] LintErrorEmptySetting ->
1308.00 s
[opt-env-conf-test] concat
1308.00 s
[opt-env-conf-test] [ [ [ "This ",
1308.00 s
[opt-env-conf-test] functionChunk "setting",
1308.00 s
[opt-env-conf-test] " parses nothing."
1308.00 s
[opt-env-conf-test] ]
1308.01 s
[opt-env-conf-test] ],
1308.01 s
[opt-env-conf-test] [ [ "Add an ",
1308.01 s
[opt-env-conf-test] functionChunk "argument",
1308.01 s
[opt-env-conf-test] ", ",
1308.01 s
[opt-env-conf-test] functionChunk "switch",
1308.01 s
[opt-env-conf-test] ", ",
1308.01 s
[opt-env-conf-test] functionChunk "option",
1308.01 s
[opt-env-conf-test] ", ",
1308.01 s
[opt-env-conf-test] functionChunk "env",
1308.01 s
[opt-env-conf-test] ", ",
1308.01 s
[opt-env-conf-test] functionChunk "conf",
1308.01 s
[opt-env-conf-test] ", or ",
1308.01 s
[opt-env-conf-test] functionChunk "value",
1308.01 s
[opt-env-conf-test] "."
1308.01 s
[opt-env-conf-test] ]
1308.01 s
[opt-env-conf-test] ]
1308.01 s
[opt-env-conf-test] ]
1308.01 s
[opt-env-conf-test] LintErrorDashInShort ->
1308.01 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1308.01 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1308.01 s
[opt-env-conf-test] ]
1308.01 s
[opt-env-conf-test] LintErrorDashInLong s ->
1308.01 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1308.01 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1308.01 s
[opt-env-conf-test] [ "Try ",
1308.01 s
[opt-env-conf-test] functionChunk "long",
1308.01 s
[opt-env-conf-test] " ",
1308.01 s
[opt-env-conf-test] chunk $
1308.01 s
[opt-env-conf-test] T.pack $
1308.01 s
[opt-env-conf-test] show $
1308.01 s
[opt-env-conf-test] let go = \case
1308.01 s
[opt-env-conf-test] [] -> []
1308.01 s
[opt-env-conf-test] '-' : cs -> go cs
1308.01 s
[opt-env-conf-test] c : cs -> c : cs
1308.01 s
[opt-env-conf-test] in go $ NE.toList s,
1308.01 s
[opt-env-conf-test] " instead."
1308.01 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1308.02 s
[opt-env-conf-test] [ [ functionChunk "argument",
1308.02 s
[opt-env-conf-test] " has no ",
1308.02 s
[opt-env-conf-test] functionChunk "reader",
1308.02 s
[opt-env-conf-test] "."
1308.02 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1308.02 s
[opt-env-conf-test] [ [ functionChunk "argument",
1308.02 s
[opt-env-conf-test] " has no ",
1308.02 s
[opt-env-conf-test] functionChunk "metavar",
1308.02 s
[opt-env-conf-test] "."
1308.02 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1308.02 s
[opt-env-conf-test] [ [ functionChunk "option",
1308.02 s
[opt-env-conf-test] " or ",
1308.02 s
[opt-env-conf-test] functionChunk "name",
1308.02 s
[opt-env-conf-test] " has no ",
1308.02 s
[opt-env-conf-test] functionChunk "reader",
1308.02 s
[opt-env-conf-test] "."
1308.02 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1308.02 s
[opt-env-conf-test] [ [ functionChunk "option",
1308.02 s
[opt-env-conf-test] " has no ",
1308.02 s
[opt-env-conf-test] functionChunk "long",
1308.02 s
[opt-env-conf-test] " or ",
1308.02 s
[opt-env-conf-test] functionChunk "short",
1308.02 s
[opt-env-conf-test] "."
1308.02 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1308.02 s
[opt-env-conf-test] [ [ functionChunk "option",
1308.02 s
[opt-env-conf-test] " or ",
1308.02 s
[opt-env-conf-test] functionChunk "name",
1308.02 s
[opt-env-conf-test] " has no ",
1308.02 s
[opt-env-conf-test] functionChunk "metavar",
1308.02 s
[opt-env-conf-test] "."
1308.02 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] ]
1308.02 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1308.02 s
[opt-env-conf-test] [ [ functionChunk "switch",
1308.02 s
[opt-env-conf-test] " has no ",
1308.02 s
[opt-env-conf-test] functionChunk "long",
1308.02 s
[opt-env-conf-test] " or ",
1308.02 s
[opt-env-conf-test] functionChunk "short",
1308.02 s
[opt-env-conf-test] "."
1308.03 s
[opt-env-conf-test] ]
1308.03 s
[opt-env-conf-test] ]
1308.03 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1308.03 s
[opt-env-conf-test] [ [ functionChunk "long",
1308.03 s
[opt-env-conf-test] " or ",
1308.03 s
[opt-env-conf-test] functionChunk "short",
1308.03 s
[opt-env-conf-test] " has no ",
1308.03 s
[opt-env-conf-test] functionChunk "option",
1308.03 s
[opt-env-conf-test] " or ",
1308.03 s
[opt-env-conf-test] functionChunk "switch",
1308.03 s
[opt-env-conf-test] "."
1308.03 s
[opt-env-conf-test] ]
1308.03 s
[opt-env-conf-test] ]
1308.03 s
[opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
1308.03 s
[opt-env-conf-test] - [ [ functionChunk "env",
1308.03 s
[opt-env-conf-test] - " or ",
1308.03 s
[opt-env-conf-test] - functionChunk "name",
1308.03 s
[opt-env-conf-test] - " has no ",
1308.03 s
[opt-env-conf-test] - functionChunk "reader",
1308.03 s
[opt-env-conf-test] - "."
1308.03 s
[opt-env-conf-test] - ]
1308.03 s
[opt-env-conf-test] - ]
1308.03 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1308.03 s
[opt-env-conf-test] [ [ functionChunk "env",
1308.03 s
[opt-env-conf-test] " or ",
1308.03 s
[opt-env-conf-test] functionChunk "name",
1308.03 s
[opt-env-conf-test] " has no ",
1308.03 s
[opt-env-conf-test] functionChunk "metavar",
1308.03 s
[opt-env-conf-test] "."
1308.03 s
[opt-env-conf-test] ]
1308.03 s
[opt-env-conf-test] ]
1308.03 s
[opt-env-conf-test] LintErrorNoCommands ->
1308.71 s
[opt-env-conf-test] [ [ functionChunk "commands",
1308.91 s
[opt-env-conf-test] " was called with an empty list."
1308.91 s
[opt-env-conf-test] ]
1308.91 s
[opt-env-conf-test] ]
1308.91 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1308.91 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1308.91 s
[opt-env-conf-test] " was called with an unknown command: ",
1308.91 s
[opt-env-conf-test] commandChunk c
1308.91 s
[opt-env-conf-test] ]
1308.91 s
[opt-env-conf-test] ]
1308.91 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1308.91 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1308.91 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1308.91 s
[opt-env-conf-test] ]
1308.91 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1308.91 s
[opt-env-conf-test] [ [ functionChunk "conf",
1308.91 s
[opt-env-conf-test] " or ",
1308.91 s
[opt-env-conf-test] functionChunk "name",
1308.91 s
[opt-env-conf-test] " was called with no way to load configuration."
1308.91 s
[opt-env-conf-test] ],
1308.91 s
[opt-env-conf-test] [ "You can load configuration with ",
1308.91 s
[opt-env-conf-test] functionChunk "withConfig",
1308.91 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1308.91 s
[opt-env-conf-test] functionChunk "withoutConfig",
1308.91 s
[opt-env-conf-test] "."
1308.91 s
[opt-env-conf-test] ]
1308.91 s
[opt-env-conf-test] ]
1308.91 s
[opt-env-conf-test] LintErrorManyInfinite ->
1308.91 s
[opt-env-conf-test] [ [ functionChunk "many",
1308.91 s
[opt-env-conf-test] " or ",
1308.91 s
[opt-env-conf-test] functionChunk "some",
1308.91 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1308.91 s
[opt-env-conf-test] ],
1308.91 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1308.91 s
[opt-env-conf-test] ],
1308.92 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test]
1308.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1308.92 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1308.92 s
[opt-env-conf-test] renderLintError LintError {..} =
1308.92 s
[opt-env-conf-test] concat
1308.92 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1308.92 s
[opt-env-conf-test] case lintErrorMessage of
1308.92 s
[opt-env-conf-test] LintErrorUndocumented ->
1308.92 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1308.92 s
[opt-env-conf-test] LintErrorEmptySetting ->
1308.92 s
[opt-env-conf-test] concat
1308.92 s
[opt-env-conf-test] [ [ [ "This ",
1308.92 s
[opt-env-conf-test] functionChunk "setting",
1308.92 s
[opt-env-conf-test] " parses nothing."
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test] ],
1308.92 s
[opt-env-conf-test] [ [ "Add an ",
1308.92 s
[opt-env-conf-test] functionChunk "argument",
1308.92 s
[opt-env-conf-test] ", ",
1308.92 s
[opt-env-conf-test] functionChunk "switch",
1308.92 s
[opt-env-conf-test] ", ",
1308.92 s
[opt-env-conf-test] functionChunk "option",
1308.92 s
[opt-env-conf-test] ", ",
1308.92 s
[opt-env-conf-test] functionChunk "env",
1308.92 s
[opt-env-conf-test] ", ",
1308.92 s
[opt-env-conf-test] functionChunk "conf",
1308.92 s
[opt-env-conf-test] ", or ",
1308.92 s
[opt-env-conf-test] functionChunk "value",
1308.92 s
[opt-env-conf-test] "."
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test] LintErrorDashInShort ->
1308.92 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1308.92 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test] LintErrorDashInLong s ->
1308.92 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1308.92 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1308.92 s
[opt-env-conf-test] [ "Try ",
1308.92 s
[opt-env-conf-test] functionChunk "long",
1308.92 s
[opt-env-conf-test] " ",
1308.92 s
[opt-env-conf-test] chunk $
1308.92 s
[opt-env-conf-test] T.pack $
1308.92 s
[opt-env-conf-test] show $
1308.92 s
[opt-env-conf-test] let go = \case
1308.92 s
[opt-env-conf-test] [] -> []
1308.92 s
[opt-env-conf-test] '-' : cs -> go cs
1308.92 s
[opt-env-conf-test] c : cs -> c : cs
1308.92 s
[opt-env-conf-test] in go $ NE.toList s,
1308.92 s
[opt-env-conf-test] " instead."
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1308.92 s
[opt-env-conf-test] [ [ functionChunk "argument",
1308.92 s
[opt-env-conf-test] " has no ",
1308.92 s
[opt-env-conf-test] functionChunk "reader",
1308.92 s
[opt-env-conf-test] "."
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1308.92 s
[opt-env-conf-test] [ [ functionChunk "argument",
1308.92 s
[opt-env-conf-test] " has no ",
1308.92 s
[opt-env-conf-test] functionChunk "metavar",
1308.92 s
[opt-env-conf-test] "."
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test] ]
1308.92 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1308.92 s
[opt-env-conf-test] [ [ functionChunk "option",
1308.92 s
[opt-env-conf-test] " or ",
1308.92 s
[opt-env-conf-test] functionChunk "name",
1308.92 s
[opt-env-conf-test] " has no ",
1308.92 s
[opt-env-conf-test] functionChunk "reader",
1308.92 s
[opt-env-conf-test] "."
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1308.93 s
[opt-env-conf-test] [ [ functionChunk "option",
1308.93 s
[opt-env-conf-test] " has no ",
1308.93 s
[opt-env-conf-test] functionChunk "long",
1308.93 s
[opt-env-conf-test] " or ",
1308.93 s
[opt-env-conf-test] functionChunk "short",
1308.93 s
[opt-env-conf-test] "."
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1308.93 s
[opt-env-conf-test] [ [ functionChunk "option",
1308.93 s
[opt-env-conf-test] " or ",
1308.93 s
[opt-env-conf-test] functionChunk "name",
1308.93 s
[opt-env-conf-test] " has no ",
1308.93 s
[opt-env-conf-test] functionChunk "metavar",
1308.93 s
[opt-env-conf-test] "."
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1308.93 s
[opt-env-conf-test] [ [ functionChunk "switch",
1308.93 s
[opt-env-conf-test] " has no ",
1308.93 s
[opt-env-conf-test] functionChunk "long",
1308.93 s
[opt-env-conf-test] " or ",
1308.93 s
[opt-env-conf-test] functionChunk "short",
1308.93 s
[opt-env-conf-test] "."
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1308.93 s
[opt-env-conf-test] [ [ functionChunk "long",
1308.93 s
[opt-env-conf-test] " or ",
1308.93 s
[opt-env-conf-test] functionChunk "short",
1308.93 s
[opt-env-conf-test] " has no ",
1308.93 s
[opt-env-conf-test] functionChunk "option",
1308.93 s
[opt-env-conf-test] " or ",
1308.93 s
[opt-env-conf-test] functionChunk "switch",
1308.93 s
[opt-env-conf-test] "."
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1308.93 s
[opt-env-conf-test] [ [ functionChunk "env",
1308.93 s
[opt-env-conf-test] " or ",
1308.93 s
[opt-env-conf-test] functionChunk "name",
1308.93 s
[opt-env-conf-test] " has no ",
1308.93 s
[opt-env-conf-test] functionChunk "reader",
1308.93 s
[opt-env-conf-test] "."
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] ]
1308.93 s
[opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
1308.93 s
[opt-env-conf-test] - [ [ functionChunk "env",
1308.93 s
[opt-env-conf-test] - " or ",
1308.93 s
[opt-env-conf-test] - functionChunk "name",
1308.93 s
[opt-env-conf-test] - " has no ",
1308.93 s
[opt-env-conf-test] - functionChunk "metavar",
1308.93 s
[opt-env-conf-test] - "."
1308.93 s
[opt-env-conf-test] - ]
1308.93 s
[opt-env-conf-test] - ]
1308.93 s
[opt-env-conf-test] LintErrorNoCommands ->
1309.62 s
[opt-env-conf-test] [ [ functionChunk "commands",
1309.62 s
[opt-env-conf-test] " was called with an empty list."
1309.62 s
[opt-env-conf-test] ]
1309.62 s
[opt-env-conf-test] ]
1309.62 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1309.62 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1309.62 s
[opt-env-conf-test] " was called with an unknown command: ",
1309.62 s
[opt-env-conf-test] commandChunk c
1309.62 s
[opt-env-conf-test] ]
1309.62 s
[opt-env-conf-test] ]
1309.62 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1309.62 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1309.62 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1309.62 s
[opt-env-conf-test] ]
1309.62 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1309.62 s
[opt-env-conf-test] [ [ functionChunk "conf",
1309.62 s
[opt-env-conf-test] " or ",
1309.62 s
[opt-env-conf-test] functionChunk "name",
1309.62 s
[opt-env-conf-test] " was called with no way to load configuration."
1309.62 s
[opt-env-conf-test] ],
1309.62 s
[opt-env-conf-test] [ "You can load configuration with ",
1309.62 s
[opt-env-conf-test] functionChunk "withConfig",
1309.62 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1309.62 s
[opt-env-conf-test] functionChunk "withoutConfig",
1309.62 s
[opt-env-conf-test] "."
1309.62 s
[opt-env-conf-test] ]
1309.62 s
[opt-env-conf-test] ]
1309.63 s
[opt-env-conf-test] LintErrorManyInfinite ->
1309.63 s
[opt-env-conf-test] [ [ functionChunk "many",
1309.63 s
[opt-env-conf-test] " or ",
1309.63 s
[opt-env-conf-test] functionChunk "some",
1309.63 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1309.63 s
[opt-env-conf-test] ],
1309.63 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1309.63 s
[opt-env-conf-test] ],
1309.63 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1309.63 s
[opt-env-conf-test] ]
1309.63 s
[opt-env-conf-test]
1309.63 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1309.63 s
[opt-env-conf-test] @@ -66,168 +66,163 @@
1309.63 s
[opt-env-conf-test] renderLintError LintError {..} =
1309.63 s
[opt-env-conf-test] concat
1309.63 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1309.63 s
[opt-env-conf-test] case lintErrorMessage of
1309.63 s
[opt-env-conf-test] LintErrorUndocumented ->
1309.63 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1309.63 s
[opt-env-conf-test] LintErrorEmptySetting ->
1309.63 s
[opt-env-conf-test] concat
1309.63 s
[opt-env-conf-test] [ [ [ "This ",
1309.63 s
[opt-env-conf-test] functionChunk "setting",
1309.63 s
[opt-env-conf-test] " parses nothing."
1309.63 s
[opt-env-conf-test] ]
1309.63 s
[opt-env-conf-test] ],
1309.63 s
[opt-env-conf-test] [ [ "Add an ",
1309.63 s
[opt-env-conf-test] functionChunk "argument",
1309.63 s
[opt-env-conf-test] ", ",
1309.63 s
[opt-env-conf-test] functionChunk "switch",
1309.63 s
[opt-env-conf-test] ", ",
1309.63 s
[opt-env-conf-test] functionChunk "option",
1309.63 s
[opt-env-conf-test] ", ",
1309.63 s
[opt-env-conf-test] functionChunk "env",
1309.63 s
[opt-env-conf-test] ", ",
1309.63 s
[opt-env-conf-test] functionChunk "conf",
1309.64 s
[opt-env-conf-test] ", or ",
1309.64 s
[opt-env-conf-test] functionChunk "value",
1309.64 s
[opt-env-conf-test] "."
1309.64 s
[opt-env-conf-test] ]
1309.64 s
[opt-env-conf-test] ]
1309.64 s
[opt-env-conf-test] ]
1309.64 s
[opt-env-conf-test] LintErrorDashInShort ->
1309.64 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1309.64 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1309.64 s
[opt-env-conf-test] ]
1309.64 s
[opt-env-conf-test] LintErrorDashInLong s ->
1309.64 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1309.64 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1309.64 s
[opt-env-conf-test] [ "Try ",
1309.64 s
[opt-env-conf-test] functionChunk "long",
1309.64 s
[opt-env-conf-test] " ",
1309.64 s
[opt-env-conf-test] chunk $
1309.64 s
[opt-env-conf-test] T.pack $
1309.64 s
[opt-env-conf-test] show $
1309.64 s
[opt-env-conf-test] let go = \case
1309.64 s
[opt-env-conf-test] [] -> []
1309.64 s
[opt-env-conf-test] '-' : cs -> go cs
1309.64 s
[opt-env-conf-test] c : cs -> c : cs
1309.64 s
[opt-env-conf-test] in go $ NE.toList s,
1309.64 s
[opt-env-conf-test] " instead."
1309.64 s
[opt-env-conf-test] ]
1309.64 s
[opt-env-conf-test] ]
1309.64 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1309.64 s
[opt-env-conf-test] [ [ functionChunk "argument",
1309.64 s
[opt-env-conf-test] " has no ",
1309.64 s
[opt-env-conf-test] functionChunk "reader",
1309.64 s
[opt-env-conf-test] "."
1309.64 s
[opt-env-conf-test] ]
1309.64 s
[opt-env-conf-test] ]
1309.64 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1309.64 s
[opt-env-conf-test] [ [ functionChunk "argument",
1309.64 s
[opt-env-conf-test] " has no ",
1309.64 s
[opt-env-conf-test] functionChunk "metavar",
1309.64 s
[opt-env-conf-test] "."
1309.64 s
[opt-env-conf-test] ]
1309.64 s
[opt-env-conf-test] ]
1309.64 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1309.64 s
[opt-env-conf-test] [ [ functionChunk "option",
1309.64 s
[opt-env-conf-test] " or ",
1309.64 s
[opt-env-conf-test] functionChunk "name",
1309.65 s
[opt-env-conf-test] " has no ",
1309.65 s
[opt-env-conf-test] functionChunk "reader",
1309.65 s
[opt-env-conf-test] "."
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1309.65 s
[opt-env-conf-test] [ [ functionChunk "option",
1309.65 s
[opt-env-conf-test] " has no ",
1309.65 s
[opt-env-conf-test] functionChunk "long",
1309.65 s
[opt-env-conf-test] " or ",
1309.65 s
[opt-env-conf-test] functionChunk "short",
1309.65 s
[opt-env-conf-test] "."
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1309.65 s
[opt-env-conf-test] [ [ functionChunk "option",
1309.65 s
[opt-env-conf-test] " or ",
1309.65 s
[opt-env-conf-test] functionChunk "name",
1309.65 s
[opt-env-conf-test] " has no ",
1309.65 s
[opt-env-conf-test] functionChunk "metavar",
1309.65 s
[opt-env-conf-test] "."
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1309.65 s
[opt-env-conf-test] [ [ functionChunk "switch",
1309.65 s
[opt-env-conf-test] " has no ",
1309.65 s
[opt-env-conf-test] functionChunk "long",
1309.65 s
[opt-env-conf-test] " or ",
1309.65 s
[opt-env-conf-test] functionChunk "short",
1309.65 s
[opt-env-conf-test] "."
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1309.65 s
[opt-env-conf-test] [ [ functionChunk "long",
1309.65 s
[opt-env-conf-test] " or ",
1309.65 s
[opt-env-conf-test] functionChunk "short",
1309.65 s
[opt-env-conf-test] " has no ",
1309.65 s
[opt-env-conf-test] functionChunk "option",
1309.65 s
[opt-env-conf-test] " or ",
1309.65 s
[opt-env-conf-test] functionChunk "switch",
1309.65 s
[opt-env-conf-test] "."
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1309.65 s
[opt-env-conf-test] [ [ functionChunk "env",
1309.65 s
[opt-env-conf-test] " or ",
1309.65 s
[opt-env-conf-test] functionChunk "name",
1309.65 s
[opt-env-conf-test] " has no ",
1309.65 s
[opt-env-conf-test] functionChunk "reader",
1309.65 s
[opt-env-conf-test] "."
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1309.65 s
[opt-env-conf-test] [ [ functionChunk "env",
1309.65 s
[opt-env-conf-test] " or ",
1309.65 s
[opt-env-conf-test] functionChunk "name",
1309.65 s
[opt-env-conf-test] " has no ",
1309.65 s
[opt-env-conf-test] functionChunk "metavar",
1309.65 s
[opt-env-conf-test] "."
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] ]
1309.65 s
[opt-env-conf-test] - LintErrorNoCommands ->
1309.65 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1309.82 s
[opt-env-conf-test] - " was called with an empty list."
1309.82 s
[opt-env-conf-test] - ]
1309.82 s
[opt-env-conf-test] - ]
1309.82 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1309.83 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1309.83 s
[opt-env-conf-test] " was called with an unknown command: ",
1309.83 s
[opt-env-conf-test] commandChunk c
1309.83 s
[opt-env-conf-test] ]
1309.83 s
[opt-env-conf-test] ]
1309.83 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1309.83 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1309.83 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1309.83 s
[opt-env-conf-test] ]
1309.83 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1309.83 s
[opt-env-conf-test] [ [ functionChunk "conf",
1309.83 s
[opt-env-conf-test] " or ",
1309.83 s
[opt-env-conf-test] functionChunk "name",
1309.83 s
[opt-env-conf-test] " was called with no way to load configuration."
1309.83 s
[opt-env-conf-test] ],
1309.83 s
[opt-env-conf-test] [ "You can load configuration with ",
1309.83 s
[opt-env-conf-test] functionChunk "withConfig",
1309.83 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1309.83 s
[opt-env-conf-test] functionChunk "withoutConfig",
1309.83 s
[opt-env-conf-test] "."
1309.83 s
[opt-env-conf-test] ]
1309.83 s
[opt-env-conf-test] ]
1309.83 s
[opt-env-conf-test] LintErrorManyInfinite ->
1309.83 s
[opt-env-conf-test] [ [ functionChunk "many",
1309.83 s
[opt-env-conf-test] " or ",
1309.83 s
[opt-env-conf-test] functionChunk "some",
1309.83 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1309.83 s
[opt-env-conf-test] ],
1309.83 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1309.83 s
[opt-env-conf-test] ],
1309.83 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1309.83 s
[opt-env-conf-test] ]
1309.83 s
[opt-env-conf-test]
1309.84 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1309.84 s
[opt-env-conf-test] @@ -66,168 +66,162 @@
1309.84 s
[opt-env-conf-test] renderLintError LintError {..} =
1309.84 s
[opt-env-conf-test] concat
1309.84 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1309.84 s
[opt-env-conf-test] case lintErrorMessage of
1309.84 s
[opt-env-conf-test] LintErrorUndocumented ->
1309.84 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1309.84 s
[opt-env-conf-test] LintErrorEmptySetting ->
1309.84 s
[opt-env-conf-test] concat
1309.84 s
[opt-env-conf-test] [ [ [ "This ",
1309.84 s
[opt-env-conf-test] functionChunk "setting",
1309.84 s
[opt-env-conf-test] " parses nothing."
1309.84 s
[opt-env-conf-test] ]
1309.84 s
[opt-env-conf-test] ],
1309.84 s
[opt-env-conf-test] [ [ "Add an ",
1309.84 s
[opt-env-conf-test] functionChunk "argument",
1309.84 s
[opt-env-conf-test] ", ",
1309.84 s
[opt-env-conf-test] functionChunk "switch",
1309.84 s
[opt-env-conf-test] ", ",
1309.84 s
[opt-env-conf-test] functionChunk "option",
1309.84 s
[opt-env-conf-test] ", ",
1309.84 s
[opt-env-conf-test] functionChunk "env",
1309.84 s
[opt-env-conf-test] ", ",
1309.84 s
[opt-env-conf-test] functionChunk "conf",
1309.84 s
[opt-env-conf-test] ", or ",
1309.84 s
[opt-env-conf-test] functionChunk "value",
1309.84 s
[opt-env-conf-test] "."
1309.84 s
[opt-env-conf-test] ]
1309.84 s
[opt-env-conf-test] ]
1309.84 s
[opt-env-conf-test] ]
1309.84 s
[opt-env-conf-test] LintErrorDashInShort ->
1309.84 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1309.84 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1309.84 s
[opt-env-conf-test] ]
1309.84 s
[opt-env-conf-test] LintErrorDashInLong s ->
1309.84 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1309.84 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1309.84 s
[opt-env-conf-test] [ "Try ",
1309.85 s
[opt-env-conf-test] functionChunk "long",
1309.85 s
[opt-env-conf-test] " ",
1309.85 s
[opt-env-conf-test] chunk $
1309.85 s
[opt-env-conf-test] T.pack $
1309.85 s
[opt-env-conf-test] show $
1309.85 s
[opt-env-conf-test] let go = \case
1309.85 s
[opt-env-conf-test] [] -> []
1309.85 s
[opt-env-conf-test] '-' : cs -> go cs
1309.85 s
[opt-env-conf-test] c : cs -> c : cs
1309.85 s
[opt-env-conf-test] in go $ NE.toList s,
1309.85 s
[opt-env-conf-test] " instead."
1309.85 s
[opt-env-conf-test] ]
1309.85 s
[opt-env-conf-test] ]
1309.85 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1309.85 s
[opt-env-conf-test] [ [ functionChunk "argument",
1309.85 s
[opt-env-conf-test] " has no ",
1309.85 s
[opt-env-conf-test] functionChunk "reader",
1309.85 s
[opt-env-conf-test] "."
1309.85 s
[opt-env-conf-test] ]
1309.85 s
[opt-env-conf-test] ]
1309.85 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1309.85 s
[opt-env-conf-test] [ [ functionChunk "argument",
1309.85 s
[opt-env-conf-test] " has no ",
1309.85 s
[opt-env-conf-test] functionChunk "metavar",
1309.85 s
[opt-env-conf-test] "."
1309.85 s
[opt-env-conf-test] ]
1309.85 s
[opt-env-conf-test] ]
1309.85 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1309.85 s
[opt-env-conf-test] [ [ functionChunk "option",
1309.85 s
[opt-env-conf-test] " or ",
1309.85 s
[opt-env-conf-test] functionChunk "name",
1309.85 s
[opt-env-conf-test] " has no ",
1309.85 s
[opt-env-conf-test] functionChunk "reader",
1309.85 s
[opt-env-conf-test] "."
1309.85 s
[opt-env-conf-test] ]
1309.85 s
[opt-env-conf-test] ]
1309.85 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1309.85 s
[opt-env-conf-test] [ [ functionChunk "option",
1309.85 s
[opt-env-conf-test] " has no ",
1309.85 s
[opt-env-conf-test] functionChunk "long",
1309.86 s
[opt-env-conf-test] " or ",
1309.86 s
[opt-env-conf-test] functionChunk "short",
1309.86 s
[opt-env-conf-test] "."
1309.86 s
[opt-env-conf-test] ]
1309.86 s
[opt-env-conf-test] ]
1309.86 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1309.86 s
[opt-env-conf-test] [ [ functionChunk "option",
1309.86 s
[opt-env-conf-test] " or ",
1309.86 s
[opt-env-conf-test] functionChunk "name",
1309.86 s
[opt-env-conf-test] " has no ",
1309.86 s
[opt-env-conf-test] functionChunk "metavar",
1309.86 s
[opt-env-conf-test] "."
1309.86 s
[opt-env-conf-test] ]
1309.86 s
[opt-env-conf-test] ]
1309.86 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1309.86 s
[opt-env-conf-test] [ [ functionChunk "switch",
1309.86 s
[opt-env-conf-test] " has no ",
1309.86 s
[opt-env-conf-test] functionChunk "long",
1309.86 s
[opt-env-conf-test] " or ",
1309.86 s
[opt-env-conf-test] functionChunk "short",
1309.86 s
[opt-env-conf-test] "."
1309.86 s
[opt-env-conf-test] ]
1309.86 s
[opt-env-conf-test] ]
1309.86 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1309.86 s
[opt-env-conf-test] [ [ functionChunk "long",
1309.86 s
[opt-env-conf-test] " or ",
1309.86 s
[opt-env-conf-test] functionChunk "short",
1309.86 s
[opt-env-conf-test] " has no ",
1309.86 s
[opt-env-conf-test] functionChunk "option",
1309.86 s
[opt-env-conf-test] " or ",
1309.86 s
[opt-env-conf-test] functionChunk "switch",
1309.86 s
[opt-env-conf-test] "."
1309.86 s
[opt-env-conf-test] ]
1309.86 s
[opt-env-conf-test] ]
1309.86 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1309.86 s
[opt-env-conf-test] [ [ functionChunk "env",
1309.87 s
[opt-env-conf-test] " or ",
1309.87 s
[opt-env-conf-test] functionChunk "name",
1309.87 s
[opt-env-conf-test] " has no ",
1309.87 s
[opt-env-conf-test] functionChunk "reader",
1309.87 s
[opt-env-conf-test] "."
1309.87 s
[opt-env-conf-test] ]
1309.87 s
[opt-env-conf-test] ]
1309.87 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1309.87 s
[opt-env-conf-test] [ [ functionChunk "env",
1309.87 s
[opt-env-conf-test] " or ",
1309.87 s
[opt-env-conf-test] functionChunk "name",
1309.87 s
[opt-env-conf-test] " has no ",
1309.87 s
[opt-env-conf-test] functionChunk "metavar",
1309.87 s
[opt-env-conf-test] "."
1309.87 s
[opt-env-conf-test] ]
1309.87 s
[opt-env-conf-test] ]
1309.87 s
[opt-env-conf-test] LintErrorNoCommands ->
1309.87 s
[opt-env-conf-test] [ [ functionChunk "commands",
1309.87 s
[opt-env-conf-test] " was called with an empty list."
1309.87 s
[opt-env-conf-test] - ]
1309.87 s
[opt-env-conf-test] - ]
1309.87 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
1309.87 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1309.87 s
[opt-env-conf-test] - " was called with an unknown command: ",
1309.87 s
[opt-env-conf-test] - commandChunk c
1309.87 s
[opt-env-conf-test] ]
1309.87 s
[opt-env-conf-test] ]
1309.87 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1309.87 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1309.87 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1309.87 s
[opt-env-conf-test] ]
1309.87 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1309.87 s
[opt-env-conf-test] [ [ functionChunk "conf",
1309.87 s
[opt-env-conf-test] " or ",
1309.87 s
[opt-env-conf-test] functionChunk "name",
1309.87 s
[opt-env-conf-test] " was called with no way to load configuration."
1309.87 s
[opt-env-conf-test] ],
1309.87 s
[opt-env-conf-test] [ "You can load configuration with ",
1309.87 s
[opt-env-conf-test] functionChunk "withConfig",
1309.87 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1309.88 s
[opt-env-conf-test] functionChunk "withoutConfig",
1309.88 s
[opt-env-conf-test] "."
1309.88 s
[opt-env-conf-test] ]
1309.88 s
[opt-env-conf-test] ]
1309.88 s
[opt-env-conf-test] LintErrorManyInfinite ->
1309.88 s
[opt-env-conf-test] [ [ functionChunk "many",
1309.88 s
[opt-env-conf-test] " or ",
1309.88 s
[opt-env-conf-test] functionChunk "some",
1309.88 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1309.88 s
[opt-env-conf-test] ],
1309.88 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1309.88 s
[opt-env-conf-test] ],
1309.88 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1309.88 s
[opt-env-conf-test] ]
1309.88 s
[opt-env-conf-test]
1309.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1309.88 s
[opt-env-conf-test] @@ -66,168 +66,164 @@
1309.88 s
[opt-env-conf-test] renderLintError LintError {..} =
1309.88 s
[opt-env-conf-test] concat
1309.88 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1309.88 s
[opt-env-conf-test] case lintErrorMessage of
1309.88 s
[opt-env-conf-test] LintErrorUndocumented ->
1309.88 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1309.88 s
[opt-env-conf-test] LintErrorEmptySetting ->
1309.88 s
[opt-env-conf-test] concat
1309.88 s
[opt-env-conf-test] [ [ [ "This ",
1309.88 s
[opt-env-conf-test] functionChunk "setting",
1309.88 s
[opt-env-conf-test] " parses nothing."
1309.88 s
[opt-env-conf-test] ]
1309.88 s
[opt-env-conf-test] ],
1309.88 s
[opt-env-conf-test] [ [ "Add an ",
1309.88 s
[opt-env-conf-test] functionChunk "argument",
1309.88 s
[opt-env-conf-test] ", ",
1309.88 s
[opt-env-conf-test] functionChunk "switch",
1309.88 s
[opt-env-conf-test] ", ",
1309.88 s
[opt-env-conf-test] functionChunk "option",
1309.88 s
[opt-env-conf-test] ", ",
1309.88 s
[opt-env-conf-test] functionChunk "env",
1309.88 s
[opt-env-conf-test] ", ",
1309.88 s
[opt-env-conf-test] functionChunk "conf",
1309.88 s
[opt-env-conf-test] ", or ",
1309.88 s
[opt-env-conf-test] functionChunk "value",
1309.88 s
[opt-env-conf-test] "."
1309.88 s
[opt-env-conf-test] ]
1309.88 s
[opt-env-conf-test] ]
1309.88 s
[opt-env-conf-test] ]
1309.88 s
[opt-env-conf-test] LintErrorDashInShort ->
1309.88 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1309.88 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1309.88 s
[opt-env-conf-test] ]
1309.88 s
[opt-env-conf-test] LintErrorDashInLong s ->
1309.88 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1309.88 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1309.89 s
[opt-env-conf-test] [ "Try ",
1309.89 s
[opt-env-conf-test] functionChunk "long",
1309.89 s
[opt-env-conf-test] " ",
1309.89 s
[opt-env-conf-test] chunk $
1309.89 s
[opt-env-conf-test] T.pack $
1309.89 s
[opt-env-conf-test] show $
1309.89 s
[opt-env-conf-test] let go = \case
1309.89 s
[opt-env-conf-test] [] -> []
1309.89 s
[opt-env-conf-test] '-' : cs -> go cs
1309.89 s
[opt-env-conf-test] c : cs -> c : cs
1309.89 s
[opt-env-conf-test] in go $ NE.toList s,
1309.89 s
[opt-env-conf-test] " instead."
1309.89 s
[opt-env-conf-test] ]
1309.89 s
[opt-env-conf-test] ]
1309.89 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1309.89 s
[opt-env-conf-test] [ [ functionChunk "argument",
1309.89 s
[opt-env-conf-test] " has no ",
1309.89 s
[opt-env-conf-test] functionChunk "reader",
1309.89 s
[opt-env-conf-test] "."
1309.89 s
[opt-env-conf-test] ]
1309.89 s
[opt-env-conf-test] ]
1309.89 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1309.89 s
[opt-env-conf-test] [ [ functionChunk "argument",
1309.89 s
[opt-env-conf-test] " has no ",
1309.89 s
[opt-env-conf-test] functionChunk "metavar",
1309.89 s
[opt-env-conf-test] "."
1309.89 s
[opt-env-conf-test] ]
1309.89 s
[opt-env-conf-test] ]
1309.89 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1309.89 s
[opt-env-conf-test] [ [ functionChunk "option",
1309.89 s
[opt-env-conf-test] " or ",
1309.89 s
[opt-env-conf-test] functionChunk "name",
1309.89 s
[opt-env-conf-test] " has no ",
1309.89 s
[opt-env-conf-test] functionChunk "reader",
1309.89 s
[opt-env-conf-test] "."
1309.89 s
[opt-env-conf-test] ]
1309.89 s
[opt-env-conf-test] ]
1309.89 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1309.89 s
[opt-env-conf-test] [ [ functionChunk "option",
1309.89 s
[opt-env-conf-test] " has no ",
1309.89 s
[opt-env-conf-test] functionChunk "long",
1309.89 s
[opt-env-conf-test] " or ",
1309.89 s
[opt-env-conf-test] functionChunk "short",
1309.89 s
[opt-env-conf-test] "."
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1309.90 s
[opt-env-conf-test] [ [ functionChunk "option",
1309.90 s
[opt-env-conf-test] " or ",
1309.90 s
[opt-env-conf-test] functionChunk "name",
1309.90 s
[opt-env-conf-test] " has no ",
1309.90 s
[opt-env-conf-test] functionChunk "metavar",
1309.90 s
[opt-env-conf-test] "."
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1309.90 s
[opt-env-conf-test] [ [ functionChunk "switch",
1309.90 s
[opt-env-conf-test] " has no ",
1309.90 s
[opt-env-conf-test] functionChunk "long",
1309.90 s
[opt-env-conf-test] " or ",
1309.90 s
[opt-env-conf-test] functionChunk "short",
1309.90 s
[opt-env-conf-test] "."
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1309.90 s
[opt-env-conf-test] [ [ functionChunk "long",
1309.90 s
[opt-env-conf-test] " or ",
1309.90 s
[opt-env-conf-test] functionChunk "short",
1309.90 s
[opt-env-conf-test] " has no ",
1309.90 s
[opt-env-conf-test] functionChunk "option",
1309.90 s
[opt-env-conf-test] " or ",
1309.90 s
[opt-env-conf-test] functionChunk "switch",
1309.90 s
[opt-env-conf-test] "."
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1309.90 s
[opt-env-conf-test] [ [ functionChunk "env",
1309.90 s
[opt-env-conf-test] " or ",
1309.90 s
[opt-env-conf-test] functionChunk "name",
1309.90 s
[opt-env-conf-test] " has no ",
1309.90 s
[opt-env-conf-test] functionChunk "reader",
1309.90 s
[opt-env-conf-test] "."
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1309.90 s
[opt-env-conf-test] [ [ functionChunk "env",
1309.90 s
[opt-env-conf-test] " or ",
1309.90 s
[opt-env-conf-test] functionChunk "name",
1309.90 s
[opt-env-conf-test] " has no ",
1309.90 s
[opt-env-conf-test] functionChunk "metavar",
1309.90 s
[opt-env-conf-test] "."
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] ]
1309.90 s
[opt-env-conf-test] LintErrorNoCommands ->
1309.90 s
[opt-env-conf-test] [ [ functionChunk "commands",
1309.91 s
[opt-env-conf-test] " was called with an empty list."
1310.47 s
[opt-env-conf-test] ]
1310.47 s
[opt-env-conf-test] ]
1310.47 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1310.47 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1310.47 s
[opt-env-conf-test] " was called with an unknown command: ",
1310.47 s
[opt-env-conf-test] commandChunk c
1310.47 s
[opt-env-conf-test] ]
1310.47 s
[opt-env-conf-test] - ]
1310.47 s
[opt-env-conf-test] - LintErrorUnreadableExample e ->
1310.47 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1310.47 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1310.47 s
[opt-env-conf-test] ]
1310.47 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1310.48 s
[opt-env-conf-test] [ [ functionChunk "conf",
1310.48 s
[opt-env-conf-test] " or ",
1310.48 s
[opt-env-conf-test] functionChunk "name",
1310.48 s
[opt-env-conf-test] " was called with no way to load configuration."
1310.48 s
[opt-env-conf-test] ],
1310.48 s
[opt-env-conf-test] [ "You can load configuration with ",
1310.48 s
[opt-env-conf-test] functionChunk "withConfig",
1310.48 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1310.48 s
[opt-env-conf-test] functionChunk "withoutConfig",
1310.48 s
[opt-env-conf-test] "."
1310.48 s
[opt-env-conf-test] ]
1310.48 s
[opt-env-conf-test] ]
1310.48 s
[opt-env-conf-test] LintErrorManyInfinite ->
1310.48 s
[opt-env-conf-test] [ [ functionChunk "many",
1310.48 s
[opt-env-conf-test] " or ",
1310.48 s
[opt-env-conf-test] functionChunk "some",
1310.48 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1310.48 s
[opt-env-conf-test] ],
1310.48 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1310.48 s
[opt-env-conf-test] ],
1310.48 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1310.48 s
[opt-env-conf-test] ]
1310.48 s
[opt-env-conf-test]
1310.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1310.48 s
[opt-env-conf-test] @@ -66,168 +66,155 @@
1310.48 s
[opt-env-conf-test] renderLintError LintError {..} =
1310.48 s
[opt-env-conf-test] concat
1310.48 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1310.48 s
[opt-env-conf-test] case lintErrorMessage of
1310.48 s
[opt-env-conf-test] LintErrorUndocumented ->
1310.48 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1310.48 s
[opt-env-conf-test] LintErrorEmptySetting ->
1310.48 s
[opt-env-conf-test] concat
1310.48 s
[opt-env-conf-test] [ [ [ "This ",
1310.48 s
[opt-env-conf-test] functionChunk "setting",
1310.48 s
[opt-env-conf-test] " parses nothing."
1310.48 s
[opt-env-conf-test] ]
1310.48 s
[opt-env-conf-test] ],
1310.48 s
[opt-env-conf-test] [ [ "Add an ",
1310.48 s
[opt-env-conf-test] functionChunk "argument",
1310.48 s
[opt-env-conf-test] ", ",
1310.48 s
[opt-env-conf-test] functionChunk "switch",
1310.48 s
[opt-env-conf-test] ", ",
1310.48 s
[opt-env-conf-test] functionChunk "option",
1310.48 s
[opt-env-conf-test] ", ",
1310.49 s
[opt-env-conf-test] functionChunk "env",
1310.49 s
[opt-env-conf-test] ", ",
1310.49 s
[opt-env-conf-test] functionChunk "conf",
1310.49 s
[opt-env-conf-test] ", or ",
1310.49 s
[opt-env-conf-test] functionChunk "value",
1310.49 s
[opt-env-conf-test] "."
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] LintErrorDashInShort ->
1310.49 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1310.49 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] LintErrorDashInLong s ->
1310.49 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1310.49 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1310.49 s
[opt-env-conf-test] [ "Try ",
1310.49 s
[opt-env-conf-test] functionChunk "long",
1310.49 s
[opt-env-conf-test] " ",
1310.49 s
[opt-env-conf-test] chunk $
1310.49 s
[opt-env-conf-test] T.pack $
1310.49 s
[opt-env-conf-test] show $
1310.49 s
[opt-env-conf-test] let go = \case
1310.49 s
[opt-env-conf-test] [] -> []
1310.49 s
[opt-env-conf-test] '-' : cs -> go cs
1310.49 s
[opt-env-conf-test] c : cs -> c : cs
1310.49 s
[opt-env-conf-test] in go $ NE.toList s,
1310.49 s
[opt-env-conf-test] " instead."
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1310.49 s
[opt-env-conf-test] [ [ functionChunk "argument",
1310.49 s
[opt-env-conf-test] " has no ",
1310.49 s
[opt-env-conf-test] functionChunk "reader",
1310.49 s
[opt-env-conf-test] "."
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1310.49 s
[opt-env-conf-test] [ [ functionChunk "argument",
1310.49 s
[opt-env-conf-test] " has no ",
1310.49 s
[opt-env-conf-test] functionChunk "metavar",
1310.49 s
[opt-env-conf-test] "."
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1310.49 s
[opt-env-conf-test] [ [ functionChunk "option",
1310.49 s
[opt-env-conf-test] " or ",
1310.49 s
[opt-env-conf-test] functionChunk "name",
1310.49 s
[opt-env-conf-test] " has no ",
1310.49 s
[opt-env-conf-test] functionChunk "reader",
1310.49 s
[opt-env-conf-test] "."
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1310.49 s
[opt-env-conf-test] [ [ functionChunk "option",
1310.49 s
[opt-env-conf-test] " has no ",
1310.49 s
[opt-env-conf-test] functionChunk "long",
1310.49 s
[opt-env-conf-test] " or ",
1310.49 s
[opt-env-conf-test] functionChunk "short",
1310.49 s
[opt-env-conf-test] "."
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] ]
1310.49 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1310.49 s
[opt-env-conf-test] [ [ functionChunk "option",
1310.49 s
[opt-env-conf-test] " or ",
1310.49 s
[opt-env-conf-test] functionChunk "name",
1310.49 s
[opt-env-conf-test] " has no ",
1310.49 s
[opt-env-conf-test] functionChunk "metavar",
1310.49 s
[opt-env-conf-test] "."
1310.50 s
[opt-env-conf-test] ]
1310.50 s
[opt-env-conf-test] ]
1310.50 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1310.50 s
[opt-env-conf-test] [ [ functionChunk "switch",
1310.50 s
[opt-env-conf-test] " has no ",
1310.50 s
[opt-env-conf-test] functionChunk "long",
1310.50 s
[opt-env-conf-test] " or ",
1310.50 s
[opt-env-conf-test] functionChunk "short",
1310.50 s
[opt-env-conf-test] "."
1310.50 s
[opt-env-conf-test] ]
1310.50 s
[opt-env-conf-test] ]
1310.50 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1310.50 s
[opt-env-conf-test] [ [ functionChunk "long",
1310.50 s
[opt-env-conf-test] " or ",
1310.50 s
[opt-env-conf-test] functionChunk "short",
1310.50 s
[opt-env-conf-test] " has no ",
1310.50 s
[opt-env-conf-test] functionChunk "option",
1310.50 s
[opt-env-conf-test] " or ",
1310.50 s
[opt-env-conf-test] functionChunk "switch",
1310.50 s
[opt-env-conf-test] "."
1310.50 s
[opt-env-conf-test] ]
1310.50 s
[opt-env-conf-test] ]
1310.50 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1310.50 s
[opt-env-conf-test] [ [ functionChunk "env",
1310.50 s
[opt-env-conf-test] " or ",
1310.50 s
[opt-env-conf-test] functionChunk "name",
1310.50 s
[opt-env-conf-test] " has no ",
1310.50 s
[opt-env-conf-test] functionChunk "reader",
1310.50 s
[opt-env-conf-test] "."
1310.50 s
[opt-env-conf-test] ]
1310.50 s
[opt-env-conf-test] ]
1310.50 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1310.50 s
[opt-env-conf-test] [ [ functionChunk "env",
1310.50 s
[opt-env-conf-test] " or ",
1310.50 s
[opt-env-conf-test] functionChunk "name",
1310.50 s
[opt-env-conf-test] " has no ",
1310.50 s
[opt-env-conf-test] functionChunk "metavar",
1310.50 s
[opt-env-conf-test] "."
1310.50 s
[opt-env-conf-test] ]
1310.50 s
[opt-env-conf-test] ]
1310.50 s
[opt-env-conf-test] LintErrorNoCommands ->
1310.50 s
[opt-env-conf-test] [ [ functionChunk "commands",
1310.50 s
[opt-env-conf-test] " was called with an empty list."
1311.37 s
[opt-env-conf-test] ]
1311.37 s
[opt-env-conf-test] ]
1311.37 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1311.37 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1311.37 s
[opt-env-conf-test] " was called with an unknown command: ",
1311.37 s
[opt-env-conf-test] commandChunk c
1311.37 s
[opt-env-conf-test] ]
1311.37 s
[opt-env-conf-test] ]
1311.37 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1311.37 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1311.37 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1311.37 s
[opt-env-conf-test] ]
1311.37 s
[opt-env-conf-test] - LintErrorConfigWithoutLoad ->
1311.37 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1311.37 s
[opt-env-conf-test] - " or ",
1311.37 s
[opt-env-conf-test] - functionChunk "name",
1311.37 s
[opt-env-conf-test] - " was called with no way to load configuration."
1311.37 s
[opt-env-conf-test] - ],
1311.38 s
[opt-env-conf-test] - [ "You can load configuration with ",
1311.38 s
[opt-env-conf-test] - functionChunk "withConfig",
1311.38 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1311.38 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1311.38 s
[opt-env-conf-test] - "."
1311.38 s
[opt-env-conf-test] - ]
1311.38 s
[opt-env-conf-test] - ]
1311.38 s
[opt-env-conf-test] LintErrorManyInfinite ->
1311.38 s
[opt-env-conf-test] [ [ functionChunk "many",
1311.38 s
[opt-env-conf-test] " or ",
1311.38 s
[opt-env-conf-test] functionChunk "some",
1311.38 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1311.38 s
[opt-env-conf-test] ],
1311.38 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1311.38 s
[opt-env-conf-test] ],
1311.38 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1311.38 s
[opt-env-conf-test] ]
1311.38 s
[opt-env-conf-test]
1311.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1311.38 s
[opt-env-conf-test] @@ -66,168 +66,160 @@
1311.38 s
[opt-env-conf-test] renderLintError LintError {..} =
1311.38 s
[opt-env-conf-test] concat
1311.38 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1311.38 s
[opt-env-conf-test] case lintErrorMessage of
1311.38 s
[opt-env-conf-test] LintErrorUndocumented ->
1311.38 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1311.38 s
[opt-env-conf-test] LintErrorEmptySetting ->
1311.38 s
[opt-env-conf-test] concat
1311.38 s
[opt-env-conf-test] [ [ [ "This ",
1311.38 s
[opt-env-conf-test] functionChunk "setting",
1311.38 s
[opt-env-conf-test] " parses nothing."
1311.38 s
[opt-env-conf-test] ]
1311.38 s
[opt-env-conf-test] ],
1311.38 s
[opt-env-conf-test] [ [ "Add an ",
1311.38 s
[opt-env-conf-test] functionChunk "argument",
1311.38 s
[opt-env-conf-test] ", ",
1311.38 s
[opt-env-conf-test] functionChunk "switch",
1311.38 s
[opt-env-conf-test] ", ",
1311.38 s
[opt-env-conf-test] functionChunk "option",
1311.39 s
[opt-env-conf-test] ", ",
1311.39 s
[opt-env-conf-test] functionChunk "env",
1311.39 s
[opt-env-conf-test] ", ",
1311.39 s
[opt-env-conf-test] functionChunk "conf",
1311.39 s
[opt-env-conf-test] ", or ",
1311.39 s
[opt-env-conf-test] functionChunk "value",
1311.39 s
[opt-env-conf-test] "."
1311.39 s
[opt-env-conf-test] ]
1311.39 s
[opt-env-conf-test] ]
1311.39 s
[opt-env-conf-test] ]
1311.39 s
[opt-env-conf-test] LintErrorDashInShort ->
1311.39 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1311.39 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1311.39 s
[opt-env-conf-test] ]
1311.39 s
[opt-env-conf-test] LintErrorDashInLong s ->
1311.39 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1311.39 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1311.39 s
[opt-env-conf-test] [ "Try ",
1311.39 s
[opt-env-conf-test] functionChunk "long",
1311.39 s
[opt-env-conf-test] " ",
1311.39 s
[opt-env-conf-test] chunk $
1311.39 s
[opt-env-conf-test] T.pack $
1311.39 s
[opt-env-conf-test] show $
1311.39 s
[opt-env-conf-test] let go = \case
1311.39 s
[opt-env-conf-test] [] -> []
1311.39 s
[opt-env-conf-test] '-' : cs -> go cs
1311.39 s
[opt-env-conf-test] c : cs -> c : cs
1311.39 s
[opt-env-conf-test] in go $ NE.toList s,
1311.39 s
[opt-env-conf-test] " instead."
1311.39 s
[opt-env-conf-test] ]
1311.39 s
[opt-env-conf-test] ]
1311.39 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1311.39 s
[opt-env-conf-test] [ [ functionChunk "argument",
1311.39 s
[opt-env-conf-test] " has no ",
1311.39 s
[opt-env-conf-test] functionChunk "reader",
1311.39 s
[opt-env-conf-test] "."
1311.39 s
[opt-env-conf-test] ]
1311.39 s
[opt-env-conf-test] ]
1311.39 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1311.39 s
[opt-env-conf-test] [ [ functionChunk "argument",
1311.39 s
[opt-env-conf-test] " has no ",
1311.39 s
[opt-env-conf-test] functionChunk "metavar",
1311.39 s
[opt-env-conf-test] "."
1311.39 s
[opt-env-conf-test] ]
1311.39 s
[opt-env-conf-test] ]
1311.39 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1311.39 s
[opt-env-conf-test] [ [ functionChunk "option",
1311.39 s
[opt-env-conf-test] " or ",
1311.39 s
[opt-env-conf-test] functionChunk "name",
1311.39 s
[opt-env-conf-test] " has no ",
1311.39 s
[opt-env-conf-test] functionChunk "reader",
1311.39 s
[opt-env-conf-test] "."
1311.39 s
[opt-env-conf-test] ]
1311.39 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1311.40 s
[opt-env-conf-test] [ [ functionChunk "option",
1311.40 s
[opt-env-conf-test] " has no ",
1311.40 s
[opt-env-conf-test] functionChunk "long",
1311.40 s
[opt-env-conf-test] " or ",
1311.40 s
[opt-env-conf-test] functionChunk "short",
1311.40 s
[opt-env-conf-test] "."
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1311.40 s
[opt-env-conf-test] [ [ functionChunk "option",
1311.40 s
[opt-env-conf-test] " or ",
1311.40 s
[opt-env-conf-test] functionChunk "name",
1311.40 s
[opt-env-conf-test] " has no ",
1311.40 s
[opt-env-conf-test] functionChunk "metavar",
1311.40 s
[opt-env-conf-test] "."
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1311.40 s
[opt-env-conf-test] [ [ functionChunk "switch",
1311.40 s
[opt-env-conf-test] " has no ",
1311.40 s
[opt-env-conf-test] functionChunk "long",
1311.40 s
[opt-env-conf-test] " or ",
1311.40 s
[opt-env-conf-test] functionChunk "short",
1311.40 s
[opt-env-conf-test] "."
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1311.40 s
[opt-env-conf-test] [ [ functionChunk "long",
1311.40 s
[opt-env-conf-test] " or ",
1311.40 s
[opt-env-conf-test] functionChunk "short",
1311.40 s
[opt-env-conf-test] " has no ",
1311.40 s
[opt-env-conf-test] functionChunk "option",
1311.40 s
[opt-env-conf-test] " or ",
1311.40 s
[opt-env-conf-test] functionChunk "switch",
1311.40 s
[opt-env-conf-test] "."
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1311.40 s
[opt-env-conf-test] [ [ functionChunk "env",
1311.40 s
[opt-env-conf-test] " or ",
1311.40 s
[opt-env-conf-test] functionChunk "name",
1311.40 s
[opt-env-conf-test] " has no ",
1311.40 s
[opt-env-conf-test] functionChunk "reader",
1311.40 s
[opt-env-conf-test] "."
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1311.40 s
[opt-env-conf-test] [ [ functionChunk "env",
1311.40 s
[opt-env-conf-test] " or ",
1311.40 s
[opt-env-conf-test] functionChunk "name",
1311.40 s
[opt-env-conf-test] " has no ",
1311.40 s
[opt-env-conf-test] functionChunk "metavar",
1311.40 s
[opt-env-conf-test] "."
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] ]
1311.40 s
[opt-env-conf-test] LintErrorNoCommands ->
1311.40 s
[opt-env-conf-test] [ [ functionChunk "commands",
1311.40 s
[opt-env-conf-test] " was called with an empty list."
1311.47 s
[opt-env-conf-test] ]
1311.47 s
[opt-env-conf-test] ]
1311.47 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1311.47 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1311.47 s
[opt-env-conf-test] " was called with an unknown command: ",
1311.47 s
[opt-env-conf-test] commandChunk c
1311.47 s
[opt-env-conf-test] ]
1311.47 s
[opt-env-conf-test] ]
1311.47 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1311.47 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1311.47 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1311.48 s
[opt-env-conf-test] ]
1311.48 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1311.48 s
[opt-env-conf-test] [ [ functionChunk "conf",
1311.48 s
[opt-env-conf-test] " or ",
1311.48 s
[opt-env-conf-test] functionChunk "name",
1311.48 s
[opt-env-conf-test] " was called with no way to load configuration."
1311.48 s
[opt-env-conf-test] ],
1311.48 s
[opt-env-conf-test] [ "You can load configuration with ",
1311.48 s
[opt-env-conf-test] functionChunk "withConfig",
1311.48 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1311.48 s
[opt-env-conf-test] functionChunk "withoutConfig",
1311.48 s
[opt-env-conf-test] "."
1311.48 s
[opt-env-conf-test] ]
1311.48 s
[opt-env-conf-test] ]
1311.48 s
[opt-env-conf-test] - LintErrorManyInfinite ->
1311.48 s
[opt-env-conf-test] - [ [ functionChunk "many",
1311.48 s
[opt-env-conf-test] - " or ",
1311.48 s
[opt-env-conf-test] - functionChunk "some",
1311.48 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1311.48 s
[opt-env-conf-test] - ],
1311.48 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1311.48 s
[opt-env-conf-test] - ],
1311.48 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1311.48 s
[opt-env-conf-test] ]
1311.48 s
[opt-env-conf-test]
1311.48 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1311.48 s
[opt-env-conf-test] @@ -65,171 +65,7 @@
1311.48 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1311.48 s
[opt-env-conf-test] renderLintError LintError {..} =
1311.48 s
[opt-env-conf-test] concat
1311.48 s
[opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
1311.48 s
[opt-env-conf-test] - case lintErrorMessage of
1311.48 s
[opt-env-conf-test] - LintErrorUndocumented ->
1311.48 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1311.48 s
[opt-env-conf-test] - LintErrorEmptySetting ->
1311.48 s
[opt-env-conf-test] - concat
1311.48 s
[opt-env-conf-test] - [ [ [ "This ",
1311.48 s
[opt-env-conf-test] - functionChunk "setting",
1311.48 s
[opt-env-conf-test] - " parses nothing."
1311.48 s
[opt-env-conf-test] - ]
1311.48 s
[opt-env-conf-test] - ],
1311.48 s
[opt-env-conf-test] - [ [ "Add an ",
1311.48 s
[opt-env-conf-test] - functionChunk "argument",
1311.48 s
[opt-env-conf-test] - ", ",
1311.48 s
[opt-env-conf-test] - functionChunk "switch",
1311.48 s
[opt-env-conf-test] - ", ",
1311.48 s
[opt-env-conf-test] - functionChunk "option",
1311.48 s
[opt-env-conf-test] - ", ",
1311.48 s
[opt-env-conf-test] - functionChunk "env",
1311.48 s
[opt-env-conf-test] - ", ",
1311.48 s
[opt-env-conf-test] - functionChunk "conf",
1311.49 s
[opt-env-conf-test] - ", or ",
1311.49 s
[opt-env-conf-test] - functionChunk "value",
1311.49 s
[opt-env-conf-test] - "."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorDashInShort ->
1311.49 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1311.49 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorDashInLong s ->
1311.49 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1311.49 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1311.49 s
[opt-env-conf-test] - [ "Try ",
1311.49 s
[opt-env-conf-test] - functionChunk "long",
1311.49 s
[opt-env-conf-test] - " ",
1311.49 s
[opt-env-conf-test] - chunk $
1311.49 s
[opt-env-conf-test] - T.pack $
1311.49 s
[opt-env-conf-test] - show $
1311.49 s
[opt-env-conf-test] - let go = \case
1311.49 s
[opt-env-conf-test] - [] -> []
1311.49 s
[opt-env-conf-test] - '-' : cs -> go cs
1311.49 s
[opt-env-conf-test] - c : cs -> c : cs
1311.49 s
[opt-env-conf-test] - in go $ NE.toList s,
1311.49 s
[opt-env-conf-test] - " instead."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorNoReaderForArgument ->
1311.49 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1311.49 s
[opt-env-conf-test] - " has no ",
1311.49 s
[opt-env-conf-test] - functionChunk "reader",
1311.49 s
[opt-env-conf-test] - "."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorNoMetavarForArgument ->
1311.49 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1311.49 s
[opt-env-conf-test] - " has no ",
1311.49 s
[opt-env-conf-test] - functionChunk "metavar",
1311.49 s
[opt-env-conf-test] - "."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorNoReaderForOption ->
1311.49 s
[opt-env-conf-test] - [ [ functionChunk "option",
1311.49 s
[opt-env-conf-test] - " or ",
1311.49 s
[opt-env-conf-test] - functionChunk "name",
1311.49 s
[opt-env-conf-test] - " has no ",
1311.49 s
[opt-env-conf-test] - functionChunk "reader",
1311.49 s
[opt-env-conf-test] - "."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorNoDashedForOption ->
1311.49 s
[opt-env-conf-test] - [ [ functionChunk "option",
1311.49 s
[opt-env-conf-test] - " has no ",
1311.49 s
[opt-env-conf-test] - functionChunk "long",
1311.49 s
[opt-env-conf-test] - " or ",
1311.49 s
[opt-env-conf-test] - functionChunk "short",
1311.49 s
[opt-env-conf-test] - "."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorNoMetavarForOption ->
1311.49 s
[opt-env-conf-test] - [ [ functionChunk "option",
1311.49 s
[opt-env-conf-test] - " or ",
1311.49 s
[opt-env-conf-test] - functionChunk "name",
1311.49 s
[opt-env-conf-test] - " has no ",
1311.49 s
[opt-env-conf-test] - functionChunk "metavar",
1311.49 s
[opt-env-conf-test] - "."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorNoDashedForSwitch ->
1311.49 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1311.49 s
[opt-env-conf-test] - " has no ",
1311.49 s
[opt-env-conf-test] - functionChunk "long",
1311.49 s
[opt-env-conf-test] - " or ",
1311.49 s
[opt-env-conf-test] - functionChunk "short",
1311.49 s
[opt-env-conf-test] - "."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
1311.49 s
[opt-env-conf-test] - [ [ functionChunk "long",
1311.49 s
[opt-env-conf-test] - " or ",
1311.49 s
[opt-env-conf-test] - functionChunk "short",
1311.49 s
[opt-env-conf-test] - " has no ",
1311.49 s
[opt-env-conf-test] - functionChunk "option",
1311.49 s
[opt-env-conf-test] - " or ",
1311.49 s
[opt-env-conf-test] - functionChunk "switch",
1311.49 s
[opt-env-conf-test] - "."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
1311.49 s
[opt-env-conf-test] - [ [ functionChunk "env",
1311.49 s
[opt-env-conf-test] - " or ",
1311.49 s
[opt-env-conf-test] - functionChunk "name",
1311.49 s
[opt-env-conf-test] - " has no ",
1311.49 s
[opt-env-conf-test] - functionChunk "reader",
1311.49 s
[opt-env-conf-test] - "."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
1311.49 s
[opt-env-conf-test] - [ [ functionChunk "env",
1311.49 s
[opt-env-conf-test] - " or ",
1311.49 s
[opt-env-conf-test] - functionChunk "name",
1311.49 s
[opt-env-conf-test] - " has no ",
1311.49 s
[opt-env-conf-test] - functionChunk "metavar",
1311.49 s
[opt-env-conf-test] - "."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorNoCommands ->
1311.49 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1311.49 s
[opt-env-conf-test] - " was called with an empty list."
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
1311.49 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1311.49 s
[opt-env-conf-test] - " was called with an unknown command: ",
1311.49 s
[opt-env-conf-test] - commandChunk c
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - ]
1311.49 s
[opt-env-conf-test] - LintErrorUnreadableExample e ->
1311.49 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1311.50 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1311.50 s
[opt-env-conf-test] - ]
1311.50 s
[opt-env-conf-test] - LintErrorConfigWithoutLoad ->
1311.50 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1311.50 s
[opt-env-conf-test] - " or ",
1311.50 s
[opt-env-conf-test] - functionChunk "name",
1311.50 s
[opt-env-conf-test] - " was called with no way to load configuration."
1311.50 s
[opt-env-conf-test] - ],
1311.50 s
[opt-env-conf-test] - [ "You can load configuration with ",
1311.50 s
[opt-env-conf-test] - functionChunk "withConfig",
1311.81 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1311.81 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1311.81 s
[opt-env-conf-test] - "."
1311.81 s
[opt-env-conf-test] - ]
1311.81 s
[opt-env-conf-test] - ]
1311.81 s
[opt-env-conf-test] - LintErrorManyInfinite ->
1311.81 s
[opt-env-conf-test] - [ [ functionChunk "many",
1311.81 s
[opt-env-conf-test] - " or ",
1311.81 s
[opt-env-conf-test] - functionChunk "some",
1311.81 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1311.81 s
[opt-env-conf-test] - ],
1311.81 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1311.81 s
[opt-env-conf-test] - ],
1311.81 s
[opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1311.81 s
[opt-env-conf-test] ]
1311.81 s
[opt-env-conf-test]
1311.81 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1311.81 s
[opt-env-conf-test] lintParser =
1311.82 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1311.82 s
[opt-env-conf-test] @@ -65,171 +65,170 @@
1311.82 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1311.82 s
[opt-env-conf-test] renderLintError LintError {..} =
1311.82 s
[opt-env-conf-test] concat
1311.82 s
[opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
1311.82 s
[opt-env-conf-test] case lintErrorMessage of
1311.82 s
[opt-env-conf-test] LintErrorUndocumented ->
1311.82 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1311.82 s
[opt-env-conf-test] LintErrorEmptySetting ->
1311.82 s
[opt-env-conf-test] concat
1311.82 s
[opt-env-conf-test] [ [ [ "This ",
1311.82 s
[opt-env-conf-test] functionChunk "setting",
1311.82 s
[opt-env-conf-test] " parses nothing."
1311.82 s
[opt-env-conf-test] ]
1311.82 s
[opt-env-conf-test] ],
1311.82 s
[opt-env-conf-test] [ [ "Add an ",
1311.82 s
[opt-env-conf-test] functionChunk "argument",
1311.82 s
[opt-env-conf-test] ", ",
1311.82 s
[opt-env-conf-test] functionChunk "switch",
1311.82 s
[opt-env-conf-test] ", ",
1311.82 s
[opt-env-conf-test] functionChunk "option",
1311.82 s
[opt-env-conf-test] ", ",
1311.82 s
[opt-env-conf-test] functionChunk "env",
1311.82 s
[opt-env-conf-test] ", ",
1311.82 s
[opt-env-conf-test] functionChunk "conf",
1311.82 s
[opt-env-conf-test] ", or ",
1311.82 s
[opt-env-conf-test] functionChunk "value",
1311.82 s
[opt-env-conf-test] "."
1311.82 s
[opt-env-conf-test] ]
1311.83 s
[opt-env-conf-test] ]
1311.83 s
[opt-env-conf-test] ]
1311.83 s
[opt-env-conf-test] LintErrorDashInShort ->
1311.83 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1311.83 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1311.83 s
[opt-env-conf-test] ]
1311.83 s
[opt-env-conf-test] LintErrorDashInLong s ->
1311.83 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1311.83 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1311.83 s
[opt-env-conf-test] [ "Try ",
1311.83 s
[opt-env-conf-test] functionChunk "long",
1311.83 s
[opt-env-conf-test] " ",
1311.83 s
[opt-env-conf-test] chunk $
1311.83 s
[opt-env-conf-test] T.pack $
1311.83 s
[opt-env-conf-test] show $
1311.83 s
[opt-env-conf-test] let go = \case
1311.83 s
[opt-env-conf-test] [] -> []
1311.83 s
[opt-env-conf-test] '-' : cs -> go cs
1311.83 s
[opt-env-conf-test] c : cs -> c : cs
1311.83 s
[opt-env-conf-test] in go $ NE.toList s,
1311.83 s
[opt-env-conf-test] " instead."
1311.83 s
[opt-env-conf-test] ]
1311.83 s
[opt-env-conf-test] ]
1311.83 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1311.83 s
[opt-env-conf-test] [ [ functionChunk "argument",
1311.83 s
[opt-env-conf-test] " has no ",
1311.83 s
[opt-env-conf-test] functionChunk "reader",
1311.83 s
[opt-env-conf-test] "."
1311.83 s
[opt-env-conf-test] ]
1311.83 s
[opt-env-conf-test] ]
1311.83 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1311.83 s
[opt-env-conf-test] [ [ functionChunk "argument",
1311.83 s
[opt-env-conf-test] " has no ",
1311.83 s
[opt-env-conf-test] functionChunk "metavar",
1311.83 s
[opt-env-conf-test] "."
1311.83 s
[opt-env-conf-test] ]
1311.83 s
[opt-env-conf-test] ]
1311.84 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1311.84 s
[opt-env-conf-test] [ [ functionChunk "option",
1311.84 s
[opt-env-conf-test] " or ",
1311.84 s
[opt-env-conf-test] functionChunk "name",
1311.84 s
[opt-env-conf-test] " has no ",
1311.84 s
[opt-env-conf-test] functionChunk "reader",
1311.84 s
[opt-env-conf-test] "."
1311.84 s
[opt-env-conf-test] ]
1311.84 s
[opt-env-conf-test] ]
1311.84 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1311.84 s
[opt-env-conf-test] [ [ functionChunk "option",
1311.84 s
[opt-env-conf-test] " has no ",
1311.84 s
[opt-env-conf-test] functionChunk "long",
1311.84 s
[opt-env-conf-test] " or ",
1311.84 s
[opt-env-conf-test] functionChunk "short",
1311.84 s
[opt-env-conf-test] "."
1311.84 s
[opt-env-conf-test] ]
1311.84 s
[opt-env-conf-test] ]
1311.84 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1311.84 s
[opt-env-conf-test] [ [ functionChunk "option",
1311.84 s
[opt-env-conf-test] " or ",
1311.84 s
[opt-env-conf-test] functionChunk "name",
1311.84 s
[opt-env-conf-test] " has no ",
1311.84 s
[opt-env-conf-test] functionChunk "metavar",
1311.84 s
[opt-env-conf-test] "."
1311.84 s
[opt-env-conf-test] ]
1311.84 s
[opt-env-conf-test] ]
1311.84 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1311.84 s
[opt-env-conf-test] [ [ functionChunk "switch",
1311.84 s
[opt-env-conf-test] " has no ",
1311.84 s
[opt-env-conf-test] functionChunk "long",
1311.84 s
[opt-env-conf-test] " or ",
1311.84 s
[opt-env-conf-test] functionChunk "short",
1311.84 s
[opt-env-conf-test] "."
1311.84 s
[opt-env-conf-test] ]
1311.84 s
[opt-env-conf-test] ]
1311.84 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1311.84 s
[opt-env-conf-test] [ [ functionChunk "long",
1311.84 s
[opt-env-conf-test] " or ",
1311.85 s
[opt-env-conf-test] functionChunk "short",
1311.85 s
[opt-env-conf-test] " has no ",
1311.85 s
[opt-env-conf-test] functionChunk "option",
1311.85 s
[opt-env-conf-test] " or ",
1311.85 s
[opt-env-conf-test] functionChunk "switch",
1311.85 s
[opt-env-conf-test] "."
1311.85 s
[opt-env-conf-test] ]
1311.85 s
[opt-env-conf-test] ]
1311.85 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1311.85 s
[opt-env-conf-test] [ [ functionChunk "env",
1311.85 s
[opt-env-conf-test] " or ",
1311.85 s
[opt-env-conf-test] functionChunk "name",
1311.85 s
[opt-env-conf-test] " has no ",
1311.85 s
[opt-env-conf-test] functionChunk "reader",
1311.85 s
[opt-env-conf-test] "."
1311.85 s
[opt-env-conf-test] ]
1311.85 s
[opt-env-conf-test] ]
1311.85 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1311.85 s
[opt-env-conf-test] [ [ functionChunk "env",
1311.85 s
[opt-env-conf-test] " or ",
1311.85 s
[opt-env-conf-test] functionChunk "name",
1311.85 s
[opt-env-conf-test] " has no ",
1311.85 s
[opt-env-conf-test] functionChunk "metavar",
1311.85 s
[opt-env-conf-test] "."
1311.85 s
[opt-env-conf-test] ]
1311.85 s
[opt-env-conf-test] ]
1311.85 s
[opt-env-conf-test] LintErrorNoCommands ->
1311.85 s
[opt-env-conf-test] [ [ functionChunk "commands",
1311.90 s
[opt-env-conf-test] " was called with an empty list."
1311.90 s
[opt-env-conf-test] ]
1311.90 s
[opt-env-conf-test] ]
1311.90 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1311.90 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1311.90 s
[opt-env-conf-test] " was called with an unknown command: ",
1311.90 s
[opt-env-conf-test] commandChunk c
1311.90 s
[opt-env-conf-test] ]
1311.90 s
[opt-env-conf-test] ]
1311.90 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1311.90 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1311.90 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1311.90 s
[opt-env-conf-test] ]
1311.90 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1311.90 s
[opt-env-conf-test] [ [ functionChunk "conf",
1311.90 s
[opt-env-conf-test] " or ",
1311.90 s
[opt-env-conf-test] functionChunk "name",
1311.90 s
[opt-env-conf-test] " was called with no way to load configuration."
1311.90 s
[opt-env-conf-test] ],
1311.90 s
[opt-env-conf-test] [ "You can load configuration with ",
1311.90 s
[opt-env-conf-test] functionChunk "withConfig",
1311.90 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1311.91 s
[opt-env-conf-test] functionChunk "withoutConfig",
1311.91 s
[opt-env-conf-test] "."
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] LintErrorManyInfinite ->
1311.91 s
[opt-env-conf-test] [ [ functionChunk "many",
1311.91 s
[opt-env-conf-test] " or ",
1311.91 s
[opt-env-conf-test] functionChunk "some",
1311.91 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1311.91 s
[opt-env-conf-test] ],
1311.91 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1311.91 s
[opt-env-conf-test] ],
1311.91 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test]
1311.91 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1311.91 s
[opt-env-conf-test] lintParser =
1311.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1311.91 s
[opt-env-conf-test] @@ -65,171 +65,170 @@
1311.91 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1311.91 s
[opt-env-conf-test] renderLintError LintError {..} =
1311.91 s
[opt-env-conf-test] concat
1311.91 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1311.91 s
[opt-env-conf-test] case lintErrorMessage of
1311.91 s
[opt-env-conf-test] LintErrorUndocumented ->
1311.91 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1311.91 s
[opt-env-conf-test] LintErrorEmptySetting ->
1311.91 s
[opt-env-conf-test] concat
1311.91 s
[opt-env-conf-test] [ [ [ "This ",
1311.91 s
[opt-env-conf-test] functionChunk "setting",
1311.91 s
[opt-env-conf-test] " parses nothing."
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] ],
1311.91 s
[opt-env-conf-test] [ [ "Add an ",
1311.91 s
[opt-env-conf-test] functionChunk "argument",
1311.91 s
[opt-env-conf-test] ", ",
1311.91 s
[opt-env-conf-test] functionChunk "switch",
1311.91 s
[opt-env-conf-test] ", ",
1311.91 s
[opt-env-conf-test] functionChunk "option",
1311.91 s
[opt-env-conf-test] ", ",
1311.91 s
[opt-env-conf-test] functionChunk "env",
1311.91 s
[opt-env-conf-test] ", ",
1311.91 s
[opt-env-conf-test] functionChunk "conf",
1311.91 s
[opt-env-conf-test] ", or ",
1311.91 s
[opt-env-conf-test] functionChunk "value",
1311.91 s
[opt-env-conf-test] "."
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] LintErrorDashInShort ->
1311.91 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1311.91 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] LintErrorDashInLong s ->
1311.91 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1311.91 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1311.91 s
[opt-env-conf-test] [ "Try ",
1311.91 s
[opt-env-conf-test] functionChunk "long",
1311.91 s
[opt-env-conf-test] " ",
1311.91 s
[opt-env-conf-test] chunk $
1311.91 s
[opt-env-conf-test] T.pack $
1311.91 s
[opt-env-conf-test] show $
1311.91 s
[opt-env-conf-test] let go = \case
1311.91 s
[opt-env-conf-test] [] -> []
1311.91 s
[opt-env-conf-test] '-' : cs -> go cs
1311.91 s
[opt-env-conf-test] c : cs -> c : cs
1311.91 s
[opt-env-conf-test] in go $ NE.toList s,
1311.91 s
[opt-env-conf-test] " instead."
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1311.91 s
[opt-env-conf-test] [ [ functionChunk "argument",
1311.91 s
[opt-env-conf-test] " has no ",
1311.91 s
[opt-env-conf-test] functionChunk "reader",
1311.91 s
[opt-env-conf-test] "."
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1311.91 s
[opt-env-conf-test] [ [ functionChunk "argument",
1311.91 s
[opt-env-conf-test] " has no ",
1311.91 s
[opt-env-conf-test] functionChunk "metavar",
1311.91 s
[opt-env-conf-test] "."
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] ]
1311.91 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1311.91 s
[opt-env-conf-test] [ [ functionChunk "option",
1311.91 s
[opt-env-conf-test] " or ",
1311.91 s
[opt-env-conf-test] functionChunk "name",
1311.91 s
[opt-env-conf-test] " has no ",
1311.91 s
[opt-env-conf-test] functionChunk "reader",
1311.91 s
[opt-env-conf-test] "."
1311.91 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1311.92 s
[opt-env-conf-test] [ [ functionChunk "option",
1311.92 s
[opt-env-conf-test] " has no ",
1311.92 s
[opt-env-conf-test] functionChunk "long",
1311.92 s
[opt-env-conf-test] " or ",
1311.92 s
[opt-env-conf-test] functionChunk "short",
1311.92 s
[opt-env-conf-test] "."
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1311.92 s
[opt-env-conf-test] [ [ functionChunk "option",
1311.92 s
[opt-env-conf-test] " or ",
1311.92 s
[opt-env-conf-test] functionChunk "name",
1311.92 s
[opt-env-conf-test] " has no ",
1311.92 s
[opt-env-conf-test] functionChunk "metavar",
1311.92 s
[opt-env-conf-test] "."
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1311.92 s
[opt-env-conf-test] [ [ functionChunk "switch",
1311.92 s
[opt-env-conf-test] " has no ",
1311.92 s
[opt-env-conf-test] functionChunk "long",
1311.92 s
[opt-env-conf-test] " or ",
1311.92 s
[opt-env-conf-test] functionChunk "short",
1311.92 s
[opt-env-conf-test] "."
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1311.92 s
[opt-env-conf-test] [ [ functionChunk "long",
1311.92 s
[opt-env-conf-test] " or ",
1311.92 s
[opt-env-conf-test] functionChunk "short",
1311.92 s
[opt-env-conf-test] " has no ",
1311.92 s
[opt-env-conf-test] functionChunk "option",
1311.92 s
[opt-env-conf-test] " or ",
1311.92 s
[opt-env-conf-test] functionChunk "switch",
1311.92 s
[opt-env-conf-test] "."
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1311.92 s
[opt-env-conf-test] [ [ functionChunk "env",
1311.92 s
[opt-env-conf-test] " or ",
1311.92 s
[opt-env-conf-test] functionChunk "name",
1311.92 s
[opt-env-conf-test] " has no ",
1311.92 s
[opt-env-conf-test] functionChunk "reader",
1311.92 s
[opt-env-conf-test] "."
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1311.92 s
[opt-env-conf-test] [ [ functionChunk "env",
1311.92 s
[opt-env-conf-test] " or ",
1311.92 s
[opt-env-conf-test] functionChunk "name",
1311.92 s
[opt-env-conf-test] " has no ",
1311.92 s
[opt-env-conf-test] functionChunk "metavar",
1311.92 s
[opt-env-conf-test] "."
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] ]
1311.92 s
[opt-env-conf-test] LintErrorNoCommands ->
1311.92 s
[opt-env-conf-test] [ [ functionChunk "commands",
1319.08 s
[opt-env-conf-test] " was called with an empty list."
1319.08 s
[opt-env-conf-test] ]
1319.08 s
[opt-env-conf-test] ]
1319.10 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1319.10 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1319.10 s
[opt-env-conf-test] " was called with an unknown command: ",
1319.10 s
[opt-env-conf-test] commandChunk c
1319.11 s
[opt-env-conf-test] ]
1319.11 s
[opt-env-conf-test] ]
1319.11 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1319.11 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1319.11 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1319.11 s
[opt-env-conf-test] ]
1319.11 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1319.11 s
[opt-env-conf-test] [ [ functionChunk "conf",
1319.11 s
[opt-env-conf-test] " or ",
1319.11 s
[opt-env-conf-test] functionChunk "name",
1319.11 s
[opt-env-conf-test] " was called with no way to load configuration."
1319.11 s
[opt-env-conf-test] ],
1319.11 s
[opt-env-conf-test] [ "You can load configuration with ",
1319.11 s
[opt-env-conf-test] functionChunk "withConfig",
1319.11 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1319.11 s
[opt-env-conf-test] functionChunk "withoutConfig",
1319.11 s
[opt-env-conf-test] "."
1319.11 s
[opt-env-conf-test] ]
1319.11 s
[opt-env-conf-test] ]
1319.11 s
[opt-env-conf-test] LintErrorManyInfinite ->
1319.11 s
[opt-env-conf-test] [ [ functionChunk "many",
1319.11 s
[opt-env-conf-test] " or ",
1319.11 s
[opt-env-conf-test] functionChunk "some",
1319.11 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1319.11 s
[opt-env-conf-test] ],
1319.11 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1319.11 s
[opt-env-conf-test] ],
1319.11 s
[opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1319.11 s
[opt-env-conf-test] ]
1319.11 s
[opt-env-conf-test]
1319.11 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1319.11 s
[opt-env-conf-test] lintParser =
1319.11 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
1319.11 s
[opt-env-conf-test] @@ -75,9 +75,8 @@
1319.11 s
[opt-env-conf-test]
1319.11 s
[opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
1319.11 s
[opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
1319.11 s
[opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
1319.11 s
[opt-env-conf-test] - Nothing -> Left $ "Unparseable value: " <> show s
1319.12 s
[opt-env-conf-test] Just a -> Right a
1319.12 s
[opt-env-conf-test]
1319.12 s
[opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
1319.12 s
[opt-env-conf-test] --
1319.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
1319.12 s
[opt-env-conf-test] @@ -75,9 +75,8 @@
1319.12 s
[opt-env-conf-test]
1319.12 s
[opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
1319.12 s
[opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
1319.12 s
[opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
1319.12 s
[opt-env-conf-test] Nothing -> Left $ "Unparseable value: " <> show s
1319.12 s
[opt-env-conf-test] - Just a -> Right a
1319.12 s
[opt-env-conf-test]
1319.12 s
[opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
1319.12 s
[opt-env-conf-test] --
1319.12 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Reader.hs:70:32-36
1319.12 s
[opt-env-conf-test] @@ -67,7 +67,7 @@
1319.12 s
[opt-env-conf-test] --
1319.12 s
[opt-env-conf-test] -- > exists = Reader $ const $ pure True
1319.12 s
[opt-env-conf-test] exists :: Reader Bool
1319.12 s
[opt-env-conf-test] -exists = Reader $ const $ pure True
1319.12 s
[opt-env-conf-test] +exists = Reader $ const $ pure False
1319.12 s
[opt-env-conf-test]
1319.12 s
[opt-env-conf-test] -- | Read a value as if it were specified as a 'String' and parsed via the given 'Codec'.
1319.12 s
[opt-env-conf-test] viaStringCodec :: (HasCodec a) => Reader a
1319.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
1319.12 s
[opt-env-conf-test] @@ -59,9 +59,8 @@
1319.12 s
[opt-env-conf-test] --
1319.12 s
[opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
1319.12 s
[opt-env-conf-test] auto :: (Read a) => Reader a
1319.12 s
[opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
1319.12 s
[opt-env-conf-test] - Nothing -> Left $ "Un-Read-able value: " <> show s
1319.12 s
[opt-env-conf-test] Just a -> Right a
1319.12 s
[opt-env-conf-test]
1319.12 s
[opt-env-conf-test] -- | Always return True
1319.12 s
[opt-env-conf-test] --
1319.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
1319.12 s
[opt-env-conf-test] @@ -59,9 +59,8 @@
1319.12 s
[opt-env-conf-test] --
1319.12 s
[opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
1319.12 s
[opt-env-conf-test] auto :: (Read a) => Reader a
1319.12 s
[opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
1319.12 s
[opt-env-conf-test] Nothing -> Left $ "Un-Read-able value: " <> show s
1319.12 s
[opt-env-conf-test] - Just a -> Right a
1319.12 s
[opt-env-conf-test]
1319.12 s
[opt-env-conf-test] -- | Always return True
1319.13 s
[opt-env-conf-test] --
1319.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
1319.13 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1319.13 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1319.13 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1319.13 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1319.13 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1319.13 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1319.13 s
[opt-env-conf-test] goCommand = go . commandParser
1319.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
1319.13 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1319.13 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1319.13 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1319.13 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1319.13 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1319.13 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1319.13 s
[opt-env-conf-test] goCommand = go . commandParser
1319.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1319.13 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1319.13 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1319.13 s
[opt-env-conf-test]
1319.13 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1319.13 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1319.13 s
[opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1319.13 s
[opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
1319.13 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1319.13 s
[opt-env-conf-test] goCommand = go . commandParser
1319.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1319.13 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1319.13 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1319.13 s
[opt-env-conf-test]
1319.13 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1319.13 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1319.13 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1319.13 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1319.13 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1319.13 s
[opt-env-conf-test] goCommand = go . commandParser
1319.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1319.13 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1319.13 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1319.13 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1319.13 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1319.13 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1319.13 s
[opt-env-conf-test] - (Nothing, _) -> o2
1319.13 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1319.13 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1319.13 s
[opt-env-conf-test]
1319.13 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1319.13 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1319.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1319.13 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1319.13 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1319.13 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1319.13 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1319.13 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1319.13 s
[opt-env-conf-test] (Nothing, _) -> o2
1319.13 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1319.13 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1319.13 s
[opt-env-conf-test]
1319.13 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1319.13 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1319.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1319.13 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1319.13 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1319.13 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1319.13 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1319.13 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1319.13 s
[opt-env-conf-test] (Nothing, _) -> o2
1319.13 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1319.13 s
[opt-env-conf-test] - (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1319.13 s
[opt-env-conf-test]
1319.13 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1319.13 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1319.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
1319.13 s
[opt-env-conf-test] @@ -72,17 +72,10 @@
1319.13 s
[opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
1319.13 s
[opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
1319.13 s
[opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
1319.13 s
[opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
1319.13 s
[opt-env-conf-test] - Nothing ->
1319.13 s
[opt-env-conf-test] - let oc =
1319.13 s
[opt-env-conf-test] - maybe
1319.13 s
[opt-env-conf-test] - (optionalFieldWith' p configValSettingCodec)
1319.14 s
[opt-env-conf-test] - (optionalFieldWith p configValSettingCodec)
1319.14 s
[opt-env-conf-test] - (T.pack <$> settingHelp s)
1326.47 s
[opt-env-conf-test] - in objectCodecNixOptions oc
1326.48 s
[opt-env-conf-test] Just rest ->
1326.50 s
[opt-env-conf-test] let m = go' rest
1326.50 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1326.50 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1326.50 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1326.50 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1326.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
1326.51 s
[opt-env-conf-test] @@ -72,17 +72,14 @@
1326.51 s
[opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
1326.51 s
[opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
1326.51 s
[opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
1326.51 s
[opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
1326.51 s
[opt-env-conf-test] Nothing ->
1326.51 s
[opt-env-conf-test] let oc =
1326.51 s
[opt-env-conf-test] maybe
1326.51 s
[opt-env-conf-test] (optionalFieldWith' p configValSettingCodec)
1326.51 s
[opt-env-conf-test] (optionalFieldWith p configValSettingCodec)
1326.51 s
[opt-env-conf-test] (T.pack <$> settingHelp s)
1326.51 s
[opt-env-conf-test] in objectCodecNixOptions oc
1326.51 s
[opt-env-conf-test] - Just rest ->
1326.51 s
[opt-env-conf-test] - let m = go' rest
1326.51 s
[opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1326.51 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1326.51 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1326.51 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1326.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
1326.51 s
[opt-env-conf-test] @@ -35,7 +35,6 @@
1326.51 s
[opt-env-conf-test] ("# " <>)
1326.51 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1326.51 s
[opt-env-conf-test] "This file was generated by running",
1326.51 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1326.51 s
[opt-env-conf-test] T.unpack content
1326.51 s
[opt-env-conf-test] ]
1326.51 s
[opt-env-conf-test]
1326.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
1326.51 s
[opt-env-conf-test] @@ -35,7 +35,6 @@
1326.51 s
[opt-env-conf-test] ("# " <>)
1326.51 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1326.51 s
[opt-env-conf-test] "This file was generated by running",
1326.52 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1326.52 s
[opt-env-conf-test] T.unpack content
1326.52 s
[opt-env-conf-test] ]
1326.52 s
[opt-env-conf-test]
1326.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1326.52 s
[opt-env-conf-test] @@ -33,11 +33,7 @@
1326.52 s
[opt-env-conf-test] unlines $
1326.52 s
[opt-env-conf-test] map
1326.52 s
[opt-env-conf-test] ("# " <>)
1326.52 s
[opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
1326.52 s
[opt-env-conf-test] - "This file was generated by running",
1326.52 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1326.52 s
[opt-env-conf-test] - T.unpack content
1326.52 s
[opt-env-conf-test] ]
1326.52 s
[opt-env-conf-test]
1326.52 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1326.52 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1326.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1326.52 s
[opt-env-conf-test] @@ -33,11 +33,10 @@
1326.52 s
[opt-env-conf-test] unlines $
1326.52 s
[opt-env-conf-test] map
1326.52 s
[opt-env-conf-test] ("# " <>)
1326.52 s
[opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
1326.52 s
[opt-env-conf-test] "This file was generated by running",
1326.52 s
[opt-env-conf-test] unwords [progname, "--render-nix-options"],
1326.52 s
[opt-env-conf-test] T.unpack content
1326.52 s
[opt-env-conf-test] ]
1326.52 s
[opt-env-conf-test]
1326.52 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1326.52 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1326.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1326.52 s
[opt-env-conf-test] @@ -33,11 +33,10 @@
1326.52 s
[opt-env-conf-test] unlines $
1326.52 s
[opt-env-conf-test] map
1326.52 s
[opt-env-conf-test] ("# " <>)
1326.52 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1326.52 s
[opt-env-conf-test] "This file was generated by running",
1326.52 s
[opt-env-conf-test] unwords [progname, "--render-nix-options"],
1326.53 s
[opt-env-conf-test] - T.unpack content
1326.53 s
[opt-env-conf-test] ]
1326.53 s
[opt-env-conf-test]
1326.53 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1326.53 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1326.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
1326.53 s
[opt-env-conf-test] @@ -78,9 +78,8 @@
1326.53 s
[opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
1326.53 s
[opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
1326.53 s
[opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
1326.53 s
[opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
1326.53 s
[opt-env-conf-test] - Left a -> f a
1326.53 s
[opt-env-conf-test] Right b -> b
1326.53 s
[opt-env-conf-test]
1326.53 s
[opt-env-conf-test] validationFailure :: e -> Validation e a
1326.53 s
[opt-env-conf-test] validationFailure e = Failure (e :| [])
1326.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
1326.53 s
[opt-env-conf-test] @@ -78,9 +78,8 @@
1326.53 s
[opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
1326.53 s
[opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
1326.53 s
[opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
1326.53 s
[opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
1326.53 s
[opt-env-conf-test] Left a -> f a
1326.53 s
[opt-env-conf-test] - Right b -> b
1326.53 s
[opt-env-conf-test]
1326.53 s
[opt-env-conf-test] validationFailure :: e -> Validation e a
1326.53 s
[opt-env-conf-test] validationFailure e = Failure (e :| [])
1326.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
1326.53 s
[opt-env-conf-test] @@ -66,9 +66,8 @@
1326.53 s
[opt-env-conf-test]
1326.53 s
[opt-env-conf-test] instance Applicative (Validation e) where
1326.53 s
[opt-env-conf-test] pure = Success
1326.53 s
[opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
1326.53 s
[opt-env-conf-test] - Failure e2 -> e1 `NE.append` e2
1326.53 s
[opt-env-conf-test] Success _ -> e1
1326.53 s
[opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
1326.53 s
[opt-env-conf-test] Success f <*> Success a = Success (f a)
1326.53 s
[opt-env-conf-test]
1326.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
1326.53 s
[opt-env-conf-test] @@ -66,9 +66,8 @@
1326.53 s
[opt-env-conf-test]
1326.53 s
[opt-env-conf-test] instance Applicative (Validation e) where
1326.53 s
[opt-env-conf-test] pure = Success
1326.53 s
[opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
1326.53 s
[opt-env-conf-test] Failure e2 -> e1 `NE.append` e2
1326.53 s
[opt-env-conf-test] - Success _ -> e1
1326.53 s
[opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
1326.53 s
[opt-env-conf-test] Success f <*> Success a = Success (f a)
1326.53 s
[opt-env-conf-test]
1326.53 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1326.54 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1326.54 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1326.54 s
[opt-env-conf-test]
1326.54 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1326.54 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1326.54 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1326.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1326.54 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1326.54 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1326.54 s
[opt-env-conf-test]
1326.54 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1326.54 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1326.54 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1326.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1326.54 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1326.54 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1326.54 s
[opt-env-conf-test]
1326.54 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1326.54 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1326.54 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1326.54 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Output.hs:112:34-39
1326.54 s
[opt-env-conf-test] @@ -109,7 +109,7 @@
1326.54 s
[opt-env-conf-test] cleanPackage pkg =
1326.54 s
[opt-env-conf-test] T.unpack $
1326.54 s
[opt-env-conf-test] T.intercalate "-" $
1326.54 s
[opt-env-conf-test] - takeWhile (not . maybe False (Char.isDigit . fst) . T.uncons) $
1326.54 s
[opt-env-conf-test] + takeWhile (not . maybe True (Char.isDigit . fst) . T.uncons) $
1326.54 s
[opt-env-conf-test] T.splitOn "-" (T.pack pkg)
1326.54 s
[opt-env-conf-test]
1326.54 s
[opt-env-conf-test] indent :: [[Chunk]] -> [[Chunk]]
1326.54 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
1326.54 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
1326.54 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1326.54 s
[opt-env-conf-test]
1326.54 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
1326.54 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
1326.54 s
[opt-env-conf-test] - [] -> []
1326.54 s
[opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
1326.54 s
[opt-env-conf-test]
1326.54 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
1326.54 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
1326.54 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
1326.54 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
1326.54 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1326.54 s
[opt-env-conf-test]
1326.54 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
1326.55 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
1326.55 s
[opt-env-conf-test] [] -> []
1326.55 s
[opt-env-conf-test] - cs -> intersperse ", " (map capabilityChunk cs)
1326.55 s
[opt-env-conf-test]
1326.55 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
1326.55 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
1326.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
1326.55 s
[opt-env-conf-test] @@ -78,7 +78,6 @@
1326.55 s
[opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
1326.55 s
[opt-env-conf-test]
1326.55 s
[opt-env-conf-test] headerChunks :: Text -> [Chunk]
1326.55 s
[opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
1326.55 s
[opt-env-conf-test]
1326.55 s
[opt-env-conf-test] syntaxChunk :: String -> Chunk
1326.55 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1326.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
1326.55 s
[opt-env-conf-test] @@ -78,7 +78,6 @@
1326.55 s
[opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
1326.55 s
[opt-env-conf-test]
1326.55 s
[opt-env-conf-test] headerChunks :: Text -> [Chunk]
1326.55 s
[opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
1326.55 s
[opt-env-conf-test]
1326.55 s
[opt-env-conf-test] syntaxChunk :: String -> Chunk
1326.55 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1326.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
1326.55 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1326.55 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1326.55 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1326.55 s
[opt-env-conf-test] [] -> []
1326.55 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1326.55 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1326.55 s
[opt-env-conf-test]
1337.48 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1337.48 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
1337.50 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1337.50 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1337.50 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1337.50 s
[opt-env-conf-test] [] -> []
1337.50 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1337.51 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1337.51 s
[opt-env-conf-test]
1337.51 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1337.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
1337.51 s
[opt-env-conf-test] @@ -69,7 +69,6 @@
1337.51 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1337.51 s
[opt-env-conf-test] [] -> []
1337.51 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1337.51 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1337.51 s
[opt-env-conf-test]
1337.51 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1337.51 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1337.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
1337.51 s
[opt-env-conf-test] @@ -69,7 +69,6 @@
1337.51 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1337.51 s
[opt-env-conf-test] [] -> []
1337.51 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1337.51 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1337.51 s
[opt-env-conf-test]
1337.51 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1337.51 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1337.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1337.51 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1337.51 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1337.51 s
[opt-env-conf-test]
1337.51 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1337.51 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1337.51 s
[opt-env-conf-test] - [] -> []
1337.51 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1337.51 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1337.51 s
[opt-env-conf-test]
1337.52 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1337.52 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1337.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1337.52 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1337.52 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1337.52 s
[opt-env-conf-test]
1337.52 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1337.52 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1337.52 s
[opt-env-conf-test] [] -> []
1337.52 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1337.52 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1337.52 s
[opt-env-conf-test]
1337.52 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1337.52 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1337.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1337.52 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1337.52 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1337.52 s
[opt-env-conf-test]
1337.52 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1337.52 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1337.52 s
[opt-env-conf-test] [] -> []
1337.52 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1337.52 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1337.52 s
[opt-env-conf-test]
1337.52 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1337.52 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1337.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
1337.52 s
[opt-env-conf-test] @@ -63,7 +63,6 @@
1337.52 s
[opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
1337.52 s
[opt-env-conf-test]
1337.52 s
[opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
1337.52 s
[opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1337.52 s
[opt-env-conf-test]
1337.52 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1337.52 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1337.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
1337.53 s
[opt-env-conf-test] @@ -63,7 +63,6 @@
1337.53 s
[opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
1337.53 s
[opt-env-conf-test]
1337.53 s
[opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
1337.53 s
[opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1337.53 s
[opt-env-conf-test]
1337.53 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1337.53 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1337.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
1337.53 s
[opt-env-conf-test] @@ -269,9 +269,8 @@
1337.53 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1337.53 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1337.53 s
[opt-env-conf-test] applyComponent d ".." = parent d
1337.53 s
[opt-env-conf-test] applyComponent d c = case parseRelDir c of
1337.53 s
[opt-env-conf-test] - Nothing -> d
1337.53 s
[opt-env-conf-test] Just rd -> d </> rd
1337.53 s
[opt-env-conf-test]
1337.53 s
[opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
1337.53 s
[opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
1337.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
1337.53 s
[opt-env-conf-test] @@ -269,9 +269,8 @@
1337.53 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1337.53 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1337.53 s
[opt-env-conf-test] applyComponent d ".." = parent d
1337.53 s
[opt-env-conf-test] applyComponent d c = case parseRelDir c of
1337.53 s
[opt-env-conf-test] Nothing -> d
1337.53 s
[opt-env-conf-test] - Just rd -> d </> rd
1337.53 s
[opt-env-conf-test]
1337.53 s
[opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
1337.53 s
[opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
1337.53 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:27-35
1337.53 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1337.53 s
[opt-env-conf-test] splitOnSlash s =
1337.53 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1337.53 s
[opt-env-conf-test] in case rest of
1337.53 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1337.53 s
[opt-env-conf-test] + [] -> [seg | not (True)]
1337.53 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1337.53 s
[opt-env-conf-test]
1337.53 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1337.53 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:27-35
1337.53 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1337.53 s
[opt-env-conf-test] splitOnSlash s =
1337.53 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1337.53 s
[opt-env-conf-test] in case rest of
1337.53 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1337.54 s
[opt-env-conf-test] + [] -> [seg | not (not null seg)]
1337.54 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1337.54 s
[opt-env-conf-test]
1337.54 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1337.54 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:26-36
1337.54 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1337.54 s
[opt-env-conf-test] splitOnSlash s =
1337.54 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1337.54 s
[opt-env-conf-test] in case rest of
1337.54 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1337.54 s
[opt-env-conf-test] + [] -> [seg | not True]
1337.54 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1337.54 s
[opt-env-conf-test]
1337.54 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1337.54 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:26-36
1337.54 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1337.54 s
[opt-env-conf-test] splitOnSlash s =
1337.54 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1337.54 s
[opt-env-conf-test] in case rest of
1337.54 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1337.54 s
[opt-env-conf-test] + [] -> [seg | not not (null seg)]
1337.54 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1337.54 s
[opt-env-conf-test]
1337.54 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1337.54 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:22-36
1337.54 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1337.54 s
[opt-env-conf-test] splitOnSlash s =
1337.54 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1337.54 s
[opt-env-conf-test] in case rest of
1337.54 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1337.54 s
[opt-env-conf-test] + [] -> [seg | True]
1337.54 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1337.54 s
[opt-env-conf-test]
1337.54 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1337.54 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:22-36
1337.54 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1337.54 s
[opt-env-conf-test] splitOnSlash s =
1337.54 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1337.54 s
[opt-env-conf-test] in case rest of
1337.54 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1337.54 s
[opt-env-conf-test] + [] -> [seg | not not (null seg)]
1337.54 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1337.54 s
[opt-env-conf-test]
1337.54 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1337.54 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:266:15-37
1337.54 s
[opt-env-conf-test] @@ -263,7 +263,6 @@
1337.54 s
[opt-env-conf-test] splitOnSlash s =
1337.54 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1337.54 s
[opt-env-conf-test] in case rest of
1337.54 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1337.54 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1337.54 s
[opt-env-conf-test]
1337.54 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1337.54 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:34-42
1337.54 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1337.55 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1337.55 s
[opt-env-conf-test] in case rest of
1337.55 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1337.55 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1337.55 s
[opt-env-conf-test] + _ : rest' -> [seg | not (True)] <> splitOnSlash rest'
1337.55 s
[opt-env-conf-test]
1337.55 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1337.55 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1337.55 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:34-42
1337.55 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1337.55 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1337.55 s
[opt-env-conf-test] in case rest of
1337.55 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1337.55 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1337.55 s
[opt-env-conf-test] + _ : rest' -> [seg | not (not null seg)] <> splitOnSlash rest'
1337.55 s
[opt-env-conf-test]
1337.55 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1337.55 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1337.55 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:33-43
1337.55 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1343.01 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1343.01 s
[opt-env-conf-test] in case rest of
1343.03 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1343.03 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1343.03 s
[opt-env-conf-test] + _ : rest' -> [seg | not True] <> splitOnSlash rest'
1343.03 s
[opt-env-conf-test]
1343.03 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1343.03 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1343.03 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:33-43
1343.03 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1343.03 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1343.03 s
[opt-env-conf-test] in case rest of
1343.03 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1343.03 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1343.03 s
[opt-env-conf-test] + _ : rest' -> [seg | not not (null seg)] <> splitOnSlash rest'
1343.03 s
[opt-env-conf-test]
1343.04 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1343.04 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1343.04 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1343.04 s
[opt-env-conf-test] @@ -221,11 +221,7 @@
1343.04 s
[opt-env-conf-test] ]
1343.04 s
[opt-env-conf-test] ]
1343.04 s
[opt-env-conf-test] LintErrorManyInfinite ->
1343.04 s
[opt-env-conf-test] - [ [ functionChunk "many",
1343.04 s
[opt-env-conf-test] - " or ",
1343.04 s
[opt-env-conf-test] - functionChunk "some",
1343.04 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1343.04 s
[opt-env-conf-test] ],
1343.04 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1343.04 s
[opt-env-conf-test] ],
1343.04 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1343.04 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
1343.04 s
[opt-env-conf-test] @@ -208,18 +208,13 @@
1343.04 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1343.04 s
[opt-env-conf-test] ]
1343.04 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1343.04 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1343.04 s
[opt-env-conf-test] - " or ",
1343.04 s
[opt-env-conf-test] - functionChunk "name",
1343.04 s
[opt-env-conf-test] - " was called with no way to load configuration."
1343.04 s
[opt-env-conf-test] - ],
1343.04 s
[opt-env-conf-test] [ "You can load configuration with ",
1343.04 s
[opt-env-conf-test] functionChunk "withConfig",
1343.04 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1343.04 s
[opt-env-conf-test] functionChunk "withoutConfig",
1343.04 s
[opt-env-conf-test] "."
1343.04 s
[opt-env-conf-test] ]
1343.04 s
[opt-env-conf-test] ]
1343.04 s
[opt-env-conf-test] LintErrorManyInfinite ->
1343.04 s
[opt-env-conf-test] [ [ functionChunk "many",
1343.04 s
[opt-env-conf-test] " or ",
1343.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:29-43
1343.04 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1343.04 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1343.04 s
[opt-env-conf-test] in case rest of
1343.04 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1343.04 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1343.04 s
[opt-env-conf-test] + _ : rest' -> [seg | True] <> splitOnSlash rest'
1343.04 s
[opt-env-conf-test]
1343.04 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1343.04 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1343.04 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1343.04 s
[opt-env-conf-test] @@ -213,12 +213,11 @@
1343.04 s
[opt-env-conf-test] functionChunk "name",
1343.04 s
[opt-env-conf-test] " was called with no way to load configuration."
1343.04 s
[opt-env-conf-test] ],
1343.04 s
[opt-env-conf-test] - [ "You can load configuration with ",
1343.04 s
[opt-env-conf-test] functionChunk "withConfig",
1343.05 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1343.05 s
[opt-env-conf-test] functionChunk "withoutConfig",
1343.05 s
[opt-env-conf-test] "."
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] LintErrorManyInfinite ->
1343.05 s
[opt-env-conf-test] [ [ functionChunk "many",
1343.05 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
1343.05 s
[opt-env-conf-test] @@ -208,18 +208,7 @@
1343.05 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1343.05 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1343.05 s
[opt-env-conf-test] - " or ",
1343.05 s
[opt-env-conf-test] - functionChunk "name",
1343.05 s
[opt-env-conf-test] - " was called with no way to load configuration."
1343.05 s
[opt-env-conf-test] - ],
1343.05 s
[opt-env-conf-test] - [ "You can load configuration with ",
1343.05 s
[opt-env-conf-test] - functionChunk "withConfig",
1343.05 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1343.05 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1343.05 s
[opt-env-conf-test] - "."
1343.05 s
[opt-env-conf-test] - ]
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] LintErrorManyInfinite ->
1343.05 s
[opt-env-conf-test] [ [ functionChunk "many",
1343.05 s
[opt-env-conf-test] " or ",
1343.05 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:29-43
1343.05 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1343.05 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1343.05 s
[opt-env-conf-test] in case rest of
1343.05 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1343.05 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1343.05 s
[opt-env-conf-test] + _ : rest' -> [seg | not not (null seg)] <> splitOnSlash rest'
1343.05 s
[opt-env-conf-test]
1343.05 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1343.05 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1343.05 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:267:22-44
1343.05 s
[opt-env-conf-test] @@ -264,7 +264,6 @@
1343.05 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1343.05 s
[opt-env-conf-test] in case rest of
1343.05 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1343.05 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1343.05 s
[opt-env-conf-test]
1343.05 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1343.05 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1343.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
1343.05 s
[opt-env-conf-test] @@ -262,9 +262,8 @@
1343.05 s
[opt-env-conf-test] splitOnSlash [] = []
1343.05 s
[opt-env-conf-test] splitOnSlash s =
1343.05 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1343.05 s
[opt-env-conf-test] in case rest of
1343.05 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1343.05 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1343.05 s
[opt-env-conf-test]
1343.05 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1343.05 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1343.05 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1343.05 s
[opt-env-conf-test] @@ -213,12 +213,11 @@
1343.05 s
[opt-env-conf-test] functionChunk "name",
1343.05 s
[opt-env-conf-test] " was called with no way to load configuration."
1343.05 s
[opt-env-conf-test] ],
1343.05 s
[opt-env-conf-test] [ "You can load configuration with ",
1343.05 s
[opt-env-conf-test] functionChunk "withConfig",
1343.05 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1343.05 s
[opt-env-conf-test] functionChunk "withoutConfig",
1343.05 s
[opt-env-conf-test] - "."
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] LintErrorManyInfinite ->
1343.05 s
[opt-env-conf-test] [ [ functionChunk "many",
1343.05 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1343.05 s
[opt-env-conf-test] @@ -213,12 +213,7 @@
1343.05 s
[opt-env-conf-test] functionChunk "name",
1343.05 s
[opt-env-conf-test] " was called with no way to load configuration."
1343.05 s
[opt-env-conf-test] ],
1343.05 s
[opt-env-conf-test] - [ "You can load configuration with ",
1343.05 s
[opt-env-conf-test] - functionChunk "withConfig",
1343.05 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1343.05 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1343.05 s
[opt-env-conf-test] - "."
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] LintErrorManyInfinite ->
1343.05 s
[opt-env-conf-test] [ [ functionChunk "many",
1343.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1343.05 s
[opt-env-conf-test] @@ -66,168 +66,164 @@
1343.05 s
[opt-env-conf-test] renderLintError LintError {..} =
1343.05 s
[opt-env-conf-test] concat
1343.05 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1343.05 s
[opt-env-conf-test] case lintErrorMessage of
1343.05 s
[opt-env-conf-test] LintErrorUndocumented ->
1343.05 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1343.05 s
[opt-env-conf-test] LintErrorEmptySetting ->
1343.05 s
[opt-env-conf-test] concat
1343.05 s
[opt-env-conf-test] [ [ [ "This ",
1343.05 s
[opt-env-conf-test] functionChunk "setting",
1343.05 s
[opt-env-conf-test] " parses nothing."
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] ],
1343.05 s
[opt-env-conf-test] [ [ "Add an ",
1343.05 s
[opt-env-conf-test] functionChunk "argument",
1343.05 s
[opt-env-conf-test] ", ",
1343.05 s
[opt-env-conf-test] functionChunk "switch",
1343.05 s
[opt-env-conf-test] ", ",
1343.05 s
[opt-env-conf-test] functionChunk "option",
1343.05 s
[opt-env-conf-test] ", ",
1343.05 s
[opt-env-conf-test] functionChunk "env",
1343.05 s
[opt-env-conf-test] ", ",
1343.05 s
[opt-env-conf-test] functionChunk "conf",
1343.05 s
[opt-env-conf-test] ", or ",
1343.05 s
[opt-env-conf-test] functionChunk "value",
1343.05 s
[opt-env-conf-test] "."
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] ]
1343.05 s
[opt-env-conf-test] - LintErrorDashInShort ->
1343.05 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1343.05 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1343.05 s
[opt-env-conf-test] - ]
1343.05 s
[opt-env-conf-test] LintErrorDashInLong s ->
1343.05 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1343.06 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1343.06 s
[opt-env-conf-test] [ "Try ",
1343.06 s
[opt-env-conf-test] functionChunk "long",
1343.06 s
[opt-env-conf-test] " ",
1343.06 s
[opt-env-conf-test] chunk $
1343.06 s
[opt-env-conf-test] T.pack $
1343.06 s
[opt-env-conf-test] show $
1343.06 s
[opt-env-conf-test] let go = \case
1343.06 s
[opt-env-conf-test] [] -> []
1343.06 s
[opt-env-conf-test] '-' : cs -> go cs
1343.06 s
[opt-env-conf-test] c : cs -> c : cs
1343.06 s
[opt-env-conf-test] in go $ NE.toList s,
1343.06 s
[opt-env-conf-test] " instead."
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1343.06 s
[opt-env-conf-test] [ [ functionChunk "argument",
1343.06 s
[opt-env-conf-test] " has no ",
1343.06 s
[opt-env-conf-test] functionChunk "reader",
1343.06 s
[opt-env-conf-test] "."
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1343.06 s
[opt-env-conf-test] [ [ functionChunk "argument",
1343.06 s
[opt-env-conf-test] " has no ",
1343.06 s
[opt-env-conf-test] functionChunk "metavar",
1343.06 s
[opt-env-conf-test] "."
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1343.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1343.06 s
[opt-env-conf-test] " or ",
1343.06 s
[opt-env-conf-test] functionChunk "name",
1343.06 s
[opt-env-conf-test] " has no ",
1343.06 s
[opt-env-conf-test] functionChunk "reader",
1343.06 s
[opt-env-conf-test] "."
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1343.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1343.06 s
[opt-env-conf-test] " has no ",
1343.06 s
[opt-env-conf-test] functionChunk "long",
1343.06 s
[opt-env-conf-test] " or ",
1343.06 s
[opt-env-conf-test] functionChunk "short",
1343.06 s
[opt-env-conf-test] "."
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1343.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1343.06 s
[opt-env-conf-test] " or ",
1343.06 s
[opt-env-conf-test] functionChunk "name",
1343.06 s
[opt-env-conf-test] " has no ",
1343.06 s
[opt-env-conf-test] functionChunk "metavar",
1343.06 s
[opt-env-conf-test] "."
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1343.06 s
[opt-env-conf-test] [ [ functionChunk "switch",
1343.06 s
[opt-env-conf-test] " has no ",
1343.06 s
[opt-env-conf-test] functionChunk "long",
1343.06 s
[opt-env-conf-test] " or ",
1343.06 s
[opt-env-conf-test] functionChunk "short",
1343.06 s
[opt-env-conf-test] "."
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1343.06 s
[opt-env-conf-test] [ [ functionChunk "long",
1343.06 s
[opt-env-conf-test] " or ",
1343.06 s
[opt-env-conf-test] functionChunk "short",
1343.06 s
[opt-env-conf-test] " has no ",
1343.06 s
[opt-env-conf-test] functionChunk "option",
1343.06 s
[opt-env-conf-test] " or ",
1343.06 s
[opt-env-conf-test] functionChunk "switch",
1343.06 s
[opt-env-conf-test] "."
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1343.06 s
[opt-env-conf-test] [ [ functionChunk "env",
1343.06 s
[opt-env-conf-test] " or ",
1343.06 s
[opt-env-conf-test] functionChunk "name",
1343.06 s
[opt-env-conf-test] " has no ",
1343.06 s
[opt-env-conf-test] functionChunk "reader",
1343.06 s
[opt-env-conf-test] "."
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1343.06 s
[opt-env-conf-test] [ [ functionChunk "env",
1343.06 s
[opt-env-conf-test] " or ",
1343.06 s
[opt-env-conf-test] functionChunk "name",
1343.06 s
[opt-env-conf-test] " has no ",
1343.06 s
[opt-env-conf-test] functionChunk "metavar",
1343.06 s
[opt-env-conf-test] "."
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] ]
1343.06 s
[opt-env-conf-test] LintErrorNoCommands ->
1343.06 s
[opt-env-conf-test] [ [ functionChunk "commands",
1343.85 s
[opt-env-conf-test] " was called with an empty list."
1343.85 s
[opt-env-conf-test] ]
1343.85 s
[opt-env-conf-test] ]
1343.85 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1343.85 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1343.85 s
[opt-env-conf-test] " was called with an unknown command: ",
1343.85 s
[opt-env-conf-test] commandChunk c
1343.85 s
[opt-env-conf-test] ]
1343.85 s
[opt-env-conf-test] ]
1343.85 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1343.85 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1343.85 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1343.85 s
[opt-env-conf-test] ]
1343.85 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1343.85 s
[opt-env-conf-test] [ [ functionChunk "conf",
1343.85 s
[opt-env-conf-test] " or ",
1343.85 s
[opt-env-conf-test] functionChunk "name",
1343.86 s
[opt-env-conf-test] " was called with no way to load configuration."
1343.86 s
[opt-env-conf-test] ],
1343.86 s
[opt-env-conf-test] [ "You can load configuration with ",
1343.86 s
[opt-env-conf-test] functionChunk "withConfig",
1343.86 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1343.86 s
[opt-env-conf-test] functionChunk "withoutConfig",
1343.86 s
[opt-env-conf-test] "."
1343.86 s
[opt-env-conf-test] ]
1343.86 s
[opt-env-conf-test] ]
1343.86 s
[opt-env-conf-test] LintErrorManyInfinite ->
1343.86 s
[opt-env-conf-test] [ [ functionChunk "many",
1343.86 s
[opt-env-conf-test] " or ",
1343.86 s
[opt-env-conf-test] functionChunk "some",
1343.86 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1343.86 s
[opt-env-conf-test] ],
1343.86 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1343.86 s
[opt-env-conf-test] ],
1343.86 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1343.86 s
[opt-env-conf-test] ]
1343.86 s
[opt-env-conf-test]
1343.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1343.86 s
[opt-env-conf-test] @@ -66,168 +66,145 @@
1343.86 s
[opt-env-conf-test] renderLintError LintError {..} =
1343.86 s
[opt-env-conf-test] concat
1343.86 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1343.86 s
[opt-env-conf-test] case lintErrorMessage of
1343.86 s
[opt-env-conf-test] LintErrorUndocumented ->
1343.86 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1343.86 s
[opt-env-conf-test] - LintErrorEmptySetting ->
1343.86 s
[opt-env-conf-test] - concat
1343.86 s
[opt-env-conf-test] - [ [ [ "This ",
1343.86 s
[opt-env-conf-test] - functionChunk "setting",
1343.86 s
[opt-env-conf-test] - " parses nothing."
1343.86 s
[opt-env-conf-test] - ]
1343.86 s
[opt-env-conf-test] - ],
1343.86 s
[opt-env-conf-test] - [ [ "Add an ",
1343.86 s
[opt-env-conf-test] - functionChunk "argument",
1343.86 s
[opt-env-conf-test] - ", ",
1343.86 s
[opt-env-conf-test] - functionChunk "switch",
1343.86 s
[opt-env-conf-test] - ", ",
1343.86 s
[opt-env-conf-test] - functionChunk "option",
1343.86 s
[opt-env-conf-test] - ", ",
1343.86 s
[opt-env-conf-test] - functionChunk "env",
1343.86 s
[opt-env-conf-test] - ", ",
1343.86 s
[opt-env-conf-test] - functionChunk "conf",
1343.86 s
[opt-env-conf-test] - ", or ",
1343.86 s
[opt-env-conf-test] - functionChunk "value",
1343.86 s
[opt-env-conf-test] - "."
1343.86 s
[opt-env-conf-test] - ]
1343.86 s
[opt-env-conf-test] - ]
1343.87 s
[opt-env-conf-test] - ]
1343.87 s
[opt-env-conf-test] LintErrorDashInShort ->
1343.87 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1343.87 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] LintErrorDashInLong s ->
1343.87 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1343.87 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1343.87 s
[opt-env-conf-test] [ "Try ",
1343.87 s
[opt-env-conf-test] functionChunk "long",
1343.87 s
[opt-env-conf-test] " ",
1343.87 s
[opt-env-conf-test] chunk $
1343.87 s
[opt-env-conf-test] T.pack $
1343.87 s
[opt-env-conf-test] show $
1343.87 s
[opt-env-conf-test] let go = \case
1343.87 s
[opt-env-conf-test] [] -> []
1343.87 s
[opt-env-conf-test] '-' : cs -> go cs
1343.87 s
[opt-env-conf-test] c : cs -> c : cs
1343.87 s
[opt-env-conf-test] in go $ NE.toList s,
1343.87 s
[opt-env-conf-test] " instead."
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1343.87 s
[opt-env-conf-test] [ [ functionChunk "argument",
1343.87 s
[opt-env-conf-test] " has no ",
1343.87 s
[opt-env-conf-test] functionChunk "reader",
1343.87 s
[opt-env-conf-test] "."
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1343.87 s
[opt-env-conf-test] [ [ functionChunk "argument",
1343.87 s
[opt-env-conf-test] " has no ",
1343.87 s
[opt-env-conf-test] functionChunk "metavar",
1343.87 s
[opt-env-conf-test] "."
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1343.87 s
[opt-env-conf-test] [ [ functionChunk "option",
1343.87 s
[opt-env-conf-test] " or ",
1343.87 s
[opt-env-conf-test] functionChunk "name",
1343.87 s
[opt-env-conf-test] " has no ",
1343.87 s
[opt-env-conf-test] functionChunk "reader",
1343.87 s
[opt-env-conf-test] "."
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1343.87 s
[opt-env-conf-test] [ [ functionChunk "option",
1343.87 s
[opt-env-conf-test] " has no ",
1343.87 s
[opt-env-conf-test] functionChunk "long",
1343.87 s
[opt-env-conf-test] " or ",
1343.87 s
[opt-env-conf-test] functionChunk "short",
1343.87 s
[opt-env-conf-test] "."
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1343.87 s
[opt-env-conf-test] [ [ functionChunk "option",
1343.87 s
[opt-env-conf-test] " or ",
1343.87 s
[opt-env-conf-test] functionChunk "name",
1343.87 s
[opt-env-conf-test] " has no ",
1343.87 s
[opt-env-conf-test] functionChunk "metavar",
1343.87 s
[opt-env-conf-test] "."
1343.87 s
[opt-env-conf-test] ]
1343.87 s
[opt-env-conf-test] ]
1343.88 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1343.88 s
[opt-env-conf-test] [ [ functionChunk "switch",
1343.88 s
[opt-env-conf-test] " has no ",
1343.88 s
[opt-env-conf-test] functionChunk "long",
1343.88 s
[opt-env-conf-test] " or ",
1343.88 s
[opt-env-conf-test] functionChunk "short",
1343.88 s
[opt-env-conf-test] "."
1343.88 s
[opt-env-conf-test] ]
1343.88 s
[opt-env-conf-test] ]
1343.88 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1343.88 s
[opt-env-conf-test] [ [ functionChunk "long",
1343.88 s
[opt-env-conf-test] " or ",
1343.88 s
[opt-env-conf-test] functionChunk "short",
1343.88 s
[opt-env-conf-test] " has no ",
1343.88 s
[opt-env-conf-test] functionChunk "option",
1343.88 s
[opt-env-conf-test] " or ",
1343.88 s
[opt-env-conf-test] functionChunk "switch",
1343.88 s
[opt-env-conf-test] "."
1343.88 s
[opt-env-conf-test] ]
1343.88 s
[opt-env-conf-test] ]
1343.88 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1343.88 s
[opt-env-conf-test] [ [ functionChunk "env",
1343.88 s
[opt-env-conf-test] " or ",
1343.88 s
[opt-env-conf-test] functionChunk "name",
1343.88 s
[opt-env-conf-test] " has no ",
1343.88 s
[opt-env-conf-test] functionChunk "reader",
1343.88 s
[opt-env-conf-test] "."
1343.88 s
[opt-env-conf-test] ]
1343.88 s
[opt-env-conf-test] ]
1343.88 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1343.88 s
[opt-env-conf-test] [ [ functionChunk "env",
1343.88 s
[opt-env-conf-test] " or ",
1343.88 s
[opt-env-conf-test] functionChunk "name",
1343.88 s
[opt-env-conf-test] " has no ",
1344.18 s
[opt-env-conf-test] functionChunk "metavar",
1344.18 s
[opt-env-conf-test] "."
1344.18 s
[opt-env-conf-test] ]
1344.18 s
[opt-env-conf-test] ]
1344.18 s
[opt-env-conf-test] LintErrorNoCommands ->
1344.18 s
[opt-env-conf-test] [ [ functionChunk "commands",
1344.18 s
[opt-env-conf-test] " was called with an empty list."
1344.18 s
[opt-env-conf-test] ]
1344.18 s
[opt-env-conf-test] ]
1344.18 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1344.18 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1344.18 s
[opt-env-conf-test] " was called with an unknown command: ",
1344.18 s
[opt-env-conf-test] commandChunk c
1344.18 s
[opt-env-conf-test] ]
1344.18 s
[opt-env-conf-test] ]
1344.18 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1344.18 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1344.18 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1344.18 s
[opt-env-conf-test] ]
1344.18 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1344.18 s
[opt-env-conf-test] [ [ functionChunk "conf",
1344.18 s
[opt-env-conf-test] " or ",
1344.18 s
[opt-env-conf-test] functionChunk "name",
1344.18 s
[opt-env-conf-test] " was called with no way to load configuration."
1344.18 s
[opt-env-conf-test] ],
1344.18 s
[opt-env-conf-test] [ "You can load configuration with ",
1344.19 s
[opt-env-conf-test] functionChunk "withConfig",
1344.19 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1344.19 s
[opt-env-conf-test] functionChunk "withoutConfig",
1344.19 s
[opt-env-conf-test] "."
1344.19 s
[opt-env-conf-test] ]
1344.19 s
[opt-env-conf-test] ]
1344.19 s
[opt-env-conf-test] LintErrorManyInfinite ->
1344.19 s
[opt-env-conf-test] [ [ functionChunk "many",
1344.19 s
[opt-env-conf-test] " or ",
1344.19 s
[opt-env-conf-test] functionChunk "some",
1344.19 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1344.19 s
[opt-env-conf-test] ],
1344.19 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1344.19 s
[opt-env-conf-test] ],
1344.19 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1344.19 s
[opt-env-conf-test] ]
1344.19 s
[opt-env-conf-test]
1344.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1344.19 s
[opt-env-conf-test] @@ -66,168 +66,166 @@
1344.19 s
[opt-env-conf-test] renderLintError LintError {..} =
1344.19 s
[opt-env-conf-test] concat
1344.19 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1344.19 s
[opt-env-conf-test] case lintErrorMessage of
1344.19 s
[opt-env-conf-test] - LintErrorUndocumented ->
1344.19 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1344.19 s
[opt-env-conf-test] LintErrorEmptySetting ->
1344.19 s
[opt-env-conf-test] concat
1344.19 s
[opt-env-conf-test] [ [ [ "This ",
1344.19 s
[opt-env-conf-test] functionChunk "setting",
1344.19 s
[opt-env-conf-test] " parses nothing."
1344.19 s
[opt-env-conf-test] ]
1344.19 s
[opt-env-conf-test] ],
1344.19 s
[opt-env-conf-test] [ [ "Add an ",
1344.19 s
[opt-env-conf-test] functionChunk "argument",
1344.19 s
[opt-env-conf-test] ", ",
1344.20 s
[opt-env-conf-test] functionChunk "switch",
1344.20 s
[opt-env-conf-test] ", ",
1344.20 s
[opt-env-conf-test] functionChunk "option",
1344.20 s
[opt-env-conf-test] ", ",
1344.20 s
[opt-env-conf-test] functionChunk "env",
1344.20 s
[opt-env-conf-test] ", ",
1344.20 s
[opt-env-conf-test] functionChunk "conf",
1344.20 s
[opt-env-conf-test] ", or ",
1344.20 s
[opt-env-conf-test] functionChunk "value",
1344.20 s
[opt-env-conf-test] "."
1344.20 s
[opt-env-conf-test] ]
1344.20 s
[opt-env-conf-test] ]
1344.20 s
[opt-env-conf-test] ]
1344.20 s
[opt-env-conf-test] LintErrorDashInShort ->
1344.20 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1344.20 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1344.20 s
[opt-env-conf-test] ]
1344.20 s
[opt-env-conf-test] LintErrorDashInLong s ->
1344.20 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1344.20 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1344.20 s
[opt-env-conf-test] [ "Try ",
1344.20 s
[opt-env-conf-test] functionChunk "long",
1344.20 s
[opt-env-conf-test] " ",
1344.20 s
[opt-env-conf-test] chunk $
1344.20 s
[opt-env-conf-test] T.pack $
1344.20 s
[opt-env-conf-test] show $
1344.20 s
[opt-env-conf-test] let go = \case
1344.20 s
[opt-env-conf-test] [] -> []
1344.20 s
[opt-env-conf-test] '-' : cs -> go cs
1344.20 s
[opt-env-conf-test] c : cs -> c : cs
1344.20 s
[opt-env-conf-test] in go $ NE.toList s,
1344.20 s
[opt-env-conf-test] " instead."
1344.20 s
[opt-env-conf-test] ]
1344.20 s
[opt-env-conf-test] ]
1344.20 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1344.20 s
[opt-env-conf-test] [ [ functionChunk "argument",
1344.20 s
[opt-env-conf-test] " has no ",
1344.20 s
[opt-env-conf-test] functionChunk "reader",
1344.20 s
[opt-env-conf-test] "."
1344.20 s
[opt-env-conf-test] ]
1344.20 s
[opt-env-conf-test] ]
1344.20 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1344.20 s
[opt-env-conf-test] [ [ functionChunk "argument",
1344.21 s
[opt-env-conf-test] " has no ",
1344.21 s
[opt-env-conf-test] functionChunk "metavar",
1344.21 s
[opt-env-conf-test] "."
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1344.21 s
[opt-env-conf-test] [ [ functionChunk "option",
1344.21 s
[opt-env-conf-test] " or ",
1344.21 s
[opt-env-conf-test] functionChunk "name",
1344.21 s
[opt-env-conf-test] " has no ",
1344.21 s
[opt-env-conf-test] functionChunk "reader",
1344.21 s
[opt-env-conf-test] "."
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1344.21 s
[opt-env-conf-test] [ [ functionChunk "option",
1344.21 s
[opt-env-conf-test] " has no ",
1344.21 s
[opt-env-conf-test] functionChunk "long",
1344.21 s
[opt-env-conf-test] " or ",
1344.21 s
[opt-env-conf-test] functionChunk "short",
1344.21 s
[opt-env-conf-test] "."
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1344.21 s
[opt-env-conf-test] [ [ functionChunk "option",
1344.21 s
[opt-env-conf-test] " or ",
1344.21 s
[opt-env-conf-test] functionChunk "name",
1344.21 s
[opt-env-conf-test] " has no ",
1344.21 s
[opt-env-conf-test] functionChunk "metavar",
1344.21 s
[opt-env-conf-test] "."
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1344.21 s
[opt-env-conf-test] [ [ functionChunk "switch",
1344.21 s
[opt-env-conf-test] " has no ",
1344.21 s
[opt-env-conf-test] functionChunk "long",
1344.21 s
[opt-env-conf-test] " or ",
1344.21 s
[opt-env-conf-test] functionChunk "short",
1344.21 s
[opt-env-conf-test] "."
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1344.21 s
[opt-env-conf-test] [ [ functionChunk "long",
1344.21 s
[opt-env-conf-test] " or ",
1344.21 s
[opt-env-conf-test] functionChunk "short",
1344.21 s
[opt-env-conf-test] " has no ",
1344.21 s
[opt-env-conf-test] functionChunk "option",
1344.21 s
[opt-env-conf-test] " or ",
1344.21 s
[opt-env-conf-test] functionChunk "switch",
1344.21 s
[opt-env-conf-test] "."
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1344.21 s
[opt-env-conf-test] [ [ functionChunk "env",
1344.21 s
[opt-env-conf-test] " or ",
1344.21 s
[opt-env-conf-test] functionChunk "name",
1344.21 s
[opt-env-conf-test] " has no ",
1344.21 s
[opt-env-conf-test] functionChunk "reader",
1344.21 s
[opt-env-conf-test] "."
1344.21 s
[opt-env-conf-test] ]
1344.21 s
[opt-env-conf-test] ]
1344.22 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1344.22 s
[opt-env-conf-test] [ [ functionChunk "env",
1344.22 s
[opt-env-conf-test] " or ",
1344.22 s
[opt-env-conf-test] functionChunk "name",
1344.22 s
[opt-env-conf-test] " has no ",
1344.22 s
[opt-env-conf-test] functionChunk "metavar",
1344.22 s
[opt-env-conf-test] "."
1344.22 s
[opt-env-conf-test] ]
1344.22 s
[opt-env-conf-test] ]
1344.22 s
[opt-env-conf-test] LintErrorNoCommands ->
1344.22 s
[opt-env-conf-test] [ [ functionChunk "commands",
1353.65 s
[opt-env-conf-test] " was called with an empty list."
1353.65 s
[opt-env-conf-test] ]
1353.66 s
[opt-env-conf-test] ]
1353.68 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1353.68 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1353.68 s
[opt-env-conf-test] " was called with an unknown command: ",
1353.68 s
[opt-env-conf-test] commandChunk c
1353.68 s
[opt-env-conf-test] ]
1353.68 s
[opt-env-conf-test] ]
1353.68 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1353.68 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1353.68 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1353.68 s
[opt-env-conf-test] ]
1353.68 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1353.68 s
[opt-env-conf-test] [ [ functionChunk "conf",
1353.68 s
[opt-env-conf-test] " or ",
1353.68 s
[opt-env-conf-test] functionChunk "name",
1353.68 s
[opt-env-conf-test] " was called with no way to load configuration."
1353.68 s
[opt-env-conf-test] ],
1353.68 s
[opt-env-conf-test] [ "You can load configuration with ",
1353.68 s
[opt-env-conf-test] functionChunk "withConfig",
1353.68 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1353.68 s
[opt-env-conf-test] functionChunk "withoutConfig",
1353.68 s
[opt-env-conf-test] "."
1353.68 s
[opt-env-conf-test] ]
1353.68 s
[opt-env-conf-test] ]
1353.69 s
[opt-env-conf-test] LintErrorManyInfinite ->
1353.69 s
[opt-env-conf-test] [ [ functionChunk "many",
1353.69 s
[opt-env-conf-test] " or ",
1353.69 s
[opt-env-conf-test] functionChunk "some",
1353.69 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1353.69 s
[opt-env-conf-test] ],
1353.69 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1353.69 s
[opt-env-conf-test] ],
1353.69 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1353.69 s
[opt-env-conf-test] ]
1353.69 s
[opt-env-conf-test]
1353.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
1353.69 s
[opt-env-conf-test] @@ -221,13 +221,7 @@
1353.69 s
[opt-env-conf-test] ]
1353.69 s
[opt-env-conf-test] ]
1353.69 s
[opt-env-conf-test] LintErrorManyInfinite ->
1353.69 s
[opt-env-conf-test] - [ [ functionChunk "many",
1353.69 s
[opt-env-conf-test] - " or ",
1353.69 s
[opt-env-conf-test] - functionChunk "some",
1353.69 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1353.69 s
[opt-env-conf-test] - ],
1353.69 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1353.69 s
[opt-env-conf-test] ],
1353.69 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1353.69 s
[opt-env-conf-test] ]
1353.69 s
[opt-env-conf-test]
1353.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
1353.69 s
[opt-env-conf-test] @@ -221,13 +221,8 @@
1353.69 s
[opt-env-conf-test] ]
1353.69 s
[opt-env-conf-test] ]
1353.69 s
[opt-env-conf-test] LintErrorManyInfinite ->
1353.69 s
[opt-env-conf-test] - [ [ functionChunk "many",
1353.69 s
[opt-env-conf-test] - " or ",
1353.69 s
[opt-env-conf-test] - functionChunk "some",
1353.69 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1353.69 s
[opt-env-conf-test] - ],
1353.69 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1353.69 s
[opt-env-conf-test] ],
1353.69 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1353.69 s
[opt-env-conf-test] ]
1353.69 s
[opt-env-conf-test]
1353.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:246:27-28
1353.69 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1353.69 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1353.69 s
[opt-env-conf-test] [] -> 0
1353.69 s
[opt-env-conf-test] ixs -> maximum ixs
1353.69 s
[opt-env-conf-test] - in if lastDotDotIdx == 0
1353.69 s
[opt-env-conf-test] + in if lastDotDotIdx == 1
1353.69 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1353.69 s
[opt-env-conf-test] else
1353.69 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1353.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1353.69 s
[opt-env-conf-test] @@ -221,11 +221,10 @@
1353.69 s
[opt-env-conf-test] ]
1353.69 s
[opt-env-conf-test] ]
1353.69 s
[opt-env-conf-test] LintErrorManyInfinite ->
1353.69 s
[opt-env-conf-test] - [ [ functionChunk "many",
1353.69 s
[opt-env-conf-test] " or ",
1353.69 s
[opt-env-conf-test] functionChunk "some",
1353.69 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1353.69 s
[opt-env-conf-test] ],
1353.69 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1353.69 s
[opt-env-conf-test] ],
1353.69 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1353.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
1353.69 s
[opt-env-conf-test] @@ -240,9 +240,8 @@
1353.69 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1353.69 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1353.69 s
[opt-env-conf-test] -- Find the index after the last "../" component
1353.69 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1353.69 s
[opt-env-conf-test] [] -> 0
1353.69 s
[opt-env-conf-test] - ixs -> maximum ixs
1353.69 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1353.69 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1353.69 s
[opt-env-conf-test] else
1353.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
1353.70 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1353.70 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1353.70 s
[opt-env-conf-test] [] -> 0
1353.70 s
[opt-env-conf-test] ixs -> maximum ixs
1353.70 s
[opt-env-conf-test] - in if lastDotDotIdx == 0
1353.70 s
[opt-env-conf-test] + in if True
1353.70 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1353.70 s
[opt-env-conf-test] else
1353.70 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1353.70 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:243:28-76
1353.70 s
[opt-env-conf-test] @@ -240,7 +240,6 @@
1353.70 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1353.70 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1353.70 s
[opt-env-conf-test] -- Find the index after the last "../" component
1353.70 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1353.70 s
[opt-env-conf-test] [] -> 0
1353.70 s
[opt-env-conf-test] ixs -> maximum ixs
1353.70 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1353.70 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:243:66-75
1353.70 s
[opt-env-conf-test] @@ -240,7 +240,7 @@
1353.70 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1353.70 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1353.70 s
[opt-env-conf-test] -- Find the index after the last "../" component
1353.70 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1353.70 s
[opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, not c == ".."] of
1353.70 s
[opt-env-conf-test] [] -> 0
1353.70 s
[opt-env-conf-test] ixs -> maximum ixs
1353.70 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1353.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
1353.70 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1353.70 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1353.70 s
[opt-env-conf-test] [] -> 0
1353.70 s
[opt-env-conf-test] ixs -> maximum ixs
1353.70 s
[opt-env-conf-test] - in if lastDotDotIdx == 0
1353.70 s
[opt-env-conf-test] + in if False
1353.70 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1353.70 s
[opt-env-conf-test] else
1353.70 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1353.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1353.70 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1353.70 s
[opt-env-conf-test] ]
1353.70 s
[opt-env-conf-test] ]
1353.70 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1353.70 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1353.70 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1353.70 s
[opt-env-conf-test] ]
1353.70 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1353.70 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:19-47
1353.70 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1353.70 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1353.70 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1353.70 s
[opt-env-conf-test] trailingSlash
1353.70 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1353.70 s
[opt-env-conf-test] + | not "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1353.70 s
[opt-env-conf-test] | otherwise = ""
1353.70 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1353.70 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1353.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:54-78
1353.70 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1353.70 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1353.70 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1353.70 s
[opt-env-conf-test] trailingSlash
1353.70 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1353.70 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not (True) = "/"
1353.70 s
[opt-env-conf-test] | otherwise = ""
1353.71 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1353.71 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1353.71 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:54-78
1353.71 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1353.71 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1353.71 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1353.71 s
[opt-env-conf-test] trailingSlash
1353.71 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1353.71 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not (not null remainderComponents) = "/"
1353.71 s
[opt-env-conf-test] | otherwise = ""
1353.71 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1353.71 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1353.71 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:53-79
1353.71 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1353.71 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1360.99 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1361.01 s
[opt-env-conf-test] trailingSlash
1361.01 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1361.01 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not True = "/"
1361.01 s
[opt-env-conf-test] | otherwise = ""
1361.01 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1361.02 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1361.02 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:53-79
1361.02 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1361.02 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1361.02 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1361.02 s
[opt-env-conf-test] trailingSlash
1361.02 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1361.02 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not not (null remainderComponents) = "/"
1361.02 s
[opt-env-conf-test] | otherwise = ""
1361.02 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1361.02 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1361.02 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
1361.02 s
[opt-env-conf-test] @@ -193,9 +193,7 @@
1361.02 s
[opt-env-conf-test] ]
1361.02 s
[opt-env-conf-test] ]
1361.02 s
[opt-env-conf-test] LintErrorNoCommands ->
1361.02 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1361.02 s
[opt-env-conf-test] - " was called with an empty list."
1361.02 s
[opt-env-conf-test] ]
1361.02 s
[opt-env-conf-test] ]
1361.02 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1361.02 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1361.02 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:49-79
1361.02 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1361.02 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1361.02 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1361.02 s
[opt-env-conf-test] trailingSlash
1361.02 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1361.02 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not not (null remainderComponents) = "/"
1361.02 s
[opt-env-conf-test] | otherwise = ""
1361.02 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1361.03 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1361.03 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
1361.03 s
[opt-env-conf-test] @@ -193,9 +193,8 @@
1361.03 s
[opt-env-conf-test] ]
1361.03 s
[opt-env-conf-test] ]
1361.03 s
[opt-env-conf-test] LintErrorNoCommands ->
1361.03 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1361.03 s
[opt-env-conf-test] " was called with an empty list."
1361.03 s
[opt-env-conf-test] ]
1361.03 s
[opt-env-conf-test] ]
1361.03 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1361.03 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1361.03 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1361.03 s
[opt-env-conf-test] @@ -208,11 +208,10 @@
1361.03 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1361.03 s
[opt-env-conf-test] ]
1361.03 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1361.03 s
[opt-env-conf-test] [ [ functionChunk "conf",
1361.03 s
[opt-env-conf-test] " or ",
1361.03 s
[opt-env-conf-test] functionChunk "name",
1361.03 s
[opt-env-conf-test] - " was called with no way to load configuration."
1361.03 s
[opt-env-conf-test] ],
1361.03 s
[opt-env-conf-test] [ "You can load configuration with ",
1361.03 s
[opt-env-conf-test] functionChunk "withConfig",
1361.03 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1361.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:19-47
1361.03 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1361.03 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1361.03 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1361.03 s
[opt-env-conf-test] trailingSlash
1361.03 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1361.03 s
[opt-env-conf-test] + | True, not (null remainderComponents) = "/"
1361.03 s
[opt-env-conf-test] | otherwise = ""
1361.03 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1361.03 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1361.04 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:246:10-28
1361.04 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1361.04 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1361.04 s
[opt-env-conf-test] [] -> 0
1361.04 s
[opt-env-conf-test] ixs -> maximum ixs
1361.04 s
[opt-env-conf-test] - in if lastDotDotIdx == 0
1361.04 s
[opt-env-conf-test] + in if not lastDotDotIdx == 0
1361.04 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1361.04 s
[opt-env-conf-test] else
1361.04 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1361.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:243:66-75
1361.04 s
[opt-env-conf-test] @@ -240,7 +240,7 @@
1361.04 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1361.04 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1361.04 s
[opt-env-conf-test] -- Find the index after the last "../" component
1361.04 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1361.04 s
[opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, True] of
1361.04 s
[opt-env-conf-test] [] -> 0
1361.04 s
[opt-env-conf-test] ixs -> maximum ixs
1361.04 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1361.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
1361.04 s
[opt-env-conf-test] @@ -262,9 +262,8 @@
1361.04 s
[opt-env-conf-test] splitOnSlash [] = []
1361.04 s
[opt-env-conf-test] splitOnSlash s =
1361.04 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1361.04 s
[opt-env-conf-test] in case rest of
1361.04 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1361.04 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1361.04 s
[opt-env-conf-test]
1361.04 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1361.04 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1361.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
1361.04 s
[opt-env-conf-test] @@ -240,9 +240,8 @@
1361.04 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1361.04 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1361.04 s
[opt-env-conf-test] -- Find the index after the last "../" component
1361.04 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1361.04 s
[opt-env-conf-test] - [] -> 0
1361.04 s
[opt-env-conf-test] ixs -> maximum ixs
1361.04 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1361.04 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1361.04 s
[opt-env-conf-test] else
1361.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
1361.04 s
[opt-env-conf-test] @@ -211,9 +211,8 @@
1361.04 s
[opt-env-conf-test] }
1361.04 s
[opt-env-conf-test]
1361.04 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1361.04 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1361.04 s
[opt-env-conf-test] - ('.' : _) -> True
1361.04 s
[opt-env-conf-test] _ -> False
1361.04 s
[opt-env-conf-test]
1361.04 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1361.04 s
[opt-env-conf-test] stripCurDir = \case
1361.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
1361.04 s
[opt-env-conf-test] @@ -155,11 +155,8 @@
1361.04 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1361.04 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1361.04 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1361.04 s
[opt-env-conf-test] Nothing -> case fp of
1361.04 s
[opt-env-conf-test] - [] -> do
1361.04 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
1361.04 s
[opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
1361.04 s
[opt-env-conf-test] _ -> pure []
1361.04 s
[opt-env-conf-test] Just (Abs ad) -> do
1361.04 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1361.05 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1361.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
1361.05 s
[opt-env-conf-test] @@ -155,11 +155,10 @@
1361.05 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1361.05 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1361.05 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1361.05 s
[opt-env-conf-test] Nothing -> case fp of
1361.05 s
[opt-env-conf-test] [] -> do
1361.05 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1361.05 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1361.05 s
[opt-env-conf-test] - _ -> pure []
1361.05 s
[opt-env-conf-test] Just (Abs ad) -> do
1361.05 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1361.05 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1361.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
1361.05 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
1361.05 s
[opt-env-conf-test] }
1361.05 s
[opt-env-conf-test]
1361.05 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1361.05 s
[opt-env-conf-test] -hiddenRel p = case toFilePath p of
1361.05 s
[opt-env-conf-test] +hiddenRel p = False= case toFilePath p of
1361.05 s
[opt-env-conf-test] ('.' : _) -> True
1361.05 s
[opt-env-conf-test] _ -> False
1361.05 s
[opt-env-conf-test]
1361.05 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1361.05 s
[opt-env-conf-test] stripCurDir = \case
1361.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
1361.05 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
1361.05 s
[opt-env-conf-test] }
1361.05 s
[opt-env-conf-test]
1361.05 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1361.05 s
[opt-env-conf-test] -hiddenRel p = case toFilePath p of
1361.05 s
[opt-env-conf-test] +hiddenRel p = True= case toFilePath p of
1361.05 s
[opt-env-conf-test] ('.' : _) -> True
1361.05 s
[opt-env-conf-test] _ -> False
1361.05 s
[opt-env-conf-test]
1361.05 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1361.05 s
[opt-env-conf-test] stripCurDir = \case
1361.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
1361.05 s
[opt-env-conf-test] @@ -154,19 +154,16 @@
1361.05 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
1361.05 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1361.05 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1361.05 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1361.05 s
[opt-env-conf-test] Nothing -> case fp of
1361.05 s
[opt-env-conf-test] [] -> do
1361.05 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1361.05 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1361.05 s
[opt-env-conf-test] _ -> pure []
1371.40 s
[opt-env-conf-test] - Just (Abs ad) -> do
1371.42 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
1371.42 s
[opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1371.42 s
[opt-env-conf-test] Just (Rel rd) -> do
1371.42 s
[opt-env-conf-test] let ad = baseDir </> rd
1371.42 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1371.43 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1371.43 s
[opt-env-conf-test]
1371.43 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1371.43 s
[opt-env-conf-test] Nothing -> pure []
1371.43 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
1371.43 s
[opt-env-conf-test] @@ -211,9 +211,8 @@
1371.43 s
[opt-env-conf-test] }
1371.43 s
[opt-env-conf-test]
1371.43 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1371.43 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1371.43 s
[opt-env-conf-test] ('.' : _) -> True
1371.43 s
[opt-env-conf-test] - _ -> False
1371.43 s
[opt-env-conf-test]
1371.43 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1371.43 s
[opt-env-conf-test] stripCurDir = \case
1371.43 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:214:15-13
1371.43 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
1371.43 s
[opt-env-conf-test] }
1371.43 s
[opt-env-conf-test]
1371.43 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1371.43 s
[opt-env-conf-test] -hiddenRel p = case toFilePath p of
1371.43 s
[opt-env-conf-test] +hiddenRel p = not case toFilePath p of
1371.43 s
[opt-env-conf-test] ('.' : _) -> True
1371.43 s
[opt-env-conf-test] _ -> False
1371.43 s
[opt-env-conf-test]
1371.43 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1371.43 s
[opt-env-conf-test] stripCurDir = \case
1371.44 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
1371.44 s
[opt-env-conf-test] @@ -154,19 +154,14 @@
1371.44 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
1371.44 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1371.44 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1371.44 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1371.44 s
[opt-env-conf-test] - Nothing -> case fp of
1371.44 s
[opt-env-conf-test] - [] -> do
1371.44 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
1371.44 s
[opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
1371.44 s
[opt-env-conf-test] - _ -> pure []
1371.44 s
[opt-env-conf-test] Just (Abs ad) -> do
1371.44 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1371.44 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1371.44 s
[opt-env-conf-test] Just (Rel rd) -> do
1371.44 s
[opt-env-conf-test] let ad = baseDir </> rd
1371.44 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1371.44 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1371.44 s
[opt-env-conf-test]
1371.44 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1371.44 s
[opt-env-conf-test] Nothing -> pure []
1371.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:49-79
1371.44 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1371.44 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1371.44 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1371.44 s
[opt-env-conf-test] trailingSlash
1371.44 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1371.44 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, True = "/"
1371.44 s
[opt-env-conf-test] | otherwise = ""
1371.44 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1371.44 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1371.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
1371.44 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1371.44 s
[opt-env-conf-test] . showString " "
1371.44 s
[opt-env-conf-test] . go 11 p
1371.44 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1371.44 s
[opt-env-conf-test] - showParen (d > 10) $
1371.44 s
[opt-env-conf-test] + showParen False $
1371.45 s
[opt-env-conf-test] showString "Check "
1371.45 s
[opt-env-conf-test] . showsPrec 11 mLoc
1371.45 s
[opt-env-conf-test] . showString " "
1371.45 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:215:16-20
1371.45 s
[opt-env-conf-test] @@ -212,7 +212,7 @@
1371.45 s
[opt-env-conf-test]
1371.45 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1371.45 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1371.45 s
[opt-env-conf-test] - ('.' : _) -> True
1371.45 s
[opt-env-conf-test] + ('.' : _) -> False
1371.45 s
[opt-env-conf-test] _ -> False
1371.45 s
[opt-env-conf-test]
1371.45 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1371.45 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:216:8-13
1371.45 s
[opt-env-conf-test] @@ -213,7 +213,7 @@
1371.45 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1371.45 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1371.45 s
[opt-env-conf-test] ('.' : _) -> True
1371.45 s
[opt-env-conf-test] - _ -> False
1371.45 s
[opt-env-conf-test] + _ -> True
1371.45 s
[opt-env-conf-test]
1371.45 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1371.45 s
[opt-env-conf-test] stripCurDir = \case
1371.45 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:175:31-53
1371.45 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1371.45 s
[opt-env-conf-test] Nothing -> pure []
1371.45 s
[opt-env-conf-test] Just (Abs af) -> do
1371.45 s
[opt-env-conf-test] let dir = parent af
1371.45 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1371.45 s
[opt-env-conf-test] + let filterHidden = if not hiddenRel (dirname af) then id else filter (not . hiddenRel)
1371.45 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1371.45 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1371.45 s
[opt-env-conf-test] Just (Rel rf) ->
1371.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
1371.45 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1371.45 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1371.45 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1371.45 s
[opt-env-conf-test] Just (Rel rf) ->
1371.45 s
[opt-env-conf-test] - if fp == "."
1371.45 s
[opt-env-conf-test] + if False
1371.45 s
[opt-env-conf-test] then do
1371.45 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1371.45 s
[opt-env-conf-test] pure (map fromRelDir ds)
1371.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
1371.45 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1371.45 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1371.45 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1371.45 s
[opt-env-conf-test] Just (Rel rf) ->
1371.45 s
[opt-env-conf-test] - if fp == "."
1371.45 s
[opt-env-conf-test] + if True
1371.45 s
[opt-env-conf-test] then do
1371.45 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1371.45 s
[opt-env-conf-test] pure (map fromRelDir ds)
1371.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
1371.45 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1371.46 s
[opt-env-conf-test] else do
1371.46 s
[opt-env-conf-test] let dir = parent rf
1371.46 s
[opt-env-conf-test] let ad = baseDir </> dir
1371.46 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1371.46 s
[opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
1371.46 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1371.46 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1371.46 s
[opt-env-conf-test]
1371.46 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:179:12-21
1371.46 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1371.46 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1371.46 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1371.46 s
[opt-env-conf-test] Just (Rel rf) ->
1371.46 s
[opt-env-conf-test] - if fp == "."
1371.46 s
[opt-env-conf-test] + if not fp == "."
1371.46 s
[opt-env-conf-test] then do
1371.46 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1371.46 s
[opt-env-conf-test] pure (map fromRelDir ds)
1371.46 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:186:35-47
1371.46 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1371.46 s
[opt-env-conf-test] else do
1371.46 s
[opt-env-conf-test] let dir = parent rf
1371.46 s
[opt-env-conf-test] let ad = baseDir </> dir
1371.46 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1371.46 s
[opt-env-conf-test] + let filterHidden = if not hiddenRel rf then id else filter (not . hiddenRel)
1371.46 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1371.46 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1371.46 s
[opt-env-conf-test]
1371.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
1371.46 s
[opt-env-conf-test] @@ -168,24 +168,23 @@
1371.46 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1371.46 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1371.46 s
[opt-env-conf-test]
1371.46 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1371.46 s
[opt-env-conf-test] - Nothing -> pure []
1371.46 s
[opt-env-conf-test] Just (Abs af) -> do
1371.46 s
[opt-env-conf-test] let dir = parent af
1371.46 s
[opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1371.46 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1371.46 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1371.46 s
[opt-env-conf-test] Just (Rel rf) ->
1371.46 s
[opt-env-conf-test] if fp == "."
1371.46 s
[opt-env-conf-test] then do
1371.46 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1371.46 s
[opt-env-conf-test] pure (map fromRelDir ds)
1371.46 s
[opt-env-conf-test] else do
1371.46 s
[opt-env-conf-test] let dir = parent rf
1371.46 s
[opt-env-conf-test] let ad = baseDir </> dir
1371.46 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1371.46 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1371.46 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1371.47 s
[opt-env-conf-test]
1371.47 s
[opt-env-conf-test] pure $
1371.47 s
[opt-env-conf-test] concat
1371.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
1371.47 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1371.47 s
[opt-env-conf-test] else do
1371.47 s
[opt-env-conf-test] let dir = parent rf
1371.47 s
[opt-env-conf-test] let ad = baseDir </> dir
1371.47 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1371.47 s
[opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
1371.47 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1371.47 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1371.47 s
[opt-env-conf-test]
1371.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
1371.47 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1371.47 s
[opt-env-conf-test] Nothing -> pure []
1371.47 s
[opt-env-conf-test] Just (Abs af) -> do
1371.47 s
[opt-env-conf-test] let dir = parent af
1371.47 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1371.47 s
[opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
1371.47 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1371.47 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1371.47 s
[opt-env-conf-test] Just (Rel rf) ->
1374.67 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
1374.67 s
[opt-env-conf-test] @@ -154,19 +154,15 @@
1374.67 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
1374.67 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1374.67 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1374.67 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1374.67 s
[opt-env-conf-test] Nothing -> case fp of
1374.67 s
[opt-env-conf-test] [] -> do
1374.67 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1374.68 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1374.68 s
[opt-env-conf-test] _ -> pure []
1374.68 s
[opt-env-conf-test] Just (Abs ad) -> do
1374.68 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1374.68 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1374.68 s
[opt-env-conf-test] - Just (Rel rd) -> do
1374.68 s
[opt-env-conf-test] - let ad = baseDir </> rd
1374.68 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
1374.68 s
[opt-env-conf-test] - pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1374.68 s
[opt-env-conf-test]
1374.68 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1374.68 s
[opt-env-conf-test] Nothing -> pure []
1374.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
1374.68 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1374.68 s
[opt-env-conf-test] Nothing -> pure []
1374.68 s
[opt-env-conf-test] Just (Abs af) -> do
1374.68 s
[opt-env-conf-test] let dir = parent af
1374.68 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1374.68 s
[opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
1374.68 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1374.68 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1374.68 s
[opt-env-conf-test] Just (Rel rf) ->
1374.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
1374.68 s
[opt-env-conf-test] @@ -71,14 +71,13 @@
1374.68 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1374.68 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1374.68 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1374.68 s
[opt-env-conf-test] Nothing -> case fp of
1374.68 s
[opt-env-conf-test] [] -> do
1374.68 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1374.68 s
[opt-env-conf-test] pure
1374.68 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
1374.68 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
1374.68 s
[opt-env-conf-test] )
1374.68 s
[opt-env-conf-test] - _ -> pure ([], [])
1374.68 s
[opt-env-conf-test] Just (Abs ad) -> do
1374.68 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1374.69 s
[opt-env-conf-test] pure
1374.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
1374.69 s
[opt-env-conf-test] @@ -70,28 +70,20 @@
1374.69 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
1374.69 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1374.69 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1374.69 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1374.69 s
[opt-env-conf-test] - Nothing -> case fp of
1374.69 s
[opt-env-conf-test] - [] -> do
1374.69 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
1374.69 s
[opt-env-conf-test] - pure
1374.69 s
[opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
1374.69 s
[opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
1374.69 s
[opt-env-conf-test] - )
1374.69 s
[opt-env-conf-test] - _ -> pure ([], [])
1374.69 s
[opt-env-conf-test] Just (Abs ad) -> do
1374.69 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1374.69 s
[opt-env-conf-test] pure
1374.69 s
[opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
1374.69 s
[opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
1374.69 s
[opt-env-conf-test] )
1374.69 s
[opt-env-conf-test] Just (Rel rd) -> do
1374.69 s
[opt-env-conf-test] let ad = baseDir </> rd
1374.69 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1374.69 s
[opt-env-conf-test] pure
1374.69 s
[opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
1374.69 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1374.69 s
[opt-env-conf-test] )
1374.69 s
[opt-env-conf-test]
1374.69 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1374.69 s
[opt-env-conf-test] Nothing ->
1374.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
1374.69 s
[opt-env-conf-test] @@ -70,28 +70,22 @@
1374.69 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
1374.69 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1374.70 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1374.70 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1374.70 s
[opt-env-conf-test] Nothing -> case fp of
1374.70 s
[opt-env-conf-test] [] -> do
1374.70 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1374.70 s
[opt-env-conf-test] pure
1374.70 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
1374.70 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
1374.70 s
[opt-env-conf-test] )
1374.70 s
[opt-env-conf-test] _ -> pure ([], [])
1374.70 s
[opt-env-conf-test] - Just (Abs ad) -> do
1374.70 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
1374.70 s
[opt-env-conf-test] - pure
1374.70 s
[opt-env-conf-test] - ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
1374.70 s
[opt-env-conf-test] - map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
1374.70 s
[opt-env-conf-test] - )
1374.70 s
[opt-env-conf-test] Just (Rel rd) -> do
1374.70 s
[opt-env-conf-test] let ad = baseDir </> rd
1374.70 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1374.70 s
[opt-env-conf-test] pure
1374.70 s
[opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
1374.70 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1374.70 s
[opt-env-conf-test] )
1374.70 s
[opt-env-conf-test]
1374.70 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1374.70 s
[opt-env-conf-test] Nothing ->
1374.70 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
1374.70 s
[opt-env-conf-test] @@ -71,14 +71,8 @@
1374.70 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1374.70 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1374.70 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1374.70 s
[opt-env-conf-test] Nothing -> case fp of
1374.70 s
[opt-env-conf-test] - [] -> do
1374.70 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
1374.70 s
[opt-env-conf-test] - pure
1374.70 s
[opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
1374.70 s
[opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
1374.70 s
[opt-env-conf-test] - )
1374.70 s
[opt-env-conf-test] _ -> pure ([], [])
1374.70 s
[opt-env-conf-test] Just (Abs ad) -> do
1374.70 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1374.70 s
[opt-env-conf-test] pure
1374.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
1374.70 s
[opt-env-conf-test] @@ -189,9 +189,8 @@
1374.70 s
[opt-env-conf-test]
1374.70 s
[opt-env-conf-test] pure $
1374.70 s
[opt-env-conf-test] concat
1374.70 s
[opt-env-conf-test] - [ dirsFromPartialListing,
1374.70 s
[opt-env-conf-test] dirsFromParentListing
1374.70 s
[opt-env-conf-test] ]
1374.70 s
[opt-env-conf-test] where
1374.70 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1374.70 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1374.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
1374.70 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
1374.70 s
[opt-env-conf-test]
1374.70 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1374.70 s
[opt-env-conf-test] Nothing ->
1374.70 s
[opt-env-conf-test] - if fp == "."
1374.70 s
[opt-env-conf-test] + if True
1374.70 s
[opt-env-conf-test] then do
1374.70 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1374.70 s
[opt-env-conf-test] pure
1374.70 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
1374.70 s
[opt-env-conf-test] @@ -168,24 +168,19 @@
1374.70 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1374.70 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1374.70 s
[opt-env-conf-test]
1374.71 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1374.71 s
[opt-env-conf-test] Nothing -> pure []
1374.71 s
[opt-env-conf-test] - Just (Abs af) -> do
1374.71 s
[opt-env-conf-test] - let dir = parent af
1374.71 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1374.71 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving dir
1374.71 s
[opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1374.71 s
[opt-env-conf-test] Just (Rel rf) ->
1374.71 s
[opt-env-conf-test] if fp == "."
1374.71 s
[opt-env-conf-test] then do
1374.71 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1374.71 s
[opt-env-conf-test] pure (map fromRelDir ds)
1374.71 s
[opt-env-conf-test] else do
1374.71 s
[opt-env-conf-test] let dir = parent rf
1374.71 s
[opt-env-conf-test] let ad = baseDir </> dir
1374.71 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1374.71 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1374.71 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1374.71 s
[opt-env-conf-test]
1374.71 s
[opt-env-conf-test] pure $
1374.71 s
[opt-env-conf-test] concat
1374.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
1374.71 s
[opt-env-conf-test] @@ -189,9 +189,7 @@
1374.71 s
[opt-env-conf-test]
1374.71 s
[opt-env-conf-test] pure $
1374.71 s
[opt-env-conf-test] concat
1374.71 s
[opt-env-conf-test] - [ dirsFromPartialListing,
1374.71 s
[opt-env-conf-test] - dirsFromParentListing
1374.71 s
[opt-env-conf-test] ]
1374.71 s
[opt-env-conf-test] where
1374.71 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1374.71 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1374.71 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
1374.71 s
[opt-env-conf-test] @@ -168,24 +168,13 @@
1374.71 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1374.71 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1374.71 s
[opt-env-conf-test]
1374.71 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1374.71 s
[opt-env-conf-test] Nothing -> pure []
1374.71 s
[opt-env-conf-test] Just (Abs af) -> do
1374.71 s
[opt-env-conf-test] let dir = parent af
1374.71 s
[opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1374.71 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1374.71 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1374.71 s
[opt-env-conf-test] - Just (Rel rf) ->
1374.71 s
[opt-env-conf-test] - if fp == "."
1374.71 s
[opt-env-conf-test] - then do
1382.92 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
1382.92 s
[opt-env-conf-test] - pure (map fromRelDir ds)
1382.95 s
[opt-env-conf-test] - else do
1382.95 s
[opt-env-conf-test] - let dir = parent rf
1382.95 s
[opt-env-conf-test] - let ad = baseDir </> dir
1382.95 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1382.95 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
1382.95 s
[opt-env-conf-test] - pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1382.95 s
[opt-env-conf-test]
1382.95 s
[opt-env-conf-test] pure $
1382.95 s
[opt-env-conf-test] concat
1382.95 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
1382.95 s
[opt-env-conf-test] @@ -70,28 +70,21 @@
1382.95 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
1382.95 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1382.95 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1382.95 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1382.95 s
[opt-env-conf-test] Nothing -> case fp of
1382.95 s
[opt-env-conf-test] [] -> do
1382.95 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1382.95 s
[opt-env-conf-test] pure
1382.95 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
1382.95 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
1382.96 s
[opt-env-conf-test] )
1382.96 s
[opt-env-conf-test] _ -> pure ([], [])
1382.96 s
[opt-env-conf-test] Just (Abs ad) -> do
1382.96 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1382.96 s
[opt-env-conf-test] pure
1382.96 s
[opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
1382.96 s
[opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
1382.96 s
[opt-env-conf-test] )
1382.96 s
[opt-env-conf-test] - Just (Rel rd) -> do
1382.96 s
[opt-env-conf-test] - let ad = baseDir </> rd
1382.96 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
1382.96 s
[opt-env-conf-test] - pure
1382.96 s
[opt-env-conf-test] - ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
1382.96 s
[opt-env-conf-test] - map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1382.96 s
[opt-env-conf-test] - )
1382.96 s
[opt-env-conf-test]
1382.96 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1382.96 s
[opt-env-conf-test] Nothing ->
1382.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1382.96 s
[opt-env-conf-test] @@ -146,13 +146,12 @@
1382.96 s
[opt-env-conf-test] ]
1382.96 s
[opt-env-conf-test] ]
1382.96 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1382.96 s
[opt-env-conf-test] - [ [ functionChunk "option",
1382.96 s
[opt-env-conf-test] " or ",
1382.96 s
[opt-env-conf-test] functionChunk "name",
1382.96 s
[opt-env-conf-test] " has no ",
1382.96 s
[opt-env-conf-test] functionChunk "metavar",
1382.96 s
[opt-env-conf-test] "."
1382.96 s
[opt-env-conf-test] ]
1382.96 s
[opt-env-conf-test] ]
1382.96 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1382.96 s
[opt-env-conf-test] [ [ functionChunk "switch",
1382.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1382.96 s
[opt-env-conf-test] @@ -221,11 +221,10 @@
1382.97 s
[opt-env-conf-test] ]
1382.97 s
[opt-env-conf-test] ]
1382.97 s
[opt-env-conf-test] LintErrorManyInfinite ->
1382.97 s
[opt-env-conf-test] [ [ functionChunk "many",
1382.97 s
[opt-env-conf-test] " or ",
1382.97 s
[opt-env-conf-test] functionChunk "some",
1382.97 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1382.97 s
[opt-env-conf-test] ],
1382.97 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1382.97 s
[opt-env-conf-test] ],
1382.97 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1382.97 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
1382.97 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
1382.97 s
[opt-env-conf-test]
1382.97 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1382.97 s
[opt-env-conf-test] Nothing ->
1382.97 s
[opt-env-conf-test] - if fp == "."
1382.97 s
[opt-env-conf-test] + if False
1382.97 s
[opt-env-conf-test] then do
1382.97 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1382.97 s
[opt-env-conf-test] pure
1382.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1382.97 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1382.97 s
[opt-env-conf-test] ]
1382.97 s
[opt-env-conf-test] ]
1382.97 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1382.97 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1382.97 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1382.97 s
[opt-env-conf-test] ]
1382.97 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1382.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1382.97 s
[opt-env-conf-test] @@ -198,10 +198,9 @@
1382.97 s
[opt-env-conf-test] ]
1382.97 s
[opt-env-conf-test] ]
1382.97 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1382.97 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1382.97 s
[opt-env-conf-test] " was called with an unknown command: ",
1382.97 s
[opt-env-conf-test] commandChunk c
1382.97 s
[opt-env-conf-test] ]
1382.97 s
[opt-env-conf-test] ]
1382.97 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1382.97 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1382.97 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
1382.97 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
1382.98 s
[opt-env-conf-test] else pure ([], [])
1382.98 s
[opt-env-conf-test] Just (Abs af) -> do
1382.98 s
[opt-env-conf-test] let dir = parent af
1382.98 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1382.98 s
[opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
1382.98 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1382.98 s
[opt-env-conf-test] pure
1382.98 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1382.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
1382.98 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
1382.98 s
[opt-env-conf-test] else pure ([], [])
1382.98 s
[opt-env-conf-test] Just (Abs af) -> do
1382.98 s
[opt-env-conf-test] let dir = parent af
1382.98 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1382.98 s
[opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
1382.98 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1382.98 s
[opt-env-conf-test] pure
1382.98 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1382.98 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:244:15-16
1382.98 s
[opt-env-conf-test] @@ -241,7 +241,7 @@
1382.98 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1382.98 s
[opt-env-conf-test] -- Find the index after the last "../" component
1382.98 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1382.98 s
[opt-env-conf-test] - [] -> 0
1382.98 s
[opt-env-conf-test] + [] -> 1
1382.98 s
[opt-env-conf-test] ixs -> maximum ixs
1382.98 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1382.98 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1382.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
1382.98 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1382.98 s
[opt-env-conf-test] Just (Rel rf) -> do
1382.98 s
[opt-env-conf-test] let dir = parent rf
1382.98 s
[opt-env-conf-test] let ad = baseDir </> dir
1382.98 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1382.98 s
[opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
1382.98 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1382.98 s
[opt-env-conf-test] pure
1382.98 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1382.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
1382.98 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1382.98 s
[opt-env-conf-test] Just (Rel rf) -> do
1382.98 s
[opt-env-conf-test] let dir = parent rf
1382.98 s
[opt-env-conf-test] let ad = baseDir </> dir
1382.98 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1382.98 s
[opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
1382.98 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1382.99 s
[opt-env-conf-test] pure
1382.99 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1382.99 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:117:31-43
1382.99 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1382.99 s
[opt-env-conf-test] Just (Rel rf) -> do
1382.99 s
[opt-env-conf-test] let dir = parent rf
1382.99 s
[opt-env-conf-test] let ad = baseDir </> dir
1382.99 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1382.99 s
[opt-env-conf-test] + let filterHidden = if not hiddenRel rf then id else filter (not . hiddenRel)
1382.99 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1382.99 s
[opt-env-conf-test] pure
1382.99 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1382.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
1382.99 s
[opt-env-conf-test] @@ -93,33 +93,24 @@
1382.99 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1382.99 s
[opt-env-conf-test] )
1382.99 s
[opt-env-conf-test]
1382.99 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1382.99 s
[opt-env-conf-test] - Nothing ->
1382.99 s
[opt-env-conf-test] - if fp == "."
1382.99 s
[opt-env-conf-test] - then do
1382.99 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
1382.99 s
[opt-env-conf-test] - pure
1382.99 s
[opt-env-conf-test] - ( map fromRelDir ds,
1382.99 s
[opt-env-conf-test] - map fromRelFile fs
1382.99 s
[opt-env-conf-test] - )
1382.99 s
[opt-env-conf-test] - else pure ([], [])
1382.99 s
[opt-env-conf-test] Just (Abs af) -> do
1382.99 s
[opt-env-conf-test] let dir = parent af
1382.99 s
[opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1382.99 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1382.99 s
[opt-env-conf-test] pure
1382.99 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1382.99 s
[opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
1382.99 s
[opt-env-conf-test] )
1382.99 s
[opt-env-conf-test] Just (Rel rf) -> do
1382.99 s
[opt-env-conf-test] let dir = parent rf
1382.99 s
[opt-env-conf-test] let ad = baseDir </> dir
1382.99 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1382.99 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1382.99 s
[opt-env-conf-test] pure
1383.00 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1383.00 s
[opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
1383.00 s
[opt-env-conf-test] )
1383.00 s
[opt-env-conf-test]
1383.00 s
[opt-env-conf-test] pure $
1383.00 s
[opt-env-conf-test] concat
1383.00 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:98:12-21
1389.56 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
1389.56 s
[opt-env-conf-test]
1389.56 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1389.58 s
[opt-env-conf-test] Nothing ->
1389.58 s
[opt-env-conf-test] - if fp == "."
1389.58 s
[opt-env-conf-test] + if not fp == "."
1389.59 s
[opt-env-conf-test] then do
1389.59 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1389.59 s
[opt-env-conf-test] pure
1389.59 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:108:31-54
1389.59 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
1389.59 s
[opt-env-conf-test] else pure ([], [])
1389.59 s
[opt-env-conf-test] Just (Abs af) -> do
1389.59 s
[opt-env-conf-test] let dir = parent af
1389.59 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1389.59 s
[opt-env-conf-test] + let filterHidden = if not hiddenRel (filename af) then id else filter (not . hiddenRel)
1389.59 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1389.59 s
[opt-env-conf-test] pure
1389.59 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1389.59 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
1389.59 s
[opt-env-conf-test] @@ -403,7 +403,6 @@
1389.59 s
[opt-env-conf-test]
1389.59 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1389.59 s
[opt-env-conf-test] renderDashed = \case
1389.59 s
[opt-env-conf-test] - DashedShort c -> ['-', c]
1389.59 s
[opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
1389.59 s
[opt-env-conf-test]
1389.59 s
[opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
1389.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
1389.59 s
[opt-env-conf-test] @@ -92,6 +92,5 @@
1389.59 s
[opt-env-conf-test] _ -> Nothing
1389.59 s
[opt-env-conf-test] )
1389.59 s
[opt-env-conf-test] errs
1389.60 s
[opt-env-conf-test] in case mMissingCaps of
1389.60 s
[opt-env-conf-test] Just ne -> CheckIncapable ne
1389.60 s
[opt-env-conf-test] - Nothing -> CheckFailed errs
1389.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
1389.60 s
[opt-env-conf-test] @@ -78,20 +78,5 @@
1389.60 s
[opt-env-conf-test] IO (CheckResult a)
1389.60 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
1389.60 s
[opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
1389.60 s
[opt-env-conf-test] pure $ case errOrSets of
1389.60 s
[opt-env-conf-test] Right a -> CheckSucceeded a
1389.60 s
[opt-env-conf-test] - Left errs ->
1389.60 s
[opt-env-conf-test] - -- If all the errors are missing capability errors, return
1389.60 s
[opt-env-conf-test] - -- CheckIncapable, otherwise CheckFailed
1389.60 s
[opt-env-conf-test] - let mMissingCaps =
1389.60 s
[opt-env-conf-test] - -- This MUST be mapM instead of mapMaybe because we need to ensure
1389.60 s
[opt-env-conf-test] - -- ALL errors are missing capability errors
1389.60 s
[opt-env-conf-test] - mapM
1389.60 s
[opt-env-conf-test] - ( \case
1389.60 s
[opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
1389.60 s
[opt-env-conf-test] - _ -> Nothing
1389.60 s
[opt-env-conf-test] - )
1389.60 s
[opt-env-conf-test] - errs
1389.60 s
[opt-env-conf-test] - in case mMissingCaps of
1389.60 s
[opt-env-conf-test] - Just ne -> CheckIncapable ne
1389.60 s
[opt-env-conf-test] - Nothing -> CheckFailed errs
1389.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
1389.60 s
[opt-env-conf-test] @@ -78,20 +78,19 @@
1389.60 s
[opt-env-conf-test] IO (CheckResult a)
1389.60 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
1389.60 s
[opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
1389.60 s
[opt-env-conf-test] pure $ case errOrSets of
1389.60 s
[opt-env-conf-test] - Right a -> CheckSucceeded a
1389.60 s
[opt-env-conf-test] Left errs ->
1389.60 s
[opt-env-conf-test] -- If all the errors are missing capability errors, return
1389.60 s
[opt-env-conf-test] -- CheckIncapable, otherwise CheckFailed
1389.60 s
[opt-env-conf-test] let mMissingCaps =
1389.60 s
[opt-env-conf-test] -- This MUST be mapM instead of mapMaybe because we need to ensure
1389.61 s
[opt-env-conf-test] -- ALL errors are missing capability errors
1389.61 s
[opt-env-conf-test] mapM
1389.61 s
[opt-env-conf-test] ( \case
1389.61 s
[opt-env-conf-test] ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
1389.61 s
[opt-env-conf-test] _ -> Nothing
1389.61 s
[opt-env-conf-test] )
1389.61 s
[opt-env-conf-test] errs
1389.61 s
[opt-env-conf-test] in case mMissingCaps of
1389.61 s
[opt-env-conf-test] Just ne -> CheckIncapable ne
1389.61 s
[opt-env-conf-test] Nothing -> CheckFailed errs
1389.61 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:145:21-69
1389.61 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
1389.61 s
[opt-env-conf-test] where
1389.61 s
[opt-env-conf-test] matchesExtension cr
1389.61 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
1389.61 s
[opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1389.61 s
[opt-env-conf-test] + | otherwise = not any (`isSuffixOf` completionResultValue cr) exts
1389.61 s
[opt-env-conf-test]
1389.61 s
[opt-env-conf-test] directoryPath :: Completer
1389.61 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
1389.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
1389.61 s
[opt-env-conf-test] @@ -403,7 +403,6 @@
1389.61 s
[opt-env-conf-test]
1389.61 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1389.61 s
[opt-env-conf-test] renderDashed = \case
1389.61 s
[opt-env-conf-test] - DashedShort c -> ['-', c]
1389.61 s
[opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
1389.61 s
[opt-env-conf-test]
1389.61 s
[opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
1389.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
1389.61 s
[opt-env-conf-test] @@ -92,6 +92,5 @@
1389.61 s
[opt-env-conf-test] _ -> Nothing
1389.61 s
[opt-env-conf-test] )
1389.61 s
[opt-env-conf-test] errs
1389.61 s
[opt-env-conf-test] in case mMissingCaps of
1389.61 s
[opt-env-conf-test] - Just ne -> CheckIncapable ne
1389.61 s
[opt-env-conf-test] Nothing -> CheckFailed errs
1389.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
1389.61 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
1389.61 s
[opt-env-conf-test] where
1389.61 s
[opt-env-conf-test] matchesExtension cr
1389.61 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
1389.61 s
[opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1389.61 s
[opt-env-conf-test] + | otherwise = True
1389.62 s
[opt-env-conf-test]
1389.62 s
[opt-env-conf-test] directoryPath :: Completer
1389.62 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
1389.62 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:144:53-57
1389.62 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1389.62 s
[opt-env-conf-test] pure $ filter matchesExtension results
1389.62 s
[opt-env-conf-test] where
1389.62 s
[opt-env-conf-test] matchesExtension cr
1389.62 s
[opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
1389.62 s
[opt-env-conf-test] + | "/" `isSuffixOf` completionResultValue cr = False
1389.62 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1389.62 s
[opt-env-conf-test]
1389.62 s
[opt-env-conf-test] directoryPath :: Completer
1389.62 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
1389.62 s
[opt-env-conf-test] @@ -123,11 +123,10 @@
1389.62 s
[opt-env-conf-test]
1389.62 s
[opt-env-conf-test] pure $
1389.62 s
[opt-env-conf-test] concat
1389.62 s
[opt-env-conf-test] [ map fileResult filesFromPartialListing,
1389.62 s
[opt-env-conf-test] map fileResult filesFromParentListing,
1389.62 s
[opt-env-conf-test] map dirResult dirsFromPartialListing,
1389.62 s
[opt-env-conf-test] - map dirResult dirsFromParentListing
1389.62 s
[opt-env-conf-test] ]
1389.62 s
[opt-env-conf-test] where
1389.62 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1389.62 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1389.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:144:9-50
1389.62 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1389.62 s
[opt-env-conf-test] pure $ filter matchesExtension results
1389.62 s
[opt-env-conf-test] where
1389.62 s
[opt-env-conf-test] matchesExtension cr
1389.62 s
[opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
1389.62 s
[opt-env-conf-test] + | True = True
1389.62 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1389.62 s
[opt-env-conf-test]
1389.62 s
[opt-env-conf-test] directoryPath :: Completer
1389.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
1389.62 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1389.62 s
[opt-env-conf-test] where
1389.62 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1389.62 s
[opt-env-conf-test] go (c :| rest) =
1389.62 s
[opt-env-conf-test] - if c `elem` cs
1389.62 s
[opt-env-conf-test] + if True
1389.62 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1389.62 s
[opt-env-conf-test] else do
1389.62 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1389.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
1389.62 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1389.62 s
[opt-env-conf-test] where
1389.62 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1389.62 s
[opt-env-conf-test] go (c :| rest) =
1389.62 s
[opt-env-conf-test] - if c `elem` cs
1389.62 s
[opt-env-conf-test] + if False
1389.62 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1389.62 s
[opt-env-conf-test] else do
1389.62 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1389.62 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
1389.62 s
[opt-env-conf-test] @@ -123,11 +123,7 @@
1389.63 s
[opt-env-conf-test]
1389.63 s
[opt-env-conf-test] pure $
1389.63 s
[opt-env-conf-test] concat
1389.63 s
[opt-env-conf-test] - [ map fileResult filesFromPartialListing,
1389.63 s
[opt-env-conf-test] - map fileResult filesFromParentListing,
1389.63 s
[opt-env-conf-test] - map dirResult dirsFromPartialListing,
1389.63 s
[opt-env-conf-test] - map dirResult dirsFromParentListing
1389.63 s
[opt-env-conf-test] ]
1389.63 s
[opt-env-conf-test] where
1389.63 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1389.63 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1389.63 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
1389.63 s
[opt-env-conf-test] @@ -123,11 +123,10 @@
1389.63 s
[opt-env-conf-test]
1389.63 s
[opt-env-conf-test] pure $
1389.63 s
[opt-env-conf-test] concat
1389.63 s
[opt-env-conf-test] - [ map fileResult filesFromPartialListing,
1389.63 s
[opt-env-conf-test] map fileResult filesFromParentListing,
1389.63 s
[opt-env-conf-test] map dirResult dirsFromPartialListing,
1389.63 s
[opt-env-conf-test] map dirResult dirsFromParentListing
1389.63 s
[opt-env-conf-test] ]
1389.63 s
[opt-env-conf-test] where
1389.63 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1389.63 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1389.63 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:364:10-21
1389.63 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1389.63 s
[opt-env-conf-test] where
1389.63 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1389.63 s
[opt-env-conf-test] go (c :| rest) =
1389.63 s
[opt-env-conf-test] - if c `elem` cs
1389.63 s
[opt-env-conf-test] + if not c `elem` cs
1389.63 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1389.63 s
[opt-env-conf-test] else do
1389.63 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1389.63 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:338:28-41
1389.63 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1401.98 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1401.98 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1402.00 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1402.00 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1402.00 s
[opt-env-conf-test] + let rest' = if not needTombstone then Dead : rest else rest
1402.01 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1402.01 s
[opt-env-conf-test] _ -> do
1402.01 s
[opt-env-conf-test] os <- go rest
1402.01 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
1402.01 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1402.01 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1402.01 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1402.01 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1402.01 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1402.01 s
[opt-env-conf-test] + in Just $ Live (ArgDashed True cs') : rest'
1402.01 s
[opt-env-conf-test] _ -> do
1402.01 s
[opt-env-conf-test] os <- go rest
1402.01 s
[opt-env-conf-test] pure $ Live o : os
1402.01 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
1402.01 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1402.01 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1402.01 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1402.01 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1402.01 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1402.01 s
[opt-env-conf-test] + in Just $ Live (ArgDashed False cs') : rest'
1402.01 s
[opt-env-conf-test] _ -> do
1402.01 s
[opt-env-conf-test] os <- go rest
1402.01 s
[opt-env-conf-test] pure $ Live o : os
1402.01 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:339:40-46
1402.01 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1402.01 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1402.01 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1402.01 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1402.01 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1402.01 s
[opt-env-conf-test] + in Just $ Live (ArgDashed not isLong cs') : rest'
1402.01 s
[opt-env-conf-test] _ -> do
1402.01 s
[opt-env-conf-test] os <- go rest
1402.01 s
[opt-env-conf-test] pure $ Live o : os
1402.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1402.01 s
[opt-env-conf-test] @@ -331,12 +331,11 @@
1402.01 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1402.01 s
[opt-env-conf-test] (Live o : rest) -> case o of
1402.01 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1402.01 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1402.01 s
[opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
1402.01 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1402.01 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1402.01 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1402.01 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1402.01 s
[opt-env-conf-test] _ -> do
1402.01 s
[opt-env-conf-test] os <- go rest
1402.01 s
[opt-env-conf-test] pure $ Live o : os
1402.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1402.02 s
[opt-env-conf-test] @@ -331,12 +331,11 @@
1402.02 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1402.02 s
[opt-env-conf-test] (Live o : rest) -> case o of
1402.02 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1402.02 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1402.02 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1402.02 s
[opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
1402.02 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1402.02 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1402.02 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1402.02 s
[opt-env-conf-test] _ -> do
1402.02 s
[opt-env-conf-test] os <- go rest
1402.02 s
[opt-env-conf-test] pure $ Live o : os
1402.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1402.02 s
[opt-env-conf-test] @@ -331,12 +331,9 @@
1402.02 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1402.02 s
[opt-env-conf-test] (Live o : rest) -> case o of
1402.02 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1402.02 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1402.02 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1402.02 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1402.02 s
[opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
1402.02 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1402.02 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1402.02 s
[opt-env-conf-test] _ -> do
1402.02 s
[opt-env-conf-test] os <- go rest
1402.02 s
[opt-env-conf-test] pure $ Live o : os
1402.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1402.02 s
[opt-env-conf-test] @@ -329,17 +329,16 @@
1402.02 s
[opt-env-conf-test] go = \case
1402.02 s
[opt-env-conf-test] [] -> Nothing
1402.02 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1402.02 s
[opt-env-conf-test] (Live o : rest) -> case o of
1402.02 s
[opt-env-conf-test] - ArgBareDoubleDash -> Nothing
1402.02 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1402.02 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1402.02 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1402.02 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1402.02 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1402.02 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1402.02 s
[opt-env-conf-test] _ -> do
1402.02 s
[opt-env-conf-test] os <- go rest
1402.02 s
[opt-env-conf-test] pure $ Live o : os
1402.02 s
[opt-env-conf-test]
1402.02 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1402.02 s
[opt-env-conf-test] -- character because then we need a tombstone.
1402.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1402.02 s
[opt-env-conf-test] @@ -329,17 +329,11 @@
1402.02 s
[opt-env-conf-test] go = \case
1402.02 s
[opt-env-conf-test] [] -> Nothing
1402.02 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1402.02 s
[opt-env-conf-test] (Live o : rest) -> case o of
1402.02 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1402.02 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1402.02 s
[opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
1402.02 s
[opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
1402.02 s
[opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
1402.02 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1402.02 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1402.02 s
[opt-env-conf-test] _ -> do
1402.02 s
[opt-env-conf-test] os <- go rest
1402.02 s
[opt-env-conf-test] pure $ Live o : os
1402.02 s
[opt-env-conf-test]
1402.02 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1402.02 s
[opt-env-conf-test] -- character because then we need a tombstone.
1402.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1402.02 s
[opt-env-conf-test] @@ -329,17 +329,14 @@
1402.02 s
[opt-env-conf-test] go = \case
1402.02 s
[opt-env-conf-test] [] -> Nothing
1402.02 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1402.02 s
[opt-env-conf-test] (Live o : rest) -> case o of
1402.02 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1402.02 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1402.02 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1402.02 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1402.02 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1402.02 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1402.02 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1402.02 s
[opt-env-conf-test] - _ -> do
1402.02 s
[opt-env-conf-test] - os <- go rest
1402.02 s
[opt-env-conf-test] - pure $ Live o : os
1402.02 s
[opt-env-conf-test]
1402.02 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1402.02 s
[opt-env-conf-test] -- character because then we need a tombstone.
1402.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
1402.02 s
[opt-env-conf-test] @@ -306,9 +306,8 @@
1402.02 s
[opt-env-conf-test] where
1402.03 s
[opt-env-conf-test] go acc ne =
1402.03 s
[opt-env-conf-test] let (a, mRest) = NE.uncons ne
1402.03 s
[opt-env-conf-test] in case mRest of
1402.03 s
[opt-env-conf-test] - Nothing -> (NE.nonEmpty $ reverse acc, a)
1402.03 s
[opt-env-conf-test] Just rest -> go (a : acc) rest
1402.03 s
[opt-env-conf-test]
1402.03 s
[opt-env-conf-test] -- | Consume a switch.
1402.03 s
[opt-env-conf-test] --
1402.03 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
1402.03 s
[opt-env-conf-test] @@ -306,9 +306,8 @@
1402.03 s
[opt-env-conf-test] where
1402.03 s
[opt-env-conf-test] go acc ne =
1402.03 s
[opt-env-conf-test] let (a, mRest) = NE.uncons ne
1402.03 s
[opt-env-conf-test] in case mRest of
1402.03 s
[opt-env-conf-test] Nothing -> (NE.nonEmpty $ reverse acc, a)
1402.03 s
[opt-env-conf-test] - Just rest -> go (a : acc) rest
1402.03 s
[opt-env-conf-test]
1402.03 s
[opt-env-conf-test] -- | Consume a switch.
1402.03 s
[opt-env-conf-test] --
1402.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
1402.03 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1402.03 s
[opt-env-conf-test] NonEmpty Char ->
1402.03 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1402.03 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1402.03 s
[opt-env-conf-test] - if isLong
1402.03 s
[opt-env-conf-test] + if True
1402.03 s
[opt-env-conf-test] then
1402.03 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1402.03 s
[opt-env-conf-test] then Just Nothing
1402.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
1402.03 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1402.03 s
[opt-env-conf-test] NonEmpty Char ->
1402.03 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1402.03 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1402.03 s
[opt-env-conf-test] - if isLong
1402.03 s
[opt-env-conf-test] + if False
1402.03 s
[opt-env-conf-test] then
1402.03 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1402.03 s
[opt-env-conf-test] then Just Nothing
1402.03 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:293:6-12
1402.03 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1402.03 s
[opt-env-conf-test] NonEmpty Char ->
1402.03 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1402.03 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1402.03 s
[opt-env-conf-test] - if isLong
1402.03 s
[opt-env-conf-test] + if not isLong
1402.03 s
[opt-env-conf-test] then
1402.03 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1402.03 s
[opt-env-conf-test] then Just Nothing
1402.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
1402.03 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1402.03 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1402.03 s
[opt-env-conf-test] if isLong
1402.03 s
[opt-env-conf-test] then
1402.03 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1402.03 s
[opt-env-conf-test] + if True
1402.03 s
[opt-env-conf-test] then Just Nothing
1402.03 s
[opt-env-conf-test] else Nothing
1402.03 s
[opt-env-conf-test] else
1402.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
1402.03 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1402.03 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1402.03 s
[opt-env-conf-test] if isLong
1402.03 s
[opt-env-conf-test] then
1402.03 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1402.03 s
[opt-env-conf-test] + if False
1411.88 s
[opt-env-conf-test] then Just Nothing
1411.88 s
[opt-env-conf-test] else Nothing
1411.88 s
[opt-env-conf-test] else
1411.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:295:10-38
1411.91 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1411.91 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1411.91 s
[opt-env-conf-test] if isLong
1411.91 s
[opt-env-conf-test] then
1411.91 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1411.91 s
[opt-env-conf-test] + if not DashedLong cs `elem` dasheds
1411.91 s
[opt-env-conf-test] then Just Nothing
1411.91 s
[opt-env-conf-test] else Nothing
1411.91 s
[opt-env-conf-test] else
1411.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
1411.91 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1411.91 s
[opt-env-conf-test] else Nothing
1411.92 s
[opt-env-conf-test] else
1411.92 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1411.92 s
[opt-env-conf-test] - in if DashedShort c `elem` dasheds
1411.92 s
[opt-env-conf-test] + in if True
1411.92 s
[opt-env-conf-test] then Just mRest
1411.92 s
[opt-env-conf-test] else Nothing
1411.92 s
[opt-env-conf-test]
1411.92 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
1411.92 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1411.92 s
[opt-env-conf-test] else Nothing
1411.92 s
[opt-env-conf-test] else
1411.92 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1411.92 s
[opt-env-conf-test] - in if DashedShort c `elem` dasheds
1411.92 s
[opt-env-conf-test] + in if False
1411.92 s
[opt-env-conf-test] then Just mRest
1411.92 s
[opt-env-conf-test] else Nothing
1411.92 s
[opt-env-conf-test]
1411.92 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:300:14-42
1411.92 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1411.92 s
[opt-env-conf-test] else Nothing
1411.92 s
[opt-env-conf-test] else
1411.92 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1411.92 s
[opt-env-conf-test] - in if DashedShort c `elem` dasheds
1411.92 s
[opt-env-conf-test] + in if not DashedShort c `elem` dasheds
1411.92 s
[opt-env-conf-test] then Just mRest
1411.92 s
[opt-env-conf-test] else Nothing
1411.92 s
[opt-env-conf-test]
1411.92 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-23
1411.92 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1411.92 s
[opt-env-conf-test] Maybe String
1411.92 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1411.92 s
[opt-env-conf-test] (c :| rest)
1411.93 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1411.93 s
[opt-env-conf-test] + | True && not (null rest) ->
1411.93 s
[opt-env-conf-test] Just rest
1411.93 s
[opt-env-conf-test] _ -> Nothing
1411.93 s
[opt-env-conf-test]
1411.93 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-23
1411.93 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1411.93 s
[opt-env-conf-test] Maybe String
1411.93 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1411.93 s
[opt-env-conf-test] (c :| rest)
1411.93 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1411.93 s
[opt-env-conf-test] + | not c `elem` dasheds && not (null rest) ->
1411.93 s
[opt-env-conf-test] Just rest
1411.93 s
[opt-env-conf-test] _ -> Nothing
1411.93 s
[opt-env-conf-test]
1411.93 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:32-41
1411.93 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1411.93 s
[opt-env-conf-test] Maybe String
1411.93 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1411.93 s
[opt-env-conf-test] (c :| rest)
1411.93 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1411.93 s
[opt-env-conf-test] + | c `elem` dasheds && not (True) ->
1411.93 s
[opt-env-conf-test] Just rest
1411.93 s
[opt-env-conf-test] _ -> Nothing
1411.93 s
[opt-env-conf-test]
1411.93 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:32-41
1411.93 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1411.93 s
[opt-env-conf-test] Maybe String
1411.93 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1411.93 s
[opt-env-conf-test] (c :| rest)
1411.93 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1411.93 s
[opt-env-conf-test] + | c `elem` dasheds && not (not null rest) ->
1411.93 s
[opt-env-conf-test] Just rest
1411.93 s
[opt-env-conf-test] _ -> Nothing
1411.93 s
[opt-env-conf-test]
1411.93 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:31-42
1411.93 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1411.93 s
[opt-env-conf-test] Maybe String
1411.93 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1411.93 s
[opt-env-conf-test] (c :| rest)
1411.93 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1411.93 s
[opt-env-conf-test] + | c `elem` dasheds && not True ->
1411.93 s
[opt-env-conf-test] Just rest
1411.93 s
[opt-env-conf-test] _ -> Nothing
1411.93 s
[opt-env-conf-test]
1411.94 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:31-42
1411.94 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1411.94 s
[opt-env-conf-test] Maybe String
1411.94 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1411.94 s
[opt-env-conf-test] (c :| rest)
1411.94 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1411.94 s
[opt-env-conf-test] + | c `elem` dasheds && not not (null rest) ->
1411.94 s
[opt-env-conf-test] Just rest
1411.94 s
[opt-env-conf-test] _ -> Nothing
1411.94 s
[opt-env-conf-test]
1411.94 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:27-42
1411.94 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1411.94 s
[opt-env-conf-test] Maybe String
1411.94 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1411.94 s
[opt-env-conf-test] (c :| rest)
1411.94 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1411.94 s
[opt-env-conf-test] + | c `elem` dasheds && not not (null rest) ->
1411.94 s
[opt-env-conf-test] Just rest
1411.94 s
[opt-env-conf-test] _ -> Nothing
1411.94 s
[opt-env-conf-test]
1411.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:27-42
1411.94 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1411.94 s
[opt-env-conf-test] Maybe String
1411.94 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1411.94 s
[opt-env-conf-test] (c :| rest)
1411.94 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1411.94 s
[opt-env-conf-test] + | c `elem` dasheds && True ->
1411.94 s
[opt-env-conf-test] Just rest
1411.94 s
[opt-env-conf-test] _ -> Nothing
1411.94 s
[opt-env-conf-test]
1411.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-42
1411.94 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1411.94 s
[opt-env-conf-test] Maybe String
1411.94 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1411.94 s
[opt-env-conf-test] (c :| rest)
1411.94 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1411.94 s
[opt-env-conf-test] + | True ->
1411.94 s
[opt-env-conf-test] Just rest
1411.94 s
[opt-env-conf-test] _ -> Nothing
1411.94 s
[opt-env-conf-test]
1411.94 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-42
1411.94 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1411.94 s
[opt-env-conf-test] Maybe String
1411.94 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1411.94 s
[opt-env-conf-test] (c :| rest)
1411.94 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1411.94 s
[opt-env-conf-test] + | not c `elem` dasheds && not (null rest) ->
1411.94 s
[opt-env-conf-test] Just rest
1411.94 s
[opt-env-conf-test] _ -> Nothing
1411.94 s
[opt-env-conf-test]
1411.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
1411.94 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1411.94 s
[opt-env-conf-test] NonEmpty Char ->
1411.94 s
[opt-env-conf-test] Maybe String
1411.94 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1411.94 s
[opt-env-conf-test] - if isLong
1411.94 s
[opt-env-conf-test] + if True
1411.94 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1411.95 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1411.95 s
[opt-env-conf-test]
1411.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
1411.95 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1411.95 s
[opt-env-conf-test] NonEmpty Char ->
1411.95 s
[opt-env-conf-test] Maybe String
1411.95 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1411.95 s
[opt-env-conf-test] - if isLong
1411.95 s
[opt-env-conf-test] + if False
1411.95 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1411.95 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1411.95 s
[opt-env-conf-test]
1411.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:258:6-12
1411.95 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1411.95 s
[opt-env-conf-test] NonEmpty Char ->
1411.95 s
[opt-env-conf-test] Maybe String
1411.95 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1411.95 s
[opt-env-conf-test] - if isLong
1411.95 s
[opt-env-conf-test] + if not isLong
1411.95 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1411.95 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1411.95 s
[opt-env-conf-test]
1411.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
1411.95 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1411.95 s
[opt-env-conf-test] renderArg = \case
1411.95 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1411.95 s
[opt-env-conf-test] ArgBareDash -> "-"
1411.95 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1411.95 s
[opt-env-conf-test] + ArgDashed l cs -> (if False then "--" else "-") <> NE.toList cs
1411.95 s
[opt-env-conf-test] ArgPlain a -> a
1411.95 s
[opt-env-conf-test]
1411.95 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1411.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
1411.95 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1411.95 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1411.95 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1411.95 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1411.95 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1411.95 s
[opt-env-conf-test] + let rest' = if True then Dead : rest else rest
1411.95 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1411.95 s
[opt-env-conf-test] _ -> do
1411.95 s
[opt-env-conf-test] os <- go rest
1411.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:89:25-26
1411.95 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1411.95 s
[opt-env-conf-test] renderArg = \case
1411.95 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1411.95 s
[opt-env-conf-test] ArgBareDash -> "-"
1411.95 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1411.95 s
[opt-env-conf-test] + ArgDashed l cs -> (if not l then "--" else "-") <> NE.toList cs
1411.95 s
[opt-env-conf-test] ArgPlain a -> a
1411.95 s
[opt-env-conf-test]
1411.95 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1411.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
1411.96 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1411.96 s
[opt-env-conf-test] renderArg = \case
1411.96 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1411.96 s
[opt-env-conf-test] ArgBareDash -> "-"
1411.96 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1411.96 s
[opt-env-conf-test] + ArgDashed l cs -> (if True then "--" else "-") <> NE.toList cs
1411.96 s
[opt-env-conf-test] ArgPlain a -> a
1411.96 s
[opt-env-conf-test]
1411.96 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1411.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
1411.96 s
[opt-env-conf-test] @@ -130,10 +130,9 @@
1411.96 s
[opt-env-conf-test] -- things like a default command.
1411.96 s
[opt-env-conf-test] let addConsumeNothing = \case
1411.96 s
[opt-env-conf-test] [] -> [(Nothing, as)]
1411.96 s
[opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
1411.96 s
[opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
1411.96 s
[opt-env-conf-test] Nothing -> r
1411.96 s
[opt-env-conf-test] - Just _ -> t : addConsumeNothing rest
1411.96 s
[opt-env-conf-test]
1411.96 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1411.96 s
[opt-env-conf-test] [] -> []
1411.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
1411.96 s
[opt-env-conf-test] @@ -166,17 +166,16 @@
1411.96 s
[opt-env-conf-test] [] -> Nothing
1411.96 s
[opt-env-conf-test] (Dead : rest) -> go rest
1411.96 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1411.96 s
[opt-env-conf-test] in case go afters of
1411.96 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1411.96 s
[opt-env-conf-test] Just (firstLive, rest) ->
1411.96 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1411.96 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1416.36 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1416.36 s
[opt-env-conf-test] -- arguments.
1416.36 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1416.36 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1416.36 s
[opt-env-conf-test] )
1416.36 s
[opt-env-conf-test] ]
1416.36 s
[opt-env-conf-test] ArgDashed {} ->
1416.36 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1416.36 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1416.36 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
1416.36 s
[opt-env-conf-test] @@ -130,10 +130,9 @@
1416.36 s
[opt-env-conf-test] -- things like a default command.
1416.36 s
[opt-env-conf-test] let addConsumeNothing = \case
1416.36 s
[opt-env-conf-test] [] -> [(Nothing, as)]
1416.36 s
[opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
1416.36 s
[opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
1416.36 s
[opt-env-conf-test] - Nothing -> r
1416.36 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
1416.36 s
[opt-env-conf-test]
1416.37 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1416.37 s
[opt-env-conf-test] [] -> []
1416.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
1416.37 s
[opt-env-conf-test] @@ -166,17 +166,8 @@
1416.37 s
[opt-env-conf-test] [] -> Nothing
1416.37 s
[opt-env-conf-test] (Dead : rest) -> go rest
1416.37 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1416.37 s
[opt-env-conf-test] in case go afters of
1416.37 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1416.37 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1416.37 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1416.37 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1416.37 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1416.37 s
[opt-env-conf-test] - -- arguments.
1416.37 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1416.37 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1416.37 s
[opt-env-conf-test] - )
1416.37 s
[opt-env-conf-test] - ]
1416.37 s
[opt-env-conf-test] ArgDashed {} ->
1416.37 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1416.37 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1416.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1416.37 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
1416.37 s
[opt-env-conf-test] -- A single dash is always an argument
1416.37 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1416.37 s
[opt-env-conf-test] -- Bare double-dash
1416.37 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1416.37 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1416.37 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1416.37 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1416.37 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1416.37 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1416.37 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1416.37 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1416.38 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1416.38 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1416.38 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1416.38 s
[opt-env-conf-test] -- pop the args as they come.
1416.38 s
[opt-env-conf-test] _ ->
1416.38 s
[opt-env-conf-test] let go = \case
1416.38 s
[opt-env-conf-test] [] -> Nothing
1416.38 s
[opt-env-conf-test] (Dead : rest) -> go rest
1416.38 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1416.38 s
[opt-env-conf-test] in case go afters of
1416.38 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1416.38 s
[opt-env-conf-test] Just (firstLive, rest) ->
1416.38 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1416.38 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1416.38 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1416.38 s
[opt-env-conf-test] -- arguments.
1416.38 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1416.38 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1416.38 s
[opt-env-conf-test] )
1416.38 s
[opt-env-conf-test] ]
1416.38 s
[opt-env-conf-test] ArgDashed {} ->
1417.17 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1417.23 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1417.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1417.23 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
1417.23 s
[opt-env-conf-test] -- A single dash is always an argument
1417.23 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1417.23 s
[opt-env-conf-test] -- Bare double-dash
1417.23 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1417.23 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1417.23 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1417.23 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1417.23 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1417.23 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1417.23 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1417.23 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1417.23 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1417.23 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1417.23 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1417.23 s
[opt-env-conf-test] -- pop the args as they come.
1417.23 s
[opt-env-conf-test] _ ->
1417.23 s
[opt-env-conf-test] let go = \case
1417.23 s
[opt-env-conf-test] [] -> Nothing
1417.23 s
[opt-env-conf-test] (Dead : rest) -> go rest
1417.23 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1417.23 s
[opt-env-conf-test] in case go afters of
1417.23 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1417.24 s
[opt-env-conf-test] Just (firstLive, rest) ->
1417.24 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1417.24 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1417.24 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1417.24 s
[opt-env-conf-test] -- arguments.
1417.24 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1417.24 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1417.24 s
[opt-env-conf-test] )
1417.24 s
[opt-env-conf-test] ]
1417.24 s
[opt-env-conf-test] ArgDashed {} ->
1423.44 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1423.47 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1423.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
1423.47 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1423.47 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1423.47 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1423.47 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1423.47 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1423.47 s
[opt-env-conf-test] + let rest' = if False then Dead : rest else rest
1423.47 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1423.47 s
[opt-env-conf-test] _ -> do
1423.47 s
[opt-env-conf-test] os <- go rest
1423.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
1423.47 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1423.47 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1423.47 s
[opt-env-conf-test] (Live o : rest) -> case o of
1423.47 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1423.47 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1423.47 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds True cs of
1423.48 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1423.48 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1423.48 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1423.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
1423.48 s
[opt-env-conf-test] @@ -321,9 +321,8 @@
1423.48 s
[opt-env-conf-test] consumeSwitch dasheds as = do
1423.48 s
[opt-env-conf-test] case go (argsBefore as) of
1423.48 s
[opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
1423.48 s
[opt-env-conf-test] Nothing -> case go (argsAfter as) of
1423.48 s
[opt-env-conf-test] Just newAfters -> Just $ as {argsAfter = newAfters}
1423.48 s
[opt-env-conf-test] - Nothing -> Nothing
1423.48 s
[opt-env-conf-test] where
1423.48 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
1423.48 s
[opt-env-conf-test] go = \case
1423.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
1423.48 s
[opt-env-conf-test] @@ -321,9 +321,8 @@
1423.48 s
[opt-env-conf-test] consumeSwitch dasheds as = do
1423.48 s
[opt-env-conf-test] case go (argsBefore as) of
1423.48 s
[opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
1423.48 s
[opt-env-conf-test] Nothing -> case go (argsAfter as) of
1423.48 s
[opt-env-conf-test] - Just newAfters -> Just $ as {argsAfter = newAfters}
1423.48 s
[opt-env-conf-test] Nothing -> Nothing
1423.48 s
[opt-env-conf-test] where
1423.48 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
1423.48 s
[opt-env-conf-test] go = \case
1423.48 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
1423.48 s
[opt-env-conf-test] @@ -201,7 +201,6 @@
1423.48 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1423.48 s
[opt-env-conf-test] ]
1423.48 s
[opt-env-conf-test] _ ->
1423.48 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1423.48 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1423.48 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1423.48 s
[opt-env-conf-test] ]
1423.48 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:354:10-38
1423.48 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1423.48 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1423.48 s
[opt-env-conf-test] if isLong
1423.48 s
[opt-env-conf-test] then
1423.48 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1423.48 s
[opt-env-conf-test] + if not DashedLong cs `elem` dasheds
1423.48 s
[opt-env-conf-test] then Just Nothing
1423.48 s
[opt-env-conf-test] else Nothing
1423.49 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1423.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
1423.49 s
[opt-env-conf-test] @@ -201,7 +201,6 @@
1423.49 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1423.49 s
[opt-env-conf-test] ]
1423.49 s
[opt-env-conf-test] _ ->
1423.49 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1423.49 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1423.49 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1423.49 s
[opt-env-conf-test] ]
1423.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
1423.49 s
[opt-env-conf-test] @@ -202,7 +202,6 @@
1423.49 s
[opt-env-conf-test] ]
1423.49 s
[opt-env-conf-test] _ ->
1423.49 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1423.49 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1423.49 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1423.49 s
[opt-env-conf-test] ]
1423.49 s
[opt-env-conf-test] )
1423.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
1423.49 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1423.49 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1423.49 s
[opt-env-conf-test] if isLong
1423.49 s
[opt-env-conf-test] then
1423.49 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1423.49 s
[opt-env-conf-test] + if True
1423.49 s
[opt-env-conf-test] then Just Nothing
1423.49 s
[opt-env-conf-test] else Nothing
1423.49 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1423.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
1423.49 s
[opt-env-conf-test] @@ -202,7 +202,6 @@
1423.49 s
[opt-env-conf-test] ]
1423.49 s
[opt-env-conf-test] _ ->
1423.49 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1423.49 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1423.49 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1423.49 s
[opt-env-conf-test] ]
1423.49 s
[opt-env-conf-test] )
1423.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
1423.49 s
[opt-env-conf-test] @@ -202,9 +202,7 @@
1423.49 s
[opt-env-conf-test] ]
1423.49 s
[opt-env-conf-test] _ ->
1423.49 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1423.49 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1423.49 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1423.49 s
[opt-env-conf-test] ]
1423.49 s
[opt-env-conf-test] )
1423.49 s
[opt-env-conf-test]
1423.49 s
[opt-env-conf-test] -- | Consume an option.
1423.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
1423.49 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1423.49 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1423.49 s
[opt-env-conf-test] if isLong
1423.50 s
[opt-env-conf-test] then
1423.50 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1423.50 s
[opt-env-conf-test] + if False
1423.50 s
[opt-env-conf-test] then Just Nothing
1423.50 s
[opt-env-conf-test] else Nothing
1423.50 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1423.50 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:334:65-71
1423.50 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1423.50 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1423.50 s
[opt-env-conf-test] (Live o : rest) -> case o of
1423.50 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1423.50 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1423.50 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds not isLong cs of
1423.50 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1423.50 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1423.50 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1423.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
1423.50 s
[opt-env-conf-test] @@ -195,16 +195,12 @@
1423.50 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1423.50 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1423.50 s
[opt-env-conf-test] -- * The dashed is an argument
1423.50 s
[opt-env-conf-test] ( case a' of
1423.50 s
[opt-env-conf-test] - ArgDashed {} ->
1423.50 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1423.50 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1423.50 s
[opt-env-conf-test] - ]
1423.50 s
[opt-env-conf-test] _ ->
1423.50 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1423.50 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1423.50 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1423.50 s
[opt-env-conf-test] ]
1423.50 s
[opt-env-conf-test] )
1423.50 s
[opt-env-conf-test]
1423.50 s
[opt-env-conf-test] -- | Consume an option.
1423.50 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:352:6-12
1423.50 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1423.50 s
[opt-env-conf-test] NonEmpty Char ->
1423.50 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1423.50 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1423.50 s
[opt-env-conf-test] - if isLong
1423.50 s
[opt-env-conf-test] + if not isLong
1423.50 s
[opt-env-conf-test] then
1423.50 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1423.50 s
[opt-env-conf-test] then Just Nothing
1423.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
1423.50 s
[opt-env-conf-test] @@ -195,16 +195,11 @@
1423.50 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1423.50 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1423.50 s
[opt-env-conf-test] -- * The dashed is an argument
1423.50 s
[opt-env-conf-test] ( case a' of
1423.50 s
[opt-env-conf-test] ArgDashed {} ->
1423.50 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1423.50 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1423.50 s
[opt-env-conf-test] ]
1423.50 s
[opt-env-conf-test] - _ ->
1423.50 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1423.50 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1427.20 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1427.20 s
[opt-env-conf-test] - ]
1427.20 s
[opt-env-conf-test] )
1427.20 s
[opt-env-conf-test]
1427.20 s
[opt-env-conf-test] -- | Consume an option.
1427.20 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
1427.20 s
[opt-env-conf-test] @@ -202,9 +202,8 @@
1427.20 s
[opt-env-conf-test] ]
1427.20 s
[opt-env-conf-test] _ ->
1427.20 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1427.20 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1427.20 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1427.20 s
[opt-env-conf-test] ]
1427.20 s
[opt-env-conf-test] )
1427.20 s
[opt-env-conf-test]
1427.20 s
[opt-env-conf-test] -- | Consume an option.
1427.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
1427.20 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1427.20 s
[opt-env-conf-test] NonEmpty Char ->
1427.20 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1427.20 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1427.20 s
[opt-env-conf-test] - if isLong
1427.20 s
[opt-env-conf-test] + if False
1427.20 s
[opt-env-conf-test] then
1427.20 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1427.20 s
[opt-env-conf-test] then Just Nothing
1427.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
1427.20 s
[opt-env-conf-test] @@ -186,26 +186,25 @@
1427.20 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1427.20 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1427.20 s
[opt-env-conf-test] ]
1427.20 s
[opt-env-conf-test] in case afters of
1427.20 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1427.20 s
[opt-env-conf-test] [] -> switchCase
1427.21 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1427.21 s
[opt-env-conf-test] (Live a' : rest) ->
1427.21 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1427.21 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1427.21 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1427.21 s
[opt-env-conf-test] -- * The dashed is an argument
1427.21 s
[opt-env-conf-test] ( case a' of
1427.21 s
[opt-env-conf-test] ArgDashed {} ->
1427.21 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1427.21 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1427.21 s
[opt-env-conf-test] ]
1427.21 s
[opt-env-conf-test] _ ->
1427.21 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1427.21 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1427.21 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1427.21 s
[opt-env-conf-test] ]
1427.21 s
[opt-env-conf-test] )
1427.21 s
[opt-env-conf-test]
1427.21 s
[opt-env-conf-test] -- | Consume an option.
1427.21 s
[opt-env-conf-test] --
1427.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
1427.21 s
[opt-env-conf-test] @@ -186,26 +186,25 @@
1427.21 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1427.21 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1427.21 s
[opt-env-conf-test] ]
1427.21 s
[opt-env-conf-test] in case afters of
1427.21 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1427.21 s
[opt-env-conf-test] - [] -> switchCase
1427.21 s
[opt-env-conf-test] (Dead : _) -> switchCase
1427.21 s
[opt-env-conf-test] (Live a' : rest) ->
1427.21 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1427.21 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1427.21 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1427.21 s
[opt-env-conf-test] -- * The dashed is an argument
1427.21 s
[opt-env-conf-test] ( case a' of
1427.21 s
[opt-env-conf-test] ArgDashed {} ->
1427.21 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1427.21 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1427.21 s
[opt-env-conf-test] ]
1427.21 s
[opt-env-conf-test] _ ->
1427.21 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1427.21 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1427.21 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1427.21 s
[opt-env-conf-test] ]
1427.21 s
[opt-env-conf-test] )
1427.21 s
[opt-env-conf-test]
1427.21 s
[opt-env-conf-test] -- | Consume an option.
1427.21 s
[opt-env-conf-test] --
1427.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
1427.21 s
[opt-env-conf-test] @@ -186,26 +186,10 @@
1427.21 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1427.21 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1427.21 s
[opt-env-conf-test] ]
1427.21 s
[opt-env-conf-test] in case afters of
1427.21 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1427.21 s
[opt-env-conf-test] [] -> switchCase
1427.21 s
[opt-env-conf-test] (Dead : _) -> switchCase
1427.21 s
[opt-env-conf-test] - (Live a' : rest) ->
1427.21 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1427.21 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1427.21 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1427.21 s
[opt-env-conf-test] - -- * The dashed is an argument
1427.21 s
[opt-env-conf-test] - ( case a' of
1427.21 s
[opt-env-conf-test] - ArgDashed {} ->
1427.21 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1427.21 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1427.21 s
[opt-env-conf-test] - ]
1427.21 s
[opt-env-conf-test] - _ ->
1427.21 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1427.21 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1427.21 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1427.21 s
[opt-env-conf-test] - ]
1427.21 s
[opt-env-conf-test] - )
1427.21 s
[opt-env-conf-test]
1427.21 s
[opt-env-conf-test] -- | Consume an option.
1427.21 s
[opt-env-conf-test] --
1427.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
1427.21 s
[opt-env-conf-test] @@ -135,77 +135,8 @@
1427.21 s
[opt-env-conf-test] Nothing -> r
1427.21 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
1427.21 s
[opt-env-conf-test]
1427.21 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1427.21 s
[opt-env-conf-test] [] -> []
1427.21 s
[opt-env-conf-test] - (firstArg : afters) ->
1427.21 s
[opt-env-conf-test] - let befores = argsBefore as
1427.21 s
[opt-env-conf-test] - consumed = Args (befores ++ [Dead]) afters
1427.21 s
[opt-env-conf-test] - in case firstArg of
1427.21 s
[opt-env-conf-test] - -- Skip any dead argument
1427.21 s
[opt-env-conf-test] - Dead -> consumeArgument consumed
1427.21 s
[opt-env-conf-test] - Live a -> case a of
1427.21 s
[opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
1427.21 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
1427.21 s
[opt-env-conf-test] - -- A single dash is always an argument
1427.21 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
1427.21 s
[opt-env-conf-test] - -- Bare double-dash
1427.21 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
1427.22 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
1427.22 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1427.22 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
1427.22 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
1427.22 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
1427.22 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1427.22 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1427.22 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
1427.22 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
1427.22 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
1427.22 s
[opt-env-conf-test] - -- pop the args as they come.
1427.22 s
[opt-env-conf-test] - _ ->
1427.22 s
[opt-env-conf-test] - let go = \case
1427.22 s
[opt-env-conf-test] - [] -> Nothing
1427.22 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1427.22 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1427.22 s
[opt-env-conf-test] - in case go afters of
1427.22 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1427.22 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1427.22 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1427.22 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1427.22 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1427.22 s
[opt-env-conf-test] - -- arguments.
1427.22 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1427.22 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1427.22 s
[opt-env-conf-test] - )
1427.22 s
[opt-env-conf-test] - ]
1427.22 s
[opt-env-conf-test] - ArgDashed {} ->
1427.22 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
1427.22 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
1427.22 s
[opt-env-conf-test] - -- * The dashed is an argument
1427.22 s
[opt-env-conf-test] - -- TODO we need to continue looking too
1427.22 s
[opt-env-conf-test] - let switchCase =
1427.22 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
1427.22 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1427.22 s
[opt-env-conf-test] - ]
1427.22 s
[opt-env-conf-test] - in case afters of
1427.22 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
1427.22 s
[opt-env-conf-test] - [] -> switchCase
1427.22 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1427.22 s
[opt-env-conf-test] - (Live a' : rest) ->
1427.22 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1427.22 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1427.22 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1427.22 s
[opt-env-conf-test] - -- * The dashed is an argument
1427.22 s
[opt-env-conf-test] - ( case a' of
1434.82 s
[opt-env-conf-test] - ArgDashed {} ->
1434.83 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1434.85 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1434.85 s
[opt-env-conf-test] - ]
1434.85 s
[opt-env-conf-test] - _ ->
1434.85 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1434.85 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1434.85 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1434.85 s
[opt-env-conf-test] - ]
1434.85 s
[opt-env-conf-test] - )
1434.85 s
[opt-env-conf-test]
1434.85 s
[opt-env-conf-test] -- | Consume an option.
1434.85 s
[opt-env-conf-test] --
1434.85 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:240:55-61
1434.85 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
1434.85 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1434.85 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1434.85 s
[opt-env-conf-test] ArgDashed isLong cs ->
1434.85 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
1434.85 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds not isLong cs of
1434.85 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1434.85 s
[opt-env-conf-test] Nothing ->
1434.85 s
[opt-env-conf-test] case rest of
1434.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
1434.86 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
1434.86 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1434.86 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1434.86 s
[opt-env-conf-test] ArgDashed isLong cs ->
1434.86 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
1434.86 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds False cs of
1434.86 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1434.86 s
[opt-env-conf-test] Nothing ->
1434.86 s
[opt-env-conf-test] case rest of
1434.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
1434.86 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
1434.86 s
[opt-env-conf-test] Nothing ->
1434.86 s
[opt-env-conf-test] case rest of
1434.86 s
[opt-env-conf-test] (Live v : rest') ->
1434.86 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1434.86 s
[opt-env-conf-test] + case consumeDashedOption dasheds True cs of
1434.86 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1434.86 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1434.86 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1434.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
1434.86 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
1434.86 s
[opt-env-conf-test] Nothing ->
1434.86 s
[opt-env-conf-test] case rest of
1434.86 s
[opt-env-conf-test] (Live v : rest') ->
1434.86 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1434.86 s
[opt-env-conf-test] + case consumeDashedOption dasheds False cs of
1434.87 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1434.87 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1434.87 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1434.87 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:245:54-60
1434.87 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
1434.87 s
[opt-env-conf-test] Nothing ->
1434.87 s
[opt-env-conf-test] case rest of
1434.87 s
[opt-env-conf-test] (Live v : rest') ->
1434.87 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1434.87 s
[opt-env-conf-test] + case consumeDashedOption dasheds not isLong cs of
1434.87 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1434.87 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1434.87 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1434.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
1434.87 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1434.87 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1434.87 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1434.87 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1434.87 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1434.87 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed True cs') : Dead : rest')
1434.87 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.87 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.87 s
[opt-env-conf-test]
1434.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
1434.87 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1434.87 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1434.87 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1434.87 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1434.87 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1434.87 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed False cs') : Dead : rest')
1434.88 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.88 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.88 s
[opt-env-conf-test]
1434.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:248:77-83
1434.88 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1434.88 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1434.88 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1434.88 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1434.88 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1434.88 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed not isLong cs') : Dead : rest')
1434.88 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.88 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.88 s
[opt-env-conf-test]
1434.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
1434.88 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
1434.88 s
[opt-env-conf-test] Nothing ->
1434.88 s
[opt-env-conf-test] case rest of
1434.88 s
[opt-env-conf-test] (Live v : rest') ->
1434.88 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1434.88 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1434.88 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1434.88 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1434.88 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.88 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.88 s
[opt-env-conf-test]
1434.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
1434.88 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
1434.88 s
[opt-env-conf-test] Nothing ->
1434.88 s
[opt-env-conf-test] case rest of
1434.88 s
[opt-env-conf-test] (Live v : rest') ->
1434.88 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1434.88 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1434.88 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1434.88 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1434.88 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.88 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.88 s
[opt-env-conf-test]
1434.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
1434.89 s
[opt-env-conf-test] @@ -240,13 +240,8 @@
1434.89 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1434.89 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1434.89 s
[opt-env-conf-test] Nothing ->
1434.89 s
[opt-env-conf-test] case rest of
1434.89 s
[opt-env-conf-test] - (Live v : rest') ->
1434.89 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1434.89 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1434.89 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1434.89 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1434.89 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.89 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.89 s
[opt-env-conf-test]
1434.89 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1434.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
1434.89 s
[opt-env-conf-test] @@ -240,13 +240,12 @@
1434.89 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1434.89 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1434.89 s
[opt-env-conf-test] Nothing ->
1434.89 s
[opt-env-conf-test] case rest of
1434.89 s
[opt-env-conf-test] (Live v : rest') ->
1434.89 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1434.89 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1434.89 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1434.89 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1434.89 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1434.89 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1434.89 s
[opt-env-conf-test]
1434.89 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1434.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
1434.89 s
[opt-env-conf-test] @@ -237,16 +237,15 @@
1434.89 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1435.05 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1435.05 s
[opt-env-conf-test] ArgDashed isLong cs ->
1435.05 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1435.06 s
[opt-env-conf-test] - Just v -> Just (v, Dead : rest)
1435.06 s
[opt-env-conf-test] Nothing ->
1435.06 s
[opt-env-conf-test] case rest of
1435.06 s
[opt-env-conf-test] (Live v : rest') ->
1435.06 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1435.06 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1435.06 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1435.06 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1435.06 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1435.06 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1435.06 s
[opt-env-conf-test]
1435.06 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1435.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
1435.06 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
1435.06 s
[opt-env-conf-test] Nothing ->
1435.06 s
[opt-env-conf-test] case rest of
1435.06 s
[opt-env-conf-test] (Live v : rest') ->
1435.06 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1435.06 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1435.06 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1435.06 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1435.06 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1435.06 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1435.06 s
[opt-env-conf-test]
1435.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1435.06 s
[opt-env-conf-test] @@ -149,34 +149,18 @@
1435.06 s
[opt-env-conf-test] -- A single dash is always an argument
1435.06 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1435.06 s
[opt-env-conf-test] -- Bare double-dash
1435.06 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1435.06 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1435.07 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1435.07 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1435.07 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1435.07 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1435.07 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1435.07 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1435.07 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1435.07 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1435.07 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1435.07 s
[opt-env-conf-test] -- pop the args as they come.
1435.07 s
[opt-env-conf-test] - _ ->
1435.07 s
[opt-env-conf-test] - let go = \case
1435.07 s
[opt-env-conf-test] - [] -> Nothing
1435.07 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1435.07 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1435.07 s
[opt-env-conf-test] - in case go afters of
1435.07 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1435.07 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1435.07 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1435.07 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1435.07 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1435.07 s
[opt-env-conf-test] - -- arguments.
1435.07 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1435.07 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1435.07 s
[opt-env-conf-test] - )
1442.55 s
[opt-env-conf-test] - ]
1442.56 s
[opt-env-conf-test] ArgDashed {} ->
1442.56 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1442.58 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1442.58 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
1442.58 s
[opt-env-conf-test] @@ -237,16 +237,8 @@
1442.58 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1442.58 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1442.58 s
[opt-env-conf-test] ArgDashed isLong cs ->
1442.58 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1442.58 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1442.58 s
[opt-env-conf-test] - Nothing ->
1442.58 s
[opt-env-conf-test] - case rest of
1442.58 s
[opt-env-conf-test] - (Live v : rest') ->
1442.58 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1442.58 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1442.59 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1442.59 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1442.59 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1442.59 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1442.59 s
[opt-env-conf-test]
1442.59 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1442.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
1442.59 s
[opt-env-conf-test] @@ -233,21 +233,20 @@
1442.59 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
1442.59 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
1442.59 s
[opt-env-conf-test] (Live k : rest) ->
1442.59 s
[opt-env-conf-test] case k of
1442.59 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1442.59 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1442.59 s
[opt-env-conf-test] ArgDashed isLong cs ->
1442.59 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1442.59 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1442.59 s
[opt-env-conf-test] Nothing ->
1442.59 s
[opt-env-conf-test] case rest of
1442.59 s
[opt-env-conf-test] (Live v : rest') ->
1442.59 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1442.59 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1442.59 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1442.59 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1442.59 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1442.59 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1442.59 s
[opt-env-conf-test]
1442.59 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1442.59 s
[opt-env-conf-test] [Dashed] ->
1442.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
1442.60 s
[opt-env-conf-test] @@ -233,21 +233,20 @@
1442.60 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
1442.60 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
1442.60 s
[opt-env-conf-test] (Live k : rest) ->
1442.60 s
[opt-env-conf-test] case k of
1442.60 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1442.60 s
[opt-env-conf-test] - ArgBareDoubleDash -> Nothing
1442.60 s
[opt-env-conf-test] ArgDashed isLong cs ->
1442.60 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1442.60 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1442.60 s
[opt-env-conf-test] Nothing ->
1442.60 s
[opt-env-conf-test] case rest of
1442.60 s
[opt-env-conf-test] (Live v : rest') ->
1442.60 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1442.60 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1442.60 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1442.60 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1442.60 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1442.60 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1442.60 s
[opt-env-conf-test]
1442.60 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1442.60 s
[opt-env-conf-test] [Dashed] ->
1442.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
1442.60 s
[opt-env-conf-test] @@ -233,21 +233,10 @@
1442.60 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
1442.60 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
1442.60 s
[opt-env-conf-test] (Live k : rest) ->
1442.60 s
[opt-env-conf-test] case k of
1442.60 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1442.60 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1442.60 s
[opt-env-conf-test] - ArgDashed isLong cs ->
1442.60 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
1442.60 s
[opt-env-conf-test] - Just v -> Just (v, Dead : rest)
1442.60 s
[opt-env-conf-test] - Nothing ->
1442.60 s
[opt-env-conf-test] - case rest of
1442.60 s
[opt-env-conf-test] - (Live v : rest') ->
1442.60 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1442.61 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1442.61 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1442.61 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1442.61 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1442.61 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1442.61 s
[opt-env-conf-test]
1442.61 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1442.61 s
[opt-env-conf-test] [Dashed] ->
1442.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
1442.61 s
[opt-env-conf-test] @@ -74,9 +74,8 @@
1442.61 s
[opt-env-conf-test]
1442.61 s
[opt-env-conf-test] parseArg :: String -> Arg
1442.61 s
[opt-env-conf-test] parseArg = \case
1442.61 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1442.61 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1442.61 s
[opt-env-conf-test] - Just ne -> ArgDashed True ne
1442.61 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1442.61 s
[opt-env-conf-test] Nothing -> ArgBareDash
1442.61 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1442.61 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:82:26-31
1442.61 s
[opt-env-conf-test] @@ -79,7 +79,7 @@
1442.61 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1442.61 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1442.61 s
[opt-env-conf-test] Nothing -> ArgBareDash
1442.61 s
[opt-env-conf-test] - Just ne -> ArgDashed False ne
1442.61 s
[opt-env-conf-test] + Just ne -> ArgDashed True ne
1442.61 s
[opt-env-conf-test] s -> ArgPlain s
1442.61 s
[opt-env-conf-test]
1442.61 s
[opt-env-conf-test] renderArg :: Arg -> String
1442.61 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:79:26-30
1442.61 s
[opt-env-conf-test] @@ -76,7 +76,7 @@
1442.61 s
[opt-env-conf-test] parseArg = \case
1442.61 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1442.61 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1442.61 s
[opt-env-conf-test] - Just ne -> ArgDashed True ne
1442.61 s
[opt-env-conf-test] + Just ne -> ArgDashed False ne
1442.61 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1442.61 s
[opt-env-conf-test] Nothing -> ArgBareDash
1442.61 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1442.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
1442.61 s
[opt-env-conf-test] @@ -74,9 +74,8 @@
1442.61 s
[opt-env-conf-test]
1442.61 s
[opt-env-conf-test] parseArg :: String -> Arg
1442.61 s
[opt-env-conf-test] parseArg = \case
1442.61 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1442.61 s
[opt-env-conf-test] - Nothing -> ArgBareDoubleDash
1442.61 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1442.62 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1442.62 s
[opt-env-conf-test] Nothing -> ArgBareDash
1442.62 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1442.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
1442.62 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
1442.62 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1442.62 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1442.62 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1442.62 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1442.62 s
[opt-env-conf-test] - Nothing -> ArgBareDash
1442.62 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1442.62 s
[opt-env-conf-test] s -> ArgPlain s
1442.62 s
[opt-env-conf-test]
1442.62 s
[opt-env-conf-test] renderArg :: Arg -> String
1442.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
1442.62 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
1442.62 s
[opt-env-conf-test] instance Validity Dashed
1442.62 s
[opt-env-conf-test]
1442.62 s
[opt-env-conf-test] instance IsString Dashed where
1442.62 s
[opt-env-conf-test] fromString s = case fromString s of
1442.62 s
[opt-env-conf-test] - ArgDashed True cs -> DashedLong cs
1442.62 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
1442.62 s
[opt-env-conf-test] _ -> error "Invalid dashed"
1442.62 s
[opt-env-conf-test]
1442.62 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1442.62 s
[opt-env-conf-test] renderDashed = \case
1442.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
1442.62 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
1442.62 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1442.62 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1442.62 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1442.62 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1442.62 s
[opt-env-conf-test] Nothing -> ArgBareDash
1442.62 s
[opt-env-conf-test] - Just ne -> ArgDashed False ne
1442.62 s
[opt-env-conf-test] s -> ArgPlain s
1442.62 s
[opt-env-conf-test]
1442.62 s
[opt-env-conf-test] renderArg :: Arg -> String
1442.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
1442.62 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
1442.62 s
[opt-env-conf-test] instance Validity Dashed
1442.62 s
[opt-env-conf-test]
1442.62 s
[opt-env-conf-test] instance IsString Dashed where
1442.62 s
[opt-env-conf-test] fromString s = case fromString s of
1442.62 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
1442.62 s
[opt-env-conf-test] - ArgDashed False (c :| []) -> DashedShort c
1442.62 s
[opt-env-conf-test] _ -> error "Invalid dashed"
1442.62 s
[opt-env-conf-test]
1442.62 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1442.62 s
[opt-env-conf-test] renderDashed = \case
1442.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
1442.62 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
1442.63 s
[opt-env-conf-test] instance Validity Dashed
1442.63 s
[opt-env-conf-test]
1442.63 s
[opt-env-conf-test] instance IsString Dashed where
1442.63 s
[opt-env-conf-test] fromString s = case fromString s of
1442.63 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
1442.63 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
1442.63 s
[opt-env-conf-test] - _ -> error "Invalid dashed"
1442.63 s
[opt-env-conf-test]
1442.63 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1442.63 s
[opt-env-conf-test] renderDashed = \case
1442.63 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
1442.63 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1442.63 s
[opt-env-conf-test] mconcat
1442.63 s
[opt-env-conf-test] [ genericValidate arg,
1442.63 s
[opt-env-conf-test] case arg of
1442.63 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1442.63 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ True
1442.63 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1450.76 s
[opt-env-conf-test] ('-' : _) -> False
1450.76 s
[opt-env-conf-test] _ -> True
1450.76 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
1450.78 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1450.78 s
[opt-env-conf-test] mconcat
1450.78 s
[opt-env-conf-test] [ genericValidate arg,
1450.79 s
[opt-env-conf-test] case arg of
1450.79 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.79 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ False
1450.79 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1450.79 s
[opt-env-conf-test] ('-' : _) -> False
1450.79 s
[opt-env-conf-test] _ -> True
1450.79 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:65:103-111
1450.79 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1450.79 s
[opt-env-conf-test] mconcat
1450.79 s
[opt-env-conf-test] [ genericValidate arg,
1450.79 s
[opt-env-conf-test] case arg of
1450.79 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.79 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ not c /= '-'
1450.79 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1450.79 s
[opt-env-conf-test] ('-' : _) -> False
1450.79 s
[opt-env-conf-test] _ -> True
1450.79 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:67:26-31
1450.79 s
[opt-env-conf-test] @@ -64,7 +64,7 @@
1450.79 s
[opt-env-conf-test] case arg of
1450.79 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.79 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1450.79 s
[opt-env-conf-test] - ('-' : _) -> False
1450.79 s
[opt-env-conf-test] + ('-' : _) -> True
1450.80 s
[opt-env-conf-test] _ -> True
1450.80 s
[opt-env-conf-test] _ -> valid
1450.80 s
[opt-env-conf-test] ]
1450.80 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:68:18-22
1450.80 s
[opt-env-conf-test] @@ -65,7 +65,7 @@
1450.80 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.80 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1450.80 s
[opt-env-conf-test] ('-' : _) -> False
1450.80 s
[opt-env-conf-test] - _ -> True
1450.80 s
[opt-env-conf-test] + _ -> False
1450.80 s
[opt-env-conf-test] _ -> valid
1450.80 s
[opt-env-conf-test] ]
1450.80 s
[opt-env-conf-test]
1450.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
1450.80 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
1450.80 s
[opt-env-conf-test] [ genericValidate arg,
1450.80 s
[opt-env-conf-test] case arg of
1450.80 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.80 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1450.80 s
[opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ True-> declare "does not start with a dash" $ case s of
1450.80 s
[opt-env-conf-test] ('-' : _) -> False
1450.80 s
[opt-env-conf-test] _ -> True
1450.80 s
[opt-env-conf-test] _ -> valid
1450.80 s
[opt-env-conf-test] ]
1450.80 s
[opt-env-conf-test]
1450.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
1450.80 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
1450.80 s
[opt-env-conf-test] [ genericValidate arg,
1450.80 s
[opt-env-conf-test] case arg of
1450.80 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.80 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1450.80 s
[opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ False-> declare "does not start with a dash" $ case s of
1450.80 s
[opt-env-conf-test] ('-' : _) -> False
1450.80 s
[opt-env-conf-test] _ -> True
1450.80 s
[opt-env-conf-test] _ -> valid
1450.80 s
[opt-env-conf-test] ]
1450.80 s
[opt-env-conf-test]
1450.80 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
1450.80 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
1450.80 s
[opt-env-conf-test] [ genericValidate arg,
1450.80 s
[opt-env-conf-test] case arg of
1450.80 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.80 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1450.80 s
[opt-env-conf-test] ('-' : _) -> False
1450.80 s
[opt-env-conf-test] - _ -> True
1450.80 s
[opt-env-conf-test] _ -> valid
1450.80 s
[opt-env-conf-test] ]
1450.80 s
[opt-env-conf-test]
1450.80 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
1450.80 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
1450.80 s
[opt-env-conf-test] [ genericValidate arg,
1450.80 s
[opt-env-conf-test] case arg of
1450.80 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.80 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1450.81 s
[opt-env-conf-test] - ('-' : _) -> False
1450.81 s
[opt-env-conf-test] _ -> True
1450.81 s
[opt-env-conf-test] _ -> valid
1450.81 s
[opt-env-conf-test] ]
1450.81 s
[opt-env-conf-test]
1450.81 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1450.81 s
[opt-env-conf-test] @@ -61,12 +61,9 @@
1450.81 s
[opt-env-conf-test] validate arg =
1450.81 s
[opt-env-conf-test] mconcat
1450.81 s
[opt-env-conf-test] [ genericValidate arg,
1450.81 s
[opt-env-conf-test] case arg of
1450.81 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.81 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1450.81 s
[opt-env-conf-test] - ('-' : _) -> False
1450.81 s
[opt-env-conf-test] - _ -> True
1450.81 s
[opt-env-conf-test] _ -> valid
1450.81 s
[opt-env-conf-test] ]
1450.81 s
[opt-env-conf-test]
1450.81 s
[opt-env-conf-test] instance IsString Arg where
1450.81 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1450.81 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
1450.81 s
[opt-env-conf-test] validate arg =
1450.81 s
[opt-env-conf-test] mconcat
1450.81 s
[opt-env-conf-test] [ genericValidate arg,
1450.81 s
[opt-env-conf-test] case arg of
1450.81 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.81 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1450.81 s
[opt-env-conf-test] ('-' : _) -> False
1450.81 s
[opt-env-conf-test] _ -> True
1450.81 s
[opt-env-conf-test] - _ -> valid
1450.81 s
[opt-env-conf-test] ]
1450.81 s
[opt-env-conf-test]
1450.81 s
[opt-env-conf-test] instance IsString Arg where
1450.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
1450.81 s
[opt-env-conf-test] @@ -60,14 +60,7 @@
1450.81 s
[opt-env-conf-test] instance Validity Arg where
1450.81 s
[opt-env-conf-test] validate arg =
1450.81 s
[opt-env-conf-test] mconcat
1450.81 s
[opt-env-conf-test] - [ genericValidate arg,
1450.81 s
[opt-env-conf-test] - case arg of
1450.81 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.81 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1450.81 s
[opt-env-conf-test] - ('-' : _) -> False
1450.81 s
[opt-env-conf-test] - _ -> True
1450.81 s
[opt-env-conf-test] - _ -> valid
1450.81 s
[opt-env-conf-test] ]
1450.81 s
[opt-env-conf-test]
1450.81 s
[opt-env-conf-test] instance IsString Arg where
1450.81 s
[opt-env-conf-test] fromString = parseArg
1450.81 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1450.81 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
1450.81 s
[opt-env-conf-test] validate arg =
1450.81 s
[opt-env-conf-test] mconcat
1450.81 s
[opt-env-conf-test] [ genericValidate arg,
1450.81 s
[opt-env-conf-test] case arg of
1450.81 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1450.81 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1450.81 s
[opt-env-conf-test] ('-' : _) -> False
1450.81 s
[opt-env-conf-test] _ -> True
1450.81 s
[opt-env-conf-test] _ -> valid
1450.81 s
[opt-env-conf-test] ]
1450.81 s
[opt-env-conf-test]
1450.81 s
[opt-env-conf-test] instance IsString Arg where
1450.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
1450.81 s
[opt-env-conf-test] @@ -142,7 +142,4 @@
1450.81 s
[opt-env-conf-test]
1450.81 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1450.81 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1450.81 s
[opt-env-conf-test] - [ commandChunk commandDocArgument,
1450.81 s
[opt-env-conf-test] - ": ",
1450.81 s
[opt-env-conf-test] - helpChunk commandDocHelp
1450.81 s
[opt-env-conf-test] ]
1450.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
1450.81 s
[opt-env-conf-test] @@ -142,7 +142,6 @@
1450.81 s
[opt-env-conf-test]
1450.81 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1450.81 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1450.81 s
[opt-env-conf-test] - [ commandChunk commandDocArgument,
1450.81 s
[opt-env-conf-test] ": ",
1450.81 s
[opt-env-conf-test] helpChunk commandDocHelp
1450.81 s
[opt-env-conf-test] ]
1450.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
1450.81 s
[opt-env-conf-test] @@ -142,7 +142,6 @@
1450.81 s
[opt-env-conf-test]
1450.81 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1450.81 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1450.81 s
[opt-env-conf-test] [ commandChunk commandDocArgument,
1450.81 s
[opt-env-conf-test] ": ",
1450.81 s
[opt-env-conf-test] - helpChunk commandDocHelp
1450.81 s
[opt-env-conf-test] ]
1450.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
1450.81 s
[opt-env-conf-test] @@ -86,9 +86,7 @@
1450.81 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1450.81 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1450.81 s
[opt-env-conf-test] ParseErrorNoReaders ->
1450.81 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1450.81 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1450.81 s
[opt-env-conf-test] ]
1450.81 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1450.81 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1450.81 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1450.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
1450.82 s
[opt-env-conf-test] @@ -86,9 +86,8 @@
1450.82 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1450.82 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1450.82 s
[opt-env-conf-test] ParseErrorNoReaders ->
1450.82 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1450.82 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1450.82 s
[opt-env-conf-test] ]
1450.82 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1450.82 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1450.82 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1450.82 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
1450.82 s
[opt-env-conf-test] @@ -90,7 +90,6 @@
1450.82 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1450.82 s
[opt-env-conf-test] ]
1450.82 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1454.98 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1454.99 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1454.99 s
[opt-env-conf-test] [ "Missing argument: "
1454.99 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1454.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
1454.99 s
[opt-env-conf-test] @@ -90,7 +90,6 @@
1454.99 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1454.99 s
[opt-env-conf-test] ]
1454.99 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1454.99 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1454.99 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1454.99 s
[opt-env-conf-test] [ "Missing argument: "
1454.99 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1454.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
1454.99 s
[opt-env-conf-test] @@ -124,7 +124,6 @@
1454.99 s
[opt-env-conf-test] ["Missing command, available commands:"]
1454.99 s
[opt-env-conf-test] : availableCommandsLines cs
1454.99 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1454.99 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1454.99 s
[opt-env-conf-test] [fore blue "available commands:"]
1454.99 s
[opt-env-conf-test] ]
1454.99 s
[opt-env-conf-test] ++ availableCommandsLines cs
1454.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
1454.99 s
[opt-env-conf-test] @@ -124,7 +124,6 @@
1454.99 s
[opt-env-conf-test] ["Missing command, available commands:"]
1454.99 s
[opt-env-conf-test] : availableCommandsLines cs
1454.99 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1454.99 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1454.99 s
[opt-env-conf-test] [fore blue "available commands:"]
1454.99 s
[opt-env-conf-test] ]
1454.99 s
[opt-env-conf-test] ++ availableCommandsLines cs
1454.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
1454.99 s
[opt-env-conf-test] @@ -124,9 +124,8 @@
1454.99 s
[opt-env-conf-test] ["Missing command, available commands:"]
1454.99 s
[opt-env-conf-test] : availableCommandsLines cs
1454.99 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1454.99 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1454.99 s
[opt-env-conf-test] [fore blue "available commands:"]
1455.00 s
[opt-env-conf-test] ]
1455.00 s
[opt-env-conf-test] ++ availableCommandsLines cs
1455.00 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1455.00 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1455.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
1455.00 s
[opt-env-conf-test] @@ -124,9 +124,7 @@
1455.00 s
[opt-env-conf-test] ["Missing command, available commands:"]
1455.00 s
[opt-env-conf-test] : availableCommandsLines cs
1455.00 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1455.00 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1455.00 s
[opt-env-conf-test] - [fore blue "available commands:"]
1455.00 s
[opt-env-conf-test] ]
1455.00 s
[opt-env-conf-test] ++ availableCommandsLines cs
1455.00 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1455.00 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1455.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
1455.00 s
[opt-env-conf-test] @@ -129,9 +129,7 @@
1455.00 s
[opt-env-conf-test] ]
1455.00 s
[opt-env-conf-test] ++ availableCommandsLines cs
1455.00 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1455.00 s
[opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1455.00 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1455.00 s
[opt-env-conf-test] ]
1455.00 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1455.00 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1455.00 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1455.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
1455.00 s
[opt-env-conf-test] @@ -129,9 +129,8 @@
1455.00 s
[opt-env-conf-test] ]
1455.00 s
[opt-env-conf-test] ++ availableCommandsLines cs
1455.00 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1455.00 s
[opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1455.00 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1455.00 s
[opt-env-conf-test] ]
1455.00 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1455.00 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1455.00 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1455.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1455.00 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1455.00 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1455.00 s
[opt-env-conf-test] renderError ParseError {..} =
1455.00 s
[opt-env-conf-test] concat
1455.00 s
[opt-env-conf-test] [ case parseErrorMessage of
1455.00 s
[opt-env-conf-test] - ParseErrorEmpty ->
1455.00 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
1455.00 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1455.00 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1455.00 s
[opt-env-conf-test] ParseErrorNoReaders ->
1455.00 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1455.00 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1455.00 s
[opt-env-conf-test] ]
1455.00 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1455.00 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1455.00 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1455.00 s
[opt-env-conf-test] [ "Missing argument: "
1455.00 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1455.00 s
[opt-env-conf-test] ]
1455.00 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1455.00 s
[opt-env-conf-test] ["Failed to read argument: "]
1455.00 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1455.00 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1455.00 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1455.00 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1455.00 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1455.00 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1455.00 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1455.00 s
[opt-env-conf-test] ["Failed to read option: "]
1455.00 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1455.01 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1455.01 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1455.01 s
[opt-env-conf-test] ["Missing env var: "]
1455.01 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1455.01 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1455.01 s
[opt-env-conf-test] ["Failed to read env var: "]
1455.01 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1455.01 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1455.01 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1455.01 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1455.01 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1455.19 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1455.19 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1455.19 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1455.19 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1455.19 s
[opt-env-conf-test] ["Missing command, available commands:"]
1455.19 s
[opt-env-conf-test] : availableCommandsLines cs
1455.19 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1455.19 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1455.19 s
[opt-env-conf-test] [fore blue "available commands:"]
1455.20 s
[opt-env-conf-test] ]
1455.20 s
[opt-env-conf-test] ++ availableCommandsLines cs
1455.20 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1455.20 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1455.20 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1455.20 s
[opt-env-conf-test] ]
1455.20 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1455.20 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1455.20 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1455.20 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1455.20 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1455.20 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1455.20 s
[opt-env-conf-test] ]
1455.20 s
[opt-env-conf-test]
1455.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1455.20 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1455.20 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1455.20 s
[opt-env-conf-test] renderError ParseError {..} =
1455.20 s
[opt-env-conf-test] concat
1455.20 s
[opt-env-conf-test] [ case parseErrorMessage of
1455.20 s
[opt-env-conf-test] ParseErrorEmpty ->
1455.20 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1455.20 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
1455.20 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
1455.20 s
[opt-env-conf-test] ParseErrorNoReaders ->
1455.20 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1455.20 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1455.20 s
[opt-env-conf-test] ]
1455.20 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1455.20 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1455.20 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1455.20 s
[opt-env-conf-test] [ "Missing argument: "
1455.20 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1455.20 s
[opt-env-conf-test] ]
1455.20 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1455.20 s
[opt-env-conf-test] ["Failed to read argument: "]
1455.20 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1455.20 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1455.20 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1455.20 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1455.20 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1455.20 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1455.20 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1455.20 s
[opt-env-conf-test] ["Failed to read option: "]
1455.20 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1455.20 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1455.20 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1455.20 s
[opt-env-conf-test] ["Missing env var: "]
1455.20 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1455.20 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1455.20 s
[opt-env-conf-test] ["Failed to read env var: "]
1455.20 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1455.20 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1455.20 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1455.20 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1455.20 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1456.49 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1456.49 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1456.56 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1456.56 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1456.56 s
[opt-env-conf-test] ["Missing command, available commands:"]
1456.56 s
[opt-env-conf-test] : availableCommandsLines cs
1456.56 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1456.56 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1456.56 s
[opt-env-conf-test] [fore blue "available commands:"]
1456.56 s
[opt-env-conf-test] ]
1456.56 s
[opt-env-conf-test] ++ availableCommandsLines cs
1456.56 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1456.56 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1456.56 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1456.56 s
[opt-env-conf-test] ]
1456.56 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1456.56 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1456.56 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1456.57 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1456.57 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1456.57 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1456.57 s
[opt-env-conf-test] ]
1456.57 s
[opt-env-conf-test]
1456.57 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1456.57 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1456.57 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1456.57 s
[opt-env-conf-test] renderError ParseError {..} =
1456.57 s
[opt-env-conf-test] concat
1456.57 s
[opt-env-conf-test] [ case parseErrorMessage of
1456.57 s
[opt-env-conf-test] ParseErrorEmpty ->
1456.57 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1456.57 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1456.57 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1456.57 s
[opt-env-conf-test] - ParseErrorNoReaders ->
1456.57 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1456.57 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1456.57 s
[opt-env-conf-test] - ]
1456.57 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1456.57 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1456.57 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1456.57 s
[opt-env-conf-test] [ "Missing argument: "
1456.57 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1456.57 s
[opt-env-conf-test] ]
1456.57 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1456.57 s
[opt-env-conf-test] ["Failed to read argument: "]
1456.57 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1456.57 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1456.57 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1456.57 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1456.57 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1456.57 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1456.57 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1456.57 s
[opt-env-conf-test] ["Failed to read option: "]
1456.57 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1456.57 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1456.57 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1456.57 s
[opt-env-conf-test] ["Missing env var: "]
1456.57 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1456.57 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1456.57 s
[opt-env-conf-test] ["Failed to read env var: "]
1456.57 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1456.57 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1456.57 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1456.57 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1456.57 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1457.39 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1457.39 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1457.39 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1457.39 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1457.39 s
[opt-env-conf-test] ["Missing command, available commands:"]
1457.39 s
[opt-env-conf-test] : availableCommandsLines cs
1457.39 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1457.39 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1457.40 s
[opt-env-conf-test] [fore blue "available commands:"]
1457.40 s
[opt-env-conf-test] ]
1457.40 s
[opt-env-conf-test] ++ availableCommandsLines cs
1457.40 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1457.40 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1457.40 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1457.40 s
[opt-env-conf-test] ]
1457.40 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1457.40 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1457.40 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1457.40 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1457.40 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1457.40 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1457.40 s
[opt-env-conf-test] ]
1457.40 s
[opt-env-conf-test]
1457.40 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
1457.40 s
[opt-env-conf-test] @@ -60,14 +60,13 @@
1457.40 s
[opt-env-conf-test] instance Validity Arg where
1457.40 s
[opt-env-conf-test] validate arg =
1457.40 s
[opt-env-conf-test] mconcat
1457.40 s
[opt-env-conf-test] - [ genericValidate arg,
1457.40 s
[opt-env-conf-test] case arg of
1457.40 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1457.40 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1457.40 s
[opt-env-conf-test] ('-' : _) -> False
1457.40 s
[opt-env-conf-test] _ -> True
1457.40 s
[opt-env-conf-test] _ -> valid
1457.40 s
[opt-env-conf-test] ]
1457.40 s
[opt-env-conf-test]
1457.40 s
[opt-env-conf-test] instance IsString Arg where
1457.40 s
[opt-env-conf-test] fromString = parseArg
1457.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1457.40 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1457.40 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1457.40 s
[opt-env-conf-test] renderError ParseError {..} =
1457.40 s
[opt-env-conf-test] concat
1457.41 s
[opt-env-conf-test] [ case parseErrorMessage of
1457.41 s
[opt-env-conf-test] ParseErrorEmpty ->
1457.41 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1457.41 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1457.41 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1457.41 s
[opt-env-conf-test] ParseErrorNoReaders ->
1457.41 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1457.41 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1457.41 s
[opt-env-conf-test] ]
1457.41 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1457.41 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1457.41 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
1457.41 s
[opt-env-conf-test] - [ "Missing argument: "
1457.41 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
1457.41 s
[opt-env-conf-test] - ]
1457.41 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1457.41 s
[opt-env-conf-test] ["Failed to read argument: "]
1457.41 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1457.41 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1457.41 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1457.41 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1457.41 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1457.41 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1457.41 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1457.41 s
[opt-env-conf-test] ["Failed to read option: "]
1457.41 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1457.41 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1457.41 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1457.41 s
[opt-env-conf-test] ["Missing env var: "]
1457.41 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1457.41 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1457.41 s
[opt-env-conf-test] ["Failed to read env var: "]
1457.41 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1457.41 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1457.41 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1457.42 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1457.42 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1458.09 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1458.09 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1458.09 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1458.09 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1458.09 s
[opt-env-conf-test] ["Missing command, available commands:"]
1458.09 s
[opt-env-conf-test] : availableCommandsLines cs
1458.09 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1458.09 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1458.09 s
[opt-env-conf-test] [fore blue "available commands:"]
1458.09 s
[opt-env-conf-test] ]
1458.09 s
[opt-env-conf-test] ++ availableCommandsLines cs
1458.09 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1458.09 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1458.09 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1458.09 s
[opt-env-conf-test] ]
1458.09 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1458.09 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1458.10 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1458.10 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1458.10 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1458.10 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1458.10 s
[opt-env-conf-test] ]
1458.10 s
[opt-env-conf-test]
1458.10 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1458.10 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1458.10 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1458.10 s
[opt-env-conf-test] renderError ParseError {..} =
1458.10 s
[opt-env-conf-test] concat
1458.10 s
[opt-env-conf-test] [ case parseErrorMessage of
1458.10 s
[opt-env-conf-test] ParseErrorEmpty ->
1458.10 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1458.10 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1458.10 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1458.10 s
[opt-env-conf-test] ParseErrorNoReaders ->
1458.10 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1458.10 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1458.10 s
[opt-env-conf-test] ]
1458.10 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1458.10 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1458.10 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1458.10 s
[opt-env-conf-test] [ "Missing argument: "
1458.10 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1458.10 s
[opt-env-conf-test] ]
1458.10 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
1458.10 s
[opt-env-conf-test] - ["Failed to read argument: "]
1458.10 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1458.10 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1458.10 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1458.10 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1458.10 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1458.10 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1458.10 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1458.10 s
[opt-env-conf-test] ["Failed to read option: "]
1458.10 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1458.11 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1458.11 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1458.11 s
[opt-env-conf-test] ["Missing env var: "]
1458.11 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1458.11 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1458.11 s
[opt-env-conf-test] ["Failed to read env var: "]
1458.11 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1458.11 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1458.11 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1458.11 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1458.11 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1461.01 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1461.01 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1461.01 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1461.01 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1461.01 s
[opt-env-conf-test] ["Missing command, available commands:"]
1461.01 s
[opt-env-conf-test] : availableCommandsLines cs
1461.01 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1461.01 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1461.01 s
[opt-env-conf-test] [fore blue "available commands:"]
1461.01 s
[opt-env-conf-test] ]
1461.01 s
[opt-env-conf-test] ++ availableCommandsLines cs
1461.01 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1461.01 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1461.01 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1461.01 s
[opt-env-conf-test] ]
1461.01 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1461.01 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1461.01 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1461.01 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1461.01 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1461.01 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1461.01 s
[opt-env-conf-test] ]
1461.01 s
[opt-env-conf-test]
1461.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1461.01 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1461.01 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1461.01 s
[opt-env-conf-test] renderError ParseError {..} =
1461.01 s
[opt-env-conf-test] concat
1461.01 s
[opt-env-conf-test] [ case parseErrorMessage of
1461.01 s
[opt-env-conf-test] ParseErrorEmpty ->
1461.01 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1461.02 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1461.02 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1461.02 s
[opt-env-conf-test] ParseErrorNoReaders ->
1461.02 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1461.02 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1461.02 s
[opt-env-conf-test] ]
1461.02 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
1461.02 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1461.02 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1461.02 s
[opt-env-conf-test] [ "Missing argument: "
1461.02 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1461.02 s
[opt-env-conf-test] ]
1461.02 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1461.02 s
[opt-env-conf-test] ["Failed to read argument: "]
1461.02 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1461.02 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1461.02 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1461.02 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1461.02 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1461.02 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1461.02 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1461.02 s
[opt-env-conf-test] ["Failed to read option: "]
1461.02 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1461.02 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1461.02 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1461.02 s
[opt-env-conf-test] ["Missing env var: "]
1461.02 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1461.02 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1461.02 s
[opt-env-conf-test] ["Failed to read env var: "]
1461.02 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1461.02 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1461.02 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1461.02 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1461.02 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1461.08 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1461.08 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1461.09 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1461.09 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1461.09 s
[opt-env-conf-test] ["Missing command, available commands:"]
1461.09 s
[opt-env-conf-test] : availableCommandsLines cs
1461.09 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1461.09 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1461.09 s
[opt-env-conf-test] [fore blue "available commands:"]
1461.09 s
[opt-env-conf-test] ]
1461.09 s
[opt-env-conf-test] ++ availableCommandsLines cs
1461.09 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1461.09 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1461.09 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1461.09 s
[opt-env-conf-test] ]
1461.09 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1461.09 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1461.09 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1461.09 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1461.09 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1461.09 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1461.09 s
[opt-env-conf-test] ]
1461.09 s
[opt-env-conf-test]
1461.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1461.09 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1461.09 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1461.09 s
[opt-env-conf-test] renderError ParseError {..} =
1461.09 s
[opt-env-conf-test] concat
1461.09 s
[opt-env-conf-test] [ case parseErrorMessage of
1461.09 s
[opt-env-conf-test] ParseErrorEmpty ->
1461.09 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1461.10 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1461.10 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1461.10 s
[opt-env-conf-test] ParseErrorNoReaders ->
1461.10 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1461.10 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1461.10 s
[opt-env-conf-test] ]
1461.10 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1461.10 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1461.10 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1461.10 s
[opt-env-conf-test] [ "Missing argument: "
1461.10 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1461.10 s
[opt-env-conf-test] ]
1461.10 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1461.10 s
[opt-env-conf-test] ["Failed to read argument: "]
1461.10 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1461.10 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1461.10 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
1461.10 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1461.10 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1461.10 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1461.10 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1461.10 s
[opt-env-conf-test] ["Failed to read option: "]
1461.10 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1461.10 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1461.10 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1461.10 s
[opt-env-conf-test] ["Missing env var: "]
1461.10 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1461.10 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1461.10 s
[opt-env-conf-test] ["Failed to read env var: "]
1461.10 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1461.10 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1461.10 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1461.10 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1461.10 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1462.51 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1462.51 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1462.59 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1462.59 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1462.59 s
[opt-env-conf-test] ["Missing command, available commands:"]
1462.59 s
[opt-env-conf-test] : availableCommandsLines cs
1462.59 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1462.59 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1462.59 s
[opt-env-conf-test] [fore blue "available commands:"]
1462.59 s
[opt-env-conf-test] ]
1462.59 s
[opt-env-conf-test] ++ availableCommandsLines cs
1462.59 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1462.59 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1462.59 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1462.59 s
[opt-env-conf-test] ]
1462.59 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1462.59 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1462.59 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1462.59 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1462.60 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1462.60 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1462.60 s
[opt-env-conf-test] ]
1462.60 s
[opt-env-conf-test]
1462.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
1462.60 s
[opt-env-conf-test] @@ -140,72 +140,71 @@
1462.60 s
[opt-env-conf-test] (firstArg : afters) ->
1462.60 s
[opt-env-conf-test] let befores = argsBefore as
1462.60 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
1462.60 s
[opt-env-conf-test] in case firstArg of
1462.60 s
[opt-env-conf-test] -- Skip any dead argument
1462.60 s
[opt-env-conf-test] - Dead -> consumeArgument consumed
1462.60 s
[opt-env-conf-test] Live a -> case a of
1462.60 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1462.60 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1462.60 s
[opt-env-conf-test] -- A single dash is always an argument
1462.60 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1462.60 s
[opt-env-conf-test] -- Bare double-dash
1462.60 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1462.60 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1462.60 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1462.60 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1462.60 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1462.60 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1462.60 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1462.60 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1462.60 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1462.60 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1462.60 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1462.60 s
[opt-env-conf-test] -- pop the args as they come.
1462.60 s
[opt-env-conf-test] _ ->
1462.60 s
[opt-env-conf-test] let go = \case
1462.60 s
[opt-env-conf-test] [] -> Nothing
1462.60 s
[opt-env-conf-test] (Dead : rest) -> go rest
1462.60 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1462.60 s
[opt-env-conf-test] in case go afters of
1462.60 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1462.60 s
[opt-env-conf-test] Just (firstLive, rest) ->
1462.60 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1462.60 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1465.02 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1465.02 s
[opt-env-conf-test] -- arguments.
1465.02 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1465.02 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1465.02 s
[opt-env-conf-test] )
1465.02 s
[opt-env-conf-test] ]
1465.02 s
[opt-env-conf-test] ArgDashed {} ->
1465.02 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1465.02 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1465.02 s
[opt-env-conf-test] -- * The dashed is an argument
1465.02 s
[opt-env-conf-test] -- TODO we need to continue looking too
1465.03 s
[opt-env-conf-test] let switchCase =
1465.03 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1465.03 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1465.03 s
[opt-env-conf-test] ]
1465.03 s
[opt-env-conf-test] in case afters of
1465.03 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1465.03 s
[opt-env-conf-test] [] -> switchCase
1465.03 s
[opt-env-conf-test] (Dead : _) -> switchCase
1465.03 s
[opt-env-conf-test] (Live a' : rest) ->
1465.03 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1465.03 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1465.03 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1465.03 s
[opt-env-conf-test] -- * The dashed is an argument
1465.03 s
[opt-env-conf-test] ( case a' of
1465.03 s
[opt-env-conf-test] ArgDashed {} ->
1465.03 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1465.03 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1465.03 s
[opt-env-conf-test] ]
1465.03 s
[opt-env-conf-test] _ ->
1465.03 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1465.03 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1465.03 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1465.03 s
[opt-env-conf-test] ]
1465.03 s
[opt-env-conf-test] )
1465.03 s
[opt-env-conf-test]
1465.03 s
[opt-env-conf-test] -- | Consume an option.
1465.03 s
[opt-env-conf-test] --
1465.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
1465.03 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
1465.03 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1465.03 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1465.03 s
[opt-env-conf-test] ArgDashed isLong cs ->
1465.03 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
1465.04 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds True cs of
1465.04 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1465.04 s
[opt-env-conf-test] Nothing ->
1465.04 s
[opt-env-conf-test] case rest of
1465.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
1465.04 s
[opt-env-conf-test] @@ -222,9 +222,8 @@
1465.04 s
[opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
1465.04 s
[opt-env-conf-test] Nothing ->
1465.04 s
[opt-env-conf-test] -- TODO option value on the border
1465.04 s
[opt-env-conf-test] case go (argsAfter as) of
1465.04 s
[opt-env-conf-test] Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
1465.04 s
[opt-env-conf-test] - Nothing -> Nothing
1465.04 s
[opt-env-conf-test] where
1465.04 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
1465.04 s
[opt-env-conf-test] go = \case
1465.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
1465.04 s
[opt-env-conf-test] @@ -222,9 +222,8 @@
1465.04 s
[opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
1465.04 s
[opt-env-conf-test] Nothing ->
1465.04 s
[opt-env-conf-test] -- TODO option value on the border
1465.04 s
[opt-env-conf-test] case go (argsAfter as) of
1465.04 s
[opt-env-conf-test] - Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
1465.04 s
[opt-env-conf-test] Nothing -> Nothing
1465.04 s
[opt-env-conf-test] where
1465.04 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
1465.04 s
[opt-env-conf-test] go = \case
1465.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1465.04 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1465.04 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1465.04 s
[opt-env-conf-test] renderError ParseError {..} =
1465.04 s
[opt-env-conf-test] concat
1465.05 s
[opt-env-conf-test] [ case parseErrorMessage of
1465.05 s
[opt-env-conf-test] ParseErrorEmpty ->
1465.05 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1465.05 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1465.05 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1465.05 s
[opt-env-conf-test] ParseErrorNoReaders ->
1465.05 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1465.05 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1465.05 s
[opt-env-conf-test] ]
1465.05 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1465.05 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1465.05 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1465.05 s
[opt-env-conf-test] [ "Missing argument: "
1465.05 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1465.05 s
[opt-env-conf-test] ]
1465.05 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1465.05 s
[opt-env-conf-test] ["Failed to read argument: "]
1465.05 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1465.05 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.05 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1465.05 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1465.05 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
1465.05 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1465.05 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1465.05 s
[opt-env-conf-test] ["Failed to read option: "]
1465.05 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1465.06 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.06 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1465.06 s
[opt-env-conf-test] ["Missing env var: "]
1465.06 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1465.06 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1465.06 s
[opt-env-conf-test] ["Failed to read env var: "]
1465.06 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1465.06 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.06 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1465.06 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1465.06 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1465.06 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1465.06 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1465.06 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1465.06 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1465.06 s
[opt-env-conf-test] ["Missing command, available commands:"]
1465.06 s
[opt-env-conf-test] : availableCommandsLines cs
1465.06 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1465.06 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1465.06 s
[opt-env-conf-test] [fore blue "available commands:"]
1465.06 s
[opt-env-conf-test] ]
1465.06 s
[opt-env-conf-test] ++ availableCommandsLines cs
1465.06 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1465.06 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1465.06 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1465.06 s
[opt-env-conf-test] ]
1465.06 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1465.06 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1465.06 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1465.06 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1465.06 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1465.06 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1465.06 s
[opt-env-conf-test] ]
1465.06 s
[opt-env-conf-test]
1465.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
1465.06 s
[opt-env-conf-test] @@ -135,77 +135,76 @@
1465.06 s
[opt-env-conf-test] Nothing -> r
1465.06 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
1465.06 s
[opt-env-conf-test]
1465.06 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1465.06 s
[opt-env-conf-test] - [] -> []
1465.06 s
[opt-env-conf-test] (firstArg : afters) ->
1465.06 s
[opt-env-conf-test] let befores = argsBefore as
1465.07 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
1465.07 s
[opt-env-conf-test] in case firstArg of
1465.07 s
[opt-env-conf-test] -- Skip any dead argument
1465.07 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1465.07 s
[opt-env-conf-test] Live a -> case a of
1465.07 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1465.07 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1465.07 s
[opt-env-conf-test] -- A single dash is always an argument
1465.07 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1465.07 s
[opt-env-conf-test] -- Bare double-dash
1465.07 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1465.07 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1465.07 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1465.07 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1465.07 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1465.07 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1465.07 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1465.07 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1465.07 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1465.07 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1465.07 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1465.07 s
[opt-env-conf-test] -- pop the args as they come.
1465.07 s
[opt-env-conf-test] _ ->
1465.07 s
[opt-env-conf-test] let go = \case
1465.07 s
[opt-env-conf-test] [] -> Nothing
1465.07 s
[opt-env-conf-test] (Dead : rest) -> go rest
1465.07 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1465.07 s
[opt-env-conf-test] in case go afters of
1465.07 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1465.07 s
[opt-env-conf-test] Just (firstLive, rest) ->
1465.07 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1465.07 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1465.07 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1465.07 s
[opt-env-conf-test] -- arguments.
1465.08 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1465.08 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1465.08 s
[opt-env-conf-test] )
1465.08 s
[opt-env-conf-test] ]
1465.08 s
[opt-env-conf-test] ArgDashed {} ->
1465.08 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1465.08 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1465.08 s
[opt-env-conf-test] -- * The dashed is an argument
1465.08 s
[opt-env-conf-test] -- TODO we need to continue looking too
1465.08 s
[opt-env-conf-test] let switchCase =
1465.08 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1465.08 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1465.08 s
[opt-env-conf-test] ]
1465.08 s
[opt-env-conf-test] in case afters of
1465.08 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1465.08 s
[opt-env-conf-test] [] -> switchCase
1465.08 s
[opt-env-conf-test] (Dead : _) -> switchCase
1465.08 s
[opt-env-conf-test] (Live a' : rest) ->
1465.08 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1465.08 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1465.08 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1465.08 s
[opt-env-conf-test] -- * The dashed is an argument
1465.08 s
[opt-env-conf-test] ( case a' of
1465.08 s
[opt-env-conf-test] ArgDashed {} ->
1465.08 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1465.08 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1465.08 s
[opt-env-conf-test] ]
1465.08 s
[opt-env-conf-test] _ ->
1465.08 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1465.08 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1465.66 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1465.66 s
[opt-env-conf-test] ]
1465.66 s
[opt-env-conf-test] )
1465.66 s
[opt-env-conf-test]
1465.66 s
[opt-env-conf-test] -- | Consume an option.
1465.66 s
[opt-env-conf-test] --
1465.66 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1465.66 s
[opt-env-conf-test] @@ -143,69 +143,41 @@
1465.66 s
[opt-env-conf-test] in case firstArg of
1465.66 s
[opt-env-conf-test] -- Skip any dead argument
1465.66 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1465.66 s
[opt-env-conf-test] Live a -> case a of
1465.66 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1465.66 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1465.66 s
[opt-env-conf-test] -- A single dash is always an argument
1465.66 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1465.66 s
[opt-env-conf-test] -- Bare double-dash
1465.66 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
1465.66 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
1465.66 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1465.66 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
1465.66 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
1465.66 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
1465.66 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1465.66 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1465.66 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
1465.66 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
1465.66 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
1465.66 s
[opt-env-conf-test] - -- pop the args as they come.
1465.67 s
[opt-env-conf-test] - _ ->
1465.67 s
[opt-env-conf-test] - let go = \case
1465.67 s
[opt-env-conf-test] - [] -> Nothing
1465.67 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1465.67 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1465.67 s
[opt-env-conf-test] - in case go afters of
1465.67 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1465.67 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1465.67 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1465.67 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1465.67 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1465.67 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1465.67 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1465.67 s
[opt-env-conf-test] renderError ParseError {..} =
1465.67 s
[opt-env-conf-test] concat
1465.67 s
[opt-env-conf-test] [ case parseErrorMessage of
1465.67 s
[opt-env-conf-test] ParseErrorEmpty ->
1465.67 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1465.67 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1465.67 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1465.67 s
[opt-env-conf-test] ParseErrorNoReaders ->
1465.67 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1465.67 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1465.67 s
[opt-env-conf-test] ]
1465.67 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1465.67 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1465.67 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1465.67 s
[opt-env-conf-test] [ "Missing argument: "
1465.67 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1465.67 s
[opt-env-conf-test] ]
1465.67 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1465.67 s
[opt-env-conf-test] ["Failed to read argument: "]
1465.67 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1465.67 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.67 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1465.67 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1465.67 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1465.67 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1465.67 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
1465.67 s
[opt-env-conf-test] - ["Failed to read option: "]
1465.67 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1465.67 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.67 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1465.67 s
[opt-env-conf-test] ["Missing env var: "]
1465.67 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1465.67 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1465.67 s
[opt-env-conf-test] ["Failed to read env var: "]
1465.67 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1465.67 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.67 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1465.67 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1465.67 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1465.68 s
[opt-env-conf-test] ["Failed to- -- after consuming all the arguments after it as bare
1465.68 s
[opt-env-conf-test] - -- arguments.
1465.68 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1465.68 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1465.68 s
[opt-env-conf-test] - )
1465.68 s
[opt-env-conf-test] - ]
1465.68 s
[opt-env-conf-test] ArgDashed {} ->
1465.68 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1465.68 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1465.68 s
[opt-env-conf-test] -- * The dashed is an argument
1465.68 s
[opt-env-conf-test] -- TODO we need to continue looking too
1465.68 s
[opt-env-conf-test] let switchCase =
1465.68 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1465.68 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1465.68 s
[opt-env-conf-test] ]
1465.68 s
[opt-env-conf-test] in case afters of
1465.68 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1465.68 s
[opt-env-conf-test] [] -> switchCase
1465.68 s
[opt-env-conf-test] (Dead : _) -> switchCase
1465.68 s
[opt-env-conf-test] (Live a' : rest) ->
1465.68 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1465.68 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1465.68 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1465.68 s
[opt-env-conf-test] -- * The dashed is an argument
1465.68 s
[opt-env-conf-test] ( case a' of
1465.68 s
[opt-env-conf-test] ArgDashed {} ->
1465.68 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1465.68 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1465.68 s
[opt-env-conf-test] ]
1465.68 s
[opt-env-conf-test] _ ->
1465.68 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1465.68 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1465.68 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1465.71 s
[opt-env-conf-test] parse configuration: "]
1465.71 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1465.71 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1465.71 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1465.71 s
[opt-env-conf-test] ["Missing command, available commands:"]
1465.71 s
[opt-env-conf-test] : availableCommandsLines cs
1465.71 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1465.71 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1465.71 s
[opt-env-conf-test] [fore blue "available commands:"]
1465.71 s
[opt-env-conf-test] ]
1465.71 s
[opt-env-conf-test] ++ availableCommandsLines cs
1465.71 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1465.71 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1465.71 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1465.71 s
[opt-env-conf-test] ]
1465.71 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1465.71 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1465.71 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1465.71 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1465.71 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1465.71 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1465.71 s
[opt-env-conf-test] ]
1465.71 s
[opt-env-conf-test]
1465.71 s
[opt-env-conf-test] ]
1465.71 s
[opt-env-conf-test] )
1465.72 s
[opt-env-conf-test]
1465.72 s
[opt-env-conf-test] -- | Consume an option.
1465.72 s
[opt-env-conf-test] --
1465.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1465.72 s
[opt-env-conf-test] @@ -80,63 +80,60 @@
1465.72 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1465.72 s
[opt-env-conf-test] renderError ParseError {..} =
1465.72 s
[opt-env-conf-test] concat
1465.72 s
[opt-env-conf-test] [ case parseErrorMessage of
1465.72 s
[opt-env-conf-test] ParseErrorEmpty ->
1465.72 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1465.72 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1465.72 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1465.72 s
[opt-env-conf-test] ParseErrorNoReaders ->
1465.72 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1465.72 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1465.72 s
[opt-env-conf-test] ]
1465.72 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1465.72 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1465.72 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1465.72 s
[opt-env-conf-test] [ "Missing argument: "
1465.72 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1465.72 s
[opt-env-conf-test] ]
1465.72 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1465.72 s
[opt-env-conf-test] ["Failed to read argument: "]
1465.72 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1465.72 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.72 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1465.72 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1465.72 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1465.72 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1465.72 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1465.72 s
[opt-env-conf-test] ["Failed to read option: "]
1465.72 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1465.72 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.72 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
1465.72 s
[opt-env-conf-test] - ["Missing env var: "]
1465.72 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1465.72 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1465.72 s
[opt-env-conf-test] ["Failed to read env var: "]
1465.72 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1465.72 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.72 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1465.72 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1465.72 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1465.80 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1465.80 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1465.80 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1465.80 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1465.80 s
[opt-env-conf-test] ["Missing command, available commands:"]
1465.80 s
[opt-env-conf-test] : availableCommandsLines cs
1465.80 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1465.80 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1465.80 s
[opt-env-conf-test] [fore blue "available commands:"]
1465.80 s
[opt-env-conf-test] ]
1465.80 s
[opt-env-conf-test] ++ availableCommandsLines cs
1465.80 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1465.80 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1465.80 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1465.80 s
[opt-env-conf-test] ]
1465.80 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1465.80 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1465.80 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1465.80 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1465.80 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1465.80 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1465.81 s
[opt-env-conf-test] ]
1465.81 s
[opt-env-conf-test]
1465.81 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1465.81 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1465.81 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1465.81 s
[opt-env-conf-test] renderError ParseError {..} =
1465.81 s
[opt-env-conf-test] concat
1465.81 s
[opt-env-conf-test] [ case parseErrorMessage of
1465.81 s
[opt-env-conf-test] ParseErrorEmpty ->
1465.81 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1465.81 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1465.81 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1465.81 s
[opt-env-conf-test] ParseErrorNoReaders ->
1465.81 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1465.81 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1465.81 s
[opt-env-conf-test] ]
1465.81 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1465.81 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1465.81 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1465.81 s
[opt-env-conf-test] [ "Missing argument: "
1465.81 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1465.81 s
[opt-env-conf-test] ]
1465.81 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1465.81 s
[opt-env-conf-test] ["Failed to read argument: "]
1465.81 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1465.81 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.81 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1465.81 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1465.81 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1465.81 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1465.81 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1465.81 s
[opt-env-conf-test] ["Failed to read option: "]
1465.82 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1465.82 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.82 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1465.82 s
[opt-env-conf-test] ["Missing env var: "]
1465.82 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1465.82 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1465.82 s
[opt-env-conf-test] ["Failed to read env var: "]
1465.82 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1465.82 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.82 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
1465.82 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
1465.82 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1465.87 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1465.87 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1465.88 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1465.88 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1465.88 s
[opt-env-conf-test] ["Missing command, available commands:"]
1465.88 s
[opt-env-conf-test] : availableCommandsLines cs
1465.88 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1465.88 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1465.88 s
[opt-env-conf-test] [fore blue "available commands:"]
1465.88 s
[opt-env-conf-test] ]
1465.88 s
[opt-env-conf-test] ++ availableCommandsLines cs
1465.88 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1465.88 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1465.88 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1465.88 s
[opt-env-conf-test] ]
1465.88 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1465.88 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1465.88 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1465.88 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1465.88 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1465.88 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1465.88 s
[opt-env-conf-test] ]
1465.88 s
[opt-env-conf-test]
1465.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1465.88 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1465.89 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1465.89 s
[opt-env-conf-test] renderError ParseError {..} =
1465.89 s
[opt-env-conf-test] concat
1465.89 s
[opt-env-conf-test] [ case parseErrorMessage of
1465.89 s
[opt-env-conf-test] ParseErrorEmpty ->
1465.89 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1465.89 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1465.89 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1465.89 s
[opt-env-conf-test] ParseErrorNoReaders ->
1465.89 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1465.89 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1465.89 s
[opt-env-conf-test] ]
1465.89 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1465.89 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1465.89 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1465.89 s
[opt-env-conf-test] [ "Missing argument: "
1465.89 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1465.89 s
[opt-env-conf-test] ]
1465.89 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1465.89 s
[opt-env-conf-test] ["Failed to read argument: "]
1465.89 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1465.89 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.89 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1465.89 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1465.89 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1465.89 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1465.89 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1465.89 s
[opt-env-conf-test] ["Failed to read option: "]
1465.89 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1465.89 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.89 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1465.89 s
[opt-env-conf-test] ["Missing env var: "]
1465.89 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1465.89 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
1465.89 s
[opt-env-conf-test] - ["Failed to read env var: "]
1465.89 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1465.89 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1465.89 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1465.89 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1465.89 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1466.12 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1466.12 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1466.13 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1466.13 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1466.13 s
[opt-env-conf-test] ["Missing command, available commands:"]
1466.13 s
[opt-env-conf-test] : availableCommandsLines cs
1466.13 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1466.13 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1466.13 s
[opt-env-conf-test] [fore blue "available commands:"]
1466.13 s
[opt-env-conf-test] ]
1466.13 s
[opt-env-conf-test] ++ availableCommandsLines cs
1466.13 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1466.13 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1466.13 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1466.13 s
[opt-env-conf-test] ]
1466.13 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1466.13 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1466.13 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1466.13 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1466.13 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1466.13 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1466.13 s
[opt-env-conf-test] ]
1466.13 s
[opt-env-conf-test]
1466.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1466.13 s
[opt-env-conf-test] @@ -143,69 +143,68 @@
1466.13 s
[opt-env-conf-test] in case firstArg of
1466.13 s
[opt-env-conf-test] -- Skip any dead argument
1466.13 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1466.13 s
[opt-env-conf-test] Live a -> case a of
1466.13 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1466.13 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1466.13 s
[opt-env-conf-test] -- A single dash is always an argument
1466.14 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
1466.14 s
[opt-env-conf-test] -- Bare double-dash
1466.14 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1466.14 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1466.14 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1466.14 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1466.14 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1466.14 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1466.14 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1466.14 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1466.14 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1466.14 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1466.14 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1466.14 s
[opt-env-conf-test] -- pop the args as they come.
1466.14 s
[opt-env-conf-test] _ ->
1466.14 s
[opt-env-conf-test] let go = \case
1466.14 s
[opt-env-conf-test] [] -> Nothing
1466.14 s
[opt-env-conf-test] (Dead : rest) -> go rest
1466.14 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1466.14 s
[opt-env-conf-test] in case go afters of
1466.14 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1466.14 s
[opt-env-conf-test] Just (firstLive, rest) ->
1466.14 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1466.14 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1466.14 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1466.14 s
[opt-env-conf-test] -- arguments.
1466.34 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1466.34 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1466.34 s
[opt-env-conf-test] )
1466.34 s
[opt-env-conf-test] ]
1466.34 s
[opt-env-conf-test] ArgDashed {} ->
1466.34 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1466.34 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1466.34 s
[opt-env-conf-test] -- * The dashed is an argument
1466.34 s
[opt-env-conf-test] -- TODO we need to continue looking too
1466.34 s
[opt-env-conf-test] let switchCase =
1466.34 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1466.34 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1466.34 s
[opt-env-conf-test] ]
1466.34 s
[opt-env-conf-test] in case afters of
1466.34 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1466.34 s
[opt-env-conf-test] [] -> switchCase
1466.34 s
[opt-env-conf-test] (Dead : _) -> switchCase
1466.34 s
[opt-env-conf-test] (Live a' : rest) ->
1466.34 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1466.34 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1466.35 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1466.35 s
[opt-env-conf-test] -- * The dashed is an argument
1466.35 s
[opt-env-conf-test] ( case a' of
1466.35 s
[opt-env-conf-test] ArgDashed {} ->
1466.35 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1466.35 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1466.35 s
[opt-env-conf-test] ]
1466.35 s
[opt-env-conf-test] _ ->
1466.35 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1466.35 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1466.35 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1466.35 s
[opt-env-conf-test] ]
1466.35 s
[opt-env-conf-test] )
1466.35 s
[opt-env-conf-test]
1466.35 s
[opt-env-conf-test] -- | Consume an option.
1466.35 s
[opt-env-conf-test] --
1466.35 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1466.35 s
[opt-env-conf-test] @@ -80,63 +80,60 @@
1466.35 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1466.35 s
[opt-env-conf-test] renderError ParseError {..} =
1466.35 s
[opt-env-conf-test] concat
1466.35 s
[opt-env-conf-test] [ case parseErrorMessage of
1466.35 s
[opt-env-conf-test] ParseErrorEmpty ->
1466.35 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1466.35 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1466.35 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1466.35 s
[opt-env-conf-test] ParseErrorNoReaders ->
1466.35 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1466.35 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1466.35 s
[opt-env-conf-test] ]
1466.35 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1466.35 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1466.35 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1466.35 s
[opt-env-conf-test] [ "Missing argument: "
1466.35 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1466.35 s
[opt-env-conf-test] ]
1466.35 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1466.35 s
[opt-env-conf-test] ["Failed to read argument: "]
1466.35 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1466.35 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1466.36 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1466.36 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1466.36 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1466.36 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1466.36 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1466.36 s
[opt-env-conf-test] ["Failed to read option: "]
1466.36 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1466.36 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1466.36 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1466.36 s
[opt-env-conf-test] ["Missing env var: "]
1466.36 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1466.36 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1466.36 s
[opt-env-conf-test] ["Failed to read env var: "]
1466.36 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1466.36 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1466.36 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1466.36 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1466.36 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1466.36 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1466.50 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1466.50 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1466.50 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
1466.50 s
[opt-env-conf-test] - ["Missing command, available commands:"]
1466.50 s
[opt-env-conf-test] - : availableCommandsLines cs
1466.50 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1466.50 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1466.50 s
[opt-env-conf-test] [fore blue "available commands:"]
1466.50 s
[opt-env-conf-test] ]
1466.50 s
[opt-env-conf-test] ++ availableCommandsLines cs
1466.50 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1466.50 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1466.50 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1466.50 s
[opt-env-conf-test] ]
1466.50 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1466.51 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1466.51 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1466.51 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1466.51 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1466.51 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1466.51 s
[opt-env-conf-test] ]
1466.51 s
[opt-env-conf-test]
1466.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1466.51 s
[opt-env-conf-test] @@ -80,63 +80,58 @@
1466.51 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1466.51 s
[opt-env-conf-test] renderError ParseError {..} =
1466.51 s
[opt-env-conf-test] concat
1466.51 s
[opt-env-conf-test] [ case parseErrorMessage of
1466.51 s
[opt-env-conf-test] ParseErrorEmpty ->
1466.51 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1466.51 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1466.51 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1466.51 s
[opt-env-conf-test] ParseErrorNoReaders ->
1466.51 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1466.51 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1466.51 s
[opt-env-conf-test] ]
1466.51 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1466.51 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1466.51 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1466.51 s
[opt-env-conf-test] [ "Missing argument: "
1466.51 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1466.51 s
[opt-env-conf-test] ]
1466.51 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1466.51 s
[opt-env-conf-test] ["Failed to read argument: "]
1466.51 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1466.51 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1466.51 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1466.51 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1466.51 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1466.52 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1466.52 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1466.52 s
[opt-env-conf-test] ["Failed to read option: "]
1466.52 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1466.52 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1466.52 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1466.52 s
[opt-env-conf-test] ["Missing env var: "]
1466.52 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1466.52 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1466.52 s
[opt-env-conf-test] ["Failed to read env var: "]
1466.52 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1466.52 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1466.52 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1466.52 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1466.52 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1466.52 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1466.79 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1466.79 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1466.79 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1466.79 s
[opt-env-conf-test] ["Missing command, available commands:"]
1466.79 s
[opt-env-conf-test] : availableCommandsLines cs
1466.79 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
1466.79 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1466.79 s
[opt-env-conf-test] - [fore blue "available commands:"]
1466.79 s
[opt-env-conf-test] - ]
1466.79 s
[opt-env-conf-test] - ++ availableCommandsLines cs
1466.79 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1466.79 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1466.79 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1466.79 s
[opt-env-conf-test] ]
1466.79 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1466.79 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1466.79 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1466.80 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1466.80 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1466.80 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1466.80 s
[opt-env-conf-test] ]
1466.80 s
[opt-env-conf-test]
1466.80 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1466.80 s
[opt-env-conf-test] @@ -143,69 +143,40 @@
1466.80 s
[opt-env-conf-test] in case firstArg of
1466.80 s
[opt-env-conf-test] -- Skip any dead argument
1466.80 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1466.80 s
[opt-env-conf-test] Live a -> case a of
1466.80 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1466.80 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1466.80 s
[opt-env-conf-test] -- A single dash is always an argument
1466.80 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1466.80 s
[opt-env-conf-test] -- Bare double-dash
1466.80 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1466.80 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1466.80 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1466.80 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1466.80 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1466.80 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1466.80 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1466.80 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1466.80 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1466.80 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1466.80 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1466.80 s
[opt-env-conf-test] -- pop the args as they come.
1466.80 s
[opt-env-conf-test] _ ->
1466.80 s
[opt-env-conf-test] let go = \case
1466.80 s
[opt-env-conf-test] [] -> Nothing
1466.80 s
[opt-env-conf-test] (Dead : rest) -> go rest
1466.80 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1466.80 s
[opt-env-conf-test] in case go afters of
1466.80 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1466.80 s
[opt-env-conf-test] Just (firstLive, rest) ->
1466.80 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1466.80 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1466.80 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1466.81 s
[opt-env-conf-test] -- arguments.
1466.81 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1466.81 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1466.81 s
[opt-env-conf-test] )
1466.81 s
[opt-env-conf-test] ]
1466.81 s
[opt-env-conf-test] - ArgDashed {} ->
1466.81 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
1466.81 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
1466.81 s
[opt-env-conf-test] - -- * The dashed is an argument
1466.81 s
[opt-env-conf-test] - -- TODO we need to continue looking too
1466.81 s
[opt-env-conf-test] - let switchCase =
1466.81 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
1466.81 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1466.81 s
[opt-env-conf-test] - ]
1466.81 s
[opt-env-conf-test] - in case afters of
1466.81 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
1466.81 s
[opt-env-conf-test] - [] -> switchCase
1466.81 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1466.81 s
[opt-env-conf-test] - (Live a' : rest) ->
1466.81 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1466.81 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1466.81 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1466.81 s
[opt-env-conf-test] - -- * The dashed is an argument
1466.81 s
[opt-env-conf-test] - ( case a' of
1466.81 s
[opt-env-conf-test] - ArgDashed {} ->
1466.81 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1466.81 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1466.81 s
[opt-env-conf-test] - ]
1466.81 s
[opt-env-conf-test] - _ ->
1466.81 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1466.81 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1466.81 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1466.98 s
[opt-env-conf-test] - ]
1466.98 s
[opt-env-conf-test] - )
1466.98 s
[opt-env-conf-test]
1466.98 s
[opt-env-conf-test] -- | Consume an option.
1466.98 s
[opt-env-conf-test] --
1466.98 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1466.98 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1466.98 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1466.98 s
[opt-env-conf-test] renderError ParseError {..} =
1466.98 s
[opt-env-conf-test] concat
1466.98 s
[opt-env-conf-test] [ case parseErrorMessage of
1466.98 s
[opt-env-conf-test] ParseErrorEmpty ->
1466.98 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1466.98 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1466.98 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1466.98 s
[opt-env-conf-test] ParseErrorNoReaders ->
1466.98 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1466.99 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1466.99 s
[opt-env-conf-test] ]
1466.99 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1466.99 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1466.99 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1466.99 s
[opt-env-conf-test] [ "Missing argument: "
1466.99 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1466.99 s
[opt-env-conf-test] ]
1466.99 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1466.99 s
[opt-env-conf-test] ["Failed to read argument: "]
1466.99 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1466.99 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1466.99 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1466.99 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1466.99 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1466.99 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1466.99 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1466.99 s
[opt-env-conf-test] ["Failed to read option: "]
1466.99 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1466.99 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1466.99 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1466.99 s
[opt-env-conf-test] ["Missing env var: "]
1466.99 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1466.99 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1466.99 s
[opt-env-conf-test] ["Failed to read env var: "]
1466.99 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1466.99 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1466.99 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1466.99 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1466.99 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
1467.62 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
1467.74 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
1467.74 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
1467.74 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1467.74 s
[opt-env-conf-test] ["Missing command, available commands:"]
1467.74 s
[opt-env-conf-test] : availableCommandsLines cs
1467.74 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1467.74 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1467.74 s
[opt-env-conf-test] [fore blue "available commands:"]
1467.74 s
[opt-env-conf-test] ]
1467.74 s
[opt-env-conf-test] ++ availableCommandsLines cs
1467.74 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1467.74 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1467.74 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1467.74 s
[opt-env-conf-test] ]
1467.74 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1467.74 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1467.74 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1467.74 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1467.74 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1467.74 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1467.74 s
[opt-env-conf-test] ]
1467.74 s
[opt-env-conf-test]
1467.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1467.74 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1467.74 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1467.74 s
[opt-env-conf-test] renderError ParseError {..} =
1467.74 s
[opt-env-conf-test] concat
1467.74 s
[opt-env-conf-test] [ case parseErrorMessage of
1467.75 s
[opt-env-conf-test] ParseErrorEmpty ->
1467.75 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1467.75 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1467.75 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1467.75 s
[opt-env-conf-test] ParseErrorNoReaders ->
1467.75 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1467.75 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1467.75 s
[opt-env-conf-test] ]
1467.75 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1467.75 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1467.75 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1467.75 s
[opt-env-conf-test] [ "Missing argument: "
1467.75 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1467.75 s
[opt-env-conf-test] ]
1467.75 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1467.75 s
[opt-env-conf-test] ["Failed to read argument: "]
1467.75 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1467.75 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1467.75 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1467.75 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1467.75 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1467.75 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1467.75 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1467.75 s
[opt-env-conf-test] ["Failed to read option: "]
1467.75 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1467.75 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1467.75 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1467.75 s
[opt-env-conf-test] ["Missing env var: "]
1467.75 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1467.75 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1467.75 s
[opt-env-conf-test] ["Failed to read env var: "]
1467.75 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1467.75 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1467.75 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1467.75 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1467.75 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1467.75 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1468.31 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1468.31 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1468.31 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1468.31 s
[opt-env-conf-test] ["Missing command, available commands:"]
1468.31 s
[opt-env-conf-test] : availableCommandsLines cs
1468.31 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1468.31 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1468.31 s
[opt-env-conf-test] [fore blue "available commands:"]
1468.31 s
[opt-env-conf-test] ]
1468.31 s
[opt-env-conf-test] ++ availableCommandsLines cs
1468.31 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1468.31 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1468.31 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1468.31 s
[opt-env-conf-test] ]
1468.31 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1468.31 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
1468.31 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1468.31 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1468.31 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1468.32 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1468.32 s
[opt-env-conf-test] ]
1468.32 s
[opt-env-conf-test]
1468.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1468.32 s
[opt-env-conf-test] @@ -80,63 +80,58 @@
1468.32 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1468.32 s
[opt-env-conf-test] renderError ParseError {..} =
1468.32 s
[opt-env-conf-test] concat
1468.32 s
[opt-env-conf-test] [ case parseErrorMessage of
1468.32 s
[opt-env-conf-test] ParseErrorEmpty ->
1468.32 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1468.32 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1468.32 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1468.32 s
[opt-env-conf-test] ParseErrorNoReaders ->
1468.32 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1468.32 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1468.32 s
[opt-env-conf-test] ]
1468.32 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1468.32 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1468.32 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1468.32 s
[opt-env-conf-test] [ "Missing argument: "
1468.32 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1468.32 s
[opt-env-conf-test] ]
1468.32 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1468.32 s
[opt-env-conf-test] ["Failed to read argument: "]
1468.32 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1468.32 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1468.32 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1468.32 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1468.32 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1468.32 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1468.32 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1468.32 s
[opt-env-conf-test] ["Failed to read option: "]
1468.32 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1468.32 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1468.32 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1468.32 s
[opt-env-conf-test] ["Missing env var: "]
1468.32 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1468.32 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1468.32 s
[opt-env-conf-test] ["Failed to read env var: "]
1468.32 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1468.32 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1468.32 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1468.32 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1468.32 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1468.32 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1470.99 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1470.99 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1470.99 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1470.99 s
[opt-env-conf-test] ["Missing command, available commands:"]
1470.99 s
[opt-env-conf-test] : availableCommandsLines cs
1470.99 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1470.99 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1470.99 s
[opt-env-conf-test] [fore blue "available commands:"]
1470.99 s
[opt-env-conf-test] ]
1470.99 s
[opt-env-conf-test] ++ availableCommandsLines cs
1470.99 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
1471.00 s
[opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1471.00 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1471.00 s
[opt-env-conf-test] - ]
1471.00 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
1471.00 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1471.00 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1471.00 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1471.00 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1471.00 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1471.00 s
[opt-env-conf-test] ]
1471.00 s
[opt-env-conf-test]
1471.00 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:372:27-31
1471.00 s
[opt-env-conf-test] @@ -369,7 +369,7 @@
1471.00 s
[opt-env-conf-test] pure $
1471.00 s
[opt-env-conf-test] Just $
1471.00 s
[opt-env-conf-test] maybe
1471.00 s
[opt-env-conf-test] - (c :| [], True)
1471.00 s
[opt-env-conf-test] + (c :| [], False)
1471.00 s
[opt-env-conf-test] (first (c NE.<|))
1471.00 s
[opt-env-conf-test] new
1471.00 s
[opt-env-conf-test]
1471.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
1471.00 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1471.00 s
[opt-env-conf-test] NonEmpty Char ->
1471.00 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1471.00 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1471.00 s
[opt-env-conf-test] - if isLong
1471.00 s
[opt-env-conf-test] + if True
1471.00 s
[opt-env-conf-test] then
1471.00 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1471.00 s
[opt-env-conf-test] then Just Nothing
1471.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1471.00 s
[opt-env-conf-test] @@ -143,69 +143,68 @@
1471.00 s
[opt-env-conf-test] in case firstArg of
1471.00 s
[opt-env-conf-test] -- Skip any dead argument
1471.00 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1471.00 s
[opt-env-conf-test] Live a -> case a of
1471.00 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1471.00 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
1471.00 s
[opt-env-conf-test] -- A single dash is always an argument
1471.00 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1471.00 s
[opt-env-conf-test] -- Bare double-dash
1471.00 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1471.00 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1471.00 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1471.00 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1471.00 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1471.00 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1471.00 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1471.00 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1471.00 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1471.00 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1471.00 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1471.00 s
[opt-env-conf-test] -- pop the args as they come.
1471.01 s
[opt-env-conf-test] _ ->
1471.01 s
[opt-env-conf-test] let go = \case
1471.01 s
[opt-env-conf-test] [] -> Nothing
1471.01 s
[opt-env-conf-test] (Dead : rest) -> go rest
1471.01 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1471.01 s
[opt-env-conf-test] in case go afters of
1471.01 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1471.01 s
[opt-env-conf-test] Just (firstLive, rest) ->
1471.01 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1471.01 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1471.01 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1471.01 s
[opt-env-conf-test] -- arguments.
1479.90 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1479.92 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1479.92 s
[opt-env-conf-test] )
1479.92 s
[opt-env-conf-test] ]
1479.92 s
[opt-env-conf-test] ArgDashed {} ->
1479.92 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1479.92 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1479.92 s
[opt-env-conf-test] -- * The dashed is an argument
1479.92 s
[opt-env-conf-test] -- TODO we need to continue looking too
1479.92 s
[opt-env-conf-test] let switchCase =
1479.92 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1479.92 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1479.92 s
[opt-env-conf-test] ]
1479.92 s
[opt-env-conf-test] in case afters of
1479.92 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1479.92 s
[opt-env-conf-test] [] -> switchCase
1479.92 s
[opt-env-conf-test] (Dead : _) -> switchCase
1479.92 s
[opt-env-conf-test] (Live a' : rest) ->
1479.92 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1479.92 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1479.92 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1479.92 s
[opt-env-conf-test] -- * The dashed is an argument
1479.93 s
[opt-env-conf-test] ( case a' of
1479.93 s
[opt-env-conf-test] ArgDashed {} ->
1479.93 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1479.93 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1479.93 s
[opt-env-conf-test] ]
1479.93 s
[opt-env-conf-test] _ ->
1479.93 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1479.93 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1479.93 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1479.93 s
[opt-env-conf-test] ]
1479.93 s
[opt-env-conf-test] )
1479.93 s
[opt-env-conf-test]
1479.93 s
[opt-env-conf-test] -- | Consume an option.
1479.93 s
[opt-env-conf-test] --
1479.93 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
1479.93 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1479.93 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1479.93 s
[opt-env-conf-test] (Live o : rest) -> case o of
1479.93 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1479.93 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1479.93 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds False cs of
1479.93 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1479.93 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1479.93 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1479.93 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
1479.93 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1479.93 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1479.93 s
[opt-env-conf-test] go (c :| rest) =
1479.93 s
[opt-env-conf-test] if c `elem` cs
1479.93 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1479.93 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, False)) <$> NE.nonEmpty rest
1479.93 s
[opt-env-conf-test] else do
1479.93 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1479.93 s
[opt-env-conf-test] new <- go rest'
1479.93 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:365:34-43
1479.93 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1479.93 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1479.93 s
[opt-env-conf-test] go (c :| rest) =
1479.94 s
[opt-env-conf-test] if c `elem` cs
1479.94 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1479.94 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, not null rest)) <$> NE.nonEmpty rest
1479.94 s
[opt-env-conf-test] else do
1479.94 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1479.94 s
[opt-env-conf-test] new <- go rest'
1479.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
1479.94 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
1479.94 s
[opt-env-conf-test] where
1479.94 s
[opt-env-conf-test] matchesExtension cr
1479.94 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
1479.94 s
[opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1479.94 s
[opt-env-conf-test] + | otherwise = False
1479.94 s
[opt-env-conf-test]
1479.94 s
[opt-env-conf-test] directoryPath :: Completer
1479.94 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
1479.94 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:66:64-22
1479.94 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
1479.94 s
[opt-env-conf-test] [ genericValidate arg,
1479.94 s
[opt-env-conf-test] case arg of
1479.94 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1479.94 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1479.94 s
[opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ not case s of
1479.94 s
[opt-env-conf-test] ('-' : _) -> False
1479.94 s
[opt-env-conf-test] _ -> True
1479.94 s
[opt-env-conf-test] _ -> valid
1479.94 s
[opt-env-conf-test] ]
1479.94 s
[opt-env-conf-test]
1479.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
1479.94 s
[opt-env-conf-test] @@ -93,33 +93,25 @@
1479.94 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1479.94 s
[opt-env-conf-test] )
1479.94 s
[opt-env-conf-test]
1479.95 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1479.95 s
[opt-env-conf-test] Nothing ->
1479.95 s
[opt-env-conf-test] if fp == "."
1479.95 s
[opt-env-conf-test] then do
1479.95 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1479.95 s
[opt-env-conf-test] pure
1479.95 s
[opt-env-conf-test] ( map fromRelDir ds,
1479.95 s
[opt-env-conf-test] map fromRelFile fs
1479.95 s
[opt-env-conf-test] )
1479.95 s
[opt-env-conf-test] else pure ([], [])
1479.95 s
[opt-env-conf-test] - Just (Abs af) -> do
1479.95 s
[opt-env-conf-test] - let dir = parent af
1479.95 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1479.95 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving dir
1479.95 s
[opt-env-conf-test] - pure
1479.95 s
[opt-env-conf-test] - ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1479.95 s
[opt-env-conf-test] - map (fromAbsFile . (dir </>)) $ filterHidden fs
1479.95 s
[opt-env-conf-test] - )
1479.95 s
[opt-env-conf-test] Just (Rel rf) -> do
1479.95 s
[opt-env-conf-test] let dir = parent rf
1479.95 s
[opt-env-conf-test] let ad = baseDir </> dir
1479.95 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1479.95 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1479.95 s
[opt-env-conf-test] pure
1479.95 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1479.95 s
[opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
1479.95 s
[opt-env-conf-test] )
1479.95 s
[opt-env-conf-test]
1479.95 s
[opt-env-conf-test] pure $
1479.95 s
[opt-env-conf-test] concat
1479.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:144:9-50
1479.95 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1479.95 s
[opt-env-conf-test] pure $ filter matchesExtension results
1479.95 s
[opt-env-conf-test] where
1479.95 s
[opt-env-conf-test] matchesExtension cr
1479.95 s
[opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
1479.95 s
[opt-env-conf-test] + | not "/" `isSuffixOf` completionResultValue cr = True
1479.95 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1479.95 s
[opt-env-conf-test]
1479.95 s
[opt-env-conf-test] directoryPath :: Completer
1479.95 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
1479.95 s
[opt-env-conf-test] @@ -93,33 +93,24 @@
1479.95 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1479.95 s
[opt-env-conf-test] )
1479.95 s
[opt-env-conf-test]
1479.95 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1479.95 s
[opt-env-conf-test] Nothing ->
1479.96 s
[opt-env-conf-test] if fp == "."
1479.96 s
[opt-env-conf-test] then do
1479.96 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1479.96 s
[opt-env-conf-test] pure
1479.96 s
[opt-env-conf-test] ( map fromRelDir ds,
1479.96 s
[opt-env-conf-test] map fromRelFile fs
1479.96 s
[opt-env-conf-test] )
1479.96 s
[opt-env-conf-test] else pure ([], [])
1479.96 s
[opt-env-conf-test] Just (Abs af) -> do
1479.96 s
[opt-env-conf-test] let dir = parent af
1479.96 s
[opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1479.96 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1479.96 s
[opt-env-conf-test] pure
1479.96 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1479.96 s
[opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
1479.96 s
[opt-env-conf-test] )
1479.96 s
[opt-env-conf-test] - Just (Rel rf) -> do
1479.96 s
[opt-env-conf-test] - let dir = parent rf
1479.96 s
[opt-env-conf-test] - let ad = baseDir </> dir
1479.96 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1479.96 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
1479.96 s
[opt-env-conf-test] - pure
1479.96 s
[opt-env-conf-test] - ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1479.96 s
[opt-env-conf-test] - map (fromRelFile . (dir </>)) $ filterHidden fs
1479.96 s
[opt-env-conf-test] - )
1479.96 s
[opt-env-conf-test]
1479.96 s
[opt-env-conf-test] pure $
1479.96 s
[opt-env-conf-test] concat
1479.96 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:22-24
1479.96 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1479.96 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1479.96 s
[opt-env-conf-test] c1 <- go p1
1479.96 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1479.96 s
[opt-env-conf-test] - pure $ c1 || c2
1479.96 s
[opt-env-conf-test] + pure $ c1 || not c2
1479.96 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1479.96 s
[opt-env-conf-test] case settingHelp of
1479.96 s
[opt-env-conf-test] Nothing ->
1479.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
1479.96 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1479.96 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1479.96 s
[opt-env-conf-test] go (c :| rest) =
1479.96 s
[opt-env-conf-test] if c `elem` cs
1479.96 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1479.96 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, True)) <$> NE.nonEmpty rest
1479.96 s
[opt-env-conf-test] else do
1479.96 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1479.96 s
[opt-env-conf-test] new <- go rest'
1479.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
1479.96 s
[opt-env-conf-test] @@ -140,72 +140,9 @@
1479.96 s
[opt-env-conf-test] (firstArg : afters) ->
1479.96 s
[opt-env-conf-test] let befores = argsBefore as
1479.96 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
1479.96 s
[opt-env-conf-test] in case firstArg of
1479.96 s
[opt-env-conf-test] -- Skip any dead argument
1479.96 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1479.96 s
[opt-env-conf-test] - Live a -> case a of
1479.96 s
[opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
1479.96 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
1479.96 s
[opt-env-conf-test] - -- A single dash is always an argument
1479.97 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
1479.97 s
[opt-env-conf-test] - -- Bare double-dash
1479.97 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
1479.97 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
1479.97 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1479.97 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
1479.97 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
1479.97 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
1479.97 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1479.97 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1479.97 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
1479.97 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
1479.97 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
1479.97 s
[opt-env-conf-test] - -- pop the args as they come.
1479.97 s
[opt-env-conf-test] - _ ->
1479.97 s
[opt-env-conf-test] - let go = \case
1479.97 s
[opt-env-conf-test] - [] -> Nothing
1479.97 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1479.97 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1479.97 s
[opt-env-conf-test] - in case go afters of
1479.97 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1479.97 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1479.97 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1479.97 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1479.97 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1479.98 s
[opt-env-conf-test] - -- arguments.
1479.98 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1479.98 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1479.98 s
[opt-env-conf-test] - )
1479.98 s
[opt-env-conf-test] - ]
1479.98 s
[opt-env-conf-test] - ArgDashed {} ->
1479.98 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
1479.98 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
1479.98 s
[opt-env-conf-test] - -- * The dashed is an argument
1479.98 s
[opt-env-conf-test] - -- TODO we need to continue looking too
1479.98 s
[opt-env-conf-test] - let switchCase =
1479.98 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
1479.98 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1479.98 s
[opt-env-conf-test] - ]
1479.98 s
[opt-env-conf-test] - in case afters of
1479.98 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
1479.98 s
[opt-env-conf-test] - [] -> switchCase
1479.98 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1479.98 s
[opt-env-conf-test] - (Live a' : rest) ->
1479.98 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1479.98 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1479.98 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1479.98 s
[opt-env-conf-test] - -- * The dashed is an argument
1479.98 s
[opt-env-conf-test] - ( case a' of
1479.98 s
[opt-env-conf-test] - ArgDashed {} ->
1479.99 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1482.56 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1482.56 s
[opt-env-conf-test] - ]
1482.56 s
[opt-env-conf-test] - _ ->
1482.56 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1482.56 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1482.56 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1482.56 s
[opt-env-conf-test] - ]
1482.56 s
[opt-env-conf-test] - )
1482.56 s
[opt-env-conf-test]
1482.57 s
[opt-env-conf-test] -- | Consume an option.
1482.57 s
[opt-env-conf-test] --
1482.57 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:64:31-36
1482.57 s
[opt-env-conf-test] @@ -61,7 +61,7 @@
1482.57 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1482.57 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1482.57 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1482.57 s
[opt-env-conf-test] - ParseErrorConfigRead _ _ -> False
1482.57 s
[opt-env-conf-test] + ParseErrorConfigRead _ _ -> True
1482.57 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1482.57 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1482.57 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1482.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
1482.57 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1482.57 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1482.57 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1482.57 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1482.57 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1482.57 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ True
1482.57 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1482.57 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1482.57 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1482.57 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:61:32-36
1482.57 s
[opt-env-conf-test] @@ -58,7 +58,7 @@
1482.57 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1482.57 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1482.57 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1482.57 s
[opt-env-conf-test] - ParseErrorMissingEnvVar _ -> True
1482.57 s
[opt-env-conf-test] + ParseErrorMissingEnvVar _ -> False
1482.57 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1482.57 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1482.57 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1482.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
1482.58 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1482.58 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1482.58 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1482.58 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1482.58 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ False
1482.58 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1482.58 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:63:33-37
1482.58 s
[opt-env-conf-test] @@ -60,7 +60,7 @@
1482.58 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1482.58 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1482.58 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1482.58 s
[opt-env-conf-test] - ParseErrorMissingConfVal _ -> True
1482.58 s
[opt-env-conf-test] + ParseErrorMissingConfVal _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1482.58 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1482.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
1482.58 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1482.58 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1482.58 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1482.58 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1482.58 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> False
1482.58 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1482.58 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:34-47
1482.58 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1482.58 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1482.58 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1482.58 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1482.58 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not not $ null cs
1482.58 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1482.58 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:60:32-36
1482.58 s
[opt-env-conf-test] @@ -57,7 +57,7 @@
1482.58 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1482.58 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1482.58 s
[opt-env-conf-test] - ParseErrorMissingOption _ -> True
1482.58 s
[opt-env-conf-test] + ParseErrorMissingOption _ -> False
1482.58 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1482.58 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1482.59 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1482.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:62:28-33
1482.59 s
[opt-env-conf-test] @@ -59,7 +59,7 @@
1482.59 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1482.59 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1482.59 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1482.59 s
[opt-env-conf-test] - ParseErrorEnvRead _ _ -> False
1482.59 s
[opt-env-conf-test] + ParseErrorEnvRead _ _ -> True
1482.59 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1482.59 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1482.59 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1482.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:67:31-36
1482.59 s
[opt-env-conf-test] @@ -64,7 +64,7 @@
1482.59 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1482.59 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1482.59 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1482.59 s
[opt-env-conf-test] - ParseErrorAllOrNothing _ -> False
1482.59 s
[opt-env-conf-test] + ParseErrorAllOrNothing _ -> True
1482.59 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1482.59 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
1482.59 s
[opt-env-conf-test]
1482.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:57:33-38
1482.59 s
[opt-env-conf-test] @@ -54,7 +54,7 @@
1482.59 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1482.59 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1482.59 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1482.59 s
[opt-env-conf-test] - ParseErrorArgumentRead _ _ -> False
1482.59 s
[opt-env-conf-test] + ParseErrorArgumentRead _ _ -> True
1482.59 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1482.59 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1482.59 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1482.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:68:31-36
1482.59 s
[opt-env-conf-test] @@ -65,7 +65,7 @@
1482.59 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1482.59 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1482.59 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1482.59 s
[opt-env-conf-test] - ParseErrorUnrecognised _ -> False
1482.59 s
[opt-env-conf-test] + ParseErrorUnrecognised _ -> True
1482.59 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
1482.59 s
[opt-env-conf-test]
1482.59 s
[opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
1482.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:66:40-45
1482.59 s
[opt-env-conf-test] @@ -63,7 +63,7 @@
1482.59 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1482.59 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1482.59 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1482.59 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> False
1482.59 s
[opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> True
1482.59 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1482.59 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1482.59 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
1482.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:59:31-36
1482.59 s
[opt-env-conf-test] @@ -56,7 +56,7 @@
1482.59 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1482.59 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1482.59 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1482.60 s
[opt-env-conf-test] - ParseErrorOptionRead _ _ -> False
1482.60 s
[opt-env-conf-test] + ParseErrorOptionRead _ _ -> True
1482.60 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1482.60 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1482.60 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1482.60 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:58:32-36
1482.60 s
[opt-env-conf-test] @@ -55,7 +55,7 @@
1482.60 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1482.60 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1482.60 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1482.60 s
[opt-env-conf-test] - ParseErrorMissingSwitch _ -> True
1482.60 s
[opt-env-conf-test] + ParseErrorMissingSwitch _ -> False
1482.60 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1482.60 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1482.60 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1482.60 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:69:36-41
1482.60 s
[opt-env-conf-test] @@ -66,7 +66,7 @@
1482.60 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1482.60 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1482.60 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1482.60 s
[opt-env-conf-test] - ParseErrorMissingCapability _ -> False
1482.60 s
[opt-env-conf-test] + ParseErrorMissingCapability _ -> True
1482.60 s
[opt-env-conf-test]
1482.60 s
[opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
1482.60 s
[opt-env-conf-test] eraseErrorSrcLocs = fmap eraseErrorSrcLoc
1482.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
1482.60 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
1482.60 s
[opt-env-conf-test] ParseErrorEmpty -> True
1482.60 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1482.60 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1482.60 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
1482.60 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> True
1482.60 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1482.60 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1482.60 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1482.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
1482.60 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1482.60 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1482.60 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1482.60 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1482.60 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1482.60 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> True
1482.60 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1482.60 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1482.60 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1482.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:55:41-51
1482.60 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
1482.60 s
[opt-env-conf-test] ParseErrorEmpty -> True
1482.60 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1482.60 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1482.60 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
1483.13 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> not forgivable
1483.13 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1483.13 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1483.13 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1483.14 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:53:29-34
1483.14 s
[opt-env-conf-test] @@ -50,7 +50,7 @@
1483.14 s
[opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
1483.14 s
[opt-env-conf-test] errorMessageIsForgivable = \case
1483.14 s
[opt-env-conf-test] ParseErrorEmpty -> True
1483.14 s
[opt-env-conf-test] - ParseErrorEmptySetting -> False
1483.14 s
[opt-env-conf-test] + ParseErrorEmptySetting -> True
1483.14 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1483.14 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1483.14 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1483.14 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:52:22-26
1483.14 s
[opt-env-conf-test] @@ -49,7 +49,7 @@
1483.14 s
[opt-env-conf-test]
1483.14 s
[opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
1483.14 s
[opt-env-conf-test] errorMessageIsForgivable = \case
1483.14 s
[opt-env-conf-test] - ParseErrorEmpty -> True
1483.14 s
[opt-env-conf-test] + ParseErrorEmpty -> False
1483.14 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1483.14 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1483.14 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1483.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1483.15 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1483.15 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1483.15 s
[opt-env-conf-test] renderError ParseError {..} =
1483.15 s
[opt-env-conf-test] concat
1483.15 s
[opt-env-conf-test] [ case parseErrorMessage of
1483.15 s
[opt-env-conf-test] ParseErrorEmpty ->
1483.15 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1483.15 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1483.15 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1483.15 s
[opt-env-conf-test] ParseErrorNoReaders ->
1483.15 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1483.15 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1483.15 s
[opt-env-conf-test] ]
1483.15 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1483.15 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1483.15 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1483.15 s
[opt-env-conf-test] [ "Missing argument: "
1483.15 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1483.15 s
[opt-env-conf-test] ]
1483.15 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1483.15 s
[opt-env-conf-test] ["Failed to read argument: "]
1483.15 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1483.15 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1483.15 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1483.15 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1483.16 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1483.16 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1483.16 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1483.16 s
[opt-env-conf-test] ["Failed to read option: "]
1483.16 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1483.16 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1483.16 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1483.16 s
[opt-env-conf-test] ["Missing env var: "]
1483.16 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1483.16 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1483.16 s
[opt-env-conf-test] ["Failed to read env var: "]
1483.16 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1483.16 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1483.16 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1483.16 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1483.16 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1483.16 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1483.81 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1483.81 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1483.81 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1483.81 s
[opt-env-conf-test] ["Missing command, available commands:"]
1483.81 s
[opt-env-conf-test] : availableCommandsLines cs
1483.81 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1483.81 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1483.81 s
[opt-env-conf-test] [fore blue "available commands:"]
1483.81 s
[opt-env-conf-test] ]
1483.81 s
[opt-env-conf-test] ++ availableCommandsLines cs
1483.81 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1483.81 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1483.81 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1483.81 s
[opt-env-conf-test] ]
1483.81 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1483.81 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1483.81 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1483.81 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
1483.81 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
1483.81 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1483.81 s
[opt-env-conf-test] ]
1483.81 s
[opt-env-conf-test]
1483.81 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:56:34-38
1483.81 s
[opt-env-conf-test] @@ -53,7 +53,7 @@
1483.81 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1483.81 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1483.81 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1483.81 s
[opt-env-conf-test] - ParseErrorMissingArgument _ -> True
1483.81 s
[opt-env-conf-test] + ParseErrorMissingArgument _ -> False
1483.81 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1483.81 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1483.81 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1483.81 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:54:26-31
1483.82 s
[opt-env-conf-test] @@ -51,7 +51,7 @@
1483.82 s
[opt-env-conf-test] errorMessageIsForgivable = \case
1483.82 s
[opt-env-conf-test] ParseErrorEmpty -> True
1483.82 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1483.82 s
[opt-env-conf-test] - ParseErrorNoReaders -> False
1483.82 s
[opt-env-conf-test] + ParseErrorNoReaders -> True
1483.82 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1483.82 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1483.82 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1483.82 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
1483.82 s
[opt-env-conf-test] @@ -80,65 +80,8 @@
1483.82 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1483.82 s
[opt-env-conf-test] renderError ParseError {..} =
1483.82 s
[opt-env-conf-test] concat
1483.82 s
[opt-env-conf-test] - [ case parseErrorMessage of
1483.82 s
[opt-env-conf-test] - ParseErrorEmpty ->
1483.82 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
1483.82 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
1483.82 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
1483.82 s
[opt-env-conf-test] - ParseErrorNoReaders ->
1483.82 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1483.82 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1483.82 s
[opt-env-conf-test] - ]
1483.82 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
1483.82 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1483.82 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
1483.82 s
[opt-env-conf-test] - [ "Missing argument: "
1483.82 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
1483.82 s
[opt-env-conf-test] - ]
1483.82 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
1483.82 s
[opt-env-conf-test] - ["Failed to read argument: "]
1483.82 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1483.82 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1483.82 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
1483.82 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1483.82 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
1483.82 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1483.82 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
1483.82 s
[opt-env-conf-test] - ["Failed to read option: "]
1483.82 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1483.82 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1483.82 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
1483.82 s
[opt-env-conf-test] - ["Missing env var: "]
1483.82 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1483.82 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
1483.82 s
[opt-env-conf-test] - ["Failed to read env var: "]
1483.82 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1483.82 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1483.82 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
1483.82 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
1483.82 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
1483.82 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
1483.82 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
1483.82 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
1483.82 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
1483.82 s
[opt-env-conf-test] - ["Missing command, available commands:"]
1483.82 s
[opt-env-conf-test] - : availableCommandsLines cs
1483.82 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
1483.82 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1483.82 s
[opt-env-conf-test] - [fore blue "available commands:"]
1483.82 s
[opt-env-conf-test] - ]
1483.82 s
[opt-env-conf-test] - ++ availableCommandsLines cs
1483.82 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
1483.82 s
[opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1483.82 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1483.82 s
[opt-env-conf-test] - ]
1483.82 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
1483.82 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
1483.82 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1483.82 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
1483.82 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
1483.82 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1483.82 s
[opt-env-conf-test] ]
1483.82 s
[opt-env-conf-test]
1483.82 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1483.82 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1483.82 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
1483.82 s
[opt-env-conf-test] @@ -80,65 +80,7 @@
1483.82 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1483.82 s
[opt-env-conf-test] renderError ParseError {..} =
1483.82 s
[opt-env-conf-test] concat
1483.82 s
[opt-env-conf-test] - [ case parseErrorMessage of
1483.82 s
[opt-env-conf-test] - ParseErrorEmpty ->
1483.82 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
1483.82 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
1483.83 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
1483.83 s
[opt-env-conf-test] - ParseErrorNoReaders ->
1483.83 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1483.83 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1483.83 s
[opt-env-conf-test] - ]
1483.83 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
1483.83 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1483.83 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
1483.83 s
[opt-env-conf-test] - [ "Missing argument: "
1483.83 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
1483.83 s
[opt-env-conf-test] - ]
1483.83 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
1483.83 s
[opt-env-conf-test] - ["Failed to read argument: "]
1483.83 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1483.83 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1483.83 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
1483.83 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1483.83 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
1483.83 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1483.83 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
1483.83 s
[opt-env-conf-test] - ["Failed to read option: "]
1483.83 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1483.83 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1483.83 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
1483.83 s
[opt-env-conf-test] - ["Missing env var: "]
1483.83 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1483.83 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
1483.83 s
[opt-env-conf-test] - ["Failed to read env var: "]
1483.83 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1496.46 s
[opt-env-conf-test] - Killed: 1132
1496.46 s
[opt-env-conf-test] Survived: 268
1496.48 s
[opt-env-conf-test] Uncovered: 350
1496.48 s
[opt-env-conf-test]
1496.48 s
[opt-env-conf-test] Surviving mutations:
1496.48 s
[opt-env-conf-test]
1496.49 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Error.hs:66:40-45
1496.49 s
[opt-env-conf-test] @@ -63,7 +63,7 @@
1496.49 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1496.49 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1496.49 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1496.49 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> False
1496.49 s
[opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> True
1496.49 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1496.49 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1496.49 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
1496.49 s
[opt-env-conf-test]
1496.49 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:34-47
1496.49 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1496.49 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1496.49 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1496.49 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1496.49 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1496.49 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> True
1496.49 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1496.49 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1496.49 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1496.49 s
[opt-env-conf-test]
1496.50 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:40-47
1496.50 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1496.50 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1496.50 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1496.50 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1496.50 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1496.50 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ False
1496.50 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1496.50 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1496.50 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1496.50 s
[opt-env-conf-test]
1496.50 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1496.50 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1496.50 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1496.50 s
[opt-env-conf-test] renderError ParseError {..} =
1496.50 s
[opt-env-conf-test] concat
1496.50 s
[opt-env-conf-test] [ case parseErrorMessage of
1496.50 s
[opt-env-conf-test] ParseErrorEmpty ->
1496.50 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1496.50 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1496.51 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1496.51 s
[opt-env-conf-test] ParseErrorNoReaders ->
1496.51 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1496.51 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1496.51 s
[opt-env-conf-test] ]
1496.51 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1496.51 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1496.51 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1496.51 s
[opt-env-conf-test] [ "Missing argument: "
1496.51 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1496.51 s
[opt-env-conf-test] ]
1496.51 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1496.51 s
[opt-env-conf-test] ["Failed to read argument: "]
1496.51 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.51 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.51 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1496.51 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.51 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1496.51 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.51 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1496.51 s
[opt-env-conf-test] ["Failed to read option: "]
1496.51 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.51 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.51 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1496.51 s
[opt-env-conf-test] ["Missing env var: "]
1496.51 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.51 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1496.51 s
[opt-env-conf-test] ["Failed to read env var: "]
1496.51 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.51 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.51 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1496.51 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1496.51 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1496.51 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1496.51 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1496.51 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1496.51 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1496.51 s
[opt-env-conf-test] ["Missing command, available commands:"]
1496.51 s
[opt-env-conf-test] : availableCommandsLines cs
1496.51 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1496.52 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1496.52 s
[opt-env-conf-test] [fore blue "available commands:"]
1496.52 s
[opt-env-conf-test] ]
1496.52 s
[opt-env-conf-test] ++ availableCommandsLines cs
1496.52 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1496.52 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1496.52 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1496.52 s
[opt-env-conf-test] ]
1496.52 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1496.52 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1496.52 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1496.52 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
1496.52 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
1496.52 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1496.52 s
[opt-env-conf-test] ]
1496.52 s
[opt-env-conf-test]
1496.52 s
[opt-env-conf-test]
1496.52 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1496.52 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1496.52 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1496.52 s
[opt-env-conf-test] renderError ParseError {..} =
1496.52 s
[opt-env-conf-test] concat
1496.52 s
[opt-env-conf-test] [ case parseErrorMessage of
1496.52 s
[opt-env-conf-test] ParseErrorEmpty ->
1496.52 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1496.52 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1496.52 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1496.52 s
[opt-env-conf-test] ParseErrorNoReaders ->
1496.52 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1496.52 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1496.52 s
[opt-env-conf-test] ]
1496.52 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1496.52 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1496.52 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1496.52 s
[opt-env-conf-test] [ "Missing argument: "
1496.52 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1496.52 s
[opt-env-conf-test] ]
1496.52 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1496.52 s
[opt-env-conf-test] ["Failed to read argument: "]
1496.53 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.53 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.53 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1496.53 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.53 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1496.53 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.53 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1496.53 s
[opt-env-conf-test] ["Failed to read option: "]
1496.53 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.53 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.53 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1496.53 s
[opt-env-conf-test] ["Missing env var: "]
1496.53 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.53 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1496.53 s
[opt-env-conf-test] ["Failed to read env var: "]
1496.53 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.53 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.53 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1496.53 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1496.53 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
1496.53 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
1496.53 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
1496.53 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
1496.53 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1496.53 s
[opt-env-conf-test] ["Missing command, available commands:"]
1496.53 s
[opt-env-conf-test] : availableCommandsLines cs
1496.53 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1496.53 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1496.53 s
[opt-env-conf-test] [fore blue "available commands:"]
1496.53 s
[opt-env-conf-test] ]
1496.53 s
[opt-env-conf-test] ++ availableCommandsLines cs
1496.53 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1496.53 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1496.53 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1496.53 s
[opt-env-conf-test] ]
1496.53 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1496.53 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1496.53 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1496.53 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1496.53 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1496.53 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1496.53 s
[opt-env-conf-test] ]
1496.53 s
[opt-env-conf-test]
1496.54 s
[opt-env-conf-test]
1496.54 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1496.54 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1496.54 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1496.54 s
[opt-env-conf-test] renderError ParseError {..} =
1496.54 s
[opt-env-conf-test] concat
1496.54 s
[opt-env-conf-test] [ case parseErrorMessage of
1496.54 s
[opt-env-conf-test] ParseErrorEmpty ->
1496.54 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1496.54 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1496.54 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1496.54 s
[opt-env-conf-test] ParseErrorNoReaders ->
1496.54 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1496.54 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1496.54 s
[opt-env-conf-test] ]
1496.54 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1496.54 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1496.54 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1496.54 s
[opt-env-conf-test] [ "Missing argument: "
1496.54 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1496.54 s
[opt-env-conf-test] ]
1496.54 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1496.54 s
[opt-env-conf-test] ["Failed to read argument: "]
1496.54 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.54 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.54 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1496.54 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.54 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1496.54 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.54 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1496.54 s
[opt-env-conf-test] ["Failed to read option: "]
1496.54 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.54 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.54 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1496.54 s
[opt-env-conf-test] ["Missing env var: "]
1496.54 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.54 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1496.54 s
[opt-env-conf-test] ["Failed to read env var: "]
1496.54 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.54 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.54 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
1496.54 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
1496.54 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1496.54 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1496.54 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1496.54 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1496.54 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1496.54 s
[opt-env-conf-test] ["Missing command, available commands:"]
1496.54 s
[opt-env-conf-test] : availableCommandsLines cs
1496.55 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1496.55 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1496.55 s
[opt-env-conf-test] [fore blue "available commands:"]
1496.55 s
[opt-env-conf-test] ]
1496.55 s
[opt-env-conf-test] ++ availableCommandsLines cs
1496.55 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1496.55 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1496.55 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1496.55 s
[opt-env-conf-test] ]
1496.55 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1496.55 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1496.55 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1496.55 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1496.55 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1496.55 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1496.55 s
[opt-env-conf-test] ]
1496.55 s
[opt-env-conf-test]
1496.55 s
[opt-env-conf-test]
1496.55 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1496.55 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1496.55 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1496.55 s
[opt-env-conf-test] renderError ParseError {..} =
1496.55 s
[opt-env-conf-test] concat
1496.55 s
[opt-env-conf-test] [ case parseErrorMessage of
1496.55 s
[opt-env-conf-test] ParseErrorEmpty ->
1496.55 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1496.55 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1496.55 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1496.55 s
[opt-env-conf-test] ParseErrorNoReaders ->
1496.55 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1496.55 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1496.55 s
[opt-env-conf-test] ]
1496.55 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1496.55 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1496.55 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1496.55 s
[opt-env-conf-test] [ "Missing argument: "
1496.55 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1496.55 s
[opt-env-conf-test] ]
1496.55 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1496.55 s
[opt-env-conf-test] ["Failed to read argument: "]
1496.55 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.55 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.55 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1496.55 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.55 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
1496.55 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.55 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1496.55 s
[opt-env-conf-test] ["Failed to read option: "]
1496.56 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.56 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.56 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1496.56 s
[opt-env-conf-test] ["Missing env var: "]
1496.56 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.56 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1496.56 s
[opt-env-conf-test] ["Failed to read env var: "]
1496.56 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.56 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.56 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1496.56 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1496.56 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1496.56 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1496.56 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1496.56 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1496.56 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1496.56 s
[opt-env-conf-test] ["Missing command, available commands:"]
1496.56 s
[opt-env-conf-test] : availableCommandsLines cs
1496.56 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1496.56 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1496.56 s
[opt-env-conf-test] [fore blue "available commands:"]
1496.56 s
[opt-env-conf-test] ]
1496.56 s
[opt-env-conf-test] ++ availableCommandsLines cs
1496.56 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1496.56 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1496.56 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1496.56 s
[opt-env-conf-test] ]
1496.56 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1496.56 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1496.56 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1496.56 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1496.56 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1496.56 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1496.56 s
[opt-env-conf-test] ]
1496.56 s
[opt-env-conf-test]
1496.56 s
[opt-env-conf-test]
1496.56 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1496.56 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1496.56 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1496.56 s
[opt-env-conf-test] renderError ParseError {..} =
1496.56 s
[opt-env-conf-test] concat
1496.56 s
[opt-env-conf-test] [ case parseErrorMessage of
1496.56 s
[opt-env-conf-test] ParseErrorEmpty ->
1496.56 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1496.56 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1496.56 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1496.56 s
[opt-env-conf-test] - ParseErrorNoReaders ->
1496.56 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1496.56 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1496.56 s
[opt-env-conf-test] - ]
1496.56 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1496.56 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1496.56 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1496.56 s
[opt-env-conf-test] [ "Missing argument: "
1496.56 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1496.56 s
[opt-env-conf-test] ]
1496.56 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1496.57 s
[opt-env-conf-test] ["Failed to read argument: "]
1496.57 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.57 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.57 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1496.57 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.57 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1496.57 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.57 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1496.57 s
[opt-env-conf-test] ["Failed to read option: "]
1496.57 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.57 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.57 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1496.57 s
[opt-env-conf-test] ["Missing env var: "]
1496.57 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.57 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1496.57 s
[opt-env-conf-test] ["Failed to read env var: "]
1496.57 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.57 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.57 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1496.57 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1496.57 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1496.57 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1496.57 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1496.57 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1496.57 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1496.57 s
[opt-env-conf-test] ["Missing command, available commands:"]
1496.57 s
[opt-env-conf-test] : availableCommandsLines cs
1496.57 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1496.57 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1496.57 s
[opt-env-conf-test] [fore blue "available commands:"]
1496.57 s
[opt-env-conf-test] ]
1496.57 s
[opt-env-conf-test] ++ availableCommandsLines cs
1496.57 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1496.57 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1496.57 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1496.57 s
[opt-env-conf-test] ]
1496.57 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1496.57 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1496.57 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1496.57 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1496.57 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1496.57 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1496.57 s
[opt-env-conf-test] ]
1496.57 s
[opt-env-conf-test]
1496.57 s
[opt-env-conf-test]
1496.57 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1496.57 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1496.57 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1496.57 s
[opt-env-conf-test] renderError ParseError {..} =
1496.57 s
[opt-env-conf-test] concat
1496.57 s
[opt-env-conf-test] [ case parseErrorMessage of
1496.57 s
[opt-env-conf-test] ParseErrorEmpty ->
1496.57 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1496.57 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
1496.57 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
1496.57 s
[opt-env-conf-test] ParseErrorNoReaders ->
1496.57 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1496.57 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1496.57 s
[opt-env-conf-test] ]
1496.57 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1496.57 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1496.57 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1496.57 s
[opt-env-conf-test] [ "Missing argument: "
1496.57 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1496.57 s
[opt-env-conf-test] ]
1496.57 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1496.57 s
[opt-env-conf-test] ["Failed to read argument: "]
1496.57 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.57 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.57 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1496.58 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.58 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1496.58 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1496.58 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1496.58 s
[opt-env-conf-test] ["Failed to read option: "]
1496.58 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1496.58 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.58 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1496.58 s
[opt-env-conf-test] ["Missing env var: "]
1496.58 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.58 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1496.58 s
[opt-env-conf-test] ["Failed to read env var: "]
1496.58 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1496.58 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.58 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1496.58 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1496.58 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1496.58 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1496.58 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1496.58 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1496.58 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1496.58 s
[opt-env-conf-test] ["Missing command, available commands:"]
1496.58 s
[opt-env-conf-test] : availableCommandsLines cs
1496.58 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1496.58 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1496.58 s
[opt-env-conf-test] [fore blue "available commands:"]
1496.58 s
[opt-env-conf-test] ]
1496.58 s
[opt-env-conf-test] ++ availableCommandsLines cs
1496.58 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1496.58 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1496.58 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1496.58 s
[opt-env-conf-test] ]
1496.58 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1496.58 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1496.58 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1496.58 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1496.58 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1496.58 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1496.58 s
[opt-env-conf-test] ]
1496.58 s
[opt-env-conf-test]
1496.58 s
[opt-env-conf-test]
1496.58 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
1496.58 s
[opt-env-conf-test] @@ -60,14 +60,13 @@
1496.58 s
[opt-env-conf-test] instance Validity Arg where
1496.58 s
[opt-env-conf-test] validate arg =
1496.58 s
[opt-env-conf-test] mconcat
1496.58 s
[opt-env-conf-test] - [ genericValidate arg,
1496.58 s
[opt-env-conf-test] case arg of
1496.58 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1496.58 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1496.58 s
[opt-env-conf-test] ('-' : _) -> False
1496.58 s
[opt-env-conf-test] _ -> True
1496.58 s
[opt-env-conf-test] _ -> valid
1496.58 s
[opt-env-conf-test] ]
1496.58 s
[opt-env-conf-test]
1496.58 s
[opt-env-conf-test] instance IsString Arg where
1496.58 s
[opt-env-conf-test] fromString = parseArg
1496.58 s
[opt-env-conf-test]
1496.58 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
1496.58 s
[opt-env-conf-test] @@ -60,14 +60,7 @@
1496.58 s
[opt-env-conf-test] instance Validity Arg where
1496.58 s
[opt-env-conf-test] validate arg =
1496.58 s
[opt-env-conf-test] mconcat
1496.58 s
[opt-env-conf-test] - [ genericValidate arg,
1496.58 s
[opt-env-conf-test] - case arg of
1496.58 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1496.58 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1496.58 s
[opt-env-conf-test] - ('-' : _) -> False
1496.58 s
[opt-env-conf-test] - _ -> True
1496.58 s
[opt-env-conf-test] - _ -> valid
1496.58 s
[opt-env-conf-test] ]
1496.58 s
[opt-env-conf-test]
1496.58 s
[opt-env-conf-test] instance IsString Arg where
1496.58 s
[opt-env-conf-test] fromString = parseArg
1496.59 s
[opt-env-conf-test]
1496.59 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1496.59 s
[opt-env-conf-test] @@ -61,12 +61,9 @@
1496.59 s
[opt-env-conf-test] validate arg =
1496.59 s
[opt-env-conf-test] mconcat
1496.59 s
[opt-env-conf-test] [ genericValidate arg,
1496.59 s
[opt-env-conf-test] case arg of
1496.59 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1496.59 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1496.59 s
[opt-env-conf-test] - ('-' : _) -> False
1496.59 s
[opt-env-conf-test] - _ -> True
1496.59 s
[opt-env-conf-test] _ -> valid
1496.59 s
[opt-env-conf-test] ]
1496.59 s
[opt-env-conf-test]
1496.59 s
[opt-env-conf-test] instance IsString Arg where
1496.59 s
[opt-env-conf-test]
1496.59 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1496.59 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
1496.59 s
[opt-env-conf-test] validate arg =
1496.59 s
[opt-env-conf-test] mconcat
1496.59 s
[opt-env-conf-test] [ genericValidate arg,
1496.59 s
[opt-env-conf-test] case arg of
1496.59 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1496.59 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1496.59 s
[opt-env-conf-test] ('-' : _) -> False
1496.59 s
[opt-env-conf-test] _ -> True
1496.59 s
[opt-env-conf-test] _ -> valid
1496.59 s
[opt-env-conf-test] ]
1496.59 s
[opt-env-conf-test]
1496.59 s
[opt-env-conf-test] instance IsString Arg where
1496.59 s
[opt-env-conf-test]
1496.59 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:66:64-22
1496.59 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
1496.59 s
[opt-env-conf-test] [ genericValidate arg,
1496.59 s
[opt-env-conf-test] case arg of
1496.59 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1496.59 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1496.59 s
[opt-env-conf-test] - ('-' : _) -> False
1496.59 s
[opt-env-conf-test] _ -> True
1496.59 s
[opt-env-conf-test] _ -> valid
1496.59 s
[opt-env-conf-test] ]
1496.59 s
[opt-env-conf-test]
1496.59 s
[opt-env-conf-test]
1496.59 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:66:64-22
1496.59 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
1496.59 s
[opt-env-conf-test] [ genericValidate arg,
1496.59 s
[opt-env-conf-test] case arg of
1496.59 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1496.59 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1496.59 s
[opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ True-> declare "does not start with a dash" $ case s of
1496.59 s
[opt-env-conf-test] ('-' : _) -> False
1496.59 s
[opt-env-conf-test] _ -> True
1496.59 s
[opt-env-conf-test] _ -> valid
1496.59 s
[opt-env-conf-test] ]
1496.59 s
[opt-env-conf-test]
1496.59 s
[opt-env-conf-test]
1496.59 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:65:103-111
1496.60 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1496.60 s
[opt-env-conf-test] mconcat
1496.60 s
[opt-env-conf-test] [ genericValidate arg,
1496.60 s
[opt-env-conf-test] case arg of
1496.60 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1496.60 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ True
1496.60 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1496.60 s
[opt-env-conf-test] ('-' : _) -> False
1496.60 s
[opt-env-conf-test] _ -> True
1496.60 s
[opt-env-conf-test]
1496.60 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:399:18-32
1496.60 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
1496.60 s
[opt-env-conf-test] instance Validity Dashed
1496.60 s
[opt-env-conf-test]
1496.60 s
[opt-env-conf-test] instance IsString Dashed where
1496.60 s
[opt-env-conf-test] fromString s = case fromString s of
1496.60 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
1496.60 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
1496.60 s
[opt-env-conf-test] - _ -> error "Invalid dashed"
1496.60 s
[opt-env-conf-test]
1496.60 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1496.60 s
[opt-env-conf-test] renderDashed = \case
1496.60 s
[opt-env-conf-test]
1496.60 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:248:77-83
1496.60 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1496.60 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1496.60 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1496.60 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1496.60 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1496.60 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed False cs') : Dead : rest')
1496.60 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1496.60 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1496.60 s
[opt-env-conf-test]
1496.60 s
[opt-env-conf-test]
1496.60 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1496.60 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
1496.60 s
[opt-env-conf-test] -- A single dash is always an argument
1496.60 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1496.60 s
[opt-env-conf-test] -- Bare double-dash
1496.60 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1496.60 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1496.60 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1496.60 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1496.60 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1496.60 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1496.60 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1496.60 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1496.60 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1496.60 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1496.60 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1496.60 s
[opt-env-conf-test] -- pop the args as they come.
1496.60 s
[opt-env-conf-test] _ ->
1496.60 s
[opt-env-conf-test] let go = \case
1496.60 s
[opt-env-conf-test] [] -> Nothing
1496.60 s
[opt-env-conf-test] (Dead : rest) -> go rest
1496.60 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1496.60 s
[opt-env-conf-test] in case go afters of
1496.61 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1496.61 s
[opt-env-conf-test] Just (firstLive, rest) ->
1496.61 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1496.61 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1496.61 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1496.61 s
[opt-env-conf-test] -- arguments.
1496.61 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1496.61 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1496.61 s
[opt-env-conf-test] )
1496.61 s
[opt-env-conf-test] ]
1496.61 s
[opt-env-conf-test] ArgDashed {} ->
1496.61 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1496.61 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1496.61 s
[opt-env-conf-test]
1496.61 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:169:23-28
1496.61 s
[opt-env-conf-test] @@ -166,17 +166,16 @@
1496.61 s
[opt-env-conf-test] [] -> Nothing
1496.61 s
[opt-env-conf-test] (Dead : rest) -> go rest
1496.61 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1496.61 s
[opt-env-conf-test] in case go afters of
1496.61 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1496.61 s
[opt-env-conf-test] Just (firstLive, rest) ->
1496.61 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1496.61 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1496.61 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1496.61 s
[opt-env-conf-test] -- arguments.
1496.61 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1496.61 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1496.61 s
[opt-env-conf-test] )
1496.61 s
[opt-env-conf-test] ]
1496.61 s
[opt-env-conf-test] ArgDashed {} ->
1496.61 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1496.61 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1496.61 s
[opt-env-conf-test]
1496.61 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:339:40-46
1496.61 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1496.61 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1496.61 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1496.61 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1496.61 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1496.61 s
[opt-env-conf-test] + in Just $ Live (ArgDashed False cs') : rest'
1496.61 s
[opt-env-conf-test] _ -> do
1496.61 s
[opt-env-conf-test] os <- go rest
1496.61 s
[opt-env-conf-test] pure $ Live o : os
1496.61 s
[opt-env-conf-test]
1496.61 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:365:34-43
1496.61 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1496.61 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1496.61 s
[opt-env-conf-test] go (c :| rest) =
1496.61 s
[opt-env-conf-test] if c `elem` cs
1496.61 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1496.61 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, False)) <$> NE.nonEmpty rest
1496.61 s
[opt-env-conf-test] else do
1496.61 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1496.61 s
[opt-env-conf-test] new <- go rest'
1496.61 s
[opt-env-conf-test]
1496.61 s
[opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:117:31-43
1496.61 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1496.61 s
[opt-env-conf-test] Just (Rel rf) -> do
1496.61 s
[opt-env-conf-test] let dir = parent rf
1496.61 s
[opt-env-conf-test] let ad = baseDir </> dir
1496.61 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1496.61 s
[opt-env-conf-test] + let filterHidden = if not hiddenRel rf then id else filter (not . hiddenRel)
1496.61 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1496.61 s
[opt-env-conf-test] pure
1496.61 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1496.61 s
[opt-env-conf-test]
1496.61 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
1496.61 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1496.61 s
[opt-env-conf-test] Just (Rel rf) -> do
1496.61 s
[opt-env-conf-test] let dir = parent rf
1496.61 s
[opt-env-conf-test] let ad = baseDir </> dir
1496.62 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1496.62 s
[opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
1496.62 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1496.62 s
[opt-env-conf-test] pure
1496.62 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1496.62 s
[opt-env-conf-test]
1496.62 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
1496.62 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1496.62 s
[opt-env-conf-test] Just (Rel rf) -> do
1496.62 s
[opt-env-conf-test] let dir = parent rf
1496.62 s
[opt-env-conf-test] let ad = baseDir </> dir
1496.62 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1496.62 s
[opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
1496.62 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1496.62 s
[opt-env-conf-test] pure
1496.62 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1496.62 s
[opt-env-conf-test]
1496.62 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
1496.62 s
[opt-env-conf-test] @@ -168,24 +168,19 @@
1496.62 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1496.62 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1496.62 s
[opt-env-conf-test]
1496.62 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1496.62 s
[opt-env-conf-test] Nothing -> pure []
1496.62 s
[opt-env-conf-test] - Just (Abs af) -> do
1496.62 s
[opt-env-conf-test] - let dir = parent af
1496.62 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1496.62 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving dir
1496.62 s
[opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1496.62 s
[opt-env-conf-test] Just (Rel rf) ->
1496.62 s
[opt-env-conf-test] if fp == "."
1496.62 s
[opt-env-conf-test] then do
1496.62 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1496.62 s
[opt-env-conf-test] pure (map fromRelDir ds)
1496.62 s
[opt-env-conf-test] else do
1496.62 s
[opt-env-conf-test] let dir = parent rf
1496.62 s
[opt-env-conf-test] let ad = baseDir </> dir
1496.62 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1496.62 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1496.62 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1496.62 s
[opt-env-conf-test]
1496.62 s
[opt-env-conf-test] pure $
1496.62 s
[opt-env-conf-test] concat
1496.62 s
[opt-env-conf-test]
1496.62 s
[opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:186:35-47
1496.62 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1496.62 s
[opt-env-conf-test] else do
1496.62 s
[opt-env-conf-test] let dir = parent rf
1496.62 s
[opt-env-conf-test] let ad = baseDir </> dir
1496.62 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1496.63 s
[opt-env-conf-test] + let filterHidden = if not hiddenRel rf then id else filter (not . hiddenRel)
1496.63 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1496.63 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1496.63 s
[opt-env-conf-test]
1496.63 s
[opt-env-conf-test]
1496.63 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
1496.63 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1496.63 s
[opt-env-conf-test] else do
1496.63 s
[opt-env-conf-test] let dir = parent rf
1496.63 s
[opt-env-conf-test] let ad = baseDir </> dir
1496.63 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1496.63 s
[opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
1496.63 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1496.63 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1496.63 s
[opt-env-conf-test]
1496.63 s
[opt-env-conf-test]
1496.63 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
1496.63 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1496.63 s
[opt-env-conf-test] else do
1496.63 s
[opt-env-conf-test] let dir = parent rf
1496.63 s
[opt-env-conf-test] let ad = baseDir </> dir
1496.63 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1496.63 s
[opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
1496.63 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1496.63 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1496.63 s
[opt-env-conf-test]
1496.63 s
[opt-env-conf-test]
1496.63 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:179:12-21
1496.63 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1496.63 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1496.63 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1496.63 s
[opt-env-conf-test] Just (Rel rf) ->
1496.63 s
[opt-env-conf-test] - if fp == "."
1496.63 s
[opt-env-conf-test] + if False
1496.63 s
[opt-env-conf-test] then do
1496.63 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1496.63 s
[opt-env-conf-test] pure (map fromRelDir ds)
1496.63 s
[opt-env-conf-test]
1496.63 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
1496.63 s
[opt-env-conf-test] @@ -154,19 +154,16 @@
1496.63 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
1496.63 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1496.63 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1496.63 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1496.63 s
[opt-env-conf-test] Nothing -> case fp of
1496.63 s
[opt-env-conf-test] [] -> do
1496.63 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1496.63 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1496.63 s
[opt-env-conf-test] _ -> pure []
1496.63 s
[opt-env-conf-test] - Just (Abs ad) -> do
1496.63 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
1496.63 s
[opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1496.63 s
[opt-env-conf-test] Just (Rel rd) -> do
1496.63 s
[opt-env-conf-test] let ad = baseDir </> rd
1496.63 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1496.63 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1496.63 s
[opt-env-conf-test]
1496.63 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1496.63 s
[opt-env-conf-test] Nothing -> pure []
1496.63 s
[opt-env-conf-test]
1496.63 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
1496.63 s
[opt-env-conf-test] @@ -155,11 +155,10 @@
1496.63 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1496.64 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1496.64 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1496.64 s
[opt-env-conf-test] Nothing -> case fp of
1496.64 s
[opt-env-conf-test] [] -> do
1496.64 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1496.64 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1496.64 s
[opt-env-conf-test] - _ -> pure []
1496.64 s
[opt-env-conf-test] Just (Abs ad) -> do
1496.64 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1496.64 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1496.64 s
[opt-env-conf-test]
1496.64 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1496.64 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1496.64 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1496.64 s
[opt-env-conf-test]
1496.64 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1496.64 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1496.64 s
[opt-env-conf-test] [] -> []
1496.64 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1496.64 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1496.64 s
[opt-env-conf-test]
1496.64 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1496.64 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1496.64 s
[opt-env-conf-test]
1496.64 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1496.64 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1496.64 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1496.64 s
[opt-env-conf-test]
1496.64 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1496.64 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1496.64 s
[opt-env-conf-test] - [] -> []
1496.64 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1496.64 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1496.64 s
[opt-env-conf-test]
1496.64 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1496.64 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1496.64 s
[opt-env-conf-test]
1496.64 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:87:27-50
1496.64 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
1496.64 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1496.64 s
[opt-env-conf-test]
1496.64 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
1496.64 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
1496.64 s
[opt-env-conf-test] - [] -> []
1496.64 s
[opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
1496.65 s
[opt-env-conf-test]
1496.65 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
1496.65 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
1496.65 s
[opt-env-conf-test]
1496.65 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1496.65 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1496.65 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1496.65 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1496.65 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1496.65 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1496.65 s
[opt-env-conf-test] (Nothing, _) -> o2
1496.65 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1496.65 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1496.65 s
[opt-env-conf-test]
1496.65 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1496.65 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1496.65 s
[opt-env-conf-test]
1496.65 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1496.65 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1496.65 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1496.65 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1496.65 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1496.65 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1496.65 s
[opt-env-conf-test] - (Nothing, _) -> o2
1496.65 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1496.65 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1496.65 s
[opt-env-conf-test]
1496.65 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1496.65 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1496.65 s
[opt-env-conf-test]
1496.65 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1496.65 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1496.65 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1496.65 s
[opt-env-conf-test]
1496.65 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1496.65 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1496.65 s
[opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1496.65 s
[opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
1496.65 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1496.65 s
[opt-env-conf-test] goCommand = go . commandParser
1496.65 s
[opt-env-conf-test]
1496.65 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Nix.hs:96:28-38
1496.65 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1496.65 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1496.65 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1496.65 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1496.65 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1496.65 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1496.65 s
[opt-env-conf-test] goCommand = go . commandParser
1496.65 s
[opt-env-conf-test]
1496.65 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
1496.65 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1496.65 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1496.66 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1496.66 s
[opt-env-conf-test] and
1496.66 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1496.66 s
[opt-env-conf-test] null settingEnvVars,
1496.66 s
[opt-env-conf-test] - null settingConfigVals
1496.66 s
[opt-env-conf-test] ]
1496.66 s
[opt-env-conf-test]
1496.66 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
1496.66 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1496.66 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1496.66 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1496.66 s
[opt-env-conf-test] and
1496.66 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1496.66 s
[opt-env-conf-test] null settingEnvVars,
1496.66 s
[opt-env-conf-test] null settingConfigVals
1496.66 s
[opt-env-conf-test] ]
1496.66 s
[opt-env-conf-test]
1496.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1496.66 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1496.66 s
[opt-env-conf-test] and
1496.66 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1496.66 s
[opt-env-conf-test] null settingEnvVars,
1496.66 s
[opt-env-conf-test] - null settingConfigVals
1496.66 s
[opt-env-conf-test] + True
1496.66 s
[opt-env-conf-test] ]
1496.66 s
[opt-env-conf-test]
1496.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1496.66 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1496.66 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1496.66 s
[opt-env-conf-test] and
1496.66 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1496.66 s
[opt-env-conf-test] - null settingEnvVars,
1496.66 s
[opt-env-conf-test] + True,
1496.66 s
[opt-env-conf-test] null settingConfigVals
1496.66 s
[opt-env-conf-test] ]
1496.66 s
[opt-env-conf-test]
1496.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1496.66 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1496.66 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1496.66 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1496.66 s
[opt-env-conf-test] and
1496.66 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1496.66 s
[opt-env-conf-test] + [ True,
1496.66 s
[opt-env-conf-test] null settingEnvVars,
1496.66 s
[opt-env-conf-test] null settingConfigVals
1496.66 s
[opt-env-conf-test] ]
1496.66 s
[opt-env-conf-test]
1496.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1496.66 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1496.66 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1496.66 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1496.66 s
[opt-env-conf-test] and
1496.66 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1496.66 s
[opt-env-conf-test] + [ settingTryArgument || True,
1496.66 s
[opt-env-conf-test] null settingEnvVars,
1496.66 s
[opt-env-conf-test] null settingConfigVals
1496.66 s
[opt-env-conf-test] ]
1496.66 s
[opt-env-conf-test]
1496.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1496.66 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1496.66 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1496.66 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1496.66 s
[opt-env-conf-test] and
1496.66 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1496.66 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || True,
1496.66 s
[opt-env-conf-test] null settingEnvVars,
1496.66 s
[opt-env-conf-test] null settingConfigVals
1496.66 s
[opt-env-conf-test] ]
1496.66 s
[opt-env-conf-test]
1496.66 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:340:37-53
1496.66 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1496.66 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1496.66 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1496.66 s
[opt-env-conf-test] and
1496.66 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1496.67 s
[opt-env-conf-test] + [ settingTryArgument || not settingTryOption || isJust settingSwitchValue,
1496.67 s
[opt-env-conf-test] null settingEnvVars,
1496.67 s
[opt-env-conf-test] null settingConfigVals
1496.67 s
[opt-env-conf-test] ]
1496.67 s
[opt-env-conf-test]
1496.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1496.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1496.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1496.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1496.67 s
[opt-env-conf-test] and
1496.67 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1496.67 s
[opt-env-conf-test] + [ settingTryArgument || False || isJust settingSwitchValue,
1496.67 s
[opt-env-conf-test] null settingEnvVars,
1496.67 s
[opt-env-conf-test] null settingConfigVals
1496.67 s
[opt-env-conf-test] ]
1496.67 s
[opt-env-conf-test]
1496.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1496.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1496.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1496.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1496.67 s
[opt-env-conf-test] and
1496.67 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1496.67 s
[opt-env-conf-test] + [ settingTryArgument || True || isJust settingSwitchValue,
1496.67 s
[opt-env-conf-test] null settingEnvVars,
1496.67 s
[opt-env-conf-test] null settingConfigVals
1496.67 s
[opt-env-conf-test] ]
1496.67 s
[opt-env-conf-test]
1496.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1496.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1496.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1496.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1496.67 s
[opt-env-conf-test] and
1496.67 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1496.67 s
[opt-env-conf-test] + [ True || settingTryOption || isJust settingSwitchValue,
1496.67 s
[opt-env-conf-test] null settingEnvVars,
1496.67 s
[opt-env-conf-test] null settingConfigVals
1496.67 s
[opt-env-conf-test] ]
1496.67 s
[opt-env-conf-test]
1496.67 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-24
1496.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1496.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1496.67 s
[opt-env-conf-test] c1 <- go p1
1496.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1496.67 s
[opt-env-conf-test] - pure $ c1 || c2
1496.67 s
[opt-env-conf-test] + pure $ not c1 || c2
1496.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1496.67 s
[opt-env-conf-test] case settingHelp of
1496.67 s
[opt-env-conf-test] Nothing ->
1496.67 s
[opt-env-conf-test]
1496.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1496.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1496.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1496.67 s
[opt-env-conf-test] c1 <- go p1
1496.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1496.67 s
[opt-env-conf-test] - pure $ c1 || c2
1496.67 s
[opt-env-conf-test] + pure $ False
1496.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1496.67 s
[opt-env-conf-test] case settingHelp of
1496.67 s
[opt-env-conf-test] Nothing ->
1496.67 s
[opt-env-conf-test]
1496.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1496.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1496.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1496.67 s
[opt-env-conf-test] c1 <- go p1
1496.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1496.67 s
[opt-env-conf-test] - pure $ c1 || c2
1496.67 s
[opt-env-conf-test] + pure $ True
1496.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1496.67 s
[opt-env-conf-test] case settingHelp of
1496.67 s
[opt-env-conf-test] Nothing ->
1496.67 s
[opt-env-conf-test]
1496.67 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:22-24
1496.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1496.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1496.67 s
[opt-env-conf-test] c1 <- go p1
1496.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1496.67 s
[opt-env-conf-test] - pure $ c1 || c2
1496.67 s
[opt-env-conf-test] + pure $ c1 || not c2
1496.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1496.67 s
[opt-env-conf-test] case settingHelp of
1496.67 s
[opt-env-conf-test] Nothing ->
1496.67 s
[opt-env-conf-test]
1496.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1496.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1496.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1496.67 s
[opt-env-conf-test] c1 <- go p1
1496.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1496.67 s
[opt-env-conf-test] - pure $ c1 || c2
1496.67 s
[opt-env-conf-test] + pure $ c1 || False
1496.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1496.67 s
[opt-env-conf-test] case settingHelp of
1496.67 s
[opt-env-conf-test] Nothing ->
1496.67 s
[opt-env-conf-test]
1496.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1496.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1496.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1496.67 s
[opt-env-conf-test] c1 <- go p1
1496.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1496.67 s
[opt-env-conf-test] - pure $ c1 || c2
1496.67 s
[opt-env-conf-test] + pure $ c1 || True
1496.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1496.67 s
[opt-env-conf-test] case settingHelp of
1496.67 s
[opt-env-conf-test] Nothing ->
1496.67 s
[opt-env-conf-test]
1496.67 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-18
1496.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1496.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1496.67 s
[opt-env-conf-test] c1 <- go p1
1496.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1496.68 s
[opt-env-conf-test] - pure $ c1 || c2
1496.68 s
[opt-env-conf-test] + pure $ not c1 || c2
1496.68 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1496.68 s
[opt-env-conf-test] case settingHelp of
1496.68 s
[opt-env-conf-test] Nothing ->
1496.68 s
[opt-env-conf-test]
1496.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1496.68 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1496.68 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1496.68 s
[opt-env-conf-test] c1 <- go p1
1496.68 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1496.68 s
[opt-env-conf-test] - pure $ c1 || c2
1496.68 s
[opt-env-conf-test] + pure $ False || c2
1496.68 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1496.68 s
[opt-env-conf-test] case settingHelp of
1496.68 s
[opt-env-conf-test] Nothing ->
1496.68 s
[opt-env-conf-test]
1496.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1496.68 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1496.68 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1496.68 s
[opt-env-conf-test] c1 <- go p1
1496.68 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1496.68 s
[opt-env-conf-test] - pure $ c1 || c2
1496.68 s
[opt-env-conf-test] + pure $ True || c2
1496.68 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1496.68 s
[opt-env-conf-test] case settingHelp of
1496.68 s
[opt-env-conf-test] Nothing ->
1496.68 s
[opt-env-conf-test]
1496.68 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:14-24
1496.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.68 s
[opt-env-conf-test] c1 <- go p1
1496.68 s
[opt-env-conf-test] c2 <- go p2
1496.68 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.68 s
[opt-env-conf-test] + pure not (c1 && c2) -- TODO: is this right?
1496.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.68 s
[opt-env-conf-test] c <- go p
1496.68 s
[opt-env-conf-test]
1496.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1496.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.68 s
[opt-env-conf-test] c1 <- go p1
1496.68 s
[opt-env-conf-test] c2 <- go p2
1496.68 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.68 s
[opt-env-conf-test] + pure False -- TODO: is this right?
1496.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.68 s
[opt-env-conf-test] c <- go p
1496.68 s
[opt-env-conf-test]
1496.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1496.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.68 s
[opt-env-conf-test] c1 <- go p1
1496.68 s
[opt-env-conf-test] c2 <- go p2
1496.68 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.68 s
[opt-env-conf-test] + pure True -- TODO: is this right?
1496.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.68 s
[opt-env-conf-test] c <- go p
1496.68 s
[opt-env-conf-test]
1496.68 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-23
1496.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.68 s
[opt-env-conf-test] c1 <- go p1
1496.68 s
[opt-env-conf-test] c2 <- go p2
1496.68 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.68 s
[opt-env-conf-test] + pure (not c1 && c2) -- TODO: is this right?
1496.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.68 s
[opt-env-conf-test] c <- go p
1496.68 s
[opt-env-conf-test]
1496.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1496.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.68 s
[opt-env-conf-test] c1 <- go p1
1496.68 s
[opt-env-conf-test] c2 <- go p2
1496.68 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.68 s
[opt-env-conf-test] + pure (False) -- TODO: is this right?
1496.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.68 s
[opt-env-conf-test] c <- go p
1496.68 s
[opt-env-conf-test]
1496.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1496.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.68 s
[opt-env-conf-test] c1 <- go p1
1496.68 s
[opt-env-conf-test] c2 <- go p2
1496.68 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.68 s
[opt-env-conf-test] + pure (True) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.69 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.69 s
[opt-env-conf-test] c <- go p
1496.69 s
[opt-env-conf-test]
1496.69 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:21-23
1496.69 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.69 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.69 s
[opt-env-conf-test] c1 <- go p1
1496.69 s
[opt-env-conf-test] c2 <- go p2
1496.69 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] + pure (c1 && not c2) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.69 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.69 s
[opt-env-conf-test] c <- go p
1496.69 s
[opt-env-conf-test]
1496.69 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1496.69 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.69 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.69 s
[opt-env-conf-test] c1 <- go p1
1496.69 s
[opt-env-conf-test] c2 <- go p2
1496.69 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] + pure (c1 && False) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.69 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.69 s
[opt-env-conf-test] c <- go p
1496.69 s
[opt-env-conf-test]
1496.69 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1496.69 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.69 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.69 s
[opt-env-conf-test] c1 <- go p1
1496.69 s
[opt-env-conf-test] c2 <- go p2
1496.69 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] + pure (c1 && True) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.69 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.69 s
[opt-env-conf-test] c <- go p
1496.69 s
[opt-env-conf-test]
1496.69 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-17
1496.69 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.69 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.69 s
[opt-env-conf-test] c1 <- go p1
1496.69 s
[opt-env-conf-test] c2 <- go p2
1496.69 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] + pure (not c1 && c2) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.69 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.69 s
[opt-env-conf-test] c <- go p
1496.69 s
[opt-env-conf-test]
1496.69 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1496.69 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.69 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.69 s
[opt-env-conf-test] c1 <- go p1
1496.69 s
[opt-env-conf-test] c2 <- go p2
1496.69 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] + pure (False && c2) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.69 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.69 s
[opt-env-conf-test] c <- go p
1496.69 s
[opt-env-conf-test]
1496.69 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1496.69 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.69 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.69 s
[opt-env-conf-test] c1 <- go p1
1496.69 s
[opt-env-conf-test] c2 <- go p2
1496.69 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] + pure (True && c2) -- TODO: is this right?
1496.69 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.69 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.69 s
[opt-env-conf-test] c <- go p
1496.69 s
[opt-env-conf-test]
1496.69 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:14-24
1496.69 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.69 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.69 s
[opt-env-conf-test] c1 <- go p1
1496.69 s
[opt-env-conf-test] c2 <- go p2
1496.69 s
[opt-env-conf-test] - pure (c1 || c2)
1496.69 s
[opt-env-conf-test] + pure not (c1 || c2)
1496.69 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.69 s
[opt-env-conf-test] c1 <- go p1
1496.69 s
[opt-env-conf-test] c2 <- go p2
1496.69 s
[opt-env-conf-test]
1496.69 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1496.69 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.69 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.69 s
[opt-env-conf-test] c1 <- go p1
1496.69 s
[opt-env-conf-test] c2 <- go p2
1496.69 s
[opt-env-conf-test] - pure (c1 || c2)
1496.69 s
[opt-env-conf-test] + pure False
1496.69 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.69 s
[opt-env-conf-test] c1 <- go p1
1496.69 s
[opt-env-conf-test] c2 <- go p2
1496.69 s
[opt-env-conf-test]
1496.69 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1496.69 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.69 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.69 s
[opt-env-conf-test] c1 <- go p1
1496.69 s
[opt-env-conf-test] c2 <- go p2
1496.69 s
[opt-env-conf-test] - pure (c1 || c2)
1496.69 s
[opt-env-conf-test] + pure True
1496.69 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-23
1496.70 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.70 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test] - pure (c1 || c2)
1496.70 s
[opt-env-conf-test] + pure (not c1 || c2)
1496.70 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1496.70 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.70 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test] - pure (c1 || c2)
1496.70 s
[opt-env-conf-test] + pure (False)
1496.70 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1496.70 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.70 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test] - pure (c1 || c2)
1496.70 s
[opt-env-conf-test] + pure (True)
1496.70 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:21-23
1496.70 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.70 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test] - pure (c1 || c2)
1496.70 s
[opt-env-conf-test] + pure (c1 || not c2)
1496.70 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1496.70 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.70 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test] - pure (c1 || c2)
1496.70 s
[opt-env-conf-test] + pure (c1 || False)
1496.70 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1496.70 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.70 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test] - pure (c1 || c2)
1496.70 s
[opt-env-conf-test] + pure (c1 || True)
1496.70 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-17
1496.70 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.70 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test] - pure (c1 || c2)
1496.70 s
[opt-env-conf-test] + pure (not c1 || c2)
1496.70 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1496.70 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.70 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test] - pure (c1 || c2)
1496.70 s
[opt-env-conf-test] + pure (False || c2)
1496.70 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1496.70 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1496.70 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test] - pure (c1 || c2)
1496.70 s
[opt-env-conf-test] + pure (True || c2)
1496.70 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1496.70 s
[opt-env-conf-test] c1 <- go p1
1496.70 s
[opt-env-conf-test] c2 <- go p2
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
1496.70 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] instance Applicative Parser where
1496.70 s
[opt-env-conf-test] pure = ParserPure
1496.70 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
1496.70 s
[opt-env-conf-test] -- Homomorphism law for applicative
1496.70 s
[opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
1496.70 s
[opt-env-conf-test] _ -> ParserAp p1 p2
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] instance Selective Parser where
1496.70 s
[opt-env-conf-test] select = ParserSelect
1496.70 s
[opt-env-conf-test]
1496.70 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1496.70 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1496.70 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1496.70 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1496.70 s
[opt-env-conf-test] ParserSetting _ _ -> False
1496.70 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1496.70 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1496.70 s
[opt-env-conf-test] (True, False) -> p2
1496.70 s
[opt-env-conf-test] - (False, True) -> p1
1496.70 s
[opt-env-conf-test] (False, False) ->
1496.70 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1496.70 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1496.71 s
[opt-env-conf-test] -- alts to always be right-leaning
1496.71 s
[opt-env-conf-test] --
1496.71 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1496.71 s
[opt-env-conf-test] -- p
1496.71 s
[opt-env-conf-test] -- / \
1496.71 s
[opt-env-conf-test] -- p1 p2
1496.71 s
[opt-env-conf-test] -- / \
1496.71 s
[opt-env-conf-test] -- p3 p4
1496.71 s
[opt-env-conf-test] --
1496.71 s
[opt-env-conf-test] -- We need to rearrange it to
1496.71 s
[opt-env-conf-test] -- p
1496.71 s
[opt-env-conf-test] -- / \
1496.71 s
[opt-env-conf-test] -- p1 ++ p3 p4
1496.71 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1496.71 s
[opt-env-conf-test] go (go p1' p3') p4'
1496.71 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1496.71 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1496.71 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1496.71 s
[opt-env-conf-test] in go p1 p2
1496.71 s
[opt-env-conf-test] many = ParserMany Nothing
1496.71 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1496.71 s
[opt-env-conf-test]
1496.71 s
[opt-env-conf-test]
1496.71 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1496.71 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1496.71 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1496.71 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1496.71 s
[opt-env-conf-test] ParserSetting _ _ -> False
1496.71 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1496.71 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1496.71 s
[opt-env-conf-test] - (True, False) -> p2
1496.71 s
[opt-env-conf-test] (False, True) -> p1
1496.71 s
[opt-env-conf-test] (False, False) ->
1496.71 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1496.71 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1496.71 s
[opt-env-conf-test] -- alts to always be right-leaning
1496.71 s
[opt-env-conf-test] --
1496.71 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1496.71 s
[opt-env-conf-test] -- p
1496.71 s
[opt-env-conf-test] -- / \
1496.71 s
[opt-env-conf-test] -- p1 p2
1496.71 s
[opt-env-conf-test] -- / \
1496.71 s
[opt-env-conf-test] -- p3 p4
1496.71 s
[opt-env-conf-test] --
1496.71 s
[opt-env-conf-test] -- We need to rearrange it to
1496.71 s
[opt-env-conf-test] -- p
1496.71 s
[opt-env-conf-test] -- / \
1496.71 s
[opt-env-conf-test] -- p1 ++ p3 p4
1496.71 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1496.71 s
[opt-env-conf-test] go (go p1' p3') p4'
1496.71 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1496.71 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1496.71 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1496.71 s
[opt-env-conf-test] in go p1 p2
1496.71 s
[opt-env-conf-test] many = ParserMany Nothing
1496.71 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1496.71 s
[opt-env-conf-test]
1496.71 s
[opt-env-conf-test]
1496.71 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1496.71 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1496.71 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1496.71 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1496.71 s
[opt-env-conf-test] ParserSetting _ _ -> False
1496.71 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1496.71 s
[opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
1496.71 s
[opt-env-conf-test] (True, False) -> p2
1496.71 s
[opt-env-conf-test] (False, True) -> p1
1496.71 s
[opt-env-conf-test] (False, False) ->
1496.71 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1496.71 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1496.71 s
[opt-env-conf-test] -- alts to always be right-leaning
1496.71 s
[opt-env-conf-test] --
1496.71 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1496.71 s
[opt-env-conf-test] -- p
1496.71 s
[opt-env-conf-test] -- / \
1496.71 s
[opt-env-conf-test] -- p1 p2
1496.72 s
[opt-env-conf-test] -- / \
1496.72 s
[opt-env-conf-test] -- p3 p4
1496.72 s
[opt-env-conf-test] --
1496.72 s
[opt-env-conf-test] -- We need to rearrange it to
1496.72 s
[opt-env-conf-test] -- p
1496.72 s
[opt-env-conf-test] -- / \
1496.72 s
[opt-env-conf-test] -- p1 ++ p3 p4
1496.72 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1496.72 s
[opt-env-conf-test] go (go p1' p3') p4'
1496.72 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1496.72 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1496.72 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1496.72 s
[opt-env-conf-test] in go p1 p2
1496.72 s
[opt-env-conf-test] many = ParserMany Nothing
1496.72 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1496.72 s
[opt-env-conf-test]
1496.72 s
[opt-env-conf-test]
1496.72 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1496.72 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1496.72 s
[opt-env-conf-test] (True, False) -> p2
1496.72 s
[opt-env-conf-test] (False, True) -> p1
1496.72 s
[opt-env-conf-test] (False, False) ->
1496.72 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1496.72 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1496.72 s
[opt-env-conf-test] -- alts to always be right-leaning
1496.72 s
[opt-env-conf-test] --
1496.72 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1496.72 s
[opt-env-conf-test] -- p
1496.72 s
[opt-env-conf-test] -- / \
1496.72 s
[opt-env-conf-test] -- p1 p2
1496.72 s
[opt-env-conf-test] -- / \
1496.72 s
[opt-env-conf-test] -- p3 p4
1496.72 s
[opt-env-conf-test] --
1496.72 s
[opt-env-conf-test] -- We need to rearrange it to
1496.72 s
[opt-env-conf-test] -- p
1496.72 s
[opt-env-conf-test] -- / \
1496.72 s
[opt-env-conf-test] -- p1 ++ p3 p4
1496.72 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1496.72 s
[opt-env-conf-test] go (go p1' p3') p4'
1496.72 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1496.72 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1496.72 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1496.72 s
[opt-env-conf-test] in go p1 p2
1496.72 s
[opt-env-conf-test] many = ParserMany Nothing
1496.72 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1496.72 s
[opt-env-conf-test]
1496.72 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1496.72 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1496.72 s
[opt-env-conf-test] (True, False) -> p2
1496.72 s
[opt-env-conf-test] (False, True) -> p1
1496.72 s
[opt-env-conf-test] (False, False) ->
1496.72 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1496.72 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1496.72 s
[opt-env-conf-test] -- alts to always be right-leaning
1496.72 s
[opt-env-conf-test] --
1496.72 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1496.72 s
[opt-env-conf-test] -- p
1496.72 s
[opt-env-conf-test] -- / \
1496.72 s
[opt-env-conf-test] -- p1 p2
1496.72 s
[opt-env-conf-test] -- / \
1496.72 s
[opt-env-conf-test] -- p3 p4
1496.72 s
[opt-env-conf-test] --
1496.72 s
[opt-env-conf-test] -- We need to rearrange it to
1496.72 s
[opt-env-conf-test] -- p
1496.72 s
[opt-env-conf-test] -- / \
1496.72 s
[opt-env-conf-test] -- p1 ++ p3 p4
1496.72 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
1496.72 s
[opt-env-conf-test] - go (go p1' p3') p4'
1496.72 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1496.72 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1496.72 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1496.72 s
[opt-env-conf-test] in go p1 p2
1496.72 s
[opt-env-conf-test] many = ParserMany Nothing
1496.72 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1496.72 s
[opt-env-conf-test]
1496.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:27-37
1496.72 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1496.72 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1496.72 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1496.72 s
[opt-env-conf-test] ParserSetting _ _ -> False
1496.72 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
1496.72 s
[opt-env-conf-test] + in case (isEmpty p1, False) of
1496.72 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1496.72 s
[opt-env-conf-test] (True, False) -> p2
1496.72 s
[opt-env-conf-test] (False, True) -> p1
1496.72 s
[opt-env-conf-test]
1496.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:15-25
1496.72 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1496.72 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1496.72 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1496.72 s
[opt-env-conf-test] ParserSetting _ _ -> False
1496.72 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
1496.72 s
[opt-env-conf-test] + in case (False, isEmpty p2) of
1496.72 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1496.72 s
[opt-env-conf-test] (True, False) -> p2
1496.72 s
[opt-env-conf-test] (False, True) -> p1
1496.72 s
[opt-env-conf-test]
1496.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:264:36-43
1496.72 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1496.72 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1496.72 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1496.72 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1496.72 s
[opt-env-conf-test] - ParserCommands _ _ cs -> null cs
1496.72 s
[opt-env-conf-test] + ParserCommands _ _ cs -> False
1496.72 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1496.72 s
[opt-env-conf-test] ParserSetting _ _ -> False
1496.72 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1496.72 s
[opt-env-conf-test]
1496.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:263:36-45
1496.73 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1496.73 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> False
1496.73 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1496.73 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1496.73 s
[opt-env-conf-test] ParserSetting _ _ -> False
1496.73 s
[opt-env-conf-test]
1496.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:262:37-46
1496.73 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1496.73 s
[opt-env-conf-test] ParserAlt _ _ -> False
1496.73 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> False
1496.73 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1496.73 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1496.73 s
[opt-env-conf-test]
1496.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:260:29-38
1496.73 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1496.73 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1496.73 s
[opt-env-conf-test] ParserEmpty _ -> True
1496.73 s
[opt-env-conf-test] ParserAlt _ _ -> False
1496.73 s
[opt-env-conf-test] - ParserMany _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] + ParserMany _ p -> False
1496.73 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1496.73 s
[opt-env-conf-test]
1496.73 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Parser.hs:258:28-32
1496.73 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1496.73 s
[opt-env-conf-test] ParserPure _ -> False
1496.73 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1496.73 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1496.73 s
[opt-env-conf-test] - ParserEmpty _ -> True
1496.73 s
[opt-env-conf-test] + ParserEmpty _ -> False
1496.73 s
[opt-env-conf-test] ParserAlt _ _ -> False
1496.73 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1496.73 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1496.73 s
[opt-env-conf-test]
1496.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-53
1496.73 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1496.73 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1496.73 s
[opt-env-conf-test] isEmpty = \case
1496.73 s
[opt-env-conf-test] ParserPure _ -> False
1496.73 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1496.73 s
[opt-env-conf-test] + ParserAp pf pa -> False
1496.73 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1496.73 s
[opt-env-conf-test] ParserEmpty _ -> True
1496.73 s
[opt-env-conf-test] ParserAlt _ _ -> False
1496.73 s
[opt-env-conf-test]
1496.73 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:43-53
1496.73 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1496.73 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1496.73 s
[opt-env-conf-test] isEmpty = \case
1496.73 s
[opt-env-conf-test] ParserPure _ -> False
1496.73 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1496.73 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && not isEmpty pa
1496.73 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1496.73 s
[opt-env-conf-test] ParserEmpty _ -> True
1496.73 s
[opt-env-conf-test] ParserAlt _ _ -> False
1496.73 s
[opt-env-conf-test]
1496.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1496.73 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1496.73 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1496.73 s
[opt-env-conf-test] isEmpty = \case
1496.73 s
[opt-env-conf-test] ParserPure _ -> False
1496.73 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1496.73 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && False
1496.73 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1496.73 s
[opt-env-conf-test] ParserEmpty _ -> True
1496.73 s
[opt-env-conf-test] ParserAlt _ _ -> False
1496.73 s
[opt-env-conf-test]
1496.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1496.73 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1496.73 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1496.73 s
[opt-env-conf-test] isEmpty = \case
1496.73 s
[opt-env-conf-test] ParserPure _ -> False
1496.73 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1496.73 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && True
1496.73 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1496.73 s
[opt-env-conf-test] ParserEmpty _ -> True
1496.73 s
[opt-env-conf-test] ParserAlt _ _ -> False
1496.73 s
[opt-env-conf-test]
1496.73 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:29-39
1496.73 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1496.73 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1496.73 s
[opt-env-conf-test] isEmpty = \case
1496.73 s
[opt-env-conf-test] ParserPure _ -> False
1496.73 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1496.74 s
[opt-env-conf-test] + ParserAp pf pa -> not isEmpty pf && isEmpty pa
1496.74 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1496.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1496.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1496.74 s
[opt-env-conf-test]
1496.74 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1496.74 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1496.74 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1496.74 s
[opt-env-conf-test] isEmpty = \case
1496.74 s
[opt-env-conf-test] ParserPure _ -> False
1496.74 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1496.74 s
[opt-env-conf-test] + ParserAp pf pa -> False && isEmpty pa
1496.74 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1496.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1496.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1496.74 s
[opt-env-conf-test]
1496.74 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1496.74 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1496.74 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1496.74 s
[opt-env-conf-test] isEmpty = \case
1496.74 s
[opt-env-conf-test] ParserPure _ -> False
1496.74 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1496.74 s
[opt-env-conf-test] + ParserAp pf pa -> True && isEmpty pa
1496.74 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1496.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1496.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1496.74 s
[opt-env-conf-test]
1496.74 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:297:39-40
1496.74 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
1496.74 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1496.74 s
[opt-env-conf-test]
1496.74 s
[opt-env-conf-test] showParserABit :: Parser a -> String
1496.74 s
[opt-env-conf-test] -showParserABit = flip (showParserPrec 0) ""
1496.74 s
[opt-env-conf-test] +showParserABit = flip (showParserPrec 1) ""
1496.74 s
[opt-env-conf-test]
1496.74 s
[opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
1496.74 s
[opt-env-conf-test] showParserPrec = go
1496.74 s
[opt-env-conf-test]
1496.74 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:19-27
1496.74 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1496.74 s
[opt-env-conf-test] . showString " "
1496.74 s
[opt-env-conf-test] . go 11 p2
1496.74 s
[opt-env-conf-test] ParserSetting mLoc p ->
1496.74 s
[opt-env-conf-test] - showParen (d > 10) $
1496.74 s
[opt-env-conf-test] + showParen True $
1496.74 s
[opt-env-conf-test] showString "Setting "
1496.74 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.74 s
[opt-env-conf-test] . showString " "
1496.74 s
[opt-env-conf-test]
1496.74 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:20-26
1496.74 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1496.74 s
[opt-env-conf-test] . showString " "
1496.74 s
[opt-env-conf-test] . go 11 p2
1496.74 s
[opt-env-conf-test] ParserSetting mLoc p ->
1496.74 s
[opt-env-conf-test] - showParen (d > 10) $
1496.74 s
[opt-env-conf-test] + showParen (True) $
1496.74 s
[opt-env-conf-test] showString "Setting "
1496.74 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.74 s
[opt-env-conf-test] . showString " "
1496.74 s
[opt-env-conf-test]
1496.74 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
1496.74 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1496.74 s
[opt-env-conf-test] . showString " "
1496.74 s
[opt-env-conf-test] . go 11 p2
1496.74 s
[opt-env-conf-test] ParserSetting mLoc p ->
1496.74 s
[opt-env-conf-test] - showParen (d > 10) $
1496.74 s
[opt-env-conf-test] + showParen (d > -10) $
1496.74 s
[opt-env-conf-test] showString "Setting "
1496.74 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.74 s
[opt-env-conf-test] . showString " "
1496.74 s
[opt-env-conf-test]
1496.74 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
1496.74 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1496.74 s
[opt-env-conf-test] . showString " "
1496.74 s
[opt-env-conf-test] . go 11 p2
1496.74 s
[opt-env-conf-test] ParserSetting mLoc p ->
1496.74 s
[opt-env-conf-test] - showParen (d > 10) $
1496.74 s
[opt-env-conf-test] + showParen (d > 1) $
1496.74 s
[opt-env-conf-test] showString "Setting "
1496.74 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.74 s
[opt-env-conf-test] . showString " "
1496.74 s
[opt-env-conf-test]
1496.74 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
1496.74 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1496.74 s
[opt-env-conf-test] . showString " "
1496.74 s
[opt-env-conf-test] . go 11 p2
1496.74 s
[opt-env-conf-test] ParserSetting mLoc p ->
1496.74 s
[opt-env-conf-test] - showParen (d > 10) $
1496.74 s
[opt-env-conf-test] + showParen (d > 0) $
1496.74 s
[opt-env-conf-test] showString "Setting "
1496.74 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.74 s
[opt-env-conf-test] . showString " "
1496.74 s
[opt-env-conf-test]
1496.74 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:19-27
1496.74 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1496.74 s
[opt-env-conf-test] showCommandABit
1496.74 s
[opt-env-conf-test] cs
1496.74 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1496.74 s
[opt-env-conf-test] - showParen (d > 10) $
1496.74 s
[opt-env-conf-test] + showParen not (d > 10) $
1496.74 s
[opt-env-conf-test] showString "WithConfig _ "
1496.74 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.74 s
[opt-env-conf-test] . showString " "
1496.75 s
[opt-env-conf-test]
1496.75 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1496.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1496.75 s
[opt-env-conf-test] showCommandABit
1496.75 s
[opt-env-conf-test] cs
1496.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1496.75 s
[opt-env-conf-test] - showParen (d > 10) $
1496.75 s
[opt-env-conf-test] + showParen False $
1496.75 s
[opt-env-conf-test] showString "WithConfig _ "
1496.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.75 s
[opt-env-conf-test] . showString " "
1496.75 s
[opt-env-conf-test]
1496.75 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1496.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1496.75 s
[opt-env-conf-test] showCommandABit
1496.75 s
[opt-env-conf-test] cs
1496.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1496.75 s
[opt-env-conf-test] - showParen (d > 10) $
1496.75 s
[opt-env-conf-test] + showParen True $
1496.75 s
[opt-env-conf-test] showString "WithConfig _ "
1496.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.75 s
[opt-env-conf-test] . showString " "
1496.75 s
[opt-env-conf-test]
1496.75 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:20-26
1496.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1496.75 s
[opt-env-conf-test] showCommandABit
1496.75 s
[opt-env-conf-test] cs
1496.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1496.75 s
[opt-env-conf-test] - showParen (d > 10) $
1496.75 s
[opt-env-conf-test] + showParen (not d > 10) $
1496.75 s
[opt-env-conf-test] showString "WithConfig _ "
1496.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.75 s
[opt-env-conf-test] . showString " "
1496.75 s
[opt-env-conf-test]
1496.75 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1496.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1496.75 s
[opt-env-conf-test] showCommandABit
1496.75 s
[opt-env-conf-test] cs
1496.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1496.75 s
[opt-env-conf-test] - showParen (d > 10) $
1496.75 s
[opt-env-conf-test] + showParen (False) $
1496.75 s
[opt-env-conf-test] showString "WithConfig _ "
1496.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.75 s
[opt-env-conf-test] . showString " "
1496.75 s
[opt-env-conf-test]
1496.75 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1496.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1496.75 s
[opt-env-conf-test] showCommandABit
1496.75 s
[opt-env-conf-test] cs
1496.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1496.75 s
[opt-env-conf-test] - showParen (d > 10) $
1496.75 s
[opt-env-conf-test] + showParen (True) $
1496.75 s
[opt-env-conf-test] showString "WithConfig _ "
1496.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.75 s
[opt-env-conf-test] . showString " "
1496.75 s
[opt-env-conf-test]
1496.75 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
1496.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1496.75 s
[opt-env-conf-test] showCommandABit
1496.75 s
[opt-env-conf-test] cs
1496.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1496.75 s
[opt-env-conf-test] - showParen (d > 10) $
1496.75 s
[opt-env-conf-test] + showParen (d > -10) $
1496.75 s
[opt-env-conf-test] showString "WithConfig _ "
1496.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.75 s
[opt-env-conf-test] . showString " "
1496.75 s
[opt-env-conf-test]
1496.75 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
1496.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1496.75 s
[opt-env-conf-test] showCommandABit
1496.75 s
[opt-env-conf-test] cs
1496.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1496.75 s
[opt-env-conf-test] - showParen (d > 10) $
1496.75 s
[opt-env-conf-test] + showParen (d > 1) $
1496.75 s
[opt-env-conf-test] showString "WithConfig _ "
1496.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.75 s
[opt-env-conf-test] . showString " "
1496.75 s
[opt-env-conf-test]
1496.75 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
1496.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1496.75 s
[opt-env-conf-test] showCommandABit
1496.75 s
[opt-env-conf-test] cs
1496.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1496.75 s
[opt-env-conf-test] - showParen (d > 10) $
1496.75 s
[opt-env-conf-test] + showParen (d > 0) $
1496.75 s
[opt-env-conf-test] showString "WithConfig _ "
1496.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test]
1496.76 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:19-27
1496.76 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1496.76 s
[opt-env-conf-test] . showString " _ "
1496.76 s
[opt-env-conf-test] . go 11 p
1496.76 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1496.76 s
[opt-env-conf-test] - showParen (d > 10) $
1496.76 s
[opt-env-conf-test] + showParen True $
1496.76 s
[opt-env-conf-test] showString "Commands "
1496.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test]
1496.76 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:20-26
1496.76 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1496.76 s
[opt-env-conf-test] . showString " _ "
1496.76 s
[opt-env-conf-test] . go 11 p
1496.76 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1496.76 s
[opt-env-conf-test] - showParen (d > 10) $
1496.76 s
[opt-env-conf-test] + showParen (True) $
1496.76 s
[opt-env-conf-test] showString "Commands "
1496.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test]
1496.76 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
1496.76 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1496.76 s
[opt-env-conf-test] . showString " _ "
1496.76 s
[opt-env-conf-test] . go 11 p
1496.76 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1496.76 s
[opt-env-conf-test] - showParen (d > 10) $
1496.76 s
[opt-env-conf-test] + showParen (d > -10) $
1496.76 s
[opt-env-conf-test] showString "Commands "
1496.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test]
1496.76 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
1496.76 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1496.76 s
[opt-env-conf-test] . showString " _ "
1496.76 s
[opt-env-conf-test] . go 11 p
1496.76 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1496.76 s
[opt-env-conf-test] - showParen (d > 10) $
1496.76 s
[opt-env-conf-test] + showParen (d > 1) $
1496.76 s
[opt-env-conf-test] showString "Commands "
1496.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test]
1496.76 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
1496.76 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1496.76 s
[opt-env-conf-test] . showString " _ "
1496.76 s
[opt-env-conf-test] . go 11 p
1496.76 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1496.76 s
[opt-env-conf-test] - showParen (d > 10) $
1496.76 s
[opt-env-conf-test] + showParen (d > 0) $
1496.76 s
[opt-env-conf-test] showString "Commands "
1496.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test]
1496.76 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:19-27
1496.76 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test] . go 11 p
1496.76 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1496.76 s
[opt-env-conf-test] - showParen (d > 10) $
1496.76 s
[opt-env-conf-test] + showParen True $
1496.76 s
[opt-env-conf-test] showString "Check "
1496.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test]
1496.76 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:20-26
1496.76 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test] . go 11 p
1496.76 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1496.76 s
[opt-env-conf-test] - showParen (d > 10) $
1496.76 s
[opt-env-conf-test] + showParen (True) $
1496.76 s
[opt-env-conf-test] showString "Check "
1496.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test]
1496.76 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
1496.76 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test] . go 11 p
1496.76 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1496.76 s
[opt-env-conf-test] - showParen (d > 10) $
1496.76 s
[opt-env-conf-test] + showParen (d > -10) $
1496.76 s
[opt-env-conf-test] showString "Check "
1496.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test]
1496.76 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
1496.76 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test] . go 11 p
1496.76 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1496.76 s
[opt-env-conf-test] - showParen (d > 10) $
1496.76 s
[opt-env-conf-test] + showParen (d > 1) $
1496.76 s
[opt-env-conf-test] showString "Check "
1496.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test]
1496.76 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
1496.76 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test] . go 11 p
1496.76 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1496.76 s
[opt-env-conf-test] - showParen (d > 10) $
1496.76 s
[opt-env-conf-test] + showParen (d > 0) $
1496.76 s
[opt-env-conf-test] showString "Check "
1496.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test]
1496.76 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:19-27
1496.76 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1496.76 s
[opt-env-conf-test] . showString " "
1496.76 s
[opt-env-conf-test] . go 11 p
1496.76 s
[opt-env-conf-test] ParserSome mLoc p ->
1496.76 s
[opt-env-conf-test] - showParen (d > 10) $
1496.76 s
[opt-env-conf-test] + showParen True $
1496.77 s
[opt-env-conf-test] showString "Some "
1496.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test]
1496.77 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:20-26
1496.77 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test] . go 11 p
1496.77 s
[opt-env-conf-test] ParserSome mLoc p ->
1496.77 s
[opt-env-conf-test] - showParen (d > 10) $
1496.77 s
[opt-env-conf-test] + showParen (True) $
1496.77 s
[opt-env-conf-test] showString "Some "
1496.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test]
1496.77 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
1496.77 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test] . go 11 p
1496.77 s
[opt-env-conf-test] ParserSome mLoc p ->
1496.77 s
[opt-env-conf-test] - showParen (d > 10) $
1496.77 s
[opt-env-conf-test] + showParen (d > -10) $
1496.77 s
[opt-env-conf-test] showString "Some "
1496.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test]
1496.77 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
1496.77 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test] . go 11 p
1496.77 s
[opt-env-conf-test] ParserSome mLoc p ->
1496.77 s
[opt-env-conf-test] - showParen (d > 10) $
1496.77 s
[opt-env-conf-test] + showParen (d > 1) $
1496.77 s
[opt-env-conf-test] showString "Some "
1496.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test]
1496.77 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
1496.77 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test] . go 11 p
1496.77 s
[opt-env-conf-test] ParserSome mLoc p ->
1496.77 s
[opt-env-conf-test] - showParen (d > 10) $
1496.77 s
[opt-env-conf-test] + showParen (d > 0) $
1496.77 s
[opt-env-conf-test] showString "Some "
1496.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test]
1496.77 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:19-27
1496.77 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test] . go 11 p2
1496.77 s
[opt-env-conf-test] ParserMany mLoc p ->
1496.77 s
[opt-env-conf-test] - showParen (d > 10) $
1496.77 s
[opt-env-conf-test] + showParen True $
1496.77 s
[opt-env-conf-test] showString "Many "
1496.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test]
1496.77 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:20-26
1496.77 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test] . go 11 p2
1496.77 s
[opt-env-conf-test] ParserMany mLoc p ->
1496.77 s
[opt-env-conf-test] - showParen (d > 10) $
1496.77 s
[opt-env-conf-test] + showParen (True) $
1496.77 s
[opt-env-conf-test] showString "Many "
1496.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test]
1496.77 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
1496.77 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test] . go 11 p2
1496.77 s
[opt-env-conf-test] ParserMany mLoc p ->
1496.77 s
[opt-env-conf-test] - showParen (d > 10) $
1496.77 s
[opt-env-conf-test] + showParen (d > -10) $
1496.77 s
[opt-env-conf-test] showString "Many "
1496.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test]
1496.77 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
1496.77 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1496.77 s
[opt-env-conf-test] . showString " "
1496.77 s
[opt-env-conf-test] . go 11 p2
1496.77 s
[opt-env-conf-test] ParserMany mLoc p ->
1496.77 s
[opt-env-conf-test] - showParen (d > 10) $
1496.77 s
[opt-env-conf-test] + showParen (d > 1) $
1496.77 s
[opt-env-conf-test] showString "Many "
1496.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.78 s
[opt-env-conf-test] . showString " "
1496.78 s
[opt-env-conf-test]
1496.78 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
1496.78 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1496.78 s
[opt-env-conf-test] . showString " "
1496.78 s
[opt-env-conf-test] . go 11 p2
1496.78 s
[opt-env-conf-test] ParserMany mLoc p ->
1496.78 s
[opt-env-conf-test] - showParen (d > 10) $
1496.78 s
[opt-env-conf-test] + showParen (d > 0) $
1496.78 s
[opt-env-conf-test] showString "Many "
1496.78 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.78 s
[opt-env-conf-test] . showString " "
1496.78 s
[opt-env-conf-test]
1496.78 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:19-27
1496.78 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1496.78 s
[opt-env-conf-test] showString "Empty "
1496.78 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.78 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1496.78 s
[opt-env-conf-test] - showParen (d > 10) $
1496.78 s
[opt-env-conf-test] + showParen True $
1496.78 s
[opt-env-conf-test] showString "Alt "
1496.78 s
[opt-env-conf-test] . go 11 p1
1496.78 s
[opt-env-conf-test] . showString " "
1496.78 s
[opt-env-conf-test]
1496.78 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:20-26
1496.78 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1496.78 s
[opt-env-conf-test] showString "Empty "
1496.78 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.78 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1496.78 s
[opt-env-conf-test] - showParen (d > 10) $
1496.78 s
[opt-env-conf-test] + showParen (True) $
1496.78 s
[opt-env-conf-test] showString "Alt "
1496.78 s
[opt-env-conf-test] . go 11 p1
1496.78 s
[opt-env-conf-test] . showString " "
1496.78 s
[opt-env-conf-test]
1496.78 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
1496.78 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1496.78 s
[opt-env-conf-test] showString "Empty "
1496.78 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.78 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1496.78 s
[opt-env-conf-test] - showParen (d > 10) $
1496.78 s
[opt-env-conf-test] + showParen (d > -10) $
1496.78 s
[opt-env-conf-test] showString "Alt "
1496.78 s
[opt-env-conf-test] . go 11 p1
1496.78 s
[opt-env-conf-test] . showString " "
1496.78 s
[opt-env-conf-test]
1496.78 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
1496.78 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1496.78 s
[opt-env-conf-test] showString "Empty "
1496.78 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.78 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1496.78 s
[opt-env-conf-test] - showParen (d > 10) $
1496.78 s
[opt-env-conf-test] + showParen (d > 1) $
1496.78 s
[opt-env-conf-test] showString "Alt "
1496.78 s
[opt-env-conf-test] . go 11 p1
1496.78 s
[opt-env-conf-test] . showString " "
1496.78 s
[opt-env-conf-test]
1496.78 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
1496.78 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1496.78 s
[opt-env-conf-test] showString "Empty "
1496.78 s
[opt-env-conf-test] . showsPrec 11 mLoc
1496.78 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1496.78 s
[opt-env-conf-test] - showParen (d > 10) $
1496.78 s
[opt-env-conf-test] + showParen (d > 0) $
1496.78 s
[opt-env-conf-test] showString "Alt "
1496.78 s
[opt-env-conf-test] . go 11 p1
1496.78 s
[opt-env-conf-test] . showString " "
1496.78 s
[opt-env-conf-test]
1496.78 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:19-27
1496.78 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1496.78 s
[opt-env-conf-test] go d = \case
1496.78 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1496.78 s
[opt-env-conf-test] ParserAp pf pa ->
1496.78 s
[opt-env-conf-test] - showParen (d > 10) $
1496.78 s
[opt-env-conf-test] + showParen True $
1496.78 s
[opt-env-conf-test] showString "Ap "
1496.78 s
[opt-env-conf-test] . go 11 pf
1496.78 s
[opt-env-conf-test] . showString " "
1496.78 s
[opt-env-conf-test]
1496.78 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:20-26
1496.78 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1496.78 s
[opt-env-conf-test] go d = \case
1496.78 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1496.78 s
[opt-env-conf-test] ParserAp pf pa ->
1496.78 s
[opt-env-conf-test] - showParen (d > 10) $
1496.78 s
[opt-env-conf-test] + showParen (True) $
1496.78 s
[opt-env-conf-test] showString "Ap "
1496.78 s
[opt-env-conf-test] . go 11 pf
1496.78 s
[opt-env-conf-test] . showString " "
1496.78 s
[opt-env-conf-test]
1496.78 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
1496.78 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1496.78 s
[opt-env-conf-test] go d = \case
1496.78 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1496.78 s
[opt-env-conf-test] ParserAp pf pa ->
1496.78 s
[opt-env-conf-test] - showParen (d > 10) $
1496.78 s
[opt-env-conf-test] + showParen (d > -10) $
1496.78 s
[opt-env-conf-test] showString "Ap "
1496.78 s
[opt-env-conf-test] . go 11 pf
1496.79 s
[opt-env-conf-test] . showString " "
1496.79 s
[opt-env-conf-test]
1496.79 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
1496.79 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1496.79 s
[opt-env-conf-test] go d = \case
1496.79 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1496.79 s
[opt-env-conf-test] ParserAp pf pa ->
1496.79 s
[opt-env-conf-test] - showParen (d > 10) $
1496.79 s
[opt-env-conf-test] + showParen (d > 1) $
1496.79 s
[opt-env-conf-test] showString "Ap "
1496.79 s
[opt-env-conf-test] . go 11 pf
1496.79 s
[opt-env-conf-test] . showString " "
1496.79 s
[opt-env-conf-test]
1496.79 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
1496.79 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1496.79 s
[opt-env-conf-test] go d = \case
1496.79 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1496.79 s
[opt-env-conf-test] ParserAp pf pa ->
1496.79 s
[opt-env-conf-test] - showParen (d > 10) $
1496.79 s
[opt-env-conf-test] + showParen (d > 0) $
1496.79 s
[opt-env-conf-test] showString "Ap "
1496.79 s
[opt-env-conf-test] . go 11 pf
1496.79 s
[opt-env-conf-test] . showString " "
1496.79 s
[opt-env-conf-test]
1496.79 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:33-41
1496.79 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1496.79 s
[opt-env-conf-test] where
1496.79 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1496.79 s
[opt-env-conf-test] go d = \case
1496.79 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1496.79 s
[opt-env-conf-test] + ParserPure _ -> showParen True $ showString "Pure _"
1496.79 s
[opt-env-conf-test] ParserAp pf pa ->
1496.79 s
[opt-env-conf-test] showParen (d > 10) $
1496.79 s
[opt-env-conf-test] showString "Ap "
1496.79 s
[opt-env-conf-test]
1496.79 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:34-40
1496.79 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1496.79 s
[opt-env-conf-test] where
1496.79 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1496.79 s
[opt-env-conf-test] go d = \case
1496.79 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1496.79 s
[opt-env-conf-test] + ParserPure _ -> showParen (True) $ showString "Pure _"
1496.79 s
[opt-env-conf-test] ParserAp pf pa ->
1496.79 s
[opt-env-conf-test] showParen (d > 10) $
1496.79 s
[opt-env-conf-test] showString "Ap "
1496.79 s
[opt-env-conf-test]
1496.79 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
1496.79 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1496.79 s
[opt-env-conf-test] where
1496.79 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1496.79 s
[opt-env-conf-test] go d = \case
1496.79 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1496.79 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > -10) $ showString "Pure _"
1496.79 s
[opt-env-conf-test] ParserAp pf pa ->
1496.79 s
[opt-env-conf-test] showParen (d > 10) $
1496.79 s
[opt-env-conf-test] showString "Ap "
1496.79 s
[opt-env-conf-test]
1496.79 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
1496.79 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1496.79 s
[opt-env-conf-test] where
1496.79 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1496.79 s
[opt-env-conf-test] go d = \case
1496.79 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1496.79 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 1) $ showString "Pure _"
1496.79 s
[opt-env-conf-test] ParserAp pf pa ->
1496.79 s
[opt-env-conf-test] showParen (d > 10) $
1496.79 s
[opt-env-conf-test] showString "Ap "
1496.79 s
[opt-env-conf-test]
1496.79 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
1496.79 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1496.79 s
[opt-env-conf-test] where
1496.79 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1496.79 s
[opt-env-conf-test] go d = \case
1496.79 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1496.79 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
1496.79 s
[opt-env-conf-test] ParserAp pf pa ->
1496.79 s
[opt-env-conf-test] showParen (d > 10) $
1496.79 s
[opt-env-conf-test] showString "Ap "
1496.79 s
[opt-env-conf-test]
1496.79 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1496.79 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1496.79 s
[opt-env-conf-test] where
1496.79 s
[opt-env-conf-test] go p =
1496.79 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1496.79 s
[opt-env-conf-test] in case p of
1496.79 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1496.79 s
[opt-env-conf-test] ParserAp {} -> p'
1496.79 s
[opt-env-conf-test] ParserSelect {} -> p'
1496.79 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1496.79 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1496.79 s
[opt-env-conf-test] ParserMany {} -> p'
1496.79 s
[opt-env-conf-test] ParserSome {} -> p'
1496.79 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1496.79 s
[opt-env-conf-test] ParserCheck {} -> p'
1496.79 s
[opt-env-conf-test] ParserCommands {} -> p'
1496.79 s
[opt-env-conf-test] - ParserWithConfig {} -> p'
1496.79 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1496.79 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1496.79 s
[opt-env-conf-test] Just _ -> p
1496.79 s
[opt-env-conf-test]
1496.79 s
[opt-env-conf-test] -- | Try a list of parsers in order
1496.79 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1496.79 s
[opt-env-conf-test]
1496.79 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1496.79 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1496.79 s
[opt-env-conf-test] where
1496.79 s
[opt-env-conf-test] go p =
1496.79 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1496.79 s
[opt-env-conf-test] in case p of
1496.79 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1496.79 s
[opt-env-conf-test] ParserAp {} -> p'
1496.79 s
[opt-env-conf-test] ParserSelect {} -> p'
1496.79 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1496.79 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1496.80 s
[opt-env-conf-test] ParserMany {} -> p'
1496.80 s
[opt-env-conf-test] ParserSome {} -> p'
1496.80 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1496.80 s
[opt-env-conf-test] ParserCheck {} -> p'
1496.80 s
[opt-env-conf-test] - ParserCommands {} -> p'
1496.80 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1496.80 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1496.80 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1496.80 s
[opt-env-conf-test] Just _ -> p
1496.80 s
[opt-env-conf-test]
1496.80 s
[opt-env-conf-test] -- | Try a list of parsers in order
1496.80 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1496.80 s
[opt-env-conf-test]
1496.80 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1496.80 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1496.80 s
[opt-env-conf-test] where
1496.80 s
[opt-env-conf-test] go p =
1496.80 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1496.80 s
[opt-env-conf-test] in case p of
1496.80 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1496.80 s
[opt-env-conf-test] ParserAp {} -> p'
1496.80 s
[opt-env-conf-test] ParserSelect {} -> p'
1496.80 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1496.80 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1496.80 s
[opt-env-conf-test] ParserMany {} -> p'
1496.80 s
[opt-env-conf-test] ParserSome {} -> p'
1496.80 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1496.80 s
[opt-env-conf-test] - ParserCheck {} -> p'
1496.80 s
[opt-env-conf-test] ParserCommands {} -> p'
1496.80 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1496.80 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1496.80 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1496.80 s
[opt-env-conf-test] Just _ -> p
1496.80 s
[opt-env-conf-test]
1496.80 s
[opt-env-conf-test] -- | Try a list of parsers in order
1496.80 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1496.80 s
[opt-env-conf-test]
1496.80 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1496.80 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1496.80 s
[opt-env-conf-test] where
1496.80 s
[opt-env-conf-test] go p =
1496.80 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1496.80 s
[opt-env-conf-test] in case p of
1496.80 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1496.80 s
[opt-env-conf-test] ParserAp {} -> p'
1496.80 s
[opt-env-conf-test] ParserSelect {} -> p'
1496.80 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1496.80 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1496.80 s
[opt-env-conf-test] ParserMany {} -> p'
1496.80 s
[opt-env-conf-test] ParserSome {} -> p'
1496.80 s
[opt-env-conf-test] - ParserAllOrNothing {} -> p'
1496.80 s
[opt-env-conf-test] ParserCheck {} -> p'
1496.80 s
[opt-env-conf-test] ParserCommands {} -> p'
1496.80 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1496.80 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1496.80 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1496.80 s
[opt-env-conf-test] Just _ -> p
1496.80 s
[opt-env-conf-test]
1496.80 s
[opt-env-conf-test] -- | Try a list of parsers in order
1496.80 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1496.80 s
[opt-env-conf-test]
1496.80 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1496.80 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1496.80 s
[opt-env-conf-test] where
1496.80 s
[opt-env-conf-test] go p =
1496.80 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1496.80 s
[opt-env-conf-test] in case p of
1496.80 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1496.80 s
[opt-env-conf-test] ParserAp {} -> p'
1496.80 s
[opt-env-conf-test] ParserSelect {} -> p'
1496.80 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1496.80 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1496.80 s
[opt-env-conf-test] ParserMany {} -> p'
1496.80 s
[opt-env-conf-test] - ParserSome {} -> p'
1496.80 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1496.80 s
[opt-env-conf-test] ParserCheck {} -> p'
1496.80 s
[opt-env-conf-test] ParserCommands {} -> p'
1496.80 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1496.80 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1496.80 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1496.80 s
[opt-env-conf-test] Just _ -> p
1496.80 s
[opt-env-conf-test]
1496.80 s
[opt-env-conf-test] -- | Try a list of parsers in order
1496.80 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1496.80 s
[opt-env-conf-test]
1496.80 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1496.80 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1496.80 s
[opt-env-conf-test] where
1496.80 s
[opt-env-conf-test] go p =
1496.80 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1496.80 s
[opt-env-conf-test] in case p of
1496.80 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1496.80 s
[opt-env-conf-test] ParserAp {} -> p'
1496.80 s
[opt-env-conf-test] ParserSelect {} -> p'
1496.80 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1496.80 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1496.80 s
[opt-env-conf-test] - ParserMany {} -> p'
1496.80 s
[opt-env-conf-test] ParserSome {} -> p'
1496.80 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1496.80 s
[opt-env-conf-test] ParserCheck {} -> p'
1496.80 s
[opt-env-conf-test] ParserCommands {} -> p'
1496.80 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1496.80 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1496.80 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1496.80 s
[opt-env-conf-test] Just _ -> p
1496.80 s
[opt-env-conf-test]
1496.80 s
[opt-env-conf-test] -- | Try a list of parsers in order
1496.81 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1496.81 s
[opt-env-conf-test]
1496.81 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1496.81 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1496.81 s
[opt-env-conf-test] where
1496.81 s
[opt-env-conf-test] go p =
1496.81 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1496.81 s
[opt-env-conf-test] in case p of
1496.81 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1496.81 s
[opt-env-conf-test] ParserAp {} -> p'
1496.81 s
[opt-env-conf-test] ParserSelect {} -> p'
1496.81 s
[opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
1496.81 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1496.81 s
[opt-env-conf-test] ParserMany {} -> p'
1496.81 s
[opt-env-conf-test] ParserSome {} -> p'
1496.81 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1496.81 s
[opt-env-conf-test] ParserCheck {} -> p'
1496.81 s
[opt-env-conf-test] ParserCommands {} -> p'
1496.81 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1496.81 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1496.81 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1496.81 s
[opt-env-conf-test] Just _ -> p
1496.81 s
[opt-env-conf-test]
1496.81 s
[opt-env-conf-test] -- | Try a list of parsers in order
1496.81 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1496.81 s
[opt-env-conf-test]
1496.81 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1496.81 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1496.81 s
[opt-env-conf-test] where
1496.81 s
[opt-env-conf-test] go p =
1496.81 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1496.81 s
[opt-env-conf-test] in case p of
1496.81 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1496.81 s
[opt-env-conf-test] ParserAp {} -> p'
1496.81 s
[opt-env-conf-test] - ParserSelect {} -> p'
1496.81 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1496.81 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1496.81 s
[opt-env-conf-test] ParserMany {} -> p'
1496.81 s
[opt-env-conf-test] ParserSome {} -> p'
1496.81 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1496.81 s
[opt-env-conf-test] ParserCheck {} -> p'
1496.81 s
[opt-env-conf-test] ParserCommands {} -> p'
1496.81 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1496.81 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1496.81 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1496.81 s
[opt-env-conf-test] Just _ -> p
1496.81 s
[opt-env-conf-test]
1496.81 s
[opt-env-conf-test] -- | Try a list of parsers in order
1496.81 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1496.81 s
[opt-env-conf-test]
1496.81 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1496.81 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1496.81 s
[opt-env-conf-test] where
1496.81 s
[opt-env-conf-test] go p =
1496.81 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1496.81 s
[opt-env-conf-test] in case p of
1496.81 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1496.81 s
[opt-env-conf-test] - ParserAp {} -> p'
1496.81 s
[opt-env-conf-test] ParserSelect {} -> p'
1496.81 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1496.81 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1496.81 s
[opt-env-conf-test] ParserMany {} -> p'
1496.81 s
[opt-env-conf-test] ParserSome {} -> p'
1496.81 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1496.81 s
[opt-env-conf-test] ParserCheck {} -> p'
1496.81 s
[opt-env-conf-test] ParserCommands {} -> p'
1496.81 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1496.81 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1496.81 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1496.81 s
[opt-env-conf-test] Just _ -> p
1496.81 s
[opt-env-conf-test]
1496.81 s
[opt-env-conf-test] -- | Try a list of parsers in order
1496.81 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1496.81 s
[opt-env-conf-test]
1496.81 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1496.81 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1496.81 s
[opt-env-conf-test] where
1496.81 s
[opt-env-conf-test] go p =
1496.81 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1496.81 s
[opt-env-conf-test] in case p of
1496.81 s
[opt-env-conf-test] - ParserPure a -> ParserPure a
1496.81 s
[opt-env-conf-test] ParserAp {} -> p'
1496.81 s
[opt-env-conf-test] ParserSelect {} -> p'
1496.81 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1496.81 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1496.81 s
[opt-env-conf-test] ParserMany {} -> p'
1496.81 s
[opt-env-conf-test] ParserSome {} -> p'
1496.81 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1496.81 s
[opt-env-conf-test] ParserCheck {} -> p'
1496.81 s
[opt-env-conf-test] ParserCommands {} -> p'
1496.81 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1496.81 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1496.81 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1496.81 s
[opt-env-conf-test] Just _ -> p
1496.81 s
[opt-env-conf-test]
1496.81 s
[opt-env-conf-test] -- | Try a list of parsers in order
1496.81 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1496.81 s
[opt-env-conf-test]
1496.81 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
1496.81 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1496.81 s
[opt-env-conf-test] ParserCheck {} -> p'
1496.81 s
[opt-env-conf-test] ParserCommands {} -> p'
1496.81 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1496.81 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1496.81 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1496.81 s
[opt-env-conf-test] - Just _ -> p
1496.81 s
[opt-env-conf-test]
1496.81 s
[opt-env-conf-test] -- | Try a list of parsers in order
1496.81 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1496.81 s
[opt-env-conf-test]
1496.81 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
1496.81 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
1496.81 s
[opt-env-conf-test] checkMapMaybe func p =
1496.81 s
[opt-env-conf-test] withFrozenCallStack $
1496.81 s
[opt-env-conf-test] checkMapEither
1496.81 s
[opt-env-conf-test] ( \a -> case func a of
1496.81 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
1496.81 s
[opt-env-conf-test] - Just b -> Right b
1496.81 s
[opt-env-conf-test] )
1496.82 s
[opt-env-conf-test] p
1496.82 s
[opt-env-conf-test]
1496.82 s
[opt-env-conf-test]
1496.82 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1496.82 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1496.82 s
[opt-env-conf-test] put as'
1496.82 s
[opt-env-conf-test] pure $ Just []
1496.82 s
[opt-env-conf-test] else do
1496.82 s
[opt-env-conf-test] - if settingTryOption
1496.82 s
[opt-env-conf-test] + if True
1496.82 s
[opt-env-conf-test] then do
1496.82 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1496.82 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1496.82 s
[opt-env-conf-test]
1496.82 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1496.82 s
[opt-env-conf-test] @@ -432,11 +432,10 @@
1496.82 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1496.82 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1496.82 s
[opt-env-conf-test] -- completer if we are at the end.
1496.82 s
[opt-env-conf-test] case possibilities of
1496.82 s
[opt-env-conf-test] - [] -> completeWithCompleterAtEnd
1496.82 s
[opt-env-conf-test] (_, as') : _ -> do
1496.82 s
[opt-env-conf-test] put as'
1496.82 s
[opt-env-conf-test] completeWithCompleterAtEnd
1496.82 s
[opt-env-conf-test] else
1496.82 s
[opt-env-conf-test] if isJust settingSwitchValue
1496.82 s
[opt-env-conf-test] then do
1496.82 s
[opt-env-conf-test]
1496.82 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1496.82 s
[opt-env-conf-test] @@ -125,42 +125,41 @@
1496.82 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1496.82 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1496.82 s
[opt-env-conf-test] exitFailure
1496.82 s
[opt-env-conf-test] Right i -> case i of
1496.82 s
[opt-env-conf-test] ShowVersion -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.82 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] RenderMan -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.82 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] RenderDocumentation -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.82 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] RenderNixosOptions -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1496.82 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] - ParsedNormally a -> pure a
1496.82 s
[opt-env-conf-test]
1496.82 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1496.82 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1496.82 s
[opt-env-conf-test]
1496.82 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1496.82 s
[opt-env-conf-test] @@ -125,42 +125,39 @@
1496.82 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1496.82 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1496.82 s
[opt-env-conf-test] exitFailure
1496.82 s
[opt-env-conf-test] Right i -> case i of
1496.82 s
[opt-env-conf-test] ShowVersion -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.82 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] RenderMan -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.82 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] RenderDocumentation -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.82 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] RenderNixosOptions -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1496.82 s
[opt-env-conf-test] progname <- getProgName
1496.82 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1496.82 s
[opt-env-conf-test] exitSuccess
1496.82 s
[opt-env-conf-test] - CompletionQuery enriched index ws -> do
1496.82 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1496.82 s
[opt-env-conf-test] - exitSuccess
1496.82 s
[opt-env-conf-test] ParsedNormally a -> pure a
1496.82 s
[opt-env-conf-test]
1496.82 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1496.82 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1496.82 s
[opt-env-conf-test]
1496.82 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1496.82 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1496.82 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1496.82 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1496.82 s
[opt-env-conf-test] exitFailure
1496.82 s
[opt-env-conf-test] Right i -> case i of
1496.82 s
[opt-env-conf-test] ShowVersion -> do
1496.83 s
[opt-env-conf-test] progname <- getProgName
1496.83 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.83 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1496.83 s
[opt-env-conf-test] exitSuccess
1496.83 s
[opt-env-conf-test] RenderMan -> do
1496.83 s
[opt-env-conf-test] progname <- getProgName
1496.83 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.83 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1496.83 s
[opt-env-conf-test] exitSuccess
1496.83 s
[opt-env-conf-test] RenderDocumentation -> do
1496.83 s
[opt-env-conf-test] progname <- getProgName
1496.83 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.83 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1496.83 s
[opt-env-conf-test] exitSuccess
1496.83 s
[opt-env-conf-test] RenderNixosOptions -> do
1496.83 s
[opt-env-conf-test] progname <- getProgName
1496.83 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1496.83 s
[opt-env-conf-test] exitSuccess
1496.83 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1496.83 s
[opt-env-conf-test] progname <- getProgName
1496.83 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1496.83 s
[opt-env-conf-test] exitSuccess
1496.83 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1496.83 s
[opt-env-conf-test] progname <- getProgName
1496.83 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1496.83 s
[opt-env-conf-test] - exitSuccess
1496.83 s
[opt-env-conf-test] - FishCompletionScript progPath -> do
1496.83 s
[opt-env-conf-test] - progname <- getProgName
1496.83 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
1496.83 s
[opt-env-conf-test] exitSuccess
1496.83 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1496.83 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1496.83 s
[opt-env-conf-test] exitSuccess
1496.83 s
[opt-env-conf-test] ParsedNormally a -> pure a
1496.83 s
[opt-env-conf-test]
1496.83 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1496.83 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1496.83 s
[opt-env-conf-test]
1496.83 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1496.83 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1496.83 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1496.83 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1496.83 s
[opt-env-conf-test] exitFailure
1496.83 s
[opt-env-conf-test] Right i -> case i of
1496.83 s
[opt-env-conf-test] ShowVersion -> do
1496.83 s
[opt-env-conf-test] progname <- getProgName
1496.83 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.83 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1496.83 s
[opt-env-conf-test] exitSuccess
1496.83 s
[opt-env-conf-test] RenderMan -> do
1496.83 s
[opt-env-conf-test] progname <- getProgName
1496.83 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.83 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1496.83 s
[opt-env-conf-test] exitSuccess
1496.83 s
[opt-env-conf-test] RenderDocumentation -> do
1496.83 s
[opt-env-conf-test] progname <- getProgName
1496.83 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.83 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1496.83 s
[opt-env-conf-test] exitSuccess
1496.83 s
[opt-env-conf-test] RenderNixosOptions -> do
1496.83 s
[opt-env-conf-test] progname <- getProgName
1496.83 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1496.83 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1496.84 s
[opt-env-conf-test] - exitSuccess
1496.84 s
[opt-env-conf-test] - ZshCompletionScript progPath -> do
1496.84 s
[opt-env-conf-test] - progname <- getProgName
1496.84 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1496.84 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] ParsedNormally a -> pure a
1496.84 s
[opt-env-conf-test]
1496.84 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1496.84 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1496.84 s
[opt-env-conf-test]
1496.84 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1496.84 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1496.84 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1496.84 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1496.84 s
[opt-env-conf-test] exitFailure
1496.84 s
[opt-env-conf-test] Right i -> case i of
1496.84 s
[opt-env-conf-test] ShowVersion -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.84 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] RenderMan -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.84 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] RenderDocumentation -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.84 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] RenderNixosOptions -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1496.84 s
[opt-env-conf-test] - exitSuccess
1496.84 s
[opt-env-conf-test] - BashCompletionScript progPath -> do
1496.84 s
[opt-env-conf-test] - progname <- getProgName
1496.84 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1496.84 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] ParsedNormally a -> pure a
1496.84 s
[opt-env-conf-test]
1496.84 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1496.84 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1496.84 s
[opt-env-conf-test]
1496.84 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1496.84 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1496.84 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1496.84 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1496.84 s
[opt-env-conf-test] exitFailure
1496.84 s
[opt-env-conf-test] Right i -> case i of
1496.84 s
[opt-env-conf-test] ShowVersion -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.84 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] RenderMan -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.84 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] RenderDocumentation -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.84 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1496.84 s
[opt-env-conf-test] - exitSuccess
1496.84 s
[opt-env-conf-test] - RenderNixosOptions -> do
1496.84 s
[opt-env-conf-test] - progname <- getProgName
1496.84 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1496.84 s
[opt-env-conf-test] progname <- getProgName
1496.84 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1496.84 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1496.84 s
[opt-env-conf-test] exitSuccess
1496.84 s
[opt-env-conf-test] ParsedNormally a -> pure a
1496.85 s
[opt-env-conf-test]
1496.85 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1496.85 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1496.85 s
[opt-env-conf-test]
1496.85 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1496.85 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1496.85 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1496.85 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1496.85 s
[opt-env-conf-test] exitFailure
1496.85 s
[opt-env-conf-test] Right i -> case i of
1496.85 s
[opt-env-conf-test] ShowVersion -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.85 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] RenderMan -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.85 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] - RenderDocumentation -> do
1496.85 s
[opt-env-conf-test] - progname <- getProgName
1496.85 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1496.85 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1496.85 s
[opt-env-conf-test] - exitSuccess
1496.85 s
[opt-env-conf-test] RenderNixosOptions -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1496.85 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] ParsedNormally a -> pure a
1496.85 s
[opt-env-conf-test]
1496.85 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1496.85 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1496.85 s
[opt-env-conf-test]
1496.85 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1496.85 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1496.85 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1496.85 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1496.85 s
[opt-env-conf-test] exitFailure
1496.85 s
[opt-env-conf-test] Right i -> case i of
1496.85 s
[opt-env-conf-test] ShowVersion -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.85 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] - RenderMan -> do
1496.85 s
[opt-env-conf-test] - progname <- getProgName
1496.85 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1496.85 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1496.85 s
[opt-env-conf-test] - exitSuccess
1496.85 s
[opt-env-conf-test] RenderDocumentation -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.85 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] RenderNixosOptions -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1496.85 s
[opt-env-conf-test] progname <- getProgName
1496.85 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1496.85 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] ParsedNormally a -> pure a
1496.85 s
[opt-env-conf-test]
1496.85 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1496.85 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1496.85 s
[opt-env-conf-test]
1496.85 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:100:48-78
1496.85 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
1496.85 s
[opt-env-conf-test] exitFailure
1496.85 s
[opt-env-conf-test] Right mCommandDoc -> do
1496.85 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1496.85 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1496.85 s
[opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
1496.85 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1496.85 s
[opt-env-conf-test] exitSuccess
1496.85 s
[opt-env-conf-test] else do
1496.85 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1496.85 s
[opt-env-conf-test]
1496.85 s
[opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:83:12-21
1496.85 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1496.85 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1496.85 s
[opt-env-conf-test]
1496.85 s
[opt-env-conf-test] mDebugMode <-
1496.85 s
[opt-env-conf-test] - if debugMode
1496.85 s
[opt-env-conf-test] + if not debugMode
1496.85 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1496.85 s
[opt-env-conf-test] else pure Nothing
1496.85 s
[opt-env-conf-test]
1496.85 s
[opt-env-conf-test]
1496.85 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
1496.85 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1496.85 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1496.85 s
[opt-env-conf-test]
1496.85 s
[opt-env-conf-test] mDebugMode <-
1496.86 s
[opt-env-conf-test] - if debugMode
1496.86 s
[opt-env-conf-test] + if False
1496.86 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1496.86 s
[opt-env-conf-test] else pure Nothing
1496.86 s
[opt-env-conf-test]
1496.86 s
[opt-env-conf-test]
1496.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
1496.86 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1496.86 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1496.86 s
[opt-env-conf-test]
1496.86 s
[opt-env-conf-test] mDebugMode <-
1496.86 s
[opt-env-conf-test] - if debugMode
1496.86 s
[opt-env-conf-test] + if True
1496.86 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1496.86 s
[opt-env-conf-test] else pure Nothing
1496.86 s
[opt-env-conf-test]
1496.86 s
[opt-env-conf-test]
1496.86 s
[opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:175:18-23
1496.86 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1496.86 s
[opt-env-conf-test] | x == arg -> (True, xs)
1496.86 s
[opt-env-conf-test] | otherwise ->
1496.86 s
[opt-env-conf-test] let (found, rest) = go xs
1496.86 s
[opt-env-conf-test] - in (found, x : rest)
1496.86 s
[opt-env-conf-test] + in (not found, x : rest)
1496.86 s
[opt-env-conf-test]
1496.86 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1496.86 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1496.86 s
[opt-env-conf-test]
1496.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:175:18-23
1496.86 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1496.86 s
[opt-env-conf-test] | x == arg -> (True, xs)
1496.86 s
[opt-env-conf-test] | otherwise ->
1496.86 s
[opt-env-conf-test] let (found, rest) = go xs
1496.86 s
[opt-env-conf-test] - in (found, x : rest)
1496.86 s
[opt-env-conf-test] + in (False, x : rest)
1496.86 s
[opt-env-conf-test]
1496.86 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1496.86 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1496.86 s
[opt-env-conf-test]
1496.86 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:199:13-44
1496.86 s
[opt-env-conf-test] @@ -196,13 +196,12 @@
1496.86 s
[opt-env-conf-test] [] -> (caps, [])
1496.86 s
[opt-env-conf-test] (x : xs) ->
1496.86 s
[opt-env-conf-test] let t = T.pack x
1496.86 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilitieTesting mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
1496.86 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
1496.86 s
[opt-env-conf-test] ParseErrorEmpty -> True
1496.86 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1496.86 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1496.86 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
1496.86 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> False
1496.86 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1496.86 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1496.86 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1496.86 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1496.86 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
1496.86 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
1496.86 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
1496.86 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
1496.86 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
1496.86 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
1496.86 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
1496.86 s
[opt-env-conf-test] - ["Missing command, available commands:"]
1496.86 s
[opt-env-conf-test] - : availableCommandsLines cs
1496.86 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
1496.86 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1496.86 s
[opt-env-conf-test] - [fore blue "available commands:"]
1496.86 s
[opt-env-conf-test] - ]
1496.86 s
[opt-env-conf-test] - ++ availableCommandsLines cs
1496.86 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
1496.86 s
[opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1496.86 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1496.86 s
[opt-env-conf-test] - ]
1496.86 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
1496.86 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
1496.86 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1496.86 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
1496.86 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
1496.86 s
[opt-env-conf-test] - maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1496.86 s
[opt-env-conf-test] ]
1496.86 s
[opt-env-conf-test]
1496.86 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1496.86 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1496.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:40-47
1496.86 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1496.86 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1496.86 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1496.86 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1496.86 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1496.86 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ not null cs
1496.86 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1496.86 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1496.86 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1496.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1496.86 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1496.86 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.86 s
[opt-env-conf-test] c1 <- go p1
1496.86 s
[opt-env-conf-test] c2 <- go p2
1496.86 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1496.86 s
[opt-env-conf-test] + pure False -- TODO: is this right?
1496.86 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1496.86 s
[opt-env-conf-test] ParserMany mLoc p -> do
1496.87 s
[opt-env-conf-test] c <- go p
1496.87 s
[opt-env-conf-test] s-disable-" t of
1496.87 s
[opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
1496.87 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1496.87 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
1496.87 s
[opt-env-conf-test] Nothing ->
1496.87 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1496.87 s
[opt-env-conf-test] in (finalCaps, x : rest)
1496.87 s
[opt-env-conf-test]
1496.87 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1496.87 s
[opt-env-conf-test] -- is supposed to.
1496.87 s
[opt-env-conf-test]
1496.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:201:26-44
1496.87 s
[opt-env-conf-test] @@ -198,11 +198,10 @@
1496.87 s
[opt-env-conf-test] let t = T.pack x
1496.87 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1496.87 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1496.87 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1496.87 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
1496.87 s
[opt-env-conf-test] Nothing ->
1496.87 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1496.87 s
[opt-env-conf-test] in (finalCaps, x : rest)
1496.87 s
[opt-env-conf-test]
1496.87 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1496.87 s
[opt-env-conf-test] -- is supposed to.
1496.87 s
[opt-env-conf-test]
1496.87 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:440:44-42
1496.87 s
[opt-env-conf-test] @@ -437,21 +437,20 @@
1496.87 s
[opt-env-conf-test] Just (a, _) -> do
1496.87 s
[opt-env-conf-test] debug ["set to default value"]
1496.87 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1496.87 s
[opt-env-conf-test] Nothing -> do
1496.87 s
[opt-env-conf-test] let parseResultError e res = case res of
1496.87 s
[opt-env-conf-test] NotRun -> Nothing
1496.87 s
[opt-env-conf-test] NotFound -> Just e
1496.87 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1496.87 s
[opt-env-conf-test] - debug ["not found"]
1496.87 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1496.87 s
[opt-env-conf-test] NE.nonEmpty $
1496.87 s
[opt-env-conf-test] catMaybes
1496.87 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1496.87 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1496.87 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1496.87 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1496.87 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1496.87 s
[opt-env-conf-test] ]
1496.87 s
[opt-env-conf-test]
1496.87 s
[opt-env-conf-test] withCapabilities ::
1496.87 s
[opt-env-conf-test] Maybe SrcLoc ->
1496.87 s
[opt-env-conf-test]
1496.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1496.87 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1496.87 s
[opt-env-conf-test] debug ["set to default value"]
1496.87 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1496.87 s
[opt-env-conf-test] Nothing -> do
1496.87 s
[opt-env-conf-test] let parseResultError e res = case res of
1496.87 s
[opt-env-conf-test] NotRun -> Nothing
1496.87 s
[opt-env-conf-test] NotFound -> Just e
1496.87 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1496.87 s
[opt-env-conf-test] debug ["not found"]
1496.87 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1496.87 s
[opt-env-conf-test] NE.nonEmpty $
1496.87 s
[opt-env-conf-test]
1496.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1496.87 s
[opt-env-conf-test] @@ -393,30 +393,29 @@
1496.87 s
[opt-env-conf-test] case mO' of
1496.87 s
[opt-env-conf-test] Nothing -> pure Nothing
1496.87 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1496.87 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1496.87 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1496.87 s
[opt-env-conf-test] Right mV -> case mV of
1496.87 s
[opt-env-conf-test] Nothing -> do
1496.87 s
[opt-env-conf-test] debug
1496.87 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1496.87 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1496.87 s
[opt-env-conf-test] ]
1496.87 s
[opt-env-conf-test] pure Nothing
1496.87 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1496.87 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1496.87 s
[opt-env-conf-test] Right mA -> case mA of
1496.87 s
[opt-env-conf-test] Nothing -> do
1496.87 s
[opt-env-conf-test] debug
1496.87 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1496.87 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1496.87 s
[opt-env-conf-test] ]
1496.87 s
[opt-env-conf-test] pure Nothing
1496.87 s
[opt-env-conf-test] Just a -> do
1496.87 s
[opt-env-conf-test] debug
1496.87 s
[opt-env-conf-test] [ "set based on config value: ",
1496.87 s
[opt-env-conf-test] chunk $ T.pack $ show v
1496.87 s
[opt-env-conf-test] ]
1496.87 s
[opt-env-conf-test] pure $ Just a
1496.87 s
[opt-env-conf-test] let toRes = \case
1496.87 s
[opt-env-conf-test] Nothing -> NotFound
1496.87 s
[opt-env-conf-test] Just a -> Found a
1496.87 s
[opt-env-conf-test]
1496.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1496.87 s
[opt-env-conf-test] @@ -402,21 +402,20 @@
1496.87 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1496.87 s
[opt-env-conf-test] ]
1496.87 s
[opt-env-conf-test] pure Nothing
1496.87 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1496.87 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1496.87 s
[opt-env-conf-test] Right mA -> case mA of
1496.87 s
[opt-env-conf-test] Nothing -> do
1496.87 s
[opt-env-conf-test] debug
1496.87 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1496.87 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1496.87 s
[opt-env-conf-test] ]
1496.87 s
[opt-env-conf-test] pure Nothing
1496.87 s
[opt-env-conf-test] Just a -> do
1496.87 s
[opt-env-conf-test] debug
1496.87 s
[opt-env-conf-test] [ "set based on config value: ",
1496.87 s
[opt-env-conf-test] chunk $ T.pack $ show v
1496.87 s
[opt-env-conf-test] ]
1496.87 s
[opt-env-conf-test] pure $ Just a
1496.87 s
[opt-env-conf-test] let toRes = \case
1496.88 s
[opt-env-conf-test] Nothing -> NotFound
1496.88 s
[opt-env-conf-test] Just a -> Found a
1496.88 s
[opt-env-conf-test]
1496.88 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:393:49-82
1496.88 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
1496.88 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1496.88 s
[opt-env-conf-test] Just neRest -> do
1496.88 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1496.88 s
[opt-env-conf-test] case mO' of
1496.88 s
[opt-env-conf-test] - Nothing -> pure Nothing
1496.88 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1496.88 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1496.88 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1496.88 s
[opt-env-conf-test] Right mV -> case mV of
1496.88 s
[opt-env-conf-test]
1496.88 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:224:38-20
1496.88 s
[opt-env-conf-test] @@ -221,15 +221,14 @@
1496.88 s
[opt-env-conf-test] Just c -> do
1496.88 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1496.88 s
[opt-env-conf-test] go $ commandParser c
1496.88 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1496.88 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1496.88 s
[opt-env-conf-test] ppIndent $ do
1496.88 s
[opt-env-conf-test] debug ["loading config"]
1496.88 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
1496.88 s
[opt-env-conf-test] debug ["with loaded config"]
1496.88 s
[opt-env-conf-test] ppIndent $
1496.88 s
[opt-env-conf-test] local (\e -> e {ppEnvConf = mNewConfig}) $
1496.88 s
[opt-env-conf-test] go pa
1496.88 s
[opt-env-conf-test] ParserSetting mLoc set@Setting {..} -> do
1496.88 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
1496.88 s
[opt-env-conf-test] when (not (Set.null settingRequiredCapabilities)) $
1496.88 s
[opt-env-conf-test]
1496.88 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:221:27-39
1496.88 s
[opt-env-conf-test] @@ -218,9 +218,8 @@
1496.88 s
[opt-env-conf-test] Just s -> do
1496.88 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1496.88 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1496.88 s
[opt-env-conf-test] Just c -> do
1496.88 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1496.88 s
[opt-env-conf-test] go $ commandParser c
1496.88 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1496.88 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1496.88 s
[opt-env-conf-test] ppIndent $ do
1496.88 s
[opt-env-conf-test]
1496.88 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:215:28-40
1496.88 s
[opt-env-conf-test] @@ -212,9 +212,8 @@
1496.88 s
[opt-env-conf-test] find ((== d) . commandArg) cs
1496.88 s
[opt-env-conf-test] case mDefaultCommand of
1496.88 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1496.88 s
[opt-env-conf-test] Just dc -> do
1496.88 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1496.88 s
[opt-env-conf-test] go $ commandParser dc
1496.88 s
[opt-env-conf-test] Just s -> do
1496.88 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1496.88 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1496.88 s
[opt-env-conf-test]
1496.88 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:195:29-70
1496.88 s
[opt-env-conf-test] @@ -192,9 +192,8 @@
1496.88 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
1496.88 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1496.88 s
[opt-env-conf-test] case errOrB of
1496.88 s
[opt-env-conf-test] Left err -> do
1496.88 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1496.88 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1496.88 s
[opt-env-conf-test] Right b -> do
1496.88 s
[opt-env-conf-test] debug ["succeeded"]
1496.88 s
[opt-env-conf-test] pure b
1496.88 s
[opt-env-conf-test]
1496.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:197:56-66
1496.88 s
[opt-env-conf-test] @@ -194,7 +194,7 @@
1496.88 s
[opt-env-conf-test] case errOrB of
1496.88 s
[opt-env-conf-test] Left err -> do
1496.88 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1496.88 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
1496.88 s
[opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed False err
1496.88 s
[opt-env-conf-test] Right b -> do
1496.88 s
[opt-env-conf-test] debug ["succeeded"]
1496.88 s
[opt-env-conf-test] pure b
1496.88 s
[opt-env-conf-test]
1496.88 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
1496.88 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
1496.88 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1496.88 s
[opt-env-conf-test] case errOrB of
1496.88 s
[opt-env-conf-test] Left err -> do
1496.88 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1496.88 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1496.88 s
[opt-env-conf-test] Right b -> do
1496.88 s
[opt-env-conf-test] debug ["succeeded"]
1496.88 s
[opt-env-conf-test]
1496.88 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
1496.88 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
1496.88 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1496.88 s
[opt-env-conf-test] case errOrB of
1496.88 s
[opt-env-conf-test] Left err -> do
1496.88 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1496.88 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1496.88 s
[opt-env-conf-test] Right b -> do
1496.88 s
[opt-env-conf-test] debug ["succeeded"]
1496.88 s
[opt-env-conf-test]
1496.88 s
[opt-env-conf-test] Negate at src/OptEnvConf/Run.hs:196:72-82
1496.88 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
1496.88 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1496.88 s
[opt-env-conf-test] case errOrB of
1496.88 s
[opt-env-conf-test] Left err -> do
1496.88 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1496.88 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show not forgivable]
1496.88 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1496.88 s
[opt-env-conf-test] Right b -> do
1496.88 s
[opt-env-conf-test] debug ["succeeded"]
1496.88 s
[opt-env-conf-test]
1496.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:196:72-82
1496.88 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
1496.88 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1496.89 s
[opt-env-conf-test] case errOrB of
1496.89 s
[opt-env-conf-test] Left err -> do
1496.89 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1496.89 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show True]
1496.89 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1496.89 s
[opt-env-conf-test] Right b -> do
1496.89 s
[opt-env-conf-test] debug ["succeeded"]
1496.89 s
[opt-env-conf-test]
1496.89 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:150:37-112
1496.89 s
[opt-env-conf-test] @@ -147,34 +147,33 @@
1496.89 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1496.89 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1496.89 s
[opt-env-conf-test] pure (a :| as)
1496.89 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1496.89 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1496.89 s
[opt-env-conf-test] ppIndent $ do
1496.89 s
[opt-env-conf-test] e <- ask
1496.89 s
[opt-env-conf-test] s <- get
1496.89 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
1496.89 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
1496.89 s
[opt-env-conf-test] put s'
1496.89 s
[opt-env-conf-test] case result of
1496.89 s
[opt-env-conf-test] Success a -> pure a
1496.89 s
[opt-env-conf-test] Failure errs -> do
1496.89 s
[opt-env-conf-test] if not $ all errorIsForgivable errs
1496.89 s
[opt-env-conf-test] then ppErrors' errs
1496.89 s
[opt-env-conf-test] else do
1496.89 s
[opt-env-conf-test] -- Settings available below
1496.89 s
[opt-env-conf-test] let settingsMap = parserSettingsMap p'
1496.89 s
[opt-env-conf-test] -- Settings that have been parsed
1496.89 s
[opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
1496.89 s
[opt-env-conf-test] -- Settings that have been parsed below
1496.89 s
[opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
1496.89 s
[opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
1496.89 s
[opt-env-conf-test] -- (this is the case because we're in the failure branch)
1496.89 s
[opt-env-conf-test] -- with only forgivable errors
1496.89 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1496.89 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1496.89 s
[opt-env-conf-test] if null parsedSettingsMap
1496.89 s
[opt-env-conf-test] then ppErrors' errs
1496.89 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1496.89 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1496.89 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1496.89 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
1496.89 s
[opt-env-conf-test]
1496.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:18-50
1496.89 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1496.89 s
[opt-env-conf-test] case result of
1496.89 s
[opt-env-conf-test] Success a -> pure a
1496.89 s
[opt-env-conf-test] Failure errs -> do
1496.89 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
1496.89 s
[opt-env-conf-test] + if False
1496.89 s
[opt-env-conf-test] then ppErrors' errs
1496.89 s
[opt-env-conf-test] else do
1496.89 s
[opt-env-conf-test] -- Settings available below
1496.89 s
[opt-env-conf-test]
1496.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:24-50
1496.89 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1496.89 s
[opt-env-conf-test] case result of
1496.89 s
[opt-env-conf-test] Success a -> pure a
1496.89 s
[opt-env-conf-test] Failure errs -> do
1496.89 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
1496.89 s
[opt-env-conf-test] + if not $ True
1496.89 s
[opt-env-conf-test] then ppErrors' errs
1496.89 s
[opt-env-conf-test] else do
1496.89 s
[opt-env-conf-test] -- Settings available below
1496.89 s
[opt-env-conf-test]
1496.89 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:143:29-25
1496.89 s
[opt-env-conf-test] @@ -140,13 +140,12 @@
1496.89 s
[opt-env-conf-test] Just a -> do
1496.89 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1496.89 s
[opt-env-conf-test] pure (a : as)
1496.89 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1496.89 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1496.89 s
[opt-env-conf-test] ppIndent $ do
1496.89 s
[opt-env-conf-test] a <- go p'
1496.89 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1496.89 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1496.89 s
[opt-env-conf-test] pure (a :| as)
1496.89 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1496.89 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1496.89 s
[opt-env-conf-test] ppIndent $ do
1496.89 s
[opt-env-conf-test]
1496.89 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:134:29-28
1496.89 s
[opt-env-conf-test] @@ -131,15 +131,14 @@
1496.89 s
[opt-env-conf-test] Nothing -> do
1496.89 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1496.89 s
[opt-env-conf-test] ppIndent $ go p2
1496.89 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1496.89 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1496.89 s
[opt-env-conf-test] ppIndent $ do
1496.89 s
[opt-env-conf-test] eor <- tryPP $ go p'
1496.89 s
[opt-env-conf-test] case eor of
1496.89 s
[opt-env-conf-test] Nothing -> pure []
1496.89 s
[opt-env-conf-test] Just a -> do
1496.89 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1496.89 s
[opt-env-conf-test] pure (a : as)
1496.89 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1496.89 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1496.89 s
[opt-env-conf-test] ppIndent $ do
1496.89 s
[opt-env-conf-test]
1496.89 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
1496.89 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
1496.89 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1496.89 s
[opt-env-conf-test] ppIndent $ go p2
1496.89 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1496.89 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1496.89 s
[opt-env-conf-test] ppIndent $ do
1496.89 s
[opt-env-conf-test] eor <- tryPP $ go p'
1496.89 s
[opt-env-conf-test] case eor of
1496.89 s
[opt-env-conf-test]
1496.89 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
1496.89 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
1496.89 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1496.89 s
[opt-env-conf-test] ppIndent $ go p2
1496.89 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1496.89 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1496.89 s
[opt-env-conf-test] ppIndent $ do
1496.89 s
[opt-env-conf-test] eor <- tryPP $ go p'
1496.89 s
[opt-env-conf-test] case eor of
1496.89 s
[opt-env-conf-test]
1496.89 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
1496.89 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
1496.89 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1496.89 s
[opt-env-conf-test] ppIndent $ go p2
1496.89 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1496.89 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1496.89 s
[opt-env-conf-test] ppIndent $ do
1496.89 s
[opt-env-conf-test] eor <- tryPP $ go p'
1496.89 s
[opt-env-conf-test] case eor of
1496.89 s
[opt-env-conf-test]
1496.89 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:122:26-31
1496.89 s
[opt-env-conf-test] @@ -119,18 +119,17 @@
1496.89 s
[opt-env-conf-test] ParserSelect fe ff -> do
1496.89 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1496.89 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
1496.89 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.89 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
1496.89 s
[opt-env-conf-test] ppIndent $ do
1496.89 s
[opt-env-conf-test] debug ["Trying left side."]
1496.89 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
1496.89 s
[opt-env-conf-test] case eor of
1496.89 s
[opt-env-conf-test] Just a -> do
1496.89 s
[opt-env-conf-test] debug ["Left side succeeded."]
1496.89 s
[opt-env-conf-test] pure a
1496.89 s
[opt-env-conf-test] Nothing -> do
1496.89 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1496.90 s
[opt-env-conf-test] ppIndent $ go p2
1496.90 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppIndent $ do
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:131:24-31
1496.90 s
[opt-env-conf-test] @@ -128,9 +128,8 @@
1496.90 s
[opt-env-conf-test] Just a -> do
1496.90 s
[opt-env-conf-test] debug ["Left side succeeded."]
1496.90 s
[opt-env-conf-test] pure a
1496.90 s
[opt-env-conf-test] Nothing -> do
1496.90 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
1496.90 s
[opt-env-conf-test] ppIndent $ go p2
1496.90 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppIndent $ do
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:119:29-42
1496.90 s
[opt-env-conf-test] @@ -116,9 +116,8 @@
1496.90 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1496.90 s
[opt-env-conf-test] ParserSelect fe ff -> do
1496.90 s
[opt-env-conf-test] - debug [syntaxChunk "Select"]
1496.90 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
1496.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "Alt"]
1496.90 s
[opt-env-conf-test] ppIndent $ do
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:116:27-37
1496.90 s
[opt-env-conf-test] @@ -113,9 +113,8 @@
1496.90 s
[opt-env-conf-test] ParserAp ff fa -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
1496.90 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1496.90 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1496.90 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1496.90 s
[opt-env-conf-test] ParserSelect fe ff -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1496.90 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:113:25-35
1496.90 s
[opt-env-conf-test] @@ -110,9 +110,8 @@
1496.90 s
[opt-env-conf-test] ParserPure a -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
1496.90 s
[opt-env-conf-test] pure a
1496.90 s
[opt-env-conf-test] ParserAp ff fa -> do
1496.90 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
1496.90 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1496.90 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:84:3-26
1496.90 s
[opt-env-conf-test] @@ -81,27 +81,26 @@
1496.90 s
[opt-env-conf-test] Nothing -> pure result
1496.90 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
1496.90 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
1496.90 s
[opt-env-conf-test] case mTup of
1496.90 s
[opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
1496.90 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
1496.90 s
[opt-env-conf-test] Success a -> pure (Right a)
1496.90 s
[opt-env-conf-test] Failure firstErrors ->
1496.90 s
[opt-env-conf-test] let goNexts ns = do
1496.90 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
1496.90 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
1496.90 s
[opt-env-conf-test] case mNext of
1496.90 s
[opt-env-conf-test] Nothing ->
1496.90 s
[opt-env-conf-test] pure $
1496.90 s
[opt-env-conf-test] Left $
1496.90 s
[opt-env-conf-test] -- Only show source locations in debug mode.
1496.90 s
[opt-env-conf-test] let f = case mDebugMode of
1496.90 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
1496.90 s
[opt-env-conf-test] Just _ -> id
1496.90 s
[opt-env-conf-test] in f firstErrors
1496.90 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
1496.90 s
[opt-env-conf-test] Success a -> pure (Right a)
1496.90 s
[opt-env-conf-test] Failure _ -> goNexts ns'
1496.90 s
[opt-env-conf-test] in goNexts nexts
1496.90 s
[opt-env-conf-test] where
1496.90 s
[opt-env-conf-test] go ::
1496.90 s
[opt-env-conf-test] Parser a ->
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:464:22-66
1496.90 s
[opt-env-conf-test] @@ -461,11 +461,8 @@
1496.90 s
[opt-env-conf-test] PP a
1496.90 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
1496.90 s
[opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
1496.90 s
[opt-env-conf-test] Just missings -> do
1496.90 s
[opt-env-conf-test] - debug $
1496.90 s
[opt-env-conf-test] - "Missing capabilities: "
1496.90 s
[opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
1496.90 s
[opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
1496.90 s
[opt-env-conf-test] Nothing -> func
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] data ParseResult a
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:477:21-21
1496.90 s
[opt-env-conf-test] @@ -474,9 +474,8 @@
1496.90 s
[opt-env-conf-test] | Found a
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
1496.90 s
[opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
1496.90 s
[opt-env-conf-test] - Nothing -> ppError Nothing ParseErrorNoReaders
1496.90 s
[opt-env-conf-test] Just ne -> pure ne
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] -- Try the readers in order
1496.90 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:568:44-43
1496.90 s
[opt-env-conf-test] @@ -565,12 +565,11 @@
1496.90 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppIndent $ go p'
1496.90 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1496.90 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppIndent $ do
1496.90 s
[opt-env-conf-test] mNewConfig <- go pc
1496.90 s
[opt-env-conf-test] mRes <- go pa
1496.90 s
[opt-env-conf-test] pure $ mRes <|> mNewConfig -- Reverse order
1496.90 s
[opt-env-conf-test] ParserSetting mLoc _ -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] pure Nothing
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:565:42-31
1496.90 s
[opt-env-conf-test] @@ -562,9 +562,8 @@
1496.90 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppIndent $ go p'
1496.90 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1496.90 s
[opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppIndent $ go p'
1496.90 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppIndent $ do
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:562:43-31
1496.90 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1496.90 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppIndent $ go p'
1496.90 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1496.90 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppIndent $ go p'
1496.90 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1496.90 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1496.90 s
[opt-env-conf-test] ppIndent $ go p'
1496.90 s
[opt-env-conf-test]
1496.90 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:544:32-37
1496.91 s
[opt-env-conf-test] @@ -541,18 +541,17 @@
1496.91 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1496.91 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1496.91 s
[opt-env-conf-test] pure Nothing
1496.91 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1496.91 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
1496.91 s
[opt-env-conf-test] ppIndent $ do
1496.91 s
[opt-env-conf-test] debug ["Trying left side."]
1496.91 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
1496.91 s
[opt-env-conf-test] case eor of
1496.91 s
[opt-env-conf-test] Just a -> do
1496.91 s
[opt-env-conf-test] debug ["Left side succeeded."]
1496.91 s
[opt-env-conf-test] pure a
1496.91 s
[opt-env-conf-test] Nothing -> do
1496.91 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1496.91 s
[opt-env-conf-test] ppIndent $ go p2
1496.91 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1496.91 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1496.91 s
[opt-env-conf-test] ppIndent $ go p'
1496.91 s
[opt-env-conf-test]
1496.91 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:549:17-37
1496.91 s
[opt-env-conf-test] @@ -546,13 +546,10 @@
1496.91 s
[opt-env-conf-test] ppIndent $ do
1496.91 s
[opt-env-conf-test] debug ["Trying left side."]
1496.91 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
1496.91 s
[opt-env-conf-test] case eor of
1496.91 s
[opt-env-conf-test] Just a -> do
1496.91 s
[opt-env-conf-test] debug ["Left side succeeded."]
1496.91 s
[opt-env-conf-test] pure a
1496.91 s
[opt-env-conf-test] - Nothing -> do
1496.91 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
1496.91 s
[opt-env-conf-test] - ppIndent $ go p2
1496.91 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1496.91 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1496.91 s
[opt-env-conf-test] ppIndent $ go p'
1496.91 s
[opt-env-conf-test]
1496.91 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:529:31-33
1496.91 s
[opt-env-conf-test] @@ -526,12 +526,11 @@
1496.91 s
[opt-env-conf-test] ParserPure _ -> do
1496.91 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
1496.91 s
[opt-env-conf-test] pure Nothing
1496.91 s
[opt-env-conf-test] ParserAp ff fa -> do
1496.91 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
1496.91 s
[opt-env-conf-test] ppIndent $ do
1496.91 s
[opt-env-conf-test] mf <- go ff
1496.91 s
[opt-env-conf-test] ma <- go fa
1496.91 s
[opt-env-conf-test] pure $ ma <|> mf -- Reverse order
1496.91 s
[opt-env-conf-test] ParserSelect fe ff -> do
1496.91 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1496.91 s
[opt-env-conf-test] ppIndent $ do
1496.91 s
[opt-env-conf-test]
1496.91 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:514:3-35
1496.91 s
[opt-env-conf-test] @@ -511,11 +511,10 @@
1496.91 s
[opt-env-conf-test] ppEnvIndent = 0
1496.91 s
[opt-env-conf-test] }
1496.91 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
1496.91 s
[opt-env-conf-test] case mResOrNext of
1496.91 s
[opt-env-conf-test] - Nothing -> pure $ Right Nothing
1496.91 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
1496.91 s
[opt-env-conf-test] Failure errs -> Left errs
1496.91 s
[opt-env-conf-test] Success mDocs -> Right mDocs
1496.91 s
[opt-env-conf-test] where
1496.91 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
1496.91 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
1496.91 s
[opt-env-conf-test]
1496.91 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:516:37-35
1496.91 s
[opt-env-conf-test] @@ -513,9 +513,8 @@
1496.91 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
1496.91 s
[opt-env-conf-test] case mResOrNext of
1496.91 s
[opt-env-conf-test] Nothing -> pure $ Right Nothing
1496.91 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
1496.91 s
[opt-env-conf-test] - Failure errs -> Left errs
1496.91 s
[opt-env-conf-test] Success mDocs -> Right mDocs
1496.91 s
[opt-env-conf-test] where
1496.91 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
1496.91 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
1496.91 s
[opt-env-conf-test]
1496.91 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Run.hs:511:27-28
1496.91 s
[opt-env-conf-test] @@ -508,7 +508,7 @@
1496.91 s
[opt-env-conf-test] { ppEnvEnv = EnvMap.empty,
1496.91 s
[opt-env-conf-test] ppEnvConf = Nothing,
1496.91 s
[opt-env-conf-test] ppEnvDebug = mDebugMode,
1496.91 s
[opt-env-conf-test] - ppEnvIndent = 0
1496.91 s
[opt-env-conf-test] + ppEnvIndent = 1
1496.91 s
[opt-env-conf-test] }
1496.91 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
1496.91 s
[opt-env-conf-test] case mResOrNext of
1496.91 s
[opt-env-conf-test]
1496.91 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:370:15-16
1496.91 s
[opt-env-conf-test] @@ -367,11 +367,10 @@
1496.91 s
[opt-env-conf-test] | not (null commandDocs)
1496.91 s
[opt-env-conf-test] ],
1496.91 s
[opt-env-conf-test] concat
1496.91 s
[opt-env-conf-test] [ [ headerChunks "Options",
1496.91 s
[opt-env-conf-test] renderLongOptDocs optDocs
1496.91 s
[opt-env-conf-test] ]
1496.91 s
[opt-env-conf-test] - | not (nullDocs optDocs)
1496.91 s
[opt-env-conf-test] ],
1496.91 s
[opt-env-conf-test] concat
1496.91 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
1496.91 s
[opt-env-conf-test] renderEnvDocs envDocs
1496.91 s
[opt-env-conf-test]
1496.91 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:373:17-39
1496.91 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1496.91 s
[opt-env-conf-test] [ [ headerChunks "Options",
1496.91 s
[opt-env-conf-test] renderLongOptDocs optDocs
1496.91 s
[opt-env-conf-test] ]
1496.91 s
[opt-env-conf-test] - | not (nullDocs optDocs)
1496.91 s
[opt-env-conf-test] + | True
1496.91 s
[opt-env-conf-test] ],
1496.91 s
[opt-env-conf-test] concat
1496.91 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
1496.91 s
[opt-env-conf-test]
1496.91 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:329:15-16
1496.91 s
[opt-env-conf-test] @@ -326,11 +326,10 @@
1496.91 s
[opt-env-conf-test] | not (null commandDocs)
1496.91 s
[opt-env-conf-test] ],
1496.91 s
[opt-env-conf-test] concat
1496.91 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
1496.91 s
[opt-env-conf-test] renderLongOptDocs optDocs
1496.91 s
[opt-env-conf-test] ]
1496.91 s
[opt-env-conf-test] - | not (nullDocs optDocs)
1496.91 s
[opt-env-conf-test] ],
1496.91 s
[opt-env-conf-test] concat
1496.91 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
1496.91 s
[opt-env-conf-test] renderEnvDocs envDocs
1496.91 s
[opt-env-conf-test]
1496.91 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:332:17-39
1496.91 s
[opt-env-conf-test] @@ -329,7 +329,7 @@
1496.91 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
1496.91 s
[opt-env-conf-test] renderLongOptDocs optDocs
1496.91 s
[opt-env-conf-test] ]
1496.91 s
[opt-env-conf-test] - | not (nullDocs optDocs)
1496.91 s
[opt-env-conf-test] + | True
1496.91 s
[opt-env-conf-test] ],
1496.91 s
[opt-env-conf-test] concat
1496.91 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
1496.91 s
[opt-env-conf-test]
1496.91 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:568:9-20
1496.91 s
[opt-env-conf-test] @@ -565,21 +565,20 @@
1496.91 s
[opt-env-conf-test] [] -> []
1496.91 s
[opt-env-conf-test] [d] -> go isTopLevel d
1496.91 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
1496.91 s
[opt-env-conf-test] case setDocHelp d of
1496.91 s
[opt-env-conf-test] - Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
1496.91 s
[opt-env-conf-test] Just h ->
1496.91 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
1496.91 s
[opt-env-conf-test] in concat
1496.91 s
[opt-env-conf-test] [ concat
1496.91 s
[opt-env-conf-test] [ concat
1496.92 s
[opt-env-conf-test] [ indent $ renderSetDocHeader (Just h),
1496.92 s
[opt-env-conf-test] indent $ concatMap renderSetDocWithoutHeader $ d : sds,
1496.92 s
[opt-env-conf-test] [[]]
1496.92 s
[opt-env-conf-test] ]
1496.92 s
[opt-env-conf-test] | not isTopLevel
1496.92 s
[opt-env-conf-test] ],
1496.92 s
[opt-env-conf-test] goOr isTopLevel rest
1496.92 s
[opt-env-conf-test] ]
1496.92 s
[opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
1496.92 s
[opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
1496.92 s
[opt-env-conf-test] goSameHelp h = \case
1496.92 s
[opt-env-conf-test]
1496.92 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:581:26-36
1496.92 s
[opt-env-conf-test] @@ -578,7 +578,7 @@
1496.92 s
[opt-env-conf-test] ]
1496.92 s
[opt-env-conf-test] | not isTopLevel
1496.92 s
[opt-env-conf-test] ],
1496.92 s
[opt-env-conf-test] - goOr isTopLevel rest
1496.92 s
[opt-env-conf-test] + goOr True rest
1496.92 s
[opt-env-conf-test] ]
1496.92 s
[opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
1496.92 s
[opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
1496.92 s
[opt-env-conf-test]
1496.92 s
[opt-env-conf-test] Negate at src/OptEnvConf/Doc.hs:566:17-27
1496.92 s
[opt-env-conf-test] @@ -563,7 +563,7 @@
1496.92 s
[opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
1496.92 s
[opt-env-conf-test] goOr isTopLevel = \case
1496.92 s
[opt-env-conf-test] [] -> []
1496.92 s
[opt-env-conf-test] - [d] -> go isTopLevel d
1496.92 s
[opt-env-conf-test] + [d] -> go not isTopLevel d
1496.92 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
1496.92 s
[opt-env-conf-test] case setDocHelp d of
1496.92 s
[opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
1496.92 s
[opt-env-conf-test]
1496.92 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:566:17-27
1496.92 s
[opt-env-conf-test] @@ -563,7 +563,7 @@
1496.92 s
[opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
1496.92 s
[opt-env-conf-test] goOr isTopLevel = \case
1496.92 s
[opt-env-conf-test] [] -> []
1496.92 s
[opt-env-conf-test] - [d] -> go isTopLevel d
1496.92 s
[opt-env-conf-test] + [d] -> go True d
1496.92 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
1496.92 s
[opt-env-conf-test] case setDocHelp d of
1496.92 s
[opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
1496.92 s
[opt-env-conf-test]
1496.92 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:588:12-34
1496.92 s
[opt-env-conf-test] @@ -585,7 +585,7 @@
1496.92 s
[opt-env-conf-test] goSameHelp h = \case
1496.92 s
[opt-env-conf-test] [] -> ([], [])
1496.92 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
1496.92 s
[opt-env-conf-test] - if setDocHelp d == Just h
1496.92 s
[opt-env-conf-test] + if True
1496.92 s
[opt-env-conf-test] then
1496.92 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
1496.92 s
[opt-env-conf-test] in (d : sds, rest)
1496.92 s
[opt-env-conf-test]
1496.92 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:532:13-50
1496.92 s
[opt-env-conf-test] @@ -529,12 +529,11 @@
1496.92 s
[opt-env-conf-test] [] -> []
1496.92 s
[opt-env-conf-test] [d] -> [go' d]
1496.92 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
1496.92 s
[opt-env-conf-test] case setDocHelp d of
1496.92 s
[opt-env-conf-test] - Nothing -> go' (AnyDocsSingle d) : goOr' ds
1496.92 s
[opt-env-conf-test] Just h ->
1496.92 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
1496.92 s
[opt-env-conf-test] ne = d :| sds
1496.92 s
[opt-env-conf-test] in AnyDocsSingle ne : goOr' rest
1496.92 s
[opt-env-conf-test] (d : ds) -> go' d : goOr' ds
1496.92 s
[opt-env-conf-test]
1496.92 s
[opt-env-conf-test] renderCommandDocs :: AnyDocs (Maybe SetDoc) -> [Chunk]
1496.92 s
[opt-env-conf-test]
1496.92 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:259:17-26
1496.92 s
[opt-env-conf-test] @@ -256,18 +256,16 @@
1496.92 s
[opt-env-conf-test] concat
1496.92 s
[opt-env-conf-test] [ concatMap
1496.92 s
[opt-env-conf-test] ( \(key, schema) ->
1496.92 s
[opt-env-conf-test] case jsonSchemaChunkLines schema of
1496.92 s
[opt-env-conf-test] - [line] ->
1496.92 s
[opt-env-conf-test] - [["config: ", confValChunk key, ": "] ++ line]
1496.92 s
[opt-env-conf-test] ls ->
1496.92 s
[opt-env-conf-test] ["config:"]
1496.92 s
[opt-env-conf-test] : indent
1496.92 s
[opt-env-conf-test] ( case ls of
1496.92 s
[opt-env-conf-test] [] -> [["TODO"]]
1496.92 s
[opt-env-conf-test] (l : ll) ->
1496.92 s
[opt-env-conf-test] ([confValChunk key, ": "] ++ l)
1496.92 s
[opt-env-conf-test] : indent ll
1496.92 s
[opt-env-conf-test] )
1496.92 s
[opt-env-conf-test] )
1496.92 s
[opt-env-conf-test] (NE.toList confs)
1496.92 s
[opt-env-conf-test] | confs <- maybeToList setDocConfKeys
1496.92 s
[opt-env-conf-test]
1496.92 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:265:27-44
1496.92 s
[opt-env-conf-test] @@ -262,11 +262,10 @@
1496.92 s
[opt-env-conf-test] ls ->
1496.92 s
[opt-env-conf-test] ["config:"]
1496.92 s
[opt-env-conf-test] : indent
1496.92 s
[opt-env-conf-test] ( case ls of
1496.92 s
[opt-env-conf-test] - [] -> [["TODO"]]
1496.92 s
[opt-env-conf-test] (l : ll) ->
1496.92 s
[opt-env-conf-test] ([confValChunk key, ": "] ++ l)
1496.92 s
[opt-env-conf-test] : indent ll
1496.92 s
[opt-env-conf-test] )
1496.92 s
[opt-env-conf-test] )
1496.92 s
[opt-env-conf-test] (NE.toList confs)
1496.92 s
[opt-env-conf-test]
1496.92 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:661:30-18
1496.92 s
[opt-env-conf-test] @@ -658,29 +658,28 @@
1496.92 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1496.92 s
[opt-env-conf-test] [] -> Nothing
1496.92 s
[opt-env-conf-test] cs -> Just $ bracketise $ unwordsChunks $ intersperse [orChunk] cs
1496.92 s
[opt-env-conf-test] AnyDocsSingle mOd -> case mOd of
1496.92 s
[opt-env-conf-test] - Nothing -> Nothing
1496.92 s
[opt-env-conf-test] Just OptDoc {..} ->
1496.92 s
[opt-env-conf-test] Just
1496.92 s
[opt-env-conf-test] $ ( if isJust optDocDefault
1496.92 s
[opt-env-conf-test] then bracketise
1496.92 s
[opt-env-conf-test] else id
1496.92 s
[opt-env-conf-test] )
1496.92 s
[opt-env-conf-test] $ unwordsChunks
1496.92 s
[opt-env-conf-test] $ concat
1496.92 s
[opt-env-conf-test] [ [ [mMetavarChunk optDocMetavar]
1496.92 s
[opt-env-conf-test] | optDocTryArgument
1496.92 s
[opt-env-conf-test] ],
1496.92 s
[opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds
1496.92 s
[opt-env-conf-test] | optDocTrySwitch
1496.93 s
[opt-env-conf-test] ],
1496.93 s
[opt-env-conf-test] [ concat
1496.93 s
[opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds,
1496.93 s
[opt-env-conf-test] [" ", mMetavarChunk optDocMetavar]
1496.93 s
[opt-env-conf-test] ]
1496.93 s
[opt-env-conf-test] | optDocTryOption
1496.93 s
[opt-env-conf-test] ]
1496.93 s
[opt-env-conf-test] ]
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] orChunk :: Chunk
1496.93 s
[opt-env-conf-test] orChunk = fore cyan "|"
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
1496.93 s
[opt-env-conf-test] @@ -650,10 +650,9 @@
1496.93 s
[opt-env-conf-test] Nothing -> Just ["COMMAND"]
1496.93 s
[opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
1496.93 s
[opt-env-conf-test] AnyDocsAnd ds ->
1496.93 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1496.93 s
[opt-env-conf-test] [] -> Nothing
1496.93 s
[opt-env-conf-test] - [c] -> Just c
1496.93 s
[opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
1496.93 s
[opt-env-conf-test] AnyDocsOr ds ->
1496.93 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1496.93 s
[opt-env-conf-test] [] -> Nothing
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
1496.93 s
[opt-env-conf-test] @@ -650,10 +650,9 @@
1496.93 s
[opt-env-conf-test] Nothing -> Just ["COMMAND"]
1496.93 s
[opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
1496.93 s
[opt-env-conf-test] AnyDocsAnd ds ->
1496.93 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1496.93 s
[opt-env-conf-test] - [] -> Nothing
1496.93 s
[opt-env-conf-test] [c] -> Just c
1496.93 s
[opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
1496.93 s
[opt-env-conf-test] AnyDocsOr ds ->
1496.93 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1496.93 s
[opt-env-conf-test] [] -> Nothing
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:656:30-31
1496.93 s
[opt-env-conf-test] @@ -653,7 +653,7 @@
1496.93 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1496.93 s
[opt-env-conf-test] [] -> Nothing
1496.93 s
[opt-env-conf-test] [c] -> Just c
1496.93 s
[opt-env-conf-test] - cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
1496.93 s
[opt-env-conf-test] + cs -> Just $ (if False then parenthesise else id) $ unwordsChunks cs
1496.93 s
[opt-env-conf-test] AnyDocsOr ds ->
1496.93 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1496.93 s
[opt-env-conf-test] [] -> Nothing
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Doc.hs:637:38-43
1496.93 s
[opt-env-conf-test] @@ -634,7 +634,7 @@
1496.93 s
[opt-env-conf-test] withoutNothings =
1496.93 s
[opt-env-conf-test] filter
1496.93 s
[opt-env-conf-test] ( \case
1496.93 s
[opt-env-conf-test] - AnyDocsSingle Nothing -> False
1496.93 s
[opt-env-conf-test] + AnyDocsSingle Nothing -> True
1496.93 s
[opt-env-conf-test] AnyDocsAnd [] -> False
1496.93 s
[opt-env-conf-test] AnyDocsOr [] -> False
1496.93 s
[opt-env-conf-test] _ -> True
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:822:13-52
1496.93 s
[opt-env-conf-test] @@ -819,11 +819,9 @@
1496.93 s
[opt-env-conf-test] [exampleValuesChunks confDocExamples | not (null confDocExamples)],
1496.93 s
[opt-env-conf-test] concatMap
1496.93 s
[opt-env-conf-test] ( \(key, schema) ->
1496.93 s
[opt-env-conf-test] case jsonSchemaChunkLines schema of
1496.93 s
[opt-env-conf-test] - [line] ->
1496.93 s
[opt-env-conf-test] - [[confValChunk key, ": "] ++ line]
1496.93 s
[opt-env-conf-test] ls ->
1496.93 s
[opt-env-conf-test] [confValChunk key, ":"] : indent ls
1496.93 s
[opt-env-conf-test] )
1496.93 s
[opt-env-conf-test] (NE.toList confDocKeys)
1496.93 s
[opt-env-conf-test] ]
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:144:22-46
1496.93 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1496.93 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
1496.93 s
[opt-env-conf-test] salt
1496.93 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
1496.93 s
[opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
1496.93 s
[opt-env-conf-test] + `hashWithSalt` not envVarSettingAllowPrefix
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1496.93 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
1496.93 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1496.93 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
1496.93 s
[opt-env-conf-test] salt
1496.93 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
1496.93 s
[opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
1496.93 s
[opt-env-conf-test] + `hashWithSalt` False
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1496.93 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
1496.93 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1496.93 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
1496.93 s
[opt-env-conf-test] salt
1496.93 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
1496.93 s
[opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
1496.93 s
[opt-env-conf-test] + `hashWithSalt` True
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1496.93 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:136:5-29
1496.93 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] data EnvVarSetting = EnvVarSetting
1496.93 s
[opt-env-conf-test] { envVarSettingVar :: !String,
1496.93 s
[opt-env-conf-test] - envVarSettingAllowPrefix :: !Bool
1496.93 s
[opt-env-conf-test] + True :: !Bool
1496.93 s
[opt-env-conf-test] }
1496.93 s
[opt-env-conf-test] deriving (Show, Eq)
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:159:5-32
1496.93 s
[opt-env-conf-test] @@ -156,7 +156,7 @@
1496.93 s
[opt-env-conf-test] = forall void.
1496.93 s
[opt-env-conf-test] ConfigValSetting
1496.93 s
[opt-env-conf-test] { configValSettingPath :: !(NonEmpty String),
1496.93 s
[opt-env-conf-test] - configValSettingAllowPrefix :: !Bool,
1496.93 s
[opt-env-conf-test] + True :: !Bool,
1496.93 s
[opt-env-conf-test] configValSettingCodec :: !(ValueCodec void (Maybe a))
1496.93 s
[opt-env-conf-test] }
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test]
1496.93 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:128:24-40
1496.93 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
1496.93 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1496.93 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1496.93 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1496.93 s
[opt-env-conf-test] - `hashWithSalt` settingTryOption
1496.93 s
[opt-env-conf-test] + `hashWithSalt` not settingTryOption
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1496.94 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1496.94 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
1496.94 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1496.94 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1496.94 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1496.94 s
[opt-env-conf-test] - `hashWithSalt` settingTryOption
1496.94 s
[opt-env-conf-test] + `hashWithSalt` False
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1496.94 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1496.94 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
1496.94 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1496.94 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1496.94 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1496.94 s
[opt-env-conf-test] - `hashWithSalt` settingTryOption
1496.94 s
[opt-env-conf-test] + `hashWithSalt` True
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1496.94 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1496.94 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:127:24-49
1496.94 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
1496.94 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1496.94 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1496.94 s
[opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
1496.94 s
[opt-env-conf-test] + `hashWithSalt` not isJust settingSwitchValue
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1496.94 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
1496.94 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
1496.94 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1496.94 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1496.94 s
[opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
1496.94 s
[opt-env-conf-test] + `hashWithSalt` False
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1496.94 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
1496.94 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
1496.94 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1496.94 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1496.94 s
[opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
1496.94 s
[opt-env-conf-test] + `hashWithSalt` True
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1496.94 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:125:24-42
1496.94 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
1496.94 s
[opt-env-conf-test] SettingHash
1496.94 s
[opt-env-conf-test] ( 42
1496.94 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1496.94 s
[opt-env-conf-test] - `hashWithSalt` settingTryArgument
1496.94 s
[opt-env-conf-test] + `hashWithSalt` not settingTryArgument
1496.94 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1496.94 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
1496.94 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
1496.94 s
[opt-env-conf-test] SettingHash
1496.94 s
[opt-env-conf-test] ( 42
1496.94 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1496.94 s
[opt-env-conf-test] - `hashWithSalt` settingTryArgument
1496.94 s
[opt-env-conf-test] + `hashWithSalt` False
1496.94 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1496.94 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
1496.94 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
1496.94 s
[opt-env-conf-test] SettingHash
1496.94 s
[opt-env-conf-test] ( 42
1496.94 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1496.94 s
[opt-env-conf-test] - `hashWithSalt` settingTryArgument
1496.94 s
[opt-env-conf-test] + `hashWithSalt` True
1496.94 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1496.94 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1496.94 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:148:6-32
1496.94 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1496.94 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1496.94 s
[opt-env-conf-test] - if envVarSettingAllowPrefix e
1496.94 s
[opt-env-conf-test] + if True
1496.94 s
[opt-env-conf-test] then e {envVarSettingVar = prefix <> envVarSettingVar e}
1496.94 s
[opt-env-conf-test] else e
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:165:6-35
1496.94 s
[opt-env-conf-test] @@ -162,7 +162,7 @@
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] prefixConfigValSetting :: String -> ConfigValSetting a -> ConfigValSetting a
1496.94 s
[opt-env-conf-test] prefixConfigValSetting prefix c =
1496.94 s
[opt-env-conf-test] - if configValSettingAllowPrefix c
1496.94 s
[opt-env-conf-test] + if True
1496.94 s
[opt-env-conf-test] then c {configValSettingPath = prefix NE.<| configValSettingPath c}
1496.94 s
[opt-env-conf-test] else c
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Setting.hs:173:30-39
1496.94 s
[opt-env-conf-test] @@ -170,9 +170,8 @@
1496.94 s
[opt-env-conf-test] suffixConfigValSettingKey suffix c = c {configValSettingPath = suffixPath $ configValSettingPath c}
1496.94 s
[opt-env-conf-test] where
1496.94 s
[opt-env-conf-test] suffixPath :: NonEmpty String -> NonEmpty String
1496.94 s
[opt-env-conf-test] suffixPath (f :| rest) = case NE.nonEmpty rest of
1496.94 s
[opt-env-conf-test] Nothing -> (f <> suffix) :| []
1496.94 s
[opt-env-conf-test] - Just ne -> f NE.<| suffixPath ne
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] -- | A 'mempty' 'Setting' to build up a setting from.
1496.94 s
[opt-env-conf-test] emptySetting :: Setting a
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:67:3-96
1496.94 s
[opt-env-conf-test] @@ -64,10 +64,8 @@
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] parserLintTest :: Parser a -> IO ()
1496.94 s
[opt-env-conf-test] parserLintTest parser =
1496.94 s
[opt-env-conf-test] case lintParser parser of
1496.94 s
[opt-env-conf-test] Nothing -> pure ()
1496.94 s
[opt-env-conf-test] - Just errs ->
1496.94 s
[opt-env-conf-test] - expectationFailure $ T.unpack $ renderChunksText With24BitColours $ renderLintErrors errs
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] settingsParserArgsTest :: (Show a, Eq a, HasParser a) => [String] -> a -> IO ()
1496.94 s
[opt-env-conf-test] settingsParserArgsTest = parserArgsTest settingsParser
1496.94 s
[opt-env-conf-test]
1496.94 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:149:13-24
1496.94 s
[opt-env-conf-test] @@ -146,14 +146,13 @@
1496.95 s
[opt-env-conf-test]
1496.95 s
[opt-env-conf-test] generatedFileComment :: CallStack -> T.Text
1496.95 s
[opt-env-conf-test] generatedFileComment cs =
1496.95 s
[opt-env-conf-test] let loc = case getCallStack cs of
1496.95 s
[opt-env-conf-test] (_, srcLoc) : _ ->
1496.95 s
[opt-env-conf-test] packageName (Stack.srcLocPackage srcLoc)
1496.95 s
[opt-env-conf-test] <> ":"
1496.95 s
[opt-env-conf-test] <> Stack.srcLocFile srcLoc
1496.95 s
[opt-env-conf-test] <> ":"
1496.95 s
[opt-env-conf-test] <> show (Stack.srcLocStartLine srcLoc)
1496.95 s
[opt-env-conf-test] - [] -> "unknown"
1496.95 s
[opt-env-conf-test] in T.pack $
1496.95 s
[opt-env-conf-test] unlines $
1496.95 s
[opt-env-conf-test] map
1496.95 s
[opt-env-conf-test]
1496.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-84
1496.95 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1496.95 s
[opt-env-conf-test] where
1496.95 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1496.95 s
[opt-env-conf-test] go (c : rest) = c : go rest
1496.95 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test] + isVersion v = not (null v) && True
1496.95 s
[opt-env-conf-test]
1496.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:49-84
1496.95 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1496.95 s
[opt-env-conf-test] where
1496.95 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1496.95 s
[opt-env-conf-test] go (c : rest) = c : go rest
1496.95 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && True
1496.95 s
[opt-env-conf-test]
1496.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-81
1496.95 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1496.95 s
[opt-env-conf-test] where
1496.95 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1496.95 s
[opt-env-conf-test] go (c : rest) = c : go rest
1496.95 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> True) v
1496.95 s
[opt-env-conf-test]
1496.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:73-81
1496.95 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1496.95 s
[opt-env-conf-test] where
1496.95 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1496.95 s
[opt-env-conf-test] go (c : rest) = c : go rest
1496.95 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || True) v
1496.95 s
[opt-env-conf-test]
1496.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-69
1496.95 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1496.95 s
[opt-env-conf-test] where
1496.95 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1496.95 s
[opt-env-conf-test] go (c : rest) = c : go rest
1496.95 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> True || c == '.') v
1496.95 s
[opt-env-conf-test]
1496.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-45
1496.95 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1496.95 s
[opt-env-conf-test] where
1496.95 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1496.95 s
[opt-env-conf-test] go (c : rest) = c : go rest
1496.95 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test] + isVersion v = not (null v) && True && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test]
1496.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:19-31
1496.95 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1496.95 s
[opt-env-conf-test] where
1496.95 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1496.95 s
[opt-env-conf-test] go (c : rest) = c : go rest
1496.95 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test] + isVersion v = True && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test]
1496.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:23-31
1496.95 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1496.95 s
[opt-env-conf-test] where
1496.95 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1496.95 s
[opt-env-conf-test] go (c : rest) = c : go rest
1496.95 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test] + isVersion v = not False && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test]
1496.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:24-30
1496.95 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1496.95 s
[opt-env-conf-test] where
1496.95 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1496.95 s
[opt-env-conf-test] go (c : rest) = c : go rest
1496.95 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test] + isVersion v = not (False) && elem '.' v && all (\c -> isDigit c || c == '.') v
1496.95 s
[opt-env-conf-test] checkPhase completed in 16 minutes 22 seconds
1496.95 s
[opt-env-conf-test] Phase: haddockPhase
1496.95 s
[opt-env-conf-test] Phase: installPhase
1497.01 s
[opt-env-conf-test] Installing library in /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/opt-env-conf-test-0.0.0.4-3sxOV7t65cdF98TgindIPT
1497.82 s
[opt-env-conf-test] Phase: fixupPhase
1497.86 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4
1497.87 s
[opt-env-conf-test] shrinking /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/libHSopt-env-conf-test-0.0.0.4-3sxOV7t65cdF98TgindIPT-ghc9.10.3.so
1497.91 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4...
1497.96 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4
1497.97 s
[opt-env-conf-test] stripping (with command strip and flags -S -p) in /nix/store/3yw9ybwd3lfyf61zk1jpny4fkgcqqjr5-opt-env-conf-test-0.0.0.4/lib
1498.07 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/jd5d0v1qi993s4arwf22jl0kc2phz167-opt-env-conf-test-0.0.0.4-manifest
1498.08 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/jd5d0v1qi993s4arwf22jl0kc2phz167-opt-env-conf-test-0.0.0.4-manifest...
1498.13 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/jd5d0v1qi993s4arwf22jl0kc2phz167-opt-env-conf-test-0.0.0.4-manifest
1498.14 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/qnp83nzhax8yhlcrsmbwqry16d28317s-opt-env-conf-test-0.0.0.4-report
1498.22 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/qnp83nzhax8yhlcrsmbwqry16d28317s-opt-env-conf-test-0.0.0.4-report...
1498.35 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/qnp83nzhax8yhlcrsmbwqry16d28317s-opt-env-conf-test-0.0.0.4-report
1498.64 s
Progress: 16 of 17 built