1569.93 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1569.93 s
[opt-env-conf-test] - ]
1569.93 s
[opt-env-conf-test] - pure Nothing
1569.93 s
[opt-env-conf-test] Just a -> do
1569.93 s
[opt-env-conf-test] debug
1569.94 s
[opt-env-conf-test] [ "set based on config value: ",
1569.94 s
[opt-env-conf-test] chunk $ T.pack $ show v
1569.94 s
[opt-env-conf-test] ]
1569.94 s
[opt-env-conf-test] pure $ Just a
1569.94 s
[opt-env-conf-test] let toRes = \case
1569.94 s
[opt-env-conf-test] Nothing -> NotFound
1569.94 s
[opt-env-conf-test] Just a -> Found a
1569.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
1569.94 s
[opt-env-conf-test] @@ -404,19 +404,13 @@
1569.94 s
[opt-env-conf-test] pure Nothing
1569.94 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1569.94 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1569.94 s
[opt-env-conf-test] Right mA -> case mA of
1569.94 s
[opt-env-conf-test] Nothing -> do
1569.94 s
[opt-env-conf-test] debug
1569.94 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1569.94 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1569.94 s
[opt-env-conf-test] ]
1569.94 s
[opt-env-conf-test] pure Nothing
1569.94 s
[opt-env-conf-test] - Just a -> do
1569.94 s
[opt-env-conf-test] - debug
1569.94 s
[opt-env-conf-test] - [ "set based on config value: ",
1569.94 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1569.94 s
[opt-env-conf-test] - ]
1569.94 s
[opt-env-conf-test] - pure $ Just a
1569.94 s
[opt-env-conf-test] let toRes = \case
1569.94 s
[opt-env-conf-test] Nothing -> NotFound
1569.94 s
[opt-env-conf-test] Just a -> Found a
1569.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1569.94 s
[opt-env-conf-test] @@ -402,21 +402,20 @@
1569.94 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1569.94 s
[opt-env-conf-test] ]
1569.94 s
[opt-env-conf-test] pure Nothing
1569.94 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1569.94 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1569.94 s
[opt-env-conf-test] Right mA -> case mA of
1569.94 s
[opt-env-conf-test] Nothing -> do
1569.94 s
[opt-env-conf-test] debug
1569.94 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1569.94 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1569.94 s
[opt-env-conf-test] ]
1569.94 s
[opt-env-conf-test] pure Nothing
1569.94 s
[opt-env-conf-test] Just a -> do
1569.94 s
[opt-env-conf-test] debug
1569.94 s
[opt-env-conf-test] [ "set based on config value: ",
1569.94 s
[opt-env-conf-test] chunk $ T.pack $ show v
1569.94 s
[opt-env-conf-test] ]
1569.94 s
[opt-env-conf-test] pure $ Just a
1569.94 s
[opt-env-conf-test] let toRes = \case
1569.94 s
[opt-env-conf-test] Nothing -> NotFound
1569.94 s
[opt-env-conf-test] Just a -> Found a
1569.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1569.94 s
[opt-env-conf-test] @@ -402,21 +402,8 @@
1569.94 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1569.94 s
[opt-env-conf-test] ]
1569.94 s
[opt-env-conf-test] pure Nothing
1569.94 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1569.94 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1569.94 s
[opt-env-conf-test] - Right mA -> case mA of
1569.94 s
[opt-env-conf-test] - Nothing -> do
1569.94 s
[opt-env-conf-test] - debug
1569.94 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1569.94 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1570.53 s
[opt-env-conf-test] - ]
1570.53 s
[opt-env-conf-test] - pure Nothing
1570.53 s
[opt-env-conf-test] - Just a -> do
1570.53 s
[opt-env-conf-test] - debug
1570.53 s
[opt-env-conf-test] - [ "set based on config value: ",
1570.53 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1570.53 s
[opt-env-conf-test] - ]
1570.53 s
[opt-env-conf-test] - pure $ Just a
1570.53 s
[opt-env-conf-test] let toRes = \case
1570.53 s
[opt-env-conf-test] Nothing -> NotFound
1570.53 s
[opt-env-conf-test] Just a -> Found a
1570.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
1570.53 s
[opt-env-conf-test] @@ -395,28 +395,22 @@
1570.53 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1570.53 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1570.53 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1570.53 s
[opt-env-conf-test] Right mV -> case mV of
1570.53 s
[opt-env-conf-test] - Nothing -> do
1570.53 s
[opt-env-conf-test] - debug
1570.53 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1570.53 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1570.53 s
[opt-env-conf-test] - ]
1570.53 s
[opt-env-conf-test] - pure Nothing
1570.53 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1570.53 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1570.53 s
[opt-env-conf-test] Right mA -> case mA of
1570.53 s
[opt-env-conf-test] Nothing -> do
1570.53 s
[opt-env-conf-test] debug
1570.53 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1570.53 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1570.53 s
[opt-env-conf-test] ]
1570.53 s
[opt-env-conf-test] pure Nothing
1570.53 s
[opt-env-conf-test] Just a -> do
1570.53 s
[opt-env-conf-test] debug
1570.53 s
[opt-env-conf-test] [ "set based on config value: ",
1570.53 s
[opt-env-conf-test] chunk $ T.pack $ show v
1570.53 s
[opt-env-conf-test] ]
1570.76 s
[opt-env-conf-test] pure $ Just a
1570.76 s
[opt-env-conf-test] let toRes = \case
1570.76 s
[opt-env-conf-test] Nothing -> NotFound
1570.76 s
[opt-env-conf-test] Just a -> Found a
1570.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
1570.76 s
[opt-env-conf-test] @@ -395,28 +395,13 @@
1570.76 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1570.76 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1570.76 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1570.76 s
[opt-env-conf-test] Right mV -> case mV of
1570.76 s
[opt-env-conf-test] Nothing -> do
1570.76 s
[opt-env-conf-test] debug
1570.76 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1570.76 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1570.76 s
[opt-env-conf-test] ]
1570.76 s
[opt-env-conf-test] pure Nothing
1570.76 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1570.76 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1570.76 s
[opt-env-conf-test] - Right mA -> case mA of
1570.76 s
[opt-env-conf-test] - Nothing -> do
1570.76 s
[opt-env-conf-test] - debug
1570.77 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1570.77 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1570.77 s
[opt-env-conf-test] - ]
1570.77 s
[opt-env-conf-test] - pure Nothing
1570.77 s
[opt-env-conf-test] - Just a -> do
1570.77 s
[opt-env-conf-test] - debug
1570.77 s
[opt-env-conf-test] - [ "set based on config value: ",
1570.77 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1572.14 s
[opt-env-conf-test] - ]
1572.14 s
[opt-env-conf-test] - pure $ Just a
1572.14 s
[opt-env-conf-test] let toRes = \case
1572.14 s
[opt-env-conf-test] Nothing -> NotFound
1572.14 s
[opt-env-conf-test] Just a -> Found a
1572.14 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:419:58-64
1572.15 s
[opt-env-conf-test] @@ -416,7 +416,7 @@
1572.15 s
[opt-env-conf-test] [ "set based on config value: ",
1572.15 s
[opt-env-conf-test] chunk $ T.pack $ show v
1572.15 s
[opt-env-conf-test] ]
1572.15 s
[opt-env-conf-test] - pure $ J u s t a
1572.15 s
[opt-env-conf-test] + pure $ No t h ing
1572.15 s
[opt-env-conf-test] let toRes = \case
1572.15 s
[opt-env-conf-test] Nothing -> NotFound
1572.15 s
[opt-env-conf-test] Just a -> Found a
1572.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:557:21-66
1572.15 s
[opt-env-conf-test] @@ -554,7 +554,6 @@
1572.15 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1572.15 s
[opt-env-conf-test] ppIndent $ go p2
1572.15 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1572.15 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1572.15 s
[opt-env-conf-test] ppIndent $ go p'
1572.15 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1572.15 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1572.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:222:25-73
1572.15 s
[opt-env-conf-test] @@ -219,7 +219,6 @@
1572.15 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1572.15 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1572.15 s
[opt-env-conf-test] Just c -> do
1572.15 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1572.15 s
[opt-env-conf-test] go $ commandParser c
1572.15 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1572.15 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1572.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:222:25-73
1572.15 s
[opt-env-conf-test] @@ -219,7 +219,6 @@
1572.15 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1572.16 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1572.16 s
[opt-env-conf-test] Just c -> do
1572.16 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1572.16 s
[opt-env-conf-test] go $ commandParser c
1572.16 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1572.16 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1572.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
1572.16 s
[opt-env-conf-test] @@ -383,16 +383,11 @@
1572.16 s
[opt-env-conf-test] Just obj -> do
1572.16 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1572.16 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1572.16 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1572.16 s
[opt-env-conf-test] Nothing -> do
1572.16 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1572.16 s
[opt-env-conf-test] Nothing -> pure Nothing
1572.16 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1572.16 s
[opt-env-conf-test] - Just neRest -> do
1572.16 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1572.16 s
[opt-env-conf-test] - case mO' of
1572.16 s
[opt-env-conf-test] - Nothing -> pure Nothing
1572.16 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1572.16 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1572.16 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1572.16 s
[opt-env-conf-test] Right mV -> case mV of
1572.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1572.16 s
[opt-env-conf-test] @@ -393,30 +393,8 @@
1572.16 s
[opt-env-conf-test] case mO' of
1572.16 s
[opt-env-conf-test] Nothing -> pure Nothing
1572.16 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1572.16 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1572.16 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1572.16 s
[opt-env-conf-test] - Right mV -> case mV of
1572.16 s
[opt-env-conf-test] - Nothing -> do
1572.16 s
[opt-env-conf-test] - debug
1572.17 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1572.17 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1572.17 s
[opt-env-conf-test] - ]
1572.17 s
[opt-env-conf-test] - pure Nothing
1572.17 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1572.17 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1572.17 s
[opt-env-conf-test] - Right mA -> case mA of
1572.17 s
[opt-env-conf-test] - Nothing -> do
1572.17 s
[opt-env-conf-test] - debug
1572.17 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1572.17 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1572.17 s
[opt-env-conf-test] - ]
1572.17 s
[opt-env-conf-test] - pure Nothing
1572.17 s
[opt-env-conf-test] - Just a -> do
1575.77 s
[opt-env-conf-test] - debug
1575.82 s
[opt-env-conf-test] - [ "set based on config value: ",
1575.82 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1575.82 s
[opt-env-conf-test] - ]
1575.82 s
[opt-env-conf-test] - pure $ Just a
1575.82 s
[opt-env-conf-test] let toRes = \case
1575.82 s
[opt-env-conf-test] Nothing -> NotFound
1575.82 s
[opt-env-conf-test] Just a -> Found a
1575.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
1575.82 s
[opt-env-conf-test] @@ -424,9 +424,8 @@
1575.82 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1575.82 s
[opt-env-conf-test] Just ne -> do
1575.82 s
[opt-env-conf-test] res <- goConfSet confSet
1575.82 s
[opt-env-conf-test] case res of
1575.82 s
[opt-env-conf-test] - Just a -> pure $ Found a
1575.82 s
[opt-env-conf-test] Nothing -> goConfSets ne
1575.82 s
[opt-env-conf-test] goConfSets confSets
1575.82 s
[opt-env-conf-test] case mConf of
1575.82 s
[opt-env-conf-test] Found a -> do
1575.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
1575.82 s
[opt-env-conf-test] @@ -424,9 +424,8 @@
1575.82 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1575.82 s
[opt-env-conf-test] Just ne -> do
1575.83 s
[opt-env-conf-test] res <- goConfSet confSet
1575.83 s
[opt-env-conf-test] case res of
1575.83 s
[opt-env-conf-test] Just a -> pure $ Found a
1575.83 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1575.83 s
[opt-env-conf-test] goConfSets confSets
1575.83 s
[opt-env-conf-test] case mConf of
1575.83 s
[opt-env-conf-test] Found a -> do
1575.83 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
1575.83 s
[opt-env-conf-test] @@ -420,13 +420,12 @@
1575.83 s
[opt-env-conf-test] let toRes = \case
1575.83 s
[opt-env-conf-test] Nothing -> NotFound
1575.83 s
[opt-env-conf-test] Just a -> Found a
1575.83 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1575.83 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1575.83 s
[opt-env-conf-test] Just ne -> do
1575.83 s
[opt-env-conf-test] res <- goConfSet confSet
1575.83 s
[opt-env-conf-test] case res of
1575.83 s
[opt-env-conf-test] Just a -> pure $ Found a
1575.83 s
[opt-env-conf-test] Nothing -> goConfSets ne
1575.83 s
[opt-env-conf-test] goConfSets confSets
1575.83 s
[opt-env-conf-test] case mConf of
1575.83 s
[opt-env-conf-test] Found a -> do
1575.83 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:373:21-39
1575.83 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1575.83 s
[opt-env-conf-test] [ [ headerChunks "Options",
1575.83 s
[opt-env-conf-test] renderLongOptDocs optDocs
1575.83 s
[opt-env-conf-test] ]
1575.83 s
[opt-env-conf-test] - | not ( n u l lDocs optD o c s)
1575.83 s
[opt-env-conf-test] + | not T r u e
1575.83 s
[opt-env-conf-test] ],
1575.83 s
[opt-env-conf-test] concat
1575.83 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
1575.83 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:113:25-35
1575.83 s
[opt-env-conf-test] @@ -110,9 +110,8 @@
1575.83 s
[opt-env-conf-test] ParserPure a -> do
1575.83 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
1575.83 s
[opt-env-conf-test] pure a
1575.83 s
[opt-env-conf-test] ParserAp ff fa -> do
1575.83 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
1575.83 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1575.83 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1575.83 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1575.83 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1575.83 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
1575.83 s
[opt-env-conf-test] @@ -420,13 +420,8 @@
1575.83 s
[opt-env-conf-test] let toRes = \case
1575.83 s
[opt-env-conf-test] Nothing -> NotFound
1575.83 s
[opt-env-conf-test] Just a -> Found a
1575.83 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1575.83 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1575.83 s
[opt-env-conf-test] - Just ne -> do
1575.83 s
[opt-env-conf-test] - res <- goConfSet confSet
1575.83 s
[opt-env-conf-test] - case res of
1575.83 s
[opt-env-conf-test] - Just a -> pure $ Found a
1575.83 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1575.83 s
[opt-env-conf-test] goConfSets confSets
1575.83 s
[opt-env-conf-test] case mConf of
1575.83 s
[opt-env-conf-test] Found a -> do
1575.83 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
1575.83 s
[opt-env-conf-test] @@ -376,58 +376,10 @@
1575.83 s
[opt-env-conf-test] Nothing -> pure NotRun
1575.83 s
[opt-env-conf-test] Just confSets -> do
1575.83 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1575.83 s
[opt-env-conf-test] case mObj of
1575.83 s
[opt-env-conf-test] Nothing -> do
1575.83 s
[opt-env-conf-test] debug ["no config object to set from"]
1575.83 s
[opt-env-conf-test] pure NotFound
1575.83 s
[opt-env-conf-test] - Just obj -> do
1575.83 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1575.83 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1575.83 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1575.83 s
[opt-env-conf-test] - Nothing -> do
1575.83 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1575.83 s
[opt-env-conf-test] - Nothing -> pure Nothing
1575.84 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1575.84 s
[opt-env-conf-test] - Just neRest -> do
1575.84 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1575.84 s
[opt-env-conf-test] - case mO' of
1575.84 s
[opt-env-conf-test] - Nothing -> pure Nothing
1575.84 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1575.84 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1575.84 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1575.84 s
[opt-env-conf-test] - Right mV -> case mV of
1575.84 s
[opt-env-conf-test] - Nothing -> do
1575.84 s
[opt-env-conf-test] - debug
1575.84 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1575.84 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1575.84 s
[opt-env-conf-test] - ]
1575.84 s
[opt-env-conf-test] - pure Nothing
1575.84 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1575.84 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1575.84 s
[opt-env-conf-test] - Right mA -> case mA of
1575.84 s
[opt-env-conf-test] - Nothing -> do
1575.84 s
[opt-env-conf-test] - debug
1575.84 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1575.84 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1575.84 s
[opt-env-conf-test] - ]
1575.84 s
[opt-env-conf-test] - pure Nothing
1575.84 s
[opt-env-conf-test] - Just a -> do
1575.84 s
[opt-env-conf-test] - debug
1575.84 s
[opt-env-conf-test] - [ "set based on config value: ",
1575.84 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1575.84 s
[opt-env-conf-test] - ]
1575.84 s
[opt-env-conf-test] - pure $ Just a
1575.84 s
[opt-env-conf-test] - let toRes = \case
1575.84 s
[opt-env-conf-test] - Nothing -> NotFound
1575.84 s
[opt-env-conf-test] - Just a -> Found a
1575.84 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1575.84 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1575.94 s
[opt-env-conf-test] - Just ne -> do
1575.95 s
[opt-env-conf-test] - res <- goConfSet confSet
1575.95 s
[opt-env-conf-test] - case res of
1575.95 s
[opt-env-conf-test] - Just a -> pure $ Found a
1575.95 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1575.95 s
[opt-env-conf-test] - goConfSets confSets
1575.95 s
[opt-env-conf-test] case mConf of
1575.95 s
[opt-env-conf-test] Found a -> do
1575.95 s
[opt-env-conf-test] markParsed
1575.95 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
1575.95 s
[opt-env-conf-test] @@ -376,58 +376,55 @@
1575.95 s
[opt-env-conf-test] Nothing -> pure NotRun
1575.95 s
[opt-env-conf-test] Just confSets -> do
1575.95 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1575.95 s
[opt-env-conf-test] case mObj of
1575.95 s
[opt-env-conf-test] - Nothing -> do
1575.95 s
[opt-env-conf-test] - debug ["no config object to set from"]
1575.95 s
[opt-env-conf-test] - pure NotFound
1575.95 s
[opt-env-conf-test] Just obj -> do
1575.95 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1575.95 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1575.95 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1575.95 s
[opt-env-conf-test] Nothing -> do
1575.95 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1575.95 s
[opt-env-conf-test] Nothing -> pure Nothing
1575.95 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1575.95 s
[opt-env-conf-test] Just neRest -> do
1575.95 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1575.95 s
[opt-env-conf-test] case mO' of
1575.95 s
[opt-env-conf-test] Nothing -> pure Nothing
1575.95 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1575.95 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1575.96 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1575.96 s
[opt-env-conf-test] Right mV -> case mV of
1575.96 s
[opt-env-conf-test] Nothing -> do
1575.96 s
[opt-env-conf-test] debug
1575.96 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1575.96 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1575.96 s
[opt-env-conf-test] ]
1575.96 s
[opt-env-conf-test] pure Nothing
1575.96 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1575.96 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1575.96 s
[opt-env-conf-test] Right mA -> case mA of
1575.96 s
[opt-env-conf-test] Nothing -> do
1575.96 s
[opt-env-conf-test] debug
1575.96 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1575.96 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1575.96 s
[opt-env-conf-test] ]
1575.96 s
[opt-env-conf-test] pure Nothing
1575.96 s
[opt-env-conf-test] Just a -> do
1575.96 s
[opt-env-conf-test] debug
1575.96 s
[opt-env-conf-test] [ "set based on config value: ",
1575.96 s
[opt-env-conf-test] chunk $ T.pack $ show v
1575.96 s
[opt-env-conf-test] ]
1575.96 s
[opt-env-conf-test] pure $ Just a
1575.96 s
[opt-env-conf-test] let toRes = \case
1575.96 s
[opt-env-conf-test] Nothing -> NotFound
1575.96 s
[opt-env-conf-test] Just a -> Found a
1575.96 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1575.96 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1575.96 s
[opt-env-conf-test] Just ne -> do
1575.96 s
[opt-env-conf-test] res <- goConfSet confSet
1575.96 s
[opt-env-conf-test] case res of
1575.96 s
[opt-env-conf-test] Just a -> pure $ Found a
1575.96 s
[opt-env-conf-test] Nothing -> goConfSets ne
1576.02 s
[opt-env-conf-test] goConfSets confSets
1576.02 s
[opt-env-conf-test] case mConf of
1576.02 s
[opt-env-conf-test] Found a -> do
1576.02 s
[opt-env-conf-test] markParsed
1576.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
1576.03 s
[opt-env-conf-test] @@ -372,62 +372,8 @@
1576.03 s
[opt-env-conf-test] pure a
1576.03 s
[opt-env-conf-test] _ -> do
1576.03 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1576.03 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1576.03 s
[opt-env-conf-test] Nothing -> pure NotRun
1576.03 s
[opt-env-conf-test] - Just confSets -> do
1576.03 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1576.03 s
[opt-env-conf-test] - case mObj of
1576.03 s
[opt-env-conf-test] - Nothing -> do
1576.03 s
[opt-env-conf-test] - debug ["no config object to set from"]
1576.03 s
[opt-env-conf-test] - pure NotFound
1576.03 s
[opt-env-conf-test] - Just obj -> do
1576.03 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1576.03 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1576.03 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1576.03 s
[opt-env-conf-test] - Nothing -> do
1576.03 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1576.03 s
[opt-env-conf-test] - Nothing -> pure Nothing
1576.03 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1576.03 s
[opt-env-conf-test] - Just neRest -> do
1576.03 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1576.03 s
[opt-env-conf-test] - case mO' of
1576.03 s
[opt-env-conf-test] - Nothing -> pure Nothing
1576.03 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1576.03 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1576.03 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1576.03 s
[opt-env-conf-test] - Right mV -> case mV of
1576.04 s
[opt-env-conf-test] - Nothing -> do
1576.04 s
[opt-env-conf-test] - debug
1576.04 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1576.04 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1576.04 s
[opt-env-conf-test] - ]
1576.04 s
[opt-env-conf-test] - pure Nothing
1576.04 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1576.04 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1576.04 s
[opt-env-conf-test] - Right mA -> case mA of
1576.04 s
[opt-env-conf-test] - Nothing -> do
1576.04 s
[opt-env-conf-test] - debug
1576.04 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1576.04 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1576.04 s
[opt-env-conf-test] - ]
1576.04 s
[opt-env-conf-test] - pure Nothing
1576.04 s
[opt-env-conf-test] - Just a -> do
1576.04 s
[opt-env-conf-test] - debug
1576.04 s
[opt-env-conf-test] - [ "set based on config value: ",
1576.04 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1576.04 s
[opt-env-conf-test] - ]
1576.04 s
[opt-env-conf-test] - pure $ Just a
1576.04 s
[opt-env-conf-test] - let toRes = \case
1576.04 s
[opt-env-conf-test] - Nothing -> NotFound
1576.04 s
[opt-env-conf-test] - Just a -> Found a
1580.07 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1580.07 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1580.07 s
[opt-env-conf-test] - Just ne -> do
1580.07 s
[opt-env-conf-test] - res <- goConfSet confSet
1580.07 s
[opt-env-conf-test] - case res of
1580.07 s
[opt-env-conf-test] - Just a -> pure $ Found a
1580.07 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1580.07 s
[opt-env-conf-test] - goConfSets confSets
1580.07 s
[opt-env-conf-test] case mConf of
1580.07 s
[opt-env-conf-test] Found a -> do
1580.07 s
[opt-env-conf-test] markParsed
1580.07 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:443:53-59
1580.07 s
[opt-env-conf-test] @@ -440,7 +440,7 @@
1580.07 s
[opt-env-conf-test] Nothing -> do
1580.07 s
[opt-env-conf-test] let parseResultError e res = case res of
1580.07 s
[opt-env-conf-test] NotRun -> Nothing
1580.07 s
[opt-env-conf-test] - NotFound -> J u s t e
1580.07 s
[opt-env-conf-test] + NotFound -> No t h ing
1580.07 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1580.07 s
[opt-env-conf-test] debug ["not found"]
1580.08 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1580.08 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Doc.hs:379:17-39
1580.08 s
[opt-env-conf-test] @@ -376,7 +376,7 @@
1580.08 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
1580.08 s
[opt-env-conf-test] renderEnvDocs envDocs
1580.08 s
[opt-env-conf-test] ]
1580.08 s
[opt-env-conf-test] - | not (nullDocs envDocs)
1580.08 s
[opt-env-conf-test] + | n o t ( not (nullDocs envDocs) )
1580.08 s
[opt-env-conf-test] ],
1580.08 s
[opt-env-conf-test] concat
1580.08 s
[opt-env-conf-test] [ [ headerChunks "Configuration Values",
1580.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1580.08 s
[opt-env-conf-test] @@ -446,12 +446,11 @@
1580.08 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1580.08 s
[opt-env-conf-test] NE.nonEmpty $
1580.08 s
[opt-env-conf-test] catMaybes
1580.08 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1580.08 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1580.08 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1580.08 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1580.08 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1580.08 s
[opt-env-conf-test] ]
1580.08 s
[opt-env-conf-test]
1580.08 s
[opt-env-conf-test] withCapabilities ::
1580.08 s
[opt-env-conf-test] Maybe SrcLoc ->
1580.08 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:440:44-42
1580.08 s
[opt-env-conf-test] @@ -437,21 +437,20 @@
1580.08 s
[opt-env-conf-test] Just (a, _) -> do
1580.08 s
[opt-env-conf-test] debug ["set to default value"]
1580.08 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1580.08 s
[opt-env-conf-test] Nothing -> do
1580.08 s
[opt-env-conf-test] let parseResultError e res = case res of
1580.08 s
[opt-env-conf-test] NotRun -> Nothing
1580.08 s
[opt-env-conf-test] NotFound -> Just e
1580.08 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1580.08 s
[opt-env-conf-test] - debug ["not found"]
1580.08 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1580.08 s
[opt-env-conf-test] NE.nonEmpty $
1580.08 s
[opt-env-conf-test] catMaybes
1580.08 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1580.08 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1580.08 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1580.09 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1580.09 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1580.09 s
[opt-env-conf-test] ]
1580.09 s
[opt-env-conf-test]
1580.09 s
[opt-env-conf-test] withCapabilities ::
1580.09 s
[opt-env-conf-test] Maybe SrcLoc ->
1580.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
1580.09 s
[opt-env-conf-test] @@ -433,25 +433,22 @@
1580.09 s
[opt-env-conf-test] markParsed
1580.09 s
[opt-env-conf-test] pure a
1580.09 s
[opt-env-conf-test] _ ->
1580.09 s
[opt-env-conf-test] case settingDefaultValue of
1580.09 s
[opt-env-conf-test] - Just (a, _) -> do
1580.09 s
[opt-env-conf-test] - debug ["set to default value"]
1580.09 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1580.09 s
[opt-env-conf-test] Nothing -> do
1580.09 s
[opt-env-conf-test] let parseResultError e res = case res of
1580.09 s
[opt-env-conf-test] NotRun -> Nothing
1580.09 s
[opt-env-conf-test] NotFound -> Just e
1580.09 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1580.09 s
[opt-env-conf-test] debug ["not found"]
1580.09 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1580.09 s
[opt-env-conf-test] NE.nonEmpty $
1580.09 s
[opt-env-conf-test] catMaybes
1580.09 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1580.09 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1580.09 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1580.09 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1580.09 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1580.09 s
[opt-env-conf-test] ]
1580.09 s
[opt-env-conf-test]
1580.09 s
[opt-env-conf-test] withCapabilities ::
1580.09 s
[opt-env-conf-test] Maybe SrcLoc ->
1580.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
1580.09 s
[opt-env-conf-test] @@ -433,25 +433,10 @@
1580.09 s
[opt-env-conf-test] markParsed
1580.09 s
[opt-env-conf-test] pure a
1580.09 s
[opt-env-conf-test] _ ->
1580.09 s
[opt-env-conf-test] case settingDefaultValue of
1580.09 s
[opt-env-conf-test] Just (a, _) -> do
1580.09 s
[opt-env-conf-test] debug ["set to default value"]
1580.09 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1580.09 s
[opt-env-conf-test] - Nothing -> do
1580.10 s
[opt-env-conf-test] - let parseResultError e res = case res of
1580.10 s
[opt-env-conf-test] - NotRun -> Nothing
1580.10 s
[opt-env-conf-test] - NotFound -> Just e
1580.10 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1580.10 s
[opt-env-conf-test] - debug ["not found"]
1580.10 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1580.10 s
[opt-env-conf-test] - NE.nonEmpty $
1580.10 s
[opt-env-conf-test] - catMaybes
1580.10 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1580.10 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1580.10 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1580.10 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1580.10 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1580.10 s
[opt-env-conf-test] - ]
1580.10 s
[opt-env-conf-test]
1580.10 s
[opt-env-conf-test] withCapabilities ::
1580.10 s
[opt-env-conf-test] Maybe SrcLoc ->
1580.10 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
1580.10 s
[opt-env-conf-test] @@ -428,30 +428,27 @@
1580.10 s
[opt-env-conf-test] Just a -> pure $ Found a
1580.10 s
[opt-env-conf-test] Nothing -> goConfSets ne
1580.10 s
[opt-env-conf-test] goConfSets confSets
1580.10 s
[opt-env-conf-test] case mConf of
1580.10 s
[opt-env-conf-test] - Found a -> do
1580.10 s
[opt-env-conf-test] - markParsed
1580.10 s
[opt-env-conf-test] - pure a
1580.10 s
[opt-env-conf-test] _ ->
1580.83 s
[opt-env-conf-test] case settingDefaultValue of
1580.91 s
[opt-env-conf-test] Just (a, _) -> do
1580.91 s
[opt-env-conf-test] debug ["set to default value"]
1580.91 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1580.91 s
[opt-env-conf-test] Nothing -> do
1580.91 s
[opt-env-conf-test] let parseResultError e res = case res of
1580.91 s
[opt-env-conf-test] NotRun -> Nothing
1580.91 s
[opt-env-conf-test] NotFound -> Just e
1580.91 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1580.91 s
[opt-env-conf-test] debug ["not found"]
1580.91 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1580.91 s
[opt-env-conf-test] NE.nonEmpty $
1580.91 s
[opt-env-conf-test] catMaybes
1580.91 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1580.91 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1580.91 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1580.91 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1580.91 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1580.91 s
[opt-env-conf-test] ]
1580.91 s
[opt-env-conf-test]
1580.91 s
[opt-env-conf-test] withCapabilities ::
1580.91 s
[opt-env-conf-test] Maybe SrcLoc ->
1580.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
1580.91 s
[opt-env-conf-test] @@ -428,30 +428,10 @@
1580.91 s
[opt-env-conf-test] Just a -> pure $ Found a
1580.91 s
[opt-env-conf-test] Nothing -> goConfSets ne
1580.91 s
[opt-env-conf-test] goConfSets confSets
1580.91 s
[opt-env-conf-test] case mConf of
1580.91 s
[opt-env-conf-test] Found a -> do
1580.91 s
[opt-env-conf-test] markParsed
1580.92 s
[opt-env-conf-test] pure a
1580.92 s
[opt-env-conf-test] - _ ->
1580.92 s
[opt-env-conf-test] - case settingDefaultValue of
1580.92 s
[opt-env-conf-test] - Just (a, _) -> do
1580.92 s
[opt-env-conf-test] - debug ["set to default value"]
1580.92 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1580.92 s
[opt-env-conf-test] - Nothing -> do
1580.92 s
[opt-env-conf-test] - let parseResultError e res = case res of
1580.92 s
[opt-env-conf-test] - NotRun -> Nothing
1580.92 s
[opt-env-conf-test] - NotFound -> Just e
1580.92 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1580.92 s
[opt-env-conf-test] - debug ["not found"]
1580.92 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1580.92 s
[opt-env-conf-test] - NE.nonEmpty $
1580.92 s
[opt-env-conf-test] - catMaybes
1580.92 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1580.92 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1580.92 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1580.92 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1580.92 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1580.92 s
[opt-env-conf-test] - ]
1580.92 s
[opt-env-conf-test]
1580.92 s
[opt-env-conf-test] withCapabilities ::
1582.38 s
[opt-env-conf-test] Maybe SrcLoc ->
1582.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
1582.38 s
[opt-env-conf-test] @@ -366,92 +366,89 @@
1582.38 s
[opt-env-conf-test] pure NotFound
1582.38 s
[opt-env-conf-test] Just a -> pure $ Found a
1582.38 s
[opt-env-conf-test]
1582.38 s
[opt-env-conf-test] case mEnv of
1582.38 s
[opt-env-conf-test] - Found a -> do
1582.39 s
[opt-env-conf-test] - markParsed
1582.39 s
[opt-env-conf-test] - pure a
1582.39 s
[opt-env-conf-test] _ -> do
1582.39 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1582.39 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1582.39 s
[opt-env-conf-test] Nothing -> pure NotRun
1582.39 s
[opt-env-conf-test] Just confSets -> do
1582.39 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1582.39 s
[opt-env-conf-test] case mObj of
1582.39 s
[opt-env-conf-test] Nothing -> do
1582.39 s
[opt-env-conf-test] debug ["no config object to set from"]
1582.39 s
[opt-env-conf-test] pure NotFound
1582.39 s
[opt-env-conf-test] Just obj -> do
1582.39 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1582.39 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1582.39 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1582.39 s
[opt-env-conf-test] Nothing -> do
1582.39 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1582.39 s
[opt-env-conf-test] Nothing -> pure Nothing
1582.39 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1582.39 s
[opt-env-conf-test] Just neRest -> do
1582.39 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1582.39 s
[opt-env-conf-test] case mO' of
1582.39 s
[opt-env-conf-test] Nothing -> pure Nothing
1582.39 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1582.39 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1582.39 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1582.39 s
[opt-env-conf-test] Right mV -> case mV of
1582.39 s
[opt-env-conf-test] Nothing -> do
1582.39 s
[opt-env-conf-test] debug
1582.40 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1582.40 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1582.40 s
[opt-env-conf-test] ]
1582.40 s
[opt-env-conf-test] pure Nothing
1582.40 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1582.40 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1582.40 s
[opt-env-conf-test] Right mA -> case mA of
1582.40 s
[opt-env-conf-test] Nothing -> do
1582.40 s
[opt-env-conf-test] debug
1582.40 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1582.40 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1582.40 s
[opt-env-conf-test] ]
1582.40 s
[opt-env-conf-test] pure Nothing
1582.40 s
[opt-env-conf-test] Just a -> do
1582.40 s
[opt-env-conf-test] debug
1582.40 s
[opt-env-conf-test] [ "set based on config value: ",
1582.40 s
[opt-env-conf-test] chunk $ T.pack $ show v
1582.40 s
[opt-env-conf-test] ]
1582.40 s
[opt-env-conf-test] pure $ Just a
1582.40 s
[opt-env-conf-test] let toRes = \case
1582.40 s
[opt-env-conf-test] Nothing -> NotFound
1582.40 s
[opt-env-conf-test] Just a -> Found a
1582.40 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1583.45 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1583.45 s
[opt-env-conf-test] Just ne -> do
1583.45 s
[opt-env-conf-test] res <- goConfSet confSet
1583.45 s
[opt-env-conf-test] case res of
1583.45 s
[opt-env-conf-test] Just a -> pure $ Found a
1583.45 s
[opt-env-conf-test] Nothing -> goConfSets ne
1583.45 s
[opt-env-conf-test] goConfSets confSets
1583.45 s
[opt-env-conf-test] case mConf of
1583.45 s
[opt-env-conf-test] Found a -> do
1583.46 s
[opt-env-conf-test] markParsed
1583.46 s
[opt-env-conf-test] pure a
1583.46 s
[opt-env-conf-test] _ ->
1583.46 s
[opt-env-conf-test] case settingDefaultValue of
1583.46 s
[opt-env-conf-test] Just (a, _) -> do
1583.46 s
[opt-env-conf-test] debug ["set to default value"]
1583.46 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1583.46 s
[opt-env-conf-test] Nothing -> do
1583.46 s
[opt-env-conf-test] let parseResultError e res = case res of
1583.46 s
[opt-env-conf-test] NotRun -> Nothing
1583.46 s
[opt-env-conf-test] NotFound -> Just e
1583.46 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1583.46 s
[opt-env-conf-test] debug ["not found"]
1583.46 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1583.46 s
[opt-env-conf-test] NE.nonEmpty $
1583.46 s
[opt-env-conf-test] catMaybes
1583.46 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1583.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1583.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1583.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1583.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1583.46 s
[opt-env-conf-test] ]
1583.46 s
[opt-env-conf-test]
1583.46 s
[opt-env-conf-test] withCapabilities ::
1583.46 s
[opt-env-conf-test] Maybe SrcLoc ->
1583.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
1583.46 s
[opt-env-conf-test] @@ -366,92 +366,10 @@
1583.46 s
[opt-env-conf-test] pure NotFound
1583.46 s
[opt-env-conf-test] Just a -> pure $ Found a
1583.46 s
[opt-env-conf-test]
1583.46 s
[opt-env-conf-test] case mEnv of
1583.46 s
[opt-env-conf-test] Found a -> do
1583.46 s
[opt-env-conf-test] markParsed
1583.46 s
[opt-env-conf-test] pure a
1583.46 s
[opt-env-conf-test] - _ -> do
1583.46 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1583.46 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1583.46 s
[opt-env-conf-test] - Nothing -> pure NotRun
1583.46 s
[opt-env-conf-test] - Just confSets -> do
1583.47 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1583.47 s
[opt-env-conf-test] - case mObj of
1583.47 s
[opt-env-conf-test] - Nothing -> do
1583.47 s
[opt-env-conf-test] - debug ["no config object to set from"]
1583.47 s
[opt-env-conf-test] - pure NotFound
1583.47 s
[opt-env-conf-test] - Just obj -> do
1583.47 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1583.47 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1583.47 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1583.47 s
[opt-env-conf-test] - Nothing -> do
1583.47 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1583.47 s
[opt-env-conf-test] - Nothing -> pure Nothing
1583.47 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1583.47 s
[opt-env-conf-test] - Just neRest -> do
1583.47 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1583.47 s
[opt-env-conf-test] - case mO' of
1583.47 s
[opt-env-conf-test] - Nothing -> pure Nothing
1583.47 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1583.47 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1583.47 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1583.47 s
[opt-env-conf-test] - Right mV -> case mV of
1583.47 s
[opt-env-conf-test] - Nothing -> do
1583.47 s
[opt-env-conf-test] - debug
1583.47 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1583.47 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1583.47 s
[opt-env-conf-test] - ]
1583.47 s
[opt-env-conf-test] - pure Nothing
1583.47 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1583.47 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1583.47 s
[opt-env-conf-test] - Right mA -> case mA of
1583.47 s
[opt-env-conf-test] - Nothing -> do
1583.47 s
[opt-env-conf-test] - debug
1583.47 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1583.47 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1583.47 s
[opt-env-conf-test] - ]
1583.47 s
[opt-env-conf-test] - pure Nothing
1583.47 s
[opt-env-conf-test] - Just a -> do
1583.47 s
[opt-env-conf-test] - debug
1583.47 s
[opt-env-conf-test] - [ "set based on config value: ",
1583.47 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1583.47 s
[opt-env-conf-test] - ]
1583.47 s
[opt-env-conf-test] - pure $ Just a
1583.47 s
[opt-env-conf-test] - let toRes = \case
1583.47 s
[opt-env-conf-test] - Nothing -> NotFound
1583.47 s
[opt-env-conf-test] - Just a -> Found a
1583.47 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1583.47 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1583.47 s
[opt-env-conf-test] - Just ne -> do
1583.47 s
[opt-env-conf-test] - res <- goConfSet confSet
1583.47 s
[opt-env-conf-test] - case res of
1583.48 s
[opt-env-conf-test] - Just a -> pure $ Found a
1583.48 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1583.48 s
[opt-env-conf-test] - goConfSets confSets
1583.48 s
[opt-env-conf-test] - case mConf of
1583.48 s
[opt-env-conf-test] - Found a -> do
1583.48 s
[opt-env-conf-test] - markParsed
1583.48 s
[opt-env-conf-test] - pure a
1583.48 s
[opt-env-conf-test] - _ ->
1583.48 s
[opt-env-conf-test] - case settingDefaultValue of
1583.48 s
[opt-env-conf-test] - Just (a, _) -> do
1583.48 s
[opt-env-conf-test] - debug ["set to default value"]
1583.48 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1583.48 s
[opt-env-conf-test] - Nothing -> do
1583.48 s
[opt-env-conf-test] - let parseResultError e res = case res of
1583.48 s
[opt-env-conf-test] - NotRun -> Nothing
1583.48 s
[opt-env-conf-test] - NotFound -> Just e
1583.48 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1583.48 s
[opt-env-conf-test] - debug ["not found"]
1583.48 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1583.48 s
[opt-env-conf-test] - NE.nonEmpty $
1583.48 s
[opt-env-conf-test] - catMaybes
1583.48 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1583.48 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1583.48 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1583.48 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1583.48 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1583.48 s
[opt-env-conf-test] - ]
1583.48 s
[opt-env-conf-test]
1583.48 s
[opt-env-conf-test] withCapabilities ::
1583.48 s
[opt-env-conf-test] Maybe SrcLoc ->
1583.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
1583.48 s
[opt-env-conf-test] @@ -330,128 +330,125 @@
1583.48 s
[opt-env-conf-test] pure $ Found a
1583.48 s
[opt-env-conf-test] else pure NotRun
1583.48 s
[opt-env-conf-test]
1583.48 s
[opt-env-conf-test] case mOpt of
1583.48 s
[opt-env-conf-test] - Found a -> do
1583.48 s
[opt-env-conf-test] - markParsed
1583.48 s
[opt-env-conf-test] - pure a
1583.48 s
[opt-env-conf-test] _ -> do
1583.48 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1583.48 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1583.48 s
[opt-env-conf-test] Nothing -> pure NotRun
1583.48 s
[opt-env-conf-test] Just ne -> do
1583.48 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1583.48 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1583.48 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1583.48 s
[opt-env-conf-test] es <- asks ppEnvEnv
1583.48 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1583.48 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1583.48 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1583.48 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1583.48 s
[opt-env-conf-test] -- result.
1583.49 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1583.49 s
[opt-env-conf-test] case tryReaders rs varStr of
1583.49 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1583.49 s
[opt-env-conf-test] Right a -> do
1583.49 s
[opt-env-conf-test] debug
1583.49 s
[opt-env-conf-test] [ "set based on env: ",
1583.49 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1583.49 s
[opt-env-conf-test] ]
1583.49 s
[opt-env-conf-test] pure a
1583.49 s
[opt-env-conf-test] case listToMaybe results of
1583.49 s
[opt-env-conf-test] Nothing -> do
1583.49 s
[opt-env-conf-test] debug
1583.49 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1583.49 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1583.49 s
[opt-env-conf-test] ]
1583.49 s
[opt-env-conf-test] pure NotFound
1583.49 s
[opt-env-conf-test] Just a -> pure $ Found a
1583.49 s
[opt-env-conf-test]
1583.49 s
[opt-env-conf-test] case mEnv of
1583.49 s
[opt-env-conf-test] Found a -> do
1583.49 s
[opt-env-conf-test] markParsed
1583.49 s
[opt-env-conf-test] pure a
1583.49 s
[opt-env-conf-test] _ -> do
1583.49 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1583.49 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1583.49 s
[opt-env-conf-test] Nothing -> pure NotRun
1583.49 s
[opt-env-conf-test] Just confSets -> do
1583.49 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1583.49 s
[opt-env-conf-test] case mObj of
1583.49 s
[opt-env-conf-test] Nothing -> do
1583.49 s
[opt-env-conf-test] debug ["no config object to set from"]
1583.49 s
[opt-env-conf-test] pure NotFound
1583.49 s
[opt-env-conf-test] Just obj -> do
1583.49 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1583.49 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1583.49 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1583.49 s
[opt-env-conf-test] Nothing -> do
1583.49 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1583.49 s
[opt-env-conf-test] Nothing -> pure Nothing
1583.49 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1583.49 s
[opt-env-conf-test] Just neRest -> do
1583.49 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1583.49 s
[opt-env-conf-test] case mO' of
1583.49 s
[opt-env-conf-test] Nothing -> pure Nothing
1583.49 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1583.49 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1583.49 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1583.49 s
[opt-env-conf-test] Right mV -> case mV of
1583.49 s
[opt-env-conf-test] Nothing -> do
1583.49 s
[opt-env-conf-test] debug
1583.49 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1583.49 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1583.49 s
[opt-env-conf-test] ]
1583.49 s
[opt-env-conf-test] pure Nothing
1583.50 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1583.50 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1583.50 s
[opt-env-conf-test] Right mA -> case mA of
1583.50 s
[opt-env-conf-test] Nothing -> do
1583.50 s
[opt-env-conf-test] debug
1583.50 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1583.50 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1583.50 s
[opt-env-conf-test] ]
1583.50 s
[opt-env-conf-test] pure Nothing
1583.50 s
[opt-env-conf-test] Just a -> do
1583.50 s
[opt-env-conf-test] debug
1583.50 s
[opt-env-conf-test] [ "set based on config value: ",
1583.50 s
[opt-env-conf-test] chunk $ T.pack $ show v
1583.50 s
[opt-env-conf-test] ]
1583.50 s
[opt-env-conf-test] pure $ Just a
1583.50 s
[opt-env-conf-test] let toRes = \case
1583.50 s
[opt-env-conf-test] Nothing -> NotFound
1583.50 s
[opt-env-conf-test] Just a -> Found a
1583.50 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1583.50 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1583.50 s
[opt-env-conf-test] Just ne -> do
1583.62 s
[opt-env-conf-test] res <- goConfSet confSet
1583.62 s
[opt-env-conf-test] case res of
1583.62 s
[opt-env-conf-test] Just a -> pure $ Found a
1583.62 s
[opt-env-conf-test] Nothing -> goConfSets ne
1583.62 s
[opt-env-conf-test] goConfSets confSets
1583.62 s
[opt-env-conf-test] case mConf of
1583.62 s
[opt-env-conf-test] Found a -> do
1583.62 s
[opt-env-conf-test] markParsed
1583.62 s
[opt-env-conf-test] pure a
1583.62 s
[opt-env-conf-test] _ ->
1583.62 s
[opt-env-conf-test] case settingDefaultValue of
1583.62 s
[opt-env-conf-test] Just (a, _) -> do
1583.62 s
[opt-env-conf-test] debug ["set to default value"]
1583.62 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1583.62 s
[opt-env-conf-test] Nothing -> do
1583.62 s
[opt-env-conf-test] let parseResultError e res = case res of
1583.62 s
[opt-env-conf-test] NotRun -> Nothing
1583.62 s
[opt-env-conf-test] NotFound -> Just e
1583.62 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1583.62 s
[opt-env-conf-test] debug ["not found"]
1583.62 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1583.62 s
[opt-env-conf-test] NE.nonEmpty $
1583.62 s
[opt-env-conf-test] catMaybes
1583.63 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1583.63 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1583.63 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1583.63 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1583.63 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1583.63 s
[opt-env-conf-test] ]
1583.63 s
[opt-env-conf-test]
1583.63 s
[opt-env-conf-test] withCapabilities ::
1583.63 s
[opt-env-conf-test] Maybe SrcLoc ->
1583.63 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
1583.63 s
[opt-env-conf-test] @@ -330,128 +330,10 @@
1583.63 s
[opt-env-conf-test] pure $ Found a
1583.63 s
[opt-env-conf-test] else pure NotRun
1583.63 s
[opt-env-conf-test]
1583.63 s
[opt-env-conf-test] case mOpt of
1583.63 s
[opt-env-conf-test] Found a -> do
1583.63 s
[opt-env-conf-test] markParsed
1583.63 s
[opt-env-conf-test] pure a
1583.63 s
[opt-env-conf-test] - _ -> do
1583.63 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1583.63 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1583.63 s
[opt-env-conf-test] - Nothing -> pure NotRun
1583.63 s
[opt-env-conf-test] - Just ne -> do
1583.63 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1583.63 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1583.63 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1583.63 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1583.63 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1583.63 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1583.63 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1583.63 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1583.63 s
[opt-env-conf-test] - -- result.
1583.63 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1583.63 s
[opt-env-conf-test] - case tryReaders rs varStr of
1583.63 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1583.63 s
[opt-env-conf-test] - Right a -> do
1583.63 s
[opt-env-conf-test] - debug
1583.63 s
[opt-env-conf-test] - [ "set based on env: ",
1583.63 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1583.63 s
[opt-env-conf-test] - ]
1583.63 s
[opt-env-conf-test] - pure a
1583.63 s
[opt-env-conf-test] - case listToMaybe results of
1583.63 s
[opt-env-conf-test] - Nothing -> do
1583.64 s
[opt-env-conf-test] - debug
1583.64 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1583.64 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1583.64 s
[opt-env-conf-test] - ]
1583.64 s
[opt-env-conf-test] - pure NotFound
1583.64 s
[opt-env-conf-test] - Just a -> pure $ Found a
1583.64 s
[opt-env-conf-test] -
1583.64 s
[opt-env-conf-test] - case mEnv of
1583.64 s
[opt-env-conf-test] - Found a -> do
1583.64 s
[opt-env-conf-test] - markParsed
1583.64 s
[opt-env-conf-test] - pure a
1583.64 s
[opt-env-conf-test] - _ -> do
1583.64 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1583.64 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1583.64 s
[opt-env-conf-test] - Nothing -> pure NotRun
1583.64 s
[opt-env-conf-test] - Just confSets -> do
1583.64 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1583.64 s
[opt-env-conf-test] - case mObj of
1583.64 s
[opt-env-conf-test] - Nothing -> do
1583.64 s
[opt-env-conf-test] - debug ["no config object to set from"]
1583.64 s
[opt-env-conf-test] - pure NotFound
1583.64 s
[opt-env-conf-test] - Just obj -> do
1583.64 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1583.64 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1583.64 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1583.64 s
[opt-env-conf-test] - Nothing -> do
1583.64 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1583.64 s
[opt-env-conf-test] - Nothing -> pure Nothing
1583.64 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1583.64 s
[opt-env-conf-test] - Just neRest -> do
1583.64 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1583.64 s
[opt-env-conf-test] - case mO' of
1583.64 s
[opt-env-conf-test] - Nothing -> pure Nothing
1583.64 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1583.64 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1583.64 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1583.64 s
[opt-env-conf-test] - Right mV -> case mV of
1583.64 s
[opt-env-conf-test] - Nothing -> do
1583.64 s
[opt-env-conf-test] - debug
1583.64 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1583.64 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1583.64 s
[opt-env-conf-test] - ]
1583.64 s
[opt-env-conf-test] - pure Nothing
1583.64 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1583.64 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1583.64 s
[opt-env-conf-test] - Right mA -> case mA of
1583.64 s
[opt-env-conf-test] - Nothing -> do
1583.64 s
[opt-env-conf-test] - debug
1583.64 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1583.64 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1583.65 s
[opt-env-conf-test] - ]
1583.65 s
[opt-env-conf-test] - pure Nothing
1583.65 s
[opt-env-conf-test] - Just a -> do
1583.65 s
[opt-env-conf-test] - debug
1583.65 s
[opt-env-conf-test] - [ "set based on config value: ",
1583.65 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1583.65 s
[opt-env-conf-test] - ]
1583.65 s
[opt-env-conf-test] - pure $ Just a
1583.65 s
[opt-env-conf-test] - let toRes = \case
1583.65 s
[opt-env-conf-test] - Nothing -> NotFound
1583.65 s
[opt-env-conf-test] - Just a -> Found a
1583.65 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1583.65 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1583.65 s
[opt-env-conf-test] - Just ne -> do
1583.65 s
[opt-env-conf-test] - res <- goConfSet confSet
1583.65 s
[opt-env-conf-test] - case res of
1583.65 s
[opt-env-conf-test] - Just a -> pure $ Found a
1583.65 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1583.65 s
[opt-env-conf-test] - goConfSets confSets
1583.65 s
[opt-env-conf-test] - case mConf of
1583.65 s
[opt-env-conf-test] - Found a -> do
1583.65 s
[opt-env-conf-test] - markParsed
1583.65 s
[opt-env-conf-test] - pure a
1583.65 s
[opt-env-conf-test] - _ ->
1583.65 s
[opt-env-conf-test] - case settingDefaultValue of
1583.65 s
[opt-env-conf-test] - Just (a, _) -> do
1583.65 s
[opt-env-conf-test] - debug ["set to default value"]
1583.65 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1583.65 s
[opt-env-conf-test] - Nothing -> do
1583.65 s
[opt-env-conf-test] - let parseResultError e res = case res of
1583.65 s
[opt-env-conf-test] - NotRun -> Nothing
1583.65 s
[opt-env-conf-test] - NotFound -> Just e
1583.65 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1583.65 s
[opt-env-conf-test] - debug ["not found"]
1584.53 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1584.53 s
[opt-env-conf-test] - NE.nonEmpty $
1584.53 s
[opt-env-conf-test] - catMaybes
1584.53 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1584.53 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1584.53 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1584.53 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1584.53 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1584.53 s
[opt-env-conf-test] - ]
1584.53 s
[opt-env-conf-test]
1584.53 s
[opt-env-conf-test] withCapabilities ::
1584.53 s
[opt-env-conf-test] Maybe SrcLoc ->
1584.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
1584.54 s
[opt-env-conf-test] @@ -300,158 +300,155 @@
1584.54 s
[opt-env-conf-test] debug ["set based on switch."]
1584.54 s
[opt-env-conf-test] pure $ Found a
1584.54 s
[opt-env-conf-test]
1584.54 s
[opt-env-conf-test] case mSwitch of
1584.54 s
[opt-env-conf-test] - Found a -> do
1584.54 s
[opt-env-conf-test] - markParsed
1584.54 s
[opt-env-conf-test] - pure a
1584.54 s
[opt-env-conf-test] _ -> do
1584.54 s
[opt-env-conf-test] mOpt <-
1584.54 s
[opt-env-conf-test] if settingTryOption
1584.54 s
[opt-env-conf-test] then do
1584.54 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1584.54 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1584.54 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1584.54 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1584.54 s
[opt-env-conf-test] case mS of
1584.54 s
[opt-env-conf-test] Nothing -> do
1584.54 s
[opt-env-conf-test] debug
1584.54 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1584.54 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1584.54 s
[opt-env-conf-test] ]
1584.54 s
[opt-env-conf-test] pure NotFound
1584.54 s
[opt-env-conf-test] Just optionStr -> cap $
1584.54 s
[opt-env-conf-test] case tryReaders rs optionStr of
1584.54 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1584.54 s
[opt-env-conf-test] Right a -> do
1584.54 s
[opt-env-conf-test] debug
1584.54 s
[opt-env-conf-test] [ "set based on option: ",
1584.54 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1584.54 s
[opt-env-conf-test] ]
1584.54 s
[opt-env-conf-test] pure $ Found a
1584.54 s
[opt-env-conf-test] else pure NotRun
1584.54 s
[opt-env-conf-test]
1584.54 s
[opt-env-conf-test] case mOpt of
1584.54 s
[opt-env-conf-test] Found a -> do
1584.54 s
[opt-env-conf-test] markParsed
1584.54 s
[opt-env-conf-test] pure a
1584.54 s
[opt-env-conf-test] _ -> do
1584.54 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1584.54 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1584.54 s
[opt-env-conf-test] Nothing -> pure NotRun
1584.54 s
[opt-env-conf-test] Just ne -> do
1584.54 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1584.54 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1584.54 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1584.54 s
[opt-env-conf-test] es <- asks ppEnvEnv
1584.54 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1584.54 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1584.54 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1584.54 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1584.54 s
[opt-env-conf-test] -- result.
1584.54 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1584.54 s
[opt-env-conf-test] case tryReaders rs varStr of
1584.54 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1584.54 s
[opt-env-conf-test] Right a -> do
1584.54 s
[opt-env-conf-test] debug
1584.54 s
[opt-env-conf-test] [ "set based on env: ",
1584.54 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1584.54 s
[opt-env-conf-test] ]
1584.54 s
[opt-env-conf-test] pure a
1584.54 s
[opt-env-conf-test] case listToMaybe results of
1584.54 s
[opt-env-conf-test] Nothing -> do
1584.54 s
[opt-env-conf-test] debug
1584.54 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1584.54 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1584.54 s
[opt-env-conf-test] ]
1584.54 s
[opt-env-conf-test] pure NotFound
1584.54 s
[opt-env-conf-test] Just a -> pure $ Found a
1584.54 s
[opt-env-conf-test]
1584.54 s
[opt-env-conf-test] case mEnv of
1584.54 s
[opt-env-conf-test] Found a -> do
1584.54 s
[opt-env-conf-test] markParsed
1584.54 s
[opt-env-conf-test] pure a
1584.54 s
[opt-env-conf-test] _ -> do
1584.54 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1584.54 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1584.54 s
[opt-env-conf-test] Nothing -> pure NotRun
1584.54 s
[opt-env-conf-test] Just confSets -> do
1584.54 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1584.54 s
[opt-env-conf-test] case mObj of
1584.54 s
[opt-env-conf-test] Nothing -> do
1584.54 s
[opt-env-conf-test] debug ["no config object to set from"]
1584.54 s
[opt-env-conf-test] pure NotFound
1584.54 s
[opt-env-conf-test] Just obj -> do
1584.54 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1584.54 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1584.54 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1584.54 s
[opt-env-conf-test] Nothing -> do
1584.54 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1584.54 s
[opt-env-conf-test] Nothing -> pure Nothing
1584.54 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1584.54 s
[opt-env-conf-test] Just neRest -> do
1584.54 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1584.54 s
[opt-env-conf-test] case mO' of
1584.54 s
[opt-env-conf-test] Nothing -> pure Nothing
1584.54 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1584.54 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1584.54 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1584.54 s
[opt-env-conf-test] Right mV -> case mV of
1584.54 s
[opt-env-conf-test] Nothing -> do
1584.54 s
[opt-env-conf-test] debug
1584.54 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1584.54 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1584.54 s
[opt-env-conf-test] ]
1584.54 s
[opt-env-conf-test] pure Nothing
1584.54 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1584.55 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1584.55 s
[opt-env-conf-test] Right mA -> case mA of
1584.55 s
[opt-env-conf-test] Nothing -> do
1584.55 s
[opt-env-conf-test] debug
1584.55 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1584.55 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1584.55 s
[opt-env-conf-test] ]
1584.55 s
[opt-env-conf-test] pure Nothing
1584.55 s
[opt-env-conf-test] Just a -> do
1584.55 s
[opt-env-conf-test] debug
1584.55 s
[opt-env-conf-test] [ "set based on config value: ",
1584.55 s
[opt-env-conf-test] chunk $ T.pack $ show v
1584.55 s
[opt-env-conf-test] ]
1584.55 s
[opt-env-conf-test] pure $ Just a
1584.55 s
[opt-env-conf-test] let toRes = \case
1584.55 s
[opt-env-conf-test] Nothing -> NotFound
1584.55 s
[opt-env-conf-test] Just a -> Found a
1584.55 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1584.55 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1584.55 s
[opt-env-conf-test] Just ne -> do
1584.55 s
[opt-env-conf-test] res <- goConfSet confSet
1584.55 s
[opt-env-conf-test] case res of
1584.55 s
[opt-env-conf-test] Just a -> pure $ Found a
1584.55 s
[opt-env-conf-test] Nothing -> goConfSets ne
1584.55 s
[opt-env-conf-test] goConfSets confSets
1584.55 s
[opt-env-conf-test] case mConf of
1584.55 s
[opt-env-conf-test] Found a -> do
1584.55 s
[opt-env-conf-test] markParsed
1584.55 s
[opt-env-conf-test] pure a
1584.55 s
[opt-env-conf-test] _ ->
1584.55 s
[opt-env-conf-test] case settingDefaultValue of
1584.55 s
[opt-env-conf-test] Just (a, _) -> do
1585.11 s
[opt-env-conf-test] debug ["set to default value"]
1585.11 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1585.11 s
[opt-env-conf-test] Nothing -> do
1585.11 s
[opt-env-conf-test] let parseResultError e res = case res of
1585.11 s
[opt-env-conf-test] NotRun -> Nothing
1585.11 s
[opt-env-conf-test] NotFound -> Just e
1585.11 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1585.11 s
[opt-env-conf-test] debug ["not found"]
1585.11 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1585.11 s
[opt-env-conf-test] NE.nonEmpty $
1585.11 s
[opt-env-conf-test] catMaybes
1585.11 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1585.11 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1585.11 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1585.11 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1585.11 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1585.11 s
[opt-env-conf-test] ]
1585.11 s
[opt-env-conf-test]
1585.11 s
[opt-env-conf-test] withCapabilities ::
1585.11 s
[opt-env-conf-test] Maybe SrcLoc ->
1585.11 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:92:15-43
1585.11 s
[opt-env-conf-test] @@ -89,18 +89,15 @@
1585.11 s
[opt-env-conf-test] let goNexts ns = do
1585.11 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
1585.11 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
1585.11 s
[opt-env-conf-test] case mNext of
1585.11 s
[opt-env-conf-test] Nothing ->
1585.11 s
[opt-env-conf-test] pure $
1585.11 s
[opt-env-conf-test] Left $
1585.11 s
[opt-env-conf-test] -- Only show source locations in debug mode.
1585.11 s
[opt-env-conf-test] let f = case mDebugMode of
1585.11 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
1585.11 s
[opt-env-conf-test] Just _ -> id
1585.11 s
[opt-env-conf-test] in f firstErrors
1585.12 s
[opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
1585.12 s
[opt-env-conf-test] - Success a -> pure (Right a)
1585.12 s
[opt-env-conf-test] - Failure _ -> goNexts ns'
1585.12 s
[opt-env-conf-test] in goNexts nexts
1585.12 s
[opt-env-conf-test] where
1585.12 s
[opt-env-conf-test] go ::
1585.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
1585.12 s
[opt-env-conf-test] @@ -300,158 +300,10 @@
1585.12 s
[opt-env-conf-test] debug ["set based on switch."]
1585.12 s
[opt-env-conf-test] pure $ Found a
1585.12 s
[opt-env-conf-test]
1585.12 s
[opt-env-conf-test] case mSwitch of
1585.12 s
[opt-env-conf-test] Found a -> do
1585.12 s
[opt-env-conf-test] markParsed
1585.12 s
[opt-env-conf-test] pure a
1585.12 s
[opt-env-conf-test] - _ -> do
1585.12 s
[opt-env-conf-test] - mOpt <-
1585.12 s
[opt-env-conf-test] - if settingTryOption
1585.12 s
[opt-env-conf-test] - then do
1585.12 s
[opt-env-conf-test] - -- Require readers before finding the option so the parser
1585.12 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1585.12 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1585.12 s
[opt-env-conf-test] - mS <- ppOpt settingDasheds
1585.12 s
[opt-env-conf-test] - case mS of
1585.12 s
[opt-env-conf-test] - Nothing -> do
1585.12 s
[opt-env-conf-test] - debug
1585.12 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1585.12 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1585.12 s
[opt-env-conf-test] - ]
1585.12 s
[opt-env-conf-test] - pure NotFound
1585.12 s
[opt-env-conf-test] - Just optionStr -> cap $
1585.12 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1585.12 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1585.12 s
[opt-env-conf-test] - Right a -> do
1585.12 s
[opt-env-conf-test] - debug
1585.12 s
[opt-env-conf-test] - [ "set based on option: ",
1585.12 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1585.12 s
[opt-env-conf-test] - ]
1585.12 s
[opt-env-conf-test] - pure $ Found a
1585.12 s
[opt-env-conf-test] - else pure NotRun
1585.12 s
[opt-env-conf-test] -
1585.12 s
[opt-env-conf-test] - case mOpt of
1585.12 s
[opt-env-conf-test] - Found a -> do
1585.12 s
[opt-env-conf-test] - markParsed
1585.12 s
[opt-env-conf-test] - pure a
1585.12 s
[opt-env-conf-test] - _ -> do
1585.12 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1585.12 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1585.12 s
[opt-env-conf-test] - Nothing -> pure NotRun
1585.12 s
[opt-env-conf-test] - Just ne -> do
1585.12 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1585.12 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1585.12 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1585.13 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1585.13 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1585.13 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1585.13 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1585.13 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1585.13 s
[opt-env-conf-test] - -- result.
1585.13 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1585.13 s
[opt-env-conf-test] - case tryReaders rs varStr of
1585.13 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1585.13 s
[opt-env-conf-test] - Right a -> do
1585.13 s
[opt-env-conf-test] - debug
1585.13 s
[opt-env-conf-test] - [ "set based on env: ",
1585.13 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1585.13 s
[opt-env-conf-test] - ]
1585.13 s
[opt-env-conf-test] - pure a
1585.13 s
[opt-env-conf-test] - case listToMaybe results of
1585.13 s
[opt-env-conf-test] - Nothing -> do
1585.13 s
[opt-env-conf-test] - debug
1585.13 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1585.13 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1585.13 s
[opt-env-conf-test] - ]
1585.13 s
[opt-env-conf-test] - pure NotFound
1585.13 s
[opt-env-conf-test] - Just a -> pure $ Found a
1585.13 s
[opt-env-conf-test] -
1585.13 s
[opt-env-conf-test] - case mEnv of
1585.13 s
[opt-env-conf-test] - Found a -> do
1585.13 s
[opt-env-conf-test] - markParsed
1585.13 s
[opt-env-conf-test] - pure a
1585.13 s
[opt-env-conf-test] - _ -> do
1585.13 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1585.13 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1585.13 s
[opt-env-conf-test] - Nothing -> pure NotRun
1585.13 s
[opt-env-conf-test] - Just confSets -> do
1585.13 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1585.13 s
[opt-env-conf-test] - case mObj of
1585.13 s
[opt-env-conf-test] - Nothing -> do
1585.13 s
[opt-env-conf-test] - debug ["no config object to set from"]
1585.13 s
[opt-env-conf-test] - pure NotFound
1585.13 s
[opt-env-conf-test] - Just obj -> do
1585.13 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1585.13 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1585.13 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1585.13 s
[opt-env-conf-test] - Nothing -> do
1585.13 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1585.13 s
[opt-env-conf-test] - Nothing -> pure Nothing
1585.13 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1585.13 s
[opt-env-conf-test] - Just neRest -> do
1585.13 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1585.13 s
[opt-env-conf-test] - case mO' of
1585.13 s
[opt-env-conf-test] - Nothing -> pure Nothing
1585.13 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1585.13 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1585.13 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1585.13 s
[opt-env-conf-test] - Right mV -> case mV of
1585.13 s
[opt-env-conf-test] - Nothing -> do
1585.14 s
[opt-env-conf-test] - debug
1585.14 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1585.14 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1585.14 s
[opt-env-conf-test] - ]
1585.14 s
[opt-env-conf-test] - pure Nothing
1585.14 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1585.14 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1585.14 s
[opt-env-conf-test] - Right mA -> case mA of
1585.14 s
[opt-env-conf-test] - Nothing -> do
1585.14 s
[opt-env-conf-test] - debug
1585.14 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1585.14 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1585.14 s
[opt-env-conf-test] - ]
1585.14 s
[opt-env-conf-test] - pure Nothing
1585.14 s
[opt-env-conf-test] - Just a -> do
1585.14 s
[opt-env-conf-test] - debug
1585.14 s
[opt-env-conf-test] - [ "set based on config value: ",
1585.14 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1585.14 s
[opt-env-conf-test] - ]
1585.14 s
[opt-env-conf-test] - pure $ Just a
1585.14 s
[opt-env-conf-test] - let toRes = \case
1585.14 s
[opt-env-conf-test] - Nothing -> NotFound
1585.14 s
[opt-env-conf-test] - Just a -> Found a
1585.14 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1585.14 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1585.14 s
[opt-env-conf-test] - Just ne -> do
1585.14 s
[opt-env-conf-test] - res <- goConfSet confSet
1585.14 s
[opt-env-conf-test] - case res of
1585.14 s
[opt-env-conf-test] - Just a -> pure $ Found a
1585.14 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1585.14 s
[opt-env-conf-test] - goConfSets confSets
1585.14 s
[opt-env-conf-test] - case mConf of
1585.14 s
[opt-env-conf-test] - Found a -> do
1585.14 s
[opt-env-conf-test] - markParsed
1585.14 s
[opt-env-conf-test] - pure a
1585.14 s
[opt-env-conf-test] - _ ->
1585.14 s
[opt-env-conf-test] - case settingDefaultValue of
1585.14 s
[opt-env-conf-test] - Just (a, _) -> do
1585.14 s
[opt-env-conf-test] - debug ["set to default value"]
1585.14 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1585.14 s
[opt-env-conf-test] - Nothing -> do
1585.14 s
[opt-env-conf-test] - let parseResultError e res = case res of
1585.14 s
[opt-env-conf-test] - NotRun -> Nothing
1585.14 s
[opt-env-conf-test] - NotFound -> Just e
1585.14 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1585.14 s
[opt-env-conf-test] - debug ["not found"]
1585.14 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1585.14 s
[opt-env-conf-test] - NE.nonEmpty $
1585.14 s
[opt-env-conf-test] - catMaybes
1585.14 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1585.14 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1585.97 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1585.97 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1586.08 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1586.08 s
[opt-env-conf-test] - ]
1586.08 s
[opt-env-conf-test]
1586.08 s
[opt-env-conf-test] withCapabilities ::
1586.08 s
[opt-env-conf-test] Maybe SrcLoc ->
1586.08 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:84:3-26
1586.08 s
[opt-env-conf-test] @@ -81,27 +81,26 @@
1586.08 s
[opt-env-conf-test] Nothing -> pure result
1586.08 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
1586.08 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
1586.08 s
[opt-env-conf-test] case mTup of
1586.08 s
[opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
1586.08 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
1586.08 s
[opt-env-conf-test] Success a -> pure (Right a)
1586.08 s
[opt-env-conf-test] Failure firstErrors ->
1586.08 s
[opt-env-conf-test] let goNexts ns = do
1586.08 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
1586.08 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
1586.08 s
[opt-env-conf-test] case mNext of
1586.08 s
[opt-env-conf-test] Nothing ->
1586.08 s
[opt-env-conf-test] pure $
1586.08 s
[opt-env-conf-test] Left $
1586.08 s
[opt-env-conf-test] -- Only show source locations in debug mode.
1586.08 s
[opt-env-conf-test] let f = case mDebugMode of
1586.08 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
1586.08 s
[opt-env-conf-test] Just _ -> id
1586.08 s
[opt-env-conf-test] in f firstErrors
1586.08 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
1586.08 s
[opt-env-conf-test] Success a -> pure (Right a)
1586.08 s
[opt-env-conf-test] Failure _ -> goNexts ns'
1586.08 s
[opt-env-conf-test] in goNexts nexts
1586.08 s
[opt-env-conf-test] where
1586.08 s
[opt-env-conf-test] go ::
1586.09 s
[opt-env-conf-test] Parser a ->
1586.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1586.09 s
[opt-env-conf-test] @@ -227,10 +227,7 @@
1586.09 s
[opt-env-conf-test] internalParser p =
1586.09 s
[opt-env-conf-test] choice
1586.09 s
[opt-env-conf-test] [ setting
1586.09 s
[opt-env-conf-test] - [ switch ShowVersion,
1586.09 s
[opt-env-conf-test] - long "version",
1586.09 s
[opt-env-conf-test] - hidden
1586.09 s
[opt-env-conf-test] ],
1586.09 s
[opt-env-conf-test] setting
1586.09 s
[opt-env-conf-test] [ switch RenderMan,
1586.09 s
[opt-env-conf-test] long "render-man-page",
1586.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
1586.09 s
[opt-env-conf-test] @@ -280,178 +280,175 @@
1586.09 s
[opt-env-conf-test] pure $ Found a
1586.09 s
[opt-env-conf-test] else pure NotRun
1586.09 s
[opt-env-conf-test]
1586.09 s
[opt-env-conf-test] case mArg of
1586.09 s
[opt-env-conf-test] - Found a -> do
1586.09 s
[opt-env-conf-test] - markParsed
1586.09 s
[opt-env-conf-test] - pure a
1586.09 s
[opt-env-conf-test] _ -> do
1586.09 s
[opt-env-conf-test] mSwitch <- case settingSwitchValue of
1586.09 s
[opt-env-conf-test] Nothing -> pure NotRun
1586.09 s
[opt-env-conf-test] Just a -> do
1586.09 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1586.09 s
[opt-env-conf-test] case mS of
1586.09 s
[opt-env-conf-test] Nothing -> do
1586.09 s
[opt-env-conf-test] debug
1586.09 s
[opt-env-conf-test] [ "could not set based on switch, no switch: ",
1586.09 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1586.09 s
[opt-env-conf-test] ]
1586.09 s
[opt-env-conf-test] pure NotFound
1586.09 s
[opt-env-conf-test] Just () -> cap $ do
1586.09 s
[opt-env-conf-test] debug ["set based on switch."]
1586.09 s
[opt-env-conf-test] pure $ Found a
1586.09 s
[opt-env-conf-test]
1586.09 s
[opt-env-conf-test] case mSwitch of
1586.09 s
[opt-env-conf-test] Found a -> do
1586.09 s
[opt-env-conf-test] markParsed
1586.10 s
[opt-env-conf-test] pure a
1586.10 s
[opt-env-conf-test] _ -> do
1586.10 s
[opt-env-conf-test] mOpt <-
1586.10 s
[opt-env-conf-test] if settingTryOption
1586.10 s
[opt-env-conf-test] then do
1586.10 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1586.10 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1586.10 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1586.10 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1586.10 s
[opt-env-conf-test] case mS of
1586.10 s
[opt-env-conf-test] Nothing -> do
1586.10 s
[opt-env-conf-test] debug
1586.10 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1586.10 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1586.10 s
[opt-env-conf-test] ]
1586.10 s
[opt-env-conf-test] pure NotFound
1586.10 s
[opt-env-conf-test] Just optionStr -> cap $
1586.10 s
[opt-env-conf-test] case tryReaders rs optionStr of
1586.10 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1586.10 s
[opt-env-conf-test] Right a -> do
1586.10 s
[opt-env-conf-test] debug
1586.10 s
[opt-env-conf-test] [ "set based on option: ",
1586.10 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1586.10 s
[opt-env-conf-test] ]
1586.10 s
[opt-env-conf-test] pure $ Found a
1586.10 s
[opt-env-conf-test] else pure NotRun
1586.10 s
[opt-env-conf-test]
1586.10 s
[opt-env-conf-test] case mOpt of
1586.10 s
[opt-env-conf-test] Found a -> do
1586.10 s
[opt-env-conf-test] markParsed
1586.10 s
[opt-env-conf-test] pure a
1586.10 s
[opt-env-conf-test] _ -> do
1586.10 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1586.10 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1586.10 s
[opt-env-conf-test] Nothing -> pure NotRun
1586.10 s
[opt-env-conf-test] Just ne -> do
1586.10 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1586.10 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1586.10 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1586.10 s
[opt-env-conf-test] es <- asks ppEnvEnv
1586.10 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1586.10 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1586.10 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1586.10 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1586.10 s
[opt-env-conf-test] -- result.
1586.10 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1586.10 s
[opt-env-conf-test] case tryReaders rs varStr of
1586.10 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1586.10 s
[opt-env-conf-test] Right a -> do
1586.10 s
[opt-env-conf-test] debug
1586.11 s
[opt-env-conf-test] [ "set based on env: ",
1586.11 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1586.11 s
[opt-env-conf-test] ]
1586.11 s
[opt-env-conf-test] pure a
1586.11 s
[opt-env-conf-test] case listToMaybe results of
1586.11 s
[opt-env-conf-test] Nothing -> do
1586.11 s
[opt-env-conf-test] debug
1586.11 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1586.11 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1586.11 s
[opt-env-conf-test] ]
1586.11 s
[opt-env-conf-test] pure NotFound
1586.11 s
[opt-env-conf-test] Just a -> pure $ Found a
1586.11 s
[opt-env-conf-test]
1586.11 s
[opt-env-conf-test] case mEnv of
1586.11 s
[opt-env-conf-test] Found a -> do
1586.11 s
[opt-env-conf-test] markParsed
1586.11 s
[opt-env-conf-test] pure a
1586.11 s
[opt-env-conf-test] _ -> do
1586.11 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1586.11 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1586.11 s
[opt-env-conf-test] Nothing -> pure NotRun
1586.11 s
[opt-env-conf-test] Just confSets -> do
1586.11 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1586.11 s
[opt-env-conf-test] case mObj of
1586.11 s
[opt-env-conf-test] Nothing -> do
1586.11 s
[opt-env-conf-test] debug ["no config object to set from"]
1586.11 s
[opt-env-conf-test] pure NotFound
1586.11 s
[opt-env-conf-test] Just obj -> do
1586.11 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1586.11 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1586.11 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1586.11 s
[opt-env-conf-test] Nothing -> do
1586.11 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1586.11 s
[opt-env-conf-test] Nothing -> pure Nothing
1586.11 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1586.11 s
[opt-env-conf-test] Just neRest -> do
1586.11 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1586.11 s
[opt-env-conf-test] case mO' of
1586.11 s
[opt-env-conf-test] Nothing -> pure Nothing
1586.11 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1586.11 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1586.11 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1586.11 s
[opt-env-conf-test] Right mV -> case mV of
1586.11 s
[opt-env-conf-test] Nothing -> do
1586.11 s
[opt-env-conf-test] debug
1586.11 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1586.11 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1586.11 s
[opt-env-conf-test] ]
1586.12 s
[opt-env-conf-test] pure Nothing
1586.12 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1586.12 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1586.12 s
[opt-env-conf-test] Right mA -> case mA of
1586.12 s
[opt-env-conf-test] Nothing -> do
1586.12 s
[opt-env-conf-test] debug
1586.12 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1586.12 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1586.12 s
[opt-env-conf-test] ]
1586.12 s
[opt-env-conf-test] pure Nothing
1586.12 s
[opt-env-conf-test] Just a -> do
1586.12 s
[opt-env-conf-test] debug
1586.12 s
[opt-env-conf-test] [ "set based on config value: ",
1586.12 s
[opt-env-conf-test] chunk $ T.pack $ show v
1586.12 s
[opt-env-conf-test] ]
1586.12 s
[opt-env-conf-test] pure $ Just a
1586.12 s
[opt-env-conf-test] let toRes = \case
1586.12 s
[opt-env-conf-test] Nothing -> NotFound
1586.12 s
[opt-env-conf-test] Just a -> Found a
1586.12 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1588.32 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1588.32 s
[opt-env-conf-test] Just ne -> do
1588.32 s
[opt-env-conf-test] res <- goConfSet confSet
1588.32 s
[opt-env-conf-test] case res of
1588.32 s
[opt-env-conf-test] Just a -> pure $ Found a
1588.32 s
[opt-env-conf-test] Nothing -> goConfSets ne
1588.32 s
[opt-env-conf-test] goConfSets confSets
1588.32 s
[opt-env-conf-test] case mConf of
1588.32 s
[opt-env-conf-test] Found a -> do
1588.32 s
[opt-env-conf-test] markParsed
1588.32 s
[opt-env-conf-test] pure a
1588.32 s
[opt-env-conf-test] _ ->
1588.32 s
[opt-env-conf-test] case settingDefaultValue of
1588.32 s
[opt-env-conf-test] Just (a, _) -> do
1588.33 s
[opt-env-conf-test] debug ["set to default value"]
1588.33 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1588.33 s
[opt-env-conf-test] Nothing -> do
1588.33 s
[opt-env-conf-test] let parseResultError e res = case res of
1588.33 s
[opt-env-conf-test] NotRun -> Nothing
1588.33 s
[opt-env-conf-test] NotFound -> Just e
1588.33 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1588.33 s
[opt-env-conf-test] debug ["not found"]
1588.33 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1588.33 s
[opt-env-conf-test] NE.nonEmpty $
1588.33 s
[opt-env-conf-test] catMaybes
1588.33 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1588.33 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1588.33 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1588.33 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1588.33 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1588.33 s
[opt-env-conf-test] ]
1588.33 s
[opt-env-conf-test]
1588.33 s
[opt-env-conf-test] withCapabilities ::
1588.33 s
[opt-env-conf-test] Maybe SrcLoc ->
1588.33 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
1588.33 s
[opt-env-conf-test] @@ -114,7 +114,6 @@
1588.33 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
1588.33 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1588.33 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1588.33 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1588.33 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1588.33 s
[opt-env-conf-test] ParserSelect fe ff -> do
1588.33 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1588.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1588.33 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1588.34 s
[opt-env-conf-test] debug ["set to default value"]
1588.34 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1588.34 s
[opt-env-conf-test] Nothing -> do
1588.34 s
[opt-env-conf-test] let parseResultError e res = case res of
1588.34 s
[opt-env-conf-test] - NotRun -> Nothing
1588.34 s
[opt-env-conf-test] NotFound -> Just e
1588.34 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1588.34 s
[opt-env-conf-test] debug ["not found"]
1588.34 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1588.34 s
[opt-env-conf-test] NE.nonEmpty $
1588.34 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1588.34 s
[opt-env-conf-test] @@ -227,10 +227,9 @@
1588.34 s
[opt-env-conf-test] internalParser p =
1588.34 s
[opt-env-conf-test] choice
1588.34 s
[opt-env-conf-test] [ setting
1588.34 s
[opt-env-conf-test] - [ switch ShowVersion,
1588.34 s
[opt-env-conf-test] long "version",
1588.34 s
[opt-env-conf-test] hidden
1588.34 s
[opt-env-conf-test] ],
1588.34 s
[opt-env-conf-test] setting
1588.34 s
[opt-env-conf-test] [ switch RenderMan,
1588.34 s
[opt-env-conf-test] long "render-man-page",
1588.34 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1588.34 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1588.34 s
[opt-env-conf-test] debug ["set to default value"]
1588.34 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1588.34 s
[opt-env-conf-test] Nothing -> do
1588.34 s
[opt-env-conf-test] let parseResultError e res = case res of
1588.34 s
[opt-env-conf-test] NotRun -> Nothing
1588.34 s
[opt-env-conf-test] - NotFound -> Just e
1588.34 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1588.34 s
[opt-env-conf-test] debug ["not found"]
1588.34 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1588.34 s
[opt-env-conf-test] NE.nonEmpty $
1588.34 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1588.35 s
[opt-env-conf-test] @@ -227,10 +227,9 @@
1588.35 s
[opt-env-conf-test] internalParser p =
1588.35 s
[opt-env-conf-test] choice
1588.35 s
[opt-env-conf-test] [ setting
1588.35 s
[opt-env-conf-test] [ switch ShowVersion,
1588.35 s
[opt-env-conf-test] long "version",
1588.35 s
[opt-env-conf-test] - hidden
1588.35 s
[opt-env-conf-test] ],
1588.35 s
[opt-env-conf-test] setting
1588.35 s
[opt-env-conf-test] [ switch RenderMan,
1588.35 s
[opt-env-conf-test] long "render-man-page",
1588.35 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
1588.35 s
[opt-env-conf-test] @@ -114,7 +114,6 @@
1588.35 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
1588.35 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1588.35 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1588.35 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1588.35 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1588.35 s
[opt-env-conf-test] ParserSelect fe ff -> do
1588.35 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1588.35 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1588.35 s
[opt-env-conf-test] @@ -232,11 +232,10 @@
1588.35 s
[opt-env-conf-test] hidden
1588.35 s
[opt-env-conf-test] ],
1588.35 s
[opt-env-conf-test] setting
1588.35 s
[opt-env-conf-test] - [ switch RenderMan,
1588.35 s
[opt-env-conf-test] long "render-man-page",
1588.35 s
[opt-env-conf-test] hidden,
1588.35 s
[opt-env-conf-test] help "Render a manpage"
1588.35 s
[opt-env-conf-test] ],
1588.35 s
[opt-env-conf-test] setting
1588.35 s
[opt-env-conf-test] [ switch RenderDocumentation,
1588.35 s
[opt-env-conf-test] long "render-reference-documentation",
1588.35 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1588.35 s
[opt-env-conf-test] @@ -232,11 +232,10 @@
1588.35 s
[opt-env-conf-test] hidden
1588.35 s
[opt-env-conf-test] ],
1588.35 s
[opt-env-conf-test] setting
1588.35 s
[opt-env-conf-test] [ switch RenderMan,
1588.35 s
[opt-env-conf-test] long "render-man-page",
1588.35 s
[opt-env-conf-test] hidden,
1588.35 s
[opt-env-conf-test] - help "Render a manpage"
1588.35 s
[opt-env-conf-test] ],
1588.35 s
[opt-env-conf-test] setting
1588.35 s
[opt-env-conf-test] [ switch RenderDocumentation,
1588.35 s
[opt-env-conf-test] long "render-reference-documentation",
1588.35 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1588.36 s
[opt-env-conf-test] @@ -238,11 +238,7 @@
1588.36 s
[opt-env-conf-test] help "Render a manpage"
1588.36 s
[opt-env-conf-test] ],
1588.36 s
[opt-env-conf-test] setting
1588.36 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1588.36 s
[opt-env-conf-test] - long "render-reference-documentation",
1588.36 s
[opt-env-conf-test] - hidden,
1588.36 s
[opt-env-conf-test] - help "Render reference documentation"
1588.36 s
[opt-env-conf-test] ],
1588.36 s
[opt-env-conf-test] setting
1588.36 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1588.36 s
[opt-env-conf-test] long "render-nix-options",
1588.36 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:86:36-26
1588.36 s
[opt-env-conf-test] @@ -83,25 +83,8 @@
1588.36 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
1588.36 s
[opt-env-conf-test] case mTup of
1588.36 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
1588.36 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
1588.36 s
[opt-env-conf-test] Success a -> pure (Right a)
1588.36 s
[opt-env-conf-test] - Failure firstErrors ->
1588.36 s
[opt-env-conf-test] - let goNexts ns = do
1588.36 s
[opt-env-conf-test] - -- TODO: Consider keeping around all errors?
1588.36 s
[opt-env-conf-test] - mNext <- runNonDetTLazy ns
1588.36 s
[opt-env-conf-test] - case mNext of
1588.36 s
[opt-env-conf-test] - Nothing ->
1588.36 s
[opt-env-conf-test] - pure $
1588.36 s
[opt-env-conf-test] - Left $
1588.36 s
[opt-env-conf-test] - -- Only show source locations in debug mode.
1588.36 s
[opt-env-conf-test] - let f = case mDebugMode of
1588.36 s
[opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
1588.36 s
[opt-env-conf-test] - Just _ -> id
1588.36 s
[opt-env-conf-test] - in f firstErrors
1588.36 s
[opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
1588.36 s
[opt-env-conf-test] - Success a -> pure (Right a)
1588.36 s
[opt-env-conf-test] - Failure _ -> goNexts ns'
1588.36 s
[opt-env-conf-test] - in goNexts nexts
1588.36 s
[opt-env-conf-test] where
1588.36 s
[opt-env-conf-test] go ::
1588.36 s
[opt-env-conf-test] Parser a ->
1588.36 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1588.36 s
[opt-env-conf-test] @@ -238,11 +238,10 @@
1588.36 s
[opt-env-conf-test] help "Render a manpage"
1588.36 s
[opt-env-conf-test] ],
1588.36 s
[opt-env-conf-test] setting
1588.36 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1588.36 s
[opt-env-conf-test] long "render-reference-documentation",
1588.36 s
[opt-env-conf-test] hidden,
1588.36 s
[opt-env-conf-test] help "Render reference documentation"
1588.36 s
[opt-env-conf-test] ],
1588.36 s
[opt-env-conf-test] setting
1588.36 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1588.36 s
[opt-env-conf-test] long "render-nix-options",
1588.37 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1588.37 s
[opt-env-conf-test] @@ -238,11 +238,10 @@
1588.37 s
[opt-env-conf-test] help "Render a manpage"
1588.37 s
[opt-env-conf-test] ],
1588.37 s
[opt-env-conf-test] setting
1588.37 s
[opt-env-conf-test] [ switch RenderDocumentation,
1588.37 s
[opt-env-conf-test] long "render-reference-documentation",
1588.37 s
[opt-env-conf-test] hidden,
1588.37 s
[opt-env-conf-test] - help "Render reference documentation"
1588.37 s
[opt-env-conf-test] ],
1588.37 s
[opt-env-conf-test] setting
1588.37 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1588.37 s
[opt-env-conf-test] long "render-nix-options",
1588.37 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Doc.hs:376:15-16
1588.37 s
[opt-env-conf-test] @@ -373,11 +373,10 @@
1588.37 s
[opt-env-conf-test] | not (nullDocs optDocs)
1588.37 s
[opt-env-conf-test] ],
1588.37 s
[opt-env-conf-test] concat
1588.37 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
1588.37 s
[opt-env-conf-test] renderEnvDocs envDocs
1588.37 s
[opt-env-conf-test] ]
1588.37 s
[opt-env-conf-test] - | not (nullDocs envDocs)
1588.37 s
[opt-env-conf-test] ],
1588.37 s
[opt-env-conf-test] concat
1588.37 s
[opt-env-conf-test] [ [ headerChunks "Configuration Values",
1588.37 s
[opt-env-conf-test] renderConfDocs confDocs
1588.37 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1588.37 s
[opt-env-conf-test] @@ -244,11 +244,7 @@
1588.37 s
[opt-env-conf-test] help "Render reference documentation"
1588.37 s
[opt-env-conf-test] ],
1588.37 s
[opt-env-conf-test] setting
1588.37 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1588.37 s
[opt-env-conf-test] - long "render-nix-options",
1588.37 s
[opt-env-conf-test] - hidden,
1588.37 s
[opt-env-conf-test] - help "Render Nix options"
1588.37 s
[opt-env-conf-test] ],
1588.37 s
[opt-env-conf-test] BashCompletionScript
1588.37 s
[opt-env-conf-test] <$> setting
1588.37 s
[opt-env-conf-test] [ option,
1588.37 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1588.37 s
[opt-env-conf-test] @@ -244,11 +244,10 @@
1588.37 s
[opt-env-conf-test] help "Render reference documentation"
1588.37 s
[opt-env-conf-test] ],
1588.37 s
[opt-env-conf-test] setting
1588.37 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1588.37 s
[opt-env-conf-test] long "render-nix-options",
1588.37 s
[opt-env-conf-test] hidden,
1588.37 s
[opt-env-conf-test] - help "Render Nix options"
1588.37 s
[opt-env-conf-test] ],
1588.37 s
[opt-env-conf-test] BashCompletionScript
1588.37 s
[opt-env-conf-test] <$> setting
1588.37 s
[opt-env-conf-test] [ option,
1588.37 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1588.37 s
[opt-env-conf-test] @@ -244,11 +244,10 @@
1588.37 s
[opt-env-conf-test] help "Render reference documentation"
1588.38 s
[opt-env-conf-test] ],
1588.38 s
[opt-env-conf-test] setting
1588.38 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1588.38 s
[opt-env-conf-test] long "render-nix-options",
1588.38 s
[opt-env-conf-test] hidden,
1588.38 s
[opt-env-conf-test] help "Render Nix options"
1588.38 s
[opt-env-conf-test] ],
1588.38 s
[opt-env-conf-test] BashCompletionScript
1588.38 s
[opt-env-conf-test] <$> setting
1588.38 s
[opt-env-conf-test] [ option,
1588.38 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1588.38 s
[opt-env-conf-test] @@ -251,12 +251,7 @@
1588.38 s
[opt-env-conf-test] ],
1588.38 s
[opt-env-conf-test] BashCompletionScript
1588.38 s
[opt-env-conf-test] <$> setting
1588.38 s
[opt-env-conf-test] - [ option,
1588.38 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1588.38 s
[opt-env-conf-test] - long "bash-completion-script",
1588.38 s
[opt-env-conf-test] - hidden,
1588.38 s
[opt-env-conf-test] - help "Render the bash completion script"
1588.38 s
[opt-env-conf-test] ],
1588.38 s
[opt-env-conf-test] ZshCompletionScript
1588.38 s
[opt-env-conf-test] <$> setting
1588.38 s
[opt-env-conf-test] [ option,
1588.38 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1588.38 s
[opt-env-conf-test] @@ -251,12 +251,11 @@
1588.38 s
[opt-env-conf-test] ],
1588.38 s
[opt-env-conf-test] BashCompletionScript
1588.38 s
[opt-env-conf-test] <$> setting
1588.38 s
[opt-env-conf-test] - [ option,
1588.38 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1588.38 s
[opt-env-conf-test] long "bash-completion-script",
1588.38 s
[opt-env-conf-test] hidden,
1588.38 s
[opt-env-conf-test] help "Render the bash completion script"
1588.38 s
[opt-env-conf-test] ],
1588.38 s
[opt-env-conf-test] ZshCompletionScript
1588.38 s
[opt-env-conf-test] <$> setting
1588.38 s
[opt-env-conf-test] [ option,
1588.38 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1588.38 s
[opt-env-conf-test] @@ -251,12 +251,11 @@
1588.38 s
[opt-env-conf-test] ],
1588.38 s
[opt-env-conf-test] BashCompletionScript
1588.38 s
[opt-env-conf-test] <$> setting
1588.38 s
[opt-env-conf-test] [ option,
1588.38 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1588.38 s
[opt-env-conf-test] long "bash-completion-script",
1588.38 s
[opt-env-conf-test] hidden,
1588.38 s
[opt-env-conf-test] - help "Render the bash completion script"
1588.38 s
[opt-env-conf-test] ],
1588.38 s
[opt-env-conf-test] ZshCompletionScript
1588.38 s
[opt-env-conf-test] <$> setting
1588.38 s
[opt-env-conf-test] [ option,
1588.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
1588.38 s
[opt-env-conf-test] @@ -280,178 +280,10 @@
1588.38 s
[opt-env-conf-test] pure $ Found a
1588.38 s
[opt-env-conf-test] else pure NotRun
1588.38 s
[opt-env-conf-test]
1588.38 s
[opt-env-conf-test] case mArg of
1588.38 s
[opt-env-conf-test] Found a -> do
1588.38 s
[opt-env-conf-test] markParsed
1588.38 s
[opt-env-conf-test] pure a
1588.39 s
[opt-env-conf-test] - _ -> do
1588.39 s
[opt-env-conf-test] - mSwitch <- case settingSwitchValue of
1588.39 s
[opt-env-conf-test] - Nothing -> pure NotRun
1588.39 s
[opt-env-conf-test] - Just a -> do
1588.39 s
[opt-env-conf-test] - mS <- ppSwitch settingDasheds
1588.39 s
[opt-env-conf-test] - case mS of
1588.39 s
[opt-env-conf-test] - Nothing -> do
1588.39 s
[opt-env-conf-test] - debug
1588.39 s
[opt-env-conf-test] - [ "could not set based on switch, no switch: ",
1588.39 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1588.39 s
[opt-env-conf-test] - ]
1588.39 s
[opt-env-conf-test] - pure NotFound
1588.39 s
[opt-env-conf-test] - Just () -> cap $ do
1588.39 s
[opt-env-conf-test] - debug ["set based on switch."]
1588.39 s
[opt-env-conf-test] - pure $ Found a
1588.39 s
[opt-env-conf-test] -
1588.39 s
[opt-env-conf-test] - case mSwitch of
1588.39 s
[opt-env-conf-test] - Found a -> do
1588.39 s
[opt-env-conf-test] - markParsed
1588.39 s
[opt-env-conf-test] - pure a
1588.39 s
[opt-env-conf-test] - _ -> do
1588.39 s
[opt-env-conf-test] - mOpt <-
1588.39 s
[opt-env-conf-test] - if settingTryOption
1588.39 s
[opt-env-conf-test] - then do
1588.39 s
[opt-env-conf-test] - -- Require readers before finding the option so the parser
1588.39 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1588.39 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1588.39 s
[opt-env-conf-test] - mS <- ppOpt settingDasheds
1588.39 s
[opt-env-conf-test] - case mS of
1588.39 s
[opt-env-conf-test] - Nothing -> do
1588.39 s
[opt-env-conf-test] - debug
1588.39 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1588.39 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1588.39 s
[opt-env-conf-test] - ]
1588.39 s
[opt-env-conf-test] - pure NotFound
1588.39 s
[opt-env-conf-test] - Just optionStr -> cap $
1588.39 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1588.39 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1588.39 s
[opt-env-conf-test] - Right a -> do
1588.39 s
[opt-env-conf-test] - debug
1588.39 s
[opt-env-conf-test] - [ "set based on option: ",
1588.39 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1588.39 s
[opt-env-conf-test] - ]
1588.39 s
[opt-env-conf-test] - pure $ Found a
1588.39 s
[opt-env-conf-test] - else pure NotRun
1588.39 s
[opt-env-conf-test] -
1588.39 s
[opt-env-conf-test] - case mOpt of
1588.39 s
[opt-env-conf-test] - Found a -> do
1588.39 s
[opt-env-conf-test] - markParsed
1588.39 s
[opt-env-conf-test] - pure a
1588.39 s
[opt-env-conf-test] - _ -> do
1588.39 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1588.39 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1588.39 s
[opt-env-conf-test] - Nothing -> pure NotRun
1588.39 s
[opt-env-conf-test] - Just ne -> do
1588.39 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1588.39 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1588.39 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1588.39 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1588.39 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1588.39 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1588.39 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1588.39 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1588.39 s
[opt-env-conf-test] - -- result.
1588.39 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1588.39 s
[opt-env-conf-test] - case tryReaders rs varStr of
1588.39 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1588.39 s
[opt-env-conf-test] - Right a -> do
1588.39 s
[opt-env-conf-test] - debug
1588.39 s
[opt-env-conf-test] - [ "set based on env: ",
1588.39 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1588.39 s
[opt-env-conf-test] - ]
1588.40 s
[opt-env-conf-test] - pure a
1588.40 s
[opt-env-conf-test] - case listToMaybe results of
1588.40 s
[opt-env-conf-test] - Nothing -> do
1588.40 s
[opt-env-conf-test] - debug
1588.40 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1588.40 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1588.40 s
[opt-env-conf-test] - ]
1588.40 s
[opt-env-conf-test] - pure NotFound
1588.40 s
[opt-env-conf-test] - Just a -> pure $ Found a
1588.40 s
[opt-env-conf-test] -
1588.40 s
[opt-env-conf-test] - case mEnv of
1588.40 s
[opt-env-conf-test] - Found a -> do
1588.40 s
[opt-env-conf-test] - markParsed
1588.40 s
[opt-env-conf-test] - pure a
1588.40 s
[opt-env-conf-test] - _ -> do
1588.40 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1588.40 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1588.40 s
[opt-env-conf-test] - Nothing -> pure NotRun
1588.40 s
[opt-env-conf-test] - Just confSets -> do
1588.40 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1588.40 s
[opt-env-conf-test] - case mObj of
1588.40 s
[opt-env-conf-test] - Nothing -> do
1588.40 s
[opt-env-conf-test] - debug ["no config object to set from"]
1588.40 s
[opt-env-conf-test] - pure NotFound
1588.40 s
[opt-env-conf-test] - Just obj -> do
1588.40 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1588.40 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1588.40 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1588.40 s
[opt-env-conf-test] - Nothing -> do
1588.40 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1588.40 s
[opt-env-conf-test] - Nothing -> pure Nothing
1588.40 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1588.40 s
[opt-env-conf-test] - Just neRest -> do
1588.40 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1588.40 s
[opt-env-conf-test] - case mO' of
1588.40 s
[opt-env-conf-test] - Nothing -> pure Nothing
1588.40 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1588.40 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1588.40 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1588.40 s
[opt-env-conf-test] - Right mV -> case mV of
1588.40 s
[opt-env-conf-test] - Nothing -> do
1588.40 s
[opt-env-conf-test] - debug
1588.40 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1588.40 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1588.40 s
[opt-env-conf-test] - ]
1588.40 s
[opt-env-conf-test] - pure Nothing
1588.40 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1588.40 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1588.40 s
[opt-env-conf-test] - Right mA -> case mA of
1588.40 s
[opt-env-conf-test] - Nothing -> do
1588.40 s
[opt-env-conf-test] - debug
1588.40 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1588.40 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1588.40 s
[opt-env-conf-test] - ]
1588.40 s
[opt-env-conf-test] - pure Nothing
1588.40 s
[opt-env-conf-test] - Just a -> do
1588.40 s
[opt-env-conf-test] - debug
1588.40 s
[opt-env-conf-test] - [ "set based on config value: ",
1588.40 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1588.40 s
[opt-env-conf-test] - ]
1588.40 s
[opt-env-conf-test] - pure $ Just a
1588.40 s
[opt-env-conf-test] - let toRes = \case
1588.40 s
[opt-env-conf-test] - Nothing -> NotFound
1588.40 s
[opt-env-conf-test] - Just a -> Found a
1588.40 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1588.40 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1588.40 s
[opt-env-conf-test] - Just ne -> do
1588.40 s
[opt-env-conf-test] - res <- goConfSet confSet
1588.40 s
[opt-env-conf-test] - case res of
1588.40 s
[opt-env-conf-test] - Just a -> pure $ Found a
1588.40 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1588.40 s
[opt-env-conf-test] - goConfSets confSets
1588.40 s
[opt-env-conf-test] - case mConf of
1588.40 s
[opt-env-conf-test] - Found a -> do
1588.41 s
[opt-env-conf-test] - markParsed
1588.41 s
[opt-env-conf-test] - pure a
1588.41 s
[opt-env-conf-test] - _ ->
1588.41 s
[opt-env-conf-test] - case settingDefaultValue of
1588.41 s
[opt-env-conf-test] - Just (a, _) -> do
1588.41 s
[opt-env-conf-test] - debug ["set to default value"]
1588.41 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1590.21 s
[opt-env-conf-test] - Nothing -> do
1590.21 s
[opt-env-conf-test] - let parseResultError e res = case res of
1590.21 s
[opt-env-conf-test] - NotRun -> Nothing
1590.21 s
[opt-env-conf-test] - NotFound -> Just e
1590.21 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1590.21 s
[opt-env-conf-test] - debug ["not found"]
1590.21 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1590.21 s
[opt-env-conf-test] - NE.nonEmpty $
1590.21 s
[opt-env-conf-test] - catMaybes
1590.21 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1590.21 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1590.21 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1590.21 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1590.21 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1590.21 s
[opt-env-conf-test] - ]
1590.21 s
[opt-env-conf-test]
1590.21 s
[opt-env-conf-test] withCapabilities ::
1590.21 s
[opt-env-conf-test] Maybe SrcLoc ->
1590.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1590.21 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1590.21 s
[opt-env-conf-test] debug ["set to default value"]
1590.21 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1590.21 s
[opt-env-conf-test] Nothing -> do
1590.21 s
[opt-env-conf-test] let parseResultError e res = case res of
1590.21 s
[opt-env-conf-test] NotRun -> Nothing
1590.21 s
[opt-env-conf-test] NotFound -> Just e
1590.21 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1590.21 s
[opt-env-conf-test] debug ["not found"]
1590.21 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1590.21 s
[opt-env-conf-test] NE.nonEmpty $
1590.21 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1590.21 s
[opt-env-conf-test] @@ -446,12 +446,11 @@
1590.21 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1590.21 s
[opt-env-conf-test] NE.nonEmpty $
1590.21 s
[opt-env-conf-test] catMaybes
1590.22 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1590.22 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1590.22 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1590.22 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1590.22 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1590.22 s
[opt-env-conf-test] ]
1590.22 s
[opt-env-conf-test]
1590.22 s
[opt-env-conf-test] withCapabilities ::
1590.22 s
[opt-env-conf-test] Maybe SrcLoc ->
1590.22 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1590.22 s
[opt-env-conf-test] @@ -259,12 +259,11 @@
1590.22 s
[opt-env-conf-test] ],
1590.22 s
[opt-env-conf-test] ZshCompletionScript
1590.22 s
[opt-env-conf-test] <$> setting
1590.22 s
[opt-env-conf-test] [ option,
1590.22 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1590.22 s
[opt-env-conf-test] long "zsh-completion-script",
1590.22 s
[opt-env-conf-test] hidden,
1590.22 s
[opt-env-conf-test] - help "Render the zsh completion script"
1590.22 s
[opt-env-conf-test] ],
1590.22 s
[opt-env-conf-test] ZshCompletionScript
1590.22 s
[opt-env-conf-test] <$> setting
1590.22 s
[opt-env-conf-test] [ option,
1590.22 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1590.22 s
[opt-env-conf-test] @@ -274,12 +274,11 @@
1590.22 s
[opt-env-conf-test] help "Render the fish completion script"
1590.22 s
[opt-env-conf-test] ],
1590.22 s
[opt-env-conf-test] setting
1590.22 s
[opt-env-conf-test] - [ help "Query completion",
1590.22 s
[opt-env-conf-test] switch CompletionQuery,
1590.22 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1590.22 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1590.22 s
[opt-env-conf-test] hidden
1590.22 s
[opt-env-conf-test] ]
1590.22 s
[opt-env-conf-test] <*> setting
1590.22 s
[opt-env-conf-test] [ switch True,
1590.22 s
[opt-env-conf-test] long "completion-enriched",
1590.22 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1590.22 s
[opt-env-conf-test] @@ -274,12 +274,11 @@
1590.22 s
[opt-env-conf-test] help "Render the fish completion script"
1590.23 s
[opt-env-conf-test] ],
1590.23 s
[opt-env-conf-test] setting
1590.23 s
[opt-env-conf-test] [ help "Query completion",
1590.23 s
[opt-env-conf-test] switch CompletionQuery,
1590.23 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1590.23 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1590.23 s
[opt-env-conf-test] - hidden
1590.23 s
[opt-env-conf-test] ]
1590.23 s
[opt-env-conf-test] <*> setting
1590.23 s
[opt-env-conf-test] [ switch True,
1590.23 s
[opt-env-conf-test] long "completion-enriched",
1590.23 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:284:20-24
1590.23 s
[opt-env-conf-test] @@ -281,7 +281,7 @@
1590.23 s
[opt-env-conf-test] hidden
1590.23 s
[opt-env-conf-test] ]
1590.23 s
[opt-env-conf-test] <*> setting
1590.23 s
[opt-env-conf-test] - [ switch Tr u e,
1590.23 s
[opt-env-conf-test] + [ switch F a ls e,
1590.23 s
[opt-env-conf-test] long "completion-enriched",
1590.23 s
[opt-env-conf-test] value False,
1590.23 s
[opt-env-conf-test] hidden,
1590.23 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1590.23 s
[opt-env-conf-test] @@ -281,12 +281,7 @@
1590.23 s
[opt-env-conf-test] hidden
1590.23 s
[opt-env-conf-test] ]
1590.23 s
[opt-env-conf-test] <*> setting
1590.23 s
[opt-env-conf-test] - [ switch True,
1590.23 s
[opt-env-conf-test] - long "completion-enriched",
1590.23 s
[opt-env-conf-test] - value False,
1590.23 s
[opt-env-conf-test] - hidden,
1590.23 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1590.23 s
[opt-env-conf-test] ]
1590.23 s
[opt-env-conf-test] <*> setting
1590.23 s
[opt-env-conf-test] [ option,
1590.23 s
[opt-env-conf-test] reader auto,
1590.23 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1590.23 s
[opt-env-conf-test] @@ -281,12 +281,11 @@
1590.23 s
[opt-env-conf-test] hidden
1590.23 s
[opt-env-conf-test] ]
1590.23 s
[opt-env-conf-test] <*> setting
1590.23 s
[opt-env-conf-test] - [ switch True,
1590.23 s
[opt-env-conf-test] long "completion-enriched",
1590.23 s
[opt-env-conf-test] value False,
1590.23 s
[opt-env-conf-test] hidden,
1590.23 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1590.23 s
[opt-env-conf-test] ]
1590.24 s
[opt-env-conf-test] <*> setting
1590.24 s
[opt-env-conf-test] [ option,
1590.24 s
[opt-env-conf-test] reader auto,
1590.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1590.24 s
[opt-env-conf-test] @@ -288,12 +288,7 @@
1590.24 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1590.24 s
[opt-env-conf-test] ]
1590.24 s
[opt-env-conf-test] <*> setting
1590.24 s
[opt-env-conf-test] - [ option,
1590.24 s
[opt-env-conf-test] - reader auto,
1590.24 s
[opt-env-conf-test] - long "completion-index",
1590.24 s
[opt-env-conf-test] - hidden,
1590.24 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1590.24 s
[opt-env-conf-test] ]
1590.24 s
[opt-env-conf-test] <*> many
1590.24 s
[opt-env-conf-test] ( setting
1590.24 s
[opt-env-conf-test] [ option,
1590.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1590.24 s
[opt-env-conf-test] @@ -281,12 +281,11 @@
1590.24 s
[opt-env-conf-test] hidden
1590.24 s
[opt-env-conf-test] ]
1590.24 s
[opt-env-conf-test] <*> setting
1590.24 s
[opt-env-conf-test] [ switch True,
1590.24 s
[opt-env-conf-test] long "completion-enriched",
1590.24 s
[opt-env-conf-test] value False,
1590.24 s
[opt-env-conf-test] hidden,
1590.24 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1590.24 s
[opt-env-conf-test] ]
1590.24 s
[opt-env-conf-test] <*> setting
1590.24 s
[opt-env-conf-test] [ option,
1590.24 s
[opt-env-conf-test] reader auto,
1590.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1590.24 s
[opt-env-conf-test] @@ -288,12 +288,11 @@
1590.24 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1590.24 s
[opt-env-conf-test] ]
1590.24 s
[opt-env-conf-test] <*> setting
1590.24 s
[opt-env-conf-test] - [ option,
1590.24 s
[opt-env-conf-test] reader auto,
1590.24 s
[opt-env-conf-test] long "completion-index",
1590.24 s
[opt-env-conf-test] hidden,
1590.24 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1590.24 s
[opt-env-conf-test] ]
1590.24 s
[opt-env-conf-test] <*> many
1590.24 s
[opt-env-conf-test] ( setting
1590.24 s
[opt-env-conf-test] [ option,
1590.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1590.24 s
[opt-env-conf-test] @@ -288,12 +288,11 @@
1590.24 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1590.24 s
[opt-env-conf-test] ]
1590.24 s
[opt-env-conf-test] <*> setting
1590.24 s
[opt-env-conf-test] [ option,
1590.24 s
[opt-env-conf-test] reader auto,
1590.24 s
[opt-env-conf-test] long "completion-index",
1590.24 s
[opt-env-conf-test] hidden,
1590.24 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1590.24 s
[opt-env-conf-test] ]
1590.24 s
[opt-env-conf-test] <*> many
1590.24 s
[opt-env-conf-test] ( setting
1590.24 s
[opt-env-conf-test] [ option,
1590.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1590.24 s
[opt-env-conf-test] @@ -296,12 +296,7 @@
1590.24 s
[opt-env-conf-test] ]
1590.24 s
[opt-env-conf-test] <*> many
1590.24 s
[opt-env-conf-test] ( setting
1590.25 s
[opt-env-conf-test] - [ option,
1590.25 s
[opt-env-conf-test] - reader str,
1590.25 s
[opt-env-conf-test] - long "completion-word",
1590.25 s
[opt-env-conf-test] - hidden,
1590.25 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1590.25 s
[opt-env-conf-test] ]
1590.25 s
[opt-env-conf-test] ),
1590.25 s
[opt-env-conf-test] ParsedNormally <$> p
1590.25 s
[opt-env-conf-test] ]
1590.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1590.25 s
[opt-env-conf-test] @@ -267,12 +267,11 @@
1590.25 s
[opt-env-conf-test] ],
1590.25 s
[opt-env-conf-test] ZshCompletionScript
1590.25 s
[opt-env-conf-test] <$> setting
1590.25 s
[opt-env-conf-test] - [ option,
1590.25 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1590.25 s
[opt-env-conf-test] long "fish-completion-script",
1590.25 s
[opt-env-conf-test] hidden,
1590.25 s
[opt-env-conf-test] help "Render the fish completion script"
1590.25 s
[opt-env-conf-test] ],
1590.25 s
[opt-env-conf-test] setting
1590.25 s
[opt-env-conf-test] [ help "Query completion",
1590.25 s
[opt-env-conf-test] switch CompletionQuery,
1590.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1590.25 s
[opt-env-conf-test] @@ -296,12 +296,11 @@
1590.25 s
[opt-env-conf-test] ]
1590.25 s
[opt-env-conf-test] <*> many
1590.25 s
[opt-env-conf-test] ( setting
1590.25 s
[opt-env-conf-test] - [ option,
1590.25 s
[opt-env-conf-test] reader str,
1590.25 s
[opt-env-conf-test] long "completion-word",
1590.25 s
[opt-env-conf-test] hidden,
1590.25 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1590.25 s
[opt-env-conf-test] ]
1590.25 s
[opt-env-conf-test] ),
1590.25 s
[opt-env-conf-test] ParsedNormally <$> p
1590.25 s
[opt-env-conf-test] ]
1590.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1590.25 s
[opt-env-conf-test] @@ -296,12 +296,11 @@
1590.25 s
[opt-env-conf-test] ]
1590.25 s
[opt-env-conf-test] <*> many
1590.25 s
[opt-env-conf-test] ( setting
1590.25 s
[opt-env-conf-test] [ option,
1590.25 s
[opt-env-conf-test] reader str,
1590.25 s
[opt-env-conf-test] long "completion-word",
1590.25 s
[opt-env-conf-test] hidden,
1590.25 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1590.25 s
[opt-env-conf-test] ]
1590.25 s
[opt-env-conf-test] ),
1590.25 s
[opt-env-conf-test] ParsedNormally <$> p
1590.25 s
[opt-env-conf-test] ]
1590.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1590.25 s
[opt-env-conf-test] @@ -232,11 +232,7 @@
1590.25 s
[opt-env-conf-test] hidden
1590.25 s
[opt-env-conf-test] ],
1590.25 s
[opt-env-conf-test] setting
1590.25 s
[opt-env-conf-test] - [ switch RenderMan,
1590.25 s
[opt-env-conf-test] - long "render-man-page",
1590.25 s
[opt-env-conf-test] - hidden,
1590.25 s
[opt-env-conf-test] - help "Render a manpage"
1590.25 s
[opt-env-conf-test] ],
1590.25 s
[opt-env-conf-test] setting
1590.25 s
[opt-env-conf-test] [ switch RenderDocumentation,
1590.25 s
[opt-env-conf-test] long "render-reference-documentation",
1590.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1590.26 s
[opt-env-conf-test] @@ -226,82 +226,4 @@
1590.26 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1590.26 s
[opt-env-conf-test] internalParser p =
1590.26 s
[opt-env-conf-test] choice
1590.26 s
[opt-env-conf-test] - [ setting
1590.26 s
[opt-env-conf-test] - [ switch ShowVersion,
1590.26 s
[opt-env-conf-test] - long "version",
1590.26 s
[opt-env-conf-test] - hidden
1590.26 s
[opt-env-conf-test] - ],
1590.26 s
[opt-env-conf-test] - setting
1590.26 s
[opt-env-conf-test] - [ switch RenderMan,
1590.26 s
[opt-env-conf-test] - long "render-man-page",
1590.26 s
[opt-env-conf-test] - hidden,
1590.26 s
[opt-env-conf-test] - help "Render a manpage"
1590.26 s
[opt-env-conf-test] - ],
1590.26 s
[opt-env-conf-test] - setting
1590.26 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1590.26 s
[opt-env-conf-test] - long "render-reference-documentation",
1590.26 s
[opt-env-conf-test] - hidden,
1590.26 s
[opt-env-conf-test] - help "Render reference documentation"
1590.26 s
[opt-env-conf-test] - ],
1590.26 s
[opt-env-conf-test] - setting
1590.26 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1590.26 s
[opt-env-conf-test] - long "render-nix-options",
1590.26 s
[opt-env-conf-test] - hidden,
1590.26 s
[opt-env-conf-test] - help "Render Nix options"
1590.26 s
[opt-env-conf-test] - ],
1590.26 s
[opt-env-conf-test] - BashCompletionScript
1590.26 s
[opt-env-conf-test] - <$> setting
1590.26 s
[opt-env-conf-test] - [ option,
1590.26 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1590.26 s
[opt-env-conf-test] - long "bash-completion-script",
1590.26 s
[opt-env-conf-test] - hidden,
1590.26 s
[opt-env-conf-test] - help "Render the bash completion script"
1590.26 s
[opt-env-conf-test] - ],
1590.26 s
[opt-env-conf-test] - ZshCompletionScript
1590.26 s
[opt-env-conf-test] - <$> setting
1590.26 s
[opt-env-conf-test] - [ option,
1590.26 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1590.26 s
[opt-env-conf-test] - long "zsh-completion-script",
1590.26 s
[opt-env-conf-test] - hidden,
1590.26 s
[opt-env-conf-test] - help "Render the zsh completion script"
1590.26 s
[opt-env-conf-test] - ],
1590.26 s
[opt-env-conf-test] - ZshCompletionScript
1590.26 s
[opt-env-conf-test] - <$> setting
1590.26 s
[opt-env-conf-test] - [ option,
1590.26 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1590.26 s
[opt-env-conf-test] - long "fish-completion-script",
1590.26 s
[opt-env-conf-test] - hidden,
1590.26 s
[opt-env-conf-test] - help "Render the fish completion script"
1590.26 s
[opt-env-conf-test] - ],
1590.26 s
[opt-env-conf-test] - setting
1590.26 s
[opt-env-conf-test] - [ help "Query completion",
1590.26 s
[opt-env-conf-test] - switch CompletionQuery,
1590.26 s
[opt-env-conf-test] - -- Long string that no normal user would ever use.
1590.26 s
[opt-env-conf-test] - long "query-opt-env-conf-completion",
1590.26 s
[opt-env-conf-test] - hidden
1590.26 s
[opt-env-conf-test] - ]
1590.26 s
[opt-env-conf-test] - <*> setting
1590.26 s
[opt-env-conf-test] - [ switch True,
1590.26 s
[opt-env-conf-test] - long "completion-enriched",
1590.26 s
[opt-env-conf-test] - value False,
1590.26 s
[opt-env-conf-test] - hidden,
1590.26 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1590.26 s
[opt-env-conf-test] - ]
1590.26 s
[opt-env-conf-test] - <*> setting
1590.26 s
[opt-env-conf-test] - [ option,
1590.26 s
[opt-env-conf-test] - reader auto,
1590.26 s
[opt-env-conf-test] - long "completion-index",
1590.26 s
[opt-env-conf-test] - hidden,
1590.26 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1590.26 s
[opt-env-conf-test] - ]
1590.26 s
[opt-env-conf-test] - <*> many
1590.26 s
[opt-env-conf-test] - ( setting
1590.26 s
[opt-env-conf-test] - [ option,
1590.26 s
[opt-env-conf-test] - reader str,
1590.26 s
[opt-env-conf-test] - long "completion-word",
1590.26 s
[opt-env-conf-test] - hidden,
1590.27 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1590.27 s
[opt-env-conf-test] - ]
1590.27 s
[opt-env-conf-test] - ),
1590.27 s
[opt-env-conf-test] - ParsedNormally <$> p
1590.27 s
[opt-env-conf-test] ]
1590.27 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1590.27 s
[opt-env-conf-test] @@ -226,82 +226,77 @@
1590.27 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1590.27 s
[opt-env-conf-test] internalParser p =
1590.27 s
[opt-env-conf-test] choice
1590.27 s
[opt-env-conf-test] - [ setting
1590.27 s
[opt-env-conf-test] - [ switch ShowVersion,
1590.27 s
[opt-env-conf-test] - long "version",
1590.27 s
[opt-env-conf-test] - hidden
1590.27 s
[opt-env-conf-test] - ],
1590.27 s
[opt-env-conf-test] setting
1590.27 s
[opt-env-conf-test] [ switch RenderMan,
1590.27 s
[opt-env-conf-test] long "render-man-page",
1590.27 s
[opt-env-conf-test] hidden,
1590.27 s
[opt-env-conf-test] help "Render a manpage"
1590.27 s
[opt-env-conf-test] ],
1590.27 s
[opt-env-conf-test] setting
1590.27 s
[opt-env-conf-test] [ switch RenderDocumentation,
1590.27 s
[opt-env-conf-test] long "render-reference-documentation",
1590.27 s
[opt-env-conf-test] hidden,
1590.27 s
[opt-env-conf-test] help "Render reference documentation"
1590.27 s
[opt-env-conf-test] ],
1590.27 s
[opt-env-conf-test] setting
1590.27 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1590.27 s
[opt-env-conf-test] long "render-nix-options",
1590.27 s
[opt-env-conf-test] hidden,
1590.27 s
[opt-env-conf-test] help "Render Nix options"
1590.27 s
[opt-env-conf-test] ],
1590.27 s
[opt-env-conf-test] BashCompletionScript
1590.27 s
[opt-env-conf-test] <$> setting
1590.27 s
[opt-env-conf-test] [ option,
1590.27 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1590.27 s
[opt-env-conf-test] long "bash-completion-script",
1590.27 s
[opt-env-conf-test] hidden,
1590.27 s
[opt-env-conf-test] help "Render the bash completion script"
1590.27 s
[opt-env-conf-test] ],
1590.27 s
[opt-env-conf-test] ZshCompletionScript
1590.27 s
[opt-env-conf-test] <$> setting
1590.27 s
[opt-env-conf-test] [ option,
1590.27 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1590.27 s
[opt-env-conf-test] long "zsh-completion-script",
1590.27 s
[opt-env-conf-test] hidden,
1590.27 s
[opt-env-conf-test] help "Render the zsh completion script"
1590.27 s
[opt-env-conf-test] ],
1590.27 s
[opt-env-conf-test] ZshCompletionScript
1590.27 s
[opt-env-conf-test] <$> setting
1590.27 s
[opt-env-conf-test] [ option,
1590.27 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1590.27 s
[opt-env-conf-test] long "fish-completion-script",
1590.27 s
[opt-env-conf-test] hidden,
1590.27 s
[opt-env-conf-test] help "Render the fish completion script"
1590.27 s
[opt-env-conf-test] ],
1590.27 s
[opt-env-conf-test] setting
1590.27 s
[opt-env-conf-test] [ help "Query completion",
1590.27 s
[opt-env-conf-test] switch CompletionQuery,
1590.27 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1590.27 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1590.27 s
[opt-env-conf-test] hidden
1590.27 s
[opt-env-conf-test] ]
1590.27 s
[opt-env-conf-test] <*> setting
1590.27 s
[opt-env-conf-test] [ switch True,
1590.27 s
[opt-env-conf-test] long "completion-enriched",
1590.27 s
[opt-env-conf-test] value False,
1590.27 s
[opt-env-conf-test] hidden,
1590.27 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1590.27 s
[opt-env-conf-test] ]
1590.27 s
[opt-env-conf-test] <*> setting
1590.27 s
[opt-env-conf-test] [ option,
1590.30 s
[opt-env-conf-test] reader auto,
1590.30 s
[opt-env-conf-test] long "completion-index",
1590.30 s
[opt-env-conf-test] hidden,
1590.30 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1590.30 s
[opt-env-conf-test] ]
1590.30 s
[opt-env-conf-test] <*> many
1590.30 s
[opt-env-conf-test] ( setting
1590.30 s
[opt-env-conf-test] [ option,
1590.30 s
[opt-env-conf-test] reader str,
1590.30 s
[opt-env-conf-test] long "completion-word",
1590.30 s
[opt-env-conf-test] hidden,
1590.30 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1590.30 s
[opt-env-conf-test] ]
1590.30 s
[opt-env-conf-test] ),
1590.30 s
[opt-env-conf-test] ParsedNormally <$> p
1590.30 s
[opt-env-conf-test] ]
1590.30 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1590.30 s
[opt-env-conf-test] @@ -226,82 +226,81 @@
1590.30 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1590.30 s
[opt-env-conf-test] internalParser p =
1590.30 s
[opt-env-conf-test] choice
1590.30 s
[opt-env-conf-test] [ setting
1590.30 s
[opt-env-conf-test] [ switch ShowVersion,
1590.30 s
[opt-env-conf-test] long "version",
1590.30 s
[opt-env-conf-test] hidden
1590.30 s
[opt-env-conf-test] ],
1590.30 s
[opt-env-conf-test] setting
1590.31 s
[opt-env-conf-test] [ switch RenderMan,
1590.31 s
[opt-env-conf-test] long "render-man-page",
1590.31 s
[opt-env-conf-test] hidden,
1590.31 s
[opt-env-conf-test] help "Render a manpage"
1590.31 s
[opt-env-conf-test] ],
1590.31 s
[opt-env-conf-test] setting
1590.31 s
[opt-env-conf-test] [ switch RenderDocumentation,
1590.31 s
[opt-env-conf-test] long "render-reference-documentation",
1590.31 s
[opt-env-conf-test] hidden,
1590.31 s
[opt-env-conf-test] help "Render reference documentation"
1590.31 s
[opt-env-conf-test] ],
1590.31 s
[opt-env-conf-test] setting
1590.31 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1590.31 s
[opt-env-conf-test] long "render-nix-options",
1590.31 s
[opt-env-conf-test] hidden,
1590.31 s
[opt-env-conf-test] help "Render Nix options"
1590.31 s
[opt-env-conf-test] ],
1590.31 s
[opt-env-conf-test] BashCompletionScript
1590.31 s
[opt-env-conf-test] <$> setting
1590.31 s
[opt-env-conf-test] [ option,
1590.31 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1590.31 s
[opt-env-conf-test] long "bash-completion-script",
1590.31 s
[opt-env-conf-test] hidden,
1590.31 s
[opt-env-conf-test] help "Render the bash completion script"
1590.31 s
[opt-env-conf-test] ],
1590.31 s
[opt-env-conf-test] ZshCompletionScript
1590.31 s
[opt-env-conf-test] <$> setting
1590.31 s
[opt-env-conf-test] [ option,
1590.31 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1590.31 s
[opt-env-conf-test] long "zsh-completion-script",
1590.31 s
[opt-env-conf-test] hidden,
1590.31 s
[opt-env-conf-test] help "Render the zsh completion script"
1590.31 s
[opt-env-conf-test] ],
1590.31 s
[opt-env-conf-test] ZshCompletionScript
1590.31 s
[opt-env-conf-test] <$> setting
1590.31 s
[opt-env-conf-test] [ option,
1590.31 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1590.31 s
[opt-env-conf-test] long "fish-completion-script",
1590.31 s
[opt-env-conf-test] hidden,
1590.31 s
[opt-env-conf-test] help "Render the fish completion script"
1590.31 s
[opt-env-conf-test] ],
1590.31 s
[opt-env-conf-test] setting
1590.31 s
[opt-env-conf-test] [ help "Query completion",
1590.31 s
[opt-env-conf-test] switch CompletionQuery,
1590.31 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1590.31 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1590.32 s
[opt-env-conf-test] hidden
1590.32 s
[opt-env-conf-test] ]
1590.32 s
[opt-env-conf-test] <*> setting
1590.32 s
[opt-env-conf-test] [ switch True,
1590.32 s
[opt-env-conf-test] long "completion-enriched",
1590.32 s
[opt-env-conf-test] value False,
1590.32 s
[opt-env-conf-test] hidden,
1590.32 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1590.32 s
[opt-env-conf-test] ]
1590.32 s
[opt-env-conf-test] <*> setting
1590.32 s
[opt-env-conf-test] [ option,
1590.32 s
[opt-env-conf-test] reader auto,
1596.97 s
[opt-env-conf-test] long "completion-index",
1597.00 s
[opt-env-conf-test] hidden,
1597.00 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1597.00 s
[opt-env-conf-test] ]
1597.00 s
[opt-env-conf-test] <*> many
1597.00 s
[opt-env-conf-test] ( setting
1597.00 s
[opt-env-conf-test] [ option,
1597.00 s
[opt-env-conf-test] reader str,
1597.00 s
[opt-env-conf-test] long "completion-word",
1597.00 s
[opt-env-conf-test] hidden,
1597.00 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1597.00 s
[opt-env-conf-test] ]
1597.00 s
[opt-env-conf-test] ),
1597.00 s
[opt-env-conf-test] - ParsedNormally <$> p
1597.00 s
[opt-env-conf-test] ]
1597.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1597.00 s
[opt-env-conf-test] @@ -446,12 +446,7 @@
1597.00 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1597.00 s
[opt-env-conf-test] NE.nonEmpty $
1597.00 s
[opt-env-conf-test] catMaybes
1597.00 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1597.01 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1597.01 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1597.01 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1597.01 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1597.01 s
[opt-env-conf-test] ]
1597.01 s
[opt-env-conf-test]
1597.01 s
[opt-env-conf-test] withCapabilities ::
1597.01 s
[opt-env-conf-test] Maybe SrcLoc ->
1597.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
1597.01 s
[opt-env-conf-test] @@ -198,11 +198,10 @@
1597.01 s
[opt-env-conf-test] let t = T.pack x
1597.01 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1597.01 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1597.01 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1597.01 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
1597.01 s
[opt-env-conf-test] Nothing ->
1597.01 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1597.01 s
[opt-env-conf-test] in (finalCaps, x : rest)
1597.01 s
[opt-env-conf-test]
1597.01 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1597.01 s
[opt-env-conf-test] -- is supposed to.
1597.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
1597.01 s
[opt-env-conf-test] @@ -198,11 +198,8 @@
1597.01 s
[opt-env-conf-test] let t = T.pack x
1597.01 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1597.01 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1597.01 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1597.01 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
1597.01 s
[opt-env-conf-test] - Nothing ->
1597.01 s
[opt-env-conf-test] - let (finalCaps, rest) = go caps xs
1597.01 s
[opt-env-conf-test] - in (finalCaps, x : rest)
1597.01 s
[opt-env-conf-test]
1597.01 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1597.01 s
[opt-env-conf-test] -- is supposed to.
1597.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
1597.01 s
[opt-env-conf-test] @@ -196,13 +196,12 @@
1597.01 s
[opt-env-conf-test] [] -> (caps, [])
1597.01 s
[opt-env-conf-test] (x : xs) ->
1597.01 s
[opt-env-conf-test] let t = T.pack x
1597.02 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1597.02 s
[opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
1597.02 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1597.02 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
1597.02 s
[opt-env-conf-test] Nothing ->
1597.02 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1597.02 s
[opt-env-conf-test] in (finalCaps, x : rest)
1597.02 s
[opt-env-conf-test]
1597.02 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1597.02 s
[opt-env-conf-test] -- is supposed to.
1597.02 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1597.02 s
[opt-env-conf-test] @@ -267,12 +267,7 @@
1597.02 s
[opt-env-conf-test] ],
1597.02 s
[opt-env-conf-test] ZshCompletionScript
1597.02 s
[opt-env-conf-test] <$> setting
1597.02 s
[opt-env-conf-test] - [ option,
1597.02 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1597.02 s
[opt-env-conf-test] - long "fish-completion-script",
1597.02 s
[opt-env-conf-test] - hidden,
1597.02 s
[opt-env-conf-test] - help "Render the fish completion script"
1597.02 s
[opt-env-conf-test] ],
1597.02 s
[opt-env-conf-test] setting
1597.02 s
[opt-env-conf-test] [ help "Query completion",
1597.02 s
[opt-env-conf-test] switch CompletionQuery,
1597.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
1597.02 s
[opt-env-conf-test] @@ -196,13 +196,8 @@
1597.02 s
[opt-env-conf-test] [] -> (caps, [])
1597.02 s
[opt-env-conf-test] (x : xs) ->
1597.02 s
[opt-env-conf-test] let t = T.pack x
1597.02 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1597.02 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1597.02 s
[opt-env-conf-test] - Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1597.02 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
1597.02 s
[opt-env-conf-test] - Nothing ->
1597.02 s
[opt-env-conf-test] - let (finalCaps, rest) = go caps xs
1597.02 s
[opt-env-conf-test] - in (finalCaps, x : rest)
1597.02 s
[opt-env-conf-test]
1597.02 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1597.02 s
[opt-env-conf-test] -- is supposed to.
1597.02 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:286:19-24
1597.02 s
[opt-env-conf-test] @@ -283,7 +283,7 @@
1597.02 s
[opt-env-conf-test] <*> setting
1597.02 s
[opt-env-conf-test] [ switch True,
1597.02 s
[opt-env-conf-test] long "completion-enriched",
1597.02 s
[opt-env-conf-test] - value F al s e,
1597.03 s
[opt-env-conf-test] + value T ru e,
1597.03 s
[opt-env-conf-test] hidden,
1597.03 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1597.03 s
[opt-env-conf-test] ]
1597.03 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1597.03 s
[opt-env-conf-test] @@ -274,12 +274,8 @@
1597.03 s
[opt-env-conf-test] help "Render the fish completion script"
1597.03 s
[opt-env-conf-test] ],
1597.03 s
[opt-env-conf-test] setting
1597.03 s
[opt-env-conf-test] - [ help "Query completion",
1597.03 s
[opt-env-conf-test] - switch CompletionQuery,
1597.03 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1597.03 s
[opt-env-conf-test] - long "query-opt-env-conf-completion",
1597.03 s
[opt-env-conf-test] - hidden
1597.03 s
[opt-env-conf-test] ]
1597.03 s
[opt-env-conf-test] <*> setting
1597.03 s
[opt-env-conf-test] [ switch True,
1597.03 s
[opt-env-conf-test] long "completion-enriched",
1597.03 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1597.03 s
[opt-env-conf-test] @@ -259,12 +259,7 @@
1597.03 s
[opt-env-conf-test] ],
1597.03 s
[opt-env-conf-test] ZshCompletionScript
1597.03 s
[opt-env-conf-test] <$> setting
1597.03 s
[opt-env-conf-test] - [ option,
1597.03 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1597.03 s
[opt-env-conf-test] - long "zsh-completion-script",
1597.03 s
[opt-env-conf-test] - hidden,
1597.03 s
[opt-env-conf-test] - help "Render the zsh completion script"
1597.03 s
[opt-env-conf-test] ],
1597.03 s
[opt-env-conf-test] ZshCompletionScript
1597.03 s
[opt-env-conf-test] <$> setting
1597.03 s
[opt-env-conf-test] [ option,
1597.03 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:376:17-18
1597.03 s
[opt-env-conf-test] @@ -373,9 +373,8 @@
1597.03 s
[opt-env-conf-test] | not (nullDocs optDocs)
1597.03 s
[opt-env-conf-test] ],
1597.03 s
[opt-env-conf-test] concat
1597.03 s
[opt-env-conf-test] - [ [ headerChunks "Environment Variables",
1597.03 s
[opt-env-conf-test] renderEnvDocs envDocs
1597.03 s
[opt-env-conf-test] ]
1597.03 s
[opt-env-conf-test] | not (nullDocs envDocs)
1597.03 s
[opt-env-conf-test] ],
1597.03 s
[opt-env-conf-test] concat
1597.03 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Doc.hs:382:17-18
1597.03 s
[opt-env-conf-test] @@ -379,9 +379,8 @@
1597.03 s
[opt-env-conf-test] | not (nullDocs envDocs)
1597.04 s
[opt-env-conf-test] ],
1597.04 s
[opt-env-conf-test] concat
1597.04 s
[opt-env-conf-test] - [ [ headerChunks "Configuration Values",
1597.04 s
[opt-env-conf-test] renderConfDocs confDocs
1597.04 s
[opt-env-conf-test] ]
1597.04 s
[opt-env-conf-test] | not (nullDocs confDocs)
1597.04 s
[opt-env-conf-test] ]
1597.04 s
[opt-env-conf-test] ]
1597.04 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1597.04 s
[opt-env-conf-test] @@ -259,12 +259,11 @@
1597.04 s
[opt-env-conf-test] ],
1597.04 s
[opt-env-conf-test] ZshCompletionScript
1597.04 s
[opt-env-conf-test] <$> setting
1597.04 s
[opt-env-conf-test] - [ option,
1597.04 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1597.04 s
[opt-env-conf-test] long "zsh-completion-script",
1597.04 s
[opt-env-conf-test] hidden,
1597.04 s
[opt-env-conf-test] help "Render the zsh completion script"
1597.04 s
[opt-env-conf-test] ],
1597.04 s
[opt-env-conf-test] ZshCompletionScript
1597.04 s
[opt-env-conf-test] <$> setting
1597.04 s
[opt-env-conf-test] [ option,
1597.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
1597.04 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1597.04 s
[opt-env-conf-test] | x == arg -> (True, xs)
1597.04 s
[opt-env-conf-test] | otherwise ->
1597.04 s
[opt-env-conf-test] let (found, rest) = go xs
1597.04 s
[opt-env-conf-test] - in ( f o u n d , x : rest)
1597.04 s
[opt-env-conf-test] + in ( Tr u e , x : rest)
1597.04 s
[opt-env-conf-test]
1597.05 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1597.05 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1597.05 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1597.05 s
[opt-env-conf-test] @@ -267,12 +267,11 @@
1597.05 s
[opt-env-conf-test] ],
1597.05 s
[opt-env-conf-test] ZshCompletionScript
1597.05 s
[opt-env-conf-test] <$> setting
1597.05 s
[opt-env-conf-test] [ option,
1597.05 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1597.05 s
[opt-env-conf-test] long "fish-completion-script",
1597.05 s
[opt-env-conf-test] hidden,
1597.05 s
[opt-env-conf-test] - help "Render the fish completion script"
1597.05 s
[opt-env-conf-test] ],
1597.05 s
[opt-env-conf-test] setting
1597.05 s
[opt-env-conf-test] [ help "Query completion",
1597.05 s
[opt-env-conf-test] switch CompletionQuery,
1597.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
1597.05 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1597.05 s
[opt-env-conf-test] | x == arg -> (True, xs)
1597.05 s
[opt-env-conf-test] | otherwise ->
1602.46 s
[opt-env-conf-test] let (found, rest) = go xs
1602.49 s
[opt-env-conf-test] - in ( f o u nd , x : rest)
1602.49 s
[opt-env-conf-test] + in ( Fal s e , x : rest)
1602.49 s
[opt-env-conf-test]
1602.49 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1602.49 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1602.49 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:175:18-23
1602.49 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1602.49 s
[opt-env-conf-test] | x == arg -> (True, xs)
1602.49 s
[opt-env-conf-test] | otherwise ->
1602.49 s
[opt-env-conf-test] let (found, rest) = go xs
1602.49 s
[opt-env-conf-test] - i n (found , x : rest)
1602.49 s
[opt-env-conf-test] + i n ( n ot (found ) , x : rest)
1602.49 s
[opt-env-conf-test]
1602.49 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1602.49 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1602.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
1602.49 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1602.49 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1602.49 s
[opt-env-conf-test] consumeHelpMode as =
1602.49 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1602.49 s
[opt-env-conf-test] - in if f o u n d
1602.49 s
[opt-env-conf-test] + in if Tr u e
1602.49 s
[opt-env-conf-test] then (True, as')
1602.49 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1602.49 s
[opt-env-conf-test]
1602.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
1602.49 s
[opt-env-conf-test] @@ -114,7 +114,6 @@
1602.49 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
1602.49 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1602.49 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1602.49 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1602.49 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1602.49 s
[opt-env-conf-test] ParserSelect fe ff -> do
1602.49 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1602.50 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:184:10-15
1602.50 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1602.50 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1602.50 s
[opt-env-conf-test] consumeHelpMode as =
1602.50 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1602.50 s
[opt-env-conf-test] - in if found
1602.50 s
[opt-env-conf-test] + in if n o t ( found )
1602.50 s
[opt-env-conf-test] then (True, as')
1602.50 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1602.50 s
[opt-env-conf-test]
1602.50 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:74:7-61
1602.50 s
[opt-env-conf-test] @@ -71,7 +71,6 @@
1602.50 s
[opt-env-conf-test] case lintParser p of
1602.50 s
[opt-env-conf-test] Just errs -> do
1602.50 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1602.50 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderLintErrors errs
1602.50 s
[opt-env-conf-test] exitFailure
1602.50 s
[opt-env-conf-test] Nothing -> do
1602.50 s
[opt-env-conf-test] let docs = parserDocs p
1602.50 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:83:12-21
1602.50 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1602.50 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1602.50 s
[opt-env-conf-test]
1602.50 s
[opt-env-conf-test] mDebugMode <-
1602.50 s
[opt-env-conf-test] - if debugMode
1602.50 s
[opt-env-conf-test] + if n o t ( debugMode )
1602.50 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1602.50 s
[opt-env-conf-test] else pure Nothing
1602.50 s
[opt-env-conf-test]
1602.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
1602.50 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1602.50 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1602.50 s
[opt-env-conf-test]
1602.50 s
[opt-env-conf-test] mDebugMode <-
1602.50 s
[opt-env-conf-test] - if d eb u gM o d e
1602.50 s
[opt-env-conf-test] + if T r u e
1602.50 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1602.50 s
[opt-env-conf-test] else pure Nothing
1602.50 s
[opt-env-conf-test]
1602.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
1602.50 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1602.50 s
[opt-env-conf-test]
1602.50 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1602.50 s
[opt-env-conf-test]
1602.50 s
[opt-env-conf-test] - if h e l pM o d e
1602.50 s
[opt-env-conf-test] + if Tru e
1602.50 s
[opt-env-conf-test] then do
1602.50 s
[opt-env-conf-test] progname <- getProgName
1602.50 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1602.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:172:11-19
1602.50 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1602.50 s
[opt-env-conf-test] go = \case
1602.50 s
[opt-env-conf-test] [] -> (False, [])
1602.50 s
[opt-env-conf-test] (x : xs)
1602.50 s
[opt-env-conf-test] - | x == a r g -> (True, xs)
1602.50 s
[opt-env-conf-test] + | T r u e -> (True, xs)
1602.50 s
[opt-env-conf-test] | otherwise ->
1602.50 s
[opt-env-conf-test] let (found, rest) = go xs
1602.50 s
[opt-env-conf-test] in (found, x : rest)
1602.50 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:170:14-19
1602.50 s
[opt-env-conf-test] @@ -167,7 +167,7 @@
1602.50 s
[opt-env-conf-test] consumeExactArg arg = go
1602.50 s
[opt-env-conf-test] where
1602.50 s
[opt-env-conf-test] go = \case
1602.50 s
[opt-env-conf-test] - [] -> ( F al s e, [])
1602.50 s
[opt-env-conf-test] + [] -> ( T ru e, [])
1602.50 s
[opt-env-conf-test] (x : xs)
1602.50 s
[opt-env-conf-test] | x == arg -> (True, xs)
1602.50 s
[opt-env-conf-test] | otherwise ->
1602.50 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
1602.50 s
[opt-env-conf-test] @@ -141,7 +141,6 @@
1602.50 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1602.51 s
[opt-env-conf-test] pure (a : as)
1602.51 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1602.51 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1602.51 s
[opt-env-conf-test] ppIndent $ do
1602.51 s
[opt-env-conf-test] a <- go p'
1602.51 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1602.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:636:3-20
1602.51 s
[opt-env-conf-test] @@ -633,15 +633,10 @@
1602.51 s
[opt-env-conf-test] e <- ask
1602.51 s
[opt-env-conf-test] results <- liftIO $ runPP pp s e
1602.51 s
[opt-env-conf-test] (errOrRes, s') <- ppNonDetList results
1602.51 s
[opt-env-conf-test] case errOrRes of
1602.51 s
[opt-env-conf-test] - Failure errs ->
1602.51 s
[opt-env-conf-test] - if all errorIsForgivable errs
1602.51 s
[opt-env-conf-test] - then do
1602.51 s
[opt-env-conf-test] - pure Nothing
1602.51 s
[opt-env-conf-test] - else ppErrors' errs
1602.51 s
[opt-env-conf-test] Success a -> do
1602.51 s
[opt-env-conf-test] put s' -- Only set state if parsing succeeded.
1602.51 s
[opt-env-conf-test] pure $ Just a
1602.51 s
[opt-env-conf-test]
1602.51 s
[opt-env-conf-test] ppNonDet :: NonDetT IO a -> PP a
1602.51 s
[opt-env-conf-test] ppNonDet = PP . lift . lift . lift
1602.51 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
1602.51 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1602.51 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1602.51 s
[opt-env-conf-test]
1602.51 s
[opt-env-conf-test] mDebugMode <-
1602.51 s
[opt-env-conf-test] - if d e b ugM o d e
1602.51 s
[opt-env-conf-test] + if F al s e
1602.51 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1602.51 s
[opt-env-conf-test] else pure Nothing
1602.51 s
[opt-env-conf-test]
1602.51 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:185:15-19
1602.51 s
[opt-env-conf-test] @@ -182,7 +182,7 @@
1602.51 s
[opt-env-conf-test] consumeHelpMode as =
1602.51 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1602.51 s
[opt-env-conf-test] in if found
1602.51 s
[opt-env-conf-test] - then ( Tr u e, as')
1602.51 s
[opt-env-conf-test] + then ( F a ls e, as')
1602.51 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1602.51 s
[opt-env-conf-test]
1602.51 s
[opt-env-conf-test] consumeCheckMode :: [String] -> (Bool, [String])
1602.51 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Doc.hs:385:17-40
1602.51 s
[opt-env-conf-test] @@ -382,7 +382,7 @@
1602.51 s
[opt-env-conf-test] [ [ headerChunks "Configuration Values",
1602.51 s
[opt-env-conf-test] renderConfDocs confDocs
1602.51 s
[opt-env-conf-test] ]
1602.51 s
[opt-env-conf-test] - | not (nullDocs confDocs)
1602.51 s
[opt-env-conf-test] + | n o t ( not (nullDocs confDocs) )
1602.51 s
[opt-env-conf-test] ]
1602.51 s
[opt-env-conf-test] ]
1602.51 s
[opt-env-conf-test]
1602.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1602.51 s
[opt-env-conf-test] @@ -393,30 +393,29 @@
1602.51 s
[opt-env-conf-test] case mO' of
1602.51 s
[opt-env-conf-test] Nothing -> pure Nothing
1602.51 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1602.51 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1602.51 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1602.51 s
[opt-env-conf-test] Right mV -> case mV of
1602.51 s
[opt-env-conf-test] Nothing -> do
1602.51 s
[opt-env-conf-test] debug
1602.51 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1602.51 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1602.51 s
[opt-env-conf-test] ]
1602.51 s
[opt-env-conf-test] pure Nothing
1602.51 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1602.51 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1602.51 s
[opt-env-conf-test] Right mA -> case mA of
1602.51 s
[opt-env-conf-test] Nothing -> do
1602.51 s
[opt-env-conf-test] debug
1602.51 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1602.51 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1602.52 s
[opt-env-conf-test] ]
1602.52 s
[opt-env-conf-test] pure Nothing
1602.52 s
[opt-env-conf-test] Just a -> do
1602.52 s
[opt-env-conf-test] debug
1602.52 s
[opt-env-conf-test] [ "set based on config value: ",
1609.17 s
[opt-env-conf-test] chunk $ T.pack $ show v
1609.17 s
[opt-env-conf-test] ]
1609.19 s
[opt-env-conf-test] pure $ Just a
1609.19 s
[opt-env-conf-test] let toRes = \case
1609.19 s
[opt-env-conf-test] Nothing -> NotFound
1609.19 s
[opt-env-conf-test] Just a -> Found a
1609.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
1609.20 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1609.20 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1609.20 s
[opt-env-conf-test]
1609.20 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1609.20 s
[opt-env-conf-test] - if c h e c kMode
1609.20 s
[opt-env-conf-test] + if T ru e
1609.20 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1609.20 s
[opt-env-conf-test] else do
1609.20 s
[opt-env-conf-test] let p' = internalParser p
1609.20 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:126:19-69
1609.20 s
[opt-env-conf-test] @@ -123,7 +123,6 @@
1609.20 s
[opt-env-conf-test] case errOrResult of
1609.20 s
[opt-env-conf-test] Left errs -> do
1609.20 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1609.20 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderErrors errs
1609.20 s
[opt-env-conf-test] exitFailure
1609.20 s
[opt-env-conf-test] Right i -> case i of
1609.20 s
[opt-env-conf-test] ShowVersion -> do
1609.20 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:111:14-23
1609.20 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1609.20 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1609.20 s
[opt-env-conf-test]
1609.20 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1609.20 s
[opt-env-conf-test] - if checkMode
1609.20 s
[opt-env-conf-test] + if n o t ( checkMode )
1609.20 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1609.20 s
[opt-env-conf-test] else do
1609.20 s
[opt-env-conf-test] let p' = internalParser p
1609.21 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:137:21-98
1609.21 s
[opt-env-conf-test] @@ -134,7 +134,6 @@
1609.21 s
[opt-env-conf-test] RenderMan -> do
1609.21 s
[opt-env-conf-test] progname <- getProgName
1609.21 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1609.21 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1609.21 s
[opt-env-conf-test] exitSuccess
1609.21 s
[opt-env-conf-test] RenderDocumentation -> do
1609.21 s
[opt-env-conf-test] progname <- getProgName
1609.21 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:142:21-96
1609.21 s
[opt-env-conf-test] @@ -139,7 +139,6 @@
1609.21 s
[opt-env-conf-test] RenderDocumentation -> do
1609.21 s
[opt-env-conf-test] progname <- getProgName
1609.21 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1609.21 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1609.21 s
[opt-env-conf-test] exitSuccess
1609.21 s
[opt-env-conf-test] RenderNixosOptions -> do
1609.21 s
[opt-env-conf-test] progname <- getProgName
1609.21 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
1609.21 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1609.21 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1609.21 s
[opt-env-conf-test]
1609.21 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1609.21 s
[opt-env-conf-test] - if c h e ckM o d e
1609.21 s
[opt-env-conf-test] + if F al s e
1609.21 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1609.21 s
[opt-env-conf-test] else do
1609.21 s
[opt-env-conf-test] let p' = internalParser p
1609.21 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:146:21-97
1609.22 s
[opt-env-conf-test] @@ -143,7 +143,6 @@
1609.22 s
[opt-env-conf-test] exitSuccess
1609.22 s
[opt-env-conf-test] RenderNixosOptions -> do
1609.22 s
[opt-env-conf-test] progname <- getProgName
1609.22 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1609.22 s
[opt-env-conf-test] exitSuccess
1609.22 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1609.22 s
[opt-env-conf-test] progname <- getProgName
1609.22 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
1609.22 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
1609.22 s
[opt-env-conf-test] exitFailure
1609.22 s
[opt-env-conf-test] Right mCommandDoc -> do
1609.22 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1609.22 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1609.22 s
[opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
1609.22 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1609.22 s
[opt-env-conf-test] exitSuccess
1609.22 s
[opt-env-conf-test] else do
1609.22 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1609.22 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:96:15-71
1609.22 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1609.22 s
[opt-env-conf-test] case errOrDocs of
1609.22 s
[opt-env-conf-test] Left errs -> do
1609.22 s
[opt-env-conf-test] stderrTc <- getTerminalCapabilitiesFromHandle stderr
1609.22 s
[opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderErrors errs
1609.22 s
[opt-env-conf-test] exitFailure
1609.22 s
[opt-env-conf-test] Right mCommandDoc -> do
1609.22 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1609.22 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
1609.22 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1609.22 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1609.22 s
[opt-env-conf-test] consumeHelpMode as =
1609.22 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1609.22 s
[opt-env-conf-test] - in if f o u nd
1609.22 s
[opt-env-conf-test] + in if False
1609.22 s
[opt-env-conf-test] then (True, as')
1609.22 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1609.22 s
[opt-env-conf-test]
1609.22 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:89:10-18
1609.22 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1609.23 s
[opt-env-conf-test]
1609.23 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1609.23 s
[opt-env-conf-test]
1609.23 s
[opt-env-conf-test] - if helpMode
1609.23 s
[opt-env-conf-test] + if n o t ( helpMode )
1609.23 s
[opt-env-conf-test] then do
1609.23 s
[opt-env-conf-test] progname <- getProgName
1609.23 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1609.23 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:100:15-78
1609.23 s
[opt-env-conf-test] @@ -97,9 +97,6 @@
1609.23 s
[opt-env-conf-test] exitFailure
1609.23 s
[opt-env-conf-test] Right mCommandDoc -> do
1609.23 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1609.23 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1609.23 s
[opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
1609.23 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1609.23 s
[opt-env-conf-test] exitSuccess
1609.23 s
[opt-env-conf-test] else do
1609.23 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1609.23 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:172:24-28
1609.23 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1609.23 s
[opt-env-conf-test] go = \case
1609.23 s
[opt-env-conf-test] [] -> (False, [])
1609.23 s
[opt-env-conf-test] (x : xs)
1609.23 s
[opt-env-conf-test] - | x == arg -> ( Tr u e, xs)
1609.23 s
[opt-env-conf-test] + | x == arg -> ( F a ls e, xs)
1609.23 s
[opt-env-conf-test] | otherwise ->
1609.23 s
[opt-env-conf-test] let (found, rest) = go xs
1609.23 s
[opt-env-conf-test] in (found, x : rest)
1609.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
1609.23 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1609.23 s
[opt-env-conf-test]
1609.23 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1609.23 s
[opt-env-conf-test]
1609.23 s
[opt-env-conf-test] - if h e l pM o d e
1609.23 s
[opt-env-conf-test] + if F a l s e
1609.23 s
[opt-env-conf-test] then do
1609.23 s
[opt-env-conf-test] progname <- getProgName
1609.23 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1609.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:385:22-39
1609.23 s
[opt-env-conf-test] @@ -382,7 +382,7 @@
1609.23 s
[opt-env-conf-test] [ [ headerChunks "Configuration Values",
1609.23 s
[opt-env-conf-test] renderConfDocs confDocs
1609.23 s
[opt-env-conf-test] ]
1609.23 s
[opt-env-conf-test] - | not ( n u ll D o cs conf Do c s )
1609.23 s
[opt-env-conf-test] + | not ( T r u e )
1609.23 s
[opt-env-conf-test] ]
1609.23 s
[opt-env-conf-test] ]
1609.23 s
[opt-env-conf-test]
1609.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:385:21-40
1609.23 s
[opt-env-conf-test] @@ -382,7 +382,7 @@
1609.23 s
[opt-env-conf-test] [ [ headerChunks "Configuration Values",
1609.23 s
[opt-env-conf-test] renderConfDocs confDocs
1609.23 s
[opt-env-conf-test] ]
1609.23 s
[opt-env-conf-test] - | not ( n u l lDocs confDocs)
1609.23 s
[opt-env-conf-test] + | not T r u e
1609.23 s
[opt-env-conf-test] ]
1609.23 s
[opt-env-conf-test] ]
1609.23 s
[opt-env-conf-test]
1609.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Doc.hs:64:5-20
1609.24 s
[opt-env-conf-test] @@ -61,7 +61,7 @@
1609.24 s
[opt-env-conf-test]
1609.24 s
[opt-env-conf-test] data SetDoc = SetDoc
1609.24 s
[opt-env-conf-test] { setDocTryArgument :: !Bool,
1609.24 s
[opt-env-conf-test] - s e tD oc Tr ySwi tc h :: !Bool,
1609.24 s
[opt-env-conf-test] + Tr ue :: !Bool,
1609.24 s
[opt-env-conf-test] setDocTryOption :: !Bool,
1609.24 s
[opt-env-conf-test] setDocDasheds :: ![Dashed],
1609.24 s
[opt-env-conf-test] setDocEnvVars :: !(Maybe (NonEmpty String)),
1610.40 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:132:21-88
1610.41 s
[opt-env-conf-test] @@ -129,7 +129,6 @@
1610.41 s
[opt-env-conf-test] ShowVersion -> do
1610.41 s
[opt-env-conf-test] progname <- getProgName
1610.41 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1610.41 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1610.41 s
[opt-env-conf-test] exitSuccess
1610.41 s
[opt-env-conf-test] RenderMan -> do
1610.41 s
[opt-env-conf-test] progname <- getProgName
1610.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:84:3-26
1610.41 s
[opt-env-conf-test] @@ -81,27 +81,8 @@
1610.41 s
[opt-env-conf-test] Nothing -> pure result
1610.41 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
1610.41 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
1610.41 s
[opt-env-conf-test] case mTup of
1610.41 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
1610.41 s
[opt-env-conf-test] - Just ((errOrRes, _), nexts) -> case errOrRes of
1610.41 s
[opt-env-conf-test] - Success a -> pure (Right a)
1610.41 s
[opt-env-conf-test] - Failure firstErrors ->
1610.41 s
[opt-env-conf-test] - let goNexts ns = do
1610.41 s
[opt-env-conf-test] - -- TODO: Consider keeping around all errors?
1610.41 s
[opt-env-conf-test] - mNext <- runNonDetTLazy ns
1610.41 s
[opt-env-conf-test] - case mNext of
1610.41 s
[opt-env-conf-test] - Nothing ->
1610.41 s
[opt-env-conf-test] - pure $
1610.41 s
[opt-env-conf-test] - Left $
1610.41 s
[opt-env-conf-test] - -- Only show source locations in debug mode.
1610.41 s
[opt-env-conf-test] - let f = case mDebugMode of
1610.41 s
[opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
1610.41 s
[opt-env-conf-test] - Just _ -> id
1610.42 s
[opt-env-conf-test] - in f firstErrors
1610.42 s
[opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
1610.42 s
[opt-env-conf-test] - Success a -> pure (Right a)
1610.42 s
[opt-env-conf-test] - Failure _ -> goNexts ns'
1610.42 s
[opt-env-conf-test] - in goNexts nexts
1610.42 s
[opt-env-conf-test] where
1610.42 s
[opt-env-conf-test] go ::
1610.42 s
[opt-env-conf-test] Parser a ->
1610.42 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:160:56-32
1610.42 s
[opt-env-conf-test] @@ -157,9 +157,8 @@
1610.42 s
[opt-env-conf-test] progname <- getProgName
1610.42 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1610.42 s
[opt-env-conf-test] exitSuccess
1610.42 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1610.42 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1610.42 s
[opt-env-conf-test] exitSuccess
1610.42 s
[opt-env-conf-test] ParsedNormally a -> pure a
1610.42 s
[opt-env-conf-test]
1610.42 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.
1610.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1610.42 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1610.42 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1610.42 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1610.42 s
[opt-env-conf-test] exitFailure
1610.42 s
[opt-env-conf-test] Right i -> case i of
1610.42 s
[opt-env-conf-test] ShowVersion -> do
1610.42 s
[opt-env-conf-test] progname <- getProgName
1610.42 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1610.42 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1610.42 s
[opt-env-conf-test] exitSuccess
1610.42 s
[opt-env-conf-test] - RenderMan -> do
1610.42 s
[opt-env-conf-test] - progname <- getProgName
1610.42 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1610.42 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1610.42 s
[opt-env-conf-test] - exitSuccess
1610.42 s
[opt-env-conf-test] RenderDocumentation -> do
1610.42 s
[opt-env-conf-test] progname <- getProgName
1610.42 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1610.42 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1610.42 s
[opt-env-conf-test] exitSuccess
1610.42 s
[opt-env-conf-test] RenderNixosOptions -> do
1610.42 s
[opt-env-conf-test] progname <- getProgName
1610.43 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1610.43 s
[opt-env-conf-test] exitSuccess
1610.43 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1610.43 s
[opt-env-conf-test] progname <- getProgName
1610.43 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1610.43 s
[opt-env-conf-test] exitSuccess
1610.43 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1610.43 s
[opt-env-conf-test] progname <- getProgName
1610.43 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1610.43 s
[opt-env-conf-test] exitSuccess
1610.43 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1610.43 s
[opt-env-conf-test] progname <- getProgName
1610.43 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1610.43 s
[opt-env-conf-test] exitSuccess
1611.00 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1611.00 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1611.00 s
[opt-env-conf-test] exitSuccess
1611.00 s
[opt-env-conf-test] ParsedNormally a -> pure a
1611.00 s
[opt-env-conf-test]
1611.00 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.
1611.00 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1611.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1611.00 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1611.00 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1611.00 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1611.00 s
[opt-env-conf-test] exitFailure
1611.00 s
[opt-env-conf-test] Right i -> case i of
1611.00 s
[opt-env-conf-test] ShowVersion -> do
1611.00 s
[opt-env-conf-test] progname <- getProgName
1611.00 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1611.00 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1611.00 s
[opt-env-conf-test] exitSuccess
1611.01 s
[opt-env-conf-test] RenderMan -> do
1611.01 s
[opt-env-conf-test] progname <- getProgName
1611.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1611.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1611.01 s
[opt-env-conf-test] exitSuccess
1611.01 s
[opt-env-conf-test] RenderDocumentation -> do
1611.01 s
[opt-env-conf-test] progname <- getProgName
1611.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1611.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1611.01 s
[opt-env-conf-test] exitSuccess
1611.01 s
[opt-env-conf-test] RenderNixosOptions -> do
1611.01 s
[opt-env-conf-test] progname <- getProgName
1611.01 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1611.01 s
[opt-env-conf-test] - exitSuccess
1611.01 s
[opt-env-conf-test] - BashCompletionScript progPath -> do
1611.01 s
[opt-env-conf-test] - progname <- getProgName
1611.01 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
1611.01 s
[opt-env-conf-test] exitSuccess
1611.01 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1611.01 s
[opt-env-conf-test] progname <- getProgName
1611.01 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1611.01 s
[opt-env-conf-test] exitSuccess
1611.01 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1611.01 s
[opt-env-conf-test] progname <- getProgName
1611.01 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1611.01 s
[opt-env-conf-test] exitSuccess
1611.70 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1611.70 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1611.70 s
[opt-env-conf-test] exitSuccess
1611.70 s
[opt-env-conf-test] ParsedNormally a -> pure a
1611.70 s
[opt-env-conf-test]
1611.70 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.
1611.70 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1611.70 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1611.70 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1611.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1611.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1611.70 s
[opt-env-conf-test] exitFailure
1611.70 s
[opt-env-conf-test] Right i -> case i of
1611.70 s
[opt-env-conf-test] ShowVersion -> do
1611.71 s
[opt-env-conf-test] progname <- getProgName
1611.71 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1611.71 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1611.71 s
[opt-env-conf-test] exitSuccess
1611.71 s
[opt-env-conf-test] RenderMan -> do
1611.71 s
[opt-env-conf-test] progname <- getProgName
1611.71 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1611.71 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1611.71 s
[opt-env-conf-test] exitSuccess
1611.71 s
[opt-env-conf-test] RenderDocumentation -> do
1611.71 s
[opt-env-conf-test] progname <- getProgName
1611.71 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1611.71 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1611.71 s
[opt-env-conf-test] - exitSuccess
1611.71 s
[opt-env-conf-test] - RenderNixosOptions -> do
1611.71 s
[opt-env-conf-test] - progname <- getProgName
1611.71 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1611.71 s
[opt-env-conf-test] exitSuccess
1611.71 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1611.71 s
[opt-env-conf-test] progname <- getProgName
1611.71 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1611.71 s
[opt-env-conf-test] exitSuccess
1611.71 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1611.71 s
[opt-env-conf-test] progname <- getProgName
1611.71 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1611.71 s
[opt-env-conf-test] exitSuccess
1611.71 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1611.71 s
[opt-env-conf-test] progname <- getProgName
1611.71 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1611.71 s
[opt-env-conf-test] exitSuccess
1612.22 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1612.22 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1612.22 s
[opt-env-conf-test] exitSuccess
1612.22 s
[opt-env-conf-test] ParsedNormally a -> pure a
1612.22 s
[opt-env-conf-test]
1612.22 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.
1612.22 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1612.22 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1612.22 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1612.22 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1612.22 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1612.22 s
[opt-env-conf-test] exitFailure
1612.22 s
[opt-env-conf-test] Right i -> case i of
1612.22 s
[opt-env-conf-test] ShowVersion -> do
1612.22 s
[opt-env-conf-test] progname <- getProgName
1612.22 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1612.22 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1612.22 s
[opt-env-conf-test] exitSuccess
1612.22 s
[opt-env-conf-test] RenderMan -> do
1612.22 s
[opt-env-conf-test] progname <- getProgName
1612.22 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1612.22 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1612.22 s
[opt-env-conf-test] exitSuccess
1612.22 s
[opt-env-conf-test] RenderDocumentation -> do
1612.22 s
[opt-env-conf-test] progname <- getProgName
1612.23 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1612.23 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1612.23 s
[opt-env-conf-test] exitSuccess
1612.23 s
[opt-env-conf-test] RenderNixosOptions -> do
1612.23 s
[opt-env-conf-test] progname <- getProgName
1612.23 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1612.23 s
[opt-env-conf-test] exitSuccess
1612.23 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1612.23 s
[opt-env-conf-test] progname <- getProgName
1612.23 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1612.23 s
[opt-env-conf-test] exitSuccess
1612.23 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1612.23 s
[opt-env-conf-test] progname <- getProgName
1612.23 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1612.23 s
[opt-env-conf-test] - exitSuccess
1612.23 s
[opt-env-conf-test] - FishCompletionScript progPath -> do
1612.23 s
[opt-env-conf-test] - progname <- getProgName
1612.23 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
1612.23 s
[opt-env-conf-test] exitSuccess
1612.23 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1612.23 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1612.23 s
[opt-env-conf-test] exitSuccess
1612.23 s
[opt-env-conf-test] ParsedNormally a -> pure a
1612.23 s
[opt-env-conf-test]
1612.23 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.
1612.23 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1612.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1612.23 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1612.23 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1612.23 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1612.23 s
[opt-env-conf-test] exitFailure
1612.23 s
[opt-env-conf-test] Right i -> case i of
1612.23 s
[opt-env-conf-test] ShowVersion -> do
1612.23 s
[opt-env-conf-test] progname <- getProgName
1612.23 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1612.23 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1612.23 s
[opt-env-conf-test] exitSuccess
1612.23 s
[opt-env-conf-test] RenderMan -> do
1612.23 s
[opt-env-conf-test] progname <- getProgName
1612.23 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1612.23 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1612.23 s
[opt-env-conf-test] exitSuccess
1612.23 s
[opt-env-conf-test] - RenderDocumentation -> do
1612.23 s
[opt-env-conf-test] - progname <- getProgName
1612.23 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1612.23 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1612.23 s
[opt-env-conf-test] - exitSuccess
1612.23 s
[opt-env-conf-test] RenderNixosOptions -> do
1612.23 s
[opt-env-conf-test] progname <- getProgName
1612.23 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1612.23 s
[opt-env-conf-test] exitSuccess
1612.23 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1612.23 s
[opt-env-conf-test] progname <- getProgName
1612.23 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1612.23 s
[opt-env-conf-test] exitSuccess
1612.23 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1612.23 s
[opt-env-conf-test] progname <- getProgName
1612.23 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1612.23 s
[opt-env-conf-test] exitSuccess
1612.23 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1612.23 s
[opt-env-conf-test] progname <- getProgName
1612.23 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1612.23 s
[opt-env-conf-test] exitSuccess
1612.26 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1612.26 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1612.26 s
[opt-env-conf-test] exitSuccess
1612.26 s
[opt-env-conf-test] ParsedNormally a -> pure a
1612.26 s
[opt-env-conf-test]
1612.26 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.
1612.26 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1612.26 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
1612.26 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1612.26 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1612.27 s
[opt-env-conf-test] exitSuccess
1612.27 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1612.27 s
[opt-env-conf-test] - runCompletionQuery p' e n r i ch e d index ws
1612.27 s
[opt-env-conf-test] + runCompletionQuery p' T r u e index ws
1612.27 s
[opt-env-conf-test] exitSuccess
1612.27 s
[opt-env-conf-test] ParsedNormally a -> pure a
1612.27 s
[opt-env-conf-test]
1612.27 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:158:21-67
1612.27 s
[opt-env-conf-test] @@ -155,7 +155,6 @@
1612.27 s
[opt-env-conf-test] exitSuccess
1612.27 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1612.27 s
[opt-env-conf-test] progname <- getProgName
1612.27 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
1612.27 s
[opt-env-conf-test] exitSuccess
1612.27 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1612.27 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1612.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1612.27 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1612.27 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1612.27 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1612.27 s
[opt-env-conf-test] exitFailure
1612.27 s
[opt-env-conf-test] Right i -> case i of
1612.27 s
[opt-env-conf-test] - ShowVersion -> do
1612.27 s
[opt-env-conf-test] - progname <- getProgName
1612.27 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1612.27 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1612.27 s
[opt-env-conf-test] - exitSuccess
1612.27 s
[opt-env-conf-test] RenderMan -> do
1612.27 s
[opt-env-conf-test] progname <- getProgName
1612.27 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1612.27 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1612.27 s
[opt-env-conf-test] exitSuccess
1612.27 s
[opt-env-conf-test] RenderDocumentation -> do
1612.28 s
[opt-env-conf-test] progname <- getProgName
1612.28 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1612.28 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1612.28 s
[opt-env-conf-test] exitSuccess
1612.28 s
[opt-env-conf-test] RenderNixosOptions -> do
1612.28 s
[opt-env-conf-test] progname <- getProgName
1612.28 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1612.28 s
[opt-env-conf-test] exitSuccess
1612.28 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1612.28 s
[opt-env-conf-test] progname <- getProgName
1612.28 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1612.28 s
[opt-env-conf-test] exitSuccess
1612.28 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1612.28 s
[opt-env-conf-test] progname <- getProgName
1612.28 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1612.28 s
[opt-env-conf-test] exitSuccess
1612.28 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1612.28 s
[opt-env-conf-test] progname <- getProgName
1612.28 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1612.28 s
[opt-env-conf-test] exitSuccess
1614.96 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1614.96 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1615.04 s
[opt-env-conf-test] exitSuccess
1615.04 s
[opt-env-conf-test] ParsedNormally a -> pure a
1615.04 s
[opt-env-conf-test]
1615.04 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.
1615.04 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1615.04 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:172:11-19
1615.04 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1615.04 s
[opt-env-conf-test] go = \case
1615.04 s
[opt-env-conf-test] [] -> (False, [])
1615.04 s
[opt-env-conf-test] (x : xs)
1615.04 s
[opt-env-conf-test] - | x == arg -> (True, xs)
1615.04 s
[opt-env-conf-test] + | n o t ( x == arg ) -> (True, xs)
1615.04 s
[opt-env-conf-test] | otherwise ->
1615.04 s
[opt-env-conf-test] let (found, rest) = go xs
1615.04 s
[opt-env-conf-test] in (found, x : rest)
1615.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
1615.04 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
1615.04 s
[opt-env-conf-test] exitFailure
1615.04 s
[opt-env-conf-test] Right mCommandDoc -> do
1615.04 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1615.04 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1615.05 s
[opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
1615.05 s
[opt-env-conf-test] Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1615.05 s
[opt-env-conf-test] exitSuccess
1615.05 s
[opt-env-conf-test] else do
1615.05 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1615.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1615.05 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1615.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1615.05 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1615.05 s
[opt-env-conf-test] exitFailure
1615.05 s
[opt-env-conf-test] Right i -> case i of
1615.05 s
[opt-env-conf-test] ShowVersion -> do
1615.05 s
[opt-env-conf-test] progname <- getProgName
1615.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1615.05 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1615.05 s
[opt-env-conf-test] exitSuccess
1615.05 s
[opt-env-conf-test] RenderMan -> do
1615.05 s
[opt-env-conf-test] progname <- getProgName
1615.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1615.05 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1615.05 s
[opt-env-conf-test] exitSuccess
1615.05 s
[opt-env-conf-test] RenderDocumentation -> do
1615.05 s
[opt-env-conf-test] progname <- getProgName
1615.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1615.05 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1615.05 s
[opt-env-conf-test] exitSuccess
1615.05 s
[opt-env-conf-test] RenderNixosOptions -> do
1615.05 s
[opt-env-conf-test] progname <- getProgName
1615.05 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1615.05 s
[opt-env-conf-test] exitSuccess
1615.05 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1615.05 s
[opt-env-conf-test] progname <- getProgName
1615.05 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1615.05 s
[opt-env-conf-test] - exitSuccess
1615.05 s
[opt-env-conf-test] - ZshCompletionScript progPath -> do
1615.05 s
[opt-env-conf-test] - progname <- getProgName
1615.05 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
1615.05 s
[opt-env-conf-test] exitSuccess
1615.05 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1615.05 s
[opt-env-conf-test] progname <- getProgName
1615.06 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1615.06 s
[opt-env-conf-test] exitSuccess
1617.35 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1617.35 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1617.35 s
[opt-env-conf-test] exitSuccess
1617.35 s
[opt-env-conf-test] ParsedNormally a -> pure a
1617.35 s
[opt-env-conf-test]
1617.35 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.
1617.35 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1617.35 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
1617.35 s
[opt-env-conf-test] @@ -304,9 +304,8 @@
1617.35 s
[opt-env-conf-test] Nothing -> pure Nothing
1617.35 s
[opt-env-conf-test] Just cs1 -> do
1617.35 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1617.35 s
[opt-env-conf-test] pure $ case p2s of
1617.35 s
[opt-env-conf-test] Nothing -> Nothing
1617.35 s
[opt-env-conf-test] - Just cs2 -> pure $ cs1 ++ cs2
1617.35 s
[opt-env-conf-test]
1617.35 s
[opt-env-conf-test] -- Nothing means "this branch was not valid"
1617.35 s
[opt-env-conf-test] -- Just [] means "no completions"
1617.35 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:257:25-31
1617.35 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1617.35 s
[opt-env-conf-test] Nothing -> do
1617.35 s
[opt-env-conf-test] put before
1617.35 s
[opt-env-conf-test] pure Nothing
1617.36 s
[opt-env-conf-test] - Just a -> pure ( J u s t a )
1617.36 s
[opt-env-conf-test] + Just a -> pure ( No t h ing )
1617.36 s
[opt-env-conf-test]
1617.36 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
1617.36 s
[opt-env-conf-test] -- Each iteration either advances the args state (consuming input)
1617.36 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
1617.36 s
[opt-env-conf-test] @@ -304,9 +304,8 @@
1617.36 s
[opt-env-conf-test] Nothing -> pure Nothing
1617.36 s
[opt-env-conf-test] Just cs1 -> do
1617.36 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1617.36 s
[opt-env-conf-test] pure $ case p2s of
1617.36 s
[opt-env-conf-test] - Nothing -> Nothing
1617.36 s
[opt-env-conf-test] Just cs2 -> pure $ cs1 ++ cs2
1617.36 s
[opt-env-conf-test]
1617.36 s
[opt-env-conf-test] -- Nothing means "this branch was not valid"
1617.36 s
[opt-env-conf-test] -- Just [] means "no completions"
1617.36 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1617.36 s
[opt-env-conf-test] @@ -125,42 +125,39 @@
1617.36 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1617.36 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1617.36 s
[opt-env-conf-test] exitFailure
1617.36 s
[opt-env-conf-test] Right i -> case i of
1617.36 s
[opt-env-conf-test] ShowVersion -> do
1617.36 s
[opt-env-conf-test] progname <- getProgName
1617.36 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1617.36 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1617.36 s
[opt-env-conf-test] exitSuccess
1617.36 s
[opt-env-conf-test] RenderMan -> do
1617.36 s
[opt-env-conf-test] progname <- getProgName
1617.36 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1617.36 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1617.36 s
[opt-env-conf-test] exitSuccess
1617.36 s
[opt-env-conf-test] RenderDocumentation -> do
1617.36 s
[opt-env-conf-test] progname <- getProgName
1617.36 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1617.36 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1617.36 s
[opt-env-conf-test] exitSuccess
1617.36 s
[opt-env-conf-test] RenderNixosOptions -> do
1617.36 s
[opt-env-conf-test] progname <- getProgName
1617.36 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1617.36 s
[opt-env-conf-test] exitSuccess
1617.36 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1617.36 s
[opt-env-conf-test] progname <- getProgName
1617.36 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1617.36 s
[opt-env-conf-test] exitSuccess
1617.36 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1617.36 s
[opt-env-conf-test] progname <- getProgName
1617.36 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1617.36 s
[opt-env-conf-test] exitSuccess
1617.36 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1617.36 s
[opt-env-conf-test] progname <- getProgName
1617.36 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1617.36 s
[opt-env-conf-test] exitSuccess
1617.36 s
[opt-env-conf-test] - CompletionQuery enriched index ws -> do
1617.49 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1617.49 s
[opt-env-conf-test] - exitSuccess
1617.49 s
[opt-env-conf-test] ParsedNormally a -> pure a
1617.49 s
[opt-env-conf-test]
1617.50 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.
1617.50 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1617.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
1617.50 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1617.50 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1617.50 s
[opt-env-conf-test] exitSuccess
1617.50 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1617.50 s
[opt-env-conf-test] - runCompletionQuery p' e n r ich e d index ws
1617.50 s
[opt-env-conf-test] + runCompletionQuery p' F a l s e index ws
1617.50 s
[opt-env-conf-test] exitSuccess
1617.50 s
[opt-env-conf-test] ParsedNormally a -> pure a
1617.50 s
[opt-env-conf-test]
1617.50 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
1617.50 s
[opt-env-conf-test] @@ -251,9 +251,8 @@
1617.50 s
[opt-env-conf-test] before <- get
1617.50 s
[opt-env-conf-test] mA <- func
1617.50 s
[opt-env-conf-test] case mA of
1617.50 s
[opt-env-conf-test] Nothing -> do
1617.50 s
[opt-env-conf-test] - put before
1617.50 s
[opt-env-conf-test] pure Nothing
1617.50 s
[opt-env-conf-test] Just a -> pure (Just a)
1617.50 s
[opt-env-conf-test]
1617.50 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
1617.50 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:154:21-66
1617.50 s
[opt-env-conf-test] @@ -151,7 +151,6 @@
1617.50 s
[opt-env-conf-test] exitSuccess
1617.50 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1617.50 s
[opt-env-conf-test] progname <- getProgName
1617.50 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
1617.50 s
[opt-env-conf-test] exitSuccess
1617.50 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1617.50 s
[opt-env-conf-test] progname <- getProgName
1617.50 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:161:43-51
1617.50 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1617.50 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1617.51 s
[opt-env-conf-test] exitSuccess
1617.51 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1617.51 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1617.51 s
[opt-env-conf-test] + runCompletionQuery p' n o t ( enriched ) index ws
1617.51 s
[opt-env-conf-test] exitSuccess
1617.51 s
[opt-env-conf-test] ParsedNormally a -> pure a
1617.51 s
[opt-env-conf-test]
1617.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1617.51 s
[opt-env-conf-test] @@ -125,42 +125,41 @@
1617.51 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1617.51 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1617.51 s
[opt-env-conf-test] exitFailure
1617.51 s
[opt-env-conf-test] Right i -> case i of
1617.51 s
[opt-env-conf-test] ShowVersion -> do
1617.51 s
[opt-env-conf-test] progname <- getProgName
1617.51 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1617.51 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1617.51 s
[opt-env-conf-test] exitSuccess
1617.51 s
[opt-env-conf-test] RenderMan -> do
1617.51 s
[opt-env-conf-test] progname <- getProgName
1617.51 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1617.51 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1617.51 s
[opt-env-conf-test] exitSuccess
1617.51 s
[opt-env-conf-test] RenderDocumentation -> do
1617.51 s
[opt-env-conf-test] progname <- getProgName
1617.51 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1617.51 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1617.51 s
[opt-env-conf-test] exitSuccess
1617.51 s
[opt-env-conf-test] RenderNixosOptions -> do
1617.51 s
[opt-env-conf-test] progname <- getProgName
1617.51 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1617.51 s
[opt-env-conf-test] exitSuccess
1617.51 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1617.51 s
[opt-env-conf-test] progname <- getProgName
1617.51 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1617.51 s
[opt-env-conf-test] exitSuccess
1617.51 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1617.51 s
[opt-env-conf-test] progname <- getProgName
1617.51 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1617.51 s
[opt-env-conf-test] exitSuccess
1617.51 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1617.51 s
[opt-env-conf-test] progname <- getProgName
1617.51 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1617.51 s
[opt-env-conf-test] exitSuccess
1617.51 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1617.98 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1617.99 s
[opt-env-conf-test] exitSuccess
1617.99 s
[opt-env-conf-test] - ParsedNormally a -> pure a
1617.99 s
[opt-env-conf-test]
1617.99 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.
1617.99 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1617.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1617.99 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1617.99 s
[opt-env-conf-test] orCompletions p1 p2 = do
1617.99 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1617.99 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1617.99 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1617.99 s
[opt-env-conf-test] - (Nothing, Nothing) -> Nothing
1617.99 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1617.99 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1617.99 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1617.99 s
[opt-env-conf-test]
1617.99 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1617.99 s
[opt-env-conf-test] andCompletions p1 p2 = do
1617.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
1617.99 s
[opt-env-conf-test] @@ -372,62 +372,61 @@
1617.99 s
[opt-env-conf-test] pure a
1617.99 s
[opt-env-conf-test] _ -> do
1617.99 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1617.99 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1617.99 s
[opt-env-conf-test] - Nothing -> pure NotRun
1617.99 s
[opt-env-conf-test] Just confSets -> do
1617.99 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1617.99 s
[opt-env-conf-test] case mObj of
1617.99 s
[opt-env-conf-test] Nothing -> do
1617.99 s
[opt-env-conf-test] debug ["no config object to set from"]
1617.99 s
[opt-env-conf-test] pure NotFound
1617.99 s
[opt-env-conf-test] Just obj -> do
1617.99 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1617.99 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1617.99 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1617.99 s
[opt-env-conf-test] Nothing -> do
1617.99 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1617.99 s
[opt-env-conf-test] Nothing -> pure Nothing
1617.99 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1618.00 s
[opt-env-conf-test] Just neRest -> do
1618.00 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1618.00 s
[opt-env-conf-test] case mO' of
1618.00 s
[opt-env-conf-test] Nothing -> pure Nothing
1618.00 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1618.00 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1618.00 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1618.00 s
[opt-env-conf-test] Right mV -> case mV of
1618.00 s
[opt-env-conf-test] Nothing -> do
1618.00 s
[opt-env-conf-test] debug
1618.00 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1618.00 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1618.00 s
[opt-env-conf-test] ]
1618.00 s
[opt-env-conf-test] pure Nothing
1618.00 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1618.00 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1618.00 s
[opt-env-conf-test] Right mA -> case mA of
1618.00 s
[opt-env-conf-test] Nothing -> do
1618.00 s
[opt-env-conf-test] debug
1618.00 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1618.00 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1618.00 s
[opt-env-conf-test] ]
1618.00 s
[opt-env-conf-test] pure Nothing
1618.00 s
[opt-env-conf-test] Just a -> do
1618.00 s
[opt-env-conf-test] debug
1618.00 s
[opt-env-conf-test] [ "set based on config value: ",
1618.00 s
[opt-env-conf-test] chunk $ T.pack $ show v
1618.00 s
[opt-env-conf-test] ]
1618.00 s
[opt-env-conf-test] pure $ Just a
1618.00 s
[opt-env-conf-test] let toRes = \case
1618.00 s
[opt-env-conf-test] Nothing -> NotFound
1618.00 s
[opt-env-conf-test] Just a -> Found a
1618.00 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1618.00 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1618.00 s
[opt-env-conf-test] Just ne -> do
1618.00 s
[opt-env-conf-test] res <- goConfSet confSet
1618.01 s
[opt-env-conf-test] case res of
1625.48 s
[opt-env-conf-test] Just a -> pure $ Found a
1625.51 s
[opt-env-conf-test] Nothing -> goConfSets ne
1625.51 s
[opt-env-conf-test] goConfSets confSets
1625.51 s
[opt-env-conf-test] case mConf of
1625.51 s
[opt-env-conf-test] Found a -> do
1625.51 s
[opt-env-conf-test] markParsed
1625.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1625.51 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1625.51 s
[opt-env-conf-test] orCompletions p1 p2 = do
1625.51 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1625.51 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1625.51 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1625.51 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1625.51 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1625.51 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1625.51 s
[opt-env-conf-test] - (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1625.51 s
[opt-env-conf-test]
1625.51 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1625.51 s
[opt-env-conf-test] andCompletions p1 p2 = do
1625.51 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
1625.51 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1625.51 s
[opt-env-conf-test] Nothing -> pure Nothing
1625.52 s
[opt-env-conf-test] Just os -> do
1625.52 s
[opt-env-conf-test] after <- get
1625.52 s
[opt-env-conf-test] - if a f te r == bef or e
1625.52 s
[opt-env-conf-test] + if F a l s e
1625.52 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1625.52 s
[opt-env-conf-test] pure $ Just os
1625.52 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1625.52 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
1625.52 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1625.52 s
[opt-env-conf-test] Nothing -> pure Nothing
1625.52 s
[opt-env-conf-test] Just os -> do
1625.52 s
[opt-env-conf-test] after <- get
1625.52 s
[opt-env-conf-test] - if a f te r = = b e f ore
1625.52 s
[opt-env-conf-test] + if T r u e
1625.52 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1625.52 s
[opt-env-conf-test] pure $ Just os
1625.52 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1625.52 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:281:37-44
1625.52 s
[opt-env-conf-test] @@ -278,7 +278,7 @@
1625.52 s
[opt-env-conf-test] do
1625.52 s
[opt-env-conf-test] mMore <- manyCompletions p
1625.52 s
[opt-env-conf-test] case mMore of
1625.52 s
[opt-env-conf-test] - Nothing -> pure $ J u st o s
1625.52 s
[opt-env-conf-test] + Nothing -> pure $ N o th ing
1625.53 s
[opt-env-conf-test] Just more
1625.53 s
[opt-env-conf-test] -- If the next iteration only produced stale
1625.53 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1625.53 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:287:23-30
1625.53 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1625.53 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1625.53 s
[opt-env-conf-test] -- further), prefer our completions which came
1625.53 s
[opt-env-conf-test] -- from the advancing iteration.
1625.53 s
[opt-env-conf-test] - | n u l l o s -> pure $ Just more
1625.53 s
[opt-env-conf-test] + | T r u e -> pure $ Just more
1625.53 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1625.53 s
[opt-env-conf-test]
1625.53 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1625.53 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:272:14-29
1625.53 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1625.53 s
[opt-env-conf-test] Nothing -> pure Nothing
1625.53 s
[opt-env-conf-test] Just os -> do
1625.53 s
[opt-env-conf-test] after <- get
1625.53 s
[opt-env-conf-test] - if after == before
1625.53 s
[opt-env-conf-test] + if n o t ( after == before )
1625.53 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1625.53 s
[opt-env-conf-test] pure $ Just os
1625.53 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1625.53 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:274:22-29
1625.53 s
[opt-env-conf-test] @@ -271,7 +271,7 @@
1625.53 s
[opt-env-conf-test] after <- get
1625.53 s
[opt-env-conf-test] if after == before
1625.53 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1625.53 s
[opt-env-conf-test] - pure $ J u st o s
1625.53 s
[opt-env-conf-test] + pure $ N o th ing
1625.53 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1625.53 s
[opt-env-conf-test] -- next iteration. Its completions supersede ours
1625.53 s
[opt-env-conf-test] -- only if it also has a valid result.
1625.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1625.53 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1625.53 s
[opt-env-conf-test] orCompletions p1 p2 = do
1625.53 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1625.54 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1625.54 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1625.54 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1625.54 s
[opt-env-conf-test] - (Just cs, Nothing) -> Just cs
1625.54 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1625.54 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1625.54 s
[opt-env-conf-test]
1625.54 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1625.54 s
[opt-env-conf-test] andCompletions p1 p2 = do
1625.54 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:297:31-38
1625.54 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
1625.54 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1625.54 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1625.54 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1625.54 s
[opt-env-conf-test] - (Nothing, Just cs) -> J u s t c s
1625.54 s
[opt-env-conf-test] + (Nothing, Just cs) -> No t h ing
1625.54 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1625.54 s
[opt-env-conf-test]
1625.54 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1625.54 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:296:31-38
1625.54 s
[opt-env-conf-test] @@ -293,7 +293,7 @@
1625.54 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1625.54 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1625.54 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1625.54 s
[opt-env-conf-test] - (Just cs, Nothing) -> J u s t c s
1625.54 s
[opt-env-conf-test] + (Just cs, Nothing) -> No t h ing
1625.54 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1625.54 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1625.54 s
[opt-env-conf-test]
1625.54 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1625.54 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1625.54 s
[opt-env-conf-test] orCompletions p1 p2 = do
1625.54 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1625.54 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1625.55 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1625.55 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1625.55 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1625.55 s
[opt-env-conf-test] - (Nothing, Just cs) -> Just cs
1625.55 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1625.55 s
[opt-env-conf-test]
1625.55 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1625.55 s
[opt-env-conf-test] andCompletions p1 p2 = do
1625.55 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:150:21-67
1625.55 s
[opt-env-conf-test] @@ -147,7 +147,6 @@
1625.55 s
[opt-env-conf-test] exitSuccess
1625.55 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1625.55 s
[opt-env-conf-test] progname <- getProgName
1625.55 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
1625.55 s
[opt-env-conf-test] exitSuccess
1625.55 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1625.55 s
[opt-env-conf-test] progname <- getProgName
1625.55 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
1625.55 s
[opt-env-conf-test] @@ -357,11 +357,8 @@
1625.55 s
[opt-env-conf-test] -- name then the remaining args have nowhere to go.
1625.55 s
[opt-env-conf-test] pure Nothing
1625.55 s
[opt-env-conf-test] Just arg ->
1625.55 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1625.55 s
[opt-env-conf-test] - Just c -> do
1625.55 s
[opt-env-conf-test] - put rest
1625.55 s
[opt-env-conf-test] - goCommand c
1625.55 s
[opt-env-conf-test] Nothing -> pure Nothing
1625.55 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1625.55 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1625.55 s
[opt-env-conf-test] -- if the user provides no command.
1625.55 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:340:20-34
1625.55 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1625.55 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1625.55 s
[opt-env-conf-test] case mArg of
1625.55 s
[opt-env-conf-test] Nothing -> do
1625.55 s
[opt-env-conf-test] - if argsAtEnd rest
1625.55 s
[opt-env-conf-test] + if n o t ( argsAtEnd rest )
1625.56 s
[opt-env-conf-test] then do
1625.56 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1625.56 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1625.56 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
1625.56 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1625.56 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1632.19 s
[opt-env-conf-test] case mArg of
1632.21 s
[opt-env-conf-test] Nothing -> do
1632.21 s
[opt-env-conf-test] - if a r g s AtE nd r e s t
1632.21 s
[opt-env-conf-test] + if F a l s e
1632.21 s
[opt-env-conf-test] then do
1632.21 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1632.21 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1632.21 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
1632.22 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1632.22 s
[opt-env-conf-test] pure Completion {..}
1632.22 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1632.22 s
[opt-env-conf-test] as <- get
1632.22 s
[opt-env-conf-test] - if a r g s A t End a s then completeWithCompleter else pure $ Just []
1632.22 s
[opt-env-conf-test] + if F a l s e then completeWithCompleter else pure $ Just []
1632.22 s
[opt-env-conf-test] let completeWithDasheds = do
1632.22 s
[opt-env-conf-test] let isLong = \case
1632.22 s
[opt-env-conf-test] DashedLong _ -> True
1632.22 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
1632.22 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1632.22 s
[opt-env-conf-test] pure Completion {..}
1632.22 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1632.22 s
[opt-env-conf-test] as <- get
1632.22 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ J u s t [ ]
1632.22 s
[opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ No t h ing
1632.22 s
[opt-env-conf-test] let completeWithDasheds = do
1632.22 s
[opt-env-conf-test] let isLong = \case
1632.22 s
[opt-env-conf-test] DashedLong _ -> True
1632.22 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:402:38-43
1632.22 s
[opt-env-conf-test] @@ -399,7 +399,7 @@
1632.22 s
[opt-env-conf-test] let completeWithDasheds = do
1632.22 s
[opt-env-conf-test] let isLong = \case
1632.22 s
[opt-env-conf-test] DashedLong _ -> True
1632.22 s
[opt-env-conf-test] - DashedShort _ -> F al s e
1632.22 s
[opt-env-conf-test] + DashedShort _ -> T ru e
1632.22 s
[opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1632.22 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1632.22 s
[opt-env-conf-test] let completions =
1632.22 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:401:37-41
1632.22 s
[opt-env-conf-test] @@ -398,7 +398,7 @@
1632.22 s
[opt-env-conf-test] if argsAtEnd as then completeWithCompleter else pure $ Just []
1632.22 s
[opt-env-conf-test] let completeWithDasheds = do
1632.22 s
[opt-env-conf-test] let isLong = \case
1632.22 s
[opt-env-conf-test] - DashedLong _ -> Tr u e
1632.23 s
[opt-env-conf-test] + DashedLong _ -> F a ls e
1632.23 s
[opt-env-conf-test] DashedShort _ -> False
1632.23 s
[opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1632.23 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1632.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
1632.23 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1632.23 s
[opt-env-conf-test] let isLong = \case
1632.23 s
[opt-env-conf-test] DashedLong _ -> True
1632.23 s
[opt-env-conf-test] DashedShort _ -> False
1632.23 s
[opt-env-conf-test] - let favorableDasheds = if a n y i sLo ng s etting D a s h e d s then filter isLong settingDasheds else settingDasheds
1632.23 s
[opt-env-conf-test] + let favorableDasheds = if F a l s e then filter isLong settingDasheds else settingDasheds
1632.23 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1632.23 s
[opt-env-conf-test] let completions =
1632.23 s
[opt-env-conf-test] map
1632.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
1632.23 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1632.23 s
[opt-env-conf-test] let isLong = \case
1632.23 s
[opt-env-conf-test] DashedLong _ -> True
1632.23 s
[opt-env-conf-test] DashedShort _ -> False
1632.23 s
[opt-env-conf-test] - let favorableDasheds = if a ny is Long s e t ti ngD ash ed s then filter isLong settingDasheds else settingDasheds
1632.23 s
[opt-env-conf-test] + let favorableDasheds = if Tru e then filter isLong settingDasheds else settingDasheds
1632.23 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1632.23 s
[opt-env-conf-test] let completions =
1632.23 s
[opt-env-conf-test] map
1632.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:398:18-30
1632.23 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1632.23 s
[opt-env-conf-test] pure Completion {..}
1632.23 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1632.23 s
[opt-env-conf-test] as <- get
1632.23 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
1632.23 s
[opt-env-conf-test] + if n o t ( argsAtEnd as ) then completeWithCompleter else pure $ Just []
1632.23 s
[opt-env-conf-test] let completeWithDasheds = do
1632.23 s
[opt-env-conf-test] let isLong = \case
1632.23 s
[opt-env-conf-test] DashedLong _ -> True
1632.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:403:41-66
1632.23 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1632.23 s
[opt-env-conf-test] let isLong = \case
1632.23 s
[opt-env-conf-test] DashedLong _ -> True
1632.23 s
[opt-env-conf-test] DashedShort _ -> False
1632.24 s
[opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1632.24 s
[opt-env-conf-test] + let favorableDasheds = if n o t ( any isLong settingDasheds ) then filter isLong settingDasheds else settingDasheds
1632.24 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1632.24 s
[opt-env-conf-test] let completions =
1632.24 s
[opt-env-conf-test] map
1632.24 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:413:22-38
1632.24 s
[opt-env-conf-test] @@ -410,7 +410,7 @@
1632.24 s
[opt-env-conf-test] . SuggestionBare
1632.24 s
[opt-env-conf-test] )
1632.24 s
[opt-env-conf-test] suggestions
1632.24 s
[opt-env-conf-test] - pure $ J us t c o m pl e t i o n s
1632.24 s
[opt-env-conf-test] + pure $ N o t h i n g
1632.24 s
[opt-env-conf-test] if settingHidden
1632.24 s
[opt-env-conf-test] then pure $ Just []
1632.24 s
[opt-env-conf-test] else do
1632.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
1632.24 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1632.24 s
[opt-env-conf-test] )
1632.24 s
[opt-env-conf-test] suggestions
1632.24 s
[opt-env-conf-test] pure $ Just completions
1632.24 s
[opt-env-conf-test] - if s e ttin gHidden
1632.24 s
[opt-env-conf-test] + if T ru e
1632.24 s
[opt-env-conf-test] then pure $ Just []
1632.24 s
[opt-env-conf-test] else do
1632.24 s
[opt-env-conf-test] as <- get
1632.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
1632.24 s
[opt-env-conf-test] @@ -375,7 +375,6 @@
1632.24 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1632.24 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1632.24 s
[opt-env-conf-test] -- command's completions.
1632.24 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1632.24 s
[opt-env-conf-test] | otherwise -> do
1632.24 s
[opt-env-conf-test] -- The default command consumed args, so its
1632.24 s
[opt-env-conf-test] -- completions are valid. But we must restore
1632.24 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:388:28-36
1632.24 s
[opt-env-conf-test] @@ -385,7 +385,7 @@
1632.24 s
[opt-env-conf-test] -- --archive-dir that the default command
1632.24 s
[opt-env-conf-test] -- swallowed as a positional argument.
1632.24 s
[opt-env-conf-test] put as
1632.24 s
[opt-env-conf-test] - pure $ J u s t dc s
1632.24 s
[opt-env-conf-test] + pure $ No t h i ng
1632.24 s
[opt-env-conf-test] ParserSetting _ Setting {..} -> do
1632.24 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1632.24 s
[opt-env-conf-test] let completionDescription = settingHelp
1632.24 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
1632.24 s
[opt-env-conf-test] @@ -357,11 +357,10 @@
1632.24 s
[opt-env-conf-test] -- name then the remaining args have nowhere to go.
1638.90 s
[opt-env-conf-test] pure Nothing
1638.93 s
[opt-env-conf-test] Just arg ->
1638.93 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1638.93 s
[opt-env-conf-test] Just c -> do
1638.93 s
[opt-env-conf-test] put rest
1638.93 s
[opt-env-conf-test] goCommand c
1638.93 s
[opt-env-conf-test] - Nothing -> pure Nothing
1638.93 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1638.93 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1638.93 s
[opt-env-conf-test] -- if the user provides no command.
1638.93 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:378:19-31
1638.93 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1638.93 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1638.93 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1638.93 s
[opt-env-conf-test] -- command's completions.
1638.93 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1638.93 s
[opt-env-conf-test] + | n o t ( argsAtEnd as ) -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1638.93 s
[opt-env-conf-test] | otherwise -> do
1638.93 s
[opt-env-conf-test] -- The default command consumed args, so its
1638.93 s
[opt-env-conf-test] -- completions are valid. But we must restore
1638.93 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:414:12-25
1638.94 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1638.94 s
[opt-env-conf-test] )
1638.94 s
[opt-env-conf-test] suggestions
1638.94 s
[opt-env-conf-test] pure $ Just completions
1638.94 s
[opt-env-conf-test] - if settingHidden
1638.94 s
[opt-env-conf-test] + if n o t ( settingHidden )
1638.94 s
[opt-env-conf-test] then pure $ Just []
1638.94 s
[opt-env-conf-test] else do
1638.94 s
[opt-env-conf-test] as <- get
1638.94 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:361:29-32
1638.94 s
[opt-env-conf-test] @@ -358,9 +358,8 @@
1638.94 s
[opt-env-conf-test] pure Nothing
1638.94 s
[opt-env-conf-test] Just arg ->
1638.94 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1638.94 s
[opt-env-conf-test] Just c -> do
1638.94 s
[opt-env-conf-test] - put rest
1638.94 s
[opt-env-conf-test] goCommand c
1638.94 s
[opt-env-conf-test] Nothing -> pure Nothing
1638.94 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1638.94 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1638.94 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:415:23-30
1638.94 s
[opt-env-conf-test] @@ -412,7 +412,7 @@
1638.94 s
[opt-env-conf-test] suggestions
1638.94 s
[opt-env-conf-test] pure $ Just completions
1638.94 s
[opt-env-conf-test] if settingHidden
1638.94 s
[opt-env-conf-test] - then pure $ J u s t [ ]
1638.94 s
[opt-env-conf-test] + then pure $ No t h ing
1638.94 s
[opt-env-conf-test] else do
1638.94 s
[opt-env-conf-test] as <- get
1638.94 s
[opt-env-conf-test] if settingTryArgument
1638.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
1638.94 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1638.95 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1638.95 s
[opt-env-conf-test] case mArg of
1638.95 s
[opt-env-conf-test] Nothing -> do
1638.95 s
[opt-env-conf-test] - if a rg sAt En d r e s t
1638.95 s
[opt-env-conf-test] + if T r u e
1638.95 s
[opt-env-conf-test] then do
1638.95 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1638.95 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1638.95 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:287:41-50
1638.95 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1638.95 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1638.95 s
[opt-env-conf-test] -- further), prefer our completions which came
1638.95 s
[opt-env-conf-test] -- from the advancing iteration.
1638.95 s
[opt-env-conf-test] - | null os -> pure $ J u s t m o r e
1638.95 s
[opt-env-conf-test] + | null os -> pure $ N o thin g
1638.95 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1638.95 s
[opt-env-conf-test]
1638.95 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1638.95 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:378:86-94
1638.95 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1638.95 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1638.95 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1638.95 s
[opt-env-conf-test] -- command's completions.
1638.95 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, J u s t dc s ]
1638.95 s
[opt-env-conf-test] + | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, No t h i ng ]
1638.95 s
[opt-env-conf-test] | otherwise -> do
1638.95 s
[opt-env-conf-test] -- The default command consumed args, so its
1638.95 s
[opt-env-conf-test] -- completions are valid. But we must restore
1638.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:378:19-31
1638.95 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1638.95 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1638.95 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1638.95 s
[opt-env-conf-test] -- command's completions.
1638.95 s
[opt-env-conf-test] - | a r gs AtE nd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1638.95 s
[opt-env-conf-test] + | T r ue -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1638.95 s
[opt-env-conf-test] | otherwise -> do
1638.95 s
[opt-env-conf-test] -- The default command consumed args, so its
1638.95 s
[opt-env-conf-test] -- completions are valid. But we must restore
1638.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
1638.96 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1638.96 s
[opt-env-conf-test] then pure $ Just []
1638.96 s
[opt-env-conf-test] else do
1638.96 s
[opt-env-conf-test] as <- get
1638.96 s
[opt-env-conf-test] - if s e tt ing T ry A r g u m e n t
1638.96 s
[opt-env-conf-test] + if T r u e
1638.96 s
[opt-env-conf-test] then do
1638.96 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1638.96 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1638.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
1638.96 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1638.96 s
[opt-env-conf-test] )
1638.96 s
[opt-env-conf-test] suggestions
1638.96 s
[opt-env-conf-test] pure $ Just completions
1638.96 s
[opt-env-conf-test] - if s e tti ngHi dd e n
1638.96 s
[opt-env-conf-test] + if F a l s e
1638.96 s
[opt-env-conf-test] then pure $ Just []
1638.96 s
[opt-env-conf-test] else do
1638.96 s
[opt-env-conf-test] as <- get
1638.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
1638.96 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1638.96 s
[opt-env-conf-test] pure Completion {..}
1638.96 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1638.96 s
[opt-env-conf-test] as <- get
1638.96 s
[opt-env-conf-test] - if a r gs AtE nd as then completeWithCompleter else pure $ Just []
1638.97 s
[opt-env-conf-test] + if T r ue then completeWithCompleter else pure $ Just []
1638.97 s
[opt-env-conf-test] let completeWithDasheds = do
1638.97 s
[opt-env-conf-test] let isLong = \case
1638.97 s
[opt-env-conf-test] DashedLong _ -> True
1638.97 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:379:32-36
1638.97 s
[opt-env-conf-test] @@ -376,16 +376,15 @@
1638.97 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1638.97 s
[opt-env-conf-test] -- command's completions.
1638.97 s
[opt-env-conf-test] | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1638.97 s
[opt-env-conf-test] | otherwise -> do
1638.97 s
[opt-env-conf-test] -- The default command consumed args, so its
1638.97 s
[opt-env-conf-test] -- completions are valid. But we must restore
1638.97 s
[opt-env-conf-test] -- the state: the consumed args may also be
1638.97 s
[opt-env-conf-test] -- intended for sibling parsers in an
1638.97 s
[opt-env-conf-test] -- applicative (<*>), e.g. an option like
1638.97 s
[opt-env-conf-test] -- --archive-dir that the default command
1638.97 s
[opt-env-conf-test] -- swallowed as a positional argument.
1638.97 s
[opt-env-conf-test] - put as
1638.97 s
[opt-env-conf-test] pure $ Just dcs
1638.97 s
[opt-env-conf-test] ParserSetting _ Setting {..} -> do
1638.98 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1638.98 s
[opt-env-conf-test] let completionDescription = settingHelp
1638.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
1638.98 s
[opt-env-conf-test] @@ -375,7 +375,6 @@
1646.14 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1646.16 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1646.16 s
[opt-env-conf-test] -- command's completions.
1646.16 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1646.16 s
[opt-env-conf-test] | otherwise -> do
1646.16 s
[opt-env-conf-test] -- The default command consumed args, so its
1646.16 s
[opt-env-conf-test] -- completions are valid. But we must restore
1646.16 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
1646.16 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1646.16 s
[opt-env-conf-test] put as'
1646.16 s
[opt-env-conf-test] completeWithCompleterAtEnd
1646.16 s
[opt-env-conf-test] else
1646.16 s
[opt-env-conf-test] - if i s J u s t s e t tin gSwitchValue
1646.16 s
[opt-env-conf-test] + if Tr u e
1646.16 s
[opt-env-conf-test] then do
1646.16 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1646.16 s
[opt-env-conf-test] -- it's already been parsed.
1646.16 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:451:32-39
1646.16 s
[opt-env-conf-test] @@ -448,7 +448,7 @@
1646.17 s
[opt-env-conf-test] completeWithDasheds
1646.17 s
[opt-env-conf-test] Just as' -> do
1646.17 s
[opt-env-conf-test] put as'
1646.17 s
[opt-env-conf-test] - pure $ J u s t [ ]
1646.17 s
[opt-env-conf-test] + pure $ No t h ing
1646.17 s
[opt-env-conf-test] else do
1646.17 s
[opt-env-conf-test] if settingTryOption
1646.17 s
[opt-env-conf-test] then do
1646.17 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:441:20-45
1646.17 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1646.17 s
[opt-env-conf-test] put as'
1646.17 s
[opt-env-conf-test] completeWithCompleterAtEnd
1646.17 s
[opt-env-conf-test] else
1646.17 s
[opt-env-conf-test] - if isJust settingSwitchValue
1646.17 s
[opt-env-conf-test] + if n o t ( isJust settingSwitchValue )
1646.17 s
[opt-env-conf-test] then do
1646.17 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1646.17 s
[opt-env-conf-test] -- it's already been parsed.
1646.17 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:449:35-39
1646.17 s
[opt-env-conf-test] @@ -446,9 +446,8 @@
1646.17 s
[opt-env-conf-test] Nothing ->
1646.17 s
[opt-env-conf-test] -- A switch can be anywhere, doesn't need to be at the end.
1646.17 s
[opt-env-conf-test] completeWithDasheds
1646.17 s
[opt-env-conf-test] Just as' -> do
1646.17 s
[opt-env-conf-test] - put as'
1646.17 s
[opt-env-conf-test] pure $ Just []
1646.17 s
[opt-env-conf-test] else do
1646.17 s
[opt-env-conf-test] if settingTryOption
1646.17 s
[opt-env-conf-test] then do
1646.17 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1646.17 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1646.17 s
[opt-env-conf-test] put as'
1646.17 s
[opt-env-conf-test] pure $ Just []
1646.17 s
[opt-env-conf-test] else do
1646.17 s
[opt-env-conf-test] - if s e tt in g Tr y Opti on
1646.17 s
[opt-env-conf-test] + if Tr ue
1646.17 s
[opt-env-conf-test] then do
1646.17 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1646.17 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1646.17 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1646.17 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1646.17 s
[opt-env-conf-test] put as'
1646.17 s
[opt-env-conf-test] pure $ Just []
1646.17 s
[opt-env-conf-test] else do
1646.17 s
[opt-env-conf-test] - if se tt ingT ryOption
1646.18 s
[opt-env-conf-test] + if F a l se
1646.18 s
[opt-env-conf-test] then do
1646.18 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1646.18 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1646.18 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:453:24-40
1646.18 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1646.18 s
[opt-env-conf-test] put as'
1646.18 s
[opt-env-conf-test] pure $ Just []
1646.18 s
[opt-env-conf-test] else do
1646.18 s
[opt-env-conf-test] - if settingTryOption
1646.18 s
[opt-env-conf-test] + if n o t ( settingTryOption )
1646.18 s
[opt-env-conf-test] then do
1646.18 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1646.18 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1646.18 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:459:36-43
1646.18 s
[opt-env-conf-test] @@ -456,7 +456,7 @@
1646.18 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1646.18 s
[opt-env-conf-test] Just (_, as') -> do
1646.18 s
[opt-env-conf-test] put as'
1646.18 s
[opt-env-conf-test] - pure $ J u s t [ ]
1646.18 s
[opt-env-conf-test] + pure $ No t h ing
1646.18 s
[opt-env-conf-test] Nothing -> do
1646.18 s
[opt-env-conf-test] if argsAtEnd as
1646.18 s
[opt-env-conf-test] then completeWithDasheds
1646.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
1646.18 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1646.18 s
[opt-env-conf-test] put as'
1646.18 s
[opt-env-conf-test] pure $ Just []
1646.18 s
[opt-env-conf-test] Nothing -> do
1646.18 s
[opt-env-conf-test] - if a r gs AtE nd as
1646.18 s
[opt-env-conf-test] + if T r ue
1646.18 s
[opt-env-conf-test] then completeWithDasheds
1646.18 s
[opt-env-conf-test] else do
1646.18 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1646.18 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:457:44-43
1646.18 s
[opt-env-conf-test] @@ -454,9 +454,8 @@
1646.18 s
[opt-env-conf-test] then do
1646.18 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1646.18 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1646.18 s
[opt-env-conf-test] Just (_, as') -> do
1646.18 s
[opt-env-conf-test] - put as'
1646.18 s
[opt-env-conf-test] pure $ Just []
1646.18 s
[opt-env-conf-test] Nothing -> do
1646.18 s
[opt-env-conf-test] if argsAtEnd as
1646.18 s
[opt-env-conf-test] then completeWithDasheds
1646.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
1646.18 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1646.18 s
[opt-env-conf-test] put as'
1646.18 s
[opt-env-conf-test] pure $ Just []
1646.18 s
[opt-env-conf-test] Nothing -> do
1646.18 s
[opt-env-conf-test] - if a r g s A t End as
1646.18 s
[opt-env-conf-test] + if F a l s e
1646.18 s
[opt-env-conf-test] then completeWithDasheds
1646.18 s
[opt-env-conf-test] else do
1646.18 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1646.18 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:461:32-44
1646.18 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1646.18 s
[opt-env-conf-test] put as'
1646.18 s
[opt-env-conf-test] pure $ Just []
1646.18 s
[opt-env-conf-test] Nothing -> do
1646.18 s
[opt-env-conf-test] - if argsAtEnd as
1646.18 s
[opt-env-conf-test] + if n o t ( argsAtEnd as )
1646.18 s
[opt-env-conf-test] then completeWithDasheds
1646.18 s
[opt-env-conf-test] else do
1646.18 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1646.19 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:473:53-60
1646.19 s
[opt-env-conf-test] @@ -470,7 +470,7 @@
1646.19 s
[opt-env-conf-test] -- the option because consumeOption would try to
1646.19 s
[opt-env-conf-test] -- consume the option argument too.
1646.19 s
[opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
1646.19 s
[opt-env-conf-test] - Nothing -> pure $ J u s t [ ]
1646.19 s
[opt-env-conf-test] + Nothing -> pure $ No t h ing
1646.19 s
[opt-env-conf-test] Just as' -> do
1646.19 s
[opt-env-conf-test] put as'
1646.19 s
[opt-env-conf-test] completeWithCompleterAtEnd
1646.19 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
1646.19 s
[opt-env-conf-test] @@ -160,7 +160,7 @@
1646.19 s
[opt-env-conf-test] --
1649.07 s
[opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
1649.07 s
[opt-env-conf-test] let index = pred index'
1649.07 s
[opt-env-conf-test] - let ws = drop 1 ws'
1649.07 s
[opt-env-conf-test] + let ws = drop 0 ws'
1649.07 s
[opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
1649.07 s
[opt-env-conf-test] let completions = pureCompletionQuery parser index ws
1649.07 s
[opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
1649.07 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:487:32-39
1649.07 s
[opt-env-conf-test] @@ -484,4 +484,4 @@
1649.07 s
[opt-env-conf-test] -- this branch, improving completions when one branch
1649.07 s
[opt-env-conf-test] -- is env/conf-only and the other has args/options.
1649.07 s
[opt-env-conf-test] -- This would require IO or an environment parameter.
1649.07 s
[opt-env-conf-test] - pure $ J u s t [ ]
1649.07 s
[opt-env-conf-test] + pure $ No t h ing
1649.07 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
1649.07 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1649.07 s
[opt-env-conf-test] put as'
1649.07 s
[opt-env-conf-test] completeWithCompleterAtEnd
1649.07 s
[opt-env-conf-test] else
1649.07 s
[opt-env-conf-test] - if i s Jus t s e tti ngSwit chV al u e
1649.07 s
[opt-env-conf-test] + if F al s e
1649.07 s
[opt-env-conf-test] then do
1649.08 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1649.08 s
[opt-env-conf-test] -- it's already been parsed.
1649.08 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:474:47-63
1649.08 s
[opt-env-conf-test] @@ -471,9 +471,8 @@
1649.08 s
[opt-env-conf-test] -- consume the option argument too.
1649.08 s
[opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
1649.08 s
[opt-env-conf-test] Nothing -> pure $ Just []
1649.08 s
[opt-env-conf-test] Just as' -> do
1649.08 s
[opt-env-conf-test] - put as'
1649.08 s
[opt-env-conf-test] completeWithCompleterAtEnd
1649.08 s
[opt-env-conf-test] else do
1649.08 s
[opt-env-conf-test] -- We can't auto-complete settings parsed from env vars
1649.08 s
[opt-env-conf-test] -- or config values, but this path is still valid.
1649.08 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:171:3-100
1649.08 s
[opt-env-conf-test] @@ -168,22 +168,6 @@
1649.08 s
[opt-env-conf-test] -- import System.IO
1649.08 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1649.08 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1649.08 s
[opt-env-conf-test] - if enriched
1649.08 s
[opt-env-conf-test] - then
1649.08 s
[opt-env-conf-test] - putStr $
1649.08 s
[opt-env-conf-test] - unlines $
1649.08 s
[opt-env-conf-test] - map
1649.08 s
[opt-env-conf-test] - ( \Completion {..} ->
1649.08 s
[opt-env-conf-test] - let val = completionResultValue completionSuggestion
1649.08 s
[opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1649.08 s
[opt-env-conf-test] - in case (notFinal, completionDescription) of
1649.08 s
[opt-env-conf-test] - (False, Nothing) -> val
1649.08 s
[opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
1649.08 s
[opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
1649.08 s
[opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
1649.08 s
[opt-env-conf-test] - )
1649.08 s
[opt-env-conf-test] - evaluatedCompletions
1649.08 s
[opt-env-conf-test] - else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1649.08 s
[opt-env-conf-test] pure ()
1649.08 s
[opt-env-conf-test]
1649.08 s
[opt-env-conf-test] -- Because the first arg has already been skipped we get input like this here:
1649.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1649.08 s
[opt-env-conf-test] @@ -113,27 +113,7 @@
1649.08 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1649.08 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1649.09 s
[opt-env-conf-test] in unlines
1649.09 s
[opt-env-conf-test] - [ " function " ++ functionName,
1649.09 s
[opt-env-conf-test] - " set -l cl (commandline --tokenize --current-process)",
1649.09 s
[opt-env-conf-test] - " # Hack around fish issue #3934",
1649.09 s
[opt-env-conf-test] - " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1649.09 s
[opt-env-conf-test] - " set -l cn (count $cn)",
1649.09 s
[opt-env-conf-test] - " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1649.09 s
[opt-env-conf-test] - " for arg in $cl",
1649.09 s
[opt-env-conf-test] - " set tmpline $tmpline --completion-word $arg",
1649.09 s
[opt-env-conf-test] - " end",
1649.09 s
[opt-env-conf-test] - " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1649.09 s
[opt-env-conf-test] - " set -l val (string split \\t -- $opt)[1]",
1649.09 s
[opt-env-conf-test] - " if test -d $val",
1649.09 s
[opt-env-conf-test] - " echo -E \"$val/\"",
1649.09 s
[opt-env-conf-test] - " else",
1649.09 s
[opt-env-conf-test] - " echo -E \"$val\"",
1649.09 s
[opt-env-conf-test] - " end",
1649.09 s
[opt-env-conf-test] - " end",
1649.09 s
[opt-env-conf-test] - "end",
1649.09 s
[opt-env-conf-test] - "",
1649.09 s
[opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1649.09 s
[opt-env-conf-test] ]
1649.09 s
[opt-env-conf-test]
1649.09 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1649.09 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1649.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1649.09 s
[opt-env-conf-test] @@ -113,27 +113,26 @@
1649.09 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1649.09 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1649.09 s
[opt-env-conf-test] in unlines
1649.09 s
[opt-env-conf-test] - [ " function " ++ functionName,
1649.09 s
[opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
1649.09 s
[opt-env-conf-test] " # Hack around fish issue #3934",
1649.09 s
[opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1649.09 s
[opt-env-conf-test] " set -l cn (count $cn)",
1649.09 s
[opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1649.09 s
[opt-env-conf-test] " for arg in $cl",
1649.09 s
[opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
1649.09 s
[opt-env-conf-test] " end",
1649.09 s
[opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1649.09 s
[opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
1649.09 s
[opt-env-conf-test] " if test -d $val",
1649.09 s
[opt-env-conf-test] " echo -E \"$val/\"",
1649.09 s
[opt-env-conf-test] " else",
1649.09 s
[opt-env-conf-test] " echo -E \"$val\"",
1649.10 s
[opt-env-conf-test] " end",
1649.10 s
[opt-env-conf-test] " end",
1649.10 s
[opt-env-conf-test] "end",
1649.10 s
[opt-env-conf-test] "",
1649.10 s
[opt-env-conf-test] "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1649.10 s
[opt-env-conf-test] ]
1649.10 s
[opt-env-conf-test]
1649.10 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1649.10 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1649.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1649.10 s
[opt-env-conf-test] @@ -113,27 +113,26 @@
1649.10 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1649.10 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1649.10 s
[opt-env-conf-test] in unlines
1649.10 s
[opt-env-conf-test] [ " function " ++ functionName,
1649.10 s
[opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
1649.10 s
[opt-env-conf-test] " # Hack around fish issue #3934",
1649.10 s
[opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1649.10 s
[opt-env-conf-test] " set -l cn (count $cn)",
1649.10 s
[opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1649.10 s
[opt-env-conf-test] " for arg in $cl",
1649.10 s
[opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
1649.10 s
[opt-env-conf-test] " end",
1649.10 s
[opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1649.10 s
[opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
1649.10 s
[opt-env-conf-test] " if test -d $val",
1649.10 s
[opt-env-conf-test] " echo -E \"$val/\"",
1649.10 s
[opt-env-conf-test] " else",
1649.10 s
[opt-env-conf-test] " echo -E \"$val\"",
1649.10 s
[opt-env-conf-test] " end",
1649.10 s
[opt-env-conf-test] " end",
1649.10 s
[opt-env-conf-test] "end",
1649.10 s
[opt-env-conf-test] "",
1649.10 s
[opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1649.10 s
[opt-env-conf-test] ]
1649.10 s
[opt-env-conf-test]
1649.10 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1649.10 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1649.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1649.10 s
[opt-env-conf-test] @@ -64,46 +64,7 @@
1649.10 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1649.10 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1649.10 s
[opt-env-conf-test] unlines
1649.10 s
[opt-env-conf-test] - [ "#compdef " ++ progname,
1649.10 s
[opt-env-conf-test] - "",
1649.10 s
[opt-env-conf-test] - "local request",
1649.10 s
[opt-env-conf-test] - "local completions",
1649.10 s
[opt-env-conf-test] - "local word",
1649.10 s
[opt-env-conf-test] - "local index=$((CURRENT - 1))",
1649.10 s
[opt-env-conf-test] - "",
1649.10 s
[opt-env-conf-test] - "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1649.10 s
[opt-env-conf-test] - "for arg in ${words[@]}; do",
1649.10 s
[opt-env-conf-test] - " request=(${request[@]} --completion-word $arg)",
1649.10 s
[opt-env-conf-test] - "done",
1649.10 s
[opt-env-conf-test] - "",
1649.10 s
[opt-env-conf-test] - "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1649.11 s
[opt-env-conf-test] - "",
1649.11 s
[opt-env-conf-test] - "for word in $completions; do",
1649.11 s
[opt-env-conf-test] - " local -a parts",
1649.11 s
[opt-env-conf-test] - "",
1649.11 s
[opt-env-conf-test] - " # Split the line at a tab if there is one.",
1649.11 s
[opt-env-conf-test] - " IFS=$'\\t' parts=($( echo $word ))",
1649.11 s
[opt-env-conf-test] - "",
1649.11 s
[opt-env-conf-test] - " if [[ -n $parts[2] ]]; then",
1649.11 s
[opt-env-conf-test] - " if [[ $word[1] == \"-\" ]]; then",
1649.11 s
[opt-env-conf-test] - " local desc=(\"$parts[1] ($parts[2])\")",
1649.11 s
[opt-env-conf-test] - " compadd -d desc -- $parts[1]",
1649.11 s
[opt-env-conf-test] - " elif [[ $parts[3] == 'N' ]]; then",
1649.11 s
[opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1649.11 s
[opt-env-conf-test] - " compadd -f -l -S '' -d desc -- $parts[1]",
1649.11 s
[opt-env-conf-test] - " else",
1649.11 s
[opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1649.11 s
[opt-env-conf-test] - " compadd -f -l -d desc -- $parts[1]",
1649.11 s
[opt-env-conf-test] - " fi",
1649.11 s
[opt-env-conf-test] - " else",
1649.11 s
[opt-env-conf-test] - " if [[ $parts[3] == 'N' ]]; then",
1649.11 s
[opt-env-conf-test] - " compadd -f -S '' -- $parts[1]",
1649.11 s
[opt-env-conf-test] - " else",
1649.11 s
[opt-env-conf-test] - " compadd -f -- $parts[1]",
1649.11 s
[opt-env-conf-test] - " fi",
1649.11 s
[opt-env-conf-test] - " fi",
1649.11 s
[opt-env-conf-test] - "done"
1649.11 s
[opt-env-conf-test] ]
1649.11 s
[opt-env-conf-test]
1649.11 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1652.86 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1652.86 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1652.94 s
[opt-env-conf-test] @@ -64,46 +64,45 @@
1652.94 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1652.94 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1652.94 s
[opt-env-conf-test] unlines
1652.94 s
[opt-env-conf-test] - [ "#compdef " ++ progname,
1652.94 s
[opt-env-conf-test] "",
1652.94 s
[opt-env-conf-test] "local request",
1652.94 s
[opt-env-conf-test] "local completions",
1652.94 s
[opt-env-conf-test] "local word",
1652.94 s
[opt-env-conf-test] "local index=$((CURRENT - 1))",
1652.94 s
[opt-env-conf-test] "",
1652.94 s
[opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1652.94 s
[opt-env-conf-test] "for arg in ${words[@]}; do",
1652.94 s
[opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
1652.94 s
[opt-env-conf-test] "done",
1652.94 s
[opt-env-conf-test] "",
1652.94 s
[opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1652.94 s
[opt-env-conf-test] "",
1652.94 s
[opt-env-conf-test] "for word in $completions; do",
1652.94 s
[opt-env-conf-test] " local -a parts",
1652.94 s
[opt-env-conf-test] "",
1652.94 s
[opt-env-conf-test] " # Split the line at a tab if there is one.",
1652.94 s
[opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
1652.94 s
[opt-env-conf-test] "",
1652.94 s
[opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
1652.94 s
[opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
1652.94 s
[opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
1652.94 s
[opt-env-conf-test] " compadd -d desc -- $parts[1]",
1652.94 s
[opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
1652.94 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1652.94 s
[opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
1652.94 s
[opt-env-conf-test] " else",
1652.94 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1652.94 s
[opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
1652.94 s
[opt-env-conf-test] " fi",
1652.94 s
[opt-env-conf-test] " else",
1652.94 s
[opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
1652.94 s
[opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
1652.94 s
[opt-env-conf-test] " else",
1652.94 s
[opt-env-conf-test] " compadd -f -- $parts[1]",
1652.95 s
[opt-env-conf-test] " fi",
1652.95 s
[opt-env-conf-test] " fi",
1652.95 s
[opt-env-conf-test] "done"
1652.95 s
[opt-env-conf-test] ]
1652.95 s
[opt-env-conf-test]
1652.95 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1652.95 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1652.95 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1652.95 s
[opt-env-conf-test] @@ -64,46 +64,45 @@
1652.95 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1652.95 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1652.95 s
[opt-env-conf-test] unlines
1652.95 s
[opt-env-conf-test] [ "#compdef " ++ progname,
1652.95 s
[opt-env-conf-test] "",
1652.95 s
[opt-env-conf-test] "local request",
1652.95 s
[opt-env-conf-test] "local completions",
1652.95 s
[opt-env-conf-test] "local word",
1652.95 s
[opt-env-conf-test] "local index=$((CURRENT - 1))",
1652.95 s
[opt-env-conf-test] "",
1652.95 s
[opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1652.95 s
[opt-env-conf-test] "for arg in ${words[@]}; do",
1652.95 s
[opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
1652.95 s
[opt-env-conf-test] "done",
1652.95 s
[opt-env-conf-test] "",
1652.95 s
[opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1652.95 s
[opt-env-conf-test] "",
1652.95 s
[opt-env-conf-test] "for word in $completions; do",
1652.95 s
[opt-env-conf-test] " local -a parts",
1652.95 s
[opt-env-conf-test] "",
1652.95 s
[opt-env-conf-test] " # Split the line at a tab if there is one.",
1652.95 s
[opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
1652.95 s
[opt-env-conf-test] "",
1652.95 s
[opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
1652.95 s
[opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
1652.95 s
[opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
1652.95 s
[opt-env-conf-test] " compadd -d desc -- $parts[1]",
1652.95 s
[opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
1652.95 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1652.95 s
[opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
1652.95 s
[opt-env-conf-test] " else",
1652.95 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1652.95 s
[opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
1652.95 s
[opt-env-conf-test] " fi",
1652.95 s
[opt-env-conf-test] " else",
1652.95 s
[opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
1652.95 s
[opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
1652.95 s
[opt-env-conf-test] " else",
1652.95 s
[opt-env-conf-test] " compadd -f -- $parts[1]",
1652.95 s
[opt-env-conf-test] " fi",
1652.95 s
[opt-env-conf-test] " fi",
1652.95 s
[opt-env-conf-test] - "done"
1652.95 s
[opt-env-conf-test] ]
1652.95 s
[opt-env-conf-test]
1652.95 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1652.95 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1652.95 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1652.95 s
[opt-env-conf-test] @@ -40,22 +40,7 @@
1652.95 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1652.95 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1652.95 s
[opt-env-conf-test] in unlines
1652.95 s
[opt-env-conf-test] - [ functionName ++ "()",
1652.95 s
[opt-env-conf-test] - "{",
1652.95 s
[opt-env-conf-test] - " local CMDLINE",
1652.95 s
[opt-env-conf-test] - " local IFS=$'\\n'",
1652.95 s
[opt-env-conf-test] - " CMDLINE=(--query-opt-env-conf-completion)",
1652.95 s
[opt-env-conf-test] - " CMDLINE+=(--completion-index $COMP_CWORD)",
1652.95 s
[opt-env-conf-test] - "",
1652.95 s
[opt-env-conf-test] - " for arg in ${COMP_WORDS[@]}; do",
1652.95 s
[opt-env-conf-test] - " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1652.95 s
[opt-env-conf-test] - " done",
1652.95 s
[opt-env-conf-test] - "",
1652.95 s
[opt-env-conf-test] - " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1652.95 s
[opt-env-conf-test] - "}",
1652.95 s
[opt-env-conf-test] - "",
1652.95 s
[opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
1652.95 s
[opt-env-conf-test] ]
1652.95 s
[opt-env-conf-test]
1652.95 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1652.95 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1652.95 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1652.95 s
[opt-env-conf-test] @@ -40,22 +40,21 @@
1652.95 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1652.95 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1652.95 s
[opt-env-conf-test] in unlines
1652.95 s
[opt-env-conf-test] - [ functionName ++ "()",
1652.95 s
[opt-env-conf-test] "{",
1652.96 s
[opt-env-conf-test] " local CMDLINE",
1652.96 s
[opt-env-conf-test] " local IFS=$'\\n'",
1652.96 s
[opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
1652.96 s
[opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
1652.96 s
[opt-env-conf-test] "",
1652.96 s
[opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
1652.96 s
[opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1652.96 s
[opt-env-conf-test] " done",
1652.96 s
[opt-env-conf-test] "",
1652.96 s
[opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1652.96 s
[opt-env-conf-test] "}",
1652.96 s
[opt-env-conf-test] "",
1652.96 s
[opt-env-conf-test] "complete -o filenames -F " ++ functionName ++ " " ++ progname
1652.96 s
[opt-env-conf-test] ]
1652.96 s
[opt-env-conf-test]
1652.96 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1652.96 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1652.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1652.96 s
[opt-env-conf-test] @@ -40,22 +40,21 @@
1652.96 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1652.96 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1652.96 s
[opt-env-conf-test] in unlines
1652.96 s
[opt-env-conf-test] [ functionName ++ "()",
1652.96 s
[opt-env-conf-test] "{",
1652.96 s
[opt-env-conf-test] " local CMDLINE",
1652.96 s
[opt-env-conf-test] " local IFS=$'\\n'",
1652.96 s
[opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
1652.96 s
[opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
1652.96 s
[opt-env-conf-test] "",
1652.96 s
[opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
1652.96 s
[opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1652.96 s
[opt-env-conf-test] " done",
1652.96 s
[opt-env-conf-test] "",
1652.96 s
[opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1652.96 s
[opt-env-conf-test] "}",
1652.96 s
[opt-env-conf-test] "",
1652.96 s
[opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
1652.96 s
[opt-env-conf-test] ]
1652.96 s
[opt-env-conf-test]
1652.96 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1652.96 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1652.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1652.96 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1652.96 s
[opt-env-conf-test] ( \Completion {..} ->
1652.96 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1652.96 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1652.96 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1652.96 s
[opt-env-conf-test] (False, Nothing) -> val
1652.96 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1652.96 s
[opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
1652.96 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1652.96 s
[opt-env-conf-test] )
1652.96 s
[opt-env-conf-test] evaluatedCompletions
1652.96 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1652.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1652.96 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1652.96 s
[opt-env-conf-test] ( \Completion {..} ->
1652.96 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1652.96 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1652.96 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1652.96 s
[opt-env-conf-test] (False, Nothing) -> val
1652.96 s
[opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
1652.96 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1652.96 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1652.96 s
[opt-env-conf-test] )
1655.37 s
[opt-env-conf-test] evaluatedCompletions
1655.37 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1655.37 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
1655.38 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1655.38 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1655.38 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1655.38 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1655.38 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc f o rg iv a b l e caps f <$> go p
1655.38 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc F a l s e caps f <$> go p
1655.38 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1655.38 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1655.38 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1655.38 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
1655.38 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1655.38 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1655.38 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1655.38 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1655.38 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc f o r gi v a b l e caps f <$> go p
1655.38 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc T r u e caps f <$> go p
1655.38 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1655.38 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1655.38 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1655.38 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:171:6-14
1655.38 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1655.38 s
[opt-env-conf-test] -- import System.IO
1655.38 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1655.38 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1655.38 s
[opt-env-conf-test] - if enriched
1655.38 s
[opt-env-conf-test] + if n o t ( enriched )
1655.38 s
[opt-env-conf-test] then
1655.38 s
[opt-env-conf-test] putStr $
1655.38 s
[opt-env-conf-test] unlines $
1655.38 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1210:64-74
1655.38 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1655.38 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1655.38 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1655.38 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1655.39 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
1655.39 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc n o t ( forgivable ) caps f <$> go p
1655.39 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1655.39 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1655.39 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1655.39 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
1655.39 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1655.39 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1655.39 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1655.39 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1655.39 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing f o r gi v a b l e caps f (go p)
1655.39 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing T r u e caps f (go p)
1655.39 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1655.39 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1655.39 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1655.39 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
1655.39 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1655.39 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1655.39 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1655.39 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1655.39 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing f o rg iv a b l e caps f (go p)
1655.39 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing F a l s e caps f (go p)
1655.39 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1655.39 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1655.39 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1655.39 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
1655.39 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1655.39 s
[opt-env-conf-test] map
1655.39 s
[opt-env-conf-test] ( \Completion {..} ->
1655.39 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1655.39 s
[opt-env-conf-test] - notFinal = c om plet ionR es u lt Finality comp l e t io nSuggestion == CompletionNotFinal
1655.39 s
[opt-env-conf-test] + notFinal = T r u e
1655.39 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1655.39 s
[opt-env-conf-test] (False, Nothing) -> val
1655.39 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1655.39 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
1655.39 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1655.39 s
[opt-env-conf-test] -- import System.IO
1655.39 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1655.39 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1655.39 s
[opt-env-conf-test] - if e n r iched
1655.39 s
[opt-env-conf-test] + if F a l s e
1655.39 s
[opt-env-conf-test] then
1655.39 s
[opt-env-conf-test] putStr $
1655.39 s
[opt-env-conf-test] unlines $
1655.39 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:179:27-35
1655.39 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1655.40 s
[opt-env-conf-test] ( \Completion {..} ->
1655.40 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1655.40 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1655.40 s
[opt-env-conf-test] - in case (notFinal , completionDescription) of
1655.40 s
[opt-env-conf-test] + in case ( n ot (notFinal ) , completionDescription) of
1655.40 s
[opt-env-conf-test] (False, Nothing) -> val
1655.40 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1655.40 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1655.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1655.40 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1655.40 s
[opt-env-conf-test] ( \Completion {..} ->
1655.40 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1655.40 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1655.40 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1655.40 s
[opt-env-conf-test] (False, Nothing) -> val
1655.40 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1655.40 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1655.40 s
[opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
1655.40 s
[opt-env-conf-test] )
1655.40 s
[opt-env-conf-test] evaluatedCompletions
1655.40 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1655.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1655.40 s
[opt-env-conf-test] @@ -432,11 +432,10 @@
1655.40 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1655.40 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1655.40 s
[opt-env-conf-test] -- completer if we are at the end.
1655.40 s
[opt-env-conf-test] case possibilities of
1655.40 s
[opt-env-conf-test] - [] -> completeWithCompleterAtEnd
1655.40 s
[opt-env-conf-test] (_, as') : _ -> do
1655.40 s
[opt-env-conf-test] put as'
1655.40 s
[opt-env-conf-test] completeWithCompleterAtEnd
1655.40 s
[opt-env-conf-test] else
1655.40 s
[opt-env-conf-test] if isJust settingSwitchValue
1655.40 s
[opt-env-conf-test] then do
1655.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
1655.40 s
[opt-env-conf-test] @@ -700,9 +700,8 @@
1655.40 s
[opt-env-conf-test] [] -> (Nothing, [])
1655.40 s
[opt-env-conf-test] (b : bs) ->
1655.40 s
[opt-env-conf-test] let (mDefault, cs) = go bs
1655.40 s
[opt-env-conf-test] in case b of
1655.40 s
[opt-env-conf-test] - CommandsBuilderCommand c -> (mDefault, c : cs)
1655.40 s
[opt-env-conf-test] CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
1661.09 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1661.12 s
[opt-env-conf-test]
1661.12 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
1661.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
1661.12 s
[opt-env-conf-test] @@ -700,9 +700,8 @@
1661.12 s
[opt-env-conf-test] [] -> (Nothing, [])
1661.12 s
[opt-env-conf-test] (b : bs) ->
1661.12 s
[opt-env-conf-test] let (mDefault, cs) = go bs
1661.12 s
[opt-env-conf-test] in case b of
1661.12 s
[opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
1661.12 s
[opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
1661.12 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1661.12 s
[opt-env-conf-test]
1661.12 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
1661.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
1661.12 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1661.12 s
[opt-env-conf-test] ( \Completion {..} ->
1661.12 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1661.12 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1661.12 s
[opt-env-conf-test] - in case ( n o t F i n al , completionDescription) of
1661.12 s
[opt-env-conf-test] + in case ( F al s e , completionDescription) of
1661.12 s
[opt-env-conf-test] (False, Nothing) -> val
1661.12 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1661.12 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1661.12 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:426:35-35
1661.12 s
[opt-env-conf-test] @@ -423,9 +423,8 @@
1661.12 s
[opt-env-conf-test] -- that over the "don't consume" fallback, because a
1661.12 s
[opt-env-conf-test] -- consumed value means the user already provided input.
1661.12 s
[opt-env-conf-test] case filter (isJust . fst) possibilities of
1661.12 s
[opt-env-conf-test] (_, as') : _ -> do
1661.12 s
[opt-env-conf-test] - put as'
1661.12 s
[opt-env-conf-test] pure $ Just []
1661.12 s
[opt-env-conf-test] [] ->
1661.12 s
[opt-env-conf-test] -- No possibility consumed a value. This is either
1661.12 s
[opt-env-conf-test] -- because there are no args at all (the [] case from
1661.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
1661.13 s
[opt-env-conf-test] @@ -671,9 +671,8 @@
1661.13 s
[opt-env-conf-test] checkMapMaybeForgivable func p =
1661.13 s
[opt-env-conf-test] withFrozenCallStack $
1661.13 s
[opt-env-conf-test] checkMapEitherForgivable
1661.13 s
[opt-env-conf-test] ( \a -> case func a of
1661.13 s
[opt-env-conf-test] - Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
1661.13 s
[opt-env-conf-test] Just b -> Right b
1661.13 s
[opt-env-conf-test] )
1661.13 s
[opt-env-conf-test] p
1661.13 s
[opt-env-conf-test]
1661.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1661.13 s
[opt-env-conf-test] @@ -432,11 +432,8 @@
1661.13 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1661.13 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1661.13 s
[opt-env-conf-test] -- completer if we are at the end.
1661.13 s
[opt-env-conf-test] case possibilities of
1661.13 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
1661.13 s
[opt-env-conf-test] - (_, as') : _ -> do
1661.13 s
[opt-env-conf-test] - put as'
1661.13 s
[opt-env-conf-test] - completeWithCompleterAtEnd
1661.13 s
[opt-env-conf-test] else
1661.13 s
[opt-env-conf-test] if isJust settingSwitchValue
1661.13 s
[opt-env-conf-test] then do
1661.13 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
1661.13 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1661.13 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1661.13 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1661.13 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1661.13 s
[opt-env-conf-test] - ParserCheck mLoc' f o r gi v a b l e (Set.insert cap caps) f p
1661.13 s
[opt-env-conf-test] + ParserCheck mLoc' T r u e (Set.insert cap caps) f p
1661.13 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1661.13 s
[opt-env-conf-test] where
1661.13 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1661.13 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:418:16-34
1661.13 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1661.13 s
[opt-env-conf-test] then pure $ Just []
1661.13 s
[opt-env-conf-test] else do
1661.13 s
[opt-env-conf-test] as <- get
1661.13 s
[opt-env-conf-test] - if settingTryArgument
1661.13 s
[opt-env-conf-test] + if n o t ( settingTryArgument )
1661.13 s
[opt-env-conf-test] then do
1661.14 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1661.14 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1661.14 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
1661.14 s
[opt-env-conf-test] @@ -434,9 +434,8 @@
1661.14 s
[opt-env-conf-test] -- completer if we are at the end.
1661.14 s
[opt-env-conf-test] case possibilities of
1661.14 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
1661.14 s
[opt-env-conf-test] (_, as') : _ -> do
1661.14 s
[opt-env-conf-test] - put as'
1661.14 s
[opt-env-conf-test] completeWithCompleterAtEnd
1661.14 s
[opt-env-conf-test] else
1661.14 s
[opt-env-conf-test] if isJust settingSwitchValue
1661.14 s
[opt-env-conf-test] then do
1661.14 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
1661.14 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1661.14 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1661.14 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1661.14 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1661.14 s
[opt-env-conf-test] - ParserCheck mLoc' f o rg iv a b l e (Set.insert cap caps) f p
1661.14 s
[opt-env-conf-test] + ParserCheck mLoc' F a l s e (Set.insert cap caps) f p
1661.14 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1661.14 s
[opt-env-conf-test] where
1661.14 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1661.14 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:663:23-33
1661.14 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1661.14 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1661.14 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1661.14 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1661.14 s
[opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
1661.14 s
[opt-env-conf-test] + ParserCheck mLoc' n o t ( forgivable ) (Set.insert cap caps) f p
1661.14 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1661.14 s
[opt-env-conf-test] where
1661.14 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1661.15 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:686:41-45
1661.15 s
[opt-env-conf-test] @@ -683,7 +683,7 @@
1661.15 s
[opt-env-conf-test]
1661.15 s
[opt-env-conf-test] -- | Like 'checkMapIO', but allow trying the other side of any alternative if the result is Nothing.
1661.15 s
[opt-env-conf-test] checkMapIOForgivable :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
1661.15 s
[opt-env-conf-test] - checkMapIOForgivable = ParserCheck mLoc Tr u e Set.empty
1661.15 s
[opt-env-conf-test] + checkMapIOForgivable = ParserCheck mLoc F a ls e Set.empty
1661.15 s
[opt-env-conf-test] where
1661.15 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1661.15 s
[opt-env-conf-test]
1661.15 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1173:64-74
1661.15 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1661.15 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1661.15 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1661.15 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1661.15 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
1661.15 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing n o t ( forgivable ) caps f (go p)
1661.15 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1661.15 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1661.15 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1661.15 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:705:57-63
1661.15 s
[opt-env-conf-test] @@ -702,7 +702,7 @@
1661.15 s
[opt-env-conf-test] let (mDefault, cs) = go bs
1661.15 s
[opt-env-conf-test] in case b of
1661.15 s
[opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
1661.15 s
[opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> J u s t d , cs)
1661.15 s
[opt-env-conf-test] + CommandsBuilderDefault d -> (mDefault <|> No t h ing , cs)
1661.15 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1661.15 s
[opt-env-conf-test]
1661.16 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
1661.16 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
1661.16 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1661.16 s
[opt-env-conf-test] map
1661.16 s
[opt-env-conf-test] ( \Completion {..} ->
1661.16 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1668.35 s
[opt-env-conf-test] - notFinal = c o mp leti onResult F in al it y co mpletio nSug ge s ti on == Co mp l e t ionN otFinal
1668.38 s
[opt-env-conf-test] + notFinal = F al s e
1668.38 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1668.38 s
[opt-env-conf-test] (False, Nothing) -> val
1668.38 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1668.38 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1668.38 s
[opt-env-conf-test] @@ -1016,13 +1016,12 @@
1668.38 s
[opt-env-conf-test] withFrozenCallStack $
1668.38 s
[opt-env-conf-test] choice $
1668.38 s
[opt-env-conf-test] catMaybes
1668.38 s
[opt-env-conf-test] - [ bareOption,
1668.38 s
[opt-env-conf-test] fileOption,
1668.38 s
[opt-env-conf-test] bareEnv,
1668.38 s
[opt-env-conf-test] fileEnv,
1668.38 s
[opt-env-conf-test] bareConf,
1668.38 s
[opt-env-conf-test] fileConf
1668.38 s
[opt-env-conf-test] ]
1668.38 s
[opt-env-conf-test] where
1668.38 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1668.38 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1668.38 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
1668.38 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1668.38 s
[opt-env-conf-test] ( \Completion {..} ->
1668.38 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1668.38 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1668.38 s
[opt-env-conf-test] - in case ( n o t Fin a l , completionDescription) of
1668.38 s
[opt-env-conf-test] + in case ( T ru e , completionDescription) of
1668.38 s
[opt-env-conf-test] (False, Nothing) -> val
1668.38 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1668.38 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1668.38 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1668.38 s
[opt-env-conf-test] @@ -1016,13 +1016,12 @@
1668.38 s
[opt-env-conf-test] withFrozenCallStack $
1668.38 s
[opt-env-conf-test] choice $
1668.38 s
[opt-env-conf-test] catMaybes
1668.38 s
[opt-env-conf-test] [ bareOption,
1668.38 s
[opt-env-conf-test] fileOption,
1668.38 s
[opt-env-conf-test] bareEnv,
1668.38 s
[opt-env-conf-test] fileEnv,
1668.38 s
[opt-env-conf-test] bareConf,
1668.38 s
[opt-env-conf-test] - fileConf
1668.38 s
[opt-env-conf-test] ]
1668.38 s
[opt-env-conf-test] where
1668.38 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1668.38 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1668.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1668.39 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1668.39 s
[opt-env-conf-test] ( \Completion {..} ->
1668.39 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1668.39 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1668.39 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1668.39 s
[opt-env-conf-test] - (False, Nothing) -> val
1668.39 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1668.39 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1668.39 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1668.39 s
[opt-env-conf-test] )
1668.39 s
[opt-env-conf-test] evaluatedCompletions
1668.39 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1668.39 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1668.39 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1668.39 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1668.39 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1668.39 s
[opt-env-conf-test] bareSetting p f = do
1668.39 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1668.39 s
[opt-env-conf-test] guard $ p s
1668.39 s
[opt-env-conf-test] pure $
1668.39 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1668.39 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1668.39 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1668.39 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1668.39 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1668.39 s
[opt-env-conf-test] bareSetting p f = do
1668.39 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1668.39 s
[opt-env-conf-test] guard $ p s
1668.39 s
[opt-env-conf-test] pure $
1668.39 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1668.39 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1668.39 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1668.39 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1668.39 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1668.39 s
[opt-env-conf-test] bareSetting p f = do
1668.39 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1668.39 s
[opt-env-conf-test] guard $ p s
1668.39 s
[opt-env-conf-test] pure $
1668.39 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1668.39 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
1668.39 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1668.39 s
[opt-env-conf-test] -- import System.IO
1668.39 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1668.39 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1668.39 s
[opt-env-conf-test] - if e n r i ch e d
1668.39 s
[opt-env-conf-test] + if T r u e
1668.39 s
[opt-env-conf-test] then
1668.39 s
[opt-env-conf-test] putStr $
1668.39 s
[opt-env-conf-test] unlines $
1668.39 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1055:12-18
1668.39 s
[opt-env-conf-test] @@ -1052,7 +1052,7 @@
1668.39 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1668.39 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1668.39 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1668.39 s
[opt-env-conf-test] - i -> J us t i
1668.39 s
[opt-env-conf-test] + i -> N o t h i ng
1668.39 s
[opt-env-conf-test] fileOption = fileSetting settingTryOption $ \case
1668.39 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1668.39 s
[opt-env-conf-test] BuildAddShort _ -> Nothing
1668.39 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1072:12-18
1668.39 s
[opt-env-conf-test] @@ -1069,7 +1069,7 @@
1668.39 s
[opt-env-conf-test] BuildAddEnv v -> Just $ BuildAddEnv v
1668.39 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1668.39 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1668.39 s
[opt-env-conf-test] - i -> J us t i
1668.39 s
[opt-env-conf-test] + i -> N o t h i ng
1668.39 s
[opt-env-conf-test] fileEnv = fileSetting (isJust . settingEnvVars) $ \case
1668.40 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1668.40 s
[opt-env-conf-test] BuildTryOption -> Nothing
1668.40 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
1668.40 s
[opt-env-conf-test] @@ -160,7 +160,7 @@
1668.40 s
[opt-env-conf-test] --
1668.40 s
[opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
1668.40 s
[opt-env-conf-test] let index = pred index'
1668.40 s
[opt-env-conf-test] - let ws = drop 1 ws'
1668.40 s
[opt-env-conf-test] + let ws = drop - 1 ws'
1668.40 s
[opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
1668.40 s
[opt-env-conf-test] let completions = pureCompletionQuery parser index ws
1668.40 s
[opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
1668.40 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1093:12-18
1668.40 s
[opt-env-conf-test] @@ -1090,7 +1090,7 @@
1668.40 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1668.40 s
[opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf k
1668.40 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1668.40 s
[opt-env-conf-test] - i -> J us t i
1668.40 s
[opt-env-conf-test] + i -> N o t h i ng
1668.40 s
[opt-env-conf-test] fileConf = fileSetting (isJust . settingConfigVals) $ \case
1668.40 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1668.40 s
[opt-env-conf-test] BuildTryOption -> Nothing
1668.40 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1668.40 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1668.40 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1668.40 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1668.40 s
[opt-env-conf-test] fileSetting p f = do
1668.40 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1668.40 s
[opt-env-conf-test] guard $ p s
1668.40 s
[opt-env-conf-test] pure $
1668.40 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1668.40 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
1668.40 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1668.40 s
[opt-env-conf-test] then pure $ Just []
1668.40 s
[opt-env-conf-test] else do
1668.40 s
[opt-env-conf-test] as <- get
1668.40 s
[opt-env-conf-test] - if se tt ingTr yArgument
1668.40 s
[opt-env-conf-test] + if F a l se
1668.40 s
[opt-env-conf-test] then do
1668.40 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1668.40 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1668.40 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1668.40 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1668.40 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1668.40 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1668.40 s
[opt-env-conf-test] fileSetting p f = do
1668.40 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1668.40 s
[opt-env-conf-test] guard $ p s
1668.40 s
[opt-env-conf-test] pure $
1668.40 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1668.40 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1668.40 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1668.40 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1668.40 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1668.40 s
[opt-env-conf-test] fileSetting p f = do
1668.40 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1668.40 s
[opt-env-conf-test] guard $ p s
1668.40 s
[opt-env-conf-test] pure $
1668.40 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1668.40 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1063:12-18
1668.40 s
[opt-env-conf-test] @@ -1060,7 +1060,7 @@
1668.40 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1668.40 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1668.40 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1673.83 s
[opt-env-conf-test] - i -> J us t i
1673.83 s
[opt-env-conf-test] + i -> N o t h i ng
1673.85 s
[opt-env-conf-test] bareEnv = bareSetting (isJust . settingEnvVars) $ \case
1673.85 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1673.85 s
[opt-env-conf-test] BuildTryOption -> Nothing
1673.85 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1084:12-18
1673.85 s
[opt-env-conf-test] @@ -1081,7 +1081,7 @@
1673.85 s
[opt-env-conf-test] suffixEnvVarSetting "_FILE" e
1673.85 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1673.85 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1673.85 s
[opt-env-conf-test] - i -> J us t i
1673.85 s
[opt-env-conf-test] + i -> N o t h i ng
1673.85 s
[opt-env-conf-test] bareConf = bareSetting (isJust . settingConfigVals) $ \case
1673.86 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1673.86 s
[opt-env-conf-test] BuildTryOption -> Nothing
1673.86 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1102:12-18
1673.86 s
[opt-env-conf-test] @@ -1099,7 +1099,7 @@
1673.86 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1673.86 s
[opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf $ suffixConfigValSettingKey "-file" k
1673.86 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1673.86 s
[opt-env-conf-test] - i -> J us t i
1673.86 s
[opt-env-conf-test] + i -> N o t h i ng
1673.86 s
[opt-env-conf-test]
1673.86 s
[opt-env-conf-test] -- | Prefix all 'long's and 'short's with a given 'String'.
1673.86 s
[opt-env-conf-test] {-# ANN subArgs ("NOCOVER" :: String) #-}
1673.86 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:563:72-117
1673.86 s
[opt-env-conf-test] @@ -560,7 +560,7 @@
1673.86 s
[opt-env-conf-test] ParserCommands {} -> p'
1673.86 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1673.86 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1673.86 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = J u st (defau ltValu e, s h o w Default defa ul t V alu e ) }
1673.86 s
[opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = N o t h in g }
1673.86 s
[opt-env-conf-test] Just _ -> p
1673.86 s
[opt-env-conf-test]
1673.86 s
[opt-env-conf-test] -- | Try a list of parsers in order
1673.86 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1673.86 s
[opt-env-conf-test] @@ -1016,13 +1016,7 @@
1673.86 s
[opt-env-conf-test] withFrozenCallStack $
1673.86 s
[opt-env-conf-test] choice $
1673.86 s
[opt-env-conf-test] catMaybes
1673.86 s
[opt-env-conf-test] - [ bareOption,
1673.86 s
[opt-env-conf-test] - fileOption,
1673.86 s
[opt-env-conf-test] - bareEnv,
1673.86 s
[opt-env-conf-test] - fileEnv,
1673.86 s
[opt-env-conf-test] - bareConf,
1673.86 s
[opt-env-conf-test] - fileConf
1673.86 s
[opt-env-conf-test] ]
1673.86 s
[opt-env-conf-test] where
1673.86 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1673.86 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1673.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
1673.86 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
1673.86 s
[opt-env-conf-test] checkMapMaybe func p =
1673.86 s
[opt-env-conf-test] withFrozenCallStack $
1673.86 s
[opt-env-conf-test] checkMapEither
1673.86 s
[opt-env-conf-test] ( \a -> case func a of
1673.86 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
1673.86 s
[opt-env-conf-test] - Just b -> Right b
1673.86 s
[opt-env-conf-test] )
1673.86 s
[opt-env-conf-test] p
1673.86 s
[opt-env-conf-test]
1673.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
1673.86 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
1673.86 s
[opt-env-conf-test] checkMapMaybe func p =
1673.86 s
[opt-env-conf-test] withFrozenCallStack $
1673.86 s
[opt-env-conf-test] checkMapEither
1673.86 s
[opt-env-conf-test] ( \a -> case func a of
1673.86 s
[opt-env-conf-test] - Nothing -> Left "checkMapMaybe failed without a helpful error message"
1673.86 s
[opt-env-conf-test] Just b -> Right b
1673.86 s
[opt-env-conf-test] )
1673.86 s
[opt-env-conf-test] p
1673.86 s
[opt-env-conf-test]
1673.86 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:618:31-36
1673.86 s
[opt-env-conf-test] @@ -615,7 +615,7 @@
1673.86 s
[opt-env-conf-test]
1673.86 s
[opt-env-conf-test] -- | Check a 'Parser' after the fact, allowing IO.
1673.86 s
[opt-env-conf-test] checkMapIO :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
1673.86 s
[opt-env-conf-test] - checkMapIO = ParserCheck mLoc F al s e Set.empty
1673.86 s
[opt-env-conf-test] + checkMapIO = ParserCheck mLoc T ru e Set.empty
1673.86 s
[opt-env-conf-test] where
1673.86 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1673.86 s
[opt-env-conf-test]
1673.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1673.86 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1673.86 s
[opt-env-conf-test] where
1673.86 s
[opt-env-conf-test] go p =
1673.86 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1673.86 s
[opt-env-conf-test] in case p of
1673.86 s
[opt-env-conf-test] - ParserPure a -> ParserPure a
1673.86 s
[opt-env-conf-test] ParserAp {} -> p'
1673.86 s
[opt-env-conf-test] ParserSelect {} -> p'
1673.86 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1673.86 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1673.86 s
[opt-env-conf-test] ParserMany {} -> p'
1673.86 s
[opt-env-conf-test] ParserSome {} -> p'
1673.86 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1673.86 s
[opt-env-conf-test] ParserCheck {} -> p'
1673.86 s
[opt-env-conf-test] ParserCommands {} -> p'
1673.86 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1673.86 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1673.86 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1673.86 s
[opt-env-conf-test] Just _ -> p
1673.86 s
[opt-env-conf-test]
1673.86 s
[opt-env-conf-test] -- | Try a list of parsers in order
1673.86 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1673.86 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:664:25-30
1673.86 s
[opt-env-conf-test] @@ -661,7 +661,7 @@
1673.86 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1673.86 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1673.86 s
[opt-env-conf-test] ParserCheck mLoc' forgivable (Set.insert cap caps) f p
1673.86 s
[opt-env-conf-test] - p -> ParserCheck mLoc F al s e (Set.singleton cap) (pure . Right) p
1673.86 s
[opt-env-conf-test] + p -> ParserCheck mLoc T ru e (Set.singleton cap) (pure . Right) p
1673.86 s
[opt-env-conf-test] where
1673.86 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1673.86 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1673.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1673.86 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1673.86 s
[opt-env-conf-test] where
1673.86 s
[opt-env-conf-test] go p =
1673.86 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1673.86 s
[opt-env-conf-test] in case p of
1673.86 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1673.86 s
[opt-env-conf-test] - ParserAp {} -> p'
1673.86 s
[opt-env-conf-test] ParserSelect {} -> p'
1673.86 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1673.86 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1673.86 s
[opt-env-conf-test] ParserMany {} -> p'
1673.86 s
[opt-env-conf-test] ParserSome {} -> p'
1673.86 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1673.86 s
[opt-env-conf-test] ParserCheck {} -> p'
1673.86 s
[opt-env-conf-test] ParserCommands {} -> p'
1673.86 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1673.86 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1673.86 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1673.87 s
[opt-env-conf-test] Just _ -> p
1673.87 s
[opt-env-conf-test]
1673.87 s
[opt-env-conf-test] -- | Try a list of parsers in order
1673.87 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1673.87 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:178:32-99
1673.87 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1673.87 s
[opt-env-conf-test] map
1673.87 s
[opt-env-conf-test] ( \Completion {..} ->
1673.87 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1673.87 s
[opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1673.87 s
[opt-env-conf-test] + notFinal = n o t ( completionResultFinality completionSuggestion == CompletionNotFinal )
1673.87 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1673.87 s
[opt-env-conf-test] (False, Nothing) -> val
1673.87 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1673.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
1673.87 s
[opt-env-conf-test] @@ -671,9 +671,8 @@
1673.87 s
[opt-env-conf-test] checkMapMaybeForgivable func p =
1673.87 s
[opt-env-conf-test] withFrozenCallStack $
1673.87 s
[opt-env-conf-test] checkMapEitherForgivable
1673.87 s
[opt-env-conf-test] ( \a -> case func a of
1673.87 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
1673.87 s
[opt-env-conf-test] - Just b -> Right b
1673.87 s
[opt-env-conf-test] )
1673.87 s
[opt-env-conf-test] p
1673.87 s
[opt-env-conf-test]
1673.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1673.87 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1673.87 s
[opt-env-conf-test] where
1673.87 s
[opt-env-conf-test] go p =
1673.87 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1673.87 s
[opt-env-conf-test] in case p of
1673.87 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1673.87 s
[opt-env-conf-test] ParserAp {} -> p'
1673.87 s
[opt-env-conf-test] ParserSelect {} -> p'
1673.87 s
[opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
1673.87 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1673.87 s
[opt-env-conf-test] ParserMany {} -> p'
1673.87 s
[opt-env-conf-test] ParserSome {} -> p'
1673.87 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1673.87 s
[opt-env-conf-test] ParserCheck {} -> p'
1673.87 s
[opt-env-conf-test] ParserCommands {} -> p'
1673.87 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1673.87 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1673.87 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1673.87 s
[opt-env-conf-test] Just _ -> p
1673.87 s
[opt-env-conf-test]
1673.87 s
[opt-env-conf-test] -- | Try a list of parsers in order
1673.87 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1673.87 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:350:59-75
1673.87 s
[opt-env-conf-test] @@ -347,7 +347,7 @@
1673.87 s
[opt-env-conf-test] ( \Command {..} ->
1679.84 s
[opt-env-conf-test] Completion
1679.86 s
[opt-env-conf-test] { completionSuggestion = SuggestionBare commandArg,
1679.86 s
[opt-env-conf-test] - completionDescription = J u st c o mma n d Help
1679.87 s
[opt-env-conf-test] + completionDescription = N o t hi n g
1679.87 s
[opt-env-conf-test] }
1679.87 s
[opt-env-conf-test] )
1679.87 s
[opt-env-conf-test] matchingCommands
1679.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1679.87 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1679.87 s
[opt-env-conf-test] where
1679.87 s
[opt-env-conf-test] go p =
1679.87 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1679.87 s
[opt-env-conf-test] in case p of
1679.87 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1679.87 s
[opt-env-conf-test] ParserAp {} -> p'
1679.87 s
[opt-env-conf-test] ParserSelect {} -> p'
1679.87 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1679.87 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1679.87 s
[opt-env-conf-test] - ParserMany {} -> p'
1679.87 s
[opt-env-conf-test] ParserSome {} -> p'
1679.87 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1679.88 s
[opt-env-conf-test] ParserCheck {} -> p'
1679.88 s
[opt-env-conf-test] ParserCommands {} -> p'
1679.88 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1679.88 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1679.88 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1679.88 s
[opt-env-conf-test] Just _ -> p
1679.88 s
[opt-env-conf-test]
1679.88 s
[opt-env-conf-test] -- | Try a list of parsers in order
1679.88 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1679.88 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:428:28-35
1679.88 s
[opt-env-conf-test] @@ -425,7 +425,7 @@
1679.88 s
[opt-env-conf-test] case filter (isJust . fst) possibilities of
1679.88 s
[opt-env-conf-test] (_, as') : _ -> do
1679.88 s
[opt-env-conf-test] put as'
1679.88 s
[opt-env-conf-test] - pure $ J u s t [ ]
1679.88 s
[opt-env-conf-test] + pure $ No t h ing
1679.88 s
[opt-env-conf-test] [] ->
1679.88 s
[opt-env-conf-test] -- No possibility consumed a value. This is either
1679.88 s
[opt-env-conf-test] -- because there are no args at all (the [] case from
1679.88 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:315:30-37
1679.88 s
[opt-env-conf-test] @@ -312,7 +312,7 @@
1679.88 s
[opt-env-conf-test] -- Just [] means "no completions"
1679.88 s
[opt-env-conf-test] go :: Parser a -> State Args (Maybe [Completion Suggestion])
1679.88 s
[opt-env-conf-test] go = \case
1679.88 s
[opt-env-conf-test] - ParserPure _ -> pure $ J u s t [ ]
1679.88 s
[opt-env-conf-test] + ParserPure _ -> pure $ No t h ing
1679.88 s
[opt-env-conf-test] -- Parse both and combine the result
1679.88 s
[opt-env-conf-test] ParserAp p1 p2 -> andCompletions p1 p2
1679.88 s
[opt-env-conf-test] -- Parse either: either completions are valid
1679.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1679.88 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1679.89 s
[opt-env-conf-test] where
1679.89 s
[opt-env-conf-test] go p =
1679.89 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1679.89 s
[opt-env-conf-test] in case p of
1679.89 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1679.89 s
[opt-env-conf-test] ParserAp {} -> p'
1679.89 s
[opt-env-conf-test] ParserSelect {} -> p'
1679.89 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1679.89 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1679.89 s
[opt-env-conf-test] ParserMany {} -> p'
1679.89 s
[opt-env-conf-test] ParserSome {} -> p'
1679.89 s
[opt-env-conf-test] - ParserAllOrNothing {} -> p'
1679.89 s
[opt-env-conf-test] ParserCheck {} -> p'
1679.89 s
[opt-env-conf-test] ParserCommands {} -> p'
1679.89 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1679.89 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1679.89 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1679.89 s
[opt-env-conf-test] Just _ -> p
1679.89 s
[opt-env-conf-test]
1679.89 s
[opt-env-conf-test] -- | Try a list of parsers in order
1679.89 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1679.89 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:288:43-50
1679.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1679.89 s
[opt-env-conf-test] -- further), prefer our completions which came
1679.89 s
[opt-env-conf-test] -- from the advancing iteration.
1679.89 s
[opt-env-conf-test] | null os -> pure $ Just more
1679.89 s
[opt-env-conf-test] - | otherwise -> pure $ J u st o s
1679.89 s
[opt-env-conf-test] + | otherwise -> pure $ N o th ing
1679.89 s
[opt-env-conf-test]
1679.89 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1679.89 s
[opt-env-conf-test] orCompletions p1 p2 = do
1679.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:287:23-30
1679.90 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1679.90 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1679.90 s
[opt-env-conf-test] -- further), prefer our completions which came
1679.90 s
[opt-env-conf-test] -- from the advancing iteration.
1679.90 s
[opt-env-conf-test] - | null os -> pure $ Just more
1679.90 s
[opt-env-conf-test] + | n o t ( null os ) -> pure $ Just more
1679.90 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1679.90 s
[opt-env-conf-test]
1679.90 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1679.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1679.90 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1679.90 s
[opt-env-conf-test] where
1679.90 s
[opt-env-conf-test] go p =
1679.90 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1679.90 s
[opt-env-conf-test] in case p of
1679.90 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1679.90 s
[opt-env-conf-test] ParserAp {} -> p'
1679.90 s
[opt-env-conf-test] ParserSelect {} -> p'
1679.90 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1679.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1679.90 s
[opt-env-conf-test] ParserMany {} -> p'
1679.90 s
[opt-env-conf-test] ParserSome {} -> p'
1679.90 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1679.90 s
[opt-env-conf-test] ParserCheck {} -> p'
1679.90 s
[opt-env-conf-test] - ParserCommands {} -> p'
1679.90 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1679.90 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1679.90 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1679.90 s
[opt-env-conf-test] Just _ -> p
1679.90 s
[opt-env-conf-test]
1679.90 s
[opt-env-conf-test] -- | Try a list of parsers in order
1679.90 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1679.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1679.90 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1679.90 s
[opt-env-conf-test] where
1679.90 s
[opt-env-conf-test] go p =
1679.90 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1679.90 s
[opt-env-conf-test] in case p of
1679.90 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1679.91 s
[opt-env-conf-test] ParserAp {} -> p'
1679.91 s
[opt-env-conf-test] ParserSelect {} -> p'
1679.91 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1679.91 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1679.91 s
[opt-env-conf-test] ParserMany {} -> p'
1679.91 s
[opt-env-conf-test] ParserSome {} -> p'
1679.91 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1679.91 s
[opt-env-conf-test] ParserCheck {} -> p'
1679.91 s
[opt-env-conf-test] ParserCommands {} -> p'
1679.91 s
[opt-env-conf-test] - ParserWithConfig {} -> p'
1679.91 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1679.91 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1679.91 s
[opt-env-conf-test] Just _ -> p
1679.91 s
[opt-env-conf-test]
1679.91 s
[opt-env-conf-test] -- | Try a list of parsers in order
1679.91 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1679.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1679.91 s
[opt-env-conf-test] @@ -547,21 +547,18 @@
1679.91 s
[opt-env-conf-test] where
1679.91 s
[opt-env-conf-test] go p =
1679.91 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1679.91 s
[opt-env-conf-test] in case p of
1679.91 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1679.91 s
[opt-env-conf-test] ParserAp {} -> p'
1679.91 s
[opt-env-conf-test] ParserSelect {} -> p'
1679.91 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1679.91 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1679.91 s
[opt-env-conf-test] ParserMany {} -> p'
1679.91 s
[opt-env-conf-test] ParserSome {} -> p'
1679.91 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1679.91 s
[opt-env-conf-test] ParserCheck {} -> p'
1679.91 s
[opt-env-conf-test] ParserCommands {} -> p'
1679.91 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1679.91 s
[opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
1679.91 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1679.91 s
[opt-env-conf-test] - Just _ -> p
1679.91 s
[opt-env-conf-test]
1679.91 s
[opt-env-conf-test] -- | Try a list of parsers in order
1679.91 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1679.92 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:877:11-26
1679.92 s
[opt-env-conf-test] @@ -874,7 +874,7 @@
1679.92 s
[opt-env-conf-test] withFrozenCallStack $
1679.92 s
[opt-env-conf-test] choice $
1679.92 s
[opt-env-conf-test] catMaybes
1679.92 s
[opt-env-conf-test] - [ J us t pars eDumm y ,
1679.92 s
[opt-env-conf-test] + [ N o t hin g ,
1679.92 s
[opt-env-conf-test] Just parseDisableSwitch,
1679.92 s
[opt-env-conf-test] Just parseEnableSwitch,
1679.92 s
[opt-env-conf-test] parseEnv,
1679.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1679.92 s
[opt-env-conf-test] @@ -874,13 +874,7 @@
1679.92 s
[opt-env-conf-test] withFrozenCallStack $
1679.92 s
[opt-env-conf-test] choice $
1679.92 s
[opt-env-conf-test] catMaybes
1679.92 s
[opt-env-conf-test] - [ Just parseDummy,
1685.74 s
[opt-env-conf-test] - Just parseDisableSwitch,
1685.77 s
[opt-env-conf-test] - Just parseEnableSwitch,
1685.77 s
[opt-env-conf-test] - parseEnv,
1685.77 s
[opt-env-conf-test] - parseConfigVal,
1685.77 s
[opt-env-conf-test] - parseDefaultVal
1685.77 s
[opt-env-conf-test] ]
1685.77 s
[opt-env-conf-test] where
1685.77 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1685.77 s
[opt-env-conf-test] s = buildSetting builders
1685.77 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:879:11-33
1685.77 s
[opt-env-conf-test] @@ -876,7 +876,7 @@
1685.77 s
[opt-env-conf-test] catMaybes
1685.77 s
[opt-env-conf-test] [ Just parseDummy,
1685.77 s
[opt-env-conf-test] Just parseDisableSwitch,
1685.77 s
[opt-env-conf-test] - J u s t parse E n a b leS wit c h ,
1685.78 s
[opt-env-conf-test] + No t h i n g ,
1685.78 s
[opt-env-conf-test] parseEnv,
1685.78 s
[opt-env-conf-test] parseConfigVal,
1685.78 s
[opt-env-conf-test] parseDefaultVal
1685.78 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1685.78 s
[opt-env-conf-test] @@ -874,13 +874,12 @@
1685.78 s
[opt-env-conf-test] withFrozenCallStack $
1685.78 s
[opt-env-conf-test] choice $
1685.78 s
[opt-env-conf-test] catMaybes
1685.78 s
[opt-env-conf-test] [ Just parseDummy,
1685.78 s
[opt-env-conf-test] Just parseDisableSwitch,
1685.78 s
[opt-env-conf-test] Just parseEnableSwitch,
1685.78 s
[opt-env-conf-test] parseEnv,
1685.78 s
[opt-env-conf-test] parseConfigVal,
1685.78 s
[opt-env-conf-test] - parseDefaultVal
1685.78 s
[opt-env-conf-test] ]
1685.78 s
[opt-env-conf-test] where
1685.78 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1685.78 s
[opt-env-conf-test] s = buildSetting builders
1685.78 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1685.78 s
[opt-env-conf-test] @@ -874,13 +874,12 @@
1685.78 s
[opt-env-conf-test] withFrozenCallStack $
1685.78 s
[opt-env-conf-test] choice $
1685.78 s
[opt-env-conf-test] catMaybes
1685.78 s
[opt-env-conf-test] - [ Just parseDummy,
1685.78 s
[opt-env-conf-test] Just parseDisableSwitch,
1685.78 s
[opt-env-conf-test] Just parseEnableSwitch,
1685.78 s
[opt-env-conf-test] parseEnv,
1685.78 s
[opt-env-conf-test] parseConfigVal,
1685.78 s
[opt-env-conf-test] parseDefaultVal
1685.78 s
[opt-env-conf-test] ]
1685.78 s
[opt-env-conf-test] where
1685.78 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1685.78 s
[opt-env-conf-test] s = buildSetting builders
1685.78 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
1685.78 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1685.78 s
[opt-env-conf-test] ParserCheck {} -> p'
1685.78 s
[opt-env-conf-test] ParserCommands {} -> p'
1685.78 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1685.79 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1685.79 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1685.79 s
[opt-env-conf-test] - Just _ -> p
1685.79 s
[opt-env-conf-test]
1685.79 s
[opt-env-conf-test] -- | Try a list of parsers in order
1685.79 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1685.79 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:878:11-34
1685.79 s
[opt-env-conf-test] @@ -875,7 +875,7 @@
1685.79 s
[opt-env-conf-test] choice $
1685.79 s
[opt-env-conf-test] catMaybes
1685.79 s
[opt-env-conf-test] [ Just parseDummy,
1685.79 s
[opt-env-conf-test] - J u st pa rseDis ab leS wi t c h ,
1685.79 s
[opt-env-conf-test] + No t h in g ,
1685.79 s
[opt-env-conf-test] Just parseEnableSwitch,
1685.79 s
[opt-env-conf-test] parseEnv,
1685.79 s
[opt-env-conf-test] parseConfigVal,
1685.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
1685.79 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1685.79 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1685.79 s
[opt-env-conf-test] parseDefaultVal = do
1685.79 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1685.79 s
[opt-env-conf-test] - pure $ pure d v
1685.79 s
[opt-env-conf-test] + pure $ pure T rue
1685.79 s
[opt-env-conf-test]
1685.79 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1685.79 s
[opt-env-conf-test] parseEnableSwitch =
1685.79 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1685.79 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1685.79 s
[opt-env-conf-test] where
1685.79 s
[opt-env-conf-test] go p =
1685.79 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1685.79 s
[opt-env-conf-test] in case p of
1685.79 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1685.79 s
[opt-env-conf-test] ParserAp {} -> p'
1685.79 s
[opt-env-conf-test] ParserSelect {} -> p'
1685.79 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1685.79 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1685.79 s
[opt-env-conf-test] ParserMany {} -> p'
1685.79 s
[opt-env-conf-test] ParserSome {} -> p'
1685.79 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1685.79 s
[opt-env-conf-test] - ParserCheck {} -> p'
1685.79 s
[opt-env-conf-test] ParserCommands {} -> p'
1685.79 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1685.79 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1685.79 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1685.79 s
[opt-env-conf-test] Just _ -> p
1685.80 s
[opt-env-conf-test]
1685.80 s
[opt-env-conf-test] -- | Try a list of parsers in order
1685.80 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1685.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
1685.80 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1685.80 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1685.80 s
[opt-env-conf-test] parseDefaultVal = do
1685.80 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1685.80 s
[opt-env-conf-test] - pure $ pure d v
1685.80 s
[opt-env-conf-test] + pure $ pure F a ls e
1685.80 s
[opt-env-conf-test]
1685.80 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1685.80 s
[opt-env-conf-test] parseEnableSwitch =
1685.80 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:942:32-39
1685.80 s
[opt-env-conf-test] @@ -939,7 +939,7 @@
1685.80 s
[opt-env-conf-test] settingTryArgument = False,
1685.80 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1685.80 s
[opt-env-conf-test] settingTryOption = False,
1685.80 s
[opt-env-conf-test] - settingEnvVars = J us t n e ,
1685.80 s
[opt-env-conf-test] + settingEnvVars = N o t hi n g ,
1685.80 s
[opt-env-conf-test] settingConfigVals = Nothing,
1685.80 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1685.80 s
[opt-env-conf-test] settingExamples = [],
1685.80 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:980:34-43
1685.80 s
[opt-env-conf-test] @@ -977,7 +977,7 @@
1685.80 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
1685.80 s
[opt-env-conf-test] settingReaders = [],
1685.80 s
[opt-env-conf-test] settingTryArgument = False,
1685.80 s
[opt-env-conf-test] - settingSwitchValue = J u s t T ru e , -- Unused
1685.80 s
[opt-env-conf-test] + settingSwitchValue = No t hing , -- Unused
1685.80 s
[opt-env-conf-test] settingTryOption = False,
1685.80 s
[opt-env-conf-test] settingEnvVars = Nothing,
1685.80 s
[opt-env-conf-test] settingConfigVals = Nothing,
1685.80 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:981:32-37
1685.80 s
[opt-env-conf-test] @@ -978,7 +978,7 @@
1685.80 s
[opt-env-conf-test] settingReaders = [],
1685.80 s
[opt-env-conf-test] settingTryArgument = False,
1685.80 s
[opt-env-conf-test] settingSwitchValue = Just True, -- Unused
1685.80 s
[opt-env-conf-test] - settingTryOption = F al s e,
1685.80 s
[opt-env-conf-test] + settingTryOption = T ru e,
1685.80 s
[opt-env-conf-test] settingEnvVars = Nothing,
1685.80 s
[opt-env-conf-test] settingConfigVals = Nothing,
1685.80 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1685.80 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:986:29-34
1685.80 s
[opt-env-conf-test] @@ -983,7 +983,7 @@
1685.80 s
[opt-env-conf-test] settingConfigVals = Nothing,
1685.80 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1685.80 s
[opt-env-conf-test] settingExamples = [],
1685.80 s
[opt-env-conf-test] - settingHidden = F al s e,
1685.80 s
[opt-env-conf-test] + settingHidden = T ru e,
1685.80 s
[opt-env-conf-test] settingMetavar = Nothing,
1685.80 s
[opt-env-conf-test] settingHelp = settingHelp s,
1685.81 s
[opt-env-conf-test] settingCompleter = Nothing,
1685.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1685.81 s
[opt-env-conf-test] @@ -480,10 +480,7 @@
1685.81 s
[opt-env-conf-test] withFrozenCallStack $
1685.81 s
[opt-env-conf-test] setting $
1685.81 s
[opt-env-conf-test] builders
1685.81 s
[opt-env-conf-test] - ++ [ reader str,
1685.81 s
[opt-env-conf-test] - metavar "FILE_PATH",
1685.81 s
[opt-env-conf-test] - completer filePath
1685.81 s
[opt-env-conf-test] ]
1685.81 s
[opt-env-conf-test]
1685.81 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1685.81 s
[opt-env-conf-test] --
1685.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1685.81 s
[opt-env-conf-test] @@ -480,10 +480,9 @@
1685.81 s
[opt-env-conf-test] withFrozenCallStack $
1685.81 s
[opt-env-conf-test] setting $
1685.81 s
[opt-env-conf-test] builders
1685.81 s
[opt-env-conf-test] - ++ [ reader str,
1685.81 s
[opt-env-conf-test] metavar "FILE_PATH",
1685.81 s
[opt-env-conf-test] completer filePath
1685.81 s
[opt-env-conf-test] ]
1685.81 s
[opt-env-conf-test]
1685.81 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1685.81 s
[opt-env-conf-test] --
1685.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1685.81 s
[opt-env-conf-test] @@ -480,10 +480,9 @@
1685.81 s
[opt-env-conf-test] withFrozenCallStack $
1685.81 s
[opt-env-conf-test] setting $
1685.81 s
[opt-env-conf-test] builders
1685.81 s
[opt-env-conf-test] ++ [ reader str,
1685.81 s
[opt-env-conf-test] metavar "FILE_PATH",
1685.81 s
[opt-env-conf-test] - completer filePath
1685.81 s
[opt-env-conf-test] ]
1685.81 s
[opt-env-conf-test]
1685.81 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1685.81 s
[opt-env-conf-test] --
1685.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
1685.81 s
[opt-env-conf-test] @@ -826,7 +826,6 @@
1685.81 s
[opt-env-conf-test] long "config-file",
1685.81 s
[opt-env-conf-test] env "CONFIG_FILE",
1685.81 s
[opt-env-conf-test] help "Path to the configuration file",
1685.81 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1685.81 s
[opt-env-conf-test] ]
1685.81 s
[opt-env-conf-test]
1685.81 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1685.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
1685.81 s
[opt-env-conf-test] @@ -826,7 +826,6 @@
1685.81 s
[opt-env-conf-test] long "config-file",
1685.81 s
[opt-env-conf-test] env "CONFIG_FILE",
1685.81 s
[opt-env-conf-test] help "Path to the configuration file",
1685.81 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1685.81 s
[opt-env-conf-test] ]
1685.81 s
[opt-env-conf-test]
1685.81 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1688.74 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1688.74 s
[opt-env-conf-test] @@ -822,12 +822,7 @@
1688.74 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1688.74 s
[opt-env-conf-test] configuredConfigFile =
1688.74 s
[opt-env-conf-test] filePathSetting
1688.74 s
[opt-env-conf-test] - [ option,
1688.74 s
[opt-env-conf-test] - long "config-file",
1688.74 s
[opt-env-conf-test] - env "CONFIG_FILE",
1688.74 s
[opt-env-conf-test] - help "Path to the configuration file",
1688.74 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1688.74 s
[opt-env-conf-test] ]
1688.74 s
[opt-env-conf-test]
1688.74 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1688.74 s
[opt-env-conf-test] --
1688.74 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1688.74 s
[opt-env-conf-test] @@ -822,12 +822,11 @@
1688.74 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1688.75 s
[opt-env-conf-test] configuredConfigFile =
1688.75 s
[opt-env-conf-test] filePathSetting
1688.75 s
[opt-env-conf-test] [ option,
1688.75 s
[opt-env-conf-test] long "config-file",
1688.75 s
[opt-env-conf-test] env "CONFIG_FILE",
1688.75 s
[opt-env-conf-test] help "Path to the configuration file",
1688.75 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1688.75 s
[opt-env-conf-test] ]
1688.75 s
[opt-env-conf-test]
1688.75 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1688.75 s
[opt-env-conf-test] --
1688.75 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:774:47-68
1688.75 s
[opt-env-conf-test] @@ -771,7 +771,7 @@
1688.75 s
[opt-env-conf-test] combineMaybeObjects :: Maybe JSON.Object -> Maybe JSON.Object -> Maybe JSON.Object
1688.75 s
[opt-env-conf-test] combineMaybeObjects Nothing mo = mo
1688.75 s
[opt-env-conf-test] combineMaybeObjects mo Nothing = mo
1688.75 s
[opt-env-conf-test] - combineMaybeObjects (Just o1) (Just o2) = J u s t (comb in e r o 1 o2)
1688.75 s
[opt-env-conf-test] + combineMaybeObjects (Just o1) (Just o2) = No t h in g
1688.75 s
[opt-env-conf-test]
1688.75 s
[opt-env-conf-test] combineConfigObjects :: JSON.Object -> JSON.Object -> JSON.Object
1688.75 s
[opt-env-conf-test] combineConfigObjects = KM.unionWith combineValues
1688.75 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1688.75 s
[opt-env-conf-test] @@ -497,10 +497,7 @@
1688.75 s
[opt-env-conf-test] withFrozenCallStack $
1688.75 s
[opt-env-conf-test] setting $
1688.75 s
[opt-env-conf-test] builders
1688.75 s
[opt-env-conf-test] - ++ [ reader str,
1688.75 s
[opt-env-conf-test] - metavar "DIRECTORY_PATH",
1688.75 s
[opt-env-conf-test] - completer directoryPath
1688.75 s
[opt-env-conf-test] ]
1688.75 s
[opt-env-conf-test]
1688.75 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1688.75 s
[opt-env-conf-test] --
1688.75 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1688.75 s
[opt-env-conf-test] @@ -497,10 +497,9 @@
1688.75 s
[opt-env-conf-test] withFrozenCallStack $
1688.75 s
[opt-env-conf-test] setting $
1688.75 s
[opt-env-conf-test] builders
1688.75 s
[opt-env-conf-test] - ++ [ reader str,
1688.75 s
[opt-env-conf-test] metavar "DIRECTORY_PATH",
1688.75 s
[opt-env-conf-test] completer directoryPath
1688.75 s
[opt-env-conf-test] ]
1688.75 s
[opt-env-conf-test]
1688.75 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1688.75 s
[opt-env-conf-test] --
1688.75 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1688.75 s
[opt-env-conf-test] @@ -497,10 +497,9 @@
1688.75 s
[opt-env-conf-test] withFrozenCallStack $
1688.75 s
[opt-env-conf-test] setting $
1688.75 s
[opt-env-conf-test] builders
1688.75 s
[opt-env-conf-test] ++ [ reader str,
1688.75 s
[opt-env-conf-test] metavar "DIRECTORY_PATH",
1688.75 s
[opt-env-conf-test] - completer directoryPath
1688.75 s
[opt-env-conf-test] ]
1688.75 s
[opt-env-conf-test]
1688.75 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1688.76 s
[opt-env-conf-test] --
1688.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
1688.76 s
[opt-env-conf-test] @@ -785,11 +785,10 @@
1688.76 s
[opt-env-conf-test] xdgYamlConfigFile subdir =
1688.76 s
[opt-env-conf-test] mapIO
1688.76 s
[opt-env-conf-test] ( \mXdgDir -> do
1688.76 s
[opt-env-conf-test] xdgDir <- case mXdgDir of
1688.76 s
[opt-env-conf-test] - Just d -> resolveDir' d
1688.76 s
[opt-env-conf-test] Nothing -> do
1688.76 s
[opt-env-conf-test] home <- getHomeDir
1688.76 s
[opt-env-conf-test] resolveDir home ".config"
1688.76 s
[opt-env-conf-test] configDir <- resolveDir xdgDir subdir
1688.76 s
[opt-env-conf-test] resolveFile configDir "config.yaml"
1688.76 s
[opt-env-conf-test] )
1688.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
1688.76 s
[opt-env-conf-test] @@ -785,11 +785,8 @@
1688.76 s
[opt-env-conf-test] xdgYamlConfigFile subdir =
1688.76 s
[opt-env-conf-test] mapIO
1688.76 s
[opt-env-conf-test] ( \mXdgDir -> do
1688.76 s
[opt-env-conf-test] xdgDir <- case mXdgDir of
1688.76 s
[opt-env-conf-test] Just d -> resolveDir' d
1688.76 s
[opt-env-conf-test] - Nothing -> do
1688.76 s
[opt-env-conf-test] - home <- getHomeDir
1688.76 s
[opt-env-conf-test] - resolveDir home ".config"
1688.76 s
[opt-env-conf-test] configDir <- resolveDir xdgDir subdir
1688.76 s
[opt-env-conf-test] resolveFile configDir "config.yaml"
1688.76 s
[opt-env-conf-test] )
1688.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1688.76 s
[opt-env-conf-test] @@ -822,12 +822,11 @@
1688.76 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1688.76 s
[opt-env-conf-test] configuredConfigFile =
1688.76 s
[opt-env-conf-test] filePathSetting
1688.76 s
[opt-env-conf-test] - [ option,
1688.76 s
[opt-env-conf-test] long "config-file",
1688.76 s
[opt-env-conf-test] env "CONFIG_FILE",
1688.76 s
[opt-env-conf-test] help "Path to the configuration file",
1688.76 s
[opt-env-conf-test] completer (filePathWithExtensions [".yaml", ".yml"])
1688.76 s
[opt-env-conf-test] ]
1688.76 s
[opt-env-conf-test]
1688.76 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1688.76 s
[opt-env-conf-test] --
1688.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1688.76 s
[opt-env-conf-test] @@ -796,12 +796,7 @@
1688.76 s
[opt-env-conf-test] $ optional
1688.76 s
[opt-env-conf-test] $ withFrozenCallStack
1688.76 s
[opt-env-conf-test] $ setting
1688.76 s
[opt-env-conf-test] - [ help "Path to the XDG configuration directory",
1688.76 s
[opt-env-conf-test] - reader str,
1688.76 s
[opt-env-conf-test] - env "XDG_CONFIG_HOME",
1688.76 s
[opt-env-conf-test] - metavar "DIRECTORY",
1688.76 s
[opt-env-conf-test] - hidden
1688.76 s
[opt-env-conf-test] ]
1688.76 s
[opt-env-conf-test]
1688.76 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1688.76 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1688.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1688.76 s
[opt-env-conf-test] @@ -796,12 +796,11 @@
1688.76 s
[opt-env-conf-test] $ optional
1688.76 s
[opt-env-conf-test] $ withFrozenCallStack
1688.76 s
[opt-env-conf-test] $ setting
1688.76 s
[opt-env-conf-test] - [ help "Path to the XDG configuration directory",
1688.76 s
[opt-env-conf-test] reader str,
1688.76 s
[opt-env-conf-test] env "XDG_CONFIG_HOME",
1688.76 s
[opt-env-conf-test] metavar "DIRECTORY",
1688.76 s
[opt-env-conf-test] hidden
1688.76 s
[opt-env-conf-test] ]
1688.76 s
[opt-env-conf-test]
1688.76 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1688.76 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1688.76 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1688.76 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1688.76 s
[opt-env-conf-test] where
1688.76 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1688.76 s
[opt-env-conf-test] go d = \case
1688.76 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0) $ showString "Pure _"
1688.76 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
1688.76 s
[opt-env-conf-test] ParserAp pf pa ->
1688.76 s
[opt-env-conf-test] showParen (d > 10) $
1688.76 s
[opt-env-conf-test] showString "Ap "
1688.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1688.76 s
[opt-env-conf-test] @@ -796,12 +796,11 @@
1688.76 s
[opt-env-conf-test] $ optional
1688.76 s
[opt-env-conf-test] $ withFrozenCallStack
1688.76 s
[opt-env-conf-test] $ setting
1688.76 s
[opt-env-conf-test] [ help "Path to the XDG configuration directory",
1688.76 s
[opt-env-conf-test] reader str,
1688.76 s
[opt-env-conf-test] env "XDG_CONFIG_HOME",
1688.76 s
[opt-env-conf-test] metavar "DIRECTORY",
1688.76 s
[opt-env-conf-test] - hidden
1688.76 s
[opt-env-conf-test] ]
1688.76 s
[opt-env-conf-test]
1688.76 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1688.76 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1688.76 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1688.76 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1688.76 s
[opt-env-conf-test] where
1688.76 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1688.76 s
[opt-env-conf-test] go d = \case
1688.77 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0 ) $ showString "Pure _"
1688.77 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 1 ) $ showString "Pure _"
1688.77 s
[opt-env-conf-test] ParserAp pf pa ->
1688.77 s
[opt-env-conf-test] showParen (d > 10) $
1688.77 s
[opt-env-conf-test] showString "Ap "
1688.77 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1688.77 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1688.77 s
[opt-env-conf-test] where
1688.77 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1688.77 s
[opt-env-conf-test] go d = \case
1688.77 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1688.77 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > - 10) $ showString "Pure _"
1688.77 s
[opt-env-conf-test] ParserAp pf pa ->
1688.77 s
[opt-env-conf-test] showParen (d > 10) $
1688.77 s
[opt-env-conf-test] showString "Ap "
1688.77 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
1688.77 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1688.77 s
[opt-env-conf-test] where
1688.77 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1688.77 s
[opt-env-conf-test] go d = \case
1688.77 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1688.77 s
[opt-env-conf-test] + ParserPure _ -> showParen (d < 10) $ showString "Pure _"
1688.77 s
[opt-env-conf-test] ParserAp pf pa ->
1688.77 s
[opt-env-conf-test] showParen (d > 10) $
1688.77 s
[opt-env-conf-test] showString "Ap "
1688.77 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
1688.77 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1688.77 s
[opt-env-conf-test] where
1688.77 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1688.77 s
[opt-env-conf-test] go d = \case
1688.77 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1688.77 s
[opt-env-conf-test] + ParserPure _ -> showParen (d < = 10) $ showString "Pure _"
1688.77 s
[opt-env-conf-test] ParserAp pf pa ->
1688.77 s
[opt-env-conf-test] showParen (d > 10) $
1688.77 s
[opt-env-conf-test] showString "Ap "
1688.77 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
1688.77 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1688.77 s
[opt-env-conf-test] where
1688.77 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1688.77 s
[opt-env-conf-test] go d = \case
1688.77 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1688.77 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > = 10) $ showString "Pure _"
1688.77 s
[opt-env-conf-test] ParserAp pf pa ->
1688.77 s
[opt-env-conf-test] showParen (d > 10) $
1688.77 s
[opt-env-conf-test] showString "Ap "
1688.77 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
1688.77 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1700.21 s
[opt-env-conf-test] where
1700.21 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1700.24 s
[opt-env-conf-test] go d = \case
1700.24 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
1700.24 s
[opt-env-conf-test] + ParserPure _ -> showParen ( Tru e ) $ showString "Pure _"
1700.24 s
[opt-env-conf-test] ParserAp pf pa ->
1700.24 s
[opt-env-conf-test] showParen (d > 10) $
1700.24 s
[opt-env-conf-test] showString "Ap "
1700.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
1700.24 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1700.24 s
[opt-env-conf-test] where
1700.24 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1700.24 s
[opt-env-conf-test] go d = \case
1700.24 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
1700.24 s
[opt-env-conf-test] + ParserPure _ -> showParen ( F a lse ) $ showString "Pure _"
1700.24 s
[opt-env-conf-test] ParserAp pf pa ->
1700.24 s
[opt-env-conf-test] showParen (d > 10) $
1700.24 s
[opt-env-conf-test] showString "Ap "
1700.24 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:34-40
1700.25 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1700.25 s
[opt-env-conf-test] where
1700.25 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1700.25 s
[opt-env-conf-test] go d = \case
1700.25 s
[opt-env-conf-test] - ParserPure _ -> showPare n (d > 10) $ showString "Pure _"
1700.25 s
[opt-env-conf-test] + ParserPure _ -> showPare n ( n ot (d > 10) ) $ showString "Pure _"
1700.25 s
[opt-env-conf-test] ParserAp pf pa ->
1700.25 s
[opt-env-conf-test] showParen (d > 10) $
1700.25 s
[opt-env-conf-test] showString "Ap "
1700.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
1700.25 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1700.25 s
[opt-env-conf-test] where
1700.25 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1700.25 s
[opt-env-conf-test] go d = \case
1700.25 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
1700.25 s
[opt-env-conf-test] + ParserPure _ -> showParen T ru e $ showString "Pure _"
1700.25 s
[opt-env-conf-test] ParserAp pf pa ->
1700.25 s
[opt-env-conf-test] showParen (d > 10) $
1700.25 s
[opt-env-conf-test] showString "Ap "
1700.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
1700.25 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1700.25 s
[opt-env-conf-test] where
1700.25 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1700.25 s
[opt-env-conf-test] go d = \case
1700.25 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0) $ showString "Pure _"
1700.25 s
[opt-env-conf-test] + ParserPure _ -> showParen F a ls e $ showString "Pure _"
1700.25 s
[opt-env-conf-test] ParserAp pf pa ->
1700.25 s
[opt-env-conf-test] showParen (d > 10) $
1700.25 s
[opt-env-conf-test] showString "Ap "
1700.25 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:33-41
1700.25 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1700.25 s
[opt-env-conf-test] where
1700.25 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1700.25 s
[opt-env-conf-test] go d = \case
1700.26 s
[opt-env-conf-test] - ParserPure _ -> showPare n ( d > 10) $ showString "Pure _"
1700.26 s
[opt-env-conf-test] + ParserPure _ -> showPare n n o t ( ( d > 10) ) $ showString "Pure _"
1700.26 s
[opt-env-conf-test] ParserAp pf pa ->
1700.26 s
[opt-env-conf-test] showParen (d > 10) $
1700.26 s
[opt-env-conf-test] showString "Ap "
1700.26 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1700.26 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.26 s
[opt-env-conf-test] go d = \case
1700.26 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.26 s
[opt-env-conf-test] ParserAp pf pa ->
1700.26 s
[opt-env-conf-test] - showParen (d > 1 0) $
1700.26 s
[opt-env-conf-test] + showParen (d > 0) $
1700.26 s
[opt-env-conf-test] showString "Ap "
1700.26 s
[opt-env-conf-test] . go 11 pf
1700.26 s
[opt-env-conf-test] . showString " "
1700.26 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1700.26 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.26 s
[opt-env-conf-test] go d = \case
1700.26 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.26 s
[opt-env-conf-test] ParserAp pf pa ->
1700.26 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1700.26 s
[opt-env-conf-test] + showParen (d > 1 ) $
1700.26 s
[opt-env-conf-test] showString "Ap "
1700.26 s
[opt-env-conf-test] . go 11 pf
1700.26 s
[opt-env-conf-test] . showString " "
1700.26 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1700.26 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.26 s
[opt-env-conf-test] go d = \case
1700.26 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.26 s
[opt-env-conf-test] ParserAp pf pa ->
1700.26 s
[opt-env-conf-test] - showParen (d > 10) $
1700.26 s
[opt-env-conf-test] + showParen (d > - 10) $
1700.26 s
[opt-env-conf-test] showString "Ap "
1700.26 s
[opt-env-conf-test] . go 11 pf
1700.26 s
[opt-env-conf-test] . showString " "
1700.26 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
1700.26 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.26 s
[opt-env-conf-test] go d = \case
1700.26 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.26 s
[opt-env-conf-test] ParserAp pf pa ->
1700.26 s
[opt-env-conf-test] - showParen (d > 10) $
1700.26 s
[opt-env-conf-test] + showParen (d < 10) $
1700.26 s
[opt-env-conf-test] showString "Ap "
1700.26 s
[opt-env-conf-test] . go 11 pf
1700.27 s
[opt-env-conf-test] . showString " "
1700.27 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
1700.27 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.27 s
[opt-env-conf-test] go d = \case
1700.27 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.27 s
[opt-env-conf-test] ParserAp pf pa ->
1700.27 s
[opt-env-conf-test] - showParen (d > 10) $
1700.27 s
[opt-env-conf-test] + showParen (d < = 10) $
1700.27 s
[opt-env-conf-test] showString "Ap "
1700.27 s
[opt-env-conf-test] . go 11 pf
1700.27 s
[opt-env-conf-test] . showString " "
1700.27 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
1700.27 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.27 s
[opt-env-conf-test] go d = \case
1700.27 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.27 s
[opt-env-conf-test] ParserAp pf pa ->
1700.27 s
[opt-env-conf-test] - showParen (d > 10) $
1700.27 s
[opt-env-conf-test] + showParen (d > = 10) $
1700.27 s
[opt-env-conf-test] showString "Ap "
1700.27 s
[opt-env-conf-test] . go 11 pf
1700.27 s
[opt-env-conf-test] . showString " "
1700.27 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
1700.27 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.27 s
[opt-env-conf-test] go d = \case
1700.27 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.27 s
[opt-env-conf-test] ParserAp pf pa ->
1700.27 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1700.27 s
[opt-env-conf-test] + showParen ( Tru e ) $
1700.27 s
[opt-env-conf-test] showString "Ap "
1700.27 s
[opt-env-conf-test] . go 11 pf
1700.27 s
[opt-env-conf-test] . showString " "
1700.27 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
1700.27 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.27 s
[opt-env-conf-test] go d = \case
1700.27 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.27 s
[opt-env-conf-test] ParserAp pf pa ->
1700.27 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1700.27 s
[opt-env-conf-test] + showParen ( F a lse ) $
1700.27 s
[opt-env-conf-test] showString "Ap "
1700.27 s
[opt-env-conf-test] . go 11 pf
1700.27 s
[opt-env-conf-test] . showString " "
1700.27 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:20-26
1700.28 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.28 s
[opt-env-conf-test] go d = \case
1700.28 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.28 s
[opt-env-conf-test] ParserAp pf pa ->
1700.28 s
[opt-env-conf-test] - showPare n (d > 10) $
1700.28 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1700.28 s
[opt-env-conf-test] showString "Ap "
1700.28 s
[opt-env-conf-test] . go 11 pf
1700.28 s
[opt-env-conf-test] . showString " "
1700.28 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
1700.28 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.28 s
[opt-env-conf-test] go d = \case
1700.28 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.28 s
[opt-env-conf-test] ParserAp pf pa ->
1700.28 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1700.28 s
[opt-env-conf-test] + showParen T ru e $
1700.28 s
[opt-env-conf-test] showString "Ap "
1700.28 s
[opt-env-conf-test] . go 11 pf
1700.28 s
[opt-env-conf-test] . showString " "
1700.28 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
1700.28 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.29 s
[opt-env-conf-test] go d = \case
1700.29 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.29 s
[opt-env-conf-test] ParserAp pf pa ->
1700.29 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1700.29 s
[opt-env-conf-test] + showParen F a ls e $
1700.29 s
[opt-env-conf-test] showString "Ap "
1700.29 s
[opt-env-conf-test] . go 11 pf
1700.29 s
[opt-env-conf-test] . showString " "
1700.29 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:19-27
1700.29 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1700.29 s
[opt-env-conf-test] go d = \case
1700.29 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1700.29 s
[opt-env-conf-test] ParserAp pf pa ->
1700.29 s
[opt-env-conf-test] - showPare n ( d > 10) $
1700.29 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1700.29 s
[opt-env-conf-test] showString "Ap "
1700.29 s
[opt-env-conf-test] . go 11 pf
1700.29 s
[opt-env-conf-test] . showString " "
1700.29 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1700.29 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1700.29 s
[opt-env-conf-test] ParserAp pf pa ->
1701.94 s
[opt-env-conf-test] showParen (d > 10) $
1701.94 s
[opt-env-conf-test] showString "Ap "
1701.94 s
[opt-env-conf-test] - . go 1 1 pf
1701.94 s
[opt-env-conf-test] + . go 1 pf
1701.95 s
[opt-env-conf-test] . showString " "
1701.95 s
[opt-env-conf-test] . go 11 pa
1701.95 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1701.95 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1701.95 s
[opt-env-conf-test] ParserAp pf pa ->
1701.95 s
[opt-env-conf-test] showParen (d > 10) $
1701.95 s
[opt-env-conf-test] showString "Ap "
1701.95 s
[opt-env-conf-test] - . go 1 1 pf
1701.95 s
[opt-env-conf-test] + . go 0 pf
1701.95 s
[opt-env-conf-test] . showString " "
1701.95 s
[opt-env-conf-test] . go 11 pa
1701.95 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1701.95 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1701.95 s
[opt-env-conf-test] ParserAp pf pa ->
1701.95 s
[opt-env-conf-test] showParen (d > 10) $
1701.95 s
[opt-env-conf-test] showString "Ap "
1701.95 s
[opt-env-conf-test] - . go 11 pf
1701.95 s
[opt-env-conf-test] + . go - 11 pf
1701.95 s
[opt-env-conf-test] . showString " "
1701.95 s
[opt-env-conf-test] . go 11 pa
1701.95 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1701.95 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1701.95 s
[opt-env-conf-test] showString "Ap "
1701.95 s
[opt-env-conf-test] . go 11 pf
1701.95 s
[opt-env-conf-test] . showString " "
1701.95 s
[opt-env-conf-test] - . go 1 1 pa
1701.95 s
[opt-env-conf-test] + . go 0 pa
1701.95 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.95 s
[opt-env-conf-test] showParen (d > 10) $
1701.95 s
[opt-env-conf-test] showString "Select "
1701.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1701.95 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1701.96 s
[opt-env-conf-test] showString "Ap "
1701.96 s
[opt-env-conf-test] . go 11 pf
1701.96 s
[opt-env-conf-test] . showString " "
1701.96 s
[opt-env-conf-test] - . go 1 1 pa
1701.96 s
[opt-env-conf-test] + . go 1 pa
1701.96 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.96 s
[opt-env-conf-test] showParen (d > 10) $
1701.96 s
[opt-env-conf-test] showString "Select "
1701.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1701.96 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1701.96 s
[opt-env-conf-test] showString "Ap "
1701.96 s
[opt-env-conf-test] . go 11 pf
1701.96 s
[opt-env-conf-test] . showString " "
1701.96 s
[opt-env-conf-test] - . go 11 pa
1701.96 s
[opt-env-conf-test] + . go - 11 pa
1701.96 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.96 s
[opt-env-conf-test] showParen (d > 10) $
1701.96 s
[opt-env-conf-test] showString "Select "
1701.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1701.96 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.96 s
[opt-env-conf-test] . showString " "
1701.96 s
[opt-env-conf-test] . go 11 pa
1701.96 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.96 s
[opt-env-conf-test] - showParen (d > 1 0) $
1701.96 s
[opt-env-conf-test] + showParen (d > 0) $
1701.96 s
[opt-env-conf-test] showString "Select "
1701.96 s
[opt-env-conf-test] . go 11 pe
1701.96 s
[opt-env-conf-test] . showString " "
1701.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1701.96 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.96 s
[opt-env-conf-test] . showString " "
1701.96 s
[opt-env-conf-test] . go 11 pa
1701.96 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.96 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1701.96 s
[opt-env-conf-test] + showParen (d > 1 ) $
1701.96 s
[opt-env-conf-test] showString "Select "
1701.96 s
[opt-env-conf-test] . go 11 pe
1701.96 s
[opt-env-conf-test] . showString " "
1701.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1701.96 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.96 s
[opt-env-conf-test] . showString " "
1701.96 s
[opt-env-conf-test] . go 11 pa
1701.96 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.96 s
[opt-env-conf-test] - showParen (d > 10) $
1701.97 s
[opt-env-conf-test] + showParen (d > - 10) $
1701.97 s
[opt-env-conf-test] showString "Select "
1701.97 s
[opt-env-conf-test] . go 11 pe
1701.97 s
[opt-env-conf-test] . showString " "
1701.97 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
1701.97 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.97 s
[opt-env-conf-test] . showString " "
1701.97 s
[opt-env-conf-test] . go 11 pa
1701.97 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.97 s
[opt-env-conf-test] - showParen (d > 10) $
1701.97 s
[opt-env-conf-test] + showParen (d < 10) $
1701.97 s
[opt-env-conf-test] showString "Select "
1701.97 s
[opt-env-conf-test] . go 11 pe
1701.97 s
[opt-env-conf-test] . showString " "
1701.97 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
1701.97 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.97 s
[opt-env-conf-test] . showString " "
1701.97 s
[opt-env-conf-test] . go 11 pa
1701.97 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.97 s
[opt-env-conf-test] - showParen (d > 10) $
1701.97 s
[opt-env-conf-test] + showParen (d < = 10) $
1701.97 s
[opt-env-conf-test] showString "Select "
1701.97 s
[opt-env-conf-test] . go 11 pe
1701.97 s
[opt-env-conf-test] . showString " "
1701.97 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
1701.97 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.97 s
[opt-env-conf-test] . showString " "
1701.97 s
[opt-env-conf-test] . go 11 pa
1701.97 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.97 s
[opt-env-conf-test] - showParen (d > 10) $
1701.97 s
[opt-env-conf-test] + showParen (d > = 10) $
1701.97 s
[opt-env-conf-test] showString "Select "
1701.97 s
[opt-env-conf-test] . go 11 pe
1701.97 s
[opt-env-conf-test] . showString " "
1701.97 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:899:34-43
1701.97 s
[opt-env-conf-test] @@ -896,7 +896,7 @@
1701.97 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
1701.97 s
[opt-env-conf-test] settingReaders = [],
1701.97 s
[opt-env-conf-test] settingTryArgument = False,
1701.97 s
[opt-env-conf-test] - settingSwitchValue = J u s t T ru e ,
1701.97 s
[opt-env-conf-test] + settingSwitchValue = No t hing ,
1701.97 s
[opt-env-conf-test] settingTryOption = False,
1701.97 s
[opt-env-conf-test] settingEnvVars = Nothing,
1701.97 s
[opt-env-conf-test] settingConfigVals = Nothing,
1701.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
1701.98 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.98 s
[opt-env-conf-test] . showString " "
1701.98 s
[opt-env-conf-test] . go 11 pa
1701.98 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.98 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1701.98 s
[opt-env-conf-test] + showParen ( F a lse ) $
1701.98 s
[opt-env-conf-test] showString "Select "
1701.98 s
[opt-env-conf-test] . go 11 pe
1701.98 s
[opt-env-conf-test] . showString " "
1701.98 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:20-26
1701.98 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.98 s
[opt-env-conf-test] . showString " "
1701.98 s
[opt-env-conf-test] . go 11 pa
1701.98 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.98 s
[opt-env-conf-test] - showPare n (d > 10) $
1701.98 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1701.98 s
[opt-env-conf-test] showString "Select "
1701.98 s
[opt-env-conf-test] . go 11 pe
1701.98 s
[opt-env-conf-test] . showString " "
1701.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
1701.98 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.98 s
[opt-env-conf-test] . showString " "
1701.98 s
[opt-env-conf-test] . go 11 pa
1701.98 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.98 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1701.98 s
[opt-env-conf-test] + showParen T ru e $
1701.98 s
[opt-env-conf-test] showString "Select "
1701.98 s
[opt-env-conf-test] . go 11 pe
1701.98 s
[opt-env-conf-test] . showString " "
1701.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
1701.98 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.98 s
[opt-env-conf-test] . showString " "
1701.98 s
[opt-env-conf-test] . go 11 pa
1701.98 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.98 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1701.98 s
[opt-env-conf-test] + showParen F a ls e $
1701.98 s
[opt-env-conf-test] showString "Select "
1701.98 s
[opt-env-conf-test] . go 11 pe
1701.98 s
[opt-env-conf-test] . showString " "
1701.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
1701.98 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.98 s
[opt-env-conf-test] . showString " "
1701.98 s
[opt-env-conf-test] . go 11 pa
1701.98 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.98 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1701.98 s
[opt-env-conf-test] + showParen ( Tru e ) $
1701.98 s
[opt-env-conf-test] showString "Select "
1701.98 s
[opt-env-conf-test] . go 11 pe
1701.98 s
[opt-env-conf-test] . showString " "
1701.99 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:19-27
1701.99 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1701.99 s
[opt-env-conf-test] . showString " "
1701.99 s
[opt-env-conf-test] . go 11 pa
1701.99 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.99 s
[opt-env-conf-test] - showPare n ( d > 10) $
1701.99 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1701.99 s
[opt-env-conf-test] showString "Select "
1701.99 s
[opt-env-conf-test] . go 11 pe
1701.99 s
[opt-env-conf-test] . showString " "
1701.99 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1701.99 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1701.99 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.99 s
[opt-env-conf-test] showParen (d > 10) $
1701.99 s
[opt-env-conf-test] showString "Select "
1701.99 s
[opt-env-conf-test] - . go 1 1 pe
1701.99 s
[opt-env-conf-test] + . go 0 pe
1701.99 s
[opt-env-conf-test] . showString " "
1701.99 s
[opt-env-conf-test] . go 11 pf
1701.99 s
[opt-env-conf-test] ParserEmpty mLoc ->
1701.99 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1701.99 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1701.99 s
[opt-env-conf-test] ParserSelect pe pf ->
1701.99 s
[opt-env-conf-test] showParen (d > 10) $
1701.99 s
[opt-env-conf-test] showString "Select "
1709.86 s
[opt-env-conf-test] - . go 11 pe
1709.86 s
[opt-env-conf-test] + . go - 11 pe
1709.88 s
[opt-env-conf-test] . showString " "
1709.88 s
[opt-env-conf-test] . go 11 pf
1709.88 s
[opt-env-conf-test] ParserEmpty mLoc ->
1709.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1709.89 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1709.89 s
[opt-env-conf-test] ParserSelect pe pf ->
1709.89 s
[opt-env-conf-test] showParen (d > 10) $
1709.89 s
[opt-env-conf-test] showString "Select "
1709.89 s
[opt-env-conf-test] - . go 1 1 pe
1709.89 s
[opt-env-conf-test] + . go 1 pe
1709.89 s
[opt-env-conf-test] . showString " "
1709.89 s
[opt-env-conf-test] . go 11 pf
1709.89 s
[opt-env-conf-test] ParserEmpty mLoc ->
1709.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1709.89 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1709.89 s
[opt-env-conf-test] showString "Select "
1709.89 s
[opt-env-conf-test] . go 11 pe
1709.89 s
[opt-env-conf-test] . showString " "
1709.89 s
[opt-env-conf-test] - . go 1 1 pf
1709.89 s
[opt-env-conf-test] + . go 0 pf
1709.89 s
[opt-env-conf-test] ParserEmpty mLoc ->
1709.89 s
[opt-env-conf-test] showString "Empty "
1709.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1709.89 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1709.89 s
[opt-env-conf-test] showString "Select "
1709.89 s
[opt-env-conf-test] . go 11 pe
1709.89 s
[opt-env-conf-test] . showString " "
1709.89 s
[opt-env-conf-test] - . go 11 pf
1709.89 s
[opt-env-conf-test] + . go - 11 pf
1709.89 s
[opt-env-conf-test] ParserEmpty mLoc ->
1709.89 s
[opt-env-conf-test] showString "Empty "
1709.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1709.89 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1709.89 s
[opt-env-conf-test] showString "Select "
1709.89 s
[opt-env-conf-test] . go 11 pe
1709.89 s
[opt-env-conf-test] . showString " "
1709.89 s
[opt-env-conf-test] - . go 1 1 pf
1709.89 s
[opt-env-conf-test] + . go 1 pf
1709.89 s
[opt-env-conf-test] ParserEmpty mLoc ->
1709.89 s
[opt-env-conf-test] showString "Empty "
1709.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1709.89 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1709.89 s
[opt-env-conf-test] . go 11 pf
1709.89 s
[opt-env-conf-test] ParserEmpty mLoc ->
1709.89 s
[opt-env-conf-test] showString "Empty "
1709.89 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1709.90 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1709.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.90 s
[opt-env-conf-test] showParen (d > 10) $
1709.90 s
[opt-env-conf-test] showString "Alt "
1709.90 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1709.90 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1709.90 s
[opt-env-conf-test] . go 11 pf
1709.90 s
[opt-env-conf-test] ParserEmpty mLoc ->
1709.90 s
[opt-env-conf-test] showString "Empty "
1709.90 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1709.90 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1709.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.90 s
[opt-env-conf-test] showParen (d > 10) $
1709.90 s
[opt-env-conf-test] showString "Alt "
1709.90 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1709.90 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1709.90 s
[opt-env-conf-test] . go 11 pf
1709.90 s
[opt-env-conf-test] ParserEmpty mLoc ->
1709.90 s
[opt-env-conf-test] showString "Empty "
1709.90 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1709.90 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1709.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.90 s
[opt-env-conf-test] showParen (d > 10) $
1709.90 s
[opt-env-conf-test] showString "Alt "
1709.90 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1709.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.90 s
[opt-env-conf-test] showString "Empty "
1709.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.90 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1709.90 s
[opt-env-conf-test] + showParen (d > 1 ) $
1709.90 s
[opt-env-conf-test] showString "Alt "
1709.90 s
[opt-env-conf-test] . go 11 p1
1709.90 s
[opt-env-conf-test] . showString " "
1709.90 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1709.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.90 s
[opt-env-conf-test] showString "Empty "
1709.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.90 s
[opt-env-conf-test] - showParen (d > 10) $
1709.90 s
[opt-env-conf-test] + showParen (d > - 10) $
1709.90 s
[opt-env-conf-test] showString "Alt "
1709.90 s
[opt-env-conf-test] . go 11 p1
1709.90 s
[opt-env-conf-test] . showString " "
1709.90 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
1709.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.90 s
[opt-env-conf-test] showString "Empty "
1709.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.90 s
[opt-env-conf-test] - showParen (d > 10) $
1709.90 s
[opt-env-conf-test] + showParen (d < 10) $
1709.90 s
[opt-env-conf-test] showString "Alt "
1709.90 s
[opt-env-conf-test] . go 11 p1
1709.90 s
[opt-env-conf-test] . showString " "
1709.90 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1709.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.90 s
[opt-env-conf-test] showString "Empty "
1709.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.90 s
[opt-env-conf-test] - showParen (d > 1 0) $
1709.90 s
[opt-env-conf-test] + showParen (d > 0) $
1709.90 s
[opt-env-conf-test] showString "Alt "
1709.90 s
[opt-env-conf-test] . go 11 p1
1709.90 s
[opt-env-conf-test] . showString " "
1709.90 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
1709.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.90 s
[opt-env-conf-test] showString "Empty "
1709.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.90 s
[opt-env-conf-test] - showParen (d > 10) $
1709.90 s
[opt-env-conf-test] + showParen (d > = 10) $
1709.90 s
[opt-env-conf-test] showString "Alt "
1709.90 s
[opt-env-conf-test] . go 11 p1
1709.90 s
[opt-env-conf-test] . showString " "
1709.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
1709.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.90 s
[opt-env-conf-test] showString "Empty "
1709.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.90 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1709.90 s
[opt-env-conf-test] + showParen ( Tru e ) $
1709.90 s
[opt-env-conf-test] showString "Alt "
1709.90 s
[opt-env-conf-test] . go 11 p1
1709.90 s
[opt-env-conf-test] . showString " "
1709.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
1709.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.90 s
[opt-env-conf-test] showString "Empty "
1709.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.90 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1709.90 s
[opt-env-conf-test] + showParen ( F a lse ) $
1709.90 s
[opt-env-conf-test] showString "Alt "
1709.90 s
[opt-env-conf-test] . go 11 p1
1709.90 s
[opt-env-conf-test] . showString " "
1709.90 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:20-26
1709.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.90 s
[opt-env-conf-test] showString "Empty "
1709.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.90 s
[opt-env-conf-test] - showPare n (d > 10) $
1709.90 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1709.90 s
[opt-env-conf-test] showString "Alt "
1709.91 s
[opt-env-conf-test] . go 11 p1
1709.91 s
[opt-env-conf-test] . showString " "
1709.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
1709.91 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.91 s
[opt-env-conf-test] showString "Empty "
1709.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.91 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1709.91 s
[opt-env-conf-test] + showParen T ru e $
1709.91 s
[opt-env-conf-test] showString "Alt "
1709.91 s
[opt-env-conf-test] . go 11 p1
1709.91 s
[opt-env-conf-test] . showString " "
1709.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
1709.91 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.91 s
[opt-env-conf-test] showString "Empty "
1709.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.91 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1709.91 s
[opt-env-conf-test] + showParen F a ls e $
1709.91 s
[opt-env-conf-test] showString "Alt "
1709.91 s
[opt-env-conf-test] . go 11 p1
1709.91 s
[opt-env-conf-test] . showString " "
1709.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:19-27
1709.91 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.91 s
[opt-env-conf-test] showString "Empty "
1709.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.91 s
[opt-env-conf-test] - showPare n ( d > 10) $
1709.91 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1709.91 s
[opt-env-conf-test] showString "Alt "
1709.91 s
[opt-env-conf-test] . go 11 p1
1709.91 s
[opt-env-conf-test] . showString " "
1709.91 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
1709.91 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1709.91 s
[opt-env-conf-test] showString "Empty "
1709.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
1709.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.91 s
[opt-env-conf-test] - showParen (d > 10) $
1709.91 s
[opt-env-conf-test] + showParen (d < = 10) $
1709.91 s
[opt-env-conf-test] showString "Alt "
1709.91 s
[opt-env-conf-test] . go 11 p1
1709.91 s
[opt-env-conf-test] . showString " "
1709.91 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1709.91 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1709.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1709.91 s
[opt-env-conf-test] showParen (d > 10) $
1709.91 s
[opt-env-conf-test] showString "Alt "
1709.91 s
[opt-env-conf-test] - . go 1 1 p1
1709.91 s
[opt-env-conf-test] + . go 1 p1
1709.91 s
[opt-env-conf-test] . showString " "
1709.91 s
[opt-env-conf-test] . go 11 p2
1709.91 s
[opt-env-conf-test] ParserMany mLoc p ->
1709.91 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1720.97 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1720.97 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1721.00 s
[opt-env-conf-test] showParen (d > 10) $
1721.00 s
[opt-env-conf-test] showString "Alt "
1721.00 s
[opt-env-conf-test] - . go 11 p1
1721.00 s
[opt-env-conf-test] + . go - 11 p1
1721.00 s
[opt-env-conf-test] . showString " "
1721.00 s
[opt-env-conf-test] . go 11 p2
1721.00 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.00 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1721.00 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1721.00 s
[opt-env-conf-test] showString "Alt "
1721.00 s
[opt-env-conf-test] . go 11 p1
1721.00 s
[opt-env-conf-test] . showString " "
1721.00 s
[opt-env-conf-test] - . go 1 1 p2
1721.00 s
[opt-env-conf-test] + . go 0 p2
1721.00 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.00 s
[opt-env-conf-test] showParen (d > 10) $
1721.01 s
[opt-env-conf-test] showString "Many "
1721.01 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1721.01 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1721.01 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1721.01 s
[opt-env-conf-test] showParen (d > 10) $
1721.01 s
[opt-env-conf-test] showString "Alt "
1721.01 s
[opt-env-conf-test] - . go 1 1 p1
1721.01 s
[opt-env-conf-test] + . go 0 p1
1721.01 s
[opt-env-conf-test] . showString " "
1721.01 s
[opt-env-conf-test] . go 11 p2
1721.01 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.01 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1721.01 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1721.01 s
[opt-env-conf-test] showString "Alt "
1721.01 s
[opt-env-conf-test] . go 11 p1
1721.01 s
[opt-env-conf-test] . showString " "
1721.01 s
[opt-env-conf-test] - . go 1 1 p2
1721.01 s
[opt-env-conf-test] + . go 1 p2
1721.01 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.01 s
[opt-env-conf-test] showParen (d > 10) $
1721.01 s
[opt-env-conf-test] showString "Many "
1721.01 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1721.01 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.01 s
[opt-env-conf-test] . showString " "
1721.01 s
[opt-env-conf-test] . go 11 p2
1721.01 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.01 s
[opt-env-conf-test] - showParen (d > 1 0) $
1721.01 s
[opt-env-conf-test] + showParen (d > 0) $
1721.01 s
[opt-env-conf-test] showString "Many "
1721.01 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.01 s
[opt-env-conf-test] . showString " "
1721.01 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1721.01 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.01 s
[opt-env-conf-test] . showString " "
1721.01 s
[opt-env-conf-test] . go 11 p2
1721.01 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.01 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1721.01 s
[opt-env-conf-test] + showParen (d > 1 ) $
1721.01 s
[opt-env-conf-test] showString "Many "
1721.01 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.01 s
[opt-env-conf-test] . showString " "
1721.02 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1721.02 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.02 s
[opt-env-conf-test] . showString " "
1721.02 s
[opt-env-conf-test] . go 11 p2
1721.02 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.02 s
[opt-env-conf-test] - showParen (d > 10) $
1721.02 s
[opt-env-conf-test] + showParen (d > - 10) $
1721.02 s
[opt-env-conf-test] showString "Many "
1721.02 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.02 s
[opt-env-conf-test] . showString " "
1721.02 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
1721.02 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.02 s
[opt-env-conf-test] . showString " "
1721.02 s
[opt-env-conf-test] . go 11 p2
1721.02 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.02 s
[opt-env-conf-test] - showParen (d > 10) $
1721.02 s
[opt-env-conf-test] + showParen (d < 10) $
1721.02 s
[opt-env-conf-test] showString "Many "
1721.02 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.02 s
[opt-env-conf-test] . showString " "
1721.02 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
1721.02 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.02 s
[opt-env-conf-test] . showString " "
1721.02 s
[opt-env-conf-test] . go 11 p2
1721.02 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.02 s
[opt-env-conf-test] - showParen (d > 10) $
1721.02 s
[opt-env-conf-test] + showParen (d < = 10) $
1721.02 s
[opt-env-conf-test] showString "Many "
1721.02 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.02 s
[opt-env-conf-test] . showString " "
1721.02 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
1721.02 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.02 s
[opt-env-conf-test] . showString " "
1721.02 s
[opt-env-conf-test] . go 11 p2
1721.02 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.02 s
[opt-env-conf-test] - showParen (d > 10) $
1721.02 s
[opt-env-conf-test] + showParen (d > = 10) $
1721.02 s
[opt-env-conf-test] showString "Many "
1721.02 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.02 s
[opt-env-conf-test] . showString " "
1721.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
1721.02 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.02 s
[opt-env-conf-test] . showString " "
1721.02 s
[opt-env-conf-test] . go 11 p2
1721.02 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.02 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1721.02 s
[opt-env-conf-test] + showParen ( Tru e ) $
1721.02 s
[opt-env-conf-test] showString "Many "
1721.02 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.02 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
1721.03 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] . go 11 p2
1721.03 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.03 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1721.03 s
[opt-env-conf-test] + showParen ( F a lse ) $
1721.03 s
[opt-env-conf-test] showString "Many "
1721.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:20-26
1721.03 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] . go 11 p2
1721.03 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.03 s
[opt-env-conf-test] - showPare n (d > 10) $
1721.03 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1721.03 s
[opt-env-conf-test] showString "Many "
1721.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
1721.03 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] . go 11 p2
1721.03 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.03 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1721.03 s
[opt-env-conf-test] + showParen T ru e $
1721.03 s
[opt-env-conf-test] showString "Many "
1721.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
1721.03 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] . go 11 p2
1721.03 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.03 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1721.03 s
[opt-env-conf-test] + showParen F a ls e $
1721.03 s
[opt-env-conf-test] showString "Many "
1721.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:19-27
1721.03 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] . go 11 p2
1721.03 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.03 s
[opt-env-conf-test] - showPare n ( d > 10) $
1721.03 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1721.03 s
[opt-env-conf-test] showString "Many "
1721.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1721.03 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1721.03 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.03 s
[opt-env-conf-test] showParen (d > 10) $
1721.03 s
[opt-env-conf-test] showString "Many "
1721.03 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1721.03 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] . go 11 p
1721.03 s
[opt-env-conf-test] ParserSome mLoc p ->
1721.03 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1721.03 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1721.03 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.03 s
[opt-env-conf-test] showParen (d > 10) $
1721.03 s
[opt-env-conf-test] showString "Many "
1721.03 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1721.03 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] . go 11 p
1721.03 s
[opt-env-conf-test] ParserSome mLoc p ->
1721.03 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1721.03 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1721.03 s
[opt-env-conf-test] ParserMany mLoc p ->
1721.03 s
[opt-env-conf-test] showParen (d > 10) $
1721.03 s
[opt-env-conf-test] showString "Many "
1721.03 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1721.03 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1721.03 s
[opt-env-conf-test] . showString " "
1721.03 s
[opt-env-conf-test] . go 11 p
1721.03 s
[opt-env-conf-test] ParserSome mLoc p ->
1721.03 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1721.03 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1721.03 s
[opt-env-conf-test] showString "Many "
1721.04 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.04 s
[opt-env-conf-test] . showString " "
1721.04 s
[opt-env-conf-test] - . go 1 1 p
1721.04 s
[opt-env-conf-test] + . go 0 p
1721.04 s
[opt-env-conf-test] ParserSome mLoc p ->
1721.04 s
[opt-env-conf-test] showParen (d > 10) $
1721.04 s
[opt-env-conf-test] showString "Some "
1721.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1721.04 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1721.04 s
[opt-env-conf-test] showString "Many "
1721.04 s
[opt-env-conf-test] . showsPrec 11 mLoc
1721.04 s
[opt-env-conf-test] . showString " "
1732.80 s
[opt-env-conf-test] - . go 1 1 p
1732.80 s
[opt-env-conf-test] + . go 1 p
1732.82 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.82 s
[opt-env-conf-test] showParen (d > 10) $
1732.82 s
[opt-env-conf-test] showString "Some "
1732.83 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1732.83 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1732.83 s
[opt-env-conf-test] showString "Many "
1732.83 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.83 s
[opt-env-conf-test] . showString " "
1732.83 s
[opt-env-conf-test] - . go 11 p
1732.83 s
[opt-env-conf-test] + . go - 11 p
1732.83 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.83 s
[opt-env-conf-test] showParen (d > 10) $
1732.83 s
[opt-env-conf-test] showString "Some "
1732.83 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1732.83 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.83 s
[opt-env-conf-test] . showString " "
1732.83 s
[opt-env-conf-test] . go 11 p
1732.83 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.83 s
[opt-env-conf-test] - showParen (d > 1 0) $
1732.83 s
[opt-env-conf-test] + showParen (d > 0) $
1732.83 s
[opt-env-conf-test] showString "Some "
1732.83 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.83 s
[opt-env-conf-test] . showString " "
1732.83 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1732.83 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.83 s
[opt-env-conf-test] . showString " "
1732.83 s
[opt-env-conf-test] . go 11 p
1732.83 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.83 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1732.83 s
[opt-env-conf-test] + showParen (d > 1 ) $
1732.83 s
[opt-env-conf-test] showString "Some "
1732.83 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.83 s
[opt-env-conf-test] . showString " "
1732.84 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1732.84 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.84 s
[opt-env-conf-test] . showString " "
1732.84 s
[opt-env-conf-test] . go 11 p
1732.84 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.84 s
[opt-env-conf-test] - showParen (d > 10) $
1732.84 s
[opt-env-conf-test] + showParen (d > - 10) $
1732.84 s
[opt-env-conf-test] showString "Some "
1732.84 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.84 s
[opt-env-conf-test] . showString " "
1732.84 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
1732.84 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.84 s
[opt-env-conf-test] . showString " "
1732.84 s
[opt-env-conf-test] . go 11 p
1732.84 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.84 s
[opt-env-conf-test] - showParen (d > 10) $
1732.84 s
[opt-env-conf-test] + showParen (d < 10) $
1732.84 s
[opt-env-conf-test] showString "Some "
1732.84 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.84 s
[opt-env-conf-test] . showString " "
1732.84 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
1732.84 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.84 s
[opt-env-conf-test] . showString " "
1732.84 s
[opt-env-conf-test] . go 11 p
1732.84 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.84 s
[opt-env-conf-test] - showParen (d > 10) $
1732.84 s
[opt-env-conf-test] + showParen (d < = 10) $
1732.84 s
[opt-env-conf-test] showString "Some "
1732.84 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.84 s
[opt-env-conf-test] . showString " "
1732.84 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
1732.84 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.84 s
[opt-env-conf-test] . showString " "
1732.84 s
[opt-env-conf-test] . go 11 p
1732.84 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.84 s
[opt-env-conf-test] - showParen (d > 10) $
1732.84 s
[opt-env-conf-test] + showParen (d > = 10) $
1732.84 s
[opt-env-conf-test] showString "Some "
1732.85 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.85 s
[opt-env-conf-test] . showString " "
1732.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
1732.85 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.85 s
[opt-env-conf-test] . showString " "
1732.85 s
[opt-env-conf-test] . go 11 p
1732.85 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.85 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1732.85 s
[opt-env-conf-test] + showParen ( Tru e ) $
1732.85 s
[opt-env-conf-test] showString "Some "
1732.85 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.85 s
[opt-env-conf-test] . showString " "
1732.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
1732.85 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.85 s
[opt-env-conf-test] . showString " "
1732.85 s
[opt-env-conf-test] . go 11 p
1732.85 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.85 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1732.85 s
[opt-env-conf-test] + showParen ( F a lse ) $
1732.85 s
[opt-env-conf-test] showString "Some "
1732.85 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.85 s
[opt-env-conf-test] . showString " "
1732.85 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:20-26
1732.85 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.85 s
[opt-env-conf-test] . showString " "
1732.85 s
[opt-env-conf-test] . go 11 p
1732.85 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.85 s
[opt-env-conf-test] - showPare n (d > 10) $
1732.85 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1732.85 s
[opt-env-conf-test] showString "Some "
1732.85 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.85 s
[opt-env-conf-test] . showString " "
1732.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
1732.85 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.85 s
[opt-env-conf-test] . showString " "
1732.85 s
[opt-env-conf-test] . go 11 p
1732.85 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.85 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1732.85 s
[opt-env-conf-test] + showParen T ru e $
1732.85 s
[opt-env-conf-test] showString "Some "
1732.85 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.85 s
[opt-env-conf-test] . showString " "
1732.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
1732.85 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.85 s
[opt-env-conf-test] . showString " "
1732.85 s
[opt-env-conf-test] . go 11 p
1732.85 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.85 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1732.85 s
[opt-env-conf-test] + showParen F a ls e $
1732.85 s
[opt-env-conf-test] showString "Some "
1732.86 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.86 s
[opt-env-conf-test] . showString " "
1732.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:19-27
1732.86 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1732.86 s
[opt-env-conf-test] . showString " "
1732.86 s
[opt-env-conf-test] . go 11 p
1732.86 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.86 s
[opt-env-conf-test] - showPare n ( d > 10) $
1732.86 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1732.86 s
[opt-env-conf-test] showString "Some "
1732.86 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.86 s
[opt-env-conf-test] . showString " "
1732.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1732.86 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1732.86 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.86 s
[opt-env-conf-test] showParen (d > 10) $
1732.86 s
[opt-env-conf-test] showString "Some "
1732.86 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1732.86 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1732.86 s
[opt-env-conf-test] . showString " "
1732.86 s
[opt-env-conf-test] . go 11 p
1732.86 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1732.86 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1732.86 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.86 s
[opt-env-conf-test] showParen (d > 10) $
1732.86 s
[opt-env-conf-test] showString "Some "
1732.86 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1732.86 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1732.86 s
[opt-env-conf-test] . showString " "
1732.86 s
[opt-env-conf-test] . go 11 p
1732.86 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1732.86 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1732.86 s
[opt-env-conf-test] ParserSome mLoc p ->
1732.86 s
[opt-env-conf-test] showParen (d > 10) $
1732.86 s
[opt-env-conf-test] showString "Some "
1732.86 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1732.86 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1732.86 s
[opt-env-conf-test] . showString " "
1732.86 s
[opt-env-conf-test] . go 11 p
1732.86 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1732.86 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1732.86 s
[opt-env-conf-test] showString "Some "
1732.86 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.86 s
[opt-env-conf-test] . showString " "
1732.86 s
[opt-env-conf-test] - . go 1 1 p
1732.86 s
[opt-env-conf-test] + . go 0 p
1732.87 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.87 s
[opt-env-conf-test] showParen (d > 10) $
1732.87 s
[opt-env-conf-test] showString "AllOrNothing "
1732.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1732.87 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1732.87 s
[opt-env-conf-test] showString "Some "
1732.87 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.87 s
[opt-env-conf-test] . showString " "
1732.87 s
[opt-env-conf-test] - . go 1 1 p
1732.87 s
[opt-env-conf-test] + . go 1 p
1732.87 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.87 s
[opt-env-conf-test] showParen (d > 10) $
1732.87 s
[opt-env-conf-test] showString "AllOrNothing "
1732.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1732.87 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1732.87 s
[opt-env-conf-test] showString "Some "
1732.87 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.87 s
[opt-env-conf-test] . showString " "
1732.87 s
[opt-env-conf-test] - . go 11 p
1732.87 s
[opt-env-conf-test] + . go - 11 p
1732.87 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.87 s
[opt-env-conf-test] showParen (d > 10) $
1732.87 s
[opt-env-conf-test] showString "AllOrNothing "
1732.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1732.87 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.87 s
[opt-env-conf-test] . showString " "
1732.87 s
[opt-env-conf-test] . go 11 p
1732.87 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.87 s
[opt-env-conf-test] - showParen (d > 1 0) $
1732.94 s
[opt-env-conf-test] + showParen (d > 0) $
1732.94 s
[opt-env-conf-test] showString "AllOrNothing "
1732.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.94 s
[opt-env-conf-test] . showString " "
1732.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1732.94 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.94 s
[opt-env-conf-test] . showString " "
1732.94 s
[opt-env-conf-test] . go 11 p
1732.95 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.95 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1732.95 s
[opt-env-conf-test] + showParen (d > 1 ) $
1732.95 s
[opt-env-conf-test] showString "AllOrNothing "
1732.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.95 s
[opt-env-conf-test] . showString " "
1732.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1732.95 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.95 s
[opt-env-conf-test] . showString " "
1732.95 s
[opt-env-conf-test] . go 11 p
1732.95 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.95 s
[opt-env-conf-test] - showParen (d > 10) $
1732.95 s
[opt-env-conf-test] + showParen (d > - 10) $
1732.95 s
[opt-env-conf-test] showString "AllOrNothing "
1732.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.95 s
[opt-env-conf-test] . showString " "
1732.95 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
1732.95 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.95 s
[opt-env-conf-test] . showString " "
1732.95 s
[opt-env-conf-test] . go 11 p
1732.95 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.95 s
[opt-env-conf-test] - showParen (d > 10) $
1732.95 s
[opt-env-conf-test] + showParen (d < 10) $
1732.95 s
[opt-env-conf-test] showString "AllOrNothing "
1732.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.95 s
[opt-env-conf-test] . showString " "
1732.95 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
1732.95 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.95 s
[opt-env-conf-test] . showString " "
1732.95 s
[opt-env-conf-test] . go 11 p
1732.95 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.95 s
[opt-env-conf-test] - showParen (d > 10) $
1732.95 s
[opt-env-conf-test] + showParen (d < = 10) $
1732.95 s
[opt-env-conf-test] showString "AllOrNothing "
1732.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.95 s
[opt-env-conf-test] . showString " "
1732.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
1732.96 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] . go 11 p
1732.96 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.96 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1732.96 s
[opt-env-conf-test] + showParen ( Tru e ) $
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
1732.96 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] . go 11 p
1732.96 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.96 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1732.96 s
[opt-env-conf-test] + showParen ( F a lse ) $
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:20-26
1732.96 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] . go 11 p
1732.96 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.96 s
[opt-env-conf-test] - showPare n (d > 10) $
1732.96 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
1732.96 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] . go 11 p
1732.96 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.96 s
[opt-env-conf-test] - showParen (d > 10) $
1732.96 s
[opt-env-conf-test] + showParen (d > = 10) $
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
1732.96 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] . go 11 p
1732.96 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.96 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1732.96 s
[opt-env-conf-test] + showParen T ru e $
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:19-27
1732.96 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] . go 11 p
1732.96 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.96 s
[opt-env-conf-test] - showPare n ( d > 10) $
1732.96 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
1732.96 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] . go 11 p
1732.96 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.96 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1732.96 s
[opt-env-conf-test] + showParen F a ls e $
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1732.96 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1732.96 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.96 s
[opt-env-conf-test] showParen (d > 10) $
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1732.96 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] . go 11 p
1732.96 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1732.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1732.96 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1732.96 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.96 s
[opt-env-conf-test] showParen (d > 10) $
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1732.96 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] . go 11 p
1732.96 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1732.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1732.96 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] - . go 1 1 p
1732.96 s
[opt-env-conf-test] + . go 0 p
1732.96 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1732.96 s
[opt-env-conf-test] showParen (d > 10) $
1732.96 s
[opt-env-conf-test] showString "Check "
1732.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1732.96 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1732.96 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1732.96 s
[opt-env-conf-test] showParen (d > 10) $
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1732.96 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] . go 11 p
1732.96 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1732.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1732.96 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1732.96 s
[opt-env-conf-test] showString "AllOrNothing "
1732.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.96 s
[opt-env-conf-test] . showString " "
1732.96 s
[opt-env-conf-test] - . go 11 p
1732.96 s
[opt-env-conf-test] + . go - 11 p
1732.96 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1732.96 s
[opt-env-conf-test] showParen (d > 10) $
1732.96 s
[opt-env-conf-test] showString "Check "
1732.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1732.96 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1732.97 s
[opt-env-conf-test] showString "AllOrNothing "
1732.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.97 s
[opt-env-conf-test] . showString " "
1732.97 s
[opt-env-conf-test] - . go 1 1 p
1732.97 s
[opt-env-conf-test] + . go 1 p
1732.97 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1732.97 s
[opt-env-conf-test] showParen (d > 10) $
1732.97 s
[opt-env-conf-test] showString "Check "
1732.97 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1732.97 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1732.97 s
[opt-env-conf-test] . showString " "
1732.97 s
[opt-env-conf-test] . go 11 p
1732.97 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1732.97 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1732.97 s
[opt-env-conf-test] + showParen (d > 1 ) $
1732.97 s
[opt-env-conf-test] showString "Check "
1732.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1732.97 s
[opt-env-conf-test] . showString " "
1732.97 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1732.97 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1732.97 s
[opt-env-conf-test] . showString " "
1732.97 s
[opt-env-conf-test] . go 11 p
1732.97 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1732.97 s
[opt-env-conf-test] - showParen (d > 10) $
1732.97 s
[opt-env-conf-test] + showParen (d > - 10) $
1732.97 s
[opt-env-conf-test] showString "Check "
1732.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.36 s
[opt-env-conf-test] . showString " "
1738.36 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
1738.39 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1738.39 s
[opt-env-conf-test] . showString " "
1738.39 s
[opt-env-conf-test] . go 11 p
1738.39 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.39 s
[opt-env-conf-test] - showParen (d > 10) $
1738.40 s
[opt-env-conf-test] + showParen (d < 10) $
1738.40 s
[opt-env-conf-test] showString "Check "
1738.40 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.40 s
[opt-env-conf-test] . showString " "
1738.40 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1738.40 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1738.40 s
[opt-env-conf-test] . showString " "
1738.40 s
[opt-env-conf-test] . go 11 p
1738.40 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.40 s
[opt-env-conf-test] - showParen (d > 1 0) $
1738.40 s
[opt-env-conf-test] + showParen (d > 0) $
1738.40 s
[opt-env-conf-test] showString "Check "
1738.40 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.40 s
[opt-env-conf-test] . showString " "
1738.40 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
1738.40 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1738.40 s
[opt-env-conf-test] . showString " "
1738.40 s
[opt-env-conf-test] . go 11 p
1738.40 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.40 s
[opt-env-conf-test] - showParen (d > 10) $
1738.40 s
[opt-env-conf-test] + showParen (d > = 10) $
1738.40 s
[opt-env-conf-test] showString "Check "
1738.40 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.40 s
[opt-env-conf-test] . showString " "
1738.40 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
1738.40 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1738.40 s
[opt-env-conf-test] . showString " "
1738.40 s
[opt-env-conf-test] . go 11 p
1738.40 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.40 s
[opt-env-conf-test] - showParen (d > 10) $
1738.40 s
[opt-env-conf-test] + showParen (d < = 10) $
1738.40 s
[opt-env-conf-test] showString "Check "
1738.40 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.40 s
[opt-env-conf-test] . showString " "
1738.40 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
1738.40 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1738.40 s
[opt-env-conf-test] . showString " "
1738.40 s
[opt-env-conf-test] . go 11 p
1738.40 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.40 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1738.40 s
[opt-env-conf-test] + showParen ( Tru e ) $
1738.40 s
[opt-env-conf-test] showString "Check "
1738.40 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.40 s
[opt-env-conf-test] . showString " "
1738.40 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
1738.40 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1738.40 s
[opt-env-conf-test] . showString " "
1738.40 s
[opt-env-conf-test] . go 11 p
1738.40 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.40 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1738.41 s
[opt-env-conf-test] + showParen ( F a lse ) $
1738.41 s
[opt-env-conf-test] showString "Check "
1738.41 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
1738.41 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] . go 11 p
1738.41 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.41 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1738.41 s
[opt-env-conf-test] + showParen T ru e $
1738.41 s
[opt-env-conf-test] showString "Check "
1738.41 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:20-26
1738.41 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] . go 11 p
1738.41 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.41 s
[opt-env-conf-test] - showPare n (d > 10) $
1738.41 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1738.41 s
[opt-env-conf-test] showString "Check "
1738.41 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:19-27
1738.41 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] . go 11 p
1738.41 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.41 s
[opt-env-conf-test] - showPare n ( d > 10) $
1738.41 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1738.41 s
[opt-env-conf-test] showString "Check "
1738.41 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
1738.41 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] . go 11 p
1738.41 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.41 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1738.41 s
[opt-env-conf-test] + showParen F a ls e $
1738.41 s
[opt-env-conf-test] showString "Check "
1738.41 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1738.41 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1738.41 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.41 s
[opt-env-conf-test] showParen (d > 10) $
1738.41 s
[opt-env-conf-test] showString "Check "
1738.41 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1738.41 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] . showsPrec 11 forgivable
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1738.41 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1738.41 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.41 s
[opt-env-conf-test] showParen (d > 10) $
1738.41 s
[opt-env-conf-test] showString "Check "
1738.41 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1738.41 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] . showsPrec 11 forgivable
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1738.41 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1738.41 s
[opt-env-conf-test] showString "Check "
1738.41 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] - . showsPrec 1 1 forgivable
1738.41 s
[opt-env-conf-test] + . showsPrec 0 forgivable
1738.41 s
[opt-env-conf-test] . showString " "
1738.41 s
[opt-env-conf-test] . showsPrec 11 caps
1738.41 s
[opt-env-conf-test] . showString " _ "
1738.41 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1738.41 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1738.41 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1738.42 s
[opt-env-conf-test] showParen (d > 10) $
1738.42 s
[opt-env-conf-test] showString "Check "
1738.42 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1738.42 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1738.42 s
[opt-env-conf-test] . showString " "
1738.42 s
[opt-env-conf-test] . showsPrec 11 forgivable
1738.42 s
[opt-env-conf-test] . showString " "
1738.42 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1738.42 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1738.42 s
[opt-env-conf-test] showString "Check "
1738.42 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.42 s
[opt-env-conf-test] . showString " "
1738.42 s
[opt-env-conf-test] - . showsPrec 1 1 forgivable
1738.42 s
[opt-env-conf-test] + . showsPrec 1 forgivable
1738.42 s
[opt-env-conf-test] . showString " "
1738.42 s
[opt-env-conf-test] . showsPrec 11 caps
1738.42 s
[opt-env-conf-test] . showString " _ "
1738.42 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
1738.42 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1738.42 s
[opt-env-conf-test] showString "Check "
1738.42 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.42 s
[opt-env-conf-test] . showString " "
1738.42 s
[opt-env-conf-test] - . showsPrec 11 f o r gi v a b l e
1738.42 s
[opt-env-conf-test] + . showsPrec 11 T r u e
1738.42 s
[opt-env-conf-test] . showString " "
1738.42 s
[opt-env-conf-test] . showsPrec 11 caps
1738.42 s
[opt-env-conf-test] . showString " _ "
1738.42 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
1738.42 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1738.42 s
[opt-env-conf-test] showString "Check "
1738.42 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.42 s
[opt-env-conf-test] . showString " "
1738.42 s
[opt-env-conf-test] - . showsPrec 11 f o rg iv a b l e
1738.42 s
[opt-env-conf-test] + . showsPrec 11 F a l s e
1738.42 s
[opt-env-conf-test] . showString " "
1738.42 s
[opt-env-conf-test] . showsPrec 11 caps
1738.42 s
[opt-env-conf-test] . showString " _ "
1738.42 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:349:28-38
1738.42 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1738.42 s
[opt-env-conf-test] showString "Check "
1738.42 s
[opt-env-conf-test] . showsPrec 11 mLoc
1738.42 s
[opt-env-conf-test] . showString " "
1738.42 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1738.42 s
[opt-env-conf-test] + . showsPrec 11 n o t ( forgivable )
1738.42 s
[opt-env-conf-test] . showString " "
1738.42 s
[opt-env-conf-test] . showsPrec 11 caps
1738.42 s
[opt-env-conf-test] . showString " _ "
1738.42 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1738.42 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1738.42 s
[opt-env-conf-test] . showString " "
1738.42 s
[opt-env-conf-test] . showsPrec 11 forgivable
1751.29 s
[opt-env-conf-test] . showString " "
1751.29 s
[opt-env-conf-test] - . showsPrec 1 1 caps
1751.31 s
[opt-env-conf-test] + . showsPrec 0 caps
1751.31 s
[opt-env-conf-test] . showString " _ "
1751.31 s
[opt-env-conf-test] . go 11 p
1751.31 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.31 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1751.31 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1751.31 s
[opt-env-conf-test] . showString " "
1751.31 s
[opt-env-conf-test] . showsPrec 11 forgivable
1751.31 s
[opt-env-conf-test] . showString " "
1751.31 s
[opt-env-conf-test] - . showsPrec 1 1 caps
1751.31 s
[opt-env-conf-test] + . showsPrec 1 caps
1751.31 s
[opt-env-conf-test] . showString " _ "
1751.31 s
[opt-env-conf-test] . go 11 p
1751.31 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.32 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1751.32 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1751.32 s
[opt-env-conf-test] . showString " "
1751.32 s
[opt-env-conf-test] . showsPrec 11 forgivable
1751.32 s
[opt-env-conf-test] . showString " "
1751.32 s
[opt-env-conf-test] - . showsPrec 11 caps
1751.32 s
[opt-env-conf-test] + . showsPrec - 11 caps
1751.32 s
[opt-env-conf-test] . showString " _ "
1751.32 s
[opt-env-conf-test] . go 11 p
1751.32 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.32 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1751.32 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1751.32 s
[opt-env-conf-test] . showString " "
1751.32 s
[opt-env-conf-test] . showsPrec 11 caps
1751.32 s
[opt-env-conf-test] . showString " _ "
1751.32 s
[opt-env-conf-test] - . go 1 1 p
1751.32 s
[opt-env-conf-test] + . go 0 p
1751.32 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.32 s
[opt-env-conf-test] showParen (d > 10) $
1751.32 s
[opt-env-conf-test] showString "Commands "
1751.32 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1751.32 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1751.32 s
[opt-env-conf-test] . showString " "
1751.32 s
[opt-env-conf-test] . showsPrec 11 caps
1751.32 s
[opt-env-conf-test] . showString " _ "
1751.32 s
[opt-env-conf-test] - . go 1 1 p
1751.32 s
[opt-env-conf-test] + . go 1 p
1751.32 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.32 s
[opt-env-conf-test] showParen (d > 10) $
1751.32 s
[opt-env-conf-test] showString "Commands "
1751.32 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1751.32 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1751.32 s
[opt-env-conf-test] . showString " "
1751.32 s
[opt-env-conf-test] . showsPrec 11 caps
1751.32 s
[opt-env-conf-test] . showString " _ "
1751.32 s
[opt-env-conf-test] - . go 11 p
1751.32 s
[opt-env-conf-test] + . go - 11 p
1751.32 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.32 s
[opt-env-conf-test] showParen (d > 10) $
1751.32 s
[opt-env-conf-test] showString "Commands "
1751.32 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1751.32 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.32 s
[opt-env-conf-test] . showString " _ "
1751.32 s
[opt-env-conf-test] . go 11 p
1751.32 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.32 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1751.32 s
[opt-env-conf-test] + showParen (d > 1 ) $
1751.32 s
[opt-env-conf-test] showString "Commands "
1751.32 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.32 s
[opt-env-conf-test] . showString " "
1751.32 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1751.32 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.33 s
[opt-env-conf-test] . showString " _ "
1751.33 s
[opt-env-conf-test] . go 11 p
1751.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.33 s
[opt-env-conf-test] - showParen (d > 1 0) $
1751.33 s
[opt-env-conf-test] + showParen (d > 0) $
1751.33 s
[opt-env-conf-test] showString "Commands "
1751.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.33 s
[opt-env-conf-test] . showString " "
1751.33 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1751.33 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.33 s
[opt-env-conf-test] . showString " _ "
1751.33 s
[opt-env-conf-test] . go 11 p
1751.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.33 s
[opt-env-conf-test] - showParen (d > 10) $
1751.33 s
[opt-env-conf-test] + showParen (d > - 10) $
1751.33 s
[opt-env-conf-test] showString "Commands "
1751.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.33 s
[opt-env-conf-test] . showString " "
1751.33 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
1751.33 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.33 s
[opt-env-conf-test] . showString " _ "
1751.33 s
[opt-env-conf-test] . go 11 p
1751.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.33 s
[opt-env-conf-test] - showParen (d > 10) $
1751.33 s
[opt-env-conf-test] + showParen (d < 10) $
1751.33 s
[opt-env-conf-test] showString "Commands "
1751.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.33 s
[opt-env-conf-test] . showString " "
1751.33 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
1751.33 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.33 s
[opt-env-conf-test] . showString " _ "
1751.33 s
[opt-env-conf-test] . go 11 p
1751.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.33 s
[opt-env-conf-test] - showParen (d > 10) $
1751.33 s
[opt-env-conf-test] + showParen (d < = 10) $
1751.33 s
[opt-env-conf-test] showString "Commands "
1751.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.33 s
[opt-env-conf-test] . showString " "
1751.33 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
1751.33 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.33 s
[opt-env-conf-test] . showString " _ "
1751.33 s
[opt-env-conf-test] . go 11 p
1751.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.33 s
[opt-env-conf-test] - showParen (d > 10) $
1751.33 s
[opt-env-conf-test] + showParen (d > = 10) $
1751.33 s
[opt-env-conf-test] showString "Commands "
1751.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.33 s
[opt-env-conf-test] . showString " "
1751.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
1751.33 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.33 s
[opt-env-conf-test] . showString " _ "
1751.33 s
[opt-env-conf-test] . go 11 p
1751.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.33 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1751.33 s
[opt-env-conf-test] + showParen ( Tru e ) $
1751.33 s
[opt-env-conf-test] showString "Commands "
1751.34 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.34 s
[opt-env-conf-test] . showString " "
1751.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
1751.34 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.34 s
[opt-env-conf-test] . showString " _ "
1751.34 s
[opt-env-conf-test] . go 11 p
1751.34 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.34 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1751.34 s
[opt-env-conf-test] + showParen ( F a lse ) $
1751.34 s
[opt-env-conf-test] showString "Commands "
1751.34 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.34 s
[opt-env-conf-test] . showString " "
1751.34 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:20-26
1751.34 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.34 s
[opt-env-conf-test] . showString " _ "
1751.34 s
[opt-env-conf-test] . go 11 p
1751.34 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.34 s
[opt-env-conf-test] - showPare n (d > 10) $
1751.34 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1751.34 s
[opt-env-conf-test] showString "Commands "
1751.34 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.34 s
[opt-env-conf-test] . showString " "
1751.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
1751.34 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.34 s
[opt-env-conf-test] . showString " _ "
1751.34 s
[opt-env-conf-test] . go 11 p
1751.34 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.34 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1751.34 s
[opt-env-conf-test] + showParen T ru e $
1751.34 s
[opt-env-conf-test] showString "Commands "
1751.34 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.34 s
[opt-env-conf-test] . showString " "
1751.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
1751.34 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.34 s
[opt-env-conf-test] . showString " _ "
1751.34 s
[opt-env-conf-test] . go 11 p
1751.34 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.34 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1751.34 s
[opt-env-conf-test] + showParen F a ls e $
1751.34 s
[opt-env-conf-test] showString "Commands "
1751.34 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.34 s
[opt-env-conf-test] . showString " "
1751.34 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:19-27
1751.34 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1751.34 s
[opt-env-conf-test] . showString " _ "
1751.34 s
[opt-env-conf-test] . go 11 p
1751.34 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.34 s
[opt-env-conf-test] - showPare n ( d > 10) $
1751.34 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1751.34 s
[opt-env-conf-test] showString "Commands "
1751.34 s
[opt-env-conf-test] . showsPrec 11 mLoc
1751.34 s
[opt-env-conf-test] . showString " "
1751.34 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1751.34 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1751.34 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.34 s
[opt-env-conf-test] showParen (d > 10) $
1751.34 s
[opt-env-conf-test] showString "Commands "
1751.34 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1751.34 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1751.35 s
[opt-env-conf-test] . showString " "
1751.35 s
[opt-env-conf-test] . showsPrec 11 mDefault
1751.35 s
[opt-env-conf-test] . showString " "
1751.35 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1751.35 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1751.35 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1751.35 s
[opt-env-conf-test] showParen (d > 10) $
1751.35 s
[opt-env-conf-test] showString "Commands "
1758.71 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1758.74 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1758.74 s
[opt-env-conf-test] . showString " "
1758.74 s
[opt-env-conf-test] . showsPrec 11 mDefault
1758.74 s
[opt-env-conf-test] . showString " "
1758.74 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1758.74 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1758.74 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1758.74 s
[opt-env-conf-test] showParen (d > 10) $
1758.74 s
[opt-env-conf-test] showString "Commands "
1758.74 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1758.74 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1758.74 s
[opt-env-conf-test] . showString " "
1758.74 s
[opt-env-conf-test] . showsPrec 11 mDefault
1758.74 s
[opt-env-conf-test] . showString " "
1758.74 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1758.74 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1758.74 s
[opt-env-conf-test] showString "Commands "
1758.74 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.74 s
[opt-env-conf-test] . showString " "
1758.74 s
[opt-env-conf-test] - . showsPrec 1 1 mDefault
1758.74 s
[opt-env-conf-test] + . showsPrec 0 mDefault
1758.74 s
[opt-env-conf-test] . showString " "
1758.74 s
[opt-env-conf-test] . showListWith
1758.75 s
[opt-env-conf-test] showCommandABit
1758.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1758.75 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1758.75 s
[opt-env-conf-test] showString "Commands "
1758.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.75 s
[opt-env-conf-test] . showString " "
1758.75 s
[opt-env-conf-test] - . showsPrec 1 1 mDefault
1758.75 s
[opt-env-conf-test] + . showsPrec 1 mDefault
1758.75 s
[opt-env-conf-test] . showString " "
1758.75 s
[opt-env-conf-test] . showListWith
1758.75 s
[opt-env-conf-test] showCommandABit
1758.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1758.75 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1758.75 s
[opt-env-conf-test] showString "Commands "
1758.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.75 s
[opt-env-conf-test] . showString " "
1758.75 s
[opt-env-conf-test] - . showsPrec 11 mDefault
1758.75 s
[opt-env-conf-test] + . showsPrec - 11 mDefault
1758.75 s
[opt-env-conf-test] . showString " "
1758.75 s
[opt-env-conf-test] . showListWith
1758.75 s
[opt-env-conf-test] showCommandABit
1758.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1758.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.75 s
[opt-env-conf-test] showCommandABit
1758.75 s
[opt-env-conf-test] cs
1758.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.75 s
[opt-env-conf-test] - showParen (d > 1 0) $
1758.75 s
[opt-env-conf-test] + showParen (d > 0) $
1758.75 s
[opt-env-conf-test] showString "WithConfig _ "
1758.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.75 s
[opt-env-conf-test] . showString " "
1758.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1758.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.75 s
[opt-env-conf-test] showCommandABit
1758.75 s
[opt-env-conf-test] cs
1758.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.75 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1758.75 s
[opt-env-conf-test] + showParen (d > 1 ) $
1758.75 s
[opt-env-conf-test] showString "WithConfig _ "
1758.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.75 s
[opt-env-conf-test] . showString " "
1758.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1758.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.75 s
[opt-env-conf-test] showCommandABit
1758.75 s
[opt-env-conf-test] cs
1758.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.75 s
[opt-env-conf-test] - showParen (d > 10) $
1758.75 s
[opt-env-conf-test] + showParen (d > - 10) $
1758.75 s
[opt-env-conf-test] showString "WithConfig _ "
1758.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.76 s
[opt-env-conf-test] . showString " "
1758.76 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
1758.76 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.76 s
[opt-env-conf-test] showCommandABit
1758.76 s
[opt-env-conf-test] cs
1758.76 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.76 s
[opt-env-conf-test] - showParen (d > 10) $
1758.76 s
[opt-env-conf-test] + showParen (d < 10) $
1758.76 s
[opt-env-conf-test] showString "WithConfig _ "
1758.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.76 s
[opt-env-conf-test] . showString " "
1758.76 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
1758.76 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.76 s
[opt-env-conf-test] showCommandABit
1758.76 s
[opt-env-conf-test] cs
1758.76 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.76 s
[opt-env-conf-test] - showParen (d > 10) $
1758.76 s
[opt-env-conf-test] + showParen (d < = 10) $
1758.76 s
[opt-env-conf-test] showString "WithConfig _ "
1758.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.76 s
[opt-env-conf-test] . showString " "
1758.76 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
1758.76 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.76 s
[opt-env-conf-test] showCommandABit
1758.76 s
[opt-env-conf-test] cs
1758.76 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.76 s
[opt-env-conf-test] - showParen (d > 10) $
1758.76 s
[opt-env-conf-test] + showParen (d > = 10) $
1758.76 s
[opt-env-conf-test] showString "WithConfig _ "
1758.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.76 s
[opt-env-conf-test] . showString " "
1758.76 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1758.76 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.76 s
[opt-env-conf-test] showCommandABit
1758.76 s
[opt-env-conf-test] cs
1758.76 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.76 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1758.76 s
[opt-env-conf-test] + showParen ( Tru e ) $
1758.76 s
[opt-env-conf-test] showString "WithConfig _ "
1758.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.76 s
[opt-env-conf-test] . showString " "
1758.76 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1758.76 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.76 s
[opt-env-conf-test] showCommandABit
1758.76 s
[opt-env-conf-test] cs
1758.76 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.76 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1758.76 s
[opt-env-conf-test] + showParen ( F a lse ) $
1758.76 s
[opt-env-conf-test] showString "WithConfig _ "
1758.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.76 s
[opt-env-conf-test] . showString " "
1758.76 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:20-26
1758.76 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.76 s
[opt-env-conf-test] showCommandABit
1758.76 s
[opt-env-conf-test] cs
1758.76 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.76 s
[opt-env-conf-test] - showPare n (d > 10) $
1758.76 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1758.76 s
[opt-env-conf-test] showString "WithConfig _ "
1758.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.77 s
[opt-env-conf-test] . showString " "
1758.77 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1758.77 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.77 s
[opt-env-conf-test] showCommandABit
1758.77 s
[opt-env-conf-test] cs
1758.77 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.77 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1758.77 s
[opt-env-conf-test] + showParen T ru e $
1758.77 s
[opt-env-conf-test] showString "WithConfig _ "
1758.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.77 s
[opt-env-conf-test] . showString " "
1758.77 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1758.77 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.77 s
[opt-env-conf-test] showCommandABit
1758.77 s
[opt-env-conf-test] cs
1758.77 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.77 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1758.77 s
[opt-env-conf-test] + showParen F a ls e $
1758.77 s
[opt-env-conf-test] showString "WithConfig _ "
1758.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.77 s
[opt-env-conf-test] . showString " "
1758.77 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:19-27
1758.77 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1758.77 s
[opt-env-conf-test] showCommandABit
1758.77 s
[opt-env-conf-test] cs
1758.77 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.77 s
[opt-env-conf-test] - showPare n ( d > 10) $
1758.77 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1758.77 s
[opt-env-conf-test] showString "WithConfig _ "
1758.77 s
[opt-env-conf-test] . showsPrec 11 mLoc
1758.77 s
[opt-env-conf-test] . showString " "
1758.77 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1758.77 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1758.77 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.77 s
[opt-env-conf-test] showParen (d > 10) $
1758.77 s
[opt-env-conf-test] showString "WithConfig _ "
1758.77 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1758.77 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1758.77 s
[opt-env-conf-test] . showString " "
1758.77 s
[opt-env-conf-test] . go 11 p1
1758.77 s
[opt-env-conf-test] . showString " "
1758.77 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1758.77 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1758.77 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.77 s
[opt-env-conf-test] showParen (d > 10) $
1758.77 s
[opt-env-conf-test] showString "WithConfig _ "
1758.77 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1758.78 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1758.78 s
[opt-env-conf-test] . showString " "
1758.78 s
[opt-env-conf-test] . go 11 p1
1758.78 s
[opt-env-conf-test] . showString " "
1758.78 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1758.78 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1758.78 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1758.78 s
[opt-env-conf-test] showParen (d > 10) $
1758.78 s
[opt-env-conf-test] showString "WithConfig _ "
1758.78 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1758.78 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1758.78 s
[opt-env-conf-test] . showString " "
1769.04 s
[opt-env-conf-test] . go 11 p1
1769.04 s
[opt-env-conf-test] . showString " "
1769.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1769.06 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1769.06 s
[opt-env-conf-test] showString "WithConfig _ "
1769.07 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.07 s
[opt-env-conf-test] . showString " "
1769.07 s
[opt-env-conf-test] - . go 1 1 p1
1769.07 s
[opt-env-conf-test] + . go 0 p1
1769.07 s
[opt-env-conf-test] . showString " "
1769.07 s
[opt-env-conf-test] . go 11 p2
1769.07 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.07 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1769.07 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1769.07 s
[opt-env-conf-test] showString "WithConfig _ "
1769.07 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.07 s
[opt-env-conf-test] . showString " "
1769.07 s
[opt-env-conf-test] - . go 1 1 p1
1769.07 s
[opt-env-conf-test] + . go 1 p1
1769.07 s
[opt-env-conf-test] . showString " "
1769.07 s
[opt-env-conf-test] . go 11 p2
1769.07 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.07 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1769.07 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1769.07 s
[opt-env-conf-test] showString "WithConfig _ "
1769.07 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.07 s
[opt-env-conf-test] . showString " "
1769.07 s
[opt-env-conf-test] - . go 11 p1
1769.07 s
[opt-env-conf-test] + . go - 11 p1
1769.07 s
[opt-env-conf-test] . showString " "
1769.07 s
[opt-env-conf-test] . go 11 p2
1769.07 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.07 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1769.07 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1769.07 s
[opt-env-conf-test] . showString " "
1769.07 s
[opt-env-conf-test] . go 11 p1
1769.07 s
[opt-env-conf-test] . showString " "
1769.07 s
[opt-env-conf-test] - . go 1 1 p2
1769.07 s
[opt-env-conf-test] + . go 0 p2
1769.07 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.07 s
[opt-env-conf-test] showParen (d > 10) $
1769.07 s
[opt-env-conf-test] showString "Setting "
1769.07 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1769.07 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1769.07 s
[opt-env-conf-test] . showString " "
1769.07 s
[opt-env-conf-test] . go 11 p1
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] - . go 1 1 p2
1769.08 s
[opt-env-conf-test] + . go 1 p2
1769.08 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.08 s
[opt-env-conf-test] showParen (d > 10) $
1769.08 s
[opt-env-conf-test] showString "Setting "
1769.08 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1769.08 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] . go 11 p1
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] - . go 11 p2
1769.08 s
[opt-env-conf-test] + . go - 11 p2
1769.08 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.08 s
[opt-env-conf-test] showParen (d > 10) $
1769.08 s
[opt-env-conf-test] showString "Setting "
1769.08 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1769.08 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] . go 11 p2
1769.08 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.08 s
[opt-env-conf-test] - showParen (d > 1 0) $
1769.08 s
[opt-env-conf-test] + showParen (d > 0) $
1769.08 s
[opt-env-conf-test] showString "Setting "
1769.08 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1769.08 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] . go 11 p2
1769.08 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.08 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1769.08 s
[opt-env-conf-test] + showParen (d > 1 ) $
1769.08 s
[opt-env-conf-test] showString "Setting "
1769.08 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1769.08 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] . go 11 p2
1769.08 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.08 s
[opt-env-conf-test] - showParen (d > 10) $
1769.08 s
[opt-env-conf-test] + showParen (d > - 10) $
1769.08 s
[opt-env-conf-test] showString "Setting "
1769.08 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
1769.08 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] . go 11 p2
1769.08 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.08 s
[opt-env-conf-test] - showParen (d > 10) $
1769.08 s
[opt-env-conf-test] + showParen (d < 10) $
1769.08 s
[opt-env-conf-test] showString "Setting "
1769.08 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
1769.08 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] . go 11 p2
1769.08 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.08 s
[opt-env-conf-test] - showParen (d > 10) $
1769.08 s
[opt-env-conf-test] + showParen (d < = 10) $
1769.08 s
[opt-env-conf-test] showString "Setting "
1769.08 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
1769.08 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] . go 11 p2
1769.08 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.08 s
[opt-env-conf-test] - showParen (d > 10) $
1769.08 s
[opt-env-conf-test] + showParen (d > = 10) $
1769.08 s
[opt-env-conf-test] showString "Setting "
1769.08 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
1769.08 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] . go 11 p2
1769.08 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.08 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1769.08 s
[opt-env-conf-test] + showParen ( Tru e ) $
1769.08 s
[opt-env-conf-test] showString "Setting "
1769.08 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
1769.08 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.08 s
[opt-env-conf-test] . showString " "
1769.08 s
[opt-env-conf-test] . go 11 p2
1769.08 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.08 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1769.08 s
[opt-env-conf-test] + showParen ( F a lse ) $
1769.09 s
[opt-env-conf-test] showString "Setting "
1769.09 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.09 s
[opt-env-conf-test] . showString " "
1769.09 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:20-26
1769.09 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.09 s
[opt-env-conf-test] . showString " "
1769.09 s
[opt-env-conf-test] . go 11 p2
1769.09 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.09 s
[opt-env-conf-test] - showPare n (d > 10) $
1769.09 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1769.09 s
[opt-env-conf-test] showString "Setting "
1769.09 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.09 s
[opt-env-conf-test] . showString " "
1769.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
1769.09 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.09 s
[opt-env-conf-test] . showString " "
1769.09 s
[opt-env-conf-test] . go 11 p2
1769.09 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.09 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1769.09 s
[opt-env-conf-test] + showParen T ru e $
1769.09 s
[opt-env-conf-test] showString "Setting "
1769.09 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.09 s
[opt-env-conf-test] . showString " "
1769.09 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:980:39-43
1769.09 s
[opt-env-conf-test] @@ -977,7 +977,7 @@
1769.09 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
1769.09 s
[opt-env-conf-test] settingReaders = [],
1769.09 s
[opt-env-conf-test] settingTryArgument = False,
1769.09 s
[opt-env-conf-test] - settingSwitchValue = Just Tr u e, -- Unused
1769.09 s
[opt-env-conf-test] + settingSwitchValue = Just F a ls e, -- Unused
1769.09 s
[opt-env-conf-test] settingTryOption = False,
1769.09 s
[opt-env-conf-test] settingEnvVars = Nothing,
1769.09 s
[opt-env-conf-test] settingConfigVals = Nothing,
1769.09 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:967:31-36
1769.09 s
[opt-env-conf-test] @@ -964,7 +964,7 @@
1769.09 s
[opt-env-conf-test] settingConfigVals = Just ne,
1769.09 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1769.09 s
[opt-env-conf-test] settingExamples = [],
1769.09 s
[opt-env-conf-test] - settingHidden = F al s e,
1769.09 s
[opt-env-conf-test] + settingHidden = T ru e,
1769.09 s
[opt-env-conf-test] settingMetavar = Nothing,
1769.09 s
[opt-env-conf-test] settingHelp = settingHelp s,
1769.09 s
[opt-env-conf-test] settingCompleter = Nothing,
1769.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
1769.09 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.09 s
[opt-env-conf-test] . showString " "
1769.09 s
[opt-env-conf-test] . go 11 p2
1769.09 s
[opt-env-conf-test] ParserSetting mLoc p ->
1769.09 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1769.09 s
[opt-env-conf-test] + showParen F a ls e $
1769.09 s
[opt-env-conf-test] showString "Setting "
1769.09 s
[opt-env-conf-test] . showsPrec 11 mLoc
1769.09 s
[opt-env-conf-test] . showString " "
1769.09 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:19-27
1769.09 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1769.09 s
[opt-env-conf-test] . showString " "
1769.09 s
[opt-env-conf-test] . go 11 p2
1770.98 s
[opt-env-conf-test] ParserSetting mLoc p ->
1770.98 s
[opt-env-conf-test] - showPare n ( d > 10) $
1770.98 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1770.98 s
[opt-env-conf-test] showString "Setting "
1770.98 s
[opt-env-conf-test] . showsPrec 11 mLoc
1770.98 s
[opt-env-conf-test] . showString " "
1770.98 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:939:36-41
1770.98 s
[opt-env-conf-test] @@ -936,7 +936,7 @@
1770.98 s
[opt-env-conf-test] Setting
1770.98 s
[opt-env-conf-test] { settingDasheds = [],
1770.98 s
[opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
1770.98 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1770.98 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1770.99 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1770.99 s
[opt-env-conf-test] settingTryOption = False,
1770.99 s
[opt-env-conf-test] settingEnvVars = Just ne,
1770.99 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1770.99 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1770.99 s
[opt-env-conf-test] showString "Check "
1770.99 s
[opt-env-conf-test] . showsPrec 11 mLoc
1770.99 s
[opt-env-conf-test] . showString " "
1770.99 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1770.99 s
[opt-env-conf-test] + . showsPrec - 11 forgivable
1770.99 s
[opt-env-conf-test] . showString " "
1770.99 s
[opt-env-conf-test] . showsPrec 11 caps
1770.99 s
[opt-env-conf-test] . showString " _ "
1770.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1770.99 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1770.99 s
[opt-env-conf-test] where
1770.99 s
[opt-env-conf-test] go p =
1770.99 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1770.99 s
[opt-env-conf-test] in case p of
1770.99 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1770.99 s
[opt-env-conf-test] ParserAp {} -> p'
1770.99 s
[opt-env-conf-test] ParserSelect {} -> p'
1770.99 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1770.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1770.99 s
[opt-env-conf-test] ParserMany {} -> p'
1770.99 s
[opt-env-conf-test] - ParserSome {} -> p'
1770.99 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1770.99 s
[opt-env-conf-test] ParserCheck {} -> p'
1770.99 s
[opt-env-conf-test] ParserCommands {} -> p'
1770.99 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1770.99 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1770.99 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1770.99 s
[opt-env-conf-test] Just _ -> p
1770.99 s
[opt-env-conf-test]
1770.99 s
[opt-env-conf-test] -- | Try a list of parsers in order
1770.99 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1770.99 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:979:34-39
1770.99 s
[opt-env-conf-test] @@ -976,7 +976,7 @@
1770.99 s
[opt-env-conf-test] Setting
1770.99 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
1770.99 s
[opt-env-conf-test] settingReaders = [],
1770.99 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1770.99 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1770.99 s
[opt-env-conf-test] settingSwitchValue = Just True, -- Unused
1770.99 s
[opt-env-conf-test] settingTryOption = False,
1770.99 s
[opt-env-conf-test] settingEnvVars = Nothing,
1770.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1770.99 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1770.99 s
[opt-env-conf-test] where
1770.99 s
[opt-env-conf-test] go p =
1770.99 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1770.99 s
[opt-env-conf-test] in case p of
1770.99 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1770.99 s
[opt-env-conf-test] ParserAp {} -> p'
1770.99 s
[opt-env-conf-test] ParserSelect {} -> p'
1770.99 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1770.99 s
[opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1770.99 s
[opt-env-conf-test] ParserMany {} -> p'
1771.00 s
[opt-env-conf-test] ParserSome {} -> p'
1771.00 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1771.00 s
[opt-env-conf-test] ParserCheck {} -> p'
1771.00 s
[opt-env-conf-test] ParserCommands {} -> p'
1771.00 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1771.00 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1771.00 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1771.00 s
[opt-env-conf-test] Just _ -> p
1771.00 s
[opt-env-conf-test]
1771.00 s
[opt-env-conf-test] -- | Try a list of parsers in order
1771.00 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1771.00 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:924:29-33
1771.00 s
[opt-env-conf-test] @@ -921,7 +921,7 @@
1771.00 s
[opt-env-conf-test] settingConfigVals = Nothing,
1771.00 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1771.00 s
[opt-env-conf-test] settingExamples = [],
1771.00 s
[opt-env-conf-test] - settingHidden = Tr u e,
1771.00 s
[opt-env-conf-test] + settingHidden = F a ls e,
1771.00 s
[opt-env-conf-test] settingMetavar = Nothing,
1771.00 s
[opt-env-conf-test] settingHelp = Nothing,
1771.00 s
[opt-env-conf-test] settingCompleter = Nothing,
1771.00 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1771.00 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1771.00 s
[opt-env-conf-test] showString "Alt "
1771.00 s
[opt-env-conf-test] . go 11 p1
1771.00 s
[opt-env-conf-test] . showString " "
1771.00 s
[opt-env-conf-test] - . go 11 p2
1771.00 s
[opt-env-conf-test] + . go - 11 p2
1771.00 s
[opt-env-conf-test] ParserMany mLoc p ->
1771.00 s
[opt-env-conf-test] showParen (d > 10) $
1771.00 s
[opt-env-conf-test] showString "Many "
1771.00 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:960:36-41
1771.00 s
[opt-env-conf-test] @@ -957,7 +957,7 @@
1771.00 s
[opt-env-conf-test] Setting
1771.00 s
[opt-env-conf-test] { settingDasheds = [],
1771.00 s
[opt-env-conf-test] settingReaders = [],
1771.00 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1771.00 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1771.00 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1771.00 s
[opt-env-conf-test] settingTryOption = False,
1771.00 s
[opt-env-conf-test] settingEnvVars = Nothing,
1771.00 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:962:34-39
1771.00 s
[opt-env-conf-test] @@ -959,7 +959,7 @@
1771.00 s
[opt-env-conf-test] settingReaders = [],
1771.00 s
[opt-env-conf-test] settingTryArgument = False,
1771.00 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1771.00 s
[opt-env-conf-test] - settingTryOption = F al s e,
1771.00 s
[opt-env-conf-test] + settingTryOption = T ru e,
1771.00 s
[opt-env-conf-test] settingEnvVars = Nothing,
1771.00 s
[opt-env-conf-test] settingConfigVals = Just ne,
1771.00 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1771.00 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:964:35-42
1771.00 s
[opt-env-conf-test] @@ -961,7 +961,7 @@
1771.00 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1771.00 s
[opt-env-conf-test] settingTryOption = False,
1771.00 s
[opt-env-conf-test] settingEnvVars = Nothing,
1771.00 s
[opt-env-conf-test] - settingConfigVals = J us t n e ,
1771.00 s
[opt-env-conf-test] + settingConfigVals = N o t hi n g ,
1771.00 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1771.00 s
[opt-env-conf-test] settingExamples = [],
1771.00 s
[opt-env-conf-test] settingHidden = False,
1771.00 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:919:32-37
1771.00 s
[opt-env-conf-test] @@ -916,7 +916,7 @@
1771.00 s
[opt-env-conf-test] settingReaders = [],
1771.00 s
[opt-env-conf-test] settingTryArgument = False,
1771.00 s
[opt-env-conf-test] settingSwitchValue = Just False,
1771.00 s
[opt-env-conf-test] - settingTryOption = F al s e,
1771.00 s
[opt-env-conf-test] + settingTryOption = T ru e,
1771.00 s
[opt-env-conf-test] settingEnvVars = Nothing,
1771.00 s
[opt-env-conf-test] settingConfigVals = Nothing,
1771.00 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1771.00 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:947:32-43
1771.00 s
[opt-env-conf-test] @@ -944,7 +944,7 @@
1771.01 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1771.01 s
[opt-env-conf-test] settingExamples = [],
1771.01 s
[opt-env-conf-test] settingHidden = False,
1771.01 s
[opt-env-conf-test] - settingMetavar = J u s t "B OOL" ,
1771.01 s
[opt-env-conf-test] + settingMetavar = N o t hi n g ,
1771.01 s
[opt-env-conf-test] settingHelp = settingHelp s,
1771.01 s
[opt-env-conf-test] settingCompleter = Nothing,
1771.01 s
[opt-env-conf-test] settingRequiredCapabilities = Set.empty
1771.01 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:918:39-44
1771.01 s
[opt-env-conf-test] @@ -915,7 +915,7 @@
1771.01 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
1771.01 s
[opt-env-conf-test] settingReaders = [],
1771.01 s
[opt-env-conf-test] settingTryArgument = False,
1771.01 s
[opt-env-conf-test] - settingSwitchValue = Just F al s e,
1771.01 s
[opt-env-conf-test] + settingSwitchValue = Just T ru e,
1771.01 s
[opt-env-conf-test] settingTryOption = False,
1771.01 s
[opt-env-conf-test] settingEnvVars = Nothing,
1771.01 s
[opt-env-conf-test] settingConfigVals = Nothing,
1771.01 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:917:34-39
1771.01 s
[opt-env-conf-test] @@ -914,7 +914,7 @@
1771.01 s
[opt-env-conf-test] Setting
1771.01 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
1771.01 s
[opt-env-conf-test] settingReaders = [],
1771.01 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1771.01 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1771.01 s
[opt-env-conf-test] settingSwitchValue = Just False,
1771.01 s
[opt-env-conf-test] settingTryOption = False,
1774.79 s
[opt-env-conf-test] settingEnvVars = Nothing,
1774.79 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:905:29-33
1774.87 s
[opt-env-conf-test] @@ -902,7 +902,7 @@
1774.87 s
[opt-env-conf-test] settingConfigVals = Nothing,
1774.87 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1774.87 s
[opt-env-conf-test] settingExamples = [],
1774.87 s
[opt-env-conf-test] - settingHidden = Tr u e,
1774.87 s
[opt-env-conf-test] + settingHidden = F a ls e,
1774.87 s
[opt-env-conf-test] settingMetavar = Nothing,
1774.87 s
[opt-env-conf-test] settingHelp = Nothing,
1774.87 s
[opt-env-conf-test] settingCompleter = Nothing,
1774.87 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:946:31-36
1774.87 s
[opt-env-conf-test] @@ -943,7 +943,7 @@
1774.87 s
[opt-env-conf-test] settingConfigVals = Nothing,
1774.87 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1774.87 s
[opt-env-conf-test] settingExamples = [],
1774.87 s
[opt-env-conf-test] - settingHidden = F al s e,
1774.87 s
[opt-env-conf-test] + settingHidden = T ru e,
1774.87 s
[opt-env-conf-test] settingMetavar = Just "BOOL",
1774.87 s
[opt-env-conf-test] settingHelp = settingHelp s,
1774.87 s
[opt-env-conf-test] settingCompleter = Nothing,
1774.87 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:900:32-37
1774.87 s
[opt-env-conf-test] @@ -897,7 +897,7 @@
1774.87 s
[opt-env-conf-test] settingReaders = [],
1774.87 s
[opt-env-conf-test] settingTryArgument = False,
1774.87 s
[opt-env-conf-test] settingSwitchValue = Just True,
1774.87 s
[opt-env-conf-test] - settingTryOption = F al s e,
1774.87 s
[opt-env-conf-test] + settingTryOption = T ru e,
1774.87 s
[opt-env-conf-test] settingEnvVars = Nothing,
1774.87 s
[opt-env-conf-test] settingConfigVals = Nothing,
1774.87 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1774.87 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:918:34-44
1774.87 s
[opt-env-conf-test] @@ -915,7 +915,7 @@
1774.87 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
1774.88 s
[opt-env-conf-test] settingReaders = [],
1774.88 s
[opt-env-conf-test] settingTryArgument = False,
1774.88 s
[opt-env-conf-test] - settingSwitchValue = J u s t F a ls e ,
1774.88 s
[opt-env-conf-test] + settingSwitchValue = N o t h in g ,
1774.88 s
[opt-env-conf-test] settingTryOption = False,
1774.88 s
[opt-env-conf-test] settingEnvVars = Nothing,
1774.88 s
[opt-env-conf-test] settingConfigVals = Nothing,
1774.88 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:899:39-43
1774.88 s
[opt-env-conf-test] @@ -896,7 +896,7 @@
1774.88 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
1774.88 s
[opt-env-conf-test] settingReaders = [],
1774.88 s
[opt-env-conf-test] settingTryArgument = False,
1774.88 s
[opt-env-conf-test] - settingSwitchValue = Just Tr u e,
1774.88 s
[opt-env-conf-test] + settingSwitchValue = Just F a ls e,
1774.88 s
[opt-env-conf-test] settingTryOption = False,
1774.88 s
[opt-env-conf-test] settingEnvVars = Nothing,
1774.88 s
[opt-env-conf-test] settingConfigVals = Nothing,
1774.88 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:898:34-39
1774.88 s
[opt-env-conf-test] @@ -895,7 +895,7 @@
1774.88 s
[opt-env-conf-test] Setting
1774.88 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
1774.88 s
[opt-env-conf-test] settingReaders = [],
1774.88 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1774.88 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1774.88 s
[opt-env-conf-test] settingSwitchValue = Just True,
1774.88 s
[opt-env-conf-test] settingTryOption = False,
1774.88 s
[opt-env-conf-test] settingEnvVars = Nothing,
1774.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:890:19-21
1774.88 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1774.88 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1774.88 s
[opt-env-conf-test] parseDefaultVal = do
1774.88 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1774.88 s
[opt-env-conf-test] - pure $ pure dv
1774.88 s
[opt-env-conf-test] + pure $ pure n o t ( dv )
1774.88 s
[opt-env-conf-test]
1774.88 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1774.88 s
[opt-env-conf-test] parseEnableSwitch =
1774.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1774.88 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1774.88 s
[opt-env-conf-test] ParserSetting mLoc p ->
1774.88 s
[opt-env-conf-test] showParen (d > 10) $
1774.88 s
[opt-env-conf-test] showString "Setting "
1774.88 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1774.88 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1774.88 s
[opt-env-conf-test] . showString " "
1774.88 s
[opt-env-conf-test] . showSettingABit p
1774.88 s
[opt-env-conf-test]
1774.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1774.88 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1774.88 s
[opt-env-conf-test] ParserSetting mLoc p ->
1774.88 s
[opt-env-conf-test] showParen (d > 10) $
1774.88 s
[opt-env-conf-test] showString "Setting "
1774.88 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1774.88 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1774.88 s
[opt-env-conf-test] . showString " "
1774.88 s
[opt-env-conf-test] . showSettingABit p
1774.88 s
[opt-env-conf-test]
1774.88 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:941:34-39
1774.88 s
[opt-env-conf-test] @@ -938,7 +938,7 @@
1774.88 s
[opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
1774.88 s
[opt-env-conf-test] settingTryArgument = False,
1774.88 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1774.88 s
[opt-env-conf-test] - settingTryOption = F al s e,
1774.89 s
[opt-env-conf-test] + settingTryOption = T ru e,
1774.89 s
[opt-env-conf-test] settingEnvVars = Just ne,
1774.89 s
[opt-env-conf-test] settingConfigVals = Nothing,
1774.89 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1774.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1774.89 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1774.89 s
[opt-env-conf-test] where
1774.89 s
[opt-env-conf-test] go p =
1774.89 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1774.89 s
[opt-env-conf-test] in case p of
1774.89 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1774.89 s
[opt-env-conf-test] ParserAp {} -> p'
1774.89 s
[opt-env-conf-test] - ParserSelect {} -> p'
1774.89 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1774.89 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1774.89 s
[opt-env-conf-test] ParserMany {} -> p'
1774.89 s
[opt-env-conf-test] ParserSome {} -> p'
1774.89 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1774.89 s
[opt-env-conf-test] ParserCheck {} -> p'
1774.89 s
[opt-env-conf-test] ParserCommands {} -> p'
1774.89 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1774.89 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1774.89 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1774.89 s
[opt-env-conf-test] Just _ -> p
1774.89 s
[opt-env-conf-test]
1774.89 s
[opt-env-conf-test] -- | Try a list of parsers in order
1774.89 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1774.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1774.89 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1774.89 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1774.89 s
[opt-env-conf-test] showCommandABit Command {..} =
1774.89 s
[opt-env-conf-test] showString "Command "
1774.89 s
[opt-env-conf-test] - . showsPrec 11 commandArg
1774.89 s
[opt-env-conf-test] + . showsPrec - 11 commandArg
1774.89 s
[opt-env-conf-test] . showString " "
1774.89 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1774.89 s
[opt-env-conf-test] . showString " "
1774.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
1774.89 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1774.89 s
[opt-env-conf-test] ParserCheck {} -> p'
1774.89 s
[opt-env-conf-test] ParserCommands {} -> p'
1774.89 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1774.89 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1774.89 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1774.89 s
[opt-env-conf-test] Just _ -> p
1774.89 s
[opt-env-conf-test]
1774.89 s
[opt-env-conf-test] -- | Try a list of parsers in order
1774.89 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1774.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1774.89 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1774.89 s
[opt-env-conf-test] ParserSetting mLoc p ->
1774.89 s
[opt-env-conf-test] showParen (d > 10) $
1774.89 s
[opt-env-conf-test] showString "Setting "
1774.89 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1774.89 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1774.89 s
[opt-env-conf-test] . showString " "
1774.89 s
[opt-env-conf-test] . showSettingABit p
1774.89 s
[opt-env-conf-test]
1774.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1774.89 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1774.89 s
[opt-env-conf-test] showString "Command "
1774.89 s
[opt-env-conf-test] . showsPrec 11 commandArg
1774.89 s
[opt-env-conf-test] . showString " "
1774.89 s
[opt-env-conf-test] - . showsPrec 11 commandHelp
1774.89 s
[opt-env-conf-test] + . showsPrec - 11 commandHelp
1774.89 s
[opt-env-conf-test] . showString " "
1774.89 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1774.89 s
[opt-env-conf-test]
1774.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1774.89 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1774.89 s
[opt-env-conf-test] . showString " "
1774.89 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1774.89 s
[opt-env-conf-test] . showString " "
1774.89 s
[opt-env-conf-test] - . showParserPrec 1 1 commandParser
1774.89 s
[opt-env-conf-test] + . showParserPrec 1 commandParser
1774.89 s
[opt-env-conf-test]
1774.89 s
[opt-env-conf-test] -- | A 'Parser' structure
1774.89 s
[opt-env-conf-test] --
1774.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:297:39-40
1774.89 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
1774.89 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1774.89 s
[opt-env-conf-test]
1774.89 s
[opt-env-conf-test] showParserABit :: Parser a -> String
1774.89 s
[opt-env-conf-test] - showParserABit = flip (showParserPrec 0 ) ""
1774.89 s
[opt-env-conf-test] + showParserABit = flip (showParserPrec 1 ) ""
1774.89 s
[opt-env-conf-test]
1780.18 s
[opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
1780.18 s
[opt-env-conf-test] showParserPrec = go
1780.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1780.20 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1780.20 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1780.20 s
[opt-env-conf-test] isEmpty = \case
1780.20 s
[opt-env-conf-test] ParserPure _ -> False
1780.20 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y p f && isEmpty pa
1780.20 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e && isEmpty pa
1780.20 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1780.20 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.20 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.20 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1780.20 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1780.20 s
[opt-env-conf-test] . showString " "
1780.20 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1780.20 s
[opt-env-conf-test] . showString " "
1780.20 s
[opt-env-conf-test] - . showParserPrec 1 1 commandParser
1780.20 s
[opt-env-conf-test] + . showParserPrec 0 commandParser
1780.20 s
[opt-env-conf-test]
1780.20 s
[opt-env-conf-test] -- | A 'Parser' structure
1780.20 s
[opt-env-conf-test] --
1780.20 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:255:27-32
1780.20 s
[opt-env-conf-test] @@ -252,7 +252,7 @@
1780.20 s
[opt-env-conf-test] (<|>) p1 p2 =
1780.20 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1780.20 s
[opt-env-conf-test] isEmpty = \case
1780.20 s
[opt-env-conf-test] - ParserPure _ -> F al s e
1780.20 s
[opt-env-conf-test] + ParserPure _ -> T ru e
1780.20 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1780.20 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1780.20 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1780.20 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1780.20 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1780.20 s
[opt-env-conf-test] isEmpty = \case
1780.20 s
[opt-env-conf-test] ParserPure _ -> False
1780.20 s
[opt-env-conf-test] - ParserAp pf pa -> i s E m pty p f && isEmpty pa
1780.20 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e && isEmpty pa
1780.20 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1780.20 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.20 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.21 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-43
1780.21 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1780.21 s
[opt-env-conf-test] isEmpty = \case
1780.21 s
[opt-env-conf-test] ParserPure _ -> False
1780.21 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1780.21 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1780.21 s
[opt-env-conf-test] + ParserSelect pe pf -> n o t ( isEmpty pe ) && isEmpty pf
1780.21 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.21 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.21 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1780.21 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:47-57
1780.21 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1780.21 s
[opt-env-conf-test] isEmpty = \case
1780.21 s
[opt-env-conf-test] ParserPure _ -> False
1780.21 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1780.21 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1780.21 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && n o t ( isEmpty pf )
1780.21 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.21 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.21 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1780.21 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
1780.21 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1780.21 s
[opt-env-conf-test] isEmpty = \case
1780.21 s
[opt-env-conf-test] ParserPure _ -> False
1780.21 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1780.21 s
[opt-env-conf-test] - ParserSelect pe pf -> i sEm pty p e && isEmpty pf
1780.21 s
[opt-env-conf-test] + ParserSelect pe pf -> T ru e
1780.21 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.21 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.21 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1780.21 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:256:29-53
1780.21 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1780.21 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1780.21 s
[opt-env-conf-test] isEmpty = \case
1780.21 s
[opt-env-conf-test] ParserPure _ -> False
1780.21 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf & & isEmpty pa
1780.21 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf | | isEmpty pa
1780.21 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1780.21 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.21 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.21 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:43-53
1780.21 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1780.21 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1780.21 s
[opt-env-conf-test] isEmpty = \case
1780.21 s
[opt-env-conf-test] ParserPure _ -> False
1780.21 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1780.21 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && n o t ( isEmpty pa )
1780.21 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1780.21 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.21 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.21 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
1780.21 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1780.21 s
[opt-env-conf-test] isEmpty = \case
1780.21 s
[opt-env-conf-test] ParserPure _ -> False
1780.21 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1780.21 s
[opt-env-conf-test] - ParserSelect pe pf -> i s Emp ty p e & & isEmpty pf
1780.21 s
[opt-env-conf-test] + ParserSelect pe pf -> F al s e
1780.21 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.21 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.21 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1780.21 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:257:33-57
1780.21 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1780.21 s
[opt-env-conf-test] isEmpty = \case
1780.21 s
[opt-env-conf-test] ParserPure _ -> False
1780.21 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1780.21 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe & & isEmpty pf
1780.21 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe | | isEmpty pf
1780.21 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.21 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.21 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1780.22 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-57
1780.22 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1780.22 s
[opt-env-conf-test] isEmpty = \case
1780.22 s
[opt-env-conf-test] ParserPure _ -> False
1780.22 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1780.22 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1780.22 s
[opt-env-conf-test] + ParserSelect pe pf -> n o t ( isEmpty pe && isEmpty pf )
1780.22 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.22 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.22 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1780.22 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
1780.22 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1780.22 s
[opt-env-conf-test] isEmpty = \case
1780.22 s
[opt-env-conf-test] ParserPure _ -> False
1780.22 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1780.22 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && i sE mpt y p f
1780.22 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && T ru e
1780.22 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.22 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.22 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1780.22 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:258:28-32
1780.22 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1780.22 s
[opt-env-conf-test] ParserPure _ -> False
1780.22 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1780.22 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1780.22 s
[opt-env-conf-test] - ParserEmpty _ -> Tr u e
1780.22 s
[opt-env-conf-test] + ParserEmpty _ -> F a ls e
1780.22 s
[opt-env-conf-test] ParserAlt _ _ -> False
1780.22 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1780.22 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1780.22 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:259:28-33
1780.22 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1780.22 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1780.22 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1780.22 s
[opt-env-conf-test] ParserEmpty _ -> True
1780.22 s
[opt-env-conf-test] - ParserAlt _ _ -> F al s e
1780.22 s
[opt-env-conf-test] + ParserAlt _ _ -> T ru e
1780.22 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1780.22 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1780.22 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1780.22 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
1780.22 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1780.22 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1780.22 s
[opt-env-conf-test] isEmpty = \case
1780.22 s
[opt-env-conf-test] ParserPure _ -> False
1780.22 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y pf && isEmpt y p a
1784.90 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e
1784.90 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1784.90 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.90 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
1784.91 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1784.91 s
[opt-env-conf-test] isEmpty = \case
1784.91 s
[opt-env-conf-test] ParserPure _ -> False
1784.91 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1784.91 s
[opt-env-conf-test] - ParserSelect pe pf -> i s Emp ty p e && isEmpty pf
1784.91 s
[opt-env-conf-test] + ParserSelect pe pf -> Tr u e && isEmpty pf
1784.91 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.91 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.91 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1784.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-53
1784.91 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1784.91 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1784.91 s
[opt-env-conf-test] isEmpty = \case
1784.91 s
[opt-env-conf-test] ParserPure _ -> False
1784.91 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1784.91 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf && isEmpty pa )
1784.91 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1784.91 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.91 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.91 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1784.92 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1784.92 s
[opt-env-conf-test] . showString " "
1784.92 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1784.92 s
[opt-env-conf-test] . showString " "
1784.92 s
[opt-env-conf-test] - . showParserPrec 11 commandParser
1784.92 s
[opt-env-conf-test] + . showParserPrec - 11 commandParser
1784.92 s
[opt-env-conf-test]
1784.92 s
[opt-env-conf-test] -- | A 'Parser' structure
1784.92 s
[opt-env-conf-test] --
1784.92 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
1784.92 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1784.92 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1784.92 s
[opt-env-conf-test] isEmpty = \case
1784.92 s
[opt-env-conf-test] ParserPure _ -> False
1784.92 s
[opt-env-conf-test] - ParserAp pf pa -> i s Emp ty pf && isEmpty pa
1784.92 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e
1784.92 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1784.92 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.92 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.92 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
1784.92 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1784.92 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.92 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.92 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1784.92 s
[opt-env-conf-test] - ParserSome _ p -> isE mpty p
1784.92 s
[opt-env-conf-test] + ParserSome _ p -> T r ue
1784.92 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1784.92 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1784.92 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1784.92 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1784.92 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1784.92 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1784.92 s
[opt-env-conf-test] isEmpty = \case
1784.92 s
[opt-env-conf-test] ParserPure _ -> False
1784.92 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i s E m pty pa
1784.92 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && F al s e
1784.92 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1784.92 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.92 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.92 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:260:29-38
1784.92 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1784.92 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1784.92 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.92 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.92 s
[opt-env-conf-test] - ParserMany _ p -> isEmpty p
1784.92 s
[opt-env-conf-test] + ParserMany _ p -> n o t ( isEmpty p )
1784.92 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1784.92 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1784.92 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1784.92 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1784.92 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1784.92 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1784.92 s
[opt-env-conf-test] isEmpty = \case
1784.92 s
[opt-env-conf-test] ParserPure _ -> False
1784.92 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i sE mpt y p a
1784.93 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && T ru e
1784.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1784.93 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.93 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1784.93 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1784.93 s
[opt-env-conf-test] showString "Command "
1784.93 s
[opt-env-conf-test] . showsPrec 11 commandArg
1784.93 s
[opt-env-conf-test] . showString " "
1784.93 s
[opt-env-conf-test] - . showsPrec 1 1 commandHelp
1784.93 s
[opt-env-conf-test] + . showsPrec 1 commandHelp
1784.93 s
[opt-env-conf-test] . showString " "
1784.93 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1784.93 s
[opt-env-conf-test]
1784.93 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
1784.93 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1784.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1784.93 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.93 s
[opt-env-conf-test] - ParserMany _ p -> isE mpty p
1784.93 s
[opt-env-conf-test] + ParserMany _ p -> T r ue
1784.93 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1784.93 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1784.93 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1784.93 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1784.93 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1784.93 s
[opt-env-conf-test] showString "Command "
1784.93 s
[opt-env-conf-test] . showsPrec 11 commandArg
1784.93 s
[opt-env-conf-test] . showString " "
1784.93 s
[opt-env-conf-test] - . showsPrec 1 1 commandHelp
1784.93 s
[opt-env-conf-test] + . showsPrec 0 commandHelp
1784.93 s
[opt-env-conf-test] . showString " "
1784.93 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1784.93 s
[opt-env-conf-test]
1784.93 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
1784.93 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1784.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1784.93 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.93 s
[opt-env-conf-test] - ParserMany _ p -> i s E m pty p
1784.93 s
[opt-env-conf-test] + ParserMany _ p -> F a l s e
1784.93 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1784.93 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1784.93 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1784.93 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1784.93 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1784.93 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1784.93 s
[opt-env-conf-test] showCommandABit Command {..} =
1784.93 s
[opt-env-conf-test] showString "Command "
1784.93 s
[opt-env-conf-test] - . showsPrec 1 1 commandArg
1784.93 s
[opt-env-conf-test] + . showsPrec 1 commandArg
1784.93 s
[opt-env-conf-test] . showString " "
1784.93 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1784.93 s
[opt-env-conf-test] . showString " "
1784.93 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
1784.93 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1784.94 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.94 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.94 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1784.94 s
[opt-env-conf-test] - ParserSome _ p -> i s E m pty p
1784.94 s
[opt-env-conf-test] + ParserSome _ p -> F a l s e
1784.94 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1784.94 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1784.94 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1784.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1784.94 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1784.94 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1784.94 s
[opt-env-conf-test] showCommandABit Command {..} =
1784.94 s
[opt-env-conf-test] showString "Command "
1784.94 s
[opt-env-conf-test] - . showsPrec 1 1 commandArg
1784.94 s
[opt-env-conf-test] + . showsPrec 0 commandArg
1784.94 s
[opt-env-conf-test] . showString " "
1784.94 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1784.94 s
[opt-env-conf-test] . showString " "
1784.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
1784.94 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1784.94 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1784.94 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1784.94 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1784.94 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i s Emp ty pc && isEmpty ps
1784.94 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> F al s e
1784.94 s
[opt-env-conf-test] ParserSetting _ _ -> False
1784.94 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1784.94 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1784.94 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:261:29-38
1784.94 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1784.94 s
[opt-env-conf-test] ParserEmpty _ -> True
1784.94 s
[opt-env-conf-test] ParserAlt _ _ -> False
1784.94 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1784.94 s
[opt-env-conf-test] - ParserSome _ p -> isEmpty p
1786.15 s
[opt-env-conf-test] + ParserSome _ p -> n o t ( isEmpty p )
1786.22 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1786.22 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1786.22 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1786.22 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
1786.22 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1786.23 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1786.23 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1786.23 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1786.23 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i s E m pty p c && isEmpty ps
1786.23 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> F al s e && isEmpty ps
1786.23 s
[opt-env-conf-test] ParserSetting _ _ -> False
1786.23 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1786.23 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1786.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-63
1786.23 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1786.23 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1786.23 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1786.23 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1786.23 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1786.23 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> n o t ( isEmpty pc && isEmpty ps )
1786.23 s
[opt-env-conf-test] ParserSetting _ _ -> False
1786.23 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1786.23 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1786.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
1786.23 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1786.23 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1786.23 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1786.23 s
[opt-env-conf-test] ParserSetting _ _ -> False
1786.23 s
[opt-env-conf-test] - in case (isEmpty p1, i s E m pty p 2 ) of
1786.24 s
[opt-env-conf-test] + in case (isEmpty p1, F al s e ) of
1786.24 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1786.24 s
[opt-env-conf-test] (True, False) -> p2
1786.24 s
[opt-env-conf-test] (False, True) -> p1
1786.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
1786.24 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1786.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1786.24 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1786.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
1786.24 s
[opt-env-conf-test] - in case (isEmpty p1, i sE mpt y p 2 ) of
1786.24 s
[opt-env-conf-test] + in case (isEmpty p1, T ru e ) of
1786.24 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1786.24 s
[opt-env-conf-test] (True, False) -> p2
1786.24 s
[opt-env-conf-test] (False, True) -> p1
1786.24 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:265:39-63
1786.24 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1786.24 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1786.24 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1786.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1786.24 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc & & isEmpty ps
1786.24 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc | | isEmpty ps
1786.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
1786.24 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1786.24 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1786.24 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:27-37
1786.24 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1786.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1786.24 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1786.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
1786.25 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
1786.25 s
[opt-env-conf-test] + in case (isEmpty p1, n o t ( isEmpty p2) ) of
1786.25 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1786.25 s
[opt-env-conf-test] (True, False) -> p2
1786.25 s
[opt-env-conf-test] (False, True) -> p1
1786.25 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1786.25 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1786.25 s
[opt-env-conf-test] (True, False) -> p2
1786.25 s
[opt-env-conf-test] (False, True) -> p1
1786.25 s
[opt-env-conf-test] (False, False) ->
1786.25 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1786.25 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1786.25 s
[opt-env-conf-test] -- alts to always be right-leaning
1786.25 s
[opt-env-conf-test] --
1786.25 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1786.25 s
[opt-env-conf-test] -- p
1786.25 s
[opt-env-conf-test] -- / \
1786.25 s
[opt-env-conf-test] -- p1 p2
1786.25 s
[opt-env-conf-test] -- / \
1786.25 s
[opt-env-conf-test] -- p3 p4
1786.25 s
[opt-env-conf-test] --
1786.25 s
[opt-env-conf-test] -- We need to rearrange it to
1786.25 s
[opt-env-conf-test] -- p
1786.25 s
[opt-env-conf-test] -- / \
1786.25 s
[opt-env-conf-test] -- p1 ++ p3 p4
1786.25 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
1786.25 s
[opt-env-conf-test] - go (go p1' p3') p4'
1786.25 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1786.25 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1786.25 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1786.25 s
[opt-env-conf-test] in go p1 p2
1786.25 s
[opt-env-conf-test] many = ParserMany Nothing
1786.25 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1786.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1786.26 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1786.26 s
[opt-env-conf-test] (True, False) -> p2
1786.26 s
[opt-env-conf-test] (False, True) -> p1
1786.26 s
[opt-env-conf-test] (False, False) ->
1786.26 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1786.26 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1786.26 s
[opt-env-conf-test] -- alts to always be right-leaning
1786.26 s
[opt-env-conf-test] --
1786.26 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1786.26 s
[opt-env-conf-test] -- p
1786.26 s
[opt-env-conf-test] -- / \
1786.26 s
[opt-env-conf-test] -- p1 p2
1786.26 s
[opt-env-conf-test] -- / \
1786.26 s
[opt-env-conf-test] -- p3 p4
1786.26 s
[opt-env-conf-test] --
1786.26 s
[opt-env-conf-test] -- We need to rearrange it to
1786.26 s
[opt-env-conf-test] -- p
1786.26 s
[opt-env-conf-test] -- / \
1786.26 s
[opt-env-conf-test] -- p1 ++ p3 p4
1786.26 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1786.26 s
[opt-env-conf-test] go (go p1' p3') p4'
1786.26 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1786.26 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1786.26 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1786.26 s
[opt-env-conf-test] in go p1 p2
1786.26 s
[opt-env-conf-test] many = ParserMany Nothing
1786.26 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1786.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1786.26 s
[opt-env-conf-test] @@ -269,26 +269,25 @@
1786.26 s
[opt-env-conf-test] (True, False) -> p2
1786.26 s
[opt-env-conf-test] (False, True) -> p1
1786.26 s
[opt-env-conf-test] (False, False) ->
1786.26 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1786.26 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1786.26 s
[opt-env-conf-test] -- alts to always be right-leaning
1786.26 s
[opt-env-conf-test] --
1786.26 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1786.26 s
[opt-env-conf-test] -- p
1786.26 s
[opt-env-conf-test] -- / \
1786.26 s
[opt-env-conf-test] -- p1 p2
1786.26 s
[opt-env-conf-test] -- / \
1786.27 s
[opt-env-conf-test] -- p3 p4
1786.27 s
[opt-env-conf-test] --
1786.27 s
[opt-env-conf-test] -- We need to rearrange it to
1786.27 s
[opt-env-conf-test] -- p
1786.27 s
[opt-env-conf-test] -- / \
1786.27 s
[opt-env-conf-test] -- p1 ++ p3 p4
1786.27 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1786.27 s
[opt-env-conf-test] go (go p1' p3') p4'
1786.27 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1786.27 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1786.27 s
[opt-env-conf-test] - _ -> ParserAlt p1' p2'
1786.27 s
[opt-env-conf-test] in go p1 p2
1786.27 s
[opt-env-conf-test] many = ParserMany Nothing
1786.27 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1786.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1786.27 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1786.27 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1786.27 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1786.27 s
[opt-env-conf-test] ParserSetting _ _ -> False
1786.27 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1786.27 s
[opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
1786.27 s
[opt-env-conf-test] (True, False) -> p2
1786.27 s
[opt-env-conf-test] (False, True) -> p1
1786.27 s
[opt-env-conf-test] (False, False) ->
1786.27 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1786.27 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1786.27 s
[opt-env-conf-test] -- alts to always be right-leaning
1786.27 s
[opt-env-conf-test] --
1793.28 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1793.30 s
[opt-env-conf-test] -- p
1793.30 s
[opt-env-conf-test] -- / \
1793.30 s
[opt-env-conf-test] -- p1 p2
1793.30 s
[opt-env-conf-test] -- / \
1793.30 s
[opt-env-conf-test] -- p3 p4
1793.30 s
[opt-env-conf-test] --
1793.30 s
[opt-env-conf-test] -- We need to rearrange it to
1793.30 s
[opt-env-conf-test] -- p
1793.30 s
[opt-env-conf-test] -- / \
1793.30 s
[opt-env-conf-test] -- p1 ++ p3 p4
1793.30 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1793.30 s
[opt-env-conf-test] go (go p1' p3') p4'
1793.30 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1793.31 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1793.31 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1793.31 s
[opt-env-conf-test] in go p1 p2
1793.31 s
[opt-env-conf-test] many = ParserMany Nothing
1793.31 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1793.31 s
[opt-env-conf-test]
1793.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1793.31 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1793.31 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1793.31 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1793.31 s
[opt-env-conf-test] ParserSetting _ _ -> False
1793.31 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1793.31 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1793.31 s
[opt-env-conf-test] - (True, False) -> p2
1793.31 s
[opt-env-conf-test] (False, True) -> p1
1793.31 s
[opt-env-conf-test] (False, False) ->
1793.31 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1793.31 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1793.31 s
[opt-env-conf-test] -- alts to always be right-leaning
1793.31 s
[opt-env-conf-test] --
1793.31 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1793.31 s
[opt-env-conf-test] -- p
1793.31 s
[opt-env-conf-test] -- / \
1793.31 s
[opt-env-conf-test] -- p1 p2
1793.31 s
[opt-env-conf-test] -- / \
1793.31 s
[opt-env-conf-test] -- p3 p4
1793.31 s
[opt-env-conf-test] --
1793.31 s
[opt-env-conf-test] -- We need to rearrange it to
1793.31 s
[opt-env-conf-test] -- p
1793.31 s
[opt-env-conf-test] -- / \
1793.31 s
[opt-env-conf-test] -- p1 ++ p3 p4
1793.31 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1793.31 s
[opt-env-conf-test] go (go p1' p3') p4'
1793.31 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1793.32 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1793.32 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1793.32 s
[opt-env-conf-test] in go p1 p2
1793.32 s
[opt-env-conf-test] many = ParserMany Nothing
1793.32 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1793.32 s
[opt-env-conf-test]
1793.32 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:15-25
1793.32 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1793.32 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1793.32 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1793.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1793.32 s
[opt-env-conf-test] - in case (isEmpty p1 , isEmpty p2) of
1793.32 s
[opt-env-conf-test] + in case ( n ot (isEmpty p1 ) , isEmpty p2) of
1793.32 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1793.32 s
[opt-env-conf-test] (True, False) -> p2
1793.32 s
[opt-env-conf-test] (False, True) -> p1
1793.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
1793.32 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1793.32 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1793.32 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1793.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1793.32 s
[opt-env-conf-test] - in case ( i s E m pty p 1 , isEmpty p2) of
1793.32 s
[opt-env-conf-test] + in case ( F al s e , isEmpty p2) of
1793.32 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1793.32 s
[opt-env-conf-test] (True, False) -> p2
1793.32 s
[opt-env-conf-test] (False, True) -> p1
1793.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
1793.32 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1793.32 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1793.32 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1793.32 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1793.32 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i sE mpt y pc && isEmpt y p s
1793.32 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> T ru e
1793.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1793.32 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1793.32 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1793.32 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:263:36-45
1793.32 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1793.32 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1793.32 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1793.32 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1793.32 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
1793.32 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> n o t ( isEmpty p )
1793.32 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1793.32 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1793.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1793.32 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:262:37-46
1793.32 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1793.32 s
[opt-env-conf-test] ParserAlt _ _ -> False
1793.32 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1793.32 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1793.32 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
1793.32 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> n o t ( isEmpty p )
1793.33 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1793.33 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1793.33 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1793.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
1793.33 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
1793.33 s
[opt-env-conf-test]
1793.33 s
[opt-env-conf-test] instance Applicative Parser where
1793.33 s
[opt-env-conf-test] pure = ParserPure
1793.33 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
1793.33 s
[opt-env-conf-test] -- Homomorphism law for applicative
1793.33 s
[opt-env-conf-test] (ParserPure f, ParserPure a) -> ParserPure (f a)
1793.33 s
[opt-env-conf-test] - _ -> ParserAp p1 p2
1793.33 s
[opt-env-conf-test]
1793.33 s
[opt-env-conf-test] instance Selective Parser where
1793.33 s
[opt-env-conf-test] select = ParserSelect
1793.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
1793.33 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1793.33 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1793.33 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1793.33 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1793.33 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> i s E m pty p
1793.33 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> F a l s e
1793.33 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1793.33 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1793.33 s
[opt-env-conf-test] ParserSetting _ _ -> False
1793.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
1793.33 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1793.33 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1793.33 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1793.33 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1793.33 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc f o rg iv a b l e caps (fmap (fmap f) . g) p
1793.33 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc F a l s e caps (fmap (fmap f) . g) p
1793.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1793.33 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1793.33 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1793.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
1793.33 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1793.33 s
[opt-env-conf-test] ParserAlt _ _ -> False
1793.33 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1793.33 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1793.33 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> i s E m pty p
1793.33 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> F a l s e
1793.33 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1793.33 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1793.33 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1793.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
1793.33 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1793.33 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1793.33 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1793.33 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1793.34 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc f o r gi v a b l e caps (fmap (fmap f) . g) p
1793.34 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc T r u e caps (fmap (fmap f) . g) p
1797.90 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1797.90 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1797.91 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1797.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:234:62-72
1797.91 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1797.91 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1797.91 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1797.91 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1797.91 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
1797.91 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc n o t ( forgivable ) caps (fmap (fmap f) . g) p
1797.91 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1797.91 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1797.91 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1797.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
1797.91 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1797.91 s
[opt-env-conf-test] ParserAlt _ _ -> False
1797.91 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1797.91 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1797.91 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isE mpty p
1797.91 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> T r ue
1797.91 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1797.91 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1797.91 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1797.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
1797.91 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1797.91 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1797.91 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1797.91 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1797.91 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isE mpty p
1797.92 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> T r ue
1797.92 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1797.92 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1797.92 s
[opt-env-conf-test] ParserSetting _ _ -> False
1797.92 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:238:30-34
1797.92 s
[opt-env-conf-test] @@ -235,7 +235,7 @@
1797.92 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1797.92 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1797.92 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1797.92 s
[opt-env-conf-test] - p -> ParserCheck Nothing Tr u e Set.empty (pure . Right . f) p
1797.92 s
[opt-env-conf-test] + p -> ParserCheck Nothing F a ls e Set.empty (pure . Right . f) p
1797.92 s
[opt-env-conf-test]
1797.92 s
[opt-env-conf-test] instance Applicative Parser where
1797.92 s
[opt-env-conf-test] pure = ParserPure
1797.92 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:238:20-25
1797.92 s
[opt-env-conf-test] @@ -235,7 +235,7 @@
1797.92 s
[opt-env-conf-test] lintParser =
1797.92 s
[opt-env-conf-test] either Just (const Nothing)
1797.92 s
[opt-env-conf-test] . validationToEither
1797.92 s
[opt-env-conf-test] - . (`runReader` F al s e) -- Set to true for parsers that have a way to load conf
1797.92 s
[opt-env-conf-test] + . (`runReader` T ru e) -- Set to true for parsers that have a way to load conf
1797.92 s
[opt-env-conf-test] . runValidationT
1797.92 s
[opt-env-conf-test] . go
1797.92 s
[opt-env-conf-test] where
1797.92 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:246:28-33
1797.92 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1797.92 s
[opt-env-conf-test] -- 'many' is allowed only when every parse below consumes something.
1797.92 s
[opt-env-conf-test] go :: Parser a -> ValidationT LintError (Reader Bool) Bool
1797.92 s
[opt-env-conf-test] go = \case
1797.92 s
[opt-env-conf-test] - ParserPure _ -> pure F al s e
1797.92 s
[opt-env-conf-test] + ParserPure _ -> pure T ru e
1797.92 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1797.92 s
[opt-env-conf-test] c1 <- go p1
1797.92 s
[opt-env-conf-test] c2 <- go p2
1797.92 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
1797.92 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1797.92 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1797.92 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1797.92 s
[opt-env-conf-test] ParserSetting _ _ -> False
1797.92 s
[opt-env-conf-test] - in case ( i s Em pty p 1 , isEmpty p2) of
1797.92 s
[opt-env-conf-test] + in case ( True , isEmpty p2) of
1797.92 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1797.92 s
[opt-env-conf-test] (True, False) -> p2
1797.92 s
[opt-env-conf-test] (False, True) -> p1
1797.92 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1797.92 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1797.92 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1797.92 s
[opt-env-conf-test] c1 <- go p1
1797.92 s
[opt-env-conf-test] c2 <- go p2
1797.93 s
[opt-env-conf-test] - pure ( c 1 || c2)
1797.93 s
[opt-env-conf-test] + pure ( T ru e || c2)
1797.93 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1797.93 s
[opt-env-conf-test] c1 <- go p1
1797.93 s
[opt-env-conf-test] c2 <- go p2
1797.93 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1797.93 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1797.93 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1797.93 s
[opt-env-conf-test] c1 <- go p1
1797.93 s
[opt-env-conf-test] c2 <- go p2
1797.93 s
[opt-env-conf-test] - pure ( c 1 || c2)
1797.93 s
[opt-env-conf-test] + pure ( F a ls e || c2)
1797.93 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1797.93 s
[opt-env-conf-test] c1 <- go p1
1797.93 s
[opt-env-conf-test] c2 <- go p2
1797.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
1797.93 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
1797.93 s
[opt-env-conf-test]
1797.93 s
[opt-env-conf-test] instance Applicative Parser where
1797.93 s
[opt-env-conf-test] pure = ParserPure
1797.93 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
1797.93 s
[opt-env-conf-test] -- Homomorphism law for applicative
1797.93 s
[opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
1797.93 s
[opt-env-conf-test] _ -> ParserAp p1 p2
1797.93 s
[opt-env-conf-test]
1797.93 s
[opt-env-conf-test] instance Selective Parser where
1797.93 s
[opt-env-conf-test] select = ParserSelect
1797.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1797.93 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1797.93 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1797.93 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1797.93 s
[opt-env-conf-test] ParserSetting _ _ -> False
1797.93 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1797.93 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1797.93 s
[opt-env-conf-test] (True, False) -> p2
1797.93 s
[opt-env-conf-test] - (False, True) -> p1
1797.93 s
[opt-env-conf-test] (False, False) ->
1797.93 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1797.93 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1797.93 s
[opt-env-conf-test] -- alts to always be right-leaning
1797.93 s
[opt-env-conf-test] --
1797.93 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1797.93 s
[opt-env-conf-test] -- p
1797.93 s
[opt-env-conf-test] -- / \
1797.93 s
[opt-env-conf-test] -- p1 p2
1797.93 s
[opt-env-conf-test] -- / \
1797.93 s
[opt-env-conf-test] -- p3 p4
1797.93 s
[opt-env-conf-test] --
1797.93 s
[opt-env-conf-test] -- We need to rearrange it to
1797.93 s
[opt-env-conf-test] -- p
1797.93 s
[opt-env-conf-test] -- / \
1797.93 s
[opt-env-conf-test] -- p1 ++ p3 p4
1797.93 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1797.93 s
[opt-env-conf-test] go (go p1' p3') p4'
1797.93 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1797.93 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1797.93 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1797.94 s
[opt-env-conf-test] in go p1 p2
1797.94 s
[opt-env-conf-test] many = ParserMany Nothing
1797.94 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1797.94 s
[opt-env-conf-test]
1797.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1797.94 s
[opt-env-conf-test] @@ -264,32 +264,10 @@
1797.94 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1797.94 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1797.94 s
[opt-env-conf-test] ParserSetting _ _ -> False
1797.94 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1797.94 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1797.94 s
[opt-env-conf-test] (True, False) -> p2
1797.94 s
[opt-env-conf-test] (False, True) -> p1
1797.94 s
[opt-env-conf-test] - (False, False) ->
1797.94 s
[opt-env-conf-test] - let go p1' p2' = case (p1', p2') of
1797.94 s
[opt-env-conf-test] - -- <|> needs to be associative, so we need to reorder the
1797.94 s
[opt-env-conf-test] - -- alts to always be right-leaning
1797.94 s
[opt-env-conf-test] - --
1797.94 s
[opt-env-conf-test] - -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1797.94 s
[opt-env-conf-test] - -- p
1797.94 s
[opt-env-conf-test] - -- / \
1797.94 s
[opt-env-conf-test] - -- p1 p2
1797.94 s
[opt-env-conf-test] - -- / \
1797.94 s
[opt-env-conf-test] - -- p3 p4
1797.94 s
[opt-env-conf-test] - --
1797.94 s
[opt-env-conf-test] - -- We need to rearrange it to
1797.94 s
[opt-env-conf-test] - -- p
1797.94 s
[opt-env-conf-test] - -- / \
1797.94 s
[opt-env-conf-test] - -- p1 ++ p3 p4
1797.95 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
1797.95 s
[opt-env-conf-test] - go (go p1' p3') p4'
1797.95 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1802.24 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1802.28 s
[opt-env-conf-test] - _ -> ParserAlt p1' p2'
1802.28 s
[opt-env-conf-test] - in go p1 p2
1802.28 s
[opt-env-conf-test] many = ParserMany Nothing
1802.28 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1802.28 s
[opt-env-conf-test]
1802.28 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:53-63
1802.28 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1802.29 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1802.29 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1802.29 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1802.29 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1802.29 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && n o t ( isEmpty ps )
1802.29 s
[opt-env-conf-test] ParserSetting _ _ -> False
1802.29 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1802.29 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1802.29 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:266:32-37
1802.29 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1802.29 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1802.29 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1802.29 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1802.29 s
[opt-env-conf-test] - ParserSetting _ _ -> F al s e
1802.29 s
[opt-env-conf-test] + ParserSetting _ _ -> T ru e
1802.29 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1802.29 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1802.29 s
[opt-env-conf-test] (True, False) -> p2
1802.29 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
1802.29 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1802.29 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1802.29 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1802.29 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1802.29 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i sE mpt y p c && isEmpty ps
1802.30 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> T ru e && isEmpty ps
1802.30 s
[opt-env-conf-test] ParserSetting _ _ -> False
1802.30 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1802.30 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1802.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
1802.30 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1802.30 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1802.30 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1802.30 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1802.30 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && i s E m pty ps
1802.30 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && F al s e
1802.30 s
[opt-env-conf-test] ParserSetting _ _ -> False
1802.30 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1802.30 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1802.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
1802.30 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1802.30 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1802.30 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1802.30 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1802.30 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l c s
1802.30 s
[opt-env-conf-test] + ParserCommands _ _ cs -> F a l s e
1802.30 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1802.30 s
[opt-env-conf-test] ParserSetting _ _ -> False
1802.30 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1802.30 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-49
1802.30 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1802.30 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1802.30 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1802.30 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1802.30 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1802.30 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> n o t ( isEmpty pc ) && isEmpty ps
1802.30 s
[opt-env-conf-test] ParserSetting _ _ -> False
1802.30 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1802.30 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1802.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
1802.30 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1802.30 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1802.30 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1802.31 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1802.31 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && i sE mpt y p s
1802.31 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && T ru e
1802.31 s
[opt-env-conf-test] ParserSetting _ _ -> False
1802.31 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1802.31 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1802.31 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:264:36-43
1802.31 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1802.31 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1802.31 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1802.31 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1802.31 s
[opt-env-conf-test] - ParserCommands _ _ cs -> null cs
1802.31 s
[opt-env-conf-test] + ParserCommands _ _ cs -> n o t ( null cs )
1802.31 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1802.31 s
[opt-env-conf-test] ParserSetting _ _ -> False
1802.31 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1802.31 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
1802.31 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1802.31 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1802.31 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1802.31 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1802.31 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l cs
1802.31 s
[opt-env-conf-test] + ParserCommands _ _ cs -> T r u e
1802.31 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1802.31 s
[opt-env-conf-test] ParserSetting _ _ -> False
1802.31 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1802.31 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
1802.31 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1802.31 s
[opt-env-conf-test] isEmpty = \case
1802.31 s
[opt-env-conf-test] ParserPure _ -> False
1802.31 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1802.31 s
[opt-env-conf-test] - ParserSelect pe pf -> i s E m pty p e && isEmpty pf
1802.31 s
[opt-env-conf-test] + ParserSelect pe pf -> F a l s e && isEmpty pf
1802.31 s
[opt-env-conf-test] ParserEmpty _ -> True
1802.31 s
[opt-env-conf-test] ParserAlt _ _ -> False
1802.31 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1802.31 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-39
1802.31 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1802.31 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1802.32 s
[opt-env-conf-test] isEmpty = \case
1802.32 s
[opt-env-conf-test] ParserPure _ -> False
1802.32 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1802.32 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf ) && isEmpty pa
1802.32 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1802.32 s
[opt-env-conf-test] ParserEmpty _ -> True
1802.32 s
[opt-env-conf-test] ParserAlt _ _ -> False
1802.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
1802.32 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1802.32 s
[opt-env-conf-test] isEmpty = \case
1802.32 s
[opt-env-conf-test] ParserPure _ -> False
1802.32 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1802.32 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && i s E m pty pf
1802.32 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && F al s e
1802.32 s
[opt-env-conf-test] ParserEmpty _ -> True
1802.32 s
[opt-env-conf-test] ParserAlt _ _ -> False
1802.32 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1802.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1802.32 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1802.32 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1802.32 s
[opt-env-conf-test] c1 <- go p1
1802.32 s
[opt-env-conf-test] c2 <- go p2
1802.32 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
1802.32 s
[opt-env-conf-test] + pure ( F a ls e )
1802.32 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1802.32 s
[opt-env-conf-test] c1 <- go p1
1802.32 s
[opt-env-conf-test] c2 <- go p2
1802.32 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-23
1802.32 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1802.32 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1802.32 s
[opt-env-conf-test] c1 <- go p1
1802.32 s
[opt-env-conf-test] c2 <- go p2
1802.32 s
[opt-env-conf-test] - pure (c1 || c2)
1802.32 s
[opt-env-conf-test] + pure ( n ot (c1 || c2) )
1802.32 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1802.32 s
[opt-env-conf-test] c1 <- go p1
1802.32 s
[opt-env-conf-test] c2 <- go p2
1802.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
1802.33 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1802.33 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1802.33 s
[opt-env-conf-test] c1 <- go p1
1802.33 s
[opt-env-conf-test] c2 <- go p2
1802.33 s
[opt-env-conf-test] - pure ( c 1 || c2) -- TODO: is this right?
1804.98 s
[opt-env-conf-test] + pure ( T ru e || c2) -- TODO: is this right?
1804.98 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1804.98 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.98 s
[opt-env-conf-test] c1 <- go p1
1804.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
1804.98 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1804.98 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1804.98 s
[opt-env-conf-test] c1 <- go p1
1804.98 s
[opt-env-conf-test] c2 <- go p2
1804.98 s
[opt-env-conf-test] - pure ( c 1 || c2) -- TODO: is this right?
1804.98 s
[opt-env-conf-test] + pure ( F a ls e || c2) -- TODO: is this right?
1804.98 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1804.98 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.98 s
[opt-env-conf-test] c1 <- go p1
1804.98 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-17
1804.98 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1804.98 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1804.98 s
[opt-env-conf-test] c1 <- go p1
1804.98 s
[opt-env-conf-test] c2 <- go p2
1804.98 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1804.98 s
[opt-env-conf-test] + pure ( n ot (c1 ) || c2) -- TODO: is this right?
1804.98 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1804.98 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.98 s
[opt-env-conf-test] c1 <- go p1
1804.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
1804.98 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1804.98 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1804.98 s
[opt-env-conf-test] c1 <- go p1
1804.98 s
[opt-env-conf-test] c2 <- go p2
1804.98 s
[opt-env-conf-test] - pure (c1 || c 2 ) -- TODO: is this right?
1804.98 s
[opt-env-conf-test] + pure (c1 || F a ls e ) -- TODO: is this right?
1804.98 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1804.98 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.98 s
[opt-env-conf-test] c1 <- go p1
1804.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
1804.98 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1804.99 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] c2 <- go p2
1804.99 s
[opt-env-conf-test] - pure (c1 || c 2 ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] + pure (c1 || T ru e ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1804.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
1804.99 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1804.99 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] c2 <- go p2
1804.99 s
[opt-env-conf-test] - pure ( c 1 || c 2 ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] + pure ( F a ls e ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1804.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1804.99 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1804.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] c2 <- go p2
1804.99 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] + pure (c1 && T ru e ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1804.99 s
[opt-env-conf-test] ParserMany mLoc p -> do
1804.99 s
[opt-env-conf-test] c <- go p
1804.99 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:21-23
1804.99 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1804.99 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] c2 <- go p2
1804.99 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] + pure (c1 || n o t ( c2) ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1804.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
1804.99 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1804.99 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] c2 <- go p2
1804.99 s
[opt-env-conf-test] - pure ( c 1 || c 2 ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] + pure ( T ru e ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1804.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:14-24
1804.99 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1804.99 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] c2 <- go p2
1804.99 s
[opt-env-conf-test] - pure ( c1 || c2)
1804.99 s
[opt-env-conf-test] + pure n o t ( ( c1 || c2) )
1804.99 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] c2 <- go p2
1804.99 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1804.99 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1804.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] c2 <- go p2
1804.99 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] + pure ( F a ls e ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1804.99 s
[opt-env-conf-test] ParserMany mLoc p -> do
1804.99 s
[opt-env-conf-test] c <- go p
1804.99 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1804.99 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1804.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] c2 <- go p2
1804.99 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] + pure ( T ru e ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1804.99 s
[opt-env-conf-test] ParserMany mLoc p -> do
1804.99 s
[opt-env-conf-test] c <- go p
1804.99 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:259:15-23
1804.99 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1804.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] c2 <- go p2
1804.99 s
[opt-env-conf-test] - pure (c1 & & c2) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] + pure (c1 | | c2) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1804.99 s
[opt-env-conf-test] ParserMany mLoc p -> do
1804.99 s
[opt-env-conf-test] c <- go p
1804.99 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:21-23
1804.99 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1804.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1804.99 s
[opt-env-conf-test] c1 <- go p1
1804.99 s
[opt-env-conf-test] c2 <- go p2
1804.99 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] + pure (c1 && n o t ( c2) ) -- TODO: is this right?
1804.99 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1804.99 s
[opt-env-conf-test] ParserMany mLoc p -> do
1805.00 s
[opt-env-conf-test] c <- go p
1805.00 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-23
1805.00 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1805.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1805.00 s
[opt-env-conf-test] c1 <- go p1
1805.00 s
[opt-env-conf-test] c2 <- go p2
1805.00 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1805.00 s
[opt-env-conf-test] + pure ( n ot (c1 && c2) ) -- TODO: is this right?
1805.00 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1805.00 s
[opt-env-conf-test] ParserMany mLoc p -> do
1805.00 s
[opt-env-conf-test] c <- go p
1805.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1805.00 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1805.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1805.00 s
[opt-env-conf-test] c1 <- go p1
1805.00 s
[opt-env-conf-test] c2 <- go p2
1805.00 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
1805.00 s
[opt-env-conf-test] + pure ( T ru e && c2) -- TODO: is this right?
1805.00 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1805.00 s
[opt-env-conf-test] ParserMany mLoc p -> do
1805.00 s
[opt-env-conf-test] c <- go p
1805.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1805.00 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1805.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1805.00 s
[opt-env-conf-test] c1 <- go p1
1805.00 s
[opt-env-conf-test] c2 <- go p2
1805.00 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
1805.00 s
[opt-env-conf-test] + pure ( F a ls e && c2) -- TODO: is this right?
1805.00 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1805.00 s
[opt-env-conf-test] ParserMany mLoc p -> do
1805.00 s
[opt-env-conf-test] c <- go p
1805.00 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:254:15-23
1805.00 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1805.00 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1805.00 s
[opt-env-conf-test] c1 <- go p1
1805.00 s
[opt-env-conf-test] c2 <- go p2
1805.00 s
[opt-env-conf-test] - pure (c1 | | c2) -- TODO: is this right?
1805.00 s
[opt-env-conf-test] + pure (c1 & & c2) -- TODO: is this right?
1805.00 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1805.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1805.00 s
[opt-env-conf-test] c1 <- go p1
1805.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1805.00 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1805.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1813.52 s
[opt-env-conf-test] c1 <- go p1
1813.52 s
[opt-env-conf-test] c2 <- go p2
1813.54 s
[opt-env-conf-test] - pure ( c1 && c2 ) -- TODO: is this right?
1813.54 s
[opt-env-conf-test] + pure True -- TODO: is this right?
1813.55 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1813.55 s
[opt-env-conf-test] ParserMany mLoc p -> do
1813.55 s
[opt-env-conf-test] c <- go p
1813.55 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:255:29-33
1813.55 s
[opt-env-conf-test] @@ -252,7 +252,7 @@
1813.55 s
[opt-env-conf-test] c1 <- go p1
1813.55 s
[opt-env-conf-test] c2 <- go p2
1813.55 s
[opt-env-conf-test] pure (c1 || c2) -- TODO: is this right?
1813.55 s
[opt-env-conf-test] - ParserEmpty _ -> pure Tr u e
1813.55 s
[opt-env-conf-test] + ParserEmpty _ -> pure F a ls e
1813.55 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1813.55 s
[opt-env-conf-test] c1 <- go p1
1813.55 s
[opt-env-conf-test] c2 <- go p2
1813.55 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1813.55 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1813.55 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1813.55 s
[opt-env-conf-test] c1 <- go p1
1813.55 s
[opt-env-conf-test] c2 <- go p2
1813.55 s
[opt-env-conf-test] - pure ( c 1 && c 2) -- TODO: is this right?
1813.55 s
[opt-env-conf-test] + pure F alse -- TODO: is this right?
1813.55 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1813.55 s
[opt-env-conf-test] ParserMany mLoc p -> do
1813.55 s
[opt-env-conf-test] c <- go p
1813.55 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:14-24
1813.55 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1813.55 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1813.55 s
[opt-env-conf-test] c1 <- go p1
1813.55 s
[opt-env-conf-test] c2 <- go p2
1813.55 s
[opt-env-conf-test] - pure ( c1 && c2) -- TODO: is this right?
1813.55 s
[opt-env-conf-test] + pure n o t ( ( c1 && c2) ) -- TODO: is this right?
1813.55 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1813.55 s
[opt-env-conf-test] ParserMany mLoc p -> do
1813.55 s
[opt-env-conf-test] c <- go p
1813.55 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
1813.56 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1813.56 s
[opt-env-conf-test] when (not c) $
1813.56 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1813.56 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1813.56 s
[opt-env-conf-test] - pure c
1813.56 s
[opt-env-conf-test] + pure T r u e
1813.56 s
[opt-env-conf-test] ParserSome mLoc p -> do
1813.56 s
[opt-env-conf-test] c <- go p
1813.56 s
[opt-env-conf-test] when (not c) $
1813.56 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
1813.56 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1813.56 s
[opt-env-conf-test] when (not c) $
1813.56 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1813.56 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1813.56 s
[opt-env-conf-test] - pure c
1813.56 s
[opt-env-conf-test] + pure F a lse
1813.56 s
[opt-env-conf-test] ParserSome mLoc p -> do
1813.56 s
[opt-env-conf-test] c <- go p
1813.56 s
[opt-env-conf-test] when (not c) $
1813.56 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:266:14-15
1813.56 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1813.56 s
[opt-env-conf-test] when (not c) $
1813.56 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1813.56 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1813.56 s
[opt-env-conf-test] - pure c
1813.56 s
[opt-env-conf-test] + pure n o t ( c )
1813.56 s
[opt-env-conf-test] ParserSome mLoc p -> do
1813.56 s
[opt-env-conf-test] c <- go p
1813.56 s
[opt-env-conf-test] when (not c) $
1813.56 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1813.56 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1813.57 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1813.57 s
[opt-env-conf-test] c1 <- go p1
1813.57 s
[opt-env-conf-test] c2 <- go p2
1813.57 s
[opt-env-conf-test] - pure ( c 1 || c2)
1813.57 s
[opt-env-conf-test] + pure F alse
1813.57 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1813.57 s
[opt-env-conf-test] c1 <- go p1
1813.57 s
[opt-env-conf-test] c2 <- go p2
1813.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
1813.57 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1813.57 s
[opt-env-conf-test] when (not c) $
1813.57 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1813.57 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1813.57 s
[opt-env-conf-test] - pure c
1813.57 s
[opt-env-conf-test] + pure T r u e
1813.57 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1813.57 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1813.57 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1813.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1813.57 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1813.57 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1813.57 s
[opt-env-conf-test] c1 <- go p1
1813.57 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1813.57 s
[opt-env-conf-test] - pure $ c 1 || c2
1813.57 s
[opt-env-conf-test] + pure $ F a ls e || c2
1813.57 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1813.57 s
[opt-env-conf-test] case settingHelp of
1813.57 s
[opt-env-conf-test] Nothing ->
1813.57 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-18
1813.57 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1813.57 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1813.57 s
[opt-env-conf-test] c1 <- go p1
1813.57 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1813.57 s
[opt-env-conf-test] - pure $ c1 || c2
1813.57 s
[opt-env-conf-test] + pure $ n o t ( c1 ) || c2
1813.57 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1813.57 s
[opt-env-conf-test] case settingHelp of
1813.57 s
[opt-env-conf-test] Nothing ->
1813.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1813.57 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1813.58 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1813.58 s
[opt-env-conf-test] c1 <- go p1
1813.58 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1813.58 s
[opt-env-conf-test] - pure $ c1 || c 2
1813.58 s
[opt-env-conf-test] + pure $ c1 || T rue
1813.58 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1813.58 s
[opt-env-conf-test] case settingHelp of
1813.58 s
[opt-env-conf-test] Nothing ->
1813.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1813.58 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1813.58 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1813.58 s
[opt-env-conf-test] c1 <- go p1
1813.58 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1813.58 s
[opt-env-conf-test] - pure $ c1 || c 2
1813.58 s
[opt-env-conf-test] + pure $ c1 || F a ls e
1813.58 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1813.58 s
[opt-env-conf-test] case settingHelp of
1813.58 s
[opt-env-conf-test] Nothing ->
1813.58 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:22-24
1813.58 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1813.58 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1813.58 s
[opt-env-conf-test] c1 <- go p1
1813.58 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1813.58 s
[opt-env-conf-test] - pure $ c1 || c2
1813.58 s
[opt-env-conf-test] + pure $ c1 || n o t ( c2 )
1813.58 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1813.58 s
[opt-env-conf-test] case settingHelp of
1813.58 s
[opt-env-conf-test] Nothing ->
1813.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1813.58 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1813.58 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1813.58 s
[opt-env-conf-test] c1 <- go p1
1813.58 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1813.58 s
[opt-env-conf-test] - pure $ c 1 || c 2
1813.58 s
[opt-env-conf-test] + pure $ T rue
1813.58 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1813.58 s
[opt-env-conf-test] case settingHelp of
1813.58 s
[opt-env-conf-test] Nothing ->
1813.58 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:272:14-15
1813.58 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1813.58 s
[opt-env-conf-test] when (not c) $
1813.58 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1813.58 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1813.58 s
[opt-env-conf-test] - pure c
1813.58 s
[opt-env-conf-test] + pure n o t ( c )
1813.59 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1813.59 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1813.59 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1813.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
1813.59 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1813.59 s
[opt-env-conf-test] when (not c) $
1813.59 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1813.59 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1813.59 s
[opt-env-conf-test] - pure c
1813.59 s
[opt-env-conf-test] + pure F a lse
1813.59 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1813.59 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1813.59 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1813.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1813.59 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1813.59 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1813.59 s
[opt-env-conf-test] c1 <- go p1
1813.59 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1813.59 s
[opt-env-conf-test] - pure $ c 1 || c2
1813.59 s
[opt-env-conf-test] + pure $ F a ls e
1813.59 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1813.59 s
[opt-env-conf-test] case settingHelp of
1813.59 s
[opt-env-conf-test] Nothing ->
1813.59 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:288:16-24
1817.94 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1817.94 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1817.94 s
[opt-env-conf-test] c1 <- go p1
1817.94 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1817.94 s
[opt-env-conf-test] - pure $ c1 | | c2
1817.94 s
[opt-env-conf-test] + pure $ c1 & & c2
1817.94 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1817.94 s
[opt-env-conf-test] case settingHelp of
1817.94 s
[opt-env-conf-test] Nothing ->
1817.94 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:20-63
1817.94 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1817.94 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1817.94 s
[opt-env-conf-test] else do
1817.94 s
[opt-env-conf-test] for_ mDefault $ \d ->
1817.94 s
[opt-env-conf-test] - whe n ( isNothing (find ((== d) . commandArg) cs)) $
1817.94 s
[opt-env-conf-test] + whe n n o t ( ( isNothing (find ((== d) . commandArg) cs)) ) $
1817.94 s
[opt-env-conf-test] validationTFailure $
1817.94 s
[opt-env-conf-test] LintError mLoc $
1817.94 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1817.94 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-24
1817.94 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1817.94 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1817.94 s
[opt-env-conf-test] c1 <- go p1
1817.94 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1817.94 s
[opt-env-conf-test] - pure $ c1 || c2
1817.94 s
[opt-env-conf-test] + pure $ n o t ( c1 || c2 )
1817.94 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1817.94 s
[opt-env-conf-test] case settingHelp of
1817.94 s
[opt-env-conf-test] Nothing ->
1817.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1817.94 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1817.94 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1817.94 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1817.94 s
[opt-env-conf-test] and
1817.94 s
[opt-env-conf-test] - [ s e tt ing T ry A r g u m e n t || settingTryOption || isJust settingSwitchValue,
1817.94 s
[opt-env-conf-test] + [ T r u e || settingTryOption || isJust settingSwitchValue,
1817.95 s
[opt-env-conf-test] null settingEnvVars,
1817.95 s
[opt-env-conf-test] null settingConfigVals
1817.95 s
[opt-env-conf-test] ]
1817.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1817.95 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1817.95 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1817.95 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1817.95 s
[opt-env-conf-test] and
1817.95 s
[opt-env-conf-test] - [ se tt ingTr yArgu me n t || settingTryOption || isJust settingSwitchValue,
1817.95 s
[opt-env-conf-test] + [ F a l se || settingTryOption || isJust settingSwitchValue,
1817.95 s
[opt-env-conf-test] null settingEnvVars,
1817.95 s
[opt-env-conf-test] null settingConfigVals
1817.95 s
[opt-env-conf-test] ]
1817.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-33
1817.95 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1817.95 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1817.95 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1817.95 s
[opt-env-conf-test] and
1817.95 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1817.95 s
[opt-env-conf-test] + [ n o t ( settingTryArgument ) || settingTryOption || isJust settingSwitchValue,
1817.95 s
[opt-env-conf-test] null settingEnvVars,
1817.95 s
[opt-env-conf-test] null settingConfigVals
1817.95 s
[opt-env-conf-test] ]
1817.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1817.95 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1817.95 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1817.95 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1817.95 s
[opt-env-conf-test] and
1817.95 s
[opt-env-conf-test] - [ settingTryArgument || s e tt in g Tr y Opti on || isJust settingSwitchValue,
1817.95 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e || isJust settingSwitchValue,
1817.95 s
[opt-env-conf-test] null settingEnvVars,
1817.95 s
[opt-env-conf-test] null settingConfigVals
1817.95 s
[opt-env-conf-test] ]
1817.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1817.95 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1817.95 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1817.95 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1817.95 s
[opt-env-conf-test] and
1817.95 s
[opt-env-conf-test] - [ settingTryArgument || se tt ingT ryOp ti o n || isJust settingSwitchValue,
1817.95 s
[opt-env-conf-test] + [ settingTryArgument || F a l se || isJust settingSwitchValue,
1817.95 s
[opt-env-conf-test] null settingEnvVars,
1817.95 s
[opt-env-conf-test] null settingConfigVals
1817.95 s
[opt-env-conf-test] ]
1817.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:20-63
1817.95 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1817.95 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1817.95 s
[opt-env-conf-test] else do
1817.95 s
[opt-env-conf-test] for_ mDefault $ \d ->
1817.95 s
[opt-env-conf-test] - whe n ( isN oth i n g (find ((== d) . comman dA r g ) cs) ) $
1817.95 s
[opt-env-conf-test] + whe n T r ue $
1817.95 s
[opt-env-conf-test] validationTFailure $
1817.95 s
[opt-env-conf-test] LintError mLoc $
1817.95 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1817.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-53
1817.95 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1817.95 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1817.95 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1817.95 s
[opt-env-conf-test] and
1817.95 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1817.95 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption ) || isJust settingSwitchValue,
1817.95 s
[opt-env-conf-test] null settingEnvVars,
1817.95 s
[opt-env-conf-test] null settingConfigVals
1817.95 s
[opt-env-conf-test] ]
1817.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1817.95 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1817.95 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1817.95 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1817.95 s
[opt-env-conf-test] and
1817.95 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s J u s t s e t tin gSwitc hVa lu e ,
1817.95 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || Tr u e ,
1817.95 s
[opt-env-conf-test] null settingEnvVars,
1817.95 s
[opt-env-conf-test] null settingConfigVals
1817.95 s
[opt-env-conf-test] ]
1817.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
1817.96 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1817.96 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1817.96 s
[opt-env-conf-test] c1 <- go p1
1817.96 s
[opt-env-conf-test] c2 <- go p2
1817.96 s
[opt-env-conf-test] - pure ( c1 || c2 ) -- TODO: is this right?
1817.96 s
[opt-env-conf-test] + pure True -- TODO: is this right?
1817.96 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1817.96 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1817.96 s
[opt-env-conf-test] c1 <- go p1
1817.96 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:57-82
1817.96 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1817.96 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1817.96 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1817.96 s
[opt-env-conf-test] and
1817.96 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1817.96 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || n o t ( isJust settingSwitchValue ) ,
1817.96 s
[opt-env-conf-test] null settingEnvVars,
1817.96 s
[opt-env-conf-test] null settingConfigVals
1817.96 s
[opt-env-conf-test] ]
1817.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1817.96 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1817.96 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1817.96 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1817.96 s
[opt-env-conf-test] and
1817.96 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s Jus t s e tti ngSwit chV al u e,
1826.53 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || F al s e,
1826.58 s
[opt-env-conf-test] null settingEnvVars,
1826.58 s
[opt-env-conf-test] null settingConfigVals
1826.58 s
[opt-env-conf-test] ]
1826.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
1826.58 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1826.58 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1826.58 s
[opt-env-conf-test] c1 <- go p1
1826.58 s
[opt-env-conf-test] c2 <- go p2
1826.58 s
[opt-env-conf-test] - pure ( c 1 || c 2) -- TODO: is this right?
1826.58 s
[opt-env-conf-test] + pure F alse -- TODO: is this right?
1826.58 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1826.58 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1826.58 s
[opt-env-conf-test] c1 <- go p1
1826.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1826.58 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1826.58 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1826.58 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1826.58 s
[opt-env-conf-test] and
1826.58 s
[opt-env-conf-test] - [ settingTryArgume n t || setti n gTryOp t ion || i sJu st s ettin gSw i t chV al u e,
1826.58 s
[opt-env-conf-test] + [ settingTryArgume n t || F al s e,
1826.58 s
[opt-env-conf-test] null settingEnvVars,
1826.58 s
[opt-env-conf-test] null settingConfigVals
1826.58 s
[opt-env-conf-test] ]
1826.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1826.58 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1826.58 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1826.58 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1826.58 s
[opt-env-conf-test] and
1826.58 s
[opt-env-conf-test] - [ settingTryArgument || s e t tin g Tr y O pt ion || isJ u st setting Switc hVa l u e,
1826.58 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e,
1826.58 s
[opt-env-conf-test] null settingEnvVars,
1826.58 s
[opt-env-conf-test] null settingConfigVals
1826.59 s
[opt-env-conf-test] ]
1826.59 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:37-82
1826.59 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1826.59 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1826.59 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1826.59 s
[opt-env-conf-test] and
1826.59 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption | | isJust settingSwitchValue,
1826.59 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption & & isJust settingSwitchValue,
1826.59 s
[opt-env-conf-test] null settingEnvVars,
1826.59 s
[opt-env-conf-test] null settingConfigVals
1826.59 s
[opt-env-conf-test] ]
1826.59 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-82
1826.59 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1826.59 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1826.59 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1826.59 s
[opt-env-conf-test] and
1826.59 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1826.59 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption || isJust settingSwitchValue ) ,
1826.59 s
[opt-env-conf-test] null settingEnvVars,
1826.59 s
[opt-env-conf-test] null settingConfigVals
1826.59 s
[opt-env-conf-test] ]
1826.59 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:250:15-23
1826.59 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1826.59 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1826.59 s
[opt-env-conf-test] c1 <- go p1
1826.59 s
[opt-env-conf-test] c2 <- go p2
1826.59 s
[opt-env-conf-test] - pure (c1 | | c2)
1826.59 s
[opt-env-conf-test] + pure (c1 & & c2)
1826.59 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1826.59 s
[opt-env-conf-test] c1 <- go p1
1826.59 s
[opt-env-conf-test] c2 <- go p2
1826.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1826.59 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1826.59 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1826.59 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1826.59 s
[opt-env-conf-test] and
1826.59 s
[opt-env-conf-test] - [ s e tt in g T r yA r g u m ent || s e ttin gTryOpti on || isJust set tingSwit chVa lu e ,
1826.59 s
[opt-env-conf-test] + [ T r u e ,
1826.59 s
[opt-env-conf-test] null settingEnvVars,
1826.59 s
[opt-env-conf-test] null settingConfigVals
1826.59 s
[opt-env-conf-test] ]
1826.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1826.59 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1826.59 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1826.59 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1826.59 s
[opt-env-conf-test] and
1826.59 s
[opt-env-conf-test] - [ s e tt ingT ryArgume nt || settingTry Optio n | | isJust settingS witc hV al u e,
1826.59 s
[opt-env-conf-test] + [ F al s e,
1826.59 s
[opt-env-conf-test] null settingEnvVars,
1826.59 s
[opt-env-conf-test] null settingConfigVals
1826.59 s
[opt-env-conf-test] ]
1826.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1826.59 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1826.59 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1826.59 s
[opt-env-conf-test] c1 <- go p1
1826.59 s
[opt-env-conf-test] c2 <- go p2
1826.59 s
[opt-env-conf-test] - pure ( c1 || c2)
1826.59 s
[opt-env-conf-test] + pure True
1826.59 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1826.60 s
[opt-env-conf-test] c1 <- go p1
1826.60 s
[opt-env-conf-test] c2 <- go p2
1826.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:14-24
1826.60 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1826.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1826.60 s
[opt-env-conf-test] c1 <- go p1
1826.60 s
[opt-env-conf-test] c2 <- go p2
1826.60 s
[opt-env-conf-test] - pure ( c1 || c2) -- TODO: is this right?
1826.60 s
[opt-env-conf-test] + pure n o t ( ( c1 || c2) ) -- TODO: is this right?
1826.60 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1826.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1826.60 s
[opt-env-conf-test] c1 <- go p1
1826.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1826.60 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1826.60 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1826.60 s
[opt-env-conf-test] c1 <- go p1
1826.60 s
[opt-env-conf-test] c2 <- go p2
1826.60 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
1826.60 s
[opt-env-conf-test] + pure ( T ru e )
1826.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1826.60 s
[opt-env-conf-test] c1 <- go p1
1826.60 s
[opt-env-conf-test] c2 <- go p2
1826.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1826.60 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1826.60 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1826.60 s
[opt-env-conf-test] c1 <- go p1
1826.60 s
[opt-env-conf-test] c2 <- go p2
1826.60 s
[opt-env-conf-test] - pure (c1 || c 2 )
1826.60 s
[opt-env-conf-test] + pure (c1 || F a ls e )
1826.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1826.60 s
[opt-env-conf-test] c1 <- go p1
1826.60 s
[opt-env-conf-test] c2 <- go p2
1826.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1826.60 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1826.60 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1826.60 s
[opt-env-conf-test] c1 <- go p1
1826.60 s
[opt-env-conf-test] c2 <- go p2
1826.60 s
[opt-env-conf-test] - pure (c1 || c 2 )
1826.60 s
[opt-env-conf-test] + pure (c1 || T ru e )
1826.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1826.60 s
[opt-env-conf-test] c1 <- go p1
1826.60 s
[opt-env-conf-test] c2 <- go p2
1826.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:21-23
1826.60 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1826.60 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1826.61 s
[opt-env-conf-test] c1 <- go p1
1826.61 s
[opt-env-conf-test] c2 <- go p2
1826.61 s
[opt-env-conf-test] - pure (c1 || c2)
1826.61 s
[opt-env-conf-test] + pure (c1 || n o t ( c2) )
1826.61 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1826.61 s
[opt-env-conf-test] c1 <- go p1
1826.61 s
[opt-env-conf-test] c2 <- go p2
1826.61 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-23
1826.61 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1826.61 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1826.61 s
[opt-env-conf-test] c1 <- go p1
1826.61 s
[opt-env-conf-test] c2 <- go p2
1826.61 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1826.61 s
[opt-env-conf-test] + pure ( n ot (c1 || c2) ) -- TODO: is this right?
1826.61 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1826.61 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1826.61 s
[opt-env-conf-test] c1 <- go p1
1826.61 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-17
1826.61 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1826.61 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1826.61 s
[opt-env-conf-test] c1 <- go p1
1826.61 s
[opt-env-conf-test] c2 <- go p2
1826.61 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1826.61 s
[opt-env-conf-test] + pure ( n ot (c1 ) && c2) -- TODO: is this right?
1832.44 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1832.44 s
[opt-env-conf-test] ParserMany mLoc p -> do
1832.48 s
[opt-env-conf-test] c <- go p
1832.48 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1832.48 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1832.48 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1832.48 s
[opt-env-conf-test] c1 <- go p1
1832.48 s
[opt-env-conf-test] c2 <- go p2
1832.48 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
1832.48 s
[opt-env-conf-test] + pure (c1 && F a ls e ) -- TODO: is this right?
1832.48 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1832.48 s
[opt-env-conf-test] ParserMany mLoc p -> do
1832.48 s
[opt-env-conf-test] c <- go p
1832.48 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-17
1832.48 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1832.48 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1832.48 s
[opt-env-conf-test] c1 <- go p1
1832.48 s
[opt-env-conf-test] c2 <- go p2
1832.48 s
[opt-env-conf-test] - pure (c1 || c2)
1832.48 s
[opt-env-conf-test] + pure ( n ot (c1 ) || c2)
1832.48 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1832.48 s
[opt-env-conf-test] c1 <- go p1
1832.48 s
[opt-env-conf-test] c2 <- go p2
1832.48 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-82
1832.48 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1832.48 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1832.48 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1832.49 s
[opt-env-conf-test] and
1832.49 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1832.49 s
[opt-env-conf-test] + [ n o t ( settingTryArgument || settingTryOption || isJust settingSwitchValue ) ,
1832.49 s
[opt-env-conf-test] null settingEnvVars,
1832.49 s
[opt-env-conf-test] null settingConfigVals
1832.49 s
[opt-env-conf-test] ]
1832.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1832.49 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1832.49 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1832.49 s
[opt-env-conf-test] and
1832.49 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.49 s
[opt-env-conf-test] - n u ll s e t ti ngEnv Va r s ,
1832.49 s
[opt-env-conf-test] + T r u e ,
1832.49 s
[opt-env-conf-test] null settingConfigVals
1832.49 s
[opt-env-conf-test] ]
1832.49 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:15-82
1832.49 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1832.49 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1832.49 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1832.49 s
[opt-env-conf-test] and
1832.49 s
[opt-env-conf-test] - [ settingTryArgument | | settingTryOption || isJust settingSwitchValue,
1832.49 s
[opt-env-conf-test] + [ settingTryArgument & & settingTryOption || isJust settingSwitchValue,
1832.49 s
[opt-env-conf-test] null settingEnvVars,
1832.49 s
[opt-env-conf-test] null settingConfigVals
1832.49 s
[opt-env-conf-test] ]
1832.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1832.49 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1832.49 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1832.49 s
[opt-env-conf-test] and
1832.49 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.49 s
[opt-env-conf-test] - n u l l se t ti ngEnv Va r s ,
1832.49 s
[opt-env-conf-test] + F a l se ,
1832.49 s
[opt-env-conf-test] null settingConfigVals
1832.49 s
[opt-env-conf-test] ]
1832.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1832.49 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1832.49 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1832.49 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1832.49 s
[opt-env-conf-test] and
1832.49 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.49 s
[opt-env-conf-test] null settingEnvVars,
1832.49 s
[opt-env-conf-test] null settingConfigVals
1832.49 s
[opt-env-conf-test] ]
1832.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1832.49 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1832.49 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1832.49 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1832.49 s
[opt-env-conf-test] and
1832.49 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.50 s
[opt-env-conf-test] null settingEnvVars,
1832.50 s
[opt-env-conf-test] - null settingConfigVals
1832.50 s
[opt-env-conf-test] ]
1832.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
1832.50 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1832.50 s
[opt-env-conf-test] pure $
1832.50 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1832.50 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1832.50 s
[opt-env-conf-test] - a n d
1832.50 s
[opt-env-conf-test] + F a lse
1832.50 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.50 s
[opt-env-conf-test] null settingEnvVars,
1832.50 s
[opt-env-conf-test] null settingConfigVals
1832.50 s
[opt-env-conf-test] ]
1832.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
1832.50 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1832.50 s
[opt-env-conf-test] pure $
1832.50 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1832.50 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1832.50 s
[opt-env-conf-test] - and
1832.50 s
[opt-env-conf-test] + T r ue
1832.50 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.50 s
[opt-env-conf-test] null settingEnvVars,
1832.50 s
[opt-env-conf-test] null settingConfigVals
1832.50 s
[opt-env-conf-test] ]
1832.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1832.50 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1832.50 s
[opt-env-conf-test] and
1832.50 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.50 s
[opt-env-conf-test] null settingEnvVars,
1832.50 s
[opt-env-conf-test] - n u l l se tting ConfigVals
1832.50 s
[opt-env-conf-test] + Fa l se
1832.50 s
[opt-env-conf-test] ]
1832.50 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1832.50 s
[opt-env-conf-test] @@ -337,7 +337,4 @@
1832.50 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1832.50 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1832.50 s
[opt-env-conf-test] and
1832.50 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.50 s
[opt-env-conf-test] - null settingEnvVars,
1832.50 s
[opt-env-conf-test] - null settingConfigVals
1832.50 s
[opt-env-conf-test] ]
1832.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1832.50 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1832.50 s
[opt-env-conf-test] and
1832.50 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.50 s
[opt-env-conf-test] null settingEnvVars,
1832.50 s
[opt-env-conf-test] - n u ll s e t t in gConfigVals
1832.50 s
[opt-env-conf-test] + T r u e
1832.50 s
[opt-env-conf-test] ]
1832.50 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:342:15-37
1832.51 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1832.51 s
[opt-env-conf-test] and
1832.51 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.51 s
[opt-env-conf-test] null settingEnvVars,
1832.51 s
[opt-env-conf-test] - null settingConfigVals
1832.51 s
[opt-env-conf-test] + n o t ( null settingConfigVals )
1832.51 s
[opt-env-conf-test] ]
1832.51 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:341:15-34
1832.51 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1832.51 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1832.51 s
[opt-env-conf-test] and
1832.51 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.51 s
[opt-env-conf-test] - null settingEnvVars ,
1832.51 s
[opt-env-conf-test] + n o t ( null settingEnvVars ) ,
1832.51 s
[opt-env-conf-test] null settingConfigVals
1832.51 s
[opt-env-conf-test] ]
1832.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1832.51 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1832.51 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1832.51 s
[opt-env-conf-test] case lintErrorMessage of
1832.51 s
[opt-env-conf-test] LintErrorUndocumented ->
1832.51 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1832.51 s
[opt-env-conf-test] LintErrorEmptySetting ->
1832.51 s
[opt-env-conf-test] concat
1832.51 s
[opt-env-conf-test] [ [ [ "This ",
1832.51 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:339:11-14
1832.51 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1832.51 s
[opt-env-conf-test] pure $
1832.51 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1832.51 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1832.51 s
[opt-env-conf-test] - and
1832.51 s
[opt-env-conf-test] + n o t ( and
1832.51 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1832.51 s
[opt-env-conf-test] null settingEnvVars,
1832.51 s
[opt-env-conf-test] null settingConfigVals
1832.51 s
[opt-env-conf-test] - ]
1841.41 s
[opt-env-conf-test] + ] )
1841.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1841.44 s
[opt-env-conf-test] @@ -76,20 +76,19 @@
1841.44 s
[opt-env-conf-test] " parses nothing."
1841.44 s
[opt-env-conf-test] ]
1841.44 s
[opt-env-conf-test] ],
1841.44 s
[opt-env-conf-test] - [ [ "Add an ",
1841.44 s
[opt-env-conf-test] functionChunk "argument",
1841.44 s
[opt-env-conf-test] ", ",
1841.44 s
[opt-env-conf-test] functionChunk "switch",
1841.44 s
[opt-env-conf-test] ", ",
1841.44 s
[opt-env-conf-test] functionChunk "option",
1841.44 s
[opt-env-conf-test] ", ",
1841.44 s
[opt-env-conf-test] functionChunk "env",
1841.44 s
[opt-env-conf-test] ", ",
1841.44 s
[opt-env-conf-test] functionChunk "conf",
1841.44 s
[opt-env-conf-test] ", or ",
1841.44 s
[opt-env-conf-test] functionChunk "value",
1841.44 s
[opt-env-conf-test] "."
1841.44 s
[opt-env-conf-test] ]
1841.44 s
[opt-env-conf-test] ]
1841.44 s
[opt-env-conf-test] ]
1841.44 s
[opt-env-conf-test] LintErrorDashInShort ->
1841.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1841.44 s
[opt-env-conf-test] @@ -76,20 +76,19 @@
1841.44 s
[opt-env-conf-test] " parses nothing."
1841.45 s
[opt-env-conf-test] ]
1841.45 s
[opt-env-conf-test] ],
1841.45 s
[opt-env-conf-test] [ [ "Add an ",
1841.45 s
[opt-env-conf-test] functionChunk "argument",
1841.45 s
[opt-env-conf-test] ", ",
1841.45 s
[opt-env-conf-test] functionChunk "switch",
1841.45 s
[opt-env-conf-test] ", ",
1841.45 s
[opt-env-conf-test] functionChunk "option",
1841.45 s
[opt-env-conf-test] ", ",
1841.45 s
[opt-env-conf-test] functionChunk "env",
1841.45 s
[opt-env-conf-test] ", ",
1841.45 s
[opt-env-conf-test] functionChunk "conf",
1841.45 s
[opt-env-conf-test] ", or ",
1841.45 s
[opt-env-conf-test] functionChunk "value",
1841.45 s
[opt-env-conf-test] - "."
1841.45 s
[opt-env-conf-test] ]
1841.45 s
[opt-env-conf-test] ]
1841.45 s
[opt-env-conf-test] ]
1841.45 s
[opt-env-conf-test] LintErrorDashInShort ->
1841.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
1841.45 s
[opt-env-conf-test] @@ -71,27 +71,7 @@
1841.45 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1841.45 s
[opt-env-conf-test] LintErrorEmptySetting ->
1841.45 s
[opt-env-conf-test] concat
1841.45 s
[opt-env-conf-test] - [ [ [ "This ",
1841.45 s
[opt-env-conf-test] - functionChunk "setting",
1841.45 s
[opt-env-conf-test] - " parses nothing."
1841.45 s
[opt-env-conf-test] - ]
1841.45 s
[opt-env-conf-test] - ],
1841.45 s
[opt-env-conf-test] - [ [ "Add an ",
1841.45 s
[opt-env-conf-test] - functionChunk "argument",
1841.45 s
[opt-env-conf-test] - ", ",
1841.45 s
[opt-env-conf-test] - functionChunk "switch",
1841.45 s
[opt-env-conf-test] - ", ",
1841.45 s
[opt-env-conf-test] - functionChunk "option",
1841.45 s
[opt-env-conf-test] - ", ",
1841.45 s
[opt-env-conf-test] - functionChunk "env",
1841.45 s
[opt-env-conf-test] - ", ",
1841.45 s
[opt-env-conf-test] - functionChunk "conf",
1841.45 s
[opt-env-conf-test] - ", or ",
1841.45 s
[opt-env-conf-test] - functionChunk "value",
1841.45 s
[opt-env-conf-test] - "."
1841.45 s
[opt-env-conf-test] - ]
1841.45 s
[opt-env-conf-test] - ]
1841.45 s
[opt-env-conf-test] ]
1841.45 s
[opt-env-conf-test] LintErrorDashInShort ->
1841.45 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1841.45 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1841.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
1841.45 s
[opt-env-conf-test] @@ -71,27 +71,22 @@
1841.45 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1841.45 s
[opt-env-conf-test] LintErrorEmptySetting ->
1841.45 s
[opt-env-conf-test] concat
1841.45 s
[opt-env-conf-test] - [ [ [ "This ",
1841.45 s
[opt-env-conf-test] - functionChunk "setting",
1841.45 s
[opt-env-conf-test] - " parses nothing."
1841.45 s
[opt-env-conf-test] - ]
1841.45 s
[opt-env-conf-test] - ],
1841.45 s
[opt-env-conf-test] [ [ "Add an ",
1841.46 s
[opt-env-conf-test] functionChunk "argument",
1841.46 s
[opt-env-conf-test] ", ",
1841.46 s
[opt-env-conf-test] functionChunk "switch",
1841.46 s
[opt-env-conf-test] ", ",
1841.46 s
[opt-env-conf-test] functionChunk "option",
1841.46 s
[opt-env-conf-test] ", ",
1841.46 s
[opt-env-conf-test] functionChunk "env",
1841.46 s
[opt-env-conf-test] ", ",
1841.46 s
[opt-env-conf-test] functionChunk "conf",
1841.46 s
[opt-env-conf-test] ", or ",
1841.46 s
[opt-env-conf-test] functionChunk "value",
1841.46 s
[opt-env-conf-test] "."
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInShort ->
1841.46 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1841.46 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1841.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
1841.46 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInShort ->
1841.46 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1841.46 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInLong s ->
1841.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1841.46 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInShort ->
1841.46 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1841.46 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInLong s ->
1841.46 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1841.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1841.46 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInShort ->
1841.46 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1841.46 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInLong s ->
1841.46 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1841.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
1841.46 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInShort ->
1841.46 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1841.46 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInLong s ->
1841.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
1841.46 s
[opt-env-conf-test] @@ -93,9 +93,7 @@
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInShort ->
1841.46 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1841.46 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInLong s ->
1841.46 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1841.46 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1841.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1841.46 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInShort ->
1841.46 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1841.46 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInLong s ->
1841.46 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1841.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
1841.46 s
[opt-env-conf-test] @@ -93,9 +93,8 @@
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInShort ->
1841.46 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1841.46 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInLong s ->
1841.46 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1841.46 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1841.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
1841.46 s
[opt-env-conf-test] @@ -97,7 +97,6 @@
1841.46 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInLong s ->
1841.46 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1841.46 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1841.46 s
[opt-env-conf-test] [ "Try ",
1841.46 s
[opt-env-conf-test] functionChunk "long",
1841.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1841.46 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1841.46 s
[opt-env-conf-test] ]
1841.46 s
[opt-env-conf-test] LintErrorDashInLong s ->
1841.47 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1841.47 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1841.47 s
[opt-env-conf-test] [ "Try ",
1841.47 s
[opt-env-conf-test] functionChunk "long",
1841.47 s
[opt-env-conf-test] " ",
1841.47 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:21-62
1841.47 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1841.47 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1841.47 s
[opt-env-conf-test] else do
1841.47 s
[opt-env-conf-test] for_ mDefault $ \d ->
1841.47 s
[opt-env-conf-test] - whe n (isNothing (find ((== d) . commandArg) cs)) $
1841.47 s
[opt-env-conf-test] + whe n ( n ot (isNothing (find ((== d) . commandArg) cs)) ) $
1841.47 s
[opt-env-conf-test] validationTFailure $
1841.47 s
[opt-env-conf-test] LintError mLoc $
1841.47 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1841.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1841.47 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1841.47 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1841.47 s
[opt-env-conf-test] c1 <- go p1
1841.47 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1841.47 s
[opt-env-conf-test] - pure $ c 1 || c2
1841.47 s
[opt-env-conf-test] + pure $ T ru e || c2
1841.47 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1841.47 s
[opt-env-conf-test] case settingHelp of
1848.04 s
[opt-env-conf-test] Nothing ->
1848.04 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1848.04 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1848.06 s
[opt-env-conf-test] ]
1848.06 s
[opt-env-conf-test] LintErrorDashInLong s ->
1848.06 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1848.06 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1848.06 s
[opt-env-conf-test] [ "Try ",
1848.07 s
[opt-env-conf-test] functionChunk "long",
1848.07 s
[opt-env-conf-test] " ",
1848.07 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Lint.hs:278:16-53
1848.07 s
[opt-env-conf-test] @@ -275,13 +275,8 @@
1848.07 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1848.07 s
[opt-env-conf-test] if null cs
1848.07 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1848.07 s
[opt-env-conf-test] else do
1848.07 s
[opt-env-conf-test] - for_ mDefault $ \d ->
1848.07 s
[opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
1848.07 s
[opt-env-conf-test] - validationTFailure $
1848.07 s
[opt-env-conf-test] - LintError mLoc $
1848.07 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand d
1848.07 s
[opt-env-conf-test] and <$> traverse (go . commandParser) cs -- TODO is this right?
1848.07 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1848.07 s
[opt-env-conf-test] c1 <- go p1
1848.07 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1848.07 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1848.07 s
[opt-env-conf-test] @@ -99,19 +99,18 @@
1848.07 s
[opt-env-conf-test] LintErrorDashInLong s ->
1848.07 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1848.07 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1848.07 s
[opt-env-conf-test] - [ "Try ",
1848.07 s
[opt-env-conf-test] functionChunk "long",
1848.07 s
[opt-env-conf-test] " ",
1848.07 s
[opt-env-conf-test] chunk $
1848.07 s
[opt-env-conf-test] T.pack $
1848.07 s
[opt-env-conf-test] show $
1848.07 s
[opt-env-conf-test] let go = \case
1848.07 s
[opt-env-conf-test] [] -> []
1848.07 s
[opt-env-conf-test] '-' : cs -> go cs
1848.07 s
[opt-env-conf-test] c : cs -> c : cs
1848.07 s
[opt-env-conf-test] in go $ NE.toList s,
1848.07 s
[opt-env-conf-test] " instead."
1848.07 s
[opt-env-conf-test] ]
1848.07 s
[opt-env-conf-test] ]
1848.07 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1848.07 s
[opt-env-conf-test] [ [ functionChunk "argument",
1848.07 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1848.07 s
[opt-env-conf-test] @@ -99,19 +99,18 @@
1848.07 s
[opt-env-conf-test] LintErrorDashInLong s ->
1848.07 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1848.07 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1848.07 s
[opt-env-conf-test] [ "Try ",
1848.07 s
[opt-env-conf-test] functionChunk "long",
1848.07 s
[opt-env-conf-test] " ",
1848.07 s
[opt-env-conf-test] chunk $
1848.07 s
[opt-env-conf-test] T.pack $
1848.07 s
[opt-env-conf-test] show $
1848.07 s
[opt-env-conf-test] let go = \case
1848.07 s
[opt-env-conf-test] [] -> []
1848.07 s
[opt-env-conf-test] '-' : cs -> go cs
1848.07 s
[opt-env-conf-test] c : cs -> c : cs
1848.07 s
[opt-env-conf-test] in go $ NE.toList s,
1848.07 s
[opt-env-conf-test] - " instead."
1848.07 s
[opt-env-conf-test] ]
1848.07 s
[opt-env-conf-test] ]
1848.07 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1848.07 s
[opt-env-conf-test] [ [ functionChunk "argument",
1848.07 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1848.07 s
[opt-env-conf-test] @@ -99,19 +99,7 @@
1848.07 s
[opt-env-conf-test] LintErrorDashInLong s ->
1848.07 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1848.07 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1848.07 s
[opt-env-conf-test] - [ "Try ",
1848.07 s
[opt-env-conf-test] - functionChunk "long",
1848.07 s
[opt-env-conf-test] - " ",
1848.07 s
[opt-env-conf-test] - chunk $
1848.07 s
[opt-env-conf-test] - T.pack $
1848.07 s
[opt-env-conf-test] - show $
1848.07 s
[opt-env-conf-test] - let go = \case
1848.07 s
[opt-env-conf-test] - [] -> []
1848.07 s
[opt-env-conf-test] - '-' : cs -> go cs
1848.08 s
[opt-env-conf-test] - c : cs -> c : cs
1848.08 s
[opt-env-conf-test] - in go $ NE.toList s,
1848.08 s
[opt-env-conf-test] - " instead."
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1848.08 s
[opt-env-conf-test] [ [ functionChunk "argument",
1848.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1848.08 s
[opt-env-conf-test] @@ -97,22 +97,7 @@
1848.08 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] LintErrorDashInLong s ->
1848.08 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1848.08 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1848.08 s
[opt-env-conf-test] - [ "Try ",
1848.08 s
[opt-env-conf-test] - functionChunk "long",
1848.08 s
[opt-env-conf-test] - " ",
1848.08 s
[opt-env-conf-test] - chunk $
1848.08 s
[opt-env-conf-test] - T.pack $
1848.08 s
[opt-env-conf-test] - show $
1848.08 s
[opt-env-conf-test] - let go = \case
1848.08 s
[opt-env-conf-test] - [] -> []
1848.08 s
[opt-env-conf-test] - '-' : cs -> go cs
1848.08 s
[opt-env-conf-test] - c : cs -> c : cs
1848.08 s
[opt-env-conf-test] - in go $ NE.toList s,
1848.08 s
[opt-env-conf-test] - " instead."
1848.08 s
[opt-env-conf-test] - ]
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1848.08 s
[opt-env-conf-test] [ [ functionChunk "argument",
1848.08 s
[opt-env-conf-test] " has no ",
1848.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1848.08 s
[opt-env-conf-test] @@ -114,11 +114,10 @@
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1848.08 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1848.08 s
[opt-env-conf-test] " has no ",
1848.08 s
[opt-env-conf-test] functionChunk "reader",
1848.08 s
[opt-env-conf-test] "."
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1848.08 s
[opt-env-conf-test] [ [ functionChunk "argument",
1848.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1848.08 s
[opt-env-conf-test] @@ -76,20 +76,7 @@
1848.08 s
[opt-env-conf-test] " parses nothing."
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] ],
1848.08 s
[opt-env-conf-test] - [ [ "Add an ",
1848.08 s
[opt-env-conf-test] - functionChunk "argument",
1848.08 s
[opt-env-conf-test] - ", ",
1848.08 s
[opt-env-conf-test] - functionChunk "switch",
1848.08 s
[opt-env-conf-test] - ", ",
1848.08 s
[opt-env-conf-test] - functionChunk "option",
1848.08 s
[opt-env-conf-test] - ", ",
1848.08 s
[opt-env-conf-test] - functionChunk "env",
1848.08 s
[opt-env-conf-test] - ", ",
1848.08 s
[opt-env-conf-test] - functionChunk "conf",
1848.08 s
[opt-env-conf-test] - ", or ",
1848.08 s
[opt-env-conf-test] - functionChunk "value",
1848.08 s
[opt-env-conf-test] - "."
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] LintErrorDashInShort ->
1848.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1848.08 s
[opt-env-conf-test] @@ -114,11 +114,7 @@
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1848.08 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1848.08 s
[opt-env-conf-test] - " has no ",
1848.08 s
[opt-env-conf-test] - functionChunk "reader",
1848.08 s
[opt-env-conf-test] - "."
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1848.08 s
[opt-env-conf-test] [ [ functionChunk "argument",
1848.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1848.08 s
[opt-env-conf-test] @@ -71,10 +71,9 @@
1848.08 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1848.08 s
[opt-env-conf-test] LintErrorEmptySetting ->
1848.08 s
[opt-env-conf-test] concat
1848.08 s
[opt-env-conf-test] [ [ [ "This ",
1848.08 s
[opt-env-conf-test] functionChunk "setting",
1848.08 s
[opt-env-conf-test] - " parses nothing."
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] ],
1848.08 s
[opt-env-conf-test] [ [ "Add an ",
1848.08 s
[opt-env-conf-test] functionChunk "argument",
1848.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1848.08 s
[opt-env-conf-test] @@ -71,10 +71,7 @@
1848.08 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1848.08 s
[opt-env-conf-test] LintErrorEmptySetting ->
1848.08 s
[opt-env-conf-test] concat
1848.08 s
[opt-env-conf-test] - [ [ [ "This ",
1848.08 s
[opt-env-conf-test] - functionChunk "setting",
1848.08 s
[opt-env-conf-test] - " parses nothing."
1848.08 s
[opt-env-conf-test] ]
1848.08 s
[opt-env-conf-test] ],
1848.08 s
[opt-env-conf-test] [ [ "Add an ",
1848.08 s
[opt-env-conf-test] functionChunk "argument",
1848.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1848.09 s
[opt-env-conf-test] @@ -114,11 +114,10 @@
1848.09 s
[opt-env-conf-test] ]
1848.09 s
[opt-env-conf-test] ]
1848.09 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1848.09 s
[opt-env-conf-test] [ [ functionChunk "argument",
1848.09 s
[opt-env-conf-test] " has no ",
1848.09 s
[opt-env-conf-test] functionChunk "reader",
1848.09 s
[opt-env-conf-test] - "."
1848.09 s
[opt-env-conf-test] ]
1848.09 s
[opt-env-conf-test] ]
1848.09 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1848.09 s
[opt-env-conf-test] [ [ functionChunk "argument",
1848.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1848.09 s
[opt-env-conf-test] @@ -71,10 +71,9 @@
1848.09 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1848.09 s
[opt-env-conf-test] LintErrorEmptySetting ->
1848.09 s
[opt-env-conf-test] concat
1848.09 s
[opt-env-conf-test] - [ [ [ "This ",
1848.09 s
[opt-env-conf-test] functionChunk "setting",
1848.09 s
[opt-env-conf-test] " parses nothing."
1848.09 s
[opt-env-conf-test] ]
1848.09 s
[opt-env-conf-test] ],
1848.09 s
[opt-env-conf-test] [ [ "Add an ",
1848.09 s
[opt-env-conf-test] functionChunk "argument",
1848.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1848.09 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1848.09 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1848.09 s
[opt-env-conf-test] case lintErrorMessage of
1848.09 s
[opt-env-conf-test] LintErrorUndocumented ->
1848.09 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1848.09 s
[opt-env-conf-test] LintErrorEmptySetting ->
1848.09 s
[opt-env-conf-test] concat
1848.09 s
[opt-env-conf-test] [ [ [ "This ",
1857.73 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1857.73 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1857.73 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1857.75 s
[opt-env-conf-test] case lintErrorMessage of
1857.75 s
[opt-env-conf-test] LintErrorUndocumented ->
1857.75 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1857.75 s
[opt-env-conf-test] LintErrorEmptySetting ->
1857.75 s
[opt-env-conf-test] concat
1857.75 s
[opt-env-conf-test] [ [ [ "This ",
1857.75 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:21-62
1857.76 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1857.76 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1857.76 s
[opt-env-conf-test] else do
1857.76 s
[opt-env-conf-test] for_ mDefault $ \d ->
1857.76 s
[opt-env-conf-test] - whe n ( isN othin g ( fi n d ( ( = = d) . comman dA r g ) c s ) ) $
1857.76 s
[opt-env-conf-test] + whe n ( T r ue ) $
1857.76 s
[opt-env-conf-test] validationTFailure $
1857.76 s
[opt-env-conf-test] LintError mLoc $
1857.76 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1857.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1857.76 s
[opt-env-conf-test] @@ -128,13 +128,12 @@
1857.76 s
[opt-env-conf-test] ]
1857.76 s
[opt-env-conf-test] ]
1857.76 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1857.76 s
[opt-env-conf-test] - [ [ functionChunk "option",
1857.76 s
[opt-env-conf-test] " or ",
1857.76 s
[opt-env-conf-test] functionChunk "name",
1857.76 s
[opt-env-conf-test] " has no ",
1857.76 s
[opt-env-conf-test] functionChunk "reader",
1857.76 s
[opt-env-conf-test] "."
1857.76 s
[opt-env-conf-test] ]
1857.76 s
[opt-env-conf-test] ]
1857.76 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1857.76 s
[opt-env-conf-test] [ [ functionChunk "option",
1857.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1857.76 s
[opt-env-conf-test] @@ -137,13 +137,12 @@
1857.76 s
[opt-env-conf-test] ]
1857.76 s
[opt-env-conf-test] ]
1857.76 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1857.76 s
[opt-env-conf-test] [ [ functionChunk "option",
1857.76 s
[opt-env-conf-test] " has no ",
1857.76 s
[opt-env-conf-test] functionChunk "long",
1857.76 s
[opt-env-conf-test] " or ",
1857.76 s
[opt-env-conf-test] functionChunk "short",
1857.76 s
[opt-env-conf-test] - "."
1857.76 s
[opt-env-conf-test] ]
1857.76 s
[opt-env-conf-test] ]
1857.76 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1857.76 s
[opt-env-conf-test] [ [ functionChunk "option",
1857.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1857.76 s
[opt-env-conf-test] @@ -146,13 +146,12 @@
1857.76 s
[opt-env-conf-test] ]
1857.76 s
[opt-env-conf-test] ]
1857.76 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1857.76 s
[opt-env-conf-test] [ [ functionChunk "option",
1857.76 s
[opt-env-conf-test] " or ",
1857.77 s
[opt-env-conf-test] functionChunk "name",
1857.77 s
[opt-env-conf-test] " has no ",
1857.77 s
[opt-env-conf-test] functionChunk "metavar",
1857.77 s
[opt-env-conf-test] - "."
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1857.77 s
[opt-env-conf-test] [ [ functionChunk "switch",
1857.77 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1857.77 s
[opt-env-conf-test] @@ -155,13 +155,12 @@
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1857.77 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1857.77 s
[opt-env-conf-test] " has no ",
1857.77 s
[opt-env-conf-test] functionChunk "long",
1857.77 s
[opt-env-conf-test] " or ",
1857.77 s
[opt-env-conf-test] functionChunk "short",
1857.77 s
[opt-env-conf-test] "."
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1857.77 s
[opt-env-conf-test] [ [ functionChunk "long",
1857.77 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1857.77 s
[opt-env-conf-test] @@ -155,13 +155,12 @@
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1857.77 s
[opt-env-conf-test] [ [ functionChunk "switch",
1857.77 s
[opt-env-conf-test] " has no ",
1857.77 s
[opt-env-conf-test] functionChunk "long",
1857.77 s
[opt-env-conf-test] " or ",
1857.77 s
[opt-env-conf-test] functionChunk "short",
1857.77 s
[opt-env-conf-test] - "."
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1857.77 s
[opt-env-conf-test] [ [ functionChunk "long",
1857.77 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1857.77 s
[opt-env-conf-test] @@ -164,15 +164,7 @@
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] ]
1857.77 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1857.77 s
[opt-env-conf-test] - [ [ functionChunk "long",
1857.77 s
[opt-env-conf-test] - " or ",
1857.77 s
[opt-env-conf-test] - functionChunk "short",
1857.77 s
[opt-env-conf-test] - " has no ",
1857.77 s
[opt-env-conf-test] - functionChunk "option",
1857.77 s
[opt-env-conf-test] - " or ",
1857.77 s
[opt-env-conf-test] - functionChunk "switch",
1857.77 s
[opt-env-conf-test] - "."
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1857.78 s
[opt-env-conf-test] [ [ functionChunk "env",
1857.78 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1857.78 s
[opt-env-conf-test] @@ -121,11 +121,10 @@
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1857.78 s
[opt-env-conf-test] [ [ functionChunk "argument",
1857.78 s
[opt-env-conf-test] " has no ",
1857.78 s
[opt-env-conf-test] functionChunk "metavar",
1857.78 s
[opt-env-conf-test] - "."
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1857.78 s
[opt-env-conf-test] [ [ functionChunk "option",
1857.78 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1857.78 s
[opt-env-conf-test] @@ -128,13 +128,7 @@
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1857.78 s
[opt-env-conf-test] - [ [ functionChunk "option",
1857.78 s
[opt-env-conf-test] - " or ",
1857.78 s
[opt-env-conf-test] - functionChunk "name",
1857.78 s
[opt-env-conf-test] - " has no ",
1857.78 s
[opt-env-conf-test] - functionChunk "reader",
1857.78 s
[opt-env-conf-test] - "."
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1857.78 s
[opt-env-conf-test] [ [ functionChunk "option",
1857.78 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1857.78 s
[opt-env-conf-test] @@ -121,11 +121,10 @@
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1857.78 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1857.78 s
[opt-env-conf-test] " has no ",
1857.78 s
[opt-env-conf-test] functionChunk "metavar",
1857.78 s
[opt-env-conf-test] "."
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1857.78 s
[opt-env-conf-test] [ [ functionChunk "option",
1857.78 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1857.78 s
[opt-env-conf-test] @@ -121,11 +121,7 @@
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1857.78 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1857.78 s
[opt-env-conf-test] - " has no ",
1857.78 s
[opt-env-conf-test] - functionChunk "metavar",
1857.78 s
[opt-env-conf-test] - "."
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1857.78 s
[opt-env-conf-test] [ [ functionChunk "option",
1857.78 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1857.78 s
[opt-env-conf-test] @@ -137,13 +137,12 @@
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] ]
1857.78 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1857.79 s
[opt-env-conf-test] - [ [ functionChunk "option",
1857.79 s
[opt-env-conf-test] " has no ",
1857.79 s
[opt-env-conf-test] functionChunk "long",
1857.79 s
[opt-env-conf-test] " or ",
1857.79 s
[opt-env-conf-test] functionChunk "short",
1857.79 s
[opt-env-conf-test] "."
1857.79 s
[opt-env-conf-test] ]
1857.79 s
[opt-env-conf-test] ]
1857.79 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1857.79 s
[opt-env-conf-test] [ [ functionChunk "option",
1857.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1857.79 s
[opt-env-conf-test] @@ -97,22 +97,9 @@
1857.79 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1857.79 s
[opt-env-conf-test] ]
1857.79 s
[opt-env-conf-test] LintErrorDashInLong s ->
1857.79 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1857.79 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1857.79 s
[opt-env-conf-test] - [ "Try ",
1857.79 s
[opt-env-conf-test] - functionChunk "long",
1857.79 s
[opt-env-conf-test] - " ",
1857.79 s
[opt-env-conf-test] - chunk $
1857.79 s
[opt-env-conf-test] - T.pack $
1857.79 s
[opt-env-conf-test] - show $
1857.79 s
[opt-env-conf-test] - let go = \case
1857.79 s
[opt-env-conf-test] - [] -> []
1857.79 s
[opt-env-conf-test] - '-' : cs -> go cs
1857.79 s
[opt-env-conf-test] - c : cs -> c : cs
1857.79 s
[opt-env-conf-test] - in go $ NE.toList s,
1857.79 s
[opt-env-conf-test] - " instead."
1857.79 s
[opt-env-conf-test] - ]
1857.79 s
[opt-env-conf-test] ]
1857.79 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1857.79 s
[opt-env-conf-test] [ [ functionChunk "argument",
1857.79 s
[opt-env-conf-test] " has no ",
1857.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1857.79 s
[opt-env-conf-test] @@ -175,13 +175,12 @@
1857.79 s
[opt-env-conf-test] ]
1857.79 s
[opt-env-conf-test] ]
1857.79 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1857.79 s
[opt-env-conf-test] - [ [ functionChunk "env",
1857.79 s
[opt-env-conf-test] " or ",
1857.79 s
[opt-env-conf-test] functionChunk "name",
1857.79 s
[opt-env-conf-test] " has no ",
1857.79 s
[opt-env-conf-test] functionChunk "reader",
1857.79 s
[opt-env-conf-test] "."
1857.79 s
[opt-env-conf-test] ]
1857.79 s
[opt-env-conf-test] ]
1857.79 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1857.79 s
[opt-env-conf-test] [ [ functionChunk "env",
1857.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1857.79 s
[opt-env-conf-test] @@ -128,13 +128,12 @@
1857.79 s
[opt-env-conf-test] ]
1857.79 s
[opt-env-conf-test] ]
1857.79 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1857.79 s
[opt-env-conf-test] [ [ functionChunk "option",
1857.79 s
[opt-env-conf-test] " or ",
1857.79 s
[opt-env-conf-test] functionChunk "name",
1857.80 s
[opt-env-conf-test] " has no ",
1857.80 s
[opt-env-conf-test] functionChunk "reader",
1857.80 s
[opt-env-conf-test] - "."
1857.80 s
[opt-env-conf-test] ]
1857.80 s
[opt-env-conf-test] ]
1857.80 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1857.80 s
[opt-env-conf-test] [ [ functionChunk "option",
1857.80 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1857.80 s
[opt-env-conf-test] @@ -175,13 +175,7 @@
1857.80 s
[opt-env-conf-test] ]
1857.80 s
[opt-env-conf-test] ]
1857.80 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1857.80 s
[opt-env-conf-test] - [ [ functionChunk "env",
1857.80 s
[opt-env-conf-test] - " or ",
1864.66 s
[opt-env-conf-test] - functionChunk "name",
1864.69 s
[opt-env-conf-test] - " has no ",
1864.69 s
[opt-env-conf-test] - functionChunk "reader",
1864.69 s
[opt-env-conf-test] - "."
1864.69 s
[opt-env-conf-test] ]
1864.69 s
[opt-env-conf-test] ]
1864.69 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1864.69 s
[opt-env-conf-test] [ [ functionChunk "env",
1864.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1864.69 s
[opt-env-conf-test] @@ -97,22 +97,21 @@
1864.69 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1864.69 s
[opt-env-conf-test] ]
1864.69 s
[opt-env-conf-test] LintErrorDashInLong s ->
1864.69 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1864.69 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1864.69 s
[opt-env-conf-test] [ "Try ",
1864.69 s
[opt-env-conf-test] functionChunk "long",
1864.69 s
[opt-env-conf-test] " ",
1864.69 s
[opt-env-conf-test] chunk $
1864.69 s
[opt-env-conf-test] T.pack $
1864.69 s
[opt-env-conf-test] show $
1864.69 s
[opt-env-conf-test] let go = \case
1864.69 s
[opt-env-conf-test] [] -> []
1864.69 s
[opt-env-conf-test] '-' : cs -> go cs
1864.69 s
[opt-env-conf-test] c : cs -> c : cs
1864.69 s
[opt-env-conf-test] in go $ NE.toList s,
1864.69 s
[opt-env-conf-test] " instead."
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1864.70 s
[opt-env-conf-test] [ [ functionChunk "argument",
1864.70 s
[opt-env-conf-test] " has no ",
1864.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
1864.70 s
[opt-env-conf-test] @@ -97,7 +97,6 @@
1864.70 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorDashInLong s ->
1864.70 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1864.70 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1864.70 s
[opt-env-conf-test] [ "Try ",
1864.70 s
[opt-env-conf-test] functionChunk "long",
1864.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1864.70 s
[opt-env-conf-test] @@ -146,13 +146,7 @@
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1864.70 s
[opt-env-conf-test] - [ [ functionChunk "option",
1864.70 s
[opt-env-conf-test] - " or ",
1864.70 s
[opt-env-conf-test] - functionChunk "name",
1864.70 s
[opt-env-conf-test] - " has no ",
1864.70 s
[opt-env-conf-test] - functionChunk "metavar",
1864.70 s
[opt-env-conf-test] - "."
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1864.70 s
[opt-env-conf-test] [ [ functionChunk "switch",
1864.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1864.70 s
[opt-env-conf-test] @@ -175,13 +175,12 @@
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1864.70 s
[opt-env-conf-test] [ [ functionChunk "env",
1864.70 s
[opt-env-conf-test] " or ",
1864.70 s
[opt-env-conf-test] functionChunk "name",
1864.70 s
[opt-env-conf-test] " has no ",
1864.70 s
[opt-env-conf-test] functionChunk "reader",
1864.70 s
[opt-env-conf-test] - "."
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1864.70 s
[opt-env-conf-test] [ [ functionChunk "env",
1864.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
1864.70 s
[opt-env-conf-test] @@ -193,9 +193,7 @@
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoCommands ->
1864.70 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1864.70 s
[opt-env-conf-test] - " was called with an empty list."
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1864.70 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1864.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1864.70 s
[opt-env-conf-test] @@ -184,13 +184,12 @@
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1864.70 s
[opt-env-conf-test] - [ [ functionChunk "env",
1864.70 s
[opt-env-conf-test] " or ",
1864.70 s
[opt-env-conf-test] functionChunk "name",
1864.70 s
[opt-env-conf-test] " has no ",
1864.70 s
[opt-env-conf-test] functionChunk "metavar",
1864.70 s
[opt-env-conf-test] "."
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoCommands ->
1864.70 s
[opt-env-conf-test] [ [ functionChunk "commands",
1864.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1864.70 s
[opt-env-conf-test] @@ -184,13 +184,12 @@
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1864.70 s
[opt-env-conf-test] [ [ functionChunk "env",
1864.70 s
[opt-env-conf-test] " or ",
1864.70 s
[opt-env-conf-test] functionChunk "name",
1864.70 s
[opt-env-conf-test] " has no ",
1864.70 s
[opt-env-conf-test] functionChunk "metavar",
1864.70 s
[opt-env-conf-test] - "."
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoCommands ->
1864.70 s
[opt-env-conf-test] [ [ functionChunk "commands",
1864.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
1864.70 s
[opt-env-conf-test] @@ -193,9 +193,8 @@
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoCommands ->
1864.70 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1864.70 s
[opt-env-conf-test] " was called with an empty list."
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1864.70 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1864.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1864.70 s
[opt-env-conf-test] @@ -184,13 +184,7 @@
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1864.70 s
[opt-env-conf-test] - [ [ functionChunk "env",
1864.70 s
[opt-env-conf-test] - " or ",
1864.70 s
[opt-env-conf-test] - functionChunk "name",
1864.70 s
[opt-env-conf-test] - " has no ",
1864.70 s
[opt-env-conf-test] - functionChunk "metavar",
1864.70 s
[opt-env-conf-test] - "."
1864.70 s
[opt-env-conf-test] ]
1864.70 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorNoCommands ->
1864.71 s
[opt-env-conf-test] [ [ functionChunk "commands",
1864.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1864.71 s
[opt-env-conf-test] @@ -164,15 +164,14 @@
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1864.71 s
[opt-env-conf-test] [ [ functionChunk "long",
1864.71 s
[opt-env-conf-test] " or ",
1864.71 s
[opt-env-conf-test] functionChunk "short",
1864.71 s
[opt-env-conf-test] " has no ",
1864.71 s
[opt-env-conf-test] functionChunk "option",
1864.71 s
[opt-env-conf-test] " or ",
1864.71 s
[opt-env-conf-test] functionChunk "switch",
1864.71 s
[opt-env-conf-test] - "."
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1864.71 s
[opt-env-conf-test] [ [ functionChunk "env",
1864.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1864.71 s
[opt-env-conf-test] @@ -164,15 +164,14 @@
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1864.71 s
[opt-env-conf-test] - [ [ functionChunk "long",
1864.71 s
[opt-env-conf-test] " or ",
1864.71 s
[opt-env-conf-test] functionChunk "short",
1864.71 s
[opt-env-conf-test] " has no ",
1864.71 s
[opt-env-conf-test] functionChunk "option",
1864.71 s
[opt-env-conf-test] " or ",
1864.71 s
[opt-env-conf-test] functionChunk "switch",
1864.71 s
[opt-env-conf-test] "."
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1864.71 s
[opt-env-conf-test] [ [ functionChunk "env",
1864.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1864.71 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1864.71 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1864.71 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1864.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1864.71 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1864.71 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1864.71 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1864.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1864.71 s
[opt-env-conf-test] @@ -155,13 +155,7 @@
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1864.71 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1864.71 s
[opt-env-conf-test] - " has no ",
1864.71 s
[opt-env-conf-test] - functionChunk "long",
1864.71 s
[opt-env-conf-test] - " or ",
1864.71 s
[opt-env-conf-test] - functionChunk "short",
1864.71 s
[opt-env-conf-test] - "."
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1864.71 s
[opt-env-conf-test] [ [ functionChunk "long",
1864.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1864.71 s
[opt-env-conf-test] @@ -198,10 +198,9 @@
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1864.71 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1864.71 s
[opt-env-conf-test] " was called with an unknown command: ",
1864.71 s
[opt-env-conf-test] - commandChunk c
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1864.71 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1864.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1864.71 s
[opt-env-conf-test] @@ -198,10 +198,9 @@
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1864.71 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1864.71 s
[opt-env-conf-test] " was called with an unknown command: ",
1864.71 s
[opt-env-conf-test] commandChunk c
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] ]
1864.71 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1864.71 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1864.71 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:276:12-19
1864.71 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1864.71 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1864.71 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1873.92 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1873.92 s
[opt-env-conf-test] - if null cs
1873.95 s
[opt-env-conf-test] + if n o t ( null cs )
1873.95 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1873.95 s
[opt-env-conf-test] else do
1873.95 s
[opt-env-conf-test] for_ mDefault $ \d ->
1873.95 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1873.95 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1873.95 s
[opt-env-conf-test] ]
1873.95 s
[opt-env-conf-test] ]
1873.95 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1873.95 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1873.95 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1873.95 s
[opt-env-conf-test] ]
1873.95 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1873.95 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1873.95 s
[opt-env-conf-test] @@ -198,10 +198,7 @@
1873.95 s
[opt-env-conf-test] ]
1873.95 s
[opt-env-conf-test] ]
1873.95 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1873.95 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1873.95 s
[opt-env-conf-test] - " was called with an unknown command: ",
1873.95 s
[opt-env-conf-test] - commandChunk c
1873.95 s
[opt-env-conf-test] ]
1873.95 s
[opt-env-conf-test] ]
1873.95 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1873.95 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1873.95 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
1873.95 s
[opt-env-conf-test] @@ -205,7 +205,6 @@
1873.95 s
[opt-env-conf-test] ]
1873.95 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1873.95 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1873.95 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1873.95 s
[opt-env-conf-test] ]
1873.96 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1873.96 s
[opt-env-conf-test] [ [ functionChunk "conf",
1873.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1873.96 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1873.96 s
[opt-env-conf-test] ]
1873.96 s
[opt-env-conf-test] LintErrorDashInLong s ->
1873.96 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1873.96 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1873.96 s
[opt-env-conf-test] [ "Try ",
1873.96 s
[opt-env-conf-test] functionChunk "long",
1873.96 s
[opt-env-conf-test] " ",
1873.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1873.96 s
[opt-env-conf-test] @@ -137,13 +137,7 @@
1873.96 s
[opt-env-conf-test] ]
1873.96 s
[opt-env-conf-test] ]
1873.96 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1873.96 s
[opt-env-conf-test] - [ [ functionChunk "option",
1873.96 s
[opt-env-conf-test] - " has no ",
1873.96 s
[opt-env-conf-test] - functionChunk "long",
1873.96 s
[opt-env-conf-test] - " or ",
1873.96 s
[opt-env-conf-test] - functionChunk "short",
1873.96 s
[opt-env-conf-test] - "."
1873.96 s
[opt-env-conf-test] ]
1873.96 s
[opt-env-conf-test] ]
1873.96 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1873.96 s
[opt-env-conf-test] [ [ functionChunk "option",
1873.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
1873.96 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1873.96 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1873.96 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1873.96 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1873.96 s
[opt-env-conf-test] - if n u l l c s
1873.96 s
[opt-env-conf-test] + if F a l s e
1873.96 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1873.96 s
[opt-env-conf-test] else do
1873.96 s
[opt-env-conf-test] for_ mDefault $ \d ->
1873.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1873.96 s
[opt-env-conf-test] @@ -208,11 +208,10 @@
1873.96 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1873.96 s
[opt-env-conf-test] ]
1873.96 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1873.96 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1873.96 s
[opt-env-conf-test] " or ",
1873.96 s
[opt-env-conf-test] functionChunk "name",
1873.96 s
[opt-env-conf-test] " was called with no way to load configuration."
1873.96 s
[opt-env-conf-test] ],
1873.96 s
[opt-env-conf-test] [ "You can load configuration with ",
1873.96 s
[opt-env-conf-test] functionChunk "withConfig",
1873.97 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1873.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
1873.97 s
[opt-env-conf-test] @@ -204,9 +204,8 @@
1873.97 s
[opt-env-conf-test] ]
1873.97 s
[opt-env-conf-test] ]
1873.97 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1873.97 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1873.97 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1873.97 s
[opt-env-conf-test] ]
1873.97 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1873.97 s
[opt-env-conf-test] [ [ functionChunk "conf",
1873.97 s
[opt-env-conf-test] " or ",
1873.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
1873.97 s
[opt-env-conf-test] @@ -204,9 +204,7 @@
1873.97 s
[opt-env-conf-test] ]
1873.97 s
[opt-env-conf-test] ]
1873.97 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1873.97 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1873.97 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1873.97 s
[opt-env-conf-test] ]
1873.97 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1873.97 s
[opt-env-conf-test] [ [ functionChunk "conf",
1873.97 s
[opt-env-conf-test] " or ",
1873.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1873.97 s
[opt-env-conf-test] @@ -213,12 +213,7 @@
1873.97 s
[opt-env-conf-test] functionChunk "name",
1873.97 s
[opt-env-conf-test] " was called with no way to load configuration."
1873.97 s
[opt-env-conf-test] ],
1873.97 s
[opt-env-conf-test] - [ "You can load configuration with ",
1873.97 s
[opt-env-conf-test] - functionChunk "withConfig",
1873.97 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1873.97 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1873.97 s
[opt-env-conf-test] - "."
1873.97 s
[opt-env-conf-test] ]
1873.97 s
[opt-env-conf-test] ]
1873.97 s
[opt-env-conf-test] LintErrorManyInfinite ->
1873.97 s
[opt-env-conf-test] [ [ functionChunk "many",
1873.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1873.97 s
[opt-env-conf-test] @@ -208,11 +208,10 @@
1873.97 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1873.97 s
[opt-env-conf-test] ]
1873.97 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1873.97 s
[opt-env-conf-test] [ [ functionChunk "conf",
1873.97 s
[opt-env-conf-test] " or ",
1873.97 s
[opt-env-conf-test] functionChunk "name",
1873.97 s
[opt-env-conf-test] - " was called with no way to load configuration."
1873.97 s
[opt-env-conf-test] ],
1873.97 s
[opt-env-conf-test] [ "You can load configuration with ",
1873.97 s
[opt-env-conf-test] functionChunk "withConfig",
1873.97 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1873.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1873.97 s
[opt-env-conf-test] @@ -213,12 +213,11 @@
1873.97 s
[opt-env-conf-test] functionChunk "name",
1873.97 s
[opt-env-conf-test] " was called with no way to load configuration."
1873.97 s
[opt-env-conf-test] ],
1873.98 s
[opt-env-conf-test] [ "You can load configuration with ",
1873.98 s
[opt-env-conf-test] functionChunk "withConfig",
1873.98 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1873.98 s
[opt-env-conf-test] functionChunk "withoutConfig",
1873.98 s
[opt-env-conf-test] - "."
1873.98 s
[opt-env-conf-test] ]
1873.98 s
[opt-env-conf-test] ]
1873.98 s
[opt-env-conf-test] LintErrorManyInfinite ->
1873.98 s
[opt-env-conf-test] [ [ functionChunk "many",
1873.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
1873.98 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1873.98 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1873.98 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1873.98 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1873.98 s
[opt-env-conf-test] - if n u l l cs
1873.98 s
[opt-env-conf-test] + if T r u e
1873.98 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1873.98 s
[opt-env-conf-test] else do
1873.98 s
[opt-env-conf-test] for_ mDefault $ \d ->
1873.98 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1873.98 s
[opt-env-conf-test] @@ -66,168 +66,151 @@
1873.98 s
[opt-env-conf-test] renderLintError LintError {..} =
1873.98 s
[opt-env-conf-test] concat
1873.98 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1873.98 s
[opt-env-conf-test] case lintErrorMessage of
1873.98 s
[opt-env-conf-test] LintErrorUndocumented ->
1873.98 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1873.98 s
[opt-env-conf-test] LintErrorEmptySetting ->
1873.98 s
[opt-env-conf-test] concat
1873.98 s
[opt-env-conf-test] [ [ [ "This ",
1873.98 s
[opt-env-conf-test] functionChunk "setting",
1873.98 s
[opt-env-conf-test] " parses nothing."
1873.98 s
[opt-env-conf-test] ]
1873.98 s
[opt-env-conf-test] ],
1873.98 s
[opt-env-conf-test] [ [ "Add an ",
1873.98 s
[opt-env-conf-test] functionChunk "argument",
1873.98 s
[opt-env-conf-test] ", ",
1873.98 s
[opt-env-conf-test] functionChunk "switch",
1873.98 s
[opt-env-conf-test] ", ",
1873.98 s
[opt-env-conf-test] functionChunk "option",
1873.98 s
[opt-env-conf-test] ", ",
1873.98 s
[opt-env-conf-test] functionChunk "env",
1873.98 s
[opt-env-conf-test] ", ",
1873.98 s
[opt-env-conf-test] functionChunk "conf",
1873.98 s
[opt-env-conf-test] ", or ",
1873.98 s
[opt-env-conf-test] functionChunk "value",
1873.98 s
[opt-env-conf-test] "."
1873.98 s
[opt-env-conf-test] ]
1873.98 s
[opt-env-conf-test] ]
1873.98 s
[opt-env-conf-test] ]
1873.98 s
[opt-env-conf-test] LintErrorDashInShort ->
1873.98 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1873.98 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1873.98 s
[opt-env-conf-test] ]
1873.98 s
[opt-env-conf-test] - LintErrorDashInLong s ->
1873.98 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1873.98 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1873.99 s
[opt-env-conf-test] - [ "Try ",
1873.99 s
[opt-env-conf-test] - functionChunk "long",
1873.99 s
[opt-env-conf-test] - " ",
1873.99 s
[opt-env-conf-test] - chunk $
1873.99 s
[opt-env-conf-test] - T.pack $
1873.99 s
[opt-env-conf-test] - show $
1873.99 s
[opt-env-conf-test] - let go = \case
1873.99 s
[opt-env-conf-test] - [] -> []
1873.99 s
[opt-env-conf-test] - '-' : cs -> go cs
1873.99 s
[opt-env-conf-test] - c : cs -> c : cs
1873.99 s
[opt-env-conf-test] - in go $ NE.toList s,
1873.99 s
[opt-env-conf-test] - " instead."
1873.99 s
[opt-env-conf-test] - ]
1873.99 s
[opt-env-conf-test] - ]
1873.99 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1873.99 s
[opt-env-conf-test] [ [ functionChunk "argument",
1873.99 s
[opt-env-conf-test] " has no ",
1873.99 s
[opt-env-conf-test] functionChunk "reader",
1873.99 s
[opt-env-conf-test] "."
1873.99 s
[opt-env-conf-test] ]
1873.99 s
[opt-env-conf-test] ]
1873.99 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1873.99 s
[opt-env-conf-test] [ [ functionChunk "argument",
1873.99 s
[opt-env-conf-test] " has no ",
1873.99 s
[opt-env-conf-test] functionChunk "metavar",
1873.99 s
[opt-env-conf-test] "."
1873.99 s
[opt-env-conf-test] ]
1873.99 s
[opt-env-conf-test] ]
1873.99 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1873.99 s
[opt-env-conf-test] [ [ functionChunk "option",
1873.99 s
[opt-env-conf-test] " or ",
1873.99 s
[opt-env-conf-test] functionChunk "name",
1873.99 s
[opt-env-conf-test] " has no ",
1873.99 s
[opt-env-conf-test] functionChunk "reader",
1873.99 s
[opt-env-conf-test] "."
1873.99 s
[opt-env-conf-test] ]
1873.99 s
[opt-env-conf-test] ]
1873.99 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1873.99 s
[opt-env-conf-test] [ [ functionChunk "option",
1873.99 s
[opt-env-conf-test] " has no ",
1873.99 s
[opt-env-conf-test] functionChunk "long",
1873.99 s
[opt-env-conf-test] " or ",
1873.99 s
[opt-env-conf-test] functionChunk "short",
1873.99 s
[opt-env-conf-test] "."
1873.99 s
[opt-env-conf-test] ]
1873.99 s
[opt-env-conf-test] ]
1873.99 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1873.99 s
[opt-env-conf-test] [ [ functionChunk "option",
1873.99 s
[opt-env-conf-test] " or ",
1873.99 s
[opt-env-conf-test] functionChunk "name",
1873.99 s
[opt-env-conf-test] " has no ",
1873.99 s
[opt-env-conf-test] functionChunk "metavar",
1873.99 s
[opt-env-conf-test] "."
1873.99 s
[opt-env-conf-test] ]
1874.00 s
[opt-env-conf-test] ]
1874.00 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1874.00 s
[opt-env-conf-test] [ [ functionChunk "switch",
1874.00 s
[opt-env-conf-test] " has no ",
1874.00 s
[opt-env-conf-test] functionChunk "long",
1874.00 s
[opt-env-conf-test] " or ",
1874.00 s
[opt-env-conf-test] functionChunk "short",
1874.00 s
[opt-env-conf-test] "."
1874.00 s
[opt-env-conf-test] ]
1874.00 s
[opt-env-conf-test] ]
1874.00 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1874.00 s
[opt-env-conf-test] [ [ functionChunk "long",
1874.00 s
[opt-env-conf-test] " or ",
1874.00 s
[opt-env-conf-test] functionChunk "short",
1874.00 s
[opt-env-conf-test] " has no ",
1874.00 s
[opt-env-conf-test] functionChunk "option",
1874.00 s
[opt-env-conf-test] " or ",
1874.00 s
[opt-env-conf-test] functionChunk "switch",
1874.00 s
[opt-env-conf-test] "."
1874.00 s
[opt-env-conf-test] ]
1874.00 s
[opt-env-conf-test] ]
1874.00 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1874.00 s
[opt-env-conf-test] [ [ functionChunk "env",
1874.00 s
[opt-env-conf-test] " or ",
1874.00 s
[opt-env-conf-test] functionChunk "name",
1874.00 s
[opt-env-conf-test] " has no ",
1874.00 s
[opt-env-conf-test] functionChunk "reader",
1874.00 s
[opt-env-conf-test] "."
1874.00 s
[opt-env-conf-test] ]
1874.00 s
[opt-env-conf-test] ]
1874.00 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1874.00 s
[opt-env-conf-test] [ [ functionChunk "env",
1874.00 s
[opt-env-conf-test] " or ",
1874.00 s
[opt-env-conf-test] functionChunk "name",
1874.00 s
[opt-env-conf-test] " has no ",
1874.00 s
[opt-env-conf-test] functionChunk "metavar",
1874.00 s
[opt-env-conf-test] "."
1874.00 s
[opt-env-conf-test] ]
1874.71 s
[opt-env-conf-test] ]
1874.71 s
[opt-env-conf-test] LintErrorNoCommands ->
1874.71 s
[opt-env-conf-test] [ [ functionChunk "commands",
1874.71 s
[opt-env-conf-test] " was called with an empty list."
1874.71 s
[opt-env-conf-test] ]
1874.71 s
[opt-env-conf-test] ]
1874.72 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1874.72 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1874.72 s
[opt-env-conf-test] " was called with an unknown command: ",
1874.72 s
[opt-env-conf-test] commandChunk c
1874.72 s
[opt-env-conf-test] ]
1874.72 s
[opt-env-conf-test] ]
1874.72 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1874.72 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1874.72 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1874.72 s
[opt-env-conf-test] ]
1874.72 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1874.72 s
[opt-env-conf-test] [ [ functionChunk "conf",
1874.72 s
[opt-env-conf-test] " or ",
1874.72 s
[opt-env-conf-test] functionChunk "name",
1874.72 s
[opt-env-conf-test] " was called with no way to load configuration."
1874.72 s
[opt-env-conf-test] ],
1874.72 s
[opt-env-conf-test] [ "You can load configuration with ",
1874.72 s
[opt-env-conf-test] functionChunk "withConfig",
1874.72 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1874.72 s
[opt-env-conf-test] functionChunk "withoutConfig",
1874.72 s
[opt-env-conf-test] "."
1874.72 s
[opt-env-conf-test] ]
1874.72 s
[opt-env-conf-test] ]
1874.72 s
[opt-env-conf-test] LintErrorManyInfinite ->
1874.72 s
[opt-env-conf-test] [ [ functionChunk "many",
1874.72 s
[opt-env-conf-test] " or ",
1874.72 s
[opt-env-conf-test] functionChunk "some",
1874.72 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1874.72 s
[opt-env-conf-test] ],
1874.72 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1874.72 s
[opt-env-conf-test] ],
1874.72 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1874.72 s
[opt-env-conf-test] ]
1874.73 s
[opt-env-conf-test]
1874.73 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1874.73 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1874.73 s
[opt-env-conf-test] renderLintError LintError {..} =
1874.73 s
[opt-env-conf-test] concat
1874.73 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1874.73 s
[opt-env-conf-test] case lintErrorMessage of
1874.73 s
[opt-env-conf-test] LintErrorUndocumented ->
1874.73 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1874.73 s
[opt-env-conf-test] LintErrorEmptySetting ->
1874.73 s
[opt-env-conf-test] concat
1874.73 s
[opt-env-conf-test] [ [ [ "This ",
1874.73 s
[opt-env-conf-test] functionChunk "setting",
1874.73 s
[opt-env-conf-test] " parses nothing."
1874.73 s
[opt-env-conf-test] ]
1874.73 s
[opt-env-conf-test] ],
1874.73 s
[opt-env-conf-test] [ [ "Add an ",
1874.73 s
[opt-env-conf-test] functionChunk "argument",
1874.73 s
[opt-env-conf-test] ", ",
1874.73 s
[opt-env-conf-test] functionChunk "switch",
1874.73 s
[opt-env-conf-test] ", ",
1874.73 s
[opt-env-conf-test] functionChunk "option",
1874.73 s
[opt-env-conf-test] ", ",
1874.73 s
[opt-env-conf-test] functionChunk "env",
1874.73 s
[opt-env-conf-test] ", ",
1874.73 s
[opt-env-conf-test] functionChunk "conf",
1874.73 s
[opt-env-conf-test] ", or ",
1874.73 s
[opt-env-conf-test] functionChunk "value",
1874.73 s
[opt-env-conf-test] "."
1874.73 s
[opt-env-conf-test] ]
1874.73 s
[opt-env-conf-test] ]
1874.73 s
[opt-env-conf-test] ]
1874.73 s
[opt-env-conf-test] LintErrorDashInShort ->
1874.73 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1874.73 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1874.73 s
[opt-env-conf-test] ]
1874.73 s
[opt-env-conf-test] LintErrorDashInLong s ->
1874.73 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1874.73 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1874.73 s
[opt-env-conf-test] [ "Try ",
1874.73 s
[opt-env-conf-test] functionChunk "long",
1874.73 s
[opt-env-conf-test] " ",
1874.73 s
[opt-env-conf-test] chunk $
1874.73 s
[opt-env-conf-test] T.pack $
1874.73 s
[opt-env-conf-test] show $
1874.73 s
[opt-env-conf-test] let go = \case
1874.74 s
[opt-env-conf-test] [] -> []
1874.74 s
[opt-env-conf-test] '-' : cs -> go cs
1874.74 s
[opt-env-conf-test] c : cs -> c : cs
1874.74 s
[opt-env-conf-test] in go $ NE.toList s,
1874.74 s
[opt-env-conf-test] " instead."
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1874.74 s
[opt-env-conf-test] [ [ functionChunk "argument",
1874.74 s
[opt-env-conf-test] " has no ",
1874.74 s
[opt-env-conf-test] functionChunk "reader",
1874.74 s
[opt-env-conf-test] "."
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1874.74 s
[opt-env-conf-test] [ [ functionChunk "argument",
1874.74 s
[opt-env-conf-test] " has no ",
1874.74 s
[opt-env-conf-test] functionChunk "metavar",
1874.74 s
[opt-env-conf-test] "."
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] - LintErrorNoReaderForOption ->
1874.74 s
[opt-env-conf-test] - [ [ functionChunk "option",
1874.74 s
[opt-env-conf-test] - " or ",
1874.74 s
[opt-env-conf-test] - functionChunk "name",
1874.74 s
[opt-env-conf-test] - " has no ",
1874.74 s
[opt-env-conf-test] - functionChunk "reader",
1874.74 s
[opt-env-conf-test] - "."
1874.74 s
[opt-env-conf-test] - ]
1874.74 s
[opt-env-conf-test] - ]
1874.74 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1874.74 s
[opt-env-conf-test] [ [ functionChunk "option",
1874.74 s
[opt-env-conf-test] " has no ",
1874.74 s
[opt-env-conf-test] functionChunk "long",
1874.74 s
[opt-env-conf-test] " or ",
1874.74 s
[opt-env-conf-test] functionChunk "short",
1874.74 s
[opt-env-conf-test] "."
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1874.74 s
[opt-env-conf-test] [ [ functionChunk "option",
1874.74 s
[opt-env-conf-test] " or ",
1874.74 s
[opt-env-conf-test] functionChunk "name",
1874.74 s
[opt-env-conf-test] " has no ",
1874.74 s
[opt-env-conf-test] functionChunk "metavar",
1874.74 s
[opt-env-conf-test] "."
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1874.74 s
[opt-env-conf-test] [ [ functionChunk "switch",
1874.74 s
[opt-env-conf-test] " has no ",
1874.74 s
[opt-env-conf-test] functionChunk "long",
1874.74 s
[opt-env-conf-test] " or ",
1874.74 s
[opt-env-conf-test] functionChunk "short",
1874.74 s
[opt-env-conf-test] "."
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1874.74 s
[opt-env-conf-test] [ [ functionChunk "long",
1874.74 s
[opt-env-conf-test] " or ",
1874.74 s
[opt-env-conf-test] functionChunk "short",
1874.74 s
[opt-env-conf-test] " has no ",
1874.74 s
[opt-env-conf-test] functionChunk "option",
1874.74 s
[opt-env-conf-test] " or ",
1874.74 s
[opt-env-conf-test] functionChunk "switch",
1874.74 s
[opt-env-conf-test] "."
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1874.74 s
[opt-env-conf-test] [ [ functionChunk "env",
1874.74 s
[opt-env-conf-test] " or ",
1874.74 s
[opt-env-conf-test] functionChunk "name",
1874.74 s
[opt-env-conf-test] " has no ",
1874.74 s
[opt-env-conf-test] functionChunk "reader",
1874.74 s
[opt-env-conf-test] "."
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1874.74 s
[opt-env-conf-test] [ [ functionChunk "env",
1874.74 s
[opt-env-conf-test] " or ",
1874.74 s
[opt-env-conf-test] functionChunk "name",
1874.74 s
[opt-env-conf-test] " has no ",
1874.74 s
[opt-env-conf-test] functionChunk "metavar",
1874.74 s
[opt-env-conf-test] "."
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] ]
1874.74 s
[opt-env-conf-test] LintErrorNoCommands ->
1874.75 s
[opt-env-conf-test] [ [ functionChunk "commands",
1874.76 s
[opt-env-conf-test] " was called with an empty list."
1874.76 s
[opt-env-conf-test] ]
1874.76 s
[opt-env-conf-test] ]
1874.76 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1874.76 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1874.76 s
[opt-env-conf-test] " was called with an unknown command: ",
1874.76 s
[opt-env-conf-test] commandChunk c
1874.76 s
[opt-env-conf-test] ]
1874.76 s
[opt-env-conf-test] ]
1874.76 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1874.76 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1874.76 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1874.76 s
[opt-env-conf-test] ]
1874.76 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1874.76 s
[opt-env-conf-test] [ [ functionChunk "conf",
1874.76 s
[opt-env-conf-test] " or ",
1874.76 s
[opt-env-conf-test] functionChunk "name",
1874.76 s
[opt-env-conf-test] " was called with no way to load configuration."
1874.76 s
[opt-env-conf-test] ],
1874.76 s
[opt-env-conf-test] [ "You can load configuration with ",
1874.76 s
[opt-env-conf-test] functionChunk "withConfig",
1874.76 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1874.76 s
[opt-env-conf-test] functionChunk "withoutConfig",
1874.76 s
[opt-env-conf-test] "."
1874.76 s
[opt-env-conf-test] ]
1874.76 s
[opt-env-conf-test] ]
1874.76 s
[opt-env-conf-test] LintErrorManyInfinite ->
1874.76 s
[opt-env-conf-test] [ [ functionChunk "many",
1874.76 s
[opt-env-conf-test] " or ",
1874.76 s
[opt-env-conf-test] functionChunk "some",
1874.76 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1874.76 s
[opt-env-conf-test] ],
1874.76 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1874.76 s
[opt-env-conf-test] ],
1874.76 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1874.76 s
[opt-env-conf-test] ]
1874.76 s
[opt-env-conf-test]
1874.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1874.76 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1874.76 s
[opt-env-conf-test] renderLintError LintError {..} =
1874.76 s
[opt-env-conf-test] concat
1874.76 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1874.76 s
[opt-env-conf-test] case lintErrorMessage of
1874.76 s
[opt-env-conf-test] LintErrorUndocumented ->
1874.76 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1874.76 s
[opt-env-conf-test] LintErrorEmptySetting ->
1874.76 s
[opt-env-conf-test] concat
1874.76 s
[opt-env-conf-test] [ [ [ "This ",
1874.76 s
[opt-env-conf-test] functionChunk "setting",
1874.76 s
[opt-env-conf-test] " parses nothing."
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] ],
1874.77 s
[opt-env-conf-test] [ [ "Add an ",
1874.77 s
[opt-env-conf-test] functionChunk "argument",
1874.77 s
[opt-env-conf-test] ", ",
1874.77 s
[opt-env-conf-test] functionChunk "switch",
1874.77 s
[opt-env-conf-test] ", ",
1874.77 s
[opt-env-conf-test] functionChunk "option",
1874.77 s
[opt-env-conf-test] ", ",
1874.77 s
[opt-env-conf-test] functionChunk "env",
1874.77 s
[opt-env-conf-test] ", ",
1874.77 s
[opt-env-conf-test] functionChunk "conf",
1874.77 s
[opt-env-conf-test] ", or ",
1874.77 s
[opt-env-conf-test] functionChunk "value",
1874.77 s
[opt-env-conf-test] "."
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] LintErrorDashInShort ->
1874.77 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1874.77 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] LintErrorDashInLong s ->
1874.77 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1874.77 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1874.77 s
[opt-env-conf-test] [ "Try ",
1874.77 s
[opt-env-conf-test] functionChunk "long",
1874.77 s
[opt-env-conf-test] " ",
1874.77 s
[opt-env-conf-test] chunk $
1874.77 s
[opt-env-conf-test] T.pack $
1874.77 s
[opt-env-conf-test] show $
1874.77 s
[opt-env-conf-test] let go = \case
1874.77 s
[opt-env-conf-test] [] -> []
1874.77 s
[opt-env-conf-test] '-' : cs -> go cs
1874.77 s
[opt-env-conf-test] c : cs -> c : cs
1874.77 s
[opt-env-conf-test] in go $ NE.toList s,
1874.77 s
[opt-env-conf-test] " instead."
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1874.77 s
[opt-env-conf-test] [ [ functionChunk "argument",
1874.77 s
[opt-env-conf-test] " has no ",
1874.77 s
[opt-env-conf-test] functionChunk "reader",
1874.77 s
[opt-env-conf-test] "."
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1874.77 s
[opt-env-conf-test] [ [ functionChunk "argument",
1874.77 s
[opt-env-conf-test] " has no ",
1874.77 s
[opt-env-conf-test] functionChunk "metavar",
1874.77 s
[opt-env-conf-test] "."
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1874.77 s
[opt-env-conf-test] [ [ functionChunk "option",
1874.77 s
[opt-env-conf-test] " or ",
1874.77 s
[opt-env-conf-test] functionChunk "name",
1874.77 s
[opt-env-conf-test] " has no ",
1874.77 s
[opt-env-conf-test] functionChunk "reader",
1874.77 s
[opt-env-conf-test] "."
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] ]
1874.77 s
[opt-env-conf-test] - LintErrorNoDashedForOption ->
1874.78 s
[opt-env-conf-test] - [ [ functionChunk "option",
1874.78 s
[opt-env-conf-test] - " has no ",
1874.78 s
[opt-env-conf-test] - functionChunk "long",
1874.78 s
[opt-env-conf-test] - " or ",
1874.78 s
[opt-env-conf-test] - functionChunk "short",
1874.78 s
[opt-env-conf-test] - "."
1874.78 s
[opt-env-conf-test] - ]
1874.78 s
[opt-env-conf-test] - ]
1874.78 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1874.78 s
[opt-env-conf-test] [ [ functionChunk "option",
1874.78 s
[opt-env-conf-test] " or ",
1874.78 s
[opt-env-conf-test] functionChunk "name",
1874.78 s
[opt-env-conf-test] " has no ",
1874.78 s
[opt-env-conf-test] functionChunk "metavar",
1874.78 s
[opt-env-conf-test] "."
1874.78 s
[opt-env-conf-test] ]
1874.78 s
[opt-env-conf-test] ]
1874.78 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1874.78 s
[opt-env-conf-test] [ [ functionChunk "switch",
1874.78 s
[opt-env-conf-test] " has no ",
1874.78 s
[opt-env-conf-test] functionChunk "long",
1874.78 s
[opt-env-conf-test] " or ",
1874.78 s
[opt-env-conf-test] functionChunk "short",
1874.78 s
[opt-env-conf-test] "."
1874.78 s
[opt-env-conf-test] ]
1874.78 s
[opt-env-conf-test] ]
1874.78 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1874.78 s
[opt-env-conf-test] [ [ functionChunk "long",
1874.78 s
[opt-env-conf-test] " or ",
1874.78 s
[opt-env-conf-test] functionChunk "short",
1874.78 s
[opt-env-conf-test] " has no ",
1874.78 s
[opt-env-conf-test] functionChunk "option",
1874.78 s
[opt-env-conf-test] " or ",
1874.78 s
[opt-env-conf-test] functionChunk "switch",
1874.78 s
[opt-env-conf-test] "."
1874.78 s
[opt-env-conf-test] ]
1874.78 s
[opt-env-conf-test] ]
1874.78 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1874.78 s
[opt-env-conf-test] [ [ functionChunk "env",
1874.78 s
[opt-env-conf-test] " or ",
1874.78 s
[opt-env-conf-test] functionChunk "name",
1874.78 s
[opt-env-conf-test] " has no ",
1874.78 s
[opt-env-conf-test] functionChunk "reader",
1874.78 s
[opt-env-conf-test] "."
1874.78 s
[opt-env-conf-test] ]
1874.78 s
[opt-env-conf-test] ]
1874.78 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1874.78 s
[opt-env-conf-test] [ [ functionChunk "env",
1874.78 s
[opt-env-conf-test] " or ",
1874.78 s
[opt-env-conf-test] functionChunk "name",
1874.78 s
[opt-env-conf-test] " has no ",
1874.78 s
[opt-env-conf-test] functionChunk "metavar",
1874.78 s
[opt-env-conf-test] "."
1874.78 s
[opt-env-conf-test] ]
1874.78 s
[opt-env-conf-test] ]
1874.78 s
[opt-env-conf-test] LintErrorNoCommands ->
1875.44 s
[opt-env-conf-test] [ [ functionChunk "commands",
1875.44 s
[opt-env-conf-test] " was called with an empty list."
1875.44 s
[opt-env-conf-test] ]
1875.44 s
[opt-env-conf-test] ]
1875.44 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1875.44 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1875.44 s
[opt-env-conf-test] " was called with an unknown command: ",
1875.44 s
[opt-env-conf-test] commandChunk c
1875.44 s
[opt-env-conf-test] ]
1875.45 s
[opt-env-conf-test] ]
1875.45 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1875.45 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1875.45 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1875.45 s
[opt-env-conf-test] ]
1875.45 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1875.45 s
[opt-env-conf-test] [ [ functionChunk "conf",
1875.45 s
[opt-env-conf-test] " or ",
1875.45 s
[opt-env-conf-test] functionChunk "name",
1875.45 s
[opt-env-conf-test] " was called with no way to load configuration."
1875.45 s
[opt-env-conf-test] ],
1875.45 s
[opt-env-conf-test] [ "You can load configuration with ",
1875.45 s
[opt-env-conf-test] functionChunk "withConfig",
1875.45 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1875.45 s
[opt-env-conf-test] functionChunk "withoutConfig",
1875.45 s
[opt-env-conf-test] "."
1875.45 s
[opt-env-conf-test] ]
1875.45 s
[opt-env-conf-test] ]
1875.45 s
[opt-env-conf-test] LintErrorManyInfinite ->
1875.45 s
[opt-env-conf-test] [ [ functionChunk "many",
1875.45 s
[opt-env-conf-test] " or ",
1875.45 s
[opt-env-conf-test] functionChunk "some",
1875.45 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1875.45 s
[opt-env-conf-test] ],
1875.45 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1875.46 s
[opt-env-conf-test] ],
1875.46 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1875.46 s
[opt-env-conf-test] ]
1875.46 s
[opt-env-conf-test]
1875.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
1875.46 s
[opt-env-conf-test] @@ -221,13 +221,8 @@
1875.46 s
[opt-env-conf-test] ]
1875.46 s
[opt-env-conf-test] ]
1875.46 s
[opt-env-conf-test] LintErrorManyInfinite ->
1875.46 s
[opt-env-conf-test] - [ [ functionChunk "many",
1875.46 s
[opt-env-conf-test] - " or ",
1875.46 s
[opt-env-conf-test] - functionChunk "some",
1875.46 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1875.46 s
[opt-env-conf-test] - ],
1875.46 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1875.46 s
[opt-env-conf-test] ],
1875.46 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1875.46 s
[opt-env-conf-test] ]
1875.46 s
[opt-env-conf-test]
1875.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
1875.46 s
[opt-env-conf-test] @@ -221,13 +221,7 @@
1875.46 s
[opt-env-conf-test] ]
1875.46 s
[opt-env-conf-test] ]
1875.46 s
[opt-env-conf-test] LintErrorManyInfinite ->
1875.46 s
[opt-env-conf-test] - [ [ functionChunk "many",
1875.46 s
[opt-env-conf-test] - " or ",
1875.46 s
[opt-env-conf-test] - functionChunk "some",
1875.46 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1875.46 s
[opt-env-conf-test] - ],
1875.46 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1875.46 s
[opt-env-conf-test] ],
1875.46 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1875.46 s
[opt-env-conf-test] ]
1875.46 s
[opt-env-conf-test]
1875.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1875.46 s
[opt-env-conf-test] @@ -66,168 +66,161 @@
1875.46 s
[opt-env-conf-test] renderLintError LintError {..} =
1875.46 s
[opt-env-conf-test] concat
1875.47 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1875.47 s
[opt-env-conf-test] case lintErrorMessage of
1875.47 s
[opt-env-conf-test] LintErrorUndocumented ->
1875.47 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1875.47 s
[opt-env-conf-test] LintErrorEmptySetting ->
1875.47 s
[opt-env-conf-test] concat
1875.47 s
[opt-env-conf-test] [ [ [ "This ",
1875.47 s
[opt-env-conf-test] functionChunk "setting",
1875.47 s
[opt-env-conf-test] " parses nothing."
1875.47 s
[opt-env-conf-test] ]
1875.47 s
[opt-env-conf-test] ],
1875.47 s
[opt-env-conf-test] [ [ "Add an ",
1875.47 s
[opt-env-conf-test] functionChunk "argument",
1875.47 s
[opt-env-conf-test] ", ",
1875.47 s
[opt-env-conf-test] functionChunk "switch",
1875.47 s
[opt-env-conf-test] ", ",
1875.47 s
[opt-env-conf-test] functionChunk "option",
1875.47 s
[opt-env-conf-test] ", ",
1875.47 s
[opt-env-conf-test] functionChunk "env",
1875.47 s
[opt-env-conf-test] ", ",
1875.47 s
[opt-env-conf-test] functionChunk "conf",
1875.47 s
[opt-env-conf-test] ", or ",
1875.47 s
[opt-env-conf-test] functionChunk "value",
1875.47 s
[opt-env-conf-test] "."
1875.47 s
[opt-env-conf-test] ]
1875.47 s
[opt-env-conf-test] ]
1875.47 s
[opt-env-conf-test] ]
1875.47 s
[opt-env-conf-test] LintErrorDashInShort ->
1875.47 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1875.47 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1875.47 s
[opt-env-conf-test] ]
1875.47 s
[opt-env-conf-test] LintErrorDashInLong s ->
1875.47 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1875.47 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1875.47 s
[opt-env-conf-test] [ "Try ",
1875.47 s
[opt-env-conf-test] functionChunk "long",
1875.47 s
[opt-env-conf-test] " ",
1875.47 s
[opt-env-conf-test] chunk $
1875.47 s
[opt-env-conf-test] T.pack $
1875.47 s
[opt-env-conf-test] show $
1875.47 s
[opt-env-conf-test] let go = \case
1875.47 s
[opt-env-conf-test] [] -> []
1875.47 s
[opt-env-conf-test] '-' : cs -> go cs
1875.47 s
[opt-env-conf-test] c : cs -> c : cs
1875.47 s
[opt-env-conf-test] in go $ NE.toList s,
1875.47 s
[opt-env-conf-test] " instead."
1875.47 s
[opt-env-conf-test] ]
1875.47 s
[opt-env-conf-test] ]
1875.47 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1875.47 s
[opt-env-conf-test] [ [ functionChunk "argument",
1875.47 s
[opt-env-conf-test] " has no ",
1875.47 s
[opt-env-conf-test] functionChunk "reader",
1875.47 s
[opt-env-conf-test] "."
1875.47 s
[opt-env-conf-test] ]
1875.47 s
[opt-env-conf-test] ]
1875.47 s
[opt-env-conf-test] - LintErrorNoMetavarForArgument ->
1875.47 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1875.47 s
[opt-env-conf-test] - " has no ",
1875.47 s
[opt-env-conf-test] - functionChunk "metavar",
1875.47 s
[opt-env-conf-test] - "."
1875.47 s
[opt-env-conf-test] - ]
1875.47 s
[opt-env-conf-test] - ]
1875.48 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1875.48 s
[opt-env-conf-test] [ [ functionChunk "option",
1875.48 s
[opt-env-conf-test] " or ",
1875.48 s
[opt-env-conf-test] functionChunk "name",
1875.48 s
[opt-env-conf-test] " has no ",
1875.48 s
[opt-env-conf-test] functionChunk "reader",
1875.48 s
[opt-env-conf-test] "."
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1875.48 s
[opt-env-conf-test] [ [ functionChunk "option",
1875.48 s
[opt-env-conf-test] " has no ",
1875.48 s
[opt-env-conf-test] functionChunk "long",
1875.48 s
[opt-env-conf-test] " or ",
1875.48 s
[opt-env-conf-test] functionChunk "short",
1875.48 s
[opt-env-conf-test] "."
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1875.48 s
[opt-env-conf-test] [ [ functionChunk "option",
1875.48 s
[opt-env-conf-test] " or ",
1875.48 s
[opt-env-conf-test] functionChunk "name",
1875.48 s
[opt-env-conf-test] " has no ",
1875.48 s
[opt-env-conf-test] functionChunk "metavar",
1875.48 s
[opt-env-conf-test] "."
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1875.48 s
[opt-env-conf-test] [ [ functionChunk "switch",
1875.48 s
[opt-env-conf-test] " has no ",
1875.48 s
[opt-env-conf-test] functionChunk "long",
1875.48 s
[opt-env-conf-test] " or ",
1875.48 s
[opt-env-conf-test] functionChunk "short",
1875.48 s
[opt-env-conf-test] "."
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1875.48 s
[opt-env-conf-test] [ [ functionChunk "long",
1875.48 s
[opt-env-conf-test] " or ",
1875.48 s
[opt-env-conf-test] functionChunk "short",
1875.48 s
[opt-env-conf-test] " has no ",
1875.48 s
[opt-env-conf-test] functionChunk "option",
1875.48 s
[opt-env-conf-test] " or ",
1875.48 s
[opt-env-conf-test] functionChunk "switch",
1875.48 s
[opt-env-conf-test] "."
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1875.48 s
[opt-env-conf-test] [ [ functionChunk "env",
1875.48 s
[opt-env-conf-test] " or ",
1875.48 s
[opt-env-conf-test] functionChunk "name",
1875.48 s
[opt-env-conf-test] " has no ",
1875.48 s
[opt-env-conf-test] functionChunk "reader",
1875.48 s
[opt-env-conf-test] "."
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1875.48 s
[opt-env-conf-test] [ [ functionChunk "env",
1875.48 s
[opt-env-conf-test] " or ",
1875.48 s
[opt-env-conf-test] functionChunk "name",
1875.48 s
[opt-env-conf-test] " has no ",
1875.48 s
[opt-env-conf-test] functionChunk "metavar",
1875.48 s
[opt-env-conf-test] "."
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] ]
1875.48 s
[opt-env-conf-test] LintErrorNoCommands ->
1879.44 s
[opt-env-conf-test] [ [ functionChunk "commands",
1879.55 s
[opt-env-conf-test] " was called with an empty list."
1879.55 s
[opt-env-conf-test] ]
1879.55 s
[opt-env-conf-test] ]
1879.55 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1879.55 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1879.55 s
[opt-env-conf-test] " was called with an unknown command: ",
1879.55 s
[opt-env-conf-test] commandChunk c
1879.55 s
[opt-env-conf-test] ]
1879.55 s
[opt-env-conf-test] ]
1879.55 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1879.55 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1879.56 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1879.56 s
[opt-env-conf-test] ]
1879.56 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1879.56 s
[opt-env-conf-test] [ [ functionChunk "conf",
1879.56 s
[opt-env-conf-test] " or ",
1879.56 s
[opt-env-conf-test] functionChunk "name",
1879.56 s
[opt-env-conf-test] " was called with no way to load configuration."
1879.56 s
[opt-env-conf-test] ],
1879.56 s
[opt-env-conf-test] [ "You can load configuration with ",
1879.56 s
[opt-env-conf-test] functionChunk "withConfig",
1879.56 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1879.56 s
[opt-env-conf-test] functionChunk "withoutConfig",
1879.56 s
[opt-env-conf-test] "."
1879.56 s
[opt-env-conf-test] ]
1879.56 s
[opt-env-conf-test] ]
1879.56 s
[opt-env-conf-test] LintErrorManyInfinite ->
1879.56 s
[opt-env-conf-test] [ [ functionChunk "many",
1879.56 s
[opt-env-conf-test] " or ",
1879.56 s
[opt-env-conf-test] functionChunk "some",
1879.56 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1879.56 s
[opt-env-conf-test] ],
1879.56 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1879.56 s
[opt-env-conf-test] ],
1879.56 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1879.56 s
[opt-env-conf-test] ]
1879.56 s
[opt-env-conf-test]
1879.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1879.56 s
[opt-env-conf-test] @@ -221,11 +221,7 @@
1879.56 s
[opt-env-conf-test] ]
1879.56 s
[opt-env-conf-test] ]
1879.56 s
[opt-env-conf-test] LintErrorManyInfinite ->
1879.56 s
[opt-env-conf-test] - [ [ functionChunk "many",
1879.56 s
[opt-env-conf-test] - " or ",
1879.56 s
[opt-env-conf-test] - functionChunk "some",
1879.56 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1879.56 s
[opt-env-conf-test] ],
1879.56 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1879.56 s
[opt-env-conf-test] ],
1879.56 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1879.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1879.56 s
[opt-env-conf-test] @@ -221,11 +221,10 @@
1879.56 s
[opt-env-conf-test] ]
1879.57 s
[opt-env-conf-test] ]
1879.57 s
[opt-env-conf-test] LintErrorManyInfinite ->
1879.57 s
[opt-env-conf-test] - [ [ functionChunk "many",
1879.57 s
[opt-env-conf-test] " or ",
1879.57 s
[opt-env-conf-test] functionChunk "some",
1879.57 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1879.57 s
[opt-env-conf-test] ],
1879.57 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1879.57 s
[opt-env-conf-test] ],
1879.57 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1879.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
1879.57 s
[opt-env-conf-test] @@ -208,18 +208,13 @@
1879.57 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1879.57 s
[opt-env-conf-test] ]
1879.57 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1879.57 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1879.57 s
[opt-env-conf-test] - " or ",
1879.57 s
[opt-env-conf-test] - functionChunk "name",
1879.57 s
[opt-env-conf-test] - " was called with no way to load configuration."
1879.57 s
[opt-env-conf-test] - ],
1879.57 s
[opt-env-conf-test] [ "You can load configuration with ",
1879.57 s
[opt-env-conf-test] functionChunk "withConfig",
1879.57 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1879.57 s
[opt-env-conf-test] functionChunk "withoutConfig",
1879.57 s
[opt-env-conf-test] "."
1879.57 s
[opt-env-conf-test] ]
1879.57 s
[opt-env-conf-test] ]
1879.57 s
[opt-env-conf-test] LintErrorManyInfinite ->
1879.57 s
[opt-env-conf-test] [ [ functionChunk "many",
1879.57 s
[opt-env-conf-test] " or ",
1879.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1879.57 s
[opt-env-conf-test] @@ -213,12 +213,11 @@
1879.57 s
[opt-env-conf-test] functionChunk "name",
1879.57 s
[opt-env-conf-test] " was called with no way to load configuration."
1879.57 s
[opt-env-conf-test] ],
1879.57 s
[opt-env-conf-test] - [ "You can load configuration with ",
1879.57 s
[opt-env-conf-test] functionChunk "withConfig",
1879.57 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1879.57 s
[opt-env-conf-test] functionChunk "withoutConfig",
1879.57 s
[opt-env-conf-test] "."
1879.57 s
[opt-env-conf-test] ]
1879.57 s
[opt-env-conf-test] ]
1879.57 s
[opt-env-conf-test] LintErrorManyInfinite ->
1879.57 s
[opt-env-conf-test] [ [ functionChunk "many",
1879.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1879.58 s
[opt-env-conf-test] @@ -221,11 +221,10 @@
1879.58 s
[opt-env-conf-test] ]
1879.58 s
[opt-env-conf-test] ]
1879.58 s
[opt-env-conf-test] LintErrorManyInfinite ->
1879.58 s
[opt-env-conf-test] [ [ functionChunk "many",
1879.58 s
[opt-env-conf-test] " or ",
1879.58 s
[opt-env-conf-test] functionChunk "some",
1879.58 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1879.58 s
[opt-env-conf-test] ],
1879.58 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1879.58 s
[opt-env-conf-test] ],
1879.58 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1879.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1879.58 s
[opt-env-conf-test] @@ -208,11 +208,7 @@
1879.58 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1879.58 s
[opt-env-conf-test] ]
1879.58 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1879.58 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1879.58 s
[opt-env-conf-test] - " or ",
1879.58 s
[opt-env-conf-test] - functionChunk "name",
1879.58 s
[opt-env-conf-test] - " was called with no way to load configuration."
1879.58 s
[opt-env-conf-test] ],
1879.58 s
[opt-env-conf-test] [ "You can load configuration with ",
1879.58 s
[opt-env-conf-test] functionChunk "withConfig",
1879.58 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1879.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
1879.58 s
[opt-env-conf-test] @@ -205,7 +205,6 @@
1879.58 s
[opt-env-conf-test] ]
1879.58 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1879.58 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1879.58 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1879.58 s
[opt-env-conf-test] ]
1879.58 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1879.58 s
[opt-env-conf-test] [ [ functionChunk "conf",
1879.58 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1879.58 s
[opt-env-conf-test] @@ -66,168 +66,155 @@
1879.58 s
[opt-env-conf-test] renderLintError LintError {..} =
1879.58 s
[opt-env-conf-test] concat
1879.58 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1879.58 s
[opt-env-conf-test] case lintErrorMessage of
1879.58 s
[opt-env-conf-test] LintErrorUndocumented ->
1879.58 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1879.58 s
[opt-env-conf-test] LintErrorEmptySetting ->
1879.58 s
[opt-env-conf-test] concat
1879.58 s
[opt-env-conf-test] [ [ [ "This ",
1879.58 s
[opt-env-conf-test] functionChunk "setting",
1879.58 s
[opt-env-conf-test] " parses nothing."
1879.59 s
[opt-env-conf-test] ]
1879.59 s
[opt-env-conf-test] ],
1879.59 s
[opt-env-conf-test] [ [ "Add an ",
1879.59 s
[opt-env-conf-test] functionChunk "argument",
1879.59 s
[opt-env-conf-test] ", ",
1879.59 s
[opt-env-conf-test] functionChunk "switch",
1879.59 s
[opt-env-conf-test] ", ",
1879.59 s
[opt-env-conf-test] functionChunk "option",
1879.59 s
[opt-env-conf-test] ", ",
1879.59 s
[opt-env-conf-test] functionChunk "env",
1879.59 s
[opt-env-conf-test] ", ",
1879.59 s
[opt-env-conf-test] functionChunk "conf",
1879.59 s
[opt-env-conf-test] ", or ",
1879.59 s
[opt-env-conf-test] functionChunk "value",
1879.59 s
[opt-env-conf-test] "."
1879.59 s
[opt-env-conf-test] ]
1879.59 s
[opt-env-conf-test] ]
1879.59 s
[opt-env-conf-test] ]
1879.59 s
[opt-env-conf-test] LintErrorDashInShort ->
1879.59 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1879.59 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1879.59 s
[opt-env-conf-test] ]
1879.59 s
[opt-env-conf-test] LintErrorDashInLong s ->
1879.59 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1879.59 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1879.59 s
[opt-env-conf-test] [ "Try ",
1879.59 s
[opt-env-conf-test] functionChunk "long",
1879.59 s
[opt-env-conf-test] " ",
1879.59 s
[opt-env-conf-test] chunk $
1879.59 s
[opt-env-conf-test] T.pack $
1879.59 s
[opt-env-conf-test] show $
1879.59 s
[opt-env-conf-test] let go = \case
1879.59 s
[opt-env-conf-test] [] -> []
1879.59 s
[opt-env-conf-test] '-' : cs -> go cs
1879.59 s
[opt-env-conf-test] c : cs -> c : cs
1879.59 s
[opt-env-conf-test] in go $ NE.toList s,
1879.59 s
[opt-env-conf-test] " instead."
1879.59 s
[opt-env-conf-test] ]
1879.59 s
[opt-env-conf-test] ]
1879.59 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1879.59 s
[opt-env-conf-test] [ [ functionChunk "argument",
1879.59 s
[opt-env-conf-test] " has no ",
1879.59 s
[opt-env-conf-test] functionChunk "reader",
1879.59 s
[opt-env-conf-test] "."
1879.59 s
[opt-env-conf-test] ]
1879.59 s
[opt-env-conf-test] ]
1879.59 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1879.59 s
[opt-env-conf-test] [ [ functionChunk "argument",
1879.59 s
[opt-env-conf-test] " has no ",
1879.59 s
[opt-env-conf-test] functionChunk "metavar",
1879.59 s
[opt-env-conf-test] "."
1879.59 s
[opt-env-conf-test] ]
1879.59 s
[opt-env-conf-test] ]
1879.59 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1879.59 s
[opt-env-conf-test] [ [ functionChunk "option",
1879.59 s
[opt-env-conf-test] " or ",
1879.59 s
[opt-env-conf-test] functionChunk "name",
1879.60 s
[opt-env-conf-test] " has no ",
1879.60 s
[opt-env-conf-test] functionChunk "reader",
1879.60 s
[opt-env-conf-test] "."
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1879.60 s
[opt-env-conf-test] [ [ functionChunk "option",
1879.60 s
[opt-env-conf-test] " has no ",
1879.60 s
[opt-env-conf-test] functionChunk "long",
1879.60 s
[opt-env-conf-test] " or ",
1879.60 s
[opt-env-conf-test] functionChunk "short",
1879.60 s
[opt-env-conf-test] "."
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1879.60 s
[opt-env-conf-test] [ [ functionChunk "option",
1879.60 s
[opt-env-conf-test] " or ",
1879.60 s
[opt-env-conf-test] functionChunk "name",
1879.60 s
[opt-env-conf-test] " has no ",
1879.60 s
[opt-env-conf-test] functionChunk "metavar",
1879.60 s
[opt-env-conf-test] "."
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1879.60 s
[opt-env-conf-test] [ [ functionChunk "switch",
1879.60 s
[opt-env-conf-test] " has no ",
1879.60 s
[opt-env-conf-test] functionChunk "long",
1879.60 s
[opt-env-conf-test] " or ",
1879.60 s
[opt-env-conf-test] functionChunk "short",
1879.60 s
[opt-env-conf-test] "."
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1879.60 s
[opt-env-conf-test] [ [ functionChunk "long",
1879.60 s
[opt-env-conf-test] " or ",
1879.60 s
[opt-env-conf-test] functionChunk "short",
1879.60 s
[opt-env-conf-test] " has no ",
1879.60 s
[opt-env-conf-test] functionChunk "option",
1879.60 s
[opt-env-conf-test] " or ",
1879.60 s
[opt-env-conf-test] functionChunk "switch",
1879.60 s
[opt-env-conf-test] "."
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1879.60 s
[opt-env-conf-test] [ [ functionChunk "env",
1879.60 s
[opt-env-conf-test] " or ",
1879.60 s
[opt-env-conf-test] functionChunk "name",
1879.60 s
[opt-env-conf-test] " has no ",
1879.60 s
[opt-env-conf-test] functionChunk "reader",
1879.60 s
[opt-env-conf-test] "."
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1879.60 s
[opt-env-conf-test] [ [ functionChunk "env",
1879.60 s
[opt-env-conf-test] " or ",
1879.60 s
[opt-env-conf-test] functionChunk "name",
1879.60 s
[opt-env-conf-test] " has no ",
1879.60 s
[opt-env-conf-test] functionChunk "metavar",
1879.60 s
[opt-env-conf-test] "."
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] ]
1879.60 s
[opt-env-conf-test] LintErrorNoCommands ->
1879.60 s
[opt-env-conf-test] [ [ functionChunk "commands",
1879.61 s
[opt-env-conf-test] " was called with an empty list."
1880.04 s
[opt-env-conf-test] ]
1880.04 s
[opt-env-conf-test] ]
1880.04 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1880.04 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1880.04 s
[opt-env-conf-test] " was called with an unknown command: ",
1880.04 s
[opt-env-conf-test] commandChunk c
1880.04 s
[opt-env-conf-test] ]
1880.04 s
[opt-env-conf-test] ]
1880.04 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1880.04 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1880.04 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1880.04 s
[opt-env-conf-test] ]
1880.04 s
[opt-env-conf-test] - LintErrorConfigWithoutLoad ->
1880.04 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1880.04 s
[opt-env-conf-test] - " or ",
1880.04 s
[opt-env-conf-test] - functionChunk "name",
1880.04 s
[opt-env-conf-test] - " was called with no way to load configuration."
1880.05 s
[opt-env-conf-test] - ],
1880.05 s
[opt-env-conf-test] - [ "You can load configuration with ",
1880.05 s
[opt-env-conf-test] - functionChunk "withConfig",
1880.05 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1880.05 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1880.05 s
[opt-env-conf-test] - "."
1880.05 s
[opt-env-conf-test] - ]
1880.05 s
[opt-env-conf-test] - ]
1880.05 s
[opt-env-conf-test] LintErrorManyInfinite ->
1880.05 s
[opt-env-conf-test] [ [ functionChunk "many",
1880.05 s
[opt-env-conf-test] " or ",
1880.05 s
[opt-env-conf-test] functionChunk "some",
1880.05 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1880.05 s
[opt-env-conf-test] ],
1880.05 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1880.05 s
[opt-env-conf-test] ],
1880.05 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1880.05 s
[opt-env-conf-test] ]
1880.05 s
[opt-env-conf-test]
1880.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1880.05 s
[opt-env-conf-test] @@ -66,168 +66,160 @@
1880.05 s
[opt-env-conf-test] renderLintError LintError {..} =
1880.05 s
[opt-env-conf-test] concat
1880.05 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1880.05 s
[opt-env-conf-test] case lintErrorMessage of
1880.05 s
[opt-env-conf-test] LintErrorUndocumented ->
1880.05 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1880.05 s
[opt-env-conf-test] LintErrorEmptySetting ->
1880.05 s
[opt-env-conf-test] concat
1880.05 s
[opt-env-conf-test] [ [ [ "This ",
1880.05 s
[opt-env-conf-test] functionChunk "setting",
1880.05 s
[opt-env-conf-test] " parses nothing."
1880.05 s
[opt-env-conf-test] ]
1880.05 s
[opt-env-conf-test] ],
1880.05 s
[opt-env-conf-test] [ [ "Add an ",
1880.05 s
[opt-env-conf-test] functionChunk "argument",
1880.05 s
[opt-env-conf-test] ", ",
1880.05 s
[opt-env-conf-test] functionChunk "switch",
1880.05 s
[opt-env-conf-test] ", ",
1880.05 s
[opt-env-conf-test] functionChunk "option",
1880.05 s
[opt-env-conf-test] ", ",
1880.05 s
[opt-env-conf-test] functionChunk "env",
1880.05 s
[opt-env-conf-test] ", ",
1880.05 s
[opt-env-conf-test] functionChunk "conf",
1880.05 s
[opt-env-conf-test] ", or ",
1880.05 s
[opt-env-conf-test] functionChunk "value",
1880.05 s
[opt-env-conf-test] "."
1880.05 s
[opt-env-conf-test] ]
1880.05 s
[opt-env-conf-test] ]
1880.05 s
[opt-env-conf-test] ]
1880.05 s
[opt-env-conf-test] LintErrorDashInShort ->
1880.05 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1880.05 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1880.05 s
[opt-env-conf-test] ]
1880.05 s
[opt-env-conf-test] LintErrorDashInLong s ->
1880.05 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1880.05 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1880.05 s
[opt-env-conf-test] [ "Try ",
1880.05 s
[opt-env-conf-test] functionChunk "long",
1880.05 s
[opt-env-conf-test] " ",
1880.05 s
[opt-env-conf-test] chunk $
1880.05 s
[opt-env-conf-test] T.pack $
1880.05 s
[opt-env-conf-test] show $
1880.05 s
[opt-env-conf-test] let go = \case
1880.05 s
[opt-env-conf-test] [] -> []
1880.05 s
[opt-env-conf-test] '-' : cs -> go cs
1880.05 s
[opt-env-conf-test] c : cs -> c : cs
1880.05 s
[opt-env-conf-test] in go $ NE.toList s,
1880.05 s
[opt-env-conf-test] " instead."
1880.05 s
[opt-env-conf-test] ]
1880.05 s
[opt-env-conf-test] ]
1880.05 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1880.05 s
[opt-env-conf-test] [ [ functionChunk "argument",
1880.05 s
[opt-env-conf-test] " has no ",
1880.05 s
[opt-env-conf-test] functionChunk "reader",
1880.05 s
[opt-env-conf-test] "."
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1880.06 s
[opt-env-conf-test] [ [ functionChunk "argument",
1880.06 s
[opt-env-conf-test] " has no ",
1880.06 s
[opt-env-conf-test] functionChunk "metavar",
1880.06 s
[opt-env-conf-test] "."
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1880.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1880.06 s
[opt-env-conf-test] " or ",
1880.06 s
[opt-env-conf-test] functionChunk "name",
1880.06 s
[opt-env-conf-test] " has no ",
1880.06 s
[opt-env-conf-test] functionChunk "reader",
1880.06 s
[opt-env-conf-test] "."
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1880.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1880.06 s
[opt-env-conf-test] " has no ",
1880.06 s
[opt-env-conf-test] functionChunk "long",
1880.06 s
[opt-env-conf-test] " or ",
1880.06 s
[opt-env-conf-test] functionChunk "short",
1880.06 s
[opt-env-conf-test] "."
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1880.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1880.06 s
[opt-env-conf-test] " or ",
1880.06 s
[opt-env-conf-test] functionChunk "name",
1880.06 s
[opt-env-conf-test] " has no ",
1880.06 s
[opt-env-conf-test] functionChunk "metavar",
1880.06 s
[opt-env-conf-test] "."
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1880.06 s
[opt-env-conf-test] [ [ functionChunk "switch",
1880.06 s
[opt-env-conf-test] " has no ",
1880.06 s
[opt-env-conf-test] functionChunk "long",
1880.06 s
[opt-env-conf-test] " or ",
1880.06 s
[opt-env-conf-test] functionChunk "short",
1880.06 s
[opt-env-conf-test] "."
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1880.06 s
[opt-env-conf-test] [ [ functionChunk "long",
1880.06 s
[opt-env-conf-test] " or ",
1880.06 s
[opt-env-conf-test] functionChunk "short",
1880.06 s
[opt-env-conf-test] " has no ",
1880.06 s
[opt-env-conf-test] functionChunk "option",
1880.06 s
[opt-env-conf-test] " or ",
1880.06 s
[opt-env-conf-test] functionChunk "switch",
1880.06 s
[opt-env-conf-test] "."
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1880.06 s
[opt-env-conf-test] [ [ functionChunk "env",
1880.06 s
[opt-env-conf-test] " or ",
1880.06 s
[opt-env-conf-test] functionChunk "name",
1880.06 s
[opt-env-conf-test] " has no ",
1880.06 s
[opt-env-conf-test] functionChunk "reader",
1880.06 s
[opt-env-conf-test] "."
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1880.06 s
[opt-env-conf-test] [ [ functionChunk "env",
1880.06 s
[opt-env-conf-test] " or ",
1880.06 s
[opt-env-conf-test] functionChunk "name",
1880.06 s
[opt-env-conf-test] " has no ",
1880.06 s
[opt-env-conf-test] functionChunk "metavar",
1880.06 s
[opt-env-conf-test] "."
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] ]
1880.06 s
[opt-env-conf-test] LintErrorNoCommands ->
1880.06 s
[opt-env-conf-test] [ [ functionChunk "commands",
1880.06 s
[opt-env-conf-test] " was called with an empty list."
1882.01 s
[opt-env-conf-test] ]
1882.01 s
[opt-env-conf-test] ]
1882.01 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1882.01 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1882.01 s
[opt-env-conf-test] " was called with an unknown command: ",
1882.01 s
[opt-env-conf-test] commandChunk c
1882.01 s
[opt-env-conf-test] ]
1882.01 s
[opt-env-conf-test] ]
1882.01 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1882.01 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1882.01 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1882.01 s
[opt-env-conf-test] ]
1882.01 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1882.01 s
[opt-env-conf-test] [ [ functionChunk "conf",
1882.01 s
[opt-env-conf-test] " or ",
1882.01 s
[opt-env-conf-test] functionChunk "name",
1882.01 s
[opt-env-conf-test] " was called with no way to load configuration."
1882.01 s
[opt-env-conf-test] ],
1882.01 s
[opt-env-conf-test] [ "You can load configuration with ",
1882.01 s
[opt-env-conf-test] functionChunk "withConfig",
1882.01 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1882.01 s
[opt-env-conf-test] functionChunk "withoutConfig",
1882.01 s
[opt-env-conf-test] "."
1882.02 s
[opt-env-conf-test] ]
1882.02 s
[opt-env-conf-test] ]
1882.02 s
[opt-env-conf-test] - LintErrorManyInfinite ->
1882.02 s
[opt-env-conf-test] - [ [ functionChunk "many",
1882.02 s
[opt-env-conf-test] - " or ",
1882.02 s
[opt-env-conf-test] - functionChunk "some",
1882.02 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1882.02 s
[opt-env-conf-test] - ],
1882.02 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1882.02 s
[opt-env-conf-test] - ],
1882.02 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1882.02 s
[opt-env-conf-test] ]
1882.02 s
[opt-env-conf-test]
1882.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1882.02 s
[opt-env-conf-test] @@ -66,168 +66,163 @@
1882.02 s
[opt-env-conf-test] renderLintError LintError {..} =
1882.02 s
[opt-env-conf-test] concat
1882.02 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1882.02 s
[opt-env-conf-test] case lintErrorMessage of
1882.02 s
[opt-env-conf-test] LintErrorUndocumented ->
1882.02 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1882.02 s
[opt-env-conf-test] LintErrorEmptySetting ->
1882.02 s
[opt-env-conf-test] concat
1882.02 s
[opt-env-conf-test] [ [ [ "This ",
1882.02 s
[opt-env-conf-test] functionChunk "setting",
1882.02 s
[opt-env-conf-test] " parses nothing."
1882.02 s
[opt-env-conf-test] ]
1882.02 s
[opt-env-conf-test] ],
1882.02 s
[opt-env-conf-test] [ [ "Add an ",
1882.02 s
[opt-env-conf-test] functionChunk "argument",
1882.02 s
[opt-env-conf-test] ", ",
1882.02 s
[opt-env-conf-test] functionChunk "switch",
1882.02 s
[opt-env-conf-test] ", ",
1882.02 s
[opt-env-conf-test] functionChunk "option",
1882.02 s
[opt-env-conf-test] ", ",
1882.02 s
[opt-env-conf-test] functionChunk "env",
1882.02 s
[opt-env-conf-test] ", ",
1882.02 s
[opt-env-conf-test] functionChunk "conf",
1882.02 s
[opt-env-conf-test] ", or ",
1882.02 s
[opt-env-conf-test] functionChunk "value",
1882.02 s
[opt-env-conf-test] "."
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] LintErrorDashInShort ->
1882.03 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1882.03 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] LintErrorDashInLong s ->
1882.03 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1882.03 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1882.03 s
[opt-env-conf-test] [ "Try ",
1882.03 s
[opt-env-conf-test] functionChunk "long",
1882.03 s
[opt-env-conf-test] " ",
1882.03 s
[opt-env-conf-test] chunk $
1882.03 s
[opt-env-conf-test] T.pack $
1882.03 s
[opt-env-conf-test] show $
1882.03 s
[opt-env-conf-test] let go = \case
1882.03 s
[opt-env-conf-test] [] -> []
1882.03 s
[opt-env-conf-test] '-' : cs -> go cs
1882.03 s
[opt-env-conf-test] c : cs -> c : cs
1882.03 s
[opt-env-conf-test] in go $ NE.toList s,
1882.03 s
[opt-env-conf-test] " instead."
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1882.03 s
[opt-env-conf-test] [ [ functionChunk "argument",
1882.03 s
[opt-env-conf-test] " has no ",
1882.03 s
[opt-env-conf-test] functionChunk "reader",
1882.03 s
[opt-env-conf-test] "."
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1882.03 s
[opt-env-conf-test] [ [ functionChunk "argument",
1882.03 s
[opt-env-conf-test] " has no ",
1882.03 s
[opt-env-conf-test] functionChunk "metavar",
1882.03 s
[opt-env-conf-test] "."
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1882.03 s
[opt-env-conf-test] [ [ functionChunk "option",
1882.03 s
[opt-env-conf-test] " or ",
1882.03 s
[opt-env-conf-test] functionChunk "name",
1882.03 s
[opt-env-conf-test] " has no ",
1882.03 s
[opt-env-conf-test] functionChunk "reader",
1882.03 s
[opt-env-conf-test] "."
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1882.03 s
[opt-env-conf-test] [ [ functionChunk "option",
1882.03 s
[opt-env-conf-test] " has no ",
1882.03 s
[opt-env-conf-test] functionChunk "long",
1882.03 s
[opt-env-conf-test] " or ",
1882.03 s
[opt-env-conf-test] functionChunk "short",
1882.03 s
[opt-env-conf-test] "."
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] ]
1882.03 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1882.03 s
[opt-env-conf-test] [ [ functionChunk "option",
1882.03 s
[opt-env-conf-test] " or ",
1882.04 s
[opt-env-conf-test] functionChunk "name",
1882.04 s
[opt-env-conf-test] " has no ",
1882.04 s
[opt-env-conf-test] functionChunk "metavar",
1882.04 s
[opt-env-conf-test] "."
1882.04 s
[opt-env-conf-test] ]
1882.04 s
[opt-env-conf-test] ]
1882.04 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1882.04 s
[opt-env-conf-test] [ [ functionChunk "switch",
1882.04 s
[opt-env-conf-test] " has no ",
1882.04 s
[opt-env-conf-test] functionChunk "long",
1882.04 s
[opt-env-conf-test] " or ",
1882.04 s
[opt-env-conf-test] functionChunk "short",
1882.04 s
[opt-env-conf-test] "."
1882.04 s
[opt-env-conf-test] ]
1882.04 s
[opt-env-conf-test] ]
1882.04 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1882.04 s
[opt-env-conf-test] [ [ functionChunk "long",
1882.04 s
[opt-env-conf-test] " or ",
1882.04 s
[opt-env-conf-test] functionChunk "short",
1882.04 s
[opt-env-conf-test] " has no ",
1882.04 s
[opt-env-conf-test] functionChunk "option",
1882.04 s
[opt-env-conf-test] " or ",
1882.04 s
[opt-env-conf-test] functionChunk "switch",
1882.04 s
[opt-env-conf-test] "."
1882.04 s
[opt-env-conf-test] ]
1882.04 s
[opt-env-conf-test] ]
1882.04 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1882.04 s
[opt-env-conf-test] [ [ functionChunk "env",
1882.04 s
[opt-env-conf-test] " or ",
1882.04 s
[opt-env-conf-test] functionChunk "name",
1882.04 s
[opt-env-conf-test] " has no ",
1882.04 s
[opt-env-conf-test] functionChunk "reader",
1882.04 s
[opt-env-conf-test] "."
1882.04 s
[opt-env-conf-test] ]
1882.04 s
[opt-env-conf-test] ]
1882.04 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1882.04 s
[opt-env-conf-test] [ [ functionChunk "env",
1882.04 s
[opt-env-conf-test] " or ",
1882.04 s
[opt-env-conf-test] functionChunk "name",
1882.04 s
[opt-env-conf-test] " has no ",
1882.04 s
[opt-env-conf-test] functionChunk "metavar",
1882.04 s
[opt-env-conf-test] "."
1882.04 s
[opt-env-conf-test] ]
1882.04 s
[opt-env-conf-test] ]
1882.04 s
[opt-env-conf-test] - LintErrorNoCommands ->
1882.04 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1882.91 s
[opt-env-conf-test] - " was called with an empty list."
1882.92 s
[opt-env-conf-test] - ]
1882.92 s
[opt-env-conf-test] - ]
1882.92 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1882.92 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1882.92 s
[opt-env-conf-test] " was called with an unknown command: ",
1882.92 s
[opt-env-conf-test] commandChunk c
1882.92 s
[opt-env-conf-test] ]
1882.92 s
[opt-env-conf-test] ]
1882.92 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1882.92 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1882.92 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1882.92 s
[opt-env-conf-test] ]
1882.92 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1882.92 s
[opt-env-conf-test] [ [ functionChunk "conf",
1882.92 s
[opt-env-conf-test] " or ",
1882.92 s
[opt-env-conf-test] functionChunk "name",
1882.92 s
[opt-env-conf-test] " was called with no way to load configuration."
1882.92 s
[opt-env-conf-test] ],
1882.92 s
[opt-env-conf-test] [ "You can load configuration with ",
1882.92 s
[opt-env-conf-test] functionChunk "withConfig",
1882.92 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1882.92 s
[opt-env-conf-test] functionChunk "withoutConfig",
1882.92 s
[opt-env-conf-test] "."
1882.92 s
[opt-env-conf-test] ]
1882.92 s
[opt-env-conf-test] ]
1882.92 s
[opt-env-conf-test] LintErrorManyInfinite ->
1882.92 s
[opt-env-conf-test] [ [ functionChunk "many",
1882.92 s
[opt-env-conf-test] " or ",
1882.92 s
[opt-env-conf-test] functionChunk "some",
1882.93 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1882.93 s
[opt-env-conf-test] ],
1882.93 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1882.93 s
[opt-env-conf-test] ],
1882.93 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1882.93 s
[opt-env-conf-test] ]
1882.93 s
[opt-env-conf-test]
1882.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1882.93 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1882.93 s
[opt-env-conf-test] renderLintError LintError {..} =
1882.93 s
[opt-env-conf-test] concat
1882.93 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1882.93 s
[opt-env-conf-test] case lintErrorMessage of
1882.93 s
[opt-env-conf-test] LintErrorUndocumented ->
1882.93 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1882.93 s
[opt-env-conf-test] LintErrorEmptySetting ->
1882.93 s
[opt-env-conf-test] concat
1882.93 s
[opt-env-conf-test] [ [ [ "This ",
1882.93 s
[opt-env-conf-test] functionChunk "setting",
1882.93 s
[opt-env-conf-test] " parses nothing."
1882.93 s
[opt-env-conf-test] ]
1882.93 s
[opt-env-conf-test] ],
1882.93 s
[opt-env-conf-test] [ [ "Add an ",
1882.93 s
[opt-env-conf-test] functionChunk "argument",
1882.93 s
[opt-env-conf-test] ", ",
1882.93 s
[opt-env-conf-test] functionChunk "switch",
1882.93 s
[opt-env-conf-test] ", ",
1882.93 s
[opt-env-conf-test] functionChunk "option",
1882.93 s
[opt-env-conf-test] ", ",
1882.93 s
[opt-env-conf-test] functionChunk "env",
1882.93 s
[opt-env-conf-test] ", ",
1882.93 s
[opt-env-conf-test] functionChunk "conf",
1882.93 s
[opt-env-conf-test] ", or ",
1882.93 s
[opt-env-conf-test] functionChunk "value",
1882.93 s
[opt-env-conf-test] "."
1882.93 s
[opt-env-conf-test] ]
1882.93 s
[opt-env-conf-test] ]
1882.93 s
[opt-env-conf-test] ]
1882.93 s
[opt-env-conf-test] LintErrorDashInShort ->
1882.93 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1882.93 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1882.93 s
[opt-env-conf-test] ]
1882.93 s
[opt-env-conf-test] LintErrorDashInLong s ->
1882.94 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1882.94 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1882.94 s
[opt-env-conf-test] [ "Try ",
1882.94 s
[opt-env-conf-test] functionChunk "long",
1882.94 s
[opt-env-conf-test] " ",
1882.94 s
[opt-env-conf-test] chunk $
1882.94 s
[opt-env-conf-test] T.pack $
1882.94 s
[opt-env-conf-test] show $
1882.94 s
[opt-env-conf-test] let go = \case
1882.94 s
[opt-env-conf-test] [] -> []
1882.94 s
[opt-env-conf-test] '-' : cs -> go cs
1882.94 s
[opt-env-conf-test] c : cs -> c : cs
1882.94 s
[opt-env-conf-test] in go $ NE.toList s,
1882.94 s
[opt-env-conf-test] " instead."
1882.94 s
[opt-env-conf-test] ]
1882.94 s
[opt-env-conf-test] ]
1882.94 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1882.94 s
[opt-env-conf-test] [ [ functionChunk "argument",
1882.94 s
[opt-env-conf-test] " has no ",
1882.94 s
[opt-env-conf-test] functionChunk "reader",
1882.94 s
[opt-env-conf-test] "."
1882.94 s
[opt-env-conf-test] ]
1882.94 s
[opt-env-conf-test] ]
1882.94 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1882.94 s
[opt-env-conf-test] [ [ functionChunk "argument",
1882.94 s
[opt-env-conf-test] " has no ",
1882.94 s
[opt-env-conf-test] functionChunk "metavar",
1882.94 s
[opt-env-conf-test] "."
1882.94 s
[opt-env-conf-test] ]
1882.94 s
[opt-env-conf-test] ]
1882.94 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1882.94 s
[opt-env-conf-test] [ [ functionChunk "option",
1882.94 s
[opt-env-conf-test] " or ",
1882.94 s
[opt-env-conf-test] functionChunk "name",
1882.94 s
[opt-env-conf-test] " has no ",
1882.94 s
[opt-env-conf-test] functionChunk "reader",
1882.94 s
[opt-env-conf-test] "."
1882.94 s
[opt-env-conf-test] ]
1882.94 s
[opt-env-conf-test] ]
1882.94 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1882.94 s
[opt-env-conf-test] [ [ functionChunk "option",
1882.94 s
[opt-env-conf-test] " has no ",
1882.95 s
[opt-env-conf-test] functionChunk "long",
1882.95 s
[opt-env-conf-test] " or ",
1882.95 s
[opt-env-conf-test] functionChunk "short",
1882.95 s
[opt-env-conf-test] "."
1882.95 s
[opt-env-conf-test] ]
1882.95 s
[opt-env-conf-test] ]
1882.95 s
[opt-env-conf-test] - LintErrorNoMetavarForOption ->
1882.95 s
[opt-env-conf-test] - [ [ functionChunk "option",
1882.95 s
[opt-env-conf-test] - " or ",
1882.95 s
[opt-env-conf-test] - functionChunk "name",
1882.95 s
[opt-env-conf-test] - " has no ",
1882.95 s
[opt-env-conf-test] - functionChunk "metavar",
1882.95 s
[opt-env-conf-test] - "."
1882.95 s
[opt-env-conf-test] - ]
1882.95 s
[opt-env-conf-test] - ]
1882.95 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1882.95 s
[opt-env-conf-test] [ [ functionChunk "switch",
1882.95 s
[opt-env-conf-test] " has no ",
1882.95 s
[opt-env-conf-test] functionChunk "long",
1882.95 s
[opt-env-conf-test] " or ",
1882.95 s
[opt-env-conf-test] functionChunk "short",
1882.95 s
[opt-env-conf-test] "."
1882.95 s
[opt-env-conf-test] ]
1882.95 s
[opt-env-conf-test] ]
1882.95 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1882.95 s
[opt-env-conf-test] [ [ functionChunk "long",
1882.95 s
[opt-env-conf-test] " or ",
1882.95 s
[opt-env-conf-test] functionChunk "short",
1882.95 s
[opt-env-conf-test] " has no ",
1882.95 s
[opt-env-conf-test] functionChunk "option",
1882.95 s
[opt-env-conf-test] " or ",
1882.95 s
[opt-env-conf-test] functionChunk "switch",
1882.95 s
[opt-env-conf-test] "."
1882.95 s
[opt-env-conf-test] ]
1882.95 s
[opt-env-conf-test] ]
1882.95 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1882.95 s
[opt-env-conf-test] [ [ functionChunk "env",
1882.95 s
[opt-env-conf-test] " or ",
1882.95 s
[opt-env-conf-test] functionChunk "name",
1882.95 s
[opt-env-conf-test] " has no ",
1882.95 s
[opt-env-conf-test] functionChunk "reader",
1882.95 s
[opt-env-conf-test] "."
1882.95 s
[opt-env-conf-test] ]
1882.95 s
[opt-env-conf-test] ]
1882.95 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1882.95 s
[opt-env-conf-test] [ [ functionChunk "env",
1882.95 s
[opt-env-conf-test] " or ",
1882.95 s
[opt-env-conf-test] functionChunk "name",
1882.95 s
[opt-env-conf-test] " has no ",
1882.95 s
[opt-env-conf-test] functionChunk "metavar",
1882.95 s
[opt-env-conf-test] "."
1882.95 s
[opt-env-conf-test] ]
1882.95 s
[opt-env-conf-test] ]
1882.95 s
[opt-env-conf-test] LintErrorNoCommands ->
1883.65 s
[opt-env-conf-test] [ [ functionChunk "commands",
1883.65 s
[opt-env-conf-test] " was called with an empty list."
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1883.65 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1883.65 s
[opt-env-conf-test] " was called with an unknown command: ",
1883.65 s
[opt-env-conf-test] commandChunk c
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1883.65 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1883.65 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1883.65 s
[opt-env-conf-test] [ [ functionChunk "conf",
1883.65 s
[opt-env-conf-test] " or ",
1883.65 s
[opt-env-conf-test] functionChunk "name",
1883.65 s
[opt-env-conf-test] " was called with no way to load configuration."
1883.65 s
[opt-env-conf-test] ],
1883.65 s
[opt-env-conf-test] [ "You can load configuration with ",
1883.65 s
[opt-env-conf-test] functionChunk "withConfig",
1883.65 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1883.65 s
[opt-env-conf-test] functionChunk "withoutConfig",
1883.65 s
[opt-env-conf-test] "."
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] LintErrorManyInfinite ->
1883.65 s
[opt-env-conf-test] [ [ functionChunk "many",
1883.65 s
[opt-env-conf-test] " or ",
1883.65 s
[opt-env-conf-test] functionChunk "some",
1883.65 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1883.65 s
[opt-env-conf-test] ],
1883.65 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1883.65 s
[opt-env-conf-test] ],
1883.65 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1883.65 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test]
1883.66 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1883.66 s
[opt-env-conf-test] @@ -66,168 +66,157 @@
1883.66 s
[opt-env-conf-test] renderLintError LintError {..} =
1883.66 s
[opt-env-conf-test] concat
1883.66 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1883.66 s
[opt-env-conf-test] case lintErrorMessage of
1883.66 s
[opt-env-conf-test] LintErrorUndocumented ->
1883.66 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1883.66 s
[opt-env-conf-test] LintErrorEmptySetting ->
1883.66 s
[opt-env-conf-test] concat
1883.66 s
[opt-env-conf-test] [ [ [ "This ",
1883.66 s
[opt-env-conf-test] functionChunk "setting",
1883.66 s
[opt-env-conf-test] " parses nothing."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ],
1883.66 s
[opt-env-conf-test] [ [ "Add an ",
1883.66 s
[opt-env-conf-test] functionChunk "argument",
1883.66 s
[opt-env-conf-test] ", ",
1883.66 s
[opt-env-conf-test] functionChunk "switch",
1883.66 s
[opt-env-conf-test] ", ",
1883.66 s
[opt-env-conf-test] functionChunk "option",
1883.66 s
[opt-env-conf-test] ", ",
1883.66 s
[opt-env-conf-test] functionChunk "env",
1883.66 s
[opt-env-conf-test] ", ",
1883.66 s
[opt-env-conf-test] functionChunk "conf",
1883.66 s
[opt-env-conf-test] ", or ",
1883.66 s
[opt-env-conf-test] functionChunk "value",
1883.66 s
[opt-env-conf-test] "."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorDashInShort ->
1883.66 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1883.66 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorDashInLong s ->
1883.66 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1883.66 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1883.66 s
[opt-env-conf-test] [ "Try ",
1883.66 s
[opt-env-conf-test] functionChunk "long",
1883.66 s
[opt-env-conf-test] " ",
1883.66 s
[opt-env-conf-test] chunk $
1883.66 s
[opt-env-conf-test] T.pack $
1883.66 s
[opt-env-conf-test] show $
1883.66 s
[opt-env-conf-test] let go = \case
1883.66 s
[opt-env-conf-test] [] -> []
1883.66 s
[opt-env-conf-test] '-' : cs -> go cs
1883.66 s
[opt-env-conf-test] c : cs -> c : cs
1883.66 s
[opt-env-conf-test] in go $ NE.toList s,
1883.66 s
[opt-env-conf-test] " instead."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1883.66 s
[opt-env-conf-test] [ [ functionChunk "argument",
1883.66 s
[opt-env-conf-test] " has no ",
1883.66 s
[opt-env-conf-test] functionChunk "reader",
1883.66 s
[opt-env-conf-test] "."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1883.66 s
[opt-env-conf-test] [ [ functionChunk "argument",
1883.66 s
[opt-env-conf-test] " has no ",
1883.66 s
[opt-env-conf-test] functionChunk "metavar",
1883.66 s
[opt-env-conf-test] "."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1883.66 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.66 s
[opt-env-conf-test] " or ",
1883.66 s
[opt-env-conf-test] functionChunk "name",
1883.66 s
[opt-env-conf-test] " has no ",
1883.66 s
[opt-env-conf-test] functionChunk "reader",
1883.66 s
[opt-env-conf-test] "."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1883.66 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.66 s
[opt-env-conf-test] " has no ",
1883.66 s
[opt-env-conf-test] functionChunk "long",
1883.66 s
[opt-env-conf-test] " or ",
1883.66 s
[opt-env-conf-test] functionChunk "short",
1883.66 s
[opt-env-conf-test] "."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1883.67 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.67 s
[opt-env-conf-test] " or ",
1883.67 s
[opt-env-conf-test] functionChunk "name",
1883.67 s
[opt-env-conf-test] " has no ",
1883.67 s
[opt-env-conf-test] functionChunk "metavar",
1883.67 s
[opt-env-conf-test] "."
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1883.67 s
[opt-env-conf-test] [ [ functionChunk "switch",
1883.67 s
[opt-env-conf-test] " has no ",
1883.67 s
[opt-env-conf-test] functionChunk "long",
1883.67 s
[opt-env-conf-test] " or ",
1883.67 s
[opt-env-conf-test] functionChunk "short",
1883.67 s
[opt-env-conf-test] "."
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
1883.67 s
[opt-env-conf-test] - [ [ functionChunk "long",
1883.67 s
[opt-env-conf-test] - " or ",
1883.67 s
[opt-env-conf-test] - functionChunk "short",
1883.67 s
[opt-env-conf-test] - " has no ",
1883.67 s
[opt-env-conf-test] - functionChunk "option",
1883.67 s
[opt-env-conf-test] - " or ",
1883.67 s
[opt-env-conf-test] - functionChunk "switch",
1883.67 s
[opt-env-conf-test] - "."
1883.67 s
[opt-env-conf-test] - ]
1883.67 s
[opt-env-conf-test] - ]
1883.67 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1883.67 s
[opt-env-conf-test] [ [ functionChunk "env",
1883.67 s
[opt-env-conf-test] " or ",
1883.67 s
[opt-env-conf-test] functionChunk "name",
1883.67 s
[opt-env-conf-test] " has no ",
1883.67 s
[opt-env-conf-test] functionChunk "reader",
1883.67 s
[opt-env-conf-test] "."
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1883.67 s
[opt-env-conf-test] [ [ functionChunk "env",
1883.67 s
[opt-env-conf-test] " or ",
1883.67 s
[opt-env-conf-test] functionChunk "name",
1883.67 s
[opt-env-conf-test] " has no ",
1883.67 s
[opt-env-conf-test] functionChunk "metavar",
1883.67 s
[opt-env-conf-test] "."
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] LintErrorNoCommands ->
1883.67 s
[opt-env-conf-test] [ [ functionChunk "commands",
1883.67 s
[opt-env-conf-test] " was called with an empty list."
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1883.67 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1883.67 s
[opt-env-conf-test] " was called with an unknown command: ",
1883.67 s
[opt-env-conf-test] commandChunk c
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1883.67 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1883.67 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1883.67 s
[opt-env-conf-test] ]
1883.67 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1883.67 s
[opt-env-conf-test] [ [ functionChunk "conf",
1883.67 s
[opt-env-conf-test] " or ",
1883.67 s
[opt-env-conf-test] functionChunk "name",
1883.67 s
[opt-env-conf-test] " was called with no way to load configuration."
1883.67 s
[opt-env-conf-test] ],
1883.67 s
[opt-env-conf-test] [ "You can load configuration with ",
1883.67 s
[opt-env-conf-test] functionChunk "withConfig",
1883.67 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1883.67 s
[opt-env-conf-test] functionChunk "withoutConfig",
1883.67 s
[opt-env-conf-test] "."
1883.68 s
[opt-env-conf-test] ]
1883.68 s
[opt-env-conf-test] ]
1883.68 s
[opt-env-conf-test] LintErrorManyInfinite ->
1883.68 s
[opt-env-conf-test] [ [ functionChunk "many",
1883.68 s
[opt-env-conf-test] " or ",
1883.68 s
[opt-env-conf-test] functionChunk "some",
1883.68 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1883.68 s
[opt-env-conf-test] ],
1883.68 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1883.68 s
[opt-env-conf-test] ],
1883.68 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1883.68 s
[opt-env-conf-test] ]
1883.68 s
[opt-env-conf-test]
1883.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1883.68 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1883.68 s
[opt-env-conf-test] renderLintError LintError {..} =
1883.68 s
[opt-env-conf-test] concat
1883.68 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1883.68 s
[opt-env-conf-test] case lintErrorMessage of
1883.68 s
[opt-env-conf-test] LintErrorUndocumented ->
1883.68 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1883.68 s
[opt-env-conf-test] LintErrorEmptySetting ->
1883.68 s
[opt-env-conf-test] concat
1883.68 s
[opt-env-conf-test] [ [ [ "This ",
1883.68 s
[opt-env-conf-test] functionChunk "setting",
1883.68 s
[opt-env-conf-test] " parses nothing."
1883.68 s
[opt-env-conf-test] ]
1883.68 s
[opt-env-conf-test] ],
1883.68 s
[opt-env-conf-test] [ [ "Add an ",
1883.68 s
[opt-env-conf-test] functionChunk "argument",
1883.68 s
[opt-env-conf-test] ", ",
1883.68 s
[opt-env-conf-test] functionChunk "switch",
1883.68 s
[opt-env-conf-test] ", ",
1883.68 s
[opt-env-conf-test] functionChunk "option",
1883.68 s
[opt-env-conf-test] ", ",
1883.68 s
[opt-env-conf-test] functionChunk "env",
1883.68 s
[opt-env-conf-test] ", ",
1883.68 s
[opt-env-conf-test] functionChunk "conf",
1883.68 s
[opt-env-conf-test] ", or ",
1883.68 s
[opt-env-conf-test] functionChunk "value",
1883.68 s
[opt-env-conf-test] "."
1883.68 s
[opt-env-conf-test] ]
1883.68 s
[opt-env-conf-test] ]
1883.68 s
[opt-env-conf-test] ]
1883.68 s
[opt-env-conf-test] LintErrorDashInShort ->
1883.68 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1883.68 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1883.68 s
[opt-env-conf-test] ]
1883.68 s
[opt-env-conf-test] LintErrorDashInLong s ->
1883.68 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1883.68 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1883.68 s
[opt-env-conf-test] [ "Try ",
1883.68 s
[opt-env-conf-test] functionChunk "long",
1883.68 s
[opt-env-conf-test] " ",
1883.68 s
[opt-env-conf-test] chunk $
1883.68 s
[opt-env-conf-test] T.pack $
1883.68 s
[opt-env-conf-test] show $
1883.68 s
[opt-env-conf-test] let go = \case
1883.68 s
[opt-env-conf-test] [] -> []
1883.68 s
[opt-env-conf-test] '-' : cs -> go cs
1883.68 s
[opt-env-conf-test] c : cs -> c : cs
1883.68 s
[opt-env-conf-test] in go $ NE.toList s,
1883.68 s
[opt-env-conf-test] " instead."
1883.68 s
[opt-env-conf-test] ]
1883.68 s
[opt-env-conf-test] ]
1883.68 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1883.68 s
[opt-env-conf-test] [ [ functionChunk "argument",
1883.68 s
[opt-env-conf-test] " has no ",
1883.68 s
[opt-env-conf-test] functionChunk "reader",
1883.68 s
[opt-env-conf-test] "."
1883.68 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1883.69 s
[opt-env-conf-test] [ [ functionChunk "argument",
1883.69 s
[opt-env-conf-test] " has no ",
1883.69 s
[opt-env-conf-test] functionChunk "metavar",
1883.69 s
[opt-env-conf-test] "."
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1883.69 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.69 s
[opt-env-conf-test] " or ",
1883.69 s
[opt-env-conf-test] functionChunk "name",
1883.69 s
[opt-env-conf-test] " has no ",
1883.69 s
[opt-env-conf-test] functionChunk "reader",
1883.69 s
[opt-env-conf-test] "."
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1883.69 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.69 s
[opt-env-conf-test] " has no ",
1883.69 s
[opt-env-conf-test] functionChunk "long",
1883.69 s
[opt-env-conf-test] " or ",
1883.69 s
[opt-env-conf-test] functionChunk "short",
1883.69 s
[opt-env-conf-test] "."
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1883.69 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.69 s
[opt-env-conf-test] " or ",
1883.69 s
[opt-env-conf-test] functionChunk "name",
1883.69 s
[opt-env-conf-test] " has no ",
1883.69 s
[opt-env-conf-test] functionChunk "metavar",
1883.69 s
[opt-env-conf-test] "."
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1883.69 s
[opt-env-conf-test] [ [ functionChunk "switch",
1883.69 s
[opt-env-conf-test] " has no ",
1883.69 s
[opt-env-conf-test] functionChunk "long",
1883.69 s
[opt-env-conf-test] " or ",
1883.69 s
[opt-env-conf-test] functionChunk "short",
1883.69 s
[opt-env-conf-test] "."
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1883.69 s
[opt-env-conf-test] [ [ functionChunk "long",
1883.69 s
[opt-env-conf-test] " or ",
1883.69 s
[opt-env-conf-test] functionChunk "short",
1883.69 s
[opt-env-conf-test] " has no ",
1883.69 s
[opt-env-conf-test] functionChunk "option",
1883.69 s
[opt-env-conf-test] " or ",
1883.69 s
[opt-env-conf-test] functionChunk "switch",
1883.69 s
[opt-env-conf-test] "."
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] ]
1883.69 s
[opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
1883.69 s
[opt-env-conf-test] - [ [ functionChunk "env",
1883.69 s
[opt-env-conf-test] - " or ",
1883.69 s
[opt-env-conf-test] - functionChunk "name",
1883.69 s
[opt-env-conf-test] - " has no ",
1883.69 s
[opt-env-conf-test] - functionChunk "reader",
1883.69 s
[opt-env-conf-test] - "."
1883.69 s
[opt-env-conf-test] - ]
1883.69 s
[opt-env-conf-test] - ]
1883.69 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1883.69 s
[opt-env-conf-test] [ [ functionChunk "env",
1883.69 s
[opt-env-conf-test] " or ",
1883.69 s
[opt-env-conf-test] functionChunk "name",
1883.69 s
[opt-env-conf-test] " has no ",
1883.69 s
[opt-env-conf-test] functionChunk "metavar",
1883.69 s
[opt-env-conf-test] "."
1883.69 s
[opt-env-conf-test] ]
1883.70 s
[opt-env-conf-test] ]
1883.70 s
[opt-env-conf-test] LintErrorNoCommands ->
1883.91 s
[opt-env-conf-test] [ [ functionChunk "commands",
1883.91 s
[opt-env-conf-test] " was called with an empty list."
1883.91 s
[opt-env-conf-test] ]
1883.91 s
[opt-env-conf-test] ]
1883.91 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1883.91 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1883.91 s
[opt-env-conf-test] " was called with an unknown command: ",
1883.91 s
[opt-env-conf-test] commandChunk c
1883.91 s
[opt-env-conf-test] ]
1883.91 s
[opt-env-conf-test] ]
1883.91 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1883.91 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1883.92 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1883.92 s
[opt-env-conf-test] ]
1883.92 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1883.92 s
[opt-env-conf-test] [ [ functionChunk "conf",
1883.92 s
[opt-env-conf-test] " or ",
1883.92 s
[opt-env-conf-test] functionChunk "name",
1883.92 s
[opt-env-conf-test] " was called with no way to load configuration."
1883.92 s
[opt-env-conf-test] ],
1883.92 s
[opt-env-conf-test] [ "You can load configuration with ",
1883.92 s
[opt-env-conf-test] functionChunk "withConfig",
1883.92 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1883.92 s
[opt-env-conf-test] functionChunk "withoutConfig",
1883.92 s
[opt-env-conf-test] "."
1883.92 s
[opt-env-conf-test] ]
1883.92 s
[opt-env-conf-test] ]
1883.92 s
[opt-env-conf-test] LintErrorManyInfinite ->
1883.92 s
[opt-env-conf-test] [ [ functionChunk "many",
1883.92 s
[opt-env-conf-test] " or ",
1883.92 s
[opt-env-conf-test] functionChunk "some",
1883.92 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1883.92 s
[opt-env-conf-test] ],
1883.92 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1883.92 s
[opt-env-conf-test] ],
1883.92 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1883.92 s
[opt-env-conf-test] ]
1883.92 s
[opt-env-conf-test]
1883.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1883.92 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1883.92 s
[opt-env-conf-test] renderLintError LintError {..} =
1883.92 s
[opt-env-conf-test] concat
1883.92 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1883.92 s
[opt-env-conf-test] case lintErrorMessage of
1883.92 s
[opt-env-conf-test] LintErrorUndocumented ->
1883.93 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1883.93 s
[opt-env-conf-test] LintErrorEmptySetting ->
1883.93 s
[opt-env-conf-test] concat
1883.93 s
[opt-env-conf-test] [ [ [ "This ",
1883.93 s
[opt-env-conf-test] functionChunk "setting",
1883.93 s
[opt-env-conf-test] " parses nothing."
1883.93 s
[opt-env-conf-test] ]
1883.93 s
[opt-env-conf-test] ],
1883.93 s
[opt-env-conf-test] [ [ "Add an ",
1883.93 s
[opt-env-conf-test] functionChunk "argument",
1883.93 s
[opt-env-conf-test] ", ",
1883.93 s
[opt-env-conf-test] functionChunk "switch",
1883.93 s
[opt-env-conf-test] ", ",
1883.93 s
[opt-env-conf-test] functionChunk "option",
1883.93 s
[opt-env-conf-test] ", ",
1883.93 s
[opt-env-conf-test] functionChunk "env",
1883.93 s
[opt-env-conf-test] ", ",
1883.93 s
[opt-env-conf-test] functionChunk "conf",
1883.93 s
[opt-env-conf-test] ", or ",
1883.93 s
[opt-env-conf-test] functionChunk "value",
1883.93 s
[opt-env-conf-test] "."
1883.93 s
[opt-env-conf-test] ]
1883.93 s
[opt-env-conf-test] ]
1883.93 s
[opt-env-conf-test] ]
1883.93 s
[opt-env-conf-test] LintErrorDashInShort ->
1883.93 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1883.93 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1883.93 s
[opt-env-conf-test] ]
1883.93 s
[opt-env-conf-test] LintErrorDashInLong s ->
1883.93 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1883.93 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1883.93 s
[opt-env-conf-test] [ "Try ",
1883.93 s
[opt-env-conf-test] functionChunk "long",
1883.93 s
[opt-env-conf-test] " ",
1883.93 s
[opt-env-conf-test] chunk $
1883.93 s
[opt-env-conf-test] T.pack $
1883.93 s
[opt-env-conf-test] show $
1883.93 s
[opt-env-conf-test] let go = \case
1883.93 s
[opt-env-conf-test] [] -> []
1883.93 s
[opt-env-conf-test] '-' : cs -> go cs
1883.93 s
[opt-env-conf-test] c : cs -> c : cs
1883.93 s
[opt-env-conf-test] in go $ NE.toList s,
1883.93 s
[opt-env-conf-test] " instead."
1883.93 s
[opt-env-conf-test] ]
1883.93 s
[opt-env-conf-test] ]
1883.93 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1883.93 s
[opt-env-conf-test] [ [ functionChunk "argument",
1883.93 s
[opt-env-conf-test] " has no ",
1883.93 s
[opt-env-conf-test] functionChunk "reader",
1883.93 s
[opt-env-conf-test] "."
1883.93 s
[opt-env-conf-test] ]
1883.93 s
[opt-env-conf-test] ]
1883.93 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1883.93 s
[opt-env-conf-test] [ [ functionChunk "argument",
1883.93 s
[opt-env-conf-test] " has no ",
1883.93 s
[opt-env-conf-test] functionChunk "metavar",
1883.94 s
[opt-env-conf-test] "."
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1883.94 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.94 s
[opt-env-conf-test] " or ",
1883.94 s
[opt-env-conf-test] functionChunk "name",
1883.94 s
[opt-env-conf-test] " has no ",
1883.94 s
[opt-env-conf-test] functionChunk "reader",
1883.94 s
[opt-env-conf-test] "."
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1883.94 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.94 s
[opt-env-conf-test] " has no ",
1883.94 s
[opt-env-conf-test] functionChunk "long",
1883.94 s
[opt-env-conf-test] " or ",
1883.94 s
[opt-env-conf-test] functionChunk "short",
1883.94 s
[opt-env-conf-test] "."
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1883.94 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.94 s
[opt-env-conf-test] " or ",
1883.94 s
[opt-env-conf-test] functionChunk "name",
1883.94 s
[opt-env-conf-test] " has no ",
1883.94 s
[opt-env-conf-test] functionChunk "metavar",
1883.94 s
[opt-env-conf-test] "."
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1883.94 s
[opt-env-conf-test] [ [ functionChunk "switch",
1883.94 s
[opt-env-conf-test] " has no ",
1883.94 s
[opt-env-conf-test] functionChunk "long",
1883.94 s
[opt-env-conf-test] " or ",
1883.94 s
[opt-env-conf-test] functionChunk "short",
1883.94 s
[opt-env-conf-test] "."
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1883.94 s
[opt-env-conf-test] [ [ functionChunk "long",
1883.94 s
[opt-env-conf-test] " or ",
1883.94 s
[opt-env-conf-test] functionChunk "short",
1883.94 s
[opt-env-conf-test] " has no ",
1883.94 s
[opt-env-conf-test] functionChunk "option",
1883.94 s
[opt-env-conf-test] " or ",
1883.94 s
[opt-env-conf-test] functionChunk "switch",
1883.94 s
[opt-env-conf-test] "."
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1883.94 s
[opt-env-conf-test] [ [ functionChunk "env",
1883.94 s
[opt-env-conf-test] " or ",
1883.94 s
[opt-env-conf-test] functionChunk "name",
1883.94 s
[opt-env-conf-test] " has no ",
1883.94 s
[opt-env-conf-test] functionChunk "reader",
1883.94 s
[opt-env-conf-test] "."
1883.94 s
[opt-env-conf-test] ]
1883.94 s
[opt-env-conf-test] ]
1883.95 s
[opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
1883.95 s
[opt-env-conf-test] - [ [ functionChunk "env",
1883.95 s
[opt-env-conf-test] - " or ",
1883.95 s
[opt-env-conf-test] - functionChunk "name",
1883.95 s
[opt-env-conf-test] - " has no ",
1883.95 s
[opt-env-conf-test] - functionChunk "metavar",
1883.95 s
[opt-env-conf-test] - "."
1883.95 s
[opt-env-conf-test] - ]
1883.95 s
[opt-env-conf-test] - ]
1883.95 s
[opt-env-conf-test] LintErrorNoCommands ->
1883.99 s
[opt-env-conf-test] [ [ functionChunk "commands",
1883.99 s
[opt-env-conf-test] " was called with an empty list."
1883.99 s
[opt-env-conf-test] ]
1883.99 s
[opt-env-conf-test] ]
1883.99 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1883.99 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1883.99 s
[opt-env-conf-test] " was called with an unknown command: ",
1883.99 s
[opt-env-conf-test] commandChunk c
1883.99 s
[opt-env-conf-test] ]
1883.99 s
[opt-env-conf-test] ]
1883.99 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1883.99 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1883.99 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1883.99 s
[opt-env-conf-test] ]
1883.99 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1883.99 s
[opt-env-conf-test] [ [ functionChunk "conf",
1883.99 s
[opt-env-conf-test] " or ",
1883.99 s
[opt-env-conf-test] functionChunk "name",
1883.99 s
[opt-env-conf-test] " was called with no way to load configuration."
1883.99 s
[opt-env-conf-test] ],
1883.99 s
[opt-env-conf-test] [ "You can load configuration with ",
1883.99 s
[opt-env-conf-test] functionChunk "withConfig",
1883.99 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1883.99 s
[opt-env-conf-test] functionChunk "withoutConfig",
1883.99 s
[opt-env-conf-test] "."
1883.99 s
[opt-env-conf-test] ]
1884.00 s
[opt-env-conf-test] ]
1884.00 s
[opt-env-conf-test] LintErrorManyInfinite ->
1884.00 s
[opt-env-conf-test] [ [ functionChunk "many",
1884.00 s
[opt-env-conf-test] " or ",
1884.00 s
[opt-env-conf-test] functionChunk "some",
1884.00 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1884.00 s
[opt-env-conf-test] ],
1884.00 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1884.00 s
[opt-env-conf-test] ],
1884.00 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1884.00 s
[opt-env-conf-test] ]
1884.00 s
[opt-env-conf-test]
1884.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1884.00 s
[opt-env-conf-test] @@ -66,168 +66,164 @@
1884.00 s
[opt-env-conf-test] renderLintError LintError {..} =
1884.00 s
[opt-env-conf-test] concat
1884.00 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1884.00 s
[opt-env-conf-test] case lintErrorMessage of
1884.00 s
[opt-env-conf-test] LintErrorUndocumented ->
1884.00 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1884.00 s
[opt-env-conf-test] LintErrorEmptySetting ->
1884.00 s
[opt-env-conf-test] concat
1884.00 s
[opt-env-conf-test] [ [ [ "This ",
1884.00 s
[opt-env-conf-test] functionChunk "setting",
1884.00 s
[opt-env-conf-test] " parses nothing."
1884.00 s
[opt-env-conf-test] ]
1884.00 s
[opt-env-conf-test] ],
1884.00 s
[opt-env-conf-test] [ [ "Add an ",
1884.00 s
[opt-env-conf-test] functionChunk "argument",
1884.00 s
[opt-env-conf-test] ", ",
1884.00 s
[opt-env-conf-test] functionChunk "switch",
1884.00 s
[opt-env-conf-test] ", ",
1884.00 s
[opt-env-conf-test] functionChunk "option",
1884.00 s
[opt-env-conf-test] ", ",
1884.00 s
[opt-env-conf-test] functionChunk "env",
1884.00 s
[opt-env-conf-test] ", ",
1884.00 s
[opt-env-conf-test] functionChunk "conf",
1884.00 s
[opt-env-conf-test] ", or ",
1884.00 s
[opt-env-conf-test] functionChunk "value",
1884.00 s
[opt-env-conf-test] "."
1884.01 s
[opt-env-conf-test] ]
1884.01 s
[opt-env-conf-test] ]
1884.01 s
[opt-env-conf-test] ]
1884.01 s
[opt-env-conf-test] - LintErrorDashInShort ->
1884.01 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1884.01 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1884.01 s
[opt-env-conf-test] - ]
1884.01 s
[opt-env-conf-test] LintErrorDashInLong s ->
1884.01 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1884.01 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1884.01 s
[opt-env-conf-test] [ "Try ",
1884.01 s
[opt-env-conf-test] functionChunk "long",
1884.01 s
[opt-env-conf-test] " ",
1884.01 s
[opt-env-conf-test] chunk $
1884.01 s
[opt-env-conf-test] T.pack $
1884.01 s
[opt-env-conf-test] show $
1884.01 s
[opt-env-conf-test] let go = \case
1884.01 s
[opt-env-conf-test] [] -> []
1884.01 s
[opt-env-conf-test] '-' : cs -> go cs
1884.01 s
[opt-env-conf-test] c : cs -> c : cs
1884.01 s
[opt-env-conf-test] in go $ NE.toList s,
1884.01 s
[opt-env-conf-test] " instead."
1884.01 s
[opt-env-conf-test] ]
1884.01 s
[opt-env-conf-test] ]
1884.01 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1884.01 s
[opt-env-conf-test] [ [ functionChunk "argument",
1884.01 s
[opt-env-conf-test] " has no ",
1884.01 s
[opt-env-conf-test] functionChunk "reader",
1884.01 s
[opt-env-conf-test] "."
1884.01 s
[opt-env-conf-test] ]
1884.01 s
[opt-env-conf-test] ]
1884.01 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1884.01 s
[opt-env-conf-test] [ [ functionChunk "argument",
1884.01 s
[opt-env-conf-test] " has no ",
1884.01 s
[opt-env-conf-test] functionChunk "metavar",
1884.01 s
[opt-env-conf-test] "."
1884.01 s
[opt-env-conf-test] ]
1884.01 s
[opt-env-conf-test] ]
1884.01 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1884.01 s
[opt-env-conf-test] [ [ functionChunk "option",
1884.01 s
[opt-env-conf-test] " or ",
1884.01 s
[opt-env-conf-test] functionChunk "name",
1884.01 s
[opt-env-conf-test] " has no ",
1884.01 s
[opt-env-conf-test] functionChunk "reader",
1884.01 s
[opt-env-conf-test] "."
1884.01 s
[opt-env-conf-test] ]
1884.01 s
[opt-env-conf-test] ]
1884.01 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1884.01 s
[opt-env-conf-test] [ [ functionChunk "option",
1884.01 s
[opt-env-conf-test] " has no ",
1884.01 s
[opt-env-conf-test] functionChunk "long",
1884.01 s
[opt-env-conf-test] " or ",
1884.01 s
[opt-env-conf-test] functionChunk "short",
1884.01 s
[opt-env-conf-test] "."
1884.01 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1884.02 s
[opt-env-conf-test] [ [ functionChunk "option",
1884.02 s
[opt-env-conf-test] " or ",
1884.02 s
[opt-env-conf-test] functionChunk "name",
1884.02 s
[opt-env-conf-test] " has no ",
1884.02 s
[opt-env-conf-test] functionChunk "metavar",
1884.02 s
[opt-env-conf-test] "."
1884.02 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1884.02 s
[opt-env-conf-test] [ [ functionChunk "switch",
1884.02 s
[opt-env-conf-test] " has no ",
1884.02 s
[opt-env-conf-test] functionChunk "long",
1884.02 s
[opt-env-conf-test] " or ",
1884.02 s
[opt-env-conf-test] functionChunk "short",
1884.02 s
[opt-env-conf-test] "."
1884.02 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1884.02 s
[opt-env-conf-test] [ [ functionChunk "long",
1884.02 s
[opt-env-conf-test] " or ",
1884.02 s
[opt-env-conf-test] functionChunk "short",
1884.02 s
[opt-env-conf-test] " has no ",
1884.02 s
[opt-env-conf-test] functionChunk "option",
1884.02 s
[opt-env-conf-test] " or ",
1884.02 s
[opt-env-conf-test] functionChunk "switch",
1884.02 s
[opt-env-conf-test] "."
1884.02 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1884.02 s
[opt-env-conf-test] [ [ functionChunk "env",
1884.02 s
[opt-env-conf-test] " or ",
1884.02 s
[opt-env-conf-test] functionChunk "name",
1884.02 s
[opt-env-conf-test] " has no ",
1884.02 s
[opt-env-conf-test] functionChunk "reader",
1884.02 s
[opt-env-conf-test] "."
1884.02 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1884.02 s
[opt-env-conf-test] [ [ functionChunk "env",
1884.02 s
[opt-env-conf-test] " or ",
1884.02 s
[opt-env-conf-test] functionChunk "name",
1884.02 s
[opt-env-conf-test] " has no ",
1884.02 s
[opt-env-conf-test] functionChunk "metavar",
1884.02 s
[opt-env-conf-test] "."
1884.02 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] ]
1884.02 s
[opt-env-conf-test] LintErrorNoCommands ->
1884.02 s
[opt-env-conf-test] [ [ functionChunk "commands",
1884.65 s
[opt-env-conf-test] " was called with an empty list."
1884.65 s
[opt-env-conf-test] ]
1884.65 s
[opt-env-conf-test] ]
1884.81 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1884.81 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1884.81 s
[opt-env-conf-test] " was called with an unknown command: ",
1884.81 s
[opt-env-conf-test] commandChunk c
1884.81 s
[opt-env-conf-test] ]
1884.81 s
[opt-env-conf-test] ]
1884.81 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1884.81 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1884.81 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1884.81 s
[opt-env-conf-test] ]
1884.81 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1884.82 s
[opt-env-conf-test] [ [ functionChunk "conf",
1884.82 s
[opt-env-conf-test] " or ",
1884.82 s
[opt-env-conf-test] functionChunk "name",
1884.82 s
[opt-env-conf-test] " was called with no way to load configuration."
1884.82 s
[opt-env-conf-test] ],
1884.82 s
[opt-env-conf-test] [ "You can load configuration with ",
1884.82 s
[opt-env-conf-test] functionChunk "withConfig",
1884.82 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1884.82 s
[opt-env-conf-test] functionChunk "withoutConfig",
1884.82 s
[opt-env-conf-test] "."
1884.82 s
[opt-env-conf-test] ]
1884.82 s
[opt-env-conf-test] ]
1884.82 s
[opt-env-conf-test] LintErrorManyInfinite ->
1884.82 s
[opt-env-conf-test] [ [ functionChunk "many",
1884.82 s
[opt-env-conf-test] " or ",
1884.82 s
[opt-env-conf-test] functionChunk "some",
1884.82 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1884.82 s
[opt-env-conf-test] ],
1884.82 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1884.82 s
[opt-env-conf-test] ],
1884.82 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1884.82 s
[opt-env-conf-test] ]
1884.82 s
[opt-env-conf-test]
1884.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1884.82 s
[opt-env-conf-test] @@ -66,168 +66,162 @@
1884.82 s
[opt-env-conf-test] renderLintError LintError {..} =
1884.82 s
[opt-env-conf-test] concat
1884.82 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1884.82 s
[opt-env-conf-test] case lintErrorMessage of
1884.82 s
[opt-env-conf-test] LintErrorUndocumented ->
1884.82 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1884.82 s
[opt-env-conf-test] LintErrorEmptySetting ->
1884.82 s
[opt-env-conf-test] concat
1884.82 s
[opt-env-conf-test] [ [ [ "This ",
1884.82 s
[opt-env-conf-test] functionChunk "setting",
1884.83 s
[opt-env-conf-test] " parses nothing."
1884.83 s
[opt-env-conf-test] ]
1884.83 s
[opt-env-conf-test] ],
1884.83 s
[opt-env-conf-test] [ [ "Add an ",
1884.83 s
[opt-env-conf-test] functionChunk "argument",
1884.83 s
[opt-env-conf-test] ", ",
1884.83 s
[opt-env-conf-test] functionChunk "switch",
1884.83 s
[opt-env-conf-test] ", ",
1884.83 s
[opt-env-conf-test] functionChunk "option",
1884.83 s
[opt-env-conf-test] ", ",
1884.83 s
[opt-env-conf-test] functionChunk "env",
1884.83 s
[opt-env-conf-test] ", ",
1884.83 s
[opt-env-conf-test] functionChunk "conf",
1884.83 s
[opt-env-conf-test] ", or ",
1884.83 s
[opt-env-conf-test] functionChunk "value",
1884.83 s
[opt-env-conf-test] "."
1884.83 s
[opt-env-conf-test] ]
1884.83 s
[opt-env-conf-test] ]
1884.83 s
[opt-env-conf-test] ]
1884.83 s
[opt-env-conf-test] LintErrorDashInShort ->
1884.83 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1884.83 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1884.83 s
[opt-env-conf-test] ]
1884.83 s
[opt-env-conf-test] LintErrorDashInLong s ->
1884.83 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1884.83 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1884.83 s
[opt-env-conf-test] [ "Try ",
1884.83 s
[opt-env-conf-test] functionChunk "long",
1884.83 s
[opt-env-conf-test] " ",
1884.83 s
[opt-env-conf-test] chunk $
1884.83 s
[opt-env-conf-test] T.pack $
1884.83 s
[opt-env-conf-test] show $
1884.83 s
[opt-env-conf-test] let go = \case
1884.83 s
[opt-env-conf-test] [] -> []
1884.83 s
[opt-env-conf-test] '-' : cs -> go cs
1884.83 s
[opt-env-conf-test] c : cs -> c : cs
1884.83 s
[opt-env-conf-test] in go $ NE.toList s,
1884.83 s
[opt-env-conf-test] " instead."
1884.83 s
[opt-env-conf-test] ]
1884.83 s
[opt-env-conf-test] ]
1884.83 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1884.83 s
[opt-env-conf-test] [ [ functionChunk "argument",
1884.83 s
[opt-env-conf-test] " has no ",
1884.83 s
[opt-env-conf-test] functionChunk "reader",
1884.83 s
[opt-env-conf-test] "."
1884.83 s
[opt-env-conf-test] ]
1884.83 s
[opt-env-conf-test] ]
1884.83 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1884.83 s
[opt-env-conf-test] [ [ functionChunk "argument",
1884.83 s
[opt-env-conf-test] " has no ",
1884.83 s
[opt-env-conf-test] functionChunk "metavar",
1884.83 s
[opt-env-conf-test] "."
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1884.84 s
[opt-env-conf-test] [ [ functionChunk "option",
1884.84 s
[opt-env-conf-test] " or ",
1884.84 s
[opt-env-conf-test] functionChunk "name",
1884.84 s
[opt-env-conf-test] " has no ",
1884.84 s
[opt-env-conf-test] functionChunk "reader",
1884.84 s
[opt-env-conf-test] "."
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1884.84 s
[opt-env-conf-test] [ [ functionChunk "option",
1884.84 s
[opt-env-conf-test] " has no ",
1884.84 s
[opt-env-conf-test] functionChunk "long",
1884.84 s
[opt-env-conf-test] " or ",
1884.84 s
[opt-env-conf-test] functionChunk "short",
1884.84 s
[opt-env-conf-test] "."
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1884.84 s
[opt-env-conf-test] [ [ functionChunk "option",
1884.84 s
[opt-env-conf-test] " or ",
1884.84 s
[opt-env-conf-test] functionChunk "name",
1884.84 s
[opt-env-conf-test] " has no ",
1884.84 s
[opt-env-conf-test] functionChunk "metavar",
1884.84 s
[opt-env-conf-test] "."
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1884.84 s
[opt-env-conf-test] [ [ functionChunk "switch",
1884.84 s
[opt-env-conf-test] " has no ",
1884.84 s
[opt-env-conf-test] functionChunk "long",
1884.84 s
[opt-env-conf-test] " or ",
1884.84 s
[opt-env-conf-test] functionChunk "short",
1884.84 s
[opt-env-conf-test] "."
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1884.84 s
[opt-env-conf-test] [ [ functionChunk "long",
1884.84 s
[opt-env-conf-test] " or ",
1884.84 s
[opt-env-conf-test] functionChunk "short",
1884.84 s
[opt-env-conf-test] " has no ",
1884.84 s
[opt-env-conf-test] functionChunk "option",
1884.84 s
[opt-env-conf-test] " or ",
1884.84 s
[opt-env-conf-test] functionChunk "switch",
1884.84 s
[opt-env-conf-test] "."
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1884.84 s
[opt-env-conf-test] [ [ functionChunk "env",
1884.84 s
[opt-env-conf-test] " or ",
1884.84 s
[opt-env-conf-test] functionChunk "name",
1884.84 s
[opt-env-conf-test] " has no ",
1884.84 s
[opt-env-conf-test] functionChunk "reader",
1884.84 s
[opt-env-conf-test] "."
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] ]
1884.84 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1884.84 s
[opt-env-conf-test] [ [ functionChunk "env",
1884.84 s
[opt-env-conf-test] " or ",
1884.84 s
[opt-env-conf-test] functionChunk "name",
1884.84 s
[opt-env-conf-test] " has no ",
1884.84 s
[opt-env-conf-test] functionChunk "metavar",
1884.84 s
[opt-env-conf-test] "."
1884.84 s
[opt-env-conf-test] ]
1884.85 s
[opt-env-conf-test] ]
1884.85 s
[opt-env-conf-test] LintErrorNoCommands ->
1884.85 s
[opt-env-conf-test] [ [ functionChunk "commands",
1884.85 s
[opt-env-conf-test] " was called with an empty list."
1886.15 s
[opt-env-conf-test] - ]
1886.15 s
[opt-env-conf-test] - ]
1886.15 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
1886.15 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1886.15 s
[opt-env-conf-test] - " was called with an unknown command: ",
1886.15 s
[opt-env-conf-test] - commandChunk c
1886.15 s
[opt-env-conf-test] ]
1886.15 s
[opt-env-conf-test] ]
1886.15 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1886.15 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1886.15 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1886.15 s
[opt-env-conf-test] ]
1886.15 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1886.15 s
[opt-env-conf-test] [ [ functionChunk "conf",
1886.15 s
[opt-env-conf-test] " or ",
1886.15 s
[opt-env-conf-test] functionChunk "name",
1886.15 s
[opt-env-conf-test] " was called with no way to load configuration."
1886.15 s
[opt-env-conf-test] ],
1886.15 s
[opt-env-conf-test] [ "You can load configuration with ",
1886.15 s
[opt-env-conf-test] functionChunk "withConfig",
1886.15 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1886.15 s
[opt-env-conf-test] functionChunk "withoutConfig",
1886.15 s
[opt-env-conf-test] "."
1886.15 s
[opt-env-conf-test] ]
1886.15 s
[opt-env-conf-test] ]
1886.15 s
[opt-env-conf-test] LintErrorManyInfinite ->
1886.15 s
[opt-env-conf-test] [ [ functionChunk "many",
1886.16 s
[opt-env-conf-test] " or ",
1886.16 s
[opt-env-conf-test] functionChunk "some",
1886.16 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1886.16 s
[opt-env-conf-test] ],
1886.16 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1886.16 s
[opt-env-conf-test] ],
1886.16 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1886.16 s
[opt-env-conf-test] ]
1886.16 s
[opt-env-conf-test]
1886.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
1886.16 s
[opt-env-conf-test] @@ -59,9 +59,8 @@
1886.16 s
[opt-env-conf-test] --
1886.16 s
[opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
1886.16 s
[opt-env-conf-test] auto :: (Read a) => Reader a
1886.16 s
[opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
1886.16 s
[opt-env-conf-test] Nothing -> Left $ "Un-Read-able value: " <> show s
1886.16 s
[opt-env-conf-test] - Just a -> Right a
1886.16 s
[opt-env-conf-test]
1886.16 s
[opt-env-conf-test] -- | Always return True
1886.16 s
[opt-env-conf-test] --
1886.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1886.16 s
[opt-env-conf-test] @@ -66,168 +66,145 @@
1886.16 s
[opt-env-conf-test] renderLintError LintError {..} =
1886.16 s
[opt-env-conf-test] concat
1886.16 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1886.16 s
[opt-env-conf-test] case lintErrorMessage of
1886.16 s
[opt-env-conf-test] LintErrorUndocumented ->
1886.16 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1886.16 s
[opt-env-conf-test] - LintErrorEmptySetting ->
1886.16 s
[opt-env-conf-test] - concat
1886.16 s
[opt-env-conf-test] - [ [ [ "This ",
1886.16 s
[opt-env-conf-test] - functionChunk "setting",
1886.16 s
[opt-env-conf-test] - " parses nothing."
1886.16 s
[opt-env-conf-test] - ]
1886.16 s
[opt-env-conf-test] - ],
1886.16 s
[opt-env-conf-test] - [ [ "Add an ",
1886.16 s
[opt-env-conf-test] - functionChunk "argument",
1886.16 s
[opt-env-conf-test] - ", ",
1886.16 s
[opt-env-conf-test] - functionChunk "switch",
1886.16 s
[opt-env-conf-test] - ", ",
1886.16 s
[opt-env-conf-test] - functionChunk "option",
1886.16 s
[opt-env-conf-test] - ", ",
1886.16 s
[opt-env-conf-test] - functionChunk "env",
1886.16 s
[opt-env-conf-test] - ", ",
1886.16 s
[opt-env-conf-test] - functionChunk "conf",
1886.16 s
[opt-env-conf-test] - ", or ",
1886.17 s
[opt-env-conf-test] - functionChunk "value",
1886.17 s
[opt-env-conf-test] - "."
1886.17 s
[opt-env-conf-test] - ]
1886.17 s
[opt-env-conf-test] - ]
1886.17 s
[opt-env-conf-test] - ]
1886.17 s
[opt-env-conf-test] LintErrorDashInShort ->
1886.17 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1886.17 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1886.17 s
[opt-env-conf-test] ]
1886.17 s
[opt-env-conf-test] LintErrorDashInLong s ->
1886.17 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1886.17 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1886.17 s
[opt-env-conf-test] [ "Try ",
1886.17 s
[opt-env-conf-test] functionChunk "long",
1886.17 s
[opt-env-conf-test] " ",
1886.17 s
[opt-env-conf-test] chunk $
1886.17 s
[opt-env-conf-test] T.pack $
1886.17 s
[opt-env-conf-test] show $
1886.17 s
[opt-env-conf-test] let go = \case
1886.17 s
[opt-env-conf-test] [] -> []
1886.17 s
[opt-env-conf-test] '-' : cs -> go cs
1886.17 s
[opt-env-conf-test] c : cs -> c : cs
1886.17 s
[opt-env-conf-test] in go $ NE.toList s,
1886.17 s
[opt-env-conf-test] " instead."
1886.17 s
[opt-env-conf-test] ]
1886.17 s
[opt-env-conf-test] ]
1886.17 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1886.17 s
[opt-env-conf-test] [ [ functionChunk "argument",
1886.17 s
[opt-env-conf-test] " has no ",
1886.17 s
[opt-env-conf-test] functionChunk "reader",
1886.17 s
[opt-env-conf-test] "."
1886.17 s
[opt-env-conf-test] ]
1886.17 s
[opt-env-conf-test] ]
1886.17 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1886.17 s
[opt-env-conf-test] [ [ functionChunk "argument",
1886.17 s
[opt-env-conf-test] " has no ",
1886.17 s
[opt-env-conf-test] functionChunk "metavar",
1886.17 s
[opt-env-conf-test] "."
1886.17 s
[opt-env-conf-test] ]
1886.17 s
[opt-env-conf-test] ]
1886.17 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1886.17 s
[opt-env-conf-test] [ [ functionChunk "option",
1886.17 s
[opt-env-conf-test] " or ",
1886.17 s
[opt-env-conf-test] functionChunk "name",
1886.17 s
[opt-env-conf-test] " has no ",
1886.17 s
[opt-env-conf-test] functionChunk "reader",
1886.17 s
[opt-env-conf-test] "."
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1886.18 s
[opt-env-conf-test] [ [ functionChunk "option",
1886.18 s
[opt-env-conf-test] " has no ",
1886.18 s
[opt-env-conf-test] functionChunk "long",
1886.18 s
[opt-env-conf-test] " or ",
1886.18 s
[opt-env-conf-test] functionChunk "short",
1886.18 s
[opt-env-conf-test] "."
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1886.18 s
[opt-env-conf-test] [ [ functionChunk "option",
1886.18 s
[opt-env-conf-test] " or ",
1886.18 s
[opt-env-conf-test] functionChunk "name",
1886.18 s
[opt-env-conf-test] " has no ",
1886.18 s
[opt-env-conf-test] functionChunk "metavar",
1886.18 s
[opt-env-conf-test] "."
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1886.18 s
[opt-env-conf-test] [ [ functionChunk "switch",
1886.18 s
[opt-env-conf-test] " has no ",
1886.18 s
[opt-env-conf-test] functionChunk "long",
1886.18 s
[opt-env-conf-test] " or ",
1886.18 s
[opt-env-conf-test] functionChunk "short",
1886.18 s
[opt-env-conf-test] "."
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1886.18 s
[opt-env-conf-test] [ [ functionChunk "long",
1886.18 s
[opt-env-conf-test] " or ",
1886.18 s
[opt-env-conf-test] functionChunk "short",
1886.18 s
[opt-env-conf-test] " has no ",
1886.18 s
[opt-env-conf-test] functionChunk "option",
1886.18 s
[opt-env-conf-test] " or ",
1886.18 s
[opt-env-conf-test] functionChunk "switch",
1886.18 s
[opt-env-conf-test] "."
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1886.18 s
[opt-env-conf-test] [ [ functionChunk "env",
1886.18 s
[opt-env-conf-test] " or ",
1886.18 s
[opt-env-conf-test] functionChunk "name",
1886.18 s
[opt-env-conf-test] " has no ",
1886.18 s
[opt-env-conf-test] functionChunk "reader",
1886.18 s
[opt-env-conf-test] "."
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] ]
1886.18 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1886.18 s
[opt-env-conf-test] [ [ functionChunk "env",
1886.18 s
[opt-env-conf-test] " or ",
1886.18 s
[opt-env-conf-test] functionChunk "name",
1886.18 s
[opt-env-conf-test] " has no ",
1890.89 s
[opt-env-conf-test] functionChunk "metavar",
1890.89 s
[opt-env-conf-test] "."
1890.89 s
[opt-env-conf-test] ]
1890.96 s
[opt-env-conf-test] ]
1890.96 s
[opt-env-conf-test] LintErrorNoCommands ->
1890.96 s
[opt-env-conf-test] [ [ functionChunk "commands",
1890.96 s
[opt-env-conf-test] " was called with an empty list."
1890.96 s
[opt-env-conf-test] ]
1890.96 s
[opt-env-conf-test] ]
1890.96 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1890.96 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1890.96 s
[opt-env-conf-test] " was called with an unknown command: ",
1890.96 s
[opt-env-conf-test] commandChunk c
1890.96 s
[opt-env-conf-test] ]
1890.96 s
[opt-env-conf-test] ]
1890.97 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1890.97 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1890.97 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1890.97 s
[opt-env-conf-test] ]
1890.97 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1890.97 s
[opt-env-conf-test] [ [ functionChunk "conf",
1890.97 s
[opt-env-conf-test] " or ",
1890.97 s
[opt-env-conf-test] functionChunk "name",
1890.97 s
[opt-env-conf-test] " was called with no way to load configuration."
1890.97 s
[opt-env-conf-test] ],
1890.97 s
[opt-env-conf-test] [ "You can load configuration with ",
1890.97 s
[opt-env-conf-test] functionChunk "withConfig",
1890.97 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1890.97 s
[opt-env-conf-test] functionChunk "withoutConfig",
1890.97 s
[opt-env-conf-test] "."
1890.97 s
[opt-env-conf-test] ]
1890.97 s
[opt-env-conf-test] ]
1890.97 s
[opt-env-conf-test] LintErrorManyInfinite ->
1890.97 s
[opt-env-conf-test] [ [ functionChunk "many",
1890.97 s
[opt-env-conf-test] " or ",
1890.97 s
[opt-env-conf-test] functionChunk "some",
1890.97 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1890.97 s
[opt-env-conf-test] ],
1890.97 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1890.97 s
[opt-env-conf-test] ],
1890.97 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1890.97 s
[opt-env-conf-test] ]
1890.97 s
[opt-env-conf-test]
1890.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
1890.97 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1890.97 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1890.97 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1890.97 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1890.97 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1890.97 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1890.97 s
[opt-env-conf-test] goCommand = go . commandParser
1890.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1890.97 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1890.97 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1890.97 s
[opt-env-conf-test]
1890.97 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1890.97 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1890.97 s
[opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1890.97 s
[opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
1890.97 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1890.97 s
[opt-env-conf-test] goCommand = go . commandParser
1890.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1890.97 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1890.97 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1890.97 s
[opt-env-conf-test]
1890.97 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1890.97 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1890.98 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1890.98 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1890.98 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1890.98 s
[opt-env-conf-test] goCommand = go . commandParser
1890.98 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:90:47-55
1890.98 s
[opt-env-conf-test] @@ -87,7 +87,7 @@
1890.98 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1890.98 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1890.98 s
[opt-env-conf-test] (Nothing, _) -> o2
1890.98 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = J u st ot 1 }
1890.98 s
[opt-env-conf-test] + (Just ot1, Nothing) -> o2 {optionType = N ot hin g }
1890.98 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1890.98 s
[opt-env-conf-test]
1890.98 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1890.98 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1890.98 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1890.98 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1890.98 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1890.98 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1890.98 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1890.98 s
[opt-env-conf-test] - (Nothing, _) -> o2
1890.98 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1890.98 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1890.98 s
[opt-env-conf-test]
1890.98 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1890.98 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1890.98 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1890.98 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1890.98 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1890.98 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1890.98 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1890.98 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1890.98 s
[opt-env-conf-test] (Nothing, _) -> o2
1890.98 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1890.98 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1890.98 s
[opt-env-conf-test]
1890.98 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1890.98 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1890.98 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1890.98 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1890.98 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1890.98 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1890.98 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1890.98 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1890.98 s
[opt-env-conf-test] (Nothing, _) -> o2
1890.98 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1890.98 s
[opt-env-conf-test] - (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1890.98 s
[opt-env-conf-test]
1890.98 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1890.98 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1890.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1890.98 s
[opt-env-conf-test] @@ -146,13 +146,12 @@
1890.98 s
[opt-env-conf-test] ]
1890.98 s
[opt-env-conf-test] ]
1890.98 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1890.98 s
[opt-env-conf-test] - [ [ functionChunk "option",
1890.98 s
[opt-env-conf-test] " or ",
1890.98 s
[opt-env-conf-test] functionChunk "name",
1890.98 s
[opt-env-conf-test] " has no ",
1890.98 s
[opt-env-conf-test] functionChunk "metavar",
1890.98 s
[opt-env-conf-test] "."
1890.98 s
[opt-env-conf-test] ]
1890.98 s
[opt-env-conf-test] ]
1890.98 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1890.98 s
[opt-env-conf-test] [ [ functionChunk "switch",
1890.98 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:85:69-97
1890.98 s
[opt-env-conf-test] @@ -82,7 +82,7 @@
1890.98 s
[opt-env-conf-test] in objectCodecNixOptions oc
1890.99 s
[opt-env-conf-test] Just rest ->
1890.99 s
[opt-env-conf-test] let m = go' rest
1890.99 s
[opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = J u s t ( Op t i o n T y peSubmo dule m ) }
1890.99 s
[opt-env-conf-test] + in M.singleton p $ emptyOption {optionType = N o t h i n g }
1890.99 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1890.99 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1890.99 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1890.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
1890.99 s
[opt-env-conf-test] @@ -72,17 +72,10 @@
1890.99 s
[opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
1890.99 s
[opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
1890.99 s
[opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
1890.99 s
[opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
1890.99 s
[opt-env-conf-test] - Nothing ->
1890.99 s
[opt-env-conf-test] - let oc =
1890.99 s
[opt-env-conf-test] - maybe
1890.99 s
[opt-env-conf-test] - (optionalFieldWith' p configValSettingCodec)
1890.99 s
[opt-env-conf-test] - (optionalFieldWith p configValSettingCodec)
1890.99 s
[opt-env-conf-test] - (T.pack <$> settingHelp s)
1890.99 s
[opt-env-conf-test] - in objectCodecNixOptions oc
1890.99 s
[opt-env-conf-test] Just rest ->
1890.99 s
[opt-env-conf-test] let m = go' rest
1890.99 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1890.99 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1890.99 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1890.99 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1891.15 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Reader.hs:70:32-36
1891.15 s
[opt-env-conf-test] @@ -67,7 +67,7 @@
1891.15 s
[opt-env-conf-test] --
1891.15 s
[opt-env-conf-test] -- > exists = Reader $ const $ pure True
1891.15 s
[opt-env-conf-test] exists :: Reader Bool
1891.15 s
[opt-env-conf-test] - exists = Reader $ const $ pure Tr u e
1891.16 s
[opt-env-conf-test] + exists = Reader $ const $ pure F a ls e
1891.16 s
[opt-env-conf-test]
1891.16 s
[opt-env-conf-test] -- | Read a value as if it were specified as a 'String' and parsed via the given 'Codec'.
1891.16 s
[opt-env-conf-test] viaStringCodec :: (HasCodec a) => Reader a
1891.16 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
1891.16 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1891.16 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1891.16 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1891.16 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1891.16 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1891.16 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1891.16 s
[opt-env-conf-test] goCommand = go . commandParser
1891.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
1891.16 s
[opt-env-conf-test] @@ -75,9 +75,8 @@
1891.16 s
[opt-env-conf-test]
1891.16 s
[opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
1891.16 s
[opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
1891.16 s
[opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
1891.16 s
[opt-env-conf-test] - Nothing -> Left $ "Unparseable value: " <> show s
1891.16 s
[opt-env-conf-test] Just a -> Right a
1891.16 s
[opt-env-conf-test]
1891.16 s
[opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
1891.16 s
[opt-env-conf-test] --
1891.16 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1891.16 s
[opt-env-conf-test] @@ -65,171 +65,170 @@
1891.16 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1891.16 s
[opt-env-conf-test] renderLintError LintError {..} =
1891.16 s
[opt-env-conf-test] concat
1891.16 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1891.16 s
[opt-env-conf-test] case lintErrorMessage of
1891.16 s
[opt-env-conf-test] LintErrorUndocumented ->
1891.16 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1891.16 s
[opt-env-conf-test] LintErrorEmptySetting ->
1891.16 s
[opt-env-conf-test] concat
1891.16 s
[opt-env-conf-test] [ [ [ "This ",
1891.16 s
[opt-env-conf-test] functionChunk "setting",
1891.16 s
[opt-env-conf-test] " parses nothing."
1891.16 s
[opt-env-conf-test] ]
1891.16 s
[opt-env-conf-test] ],
1891.16 s
[opt-env-conf-test] [ [ "Add an ",
1891.16 s
[opt-env-conf-test] functionChunk "argument",
1891.16 s
[opt-env-conf-test] ", ",
1891.17 s
[opt-env-conf-test] functionChunk "switch",
1891.17 s
[opt-env-conf-test] ", ",
1891.17 s
[opt-env-conf-test] functionChunk "option",
1891.17 s
[opt-env-conf-test] ", ",
1891.17 s
[opt-env-conf-test] functionChunk "env",
1891.17 s
[opt-env-conf-test] ", ",
1891.17 s
[opt-env-conf-test] functionChunk "conf",
1891.17 s
[opt-env-conf-test] ", or ",
1891.17 s
[opt-env-conf-test] functionChunk "value",
1891.17 s
[opt-env-conf-test] "."
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] LintErrorDashInShort ->
1891.17 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1891.17 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] LintErrorDashInLong s ->
1891.17 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1891.17 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1891.17 s
[opt-env-conf-test] [ "Try ",
1891.17 s
[opt-env-conf-test] functionChunk "long",
1891.17 s
[opt-env-conf-test] " ",
1891.17 s
[opt-env-conf-test] chunk $
1891.17 s
[opt-env-conf-test] T.pack $
1891.17 s
[opt-env-conf-test] show $
1891.17 s
[opt-env-conf-test] let go = \case
1891.17 s
[opt-env-conf-test] [] -> []
1891.17 s
[opt-env-conf-test] '-' : cs -> go cs
1891.17 s
[opt-env-conf-test] c : cs -> c : cs
1891.17 s
[opt-env-conf-test] in go $ NE.toList s,
1891.17 s
[opt-env-conf-test] " instead."
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1891.17 s
[opt-env-conf-test] [ [ functionChunk "argument",
1891.17 s
[opt-env-conf-test] " has no ",
1891.17 s
[opt-env-conf-test] functionChunk "reader",
1891.17 s
[opt-env-conf-test] "."
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1891.17 s
[opt-env-conf-test] [ [ functionChunk "argument",
1891.17 s
[opt-env-conf-test] " has no ",
1891.17 s
[opt-env-conf-test] functionChunk "metavar",
1891.17 s
[opt-env-conf-test] "."
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1891.17 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.17 s
[opt-env-conf-test] " or ",
1891.17 s
[opt-env-conf-test] functionChunk "name",
1891.17 s
[opt-env-conf-test] " has no ",
1891.17 s
[opt-env-conf-test] functionChunk "reader",
1891.17 s
[opt-env-conf-test] "."
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1891.17 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.17 s
[opt-env-conf-test] " has no ",
1891.17 s
[opt-env-conf-test] functionChunk "long",
1891.17 s
[opt-env-conf-test] " or ",
1891.17 s
[opt-env-conf-test] functionChunk "short",
1891.17 s
[opt-env-conf-test] "."
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1891.17 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.17 s
[opt-env-conf-test] " or ",
1891.17 s
[opt-env-conf-test] functionChunk "name",
1891.17 s
[opt-env-conf-test] " has no ",
1891.17 s
[opt-env-conf-test] functionChunk "metavar",
1891.17 s
[opt-env-conf-test] "."
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] ]
1891.17 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1891.17 s
[opt-env-conf-test] [ [ functionChunk "switch",
1891.18 s
[opt-env-conf-test] " has no ",
1891.18 s
[opt-env-conf-test] functionChunk "long",
1891.18 s
[opt-env-conf-test] " or ",
1891.18 s
[opt-env-conf-test] functionChunk "short",
1891.18 s
[opt-env-conf-test] "."
1891.18 s
[opt-env-conf-test] ]
1891.18 s
[opt-env-conf-test] ]
1891.18 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1891.18 s
[opt-env-conf-test] [ [ functionChunk "long",
1891.18 s
[opt-env-conf-test] " or ",
1891.18 s
[opt-env-conf-test] functionChunk "short",
1891.18 s
[opt-env-conf-test] " has no ",
1891.18 s
[opt-env-conf-test] functionChunk "option",
1891.18 s
[opt-env-conf-test] " or ",
1891.18 s
[opt-env-conf-test] functionChunk "switch",
1891.18 s
[opt-env-conf-test] "."
1891.18 s
[opt-env-conf-test] ]
1891.18 s
[opt-env-conf-test] ]
1891.18 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1891.18 s
[opt-env-conf-test] [ [ functionChunk "env",
1891.18 s
[opt-env-conf-test] " or ",
1891.18 s
[opt-env-conf-test] functionChunk "name",
1891.18 s
[opt-env-conf-test] " has no ",
1891.18 s
[opt-env-conf-test] functionChunk "reader",
1891.18 s
[opt-env-conf-test] "."
1891.18 s
[opt-env-conf-test] ]
1891.18 s
[opt-env-conf-test] ]
1891.18 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1891.18 s
[opt-env-conf-test] [ [ functionChunk "env",
1891.18 s
[opt-env-conf-test] " or ",
1891.18 s
[opt-env-conf-test] functionChunk "name",
1891.18 s
[opt-env-conf-test] " has no ",
1891.18 s
[opt-env-conf-test] functionChunk "metavar",
1891.18 s
[opt-env-conf-test] "."
1891.18 s
[opt-env-conf-test] ]
1891.18 s
[opt-env-conf-test] ]
1891.18 s
[opt-env-conf-test] LintErrorNoCommands ->
1891.18 s
[opt-env-conf-test] [ [ functionChunk "commands",
1891.74 s
[opt-env-conf-test] " was called with an empty list."
1891.74 s
[opt-env-conf-test] ]
1891.74 s
[opt-env-conf-test] ]
1891.74 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1891.74 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1891.74 s
[opt-env-conf-test] " was called with an unknown command: ",
1891.74 s
[opt-env-conf-test] commandChunk c
1891.74 s
[opt-env-conf-test] ]
1891.74 s
[opt-env-conf-test] ]
1891.74 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1891.74 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1891.74 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1891.74 s
[opt-env-conf-test] ]
1891.74 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1891.75 s
[opt-env-conf-test] [ [ functionChunk "conf",
1891.75 s
[opt-env-conf-test] " or ",
1891.75 s
[opt-env-conf-test] functionChunk "name",
1891.75 s
[opt-env-conf-test] " was called with no way to load configuration."
1891.75 s
[opt-env-conf-test] ],
1891.75 s
[opt-env-conf-test] [ "You can load configuration with ",
1891.75 s
[opt-env-conf-test] functionChunk "withConfig",
1891.75 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1891.75 s
[opt-env-conf-test] functionChunk "withoutConfig",
1891.75 s
[opt-env-conf-test] "."
1891.75 s
[opt-env-conf-test] ]
1891.75 s
[opt-env-conf-test] ]
1891.75 s
[opt-env-conf-test] LintErrorManyInfinite ->
1891.75 s
[opt-env-conf-test] [ [ functionChunk "many",
1891.75 s
[opt-env-conf-test] " or ",
1891.75 s
[opt-env-conf-test] functionChunk "some",
1891.75 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1891.75 s
[opt-env-conf-test] ],
1891.75 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1891.75 s
[opt-env-conf-test] ],
1891.75 s
[opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1891.75 s
[opt-env-conf-test] ]
1891.75 s
[opt-env-conf-test]
1891.75 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1891.75 s
[opt-env-conf-test] lintParser =
1891.75 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1891.75 s
[opt-env-conf-test] @@ -65,171 +65,170 @@
1891.75 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1891.75 s
[opt-env-conf-test] renderLintError LintError {..} =
1891.75 s
[opt-env-conf-test] concat
1891.75 s
[opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
1891.75 s
[opt-env-conf-test] case lintErrorMessage of
1891.75 s
[opt-env-conf-test] LintErrorUndocumented ->
1891.75 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1891.75 s
[opt-env-conf-test] LintErrorEmptySetting ->
1891.75 s
[opt-env-conf-test] concat
1891.75 s
[opt-env-conf-test] [ [ [ "This ",
1891.75 s
[opt-env-conf-test] functionChunk "setting",
1891.75 s
[opt-env-conf-test] " parses nothing."
1891.75 s
[opt-env-conf-test] ]
1891.75 s
[opt-env-conf-test] ],
1891.75 s
[opt-env-conf-test] [ [ "Add an ",
1891.75 s
[opt-env-conf-test] functionChunk "argument",
1891.75 s
[opt-env-conf-test] ", ",
1891.75 s
[opt-env-conf-test] functionChunk "switch",
1891.75 s
[opt-env-conf-test] ", ",
1891.75 s
[opt-env-conf-test] functionChunk "option",
1891.75 s
[opt-env-conf-test] ", ",
1891.76 s
[opt-env-conf-test] functionChunk "env",
1891.76 s
[opt-env-conf-test] ", ",
1891.76 s
[opt-env-conf-test] functionChunk "conf",
1891.76 s
[opt-env-conf-test] ", or ",
1891.76 s
[opt-env-conf-test] functionChunk "value",
1891.76 s
[opt-env-conf-test] "."
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] LintErrorDashInShort ->
1891.76 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1891.76 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] LintErrorDashInLong s ->
1891.76 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1891.76 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1891.76 s
[opt-env-conf-test] [ "Try ",
1891.76 s
[opt-env-conf-test] functionChunk "long",
1891.76 s
[opt-env-conf-test] " ",
1891.76 s
[opt-env-conf-test] chunk $
1891.76 s
[opt-env-conf-test] T.pack $
1891.76 s
[opt-env-conf-test] show $
1891.76 s
[opt-env-conf-test] let go = \case
1891.76 s
[opt-env-conf-test] [] -> []
1891.76 s
[opt-env-conf-test] '-' : cs -> go cs
1891.76 s
[opt-env-conf-test] c : cs -> c : cs
1891.76 s
[opt-env-conf-test] in go $ NE.toList s,
1891.76 s
[opt-env-conf-test] " instead."
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1891.76 s
[opt-env-conf-test] [ [ functionChunk "argument",
1891.76 s
[opt-env-conf-test] " has no ",
1891.76 s
[opt-env-conf-test] functionChunk "reader",
1891.76 s
[opt-env-conf-test] "."
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1891.76 s
[opt-env-conf-test] [ [ functionChunk "argument",
1891.76 s
[opt-env-conf-test] " has no ",
1891.76 s
[opt-env-conf-test] functionChunk "metavar",
1891.76 s
[opt-env-conf-test] "."
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1891.76 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.76 s
[opt-env-conf-test] " or ",
1891.76 s
[opt-env-conf-test] functionChunk "name",
1891.76 s
[opt-env-conf-test] " has no ",
1891.76 s
[opt-env-conf-test] functionChunk "reader",
1891.76 s
[opt-env-conf-test] "."
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] ]
1891.76 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1891.76 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.76 s
[opt-env-conf-test] " has no ",
1891.76 s
[opt-env-conf-test] functionChunk "long",
1891.76 s
[opt-env-conf-test] " or ",
1891.76 s
[opt-env-conf-test] functionChunk "short",
1891.76 s
[opt-env-conf-test] "."
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1891.77 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.77 s
[opt-env-conf-test] " or ",
1891.77 s
[opt-env-conf-test] functionChunk "name",
1891.77 s
[opt-env-conf-test] " has no ",
1891.77 s
[opt-env-conf-test] functionChunk "metavar",
1891.77 s
[opt-env-conf-test] "."
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1891.77 s
[opt-env-conf-test] [ [ functionChunk "switch",
1891.77 s
[opt-env-conf-test] " has no ",
1891.77 s
[opt-env-conf-test] functionChunk "long",
1891.77 s
[opt-env-conf-test] " or ",
1891.77 s
[opt-env-conf-test] functionChunk "short",
1891.77 s
[opt-env-conf-test] "."
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1891.77 s
[opt-env-conf-test] [ [ functionChunk "long",
1891.77 s
[opt-env-conf-test] " or ",
1891.77 s
[opt-env-conf-test] functionChunk "short",
1891.77 s
[opt-env-conf-test] " has no ",
1891.77 s
[opt-env-conf-test] functionChunk "option",
1891.77 s
[opt-env-conf-test] " or ",
1891.77 s
[opt-env-conf-test] functionChunk "switch",
1891.77 s
[opt-env-conf-test] "."
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1891.77 s
[opt-env-conf-test] [ [ functionChunk "env",
1891.77 s
[opt-env-conf-test] " or ",
1891.77 s
[opt-env-conf-test] functionChunk "name",
1891.77 s
[opt-env-conf-test] " has no ",
1891.77 s
[opt-env-conf-test] functionChunk "reader",
1891.77 s
[opt-env-conf-test] "."
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1891.77 s
[opt-env-conf-test] [ [ functionChunk "env",
1891.77 s
[opt-env-conf-test] " or ",
1891.77 s
[opt-env-conf-test] functionChunk "name",
1891.77 s
[opt-env-conf-test] " has no ",
1891.77 s
[opt-env-conf-test] functionChunk "metavar",
1891.77 s
[opt-env-conf-test] "."
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] ]
1891.77 s
[opt-env-conf-test] LintErrorNoCommands ->
1891.77 s
[opt-env-conf-test] [ [ functionChunk "commands",
1891.80 s
[opt-env-conf-test] " was called with an empty list."
1891.80 s
[opt-env-conf-test] ]
1891.80 s
[opt-env-conf-test] ]
1891.80 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1891.80 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1891.80 s
[opt-env-conf-test] " was called with an unknown command: ",
1891.80 s
[opt-env-conf-test] commandChunk c
1891.80 s
[opt-env-conf-test] ]
1891.80 s
[opt-env-conf-test] ]
1891.80 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1891.80 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1891.80 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1891.80 s
[opt-env-conf-test] ]
1891.80 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1891.80 s
[opt-env-conf-test] [ [ functionChunk "conf",
1891.80 s
[opt-env-conf-test] " or ",
1891.80 s
[opt-env-conf-test] functionChunk "name",
1891.80 s
[opt-env-conf-test] " was called with no way to load configuration."
1891.80 s
[opt-env-conf-test] ],
1891.80 s
[opt-env-conf-test] [ "You can load configuration with ",
1891.80 s
[opt-env-conf-test] functionChunk "withConfig",
1891.80 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1891.80 s
[opt-env-conf-test] functionChunk "withoutConfig",
1891.80 s
[opt-env-conf-test] "."
1891.80 s
[opt-env-conf-test] ]
1891.80 s
[opt-env-conf-test] ]
1891.80 s
[opt-env-conf-test] LintErrorManyInfinite ->
1891.80 s
[opt-env-conf-test] [ [ functionChunk "many",
1891.80 s
[opt-env-conf-test] " or ",
1891.80 s
[opt-env-conf-test] functionChunk "some",
1891.80 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1891.80 s
[opt-env-conf-test] ],
1891.80 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1891.81 s
[opt-env-conf-test] ],
1891.81 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1891.81 s
[opt-env-conf-test] ]
1891.81 s
[opt-env-conf-test]
1891.81 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1891.81 s
[opt-env-conf-test] lintParser =
1891.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1891.81 s
[opt-env-conf-test] @@ -65,171 +65,7 @@
1891.81 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1891.81 s
[opt-env-conf-test] renderLintError LintError {..} =
1891.81 s
[opt-env-conf-test] concat
1891.81 s
[opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
1891.81 s
[opt-env-conf-test] - case lintErrorMessage of
1891.81 s
[opt-env-conf-test] - LintErrorUndocumented ->
1891.81 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1891.81 s
[opt-env-conf-test] - LintErrorEmptySetting ->
1891.81 s
[opt-env-conf-test] - concat
1891.81 s
[opt-env-conf-test] - [ [ [ "This ",
1891.81 s
[opt-env-conf-test] - functionChunk "setting",
1891.81 s
[opt-env-conf-test] - " parses nothing."
1891.81 s
[opt-env-conf-test] - ]
1891.81 s
[opt-env-conf-test] - ],
1891.81 s
[opt-env-conf-test] - [ [ "Add an ",
1891.81 s
[opt-env-conf-test] - functionChunk "argument",
1891.81 s
[opt-env-conf-test] - ", ",
1891.81 s
[opt-env-conf-test] - functionChunk "switch",
1891.81 s
[opt-env-conf-test] - ", ",
1891.81 s
[opt-env-conf-test] - functionChunk "option",
1891.81 s
[opt-env-conf-test] - ", ",
1891.81 s
[opt-env-conf-test] - functionChunk "env",
1891.81 s
[opt-env-conf-test] - ", ",
1891.81 s
[opt-env-conf-test] - functionChunk "conf",
1891.81 s
[opt-env-conf-test] - ", or ",
1891.81 s
[opt-env-conf-test] - functionChunk "value",
1891.81 s
[opt-env-conf-test] - "."
1891.81 s
[opt-env-conf-test] - ]
1891.81 s
[opt-env-conf-test] - ]
1891.81 s
[opt-env-conf-test] - ]
1891.81 s
[opt-env-conf-test] - LintErrorDashInShort ->
1891.81 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1891.81 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1891.81 s
[opt-env-conf-test] - ]
1891.81 s
[opt-env-conf-test] - LintErrorDashInLong s ->
1891.81 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1891.81 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1891.81 s
[opt-env-conf-test] - [ "Try ",
1891.81 s
[opt-env-conf-test] - functionChunk "long",
1891.81 s
[opt-env-conf-test] - " ",
1891.81 s
[opt-env-conf-test] - chunk $
1891.81 s
[opt-env-conf-test] - T.pack $
1891.81 s
[opt-env-conf-test] - show $
1891.82 s
[opt-env-conf-test] - let go = \case
1891.82 s
[opt-env-conf-test] - [] -> []
1891.82 s
[opt-env-conf-test] - '-' : cs -> go cs
1891.82 s
[opt-env-conf-test] - c : cs -> c : cs
1891.82 s
[opt-env-conf-test] - in go $ NE.toList s,
1891.82 s
[opt-env-conf-test] - " instead."
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - LintErrorNoReaderForArgument ->
1891.82 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1891.82 s
[opt-env-conf-test] - " has no ",
1891.82 s
[opt-env-conf-test] - functionChunk "reader",
1891.82 s
[opt-env-conf-test] - "."
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - LintErrorNoMetavarForArgument ->
1891.82 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1891.82 s
[opt-env-conf-test] - " has no ",
1891.82 s
[opt-env-conf-test] - functionChunk "metavar",
1891.82 s
[opt-env-conf-test] - "."
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - LintErrorNoReaderForOption ->
1891.82 s
[opt-env-conf-test] - [ [ functionChunk "option",
1891.82 s
[opt-env-conf-test] - " or ",
1891.82 s
[opt-env-conf-test] - functionChunk "name",
1891.82 s
[opt-env-conf-test] - " has no ",
1891.82 s
[opt-env-conf-test] - functionChunk "reader",
1891.82 s
[opt-env-conf-test] - "."
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - LintErrorNoDashedForOption ->
1891.82 s
[opt-env-conf-test] - [ [ functionChunk "option",
1891.82 s
[opt-env-conf-test] - " has no ",
1891.82 s
[opt-env-conf-test] - functionChunk "long",
1891.82 s
[opt-env-conf-test] - " or ",
1891.82 s
[opt-env-conf-test] - functionChunk "short",
1891.82 s
[opt-env-conf-test] - "."
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - LintErrorNoMetavarForOption ->
1891.82 s
[opt-env-conf-test] - [ [ functionChunk "option",
1891.82 s
[opt-env-conf-test] - " or ",
1891.82 s
[opt-env-conf-test] - functionChunk "name",
1891.82 s
[opt-env-conf-test] - " has no ",
1891.82 s
[opt-env-conf-test] - functionChunk "metavar",
1891.82 s
[opt-env-conf-test] - "."
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - LintErrorNoDashedForSwitch ->
1891.82 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1891.82 s
[opt-env-conf-test] - " has no ",
1891.82 s
[opt-env-conf-test] - functionChunk "long",
1891.82 s
[opt-env-conf-test] - " or ",
1891.82 s
[opt-env-conf-test] - functionChunk "short",
1891.82 s
[opt-env-conf-test] - "."
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - ]
1891.82 s
[opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
1891.82 s
[opt-env-conf-test] - [ [ functionChunk "long",
1891.82 s
[opt-env-conf-test] - " or ",
1891.82 s
[opt-env-conf-test] - functionChunk "short",
1891.82 s
[opt-env-conf-test] - " has no ",
1891.82 s
[opt-env-conf-test] - functionChunk "option",
1891.82 s
[opt-env-conf-test] - " or ",
1891.82 s
[opt-env-conf-test] - functionChunk "switch",
1891.83 s
[opt-env-conf-test] - "."
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
1891.83 s
[opt-env-conf-test] - [ [ functionChunk "env",
1891.83 s
[opt-env-conf-test] - " or ",
1891.83 s
[opt-env-conf-test] - functionChunk "name",
1891.83 s
[opt-env-conf-test] - " has no ",
1891.83 s
[opt-env-conf-test] - functionChunk "reader",
1891.83 s
[opt-env-conf-test] - "."
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
1891.83 s
[opt-env-conf-test] - [ [ functionChunk "env",
1891.83 s
[opt-env-conf-test] - " or ",
1891.83 s
[opt-env-conf-test] - functionChunk "name",
1891.83 s
[opt-env-conf-test] - " has no ",
1891.83 s
[opt-env-conf-test] - functionChunk "metavar",
1891.83 s
[opt-env-conf-test] - "."
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - LintErrorNoCommands ->
1891.83 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1891.83 s
[opt-env-conf-test] - " was called with an empty list."
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
1891.83 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1891.83 s
[opt-env-conf-test] - " was called with an unknown command: ",
1891.83 s
[opt-env-conf-test] - commandChunk c
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - LintErrorUnreadableExample e ->
1891.83 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1891.83 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - LintErrorConfigWithoutLoad ->
1891.83 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1891.83 s
[opt-env-conf-test] - " or ",
1891.83 s
[opt-env-conf-test] - functionChunk "name",
1891.83 s
[opt-env-conf-test] - " was called with no way to load configuration."
1891.83 s
[opt-env-conf-test] - ],
1891.83 s
[opt-env-conf-test] - [ "You can load configuration with ",
1891.83 s
[opt-env-conf-test] - functionChunk "withConfig",
1891.83 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1891.83 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1891.83 s
[opt-env-conf-test] - "."
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - ]
1891.83 s
[opt-env-conf-test] - LintErrorManyInfinite ->
1891.83 s
[opt-env-conf-test] - [ [ functionChunk "many",
1891.83 s
[opt-env-conf-test] - " or ",
1891.83 s
[opt-env-conf-test] - functionChunk "some",
1891.83 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1891.83 s
[opt-env-conf-test] - ],
1891.83 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1891.83 s
[opt-env-conf-test] - ],
1891.83 s
[opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1891.83 s
[opt-env-conf-test] ]
1891.83 s
[opt-env-conf-test]
1891.83 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1891.83 s
[opt-env-conf-test] lintParser =
1891.83 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1891.83 s
[opt-env-conf-test] @@ -66,168 +66,164 @@
1891.83 s
[opt-env-conf-test] renderLintError LintError {..} =
1891.83 s
[opt-env-conf-test] concat
1891.83 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1891.83 s
[opt-env-conf-test] case lintErrorMessage of
1891.83 s
[opt-env-conf-test] LintErrorUndocumented ->
1891.83 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1891.83 s
[opt-env-conf-test] LintErrorEmptySetting ->
1891.83 s
[opt-env-conf-test] concat
1891.83 s
[opt-env-conf-test] [ [ [ "This ",
1891.83 s
[opt-env-conf-test] functionChunk "setting",
1891.83 s
[opt-env-conf-test] " parses nothing."
1891.83 s
[opt-env-conf-test] ]
1891.83 s
[opt-env-conf-test] ],
1891.83 s
[opt-env-conf-test] [ [ "Add an ",
1891.83 s
[opt-env-conf-test] functionChunk "argument",
1891.83 s
[opt-env-conf-test] ", ",
1891.83 s
[opt-env-conf-test] functionChunk "switch",
1891.83 s
[opt-env-conf-test] ", ",
1891.83 s
[opt-env-conf-test] functionChunk "option",
1891.83 s
[opt-env-conf-test] ", ",
1891.83 s
[opt-env-conf-test] functionChunk "env",
1891.83 s
[opt-env-conf-test] ", ",
1891.84 s
[opt-env-conf-test] functionChunk "conf",
1891.84 s
[opt-env-conf-test] ", or ",
1891.84 s
[opt-env-conf-test] functionChunk "value",
1891.84 s
[opt-env-conf-test] "."
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorDashInShort ->
1891.84 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1891.84 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorDashInLong s ->
1891.84 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1891.84 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1891.84 s
[opt-env-conf-test] [ "Try ",
1891.84 s
[opt-env-conf-test] functionChunk "long",
1891.84 s
[opt-env-conf-test] " ",
1891.84 s
[opt-env-conf-test] chunk $
1891.84 s
[opt-env-conf-test] T.pack $
1891.84 s
[opt-env-conf-test] show $
1891.84 s
[opt-env-conf-test] let go = \case
1891.84 s
[opt-env-conf-test] [] -> []
1891.84 s
[opt-env-conf-test] '-' : cs -> go cs
1891.84 s
[opt-env-conf-test] c : cs -> c : cs
1891.84 s
[opt-env-conf-test] in go $ NE.toList s,
1891.84 s
[opt-env-conf-test] " instead."
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1891.84 s
[opt-env-conf-test] [ [ functionChunk "argument",
1891.84 s
[opt-env-conf-test] " has no ",
1891.84 s
[opt-env-conf-test] functionChunk "reader",
1891.84 s
[opt-env-conf-test] "."
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1891.84 s
[opt-env-conf-test] [ [ functionChunk "argument",
1891.84 s
[opt-env-conf-test] " has no ",
1891.84 s
[opt-env-conf-test] functionChunk "metavar",
1891.84 s
[opt-env-conf-test] "."
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1891.84 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.84 s
[opt-env-conf-test] " or ",
1891.84 s
[opt-env-conf-test] functionChunk "name",
1891.84 s
[opt-env-conf-test] " has no ",
1891.84 s
[opt-env-conf-test] functionChunk "reader",
1891.84 s
[opt-env-conf-test] "."
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1891.84 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.84 s
[opt-env-conf-test] " has no ",
1891.84 s
[opt-env-conf-test] functionChunk "long",
1891.84 s
[opt-env-conf-test] " or ",
1891.84 s
[opt-env-conf-test] functionChunk "short",
1891.84 s
[opt-env-conf-test] "."
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1891.84 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.84 s
[opt-env-conf-test] " or ",
1891.84 s
[opt-env-conf-test] functionChunk "name",
1891.84 s
[opt-env-conf-test] " has no ",
1891.84 s
[opt-env-conf-test] functionChunk "metavar",
1891.84 s
[opt-env-conf-test] "."
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1891.84 s
[opt-env-conf-test] [ [ functionChunk "switch",
1891.84 s
[opt-env-conf-test] " has no ",
1891.84 s
[opt-env-conf-test] functionChunk "long",
1891.84 s
[opt-env-conf-test] " or ",
1891.84 s
[opt-env-conf-test] functionChunk "short",
1891.84 s
[opt-env-conf-test] "."
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1891.84 s
[opt-env-conf-test] [ [ functionChunk "long",
1891.84 s
[opt-env-conf-test] " or ",
1891.84 s
[opt-env-conf-test] functionChunk "short",
1891.84 s
[opt-env-conf-test] " has no ",
1891.84 s
[opt-env-conf-test] functionChunk "option",
1891.84 s
[opt-env-conf-test] " or ",
1891.84 s
[opt-env-conf-test] functionChunk "switch",
1891.84 s
[opt-env-conf-test] "."
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1891.84 s
[opt-env-conf-test] [ [ functionChunk "env",
1891.84 s
[opt-env-conf-test] " or ",
1891.84 s
[opt-env-conf-test] functionChunk "name",
1891.84 s
[opt-env-conf-test] " has no ",
1891.84 s
[opt-env-conf-test] functionChunk "reader",
1891.84 s
[opt-env-conf-test] "."
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1891.84 s
[opt-env-conf-test] [ [ functionChunk "env",
1891.84 s
[opt-env-conf-test] " or ",
1891.84 s
[opt-env-conf-test] functionChunk "name",
1891.84 s
[opt-env-conf-test] " has no ",
1891.84 s
[opt-env-conf-test] functionChunk "metavar",
1891.84 s
[opt-env-conf-test] "."
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] ]
1891.84 s
[opt-env-conf-test] LintErrorNoCommands ->
1891.84 s
[opt-env-conf-test] [ [ functionChunk "commands",
1891.85 s
[opt-env-conf-test] " was called with an empty list."
1898.61 s
[opt-env-conf-test] ]
1898.61 s
[opt-env-conf-test] ]
1898.63 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1898.63 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1898.63 s
[opt-env-conf-test] " was called with an unknown command: ",
1898.63 s
[opt-env-conf-test] commandChunk c
1898.63 s
[opt-env-conf-test] ]
1898.64 s
[opt-env-conf-test] - ]
1898.64 s
[opt-env-conf-test] - LintErrorUnreadableExample e ->
1898.64 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1898.64 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1898.64 s
[opt-env-conf-test] ]
1898.64 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1898.64 s
[opt-env-conf-test] [ [ functionChunk "conf",
1898.64 s
[opt-env-conf-test] " or ",
1898.64 s
[opt-env-conf-test] functionChunk "name",
1898.64 s
[opt-env-conf-test] " was called with no way to load configuration."
1898.64 s
[opt-env-conf-test] ],
1898.64 s
[opt-env-conf-test] [ "You can load configuration with ",
1898.64 s
[opt-env-conf-test] functionChunk "withConfig",
1898.64 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1898.64 s
[opt-env-conf-test] functionChunk "withoutConfig",
1898.64 s
[opt-env-conf-test] "."
1898.64 s
[opt-env-conf-test] ]
1898.64 s
[opt-env-conf-test] ]
1898.64 s
[opt-env-conf-test] LintErrorManyInfinite ->
1898.64 s
[opt-env-conf-test] [ [ functionChunk "many",
1898.64 s
[opt-env-conf-test] " or ",
1898.64 s
[opt-env-conf-test] functionChunk "some",
1898.64 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1898.65 s
[opt-env-conf-test] ],
1898.65 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1898.65 s
[opt-env-conf-test] ],
1898.65 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1898.65 s
[opt-env-conf-test] ]
1898.65 s
[opt-env-conf-test]
1898.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1898.65 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1898.65 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1898.65 s
[opt-env-conf-test]
1898.65 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1898.65 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1898.65 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1898.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1898.65 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1898.65 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1898.65 s
[opt-env-conf-test]
1898.65 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1898.65 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1898.65 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1898.65 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
1898.65 s
[opt-env-conf-test] @@ -66,9 +66,8 @@
1898.65 s
[opt-env-conf-test]
1898.65 s
[opt-env-conf-test] instance Applicative (Validation e) where
1898.65 s
[opt-env-conf-test] pure = Success
1898.65 s
[opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
1898.65 s
[opt-env-conf-test] Failure e2 -> e1 `NE.append` e2
1898.65 s
[opt-env-conf-test] - Success _ -> e1
1898.65 s
[opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
1898.66 s
[opt-env-conf-test] Success f <*> Success a = Success (f a)
1898.66 s
[opt-env-conf-test]
1898.66 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
1898.66 s
[opt-env-conf-test] @@ -78,9 +78,8 @@
1898.66 s
[opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
1898.66 s
[opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
1898.66 s
[opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
1898.66 s
[opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
1898.66 s
[opt-env-conf-test] Left a -> f a
1898.66 s
[opt-env-conf-test] - Right b -> b
1898.66 s
[opt-env-conf-test]
1898.66 s
[opt-env-conf-test] validationFailure :: e -> Validation e a
1898.66 s
[opt-env-conf-test] validationFailure e = Failure (e :| [])
1898.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
1898.66 s
[opt-env-conf-test] @@ -35,7 +35,6 @@
1898.66 s
[opt-env-conf-test] ("# " <>)
1898.66 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1898.66 s
[opt-env-conf-test] "This file was generated by running",
1898.66 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1898.66 s
[opt-env-conf-test] T.unpack content
1898.66 s
[opt-env-conf-test] ]
1898.66 s
[opt-env-conf-test]
1898.66 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
1898.66 s
[opt-env-conf-test] @@ -66,9 +66,8 @@
1898.66 s
[opt-env-conf-test]
1898.66 s
[opt-env-conf-test] instance Applicative (Validation e) where
1898.66 s
[opt-env-conf-test] pure = Success
1898.66 s
[opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
1898.66 s
[opt-env-conf-test] - Failure e2 -> e1 `NE.append` e2
1898.66 s
[opt-env-conf-test] Success _ -> e1
1898.66 s
[opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
1898.66 s
[opt-env-conf-test] Success f <*> Success a = Success (f a)
1898.66 s
[opt-env-conf-test]
1898.67 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1898.67 s
[opt-env-conf-test] @@ -33,11 +33,10 @@
1898.67 s
[opt-env-conf-test] unlines $
1898.67 s
[opt-env-conf-test] map
1898.67 s
[opt-env-conf-test] ("# " <>)
1898.67 s
[opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
1898.67 s
[opt-env-conf-test] "This file was generated by running",
1898.67 s
[opt-env-conf-test] unwords [progname, "--render-nix-options"],
1898.67 s
[opt-env-conf-test] T.unpack content
1898.67 s
[opt-env-conf-test] ]
1898.67 s
[opt-env-conf-test]
1898.67 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1898.67 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1898.67 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
1898.67 s
[opt-env-conf-test] @@ -78,9 +78,8 @@
1898.67 s
[opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
1898.67 s
[opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
1898.67 s
[opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
1898.67 s
[opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
1898.67 s
[opt-env-conf-test] - Left a -> f a
1898.67 s
[opt-env-conf-test] Right b -> b
1898.67 s
[opt-env-conf-test]
1898.67 s
[opt-env-conf-test] validationFailure :: e -> Validation e a
1898.67 s
[opt-env-conf-test] validationFailure e = Failure (e :| [])
1898.67 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1898.67 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1898.67 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1898.67 s
[opt-env-conf-test]
1898.67 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1898.67 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1898.67 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1898.67 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
1898.67 s
[opt-env-conf-test] @@ -35,7 +35,6 @@
1898.67 s
[opt-env-conf-test] ("# " <>)
1898.67 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1898.67 s
[opt-env-conf-test] "This file was generated by running",
1898.67 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1898.67 s
[opt-env-conf-test] T.unpack content
1898.68 s
[opt-env-conf-test] ]
1898.68 s
[opt-env-conf-test]
1898.68 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1898.68 s
[opt-env-conf-test] @@ -33,11 +33,10 @@
1898.68 s
[opt-env-conf-test] unlines $
1898.68 s
[opt-env-conf-test] map
1898.68 s
[opt-env-conf-test] ("# " <>)
1898.68 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1898.68 s
[opt-env-conf-test] "This file was generated by running",
1898.68 s
[opt-env-conf-test] unwords [progname, "--render-nix-options"],
1898.68 s
[opt-env-conf-test] - T.unpack content
1898.68 s
[opt-env-conf-test] ]
1898.68 s
[opt-env-conf-test]
1898.68 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1898.68 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1898.68 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1898.68 s
[opt-env-conf-test] @@ -33,11 +33,7 @@
1898.68 s
[opt-env-conf-test] unlines $
1898.68 s
[opt-env-conf-test] map
1898.68 s
[opt-env-conf-test] ("# " <>)
1898.68 s
[opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
1898.68 s
[opt-env-conf-test] - "This file was generated by running",
1898.68 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1898.68 s
[opt-env-conf-test] - T.unpack content
1898.68 s
[opt-env-conf-test] ]
1898.68 s
[opt-env-conf-test]
1898.68 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1898.68 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1898.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
1898.68 s
[opt-env-conf-test] @@ -72,17 +72,14 @@
1898.68 s
[opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
1898.68 s
[opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
1898.68 s
[opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
1898.68 s
[opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
1898.68 s
[opt-env-conf-test] Nothing ->
1898.68 s
[opt-env-conf-test] let oc =
1898.68 s
[opt-env-conf-test] maybe
1898.68 s
[opt-env-conf-test] (optionalFieldWith' p configValSettingCodec)
1898.68 s
[opt-env-conf-test] (optionalFieldWith p configValSettingCodec)
1898.68 s
[opt-env-conf-test] (T.pack <$> settingHelp s)
1898.68 s
[opt-env-conf-test] in objectCodecNixOptions oc
1898.69 s
[opt-env-conf-test] - Just rest ->
1898.69 s
[opt-env-conf-test] - let m = go' rest
1898.69 s
[opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1898.69 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1898.69 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1898.69 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1898.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1898.69 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1898.69 s
[opt-env-conf-test] renderLintError LintError {..} =
1898.69 s
[opt-env-conf-test] concat
1898.69 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1898.69 s
[opt-env-conf-test] case lintErrorMessage of
1898.69 s
[opt-env-conf-test] LintErrorUndocumented ->
1898.69 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1898.69 s
[opt-env-conf-test] LintErrorEmptySetting ->
1898.69 s
[opt-env-conf-test] concat
1898.69 s
[opt-env-conf-test] [ [ [ "This ",
1898.69 s
[opt-env-conf-test] functionChunk "setting",
1898.69 s
[opt-env-conf-test] " parses nothing."
1898.69 s
[opt-env-conf-test] ]
1898.69 s
[opt-env-conf-test] ],
1898.69 s
[opt-env-conf-test] [ [ "Add an ",
1898.69 s
[opt-env-conf-test] functionChunk "argument",
1898.69 s
[opt-env-conf-test] ", ",
1898.69 s
[opt-env-conf-test] functionChunk "switch",
1898.69 s
[opt-env-conf-test] ", ",
1898.69 s
[opt-env-conf-test] functionChunk "option",
1898.69 s
[opt-env-conf-test] ", ",
1898.69 s
[opt-env-conf-test] functionChunk "env",
1898.69 s
[opt-env-conf-test] ", ",
1898.69 s
[opt-env-conf-test] functionChunk "conf",
1898.69 s
[opt-env-conf-test] ", or ",
1898.69 s
[opt-env-conf-test] functionChunk "value",
1898.69 s
[opt-env-conf-test] "."
1898.69 s
[opt-env-conf-test] ]
1898.69 s
[opt-env-conf-test] ]
1898.69 s
[opt-env-conf-test] ]
1898.69 s
[opt-env-conf-test] LintErrorDashInShort ->
1898.69 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1898.69 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1898.69 s
[opt-env-conf-test] ]
1898.69 s
[opt-env-conf-test] LintErrorDashInLong s ->
1898.69 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1898.69 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1898.69 s
[opt-env-conf-test] [ "Try ",
1898.69 s
[opt-env-conf-test] functionChunk "long",
1898.69 s
[opt-env-conf-test] " ",
1898.69 s
[opt-env-conf-test] chunk $
1898.70 s
[opt-env-conf-test] T.pack $
1898.70 s
[opt-env-conf-test] show $
1898.70 s
[opt-env-conf-test] let go = \case
1898.70 s
[opt-env-conf-test] [] -> []
1898.70 s
[opt-env-conf-test] '-' : cs -> go cs
1898.70 s
[opt-env-conf-test] c : cs -> c : cs
1898.70 s
[opt-env-conf-test] in go $ NE.toList s,
1898.70 s
[opt-env-conf-test] " instead."
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1898.70 s
[opt-env-conf-test] [ [ functionChunk "argument",
1898.70 s
[opt-env-conf-test] " has no ",
1898.70 s
[opt-env-conf-test] functionChunk "reader",
1898.70 s
[opt-env-conf-test] "."
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1898.70 s
[opt-env-conf-test] [ [ functionChunk "argument",
1898.70 s
[opt-env-conf-test] " has no ",
1898.70 s
[opt-env-conf-test] functionChunk "metavar",
1898.70 s
[opt-env-conf-test] "."
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1898.70 s
[opt-env-conf-test] [ [ functionChunk "option",
1898.70 s
[opt-env-conf-test] " or ",
1898.70 s
[opt-env-conf-test] functionChunk "name",
1898.70 s
[opt-env-conf-test] " has no ",
1898.70 s
[opt-env-conf-test] functionChunk "reader",
1898.70 s
[opt-env-conf-test] "."
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1898.70 s
[opt-env-conf-test] [ [ functionChunk "option",
1898.70 s
[opt-env-conf-test] " has no ",
1898.70 s
[opt-env-conf-test] functionChunk "long",
1898.70 s
[opt-env-conf-test] " or ",
1898.70 s
[opt-env-conf-test] functionChunk "short",
1898.70 s
[opt-env-conf-test] "."
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1898.70 s
[opt-env-conf-test] [ [ functionChunk "option",
1898.70 s
[opt-env-conf-test] " or ",
1898.70 s
[opt-env-conf-test] functionChunk "name",
1898.70 s
[opt-env-conf-test] " has no ",
1898.70 s
[opt-env-conf-test] functionChunk "metavar",
1898.70 s
[opt-env-conf-test] "."
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] ]
1898.70 s
[opt-env-conf-test] - LintErrorNoDashedForSwitch ->
1898.70 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1898.70 s
[opt-env-conf-test] - " has no ",
1898.70 s
[opt-env-conf-test] - functionChunk "long",
1898.70 s
[opt-env-conf-test] - " or ",
1898.70 s
[opt-env-conf-test] - functionChunk "short",
1898.70 s
[opt-env-conf-test] - "."
1898.70 s
[opt-env-conf-test] - ]
1898.70 s
[opt-env-conf-test] - ]
1898.70 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1898.71 s
[opt-env-conf-test] [ [ functionChunk "long",
1898.71 s
[opt-env-conf-test] " or ",
1898.71 s
[opt-env-conf-test] functionChunk "short",
1898.71 s
[opt-env-conf-test] " has no ",
1898.71 s
[opt-env-conf-test] functionChunk "option",
1898.71 s
[opt-env-conf-test] " or ",
1898.71 s
[opt-env-conf-test] functionChunk "switch",
1898.71 s
[opt-env-conf-test] "."
1898.71 s
[opt-env-conf-test] ]
1898.71 s
[opt-env-conf-test] ]
1898.71 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1898.71 s
[opt-env-conf-test] [ [ functionChunk "env",
1898.71 s
[opt-env-conf-test] " or ",
1898.71 s
[opt-env-conf-test] functionChunk "name",
1898.71 s
[opt-env-conf-test] " has no ",
1898.71 s
[opt-env-conf-test] functionChunk "reader",
1898.71 s
[opt-env-conf-test] "."
1898.71 s
[opt-env-conf-test] ]
1898.71 s
[opt-env-conf-test] ]
1898.71 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1898.71 s
[opt-env-conf-test] [ [ functionChunk "env",
1898.71 s
[opt-env-conf-test] " or ",
1898.71 s
[opt-env-conf-test] functionChunk "name",
1898.71 s
[opt-env-conf-test] " has no ",
1898.71 s
[opt-env-conf-test] functionChunk "metavar",
1898.71 s
[opt-env-conf-test] "."
1898.71 s
[opt-env-conf-test] ]
1898.71 s
[opt-env-conf-test] ]
1898.71 s
[opt-env-conf-test] LintErrorNoCommands ->
1899.29 s
[opt-env-conf-test] [ [ functionChunk "commands",
1899.29 s
[opt-env-conf-test] " was called with an empty list."
1899.29 s
[opt-env-conf-test] ]
1899.29 s
[opt-env-conf-test] ]
1899.30 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1899.30 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1899.30 s
[opt-env-conf-test] " was called with an unknown command: ",
1899.30 s
[opt-env-conf-test] commandChunk c
1899.30 s
[opt-env-conf-test] ]
1899.30 s
[opt-env-conf-test] ]
1899.30 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1899.30 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1899.30 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1899.30 s
[opt-env-conf-test] ]
1899.30 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1899.30 s
[opt-env-conf-test] [ [ functionChunk "conf",
1899.30 s
[opt-env-conf-test] " or ",
1899.30 s
[opt-env-conf-test] functionChunk "name",
1899.30 s
[opt-env-conf-test] " was called with no way to load configuration."
1899.30 s
[opt-env-conf-test] ],
1899.30 s
[opt-env-conf-test] [ "You can load configuration with ",
1899.30 s
[opt-env-conf-test] functionChunk "withConfig",
1899.30 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1899.30 s
[opt-env-conf-test] functionChunk "withoutConfig",
1899.30 s
[opt-env-conf-test] "."
1899.30 s
[opt-env-conf-test] ]
1899.30 s
[opt-env-conf-test] ]
1899.30 s
[opt-env-conf-test] LintErrorManyInfinite ->
1899.30 s
[opt-env-conf-test] [ [ functionChunk "many",
1899.30 s
[opt-env-conf-test] " or ",
1899.30 s
[opt-env-conf-test] functionChunk "some",
1899.30 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1899.30 s
[opt-env-conf-test] ],
1899.31 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1899.31 s
[opt-env-conf-test] ],
1899.31 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1899.31 s
[opt-env-conf-test] ]
1899.31 s
[opt-env-conf-test]
1899.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1899.31 s
[opt-env-conf-test] @@ -66,168 +66,166 @@
1899.31 s
[opt-env-conf-test] renderLintError LintError {..} =
1899.31 s
[opt-env-conf-test] concat
1899.31 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1899.31 s
[opt-env-conf-test] case lintErrorMessage of
1899.31 s
[opt-env-conf-test] - LintErrorUndocumented ->
1899.31 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1899.31 s
[opt-env-conf-test] LintErrorEmptySetting ->
1899.31 s
[opt-env-conf-test] concat
1899.31 s
[opt-env-conf-test] [ [ [ "This ",
1899.31 s
[opt-env-conf-test] functionChunk "setting",
1899.31 s
[opt-env-conf-test] " parses nothing."
1899.31 s
[opt-env-conf-test] ]
1899.31 s
[opt-env-conf-test] ],
1899.31 s
[opt-env-conf-test] [ [ "Add an ",
1899.31 s
[opt-env-conf-test] functionChunk "argument",
1899.31 s
[opt-env-conf-test] ", ",
1899.31 s
[opt-env-conf-test] functionChunk "switch",
1899.31 s
[opt-env-conf-test] ", ",
1899.31 s
[opt-env-conf-test] functionChunk "option",
1899.31 s
[opt-env-conf-test] ", ",
1899.31 s
[opt-env-conf-test] functionChunk "env",
1899.31 s
[opt-env-conf-test] ", ",
1899.31 s
[opt-env-conf-test] functionChunk "conf",
1899.31 s
[opt-env-conf-test] ", or ",
1899.31 s
[opt-env-conf-test] functionChunk "value",
1899.31 s
[opt-env-conf-test] "."
1899.31 s
[opt-env-conf-test] ]
1899.31 s
[opt-env-conf-test] ]
1899.31 s
[opt-env-conf-test] ]
1899.31 s
[opt-env-conf-test] LintErrorDashInShort ->
1899.31 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1899.31 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1899.31 s
[opt-env-conf-test] ]
1899.31 s
[opt-env-conf-test] LintErrorDashInLong s ->
1899.32 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1899.32 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1899.32 s
[opt-env-conf-test] [ "Try ",
1899.32 s
[opt-env-conf-test] functionChunk "long",
1899.32 s
[opt-env-conf-test] " ",
1899.32 s
[opt-env-conf-test] chunk $
1899.32 s
[opt-env-conf-test] T.pack $
1899.32 s
[opt-env-conf-test] show $
1899.32 s
[opt-env-conf-test] let go = \case
1899.32 s
[opt-env-conf-test] [] -> []
1899.32 s
[opt-env-conf-test] '-' : cs -> go cs
1899.32 s
[opt-env-conf-test] c : cs -> c : cs
1899.32 s
[opt-env-conf-test] in go $ NE.toList s,
1899.32 s
[opt-env-conf-test] " instead."
1899.32 s
[opt-env-conf-test] ]
1899.32 s
[opt-env-conf-test] ]
1899.32 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1899.32 s
[opt-env-conf-test] [ [ functionChunk "argument",
1899.32 s
[opt-env-conf-test] " has no ",
1899.32 s
[opt-env-conf-test] functionChunk "reader",
1899.32 s
[opt-env-conf-test] "."
1899.32 s
[opt-env-conf-test] ]
1899.32 s
[opt-env-conf-test] ]
1899.32 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1899.32 s
[opt-env-conf-test] [ [ functionChunk "argument",
1899.32 s
[opt-env-conf-test] " has no ",
1899.32 s
[opt-env-conf-test] functionChunk "metavar",
1899.32 s
[opt-env-conf-test] "."
1899.32 s
[opt-env-conf-test] ]
1899.32 s
[opt-env-conf-test] ]
1899.32 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1899.32 s
[opt-env-conf-test] [ [ functionChunk "option",
1899.32 s
[opt-env-conf-test] " or ",
1899.32 s
[opt-env-conf-test] functionChunk "name",
1899.32 s
[opt-env-conf-test] " has no ",
1899.32 s
[opt-env-conf-test] functionChunk "reader",
1899.32 s
[opt-env-conf-test] "."
1899.32 s
[opt-env-conf-test] ]
1899.32 s
[opt-env-conf-test] ]
1899.32 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1899.32 s
[opt-env-conf-test] [ [ functionChunk "option",
1899.32 s
[opt-env-conf-test] " has no ",
1899.32 s
[opt-env-conf-test] functionChunk "long",
1899.32 s
[opt-env-conf-test] " or ",
1899.32 s
[opt-env-conf-test] functionChunk "short",
1899.32 s
[opt-env-conf-test] "."
1899.32 s
[opt-env-conf-test] ]
1899.32 s
[opt-env-conf-test] ]
1899.32 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1899.32 s
[opt-env-conf-test] [ [ functionChunk "option",
1899.32 s
[opt-env-conf-test] " or ",
1899.33 s
[opt-env-conf-test] functionChunk "name",
1899.33 s
[opt-env-conf-test] " has no ",
1899.33 s
[opt-env-conf-test] functionChunk "metavar",
1899.33 s
[opt-env-conf-test] "."
1899.33 s
[opt-env-conf-test] ]
1899.33 s
[opt-env-conf-test] ]
1899.33 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1899.33 s
[opt-env-conf-test] [ [ functionChunk "switch",
1899.33 s
[opt-env-conf-test] " has no ",
1899.33 s
[opt-env-conf-test] functionChunk "long",
1899.33 s
[opt-env-conf-test] " or ",
1899.33 s
[opt-env-conf-test] functionChunk "short",
1899.33 s
[opt-env-conf-test] "."
1899.33 s
[opt-env-conf-test] ]
1899.33 s
[opt-env-conf-test] ]
1899.33 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1899.33 s
[opt-env-conf-test] [ [ functionChunk "long",
1899.33 s
[opt-env-conf-test] " or ",
1899.33 s
[opt-env-conf-test] functionChunk "short",
1899.33 s
[opt-env-conf-test] " has no ",
1899.33 s
[opt-env-conf-test] functionChunk "option",
1899.33 s
[opt-env-conf-test] " or ",
1899.33 s
[opt-env-conf-test] functionChunk "switch",
1899.33 s
[opt-env-conf-test] "."
1899.33 s
[opt-env-conf-test] ]
1899.33 s
[opt-env-conf-test] ]
1899.33 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1899.33 s
[opt-env-conf-test] [ [ functionChunk "env",
1899.34 s
[opt-env-conf-test] " or ",
1899.34 s
[opt-env-conf-test] functionChunk "name",
1899.34 s
[opt-env-conf-test] " has no ",
1899.34 s
[opt-env-conf-test] functionChunk "reader",
1899.34 s
[opt-env-conf-test] "."
1899.34 s
[opt-env-conf-test] ]
1899.34 s
[opt-env-conf-test] ]
1899.34 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1899.34 s
[opt-env-conf-test] [ [ functionChunk "env",
1899.34 s
[opt-env-conf-test] " or ",
1899.34 s
[opt-env-conf-test] functionChunk "name",
1899.34 s
[opt-env-conf-test] " has no ",
1899.34 s
[opt-env-conf-test] functionChunk "metavar",
1899.34 s
[opt-env-conf-test] "."
1899.34 s
[opt-env-conf-test] ]
1899.34 s
[opt-env-conf-test] ]
1899.34 s
[opt-env-conf-test] LintErrorNoCommands ->
1899.34 s
[opt-env-conf-test] [ [ functionChunk "commands",
1900.03 s
[opt-env-conf-test] " was called with an empty list."
1900.03 s
[opt-env-conf-test] ]
1900.03 s
[opt-env-conf-test] ]
1900.03 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1900.03 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1900.03 s
[opt-env-conf-test] " was called with an unknown command: ",
1900.03 s
[opt-env-conf-test] commandChunk c
1900.03 s
[opt-env-conf-test] ]
1900.03 s
[opt-env-conf-test] ]
1900.03 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1900.03 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1900.03 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1900.03 s
[opt-env-conf-test] ]
1900.03 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1900.04 s
[opt-env-conf-test] [ [ functionChunk "conf",
1900.04 s
[opt-env-conf-test] " or ",
1900.04 s
[opt-env-conf-test] functionChunk "name",
1900.04 s
[opt-env-conf-test] " was called with no way to load configuration."
1900.04 s
[opt-env-conf-test] ],
1900.04 s
[opt-env-conf-test] [ "You can load configuration with ",
1900.04 s
[opt-env-conf-test] functionChunk "withConfig",
1900.04 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1900.04 s
[opt-env-conf-test] functionChunk "withoutConfig",
1900.04 s
[opt-env-conf-test] "."
1900.04 s
[opt-env-conf-test] ]
1900.04 s
[opt-env-conf-test] ]
1900.04 s
[opt-env-conf-test] LintErrorManyInfinite ->
1900.04 s
[opt-env-conf-test] [ [ functionChunk "many",
1900.04 s
[opt-env-conf-test] " or ",
1900.04 s
[opt-env-conf-test] functionChunk "some",
1900.04 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1900.04 s
[opt-env-conf-test] ],
1900.04 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1900.04 s
[opt-env-conf-test] ],
1900.04 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1900.04 s
[opt-env-conf-test] ]
1900.04 s
[opt-env-conf-test]
1900.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1900.04 s
[opt-env-conf-test] @@ -66,168 +66,161 @@
1900.04 s
[opt-env-conf-test] renderLintError LintError {..} =
1900.04 s
[opt-env-conf-test] concat
1900.04 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1900.04 s
[opt-env-conf-test] case lintErrorMessage of
1900.04 s
[opt-env-conf-test] LintErrorUndocumented ->
1900.04 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1900.04 s
[opt-env-conf-test] LintErrorEmptySetting ->
1900.04 s
[opt-env-conf-test] concat
1900.04 s
[opt-env-conf-test] [ [ [ "This ",
1900.04 s
[opt-env-conf-test] functionChunk "setting",
1900.04 s
[opt-env-conf-test] " parses nothing."
1900.04 s
[opt-env-conf-test] ]
1900.04 s
[opt-env-conf-test] ],
1900.04 s
[opt-env-conf-test] [ [ "Add an ",
1900.04 s
[opt-env-conf-test] functionChunk "argument",
1900.04 s
[opt-env-conf-test] ", ",
1900.04 s
[opt-env-conf-test] functionChunk "switch",
1900.05 s
[opt-env-conf-test] ", ",
1900.05 s
[opt-env-conf-test] functionChunk "option",
1900.05 s
[opt-env-conf-test] ", ",
1900.05 s
[opt-env-conf-test] functionChunk "env",
1900.05 s
[opt-env-conf-test] ", ",
1900.05 s
[opt-env-conf-test] functionChunk "conf",
1900.05 s
[opt-env-conf-test] ", or ",
1900.05 s
[opt-env-conf-test] functionChunk "value",
1900.05 s
[opt-env-conf-test] "."
1900.05 s
[opt-env-conf-test] ]
1900.05 s
[opt-env-conf-test] ]
1900.05 s
[opt-env-conf-test] ]
1900.05 s
[opt-env-conf-test] LintErrorDashInShort ->
1900.05 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1900.05 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1900.05 s
[opt-env-conf-test] ]
1900.05 s
[opt-env-conf-test] LintErrorDashInLong s ->
1900.05 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1900.05 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1900.05 s
[opt-env-conf-test] [ "Try ",
1900.05 s
[opt-env-conf-test] functionChunk "long",
1900.05 s
[opt-env-conf-test] " ",
1900.05 s
[opt-env-conf-test] chunk $
1900.05 s
[opt-env-conf-test] T.pack $
1900.05 s
[opt-env-conf-test] show $
1900.05 s
[opt-env-conf-test] let go = \case
1900.05 s
[opt-env-conf-test] [] -> []
1900.05 s
[opt-env-conf-test] '-' : cs -> go cs
1900.05 s
[opt-env-conf-test] c : cs -> c : cs
1900.05 s
[opt-env-conf-test] in go $ NE.toList s,
1900.05 s
[opt-env-conf-test] " instead."
1900.05 s
[opt-env-conf-test] ]
1900.05 s
[opt-env-conf-test] ]
1900.05 s
[opt-env-conf-test] - LintErrorNoReaderForArgument ->
1900.05 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1900.05 s
[opt-env-conf-test] - " has no ",
1900.05 s
[opt-env-conf-test] - functionChunk "reader",
1900.05 s
[opt-env-conf-test] - "."
1900.05 s
[opt-env-conf-test] - ]
1900.05 s
[opt-env-conf-test] - ]
1900.05 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1900.05 s
[opt-env-conf-test] [ [ functionChunk "argument",
1900.05 s
[opt-env-conf-test] " has no ",
1900.05 s
[opt-env-conf-test] functionChunk "metavar",
1900.05 s
[opt-env-conf-test] "."
1900.05 s
[opt-env-conf-test] ]
1900.05 s
[opt-env-conf-test] ]
1900.05 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1900.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1900.06 s
[opt-env-conf-test] " or ",
1900.06 s
[opt-env-conf-test] functionChunk "name",
1900.06 s
[opt-env-conf-test] " has no ",
1900.06 s
[opt-env-conf-test] functionChunk "reader",
1900.06 s
[opt-env-conf-test] "."
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1900.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1900.06 s
[opt-env-conf-test] " has no ",
1900.06 s
[opt-env-conf-test] functionChunk "long",
1900.06 s
[opt-env-conf-test] " or ",
1900.06 s
[opt-env-conf-test] functionChunk "short",
1900.06 s
[opt-env-conf-test] "."
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1900.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1900.06 s
[opt-env-conf-test] " or ",
1900.06 s
[opt-env-conf-test] functionChunk "name",
1900.06 s
[opt-env-conf-test] " has no ",
1900.06 s
[opt-env-conf-test] functionChunk "metavar",
1900.06 s
[opt-env-conf-test] "."
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1900.06 s
[opt-env-conf-test] [ [ functionChunk "switch",
1900.06 s
[opt-env-conf-test] " has no ",
1900.06 s
[opt-env-conf-test] functionChunk "long",
1900.06 s
[opt-env-conf-test] " or ",
1900.06 s
[opt-env-conf-test] functionChunk "short",
1900.06 s
[opt-env-conf-test] "."
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1900.06 s
[opt-env-conf-test] [ [ functionChunk "long",
1900.06 s
[opt-env-conf-test] " or ",
1900.06 s
[opt-env-conf-test] functionChunk "short",
1900.06 s
[opt-env-conf-test] " has no ",
1900.06 s
[opt-env-conf-test] functionChunk "option",
1900.06 s
[opt-env-conf-test] " or ",
1900.06 s
[opt-env-conf-test] functionChunk "switch",
1900.06 s
[opt-env-conf-test] "."
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1900.06 s
[opt-env-conf-test] [ [ functionChunk "env",
1900.06 s
[opt-env-conf-test] " or ",
1900.06 s
[opt-env-conf-test] functionChunk "name",
1900.06 s
[opt-env-conf-test] " has no ",
1900.06 s
[opt-env-conf-test] functionChunk "reader",
1900.06 s
[opt-env-conf-test] "."
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1900.06 s
[opt-env-conf-test] [ [ functionChunk "env",
1900.06 s
[opt-env-conf-test] " or ",
1900.06 s
[opt-env-conf-test] functionChunk "name",
1900.06 s
[opt-env-conf-test] " has no ",
1900.06 s
[opt-env-conf-test] functionChunk "metavar",
1900.06 s
[opt-env-conf-test] "."
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] ]
1900.06 s
[opt-env-conf-test] LintErrorNoCommands ->
1906.42 s
[opt-env-conf-test] [ [ functionChunk "commands",
1906.45 s
[opt-env-conf-test] " was called with an empty list."
1906.45 s
[opt-env-conf-test] ]
1906.45 s
[opt-env-conf-test] ]
1906.45 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1906.45 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1906.45 s
[opt-env-conf-test] " was called with an unknown command: ",
1906.45 s
[opt-env-conf-test] commandChunk c
1906.45 s
[opt-env-conf-test] ]
1906.45 s
[opt-env-conf-test] ]
1906.45 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1906.45 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1906.45 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1906.45 s
[opt-env-conf-test] ]
1906.45 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1906.45 s
[opt-env-conf-test] [ [ functionChunk "conf",
1906.45 s
[opt-env-conf-test] " or ",
1906.45 s
[opt-env-conf-test] functionChunk "name",
1906.45 s
[opt-env-conf-test] " was called with no way to load configuration."
1906.45 s
[opt-env-conf-test] ],
1906.45 s
[opt-env-conf-test] [ "You can load configuration with ",
1906.46 s
[opt-env-conf-test] functionChunk "withConfig",
1906.46 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1906.46 s
[opt-env-conf-test] functionChunk "withoutConfig",
1906.46 s
[opt-env-conf-test] "."
1906.46 s
[opt-env-conf-test] ]
1906.46 s
[opt-env-conf-test] ]
1906.46 s
[opt-env-conf-test] LintErrorManyInfinite ->
1906.46 s
[opt-env-conf-test] [ [ functionChunk "many",
1906.46 s
[opt-env-conf-test] " or ",
1906.46 s
[opt-env-conf-test] functionChunk "some",
1906.46 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1906.46 s
[opt-env-conf-test] ],
1906.46 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1906.46 s
[opt-env-conf-test] ],
1906.46 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1906.46 s
[opt-env-conf-test] ]
1906.46 s
[opt-env-conf-test]
1906.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
1906.46 s
[opt-env-conf-test] @@ -208,18 +208,7 @@
1906.46 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1906.46 s
[opt-env-conf-test] ]
1906.46 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1906.46 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1906.46 s
[opt-env-conf-test] - " or ",
1906.46 s
[opt-env-conf-test] - functionChunk "name",
1906.46 s
[opt-env-conf-test] - " was called with no way to load configuration."
1906.46 s
[opt-env-conf-test] - ],
1906.46 s
[opt-env-conf-test] - [ "You can load configuration with ",
1906.46 s
[opt-env-conf-test] - functionChunk "withConfig",
1906.46 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1906.46 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1906.46 s
[opt-env-conf-test] - "."
1906.46 s
[opt-env-conf-test] - ]
1906.46 s
[opt-env-conf-test] ]
1906.46 s
[opt-env-conf-test] LintErrorManyInfinite ->
1906.46 s
[opt-env-conf-test] [ [ functionChunk "many",
1906.46 s
[opt-env-conf-test] " or ",
1906.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
1906.46 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1906.46 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1906.46 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1906.47 s
[opt-env-conf-test] [] -> []
1906.47 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1906.47 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1906.47 s
[opt-env-conf-test]
1906.47 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1906.47 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
1906.47 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1906.47 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1906.47 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1906.47 s
[opt-env-conf-test] [] -> []
1906.47 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1906.47 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1906.47 s
[opt-env-conf-test]
1906.47 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1906.47 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
1906.47 s
[opt-env-conf-test] @@ -63,7 +63,6 @@
1906.47 s
[opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
1906.47 s
[opt-env-conf-test]
1906.47 s
[opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
1906.47 s
[opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1906.47 s
[opt-env-conf-test]
1906.47 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1906.47 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1906.47 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
1906.47 s
[opt-env-conf-test] @@ -78,7 +78,6 @@
1906.47 s
[opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
1906.47 s
[opt-env-conf-test]
1906.47 s
[opt-env-conf-test] headerChunks :: Text -> [Chunk]
1906.47 s
[opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
1906.47 s
[opt-env-conf-test]
1906.47 s
[opt-env-conf-test] syntaxChunk :: String -> Chunk
1906.47 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1906.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1906.47 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1906.47 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1906.47 s
[opt-env-conf-test]
1906.47 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1906.47 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1906.47 s
[opt-env-conf-test] - [] -> []
1906.47 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1906.47 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1906.47 s
[opt-env-conf-test]
1906.47 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1906.47 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1906.47 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
1906.47 s
[opt-env-conf-test] @@ -63,7 +63,6 @@
1906.47 s
[opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
1906.47 s
[opt-env-conf-test]
1906.48 s
[opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
1906.48 s
[opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1906.48 s
[opt-env-conf-test]
1906.48 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1906.48 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1906.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
1906.48 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
1906.48 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1906.48 s
[opt-env-conf-test]
1906.48 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
1906.48 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
1906.48 s
[opt-env-conf-test] - [] -> []
1906.48 s
[opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
1906.48 s
[opt-env-conf-test]
1906.48 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
1906.48 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
1906.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1906.48 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1906.48 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1906.48 s
[opt-env-conf-test]
1906.48 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1906.48 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1906.48 s
[opt-env-conf-test] [] -> []
1906.48 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1906.48 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1906.48 s
[opt-env-conf-test]
1906.48 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1906.48 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1906.48 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
1906.48 s
[opt-env-conf-test] @@ -69,7 +69,6 @@
1906.48 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1906.48 s
[opt-env-conf-test] [] -> []
1906.48 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1906.48 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1906.48 s
[opt-env-conf-test]
1906.48 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1906.48 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1906.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
1906.48 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
1906.48 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1906.48 s
[opt-env-conf-test]
1906.48 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
1906.48 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
1906.48 s
[opt-env-conf-test] [] -> []
1906.48 s
[opt-env-conf-test] - cs -> intersperse ", " (map capabilityChunk cs)
1906.48 s
[opt-env-conf-test]
1906.48 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
1906.48 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
1906.48 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
1906.48 s
[opt-env-conf-test] @@ -78,7 +78,6 @@
1906.48 s
[opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
1906.48 s
[opt-env-conf-test]
1906.48 s
[opt-env-conf-test] headerChunks :: Text -> [Chunk]
1906.48 s
[opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
1906.48 s
[opt-env-conf-test]
1906.48 s
[opt-env-conf-test] syntaxChunk :: String -> Chunk
1906.48 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1906.48 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Output.hs:112:34-39
1906.48 s
[opt-env-conf-test] @@ -109,7 +109,7 @@
1906.49 s
[opt-env-conf-test] cleanPackage pkg =
1906.49 s
[opt-env-conf-test] T.unpack $
1906.49 s
[opt-env-conf-test] T.intercalate "-" $
1906.49 s
[opt-env-conf-test] - takeWhile (not . maybe F al s e (Char.isDigit . fst) . T.uncons) $
1906.49 s
[opt-env-conf-test] + takeWhile (not . maybe T ru e (Char.isDigit . fst) . T.uncons) $
1906.49 s
[opt-env-conf-test] T.splitOn "-" (T.pack pkg)
1906.49 s
[opt-env-conf-test]
1906.49 s
[opt-env-conf-test] indent :: [[Chunk]] -> [[Chunk]]
1906.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
1906.49 s
[opt-env-conf-test] @@ -69,7 +69,6 @@
1906.49 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1906.49 s
[opt-env-conf-test] [] -> []
1906.49 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1906.49 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1906.49 s
[opt-env-conf-test]
1906.49 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1906.49 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1906.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:33-43
1906.49 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1906.49 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1906.49 s
[opt-env-conf-test] in case rest of
1906.49 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1906.49 s
[opt-env-conf-test] - _ : rest' -> [seg | not ( n u l l s e g ) ] <> splitOnSlash rest'
1906.49 s
[opt-env-conf-test] + _ : rest' -> [seg | not T r u e ] <> splitOnSlash rest'
1906.49 s
[opt-env-conf-test]
1906.49 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1906.49 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1906.49 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:267:22-44
1906.49 s
[opt-env-conf-test] @@ -264,7 +264,6 @@
1906.49 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1906.49 s
[opt-env-conf-test] in case rest of
1906.49 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1913.45 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1913.45 s
[opt-env-conf-test]
1913.45 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1913.48 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1913.48 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:29-43
1913.48 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1913.48 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1913.48 s
[opt-env-conf-test] in case rest of
1913.48 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1913.48 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg) ] <> splitOnSlash rest'
1913.48 s
[opt-env-conf-test] + _ : rest' -> [seg | n o t ( not (null seg) ) ] <> splitOnSlash rest'
1913.48 s
[opt-env-conf-test]
1913.48 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1913.48 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1913.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
1913.48 s
[opt-env-conf-test] @@ -262,9 +262,8 @@
1913.48 s
[opt-env-conf-test] splitOnSlash [] = []
1913.48 s
[opt-env-conf-test] splitOnSlash s =
1913.48 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1913.48 s
[opt-env-conf-test] in case rest of
1913.48 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1913.49 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1913.49 s
[opt-env-conf-test]
1913.49 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1913.49 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1913.49 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:246:27-28
1913.49 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1913.49 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1913.49 s
[opt-env-conf-test] [] -> 0
1913.49 s
[opt-env-conf-test] ixs -> maximum ixs
1913.49 s
[opt-env-conf-test] - in if lastDotDotIdx == 0
1913.49 s
[opt-env-conf-test] + in if lastDotDotIdx == 1
1913.49 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1913.49 s
[opt-env-conf-test] else
1913.49 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1913.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
1913.49 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1913.49 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1913.49 s
[opt-env-conf-test] [] -> 0
1913.49 s
[opt-env-conf-test] ixs -> maximum ixs
1913.49 s
[opt-env-conf-test] - in if l a stD otDot Idx = = 0
1913.49 s
[opt-env-conf-test] + in if Tru e
1913.49 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1913.49 s
[opt-env-conf-test] else
1913.49 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1913.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
1913.49 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1913.49 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1913.49 s
[opt-env-conf-test] [] -> 0
1913.49 s
[opt-env-conf-test] ixs -> maximum ixs
1913.49 s
[opt-env-conf-test] - in if l a s tD o t Do tIdx == 0
1913.49 s
[opt-env-conf-test] + in if F a l s e
1913.49 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1913.49 s
[opt-env-conf-test] else
1913.49 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1913.49 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:246:10-28
1913.49 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1913.49 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1913.49 s
[opt-env-conf-test] [] -> 0
1913.49 s
[opt-env-conf-test] ixs -> maximum ixs
1913.49 s
[opt-env-conf-test] - in if lastDotDotIdx == 0
1913.49 s
[opt-env-conf-test] + in if n o t ( lastDotDotIdx == 0 )
1913.50 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1913.50 s
[opt-env-conf-test] else
1913.50 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1913.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:19-47
1913.50 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1913.50 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1913.50 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1913.50 s
[opt-env-conf-test] trailingSlash
1913.50 s
[opt-env-conf-test] - | " /" `i sSuffix Of ` a fte r C u r Di r , not (null remainderComponents) = "/"
1913.50 s
[opt-env-conf-test] + | T r u e , not (null remainderComponents) = "/"
1913.50 s
[opt-env-conf-test] | otherwise = ""
1913.50 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1913.50 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1913.50 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:19-47
1913.50 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1913.50 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1913.50 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1913.50 s
[opt-env-conf-test] trailingSlash
1913.50 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir , not (null remainderComponents) = "/"
1913.50 s
[opt-env-conf-test] + | n o t ( "/" `isSuffixOf` afterCurDir ) , not (null remainderComponents) = "/"
1913.50 s
[opt-env-conf-test] | otherwise = ""
1913.50 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1913.50 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1913.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:54-78
1913.50 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1913.50 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1913.50 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1913.50 s
[opt-env-conf-test] trailingSlash
1913.50 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not ( n u l l r emaind e r C omp o n e nt s ) = "/"
1913.50 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not ( T r u e ) = "/"
1913.50 s
[opt-env-conf-test] | otherwise = ""
1913.50 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1913.50 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1913.50 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:54-78
1913.50 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1913.50 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1913.50 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1913.50 s
[opt-env-conf-test] trailingSlash
1913.50 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1913.50 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, n o t ( not (null remainderComponents) ) = "/"
1913.50 s
[opt-env-conf-test] | otherwise = ""
1913.50 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1913.50 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1913.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:53-79
1913.50 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1913.50 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1913.50 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1913.50 s
[opt-env-conf-test] trailingSlash
1913.50 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not ( n ul l r emaind e r C omp on e n ts ) = "/"
1913.50 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not T r u e = "/"
1913.50 s
[opt-env-conf-test] | otherwise = ""
1913.50 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1913.50 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1913.50 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:53-79
1913.50 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1913.50 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1913.50 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1913.50 s
[opt-env-conf-test] trailingSlash
1913.51 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not ( null remainderComponents) = "/"
1913.51 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, n o t not ( ( null remainderComponents) ) = "/"
1913.51 s
[opt-env-conf-test] | otherwise = ""
1913.51 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1913.51 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1913.51 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:49-79
1913.51 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1913.51 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1913.51 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1913.51 s
[opt-env-conf-test] trailingSlash
1920.63 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, n ot (nul l remai nd e r Co m po n e n ts ) = "/"
1920.65 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, T r u e = "/"
1920.65 s
[opt-env-conf-test] | otherwise = ""
1920.65 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1920.65 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1920.65 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:49-79
1920.65 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1920.65 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1920.65 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1920.65 s
[opt-env-conf-test] trailingSlash
1920.66 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1920.66 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, n o t ( not (null remainderComponents) ) = "/"
1920.66 s
[opt-env-conf-test] | otherwise = ""
1920.66 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1920.66 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1920.66 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:215:16-20
1920.66 s
[opt-env-conf-test] @@ -212,7 +212,7 @@
1920.66 s
[opt-env-conf-test]
1920.66 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1920.66 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1920.66 s
[opt-env-conf-test] - ('.' : _) -> Tr u e
1920.66 s
[opt-env-conf-test] + ('.' : _) -> F a ls e
1920.66 s
[opt-env-conf-test] _ -> False
1920.66 s
[opt-env-conf-test]
1920.66 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1920.66 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:216:8-13
1920.66 s
[opt-env-conf-test] @@ -213,7 +213,7 @@
1920.66 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1920.66 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1920.66 s
[opt-env-conf-test] ('.' : _) -> True
1920.66 s
[opt-env-conf-test] - _ -> F al s e
1920.66 s
[opt-env-conf-test] + _ -> T ru e
1920.66 s
[opt-env-conf-test]
1920.66 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1920.66 s
[opt-env-conf-test] stripCurDir = \case
1920.66 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
1920.66 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
1920.66 s
[opt-env-conf-test] }
1920.66 s
[opt-env-conf-test]
1920.66 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1920.66 s
[opt-env-conf-test] - hiddenRel p = case toFilePath p of
1920.66 s
[opt-env-conf-test] + hiddenRel p = T ru e = case toFilePath p of
1920.66 s
[opt-env-conf-test] ('.' : _) -> True
1920.66 s
[opt-env-conf-test] _ -> False
1920.66 s
[opt-env-conf-test]
1920.66 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1920.66 s
[opt-env-conf-test] stripCurDir = \case
1920.66 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
1920.67 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
1920.67 s
[opt-env-conf-test] }
1920.67 s
[opt-env-conf-test]
1920.67 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1920.67 s
[opt-env-conf-test] - hiddenRel p = case toFilePath p of
1920.67 s
[opt-env-conf-test] + hiddenRel p = F a ls e= case toFilePath p of
1920.67 s
[opt-env-conf-test] ('.' : _) -> True
1920.67 s
[opt-env-conf-test] _ -> False
1920.67 s
[opt-env-conf-test]
1920.67 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1920.67 s
[opt-env-conf-test] stripCurDir = \case
1920.67 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:214:15-13
1920.67 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
1920.67 s
[opt-env-conf-test] }
1920.67 s
[opt-env-conf-test]
1920.67 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1920.67 s
[opt-env-conf-test] - hiddenRel p = case toFilePath p of
1920.67 s
[opt-env-conf-test] + hiddenRel p = n o t ( case toFilePath p of
1920.67 s
[opt-env-conf-test] ('.' : _) -> True
1920.67 s
[opt-env-conf-test] - _ -> False
1920.67 s
[opt-env-conf-test] + _ -> False )
1920.67 s
[opt-env-conf-test]
1920.67 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1920.67 s
[opt-env-conf-test] stripCurDir = \case
1920.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:27-35
1920.67 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1920.67 s
[opt-env-conf-test] splitOnSlash s =
1920.67 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1920.67 s
[opt-env-conf-test] in case rest of
1920.67 s
[opt-env-conf-test] - [] -> [seg | not ( n u l l s e g )]
1920.67 s
[opt-env-conf-test] + [] -> [seg | not ( T r u e )]
1920.67 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1920.67 s
[opt-env-conf-test]
1920.67 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1920.67 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
1920.67 s
[opt-env-conf-test] @@ -211,9 +211,8 @@
1920.67 s
[opt-env-conf-test] }
1920.67 s
[opt-env-conf-test]
1920.67 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1920.67 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1920.67 s
[opt-env-conf-test] - ('.' : _) -> True
1920.67 s
[opt-env-conf-test] _ -> False
1920.67 s
[opt-env-conf-test]
1920.67 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1920.67 s
[opt-env-conf-test] stripCurDir = \case
1920.67 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
1920.67 s
[opt-env-conf-test] @@ -269,9 +269,8 @@
1920.67 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1920.67 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1920.67 s
[opt-env-conf-test] applyComponent d ".." = parent d
1920.67 s
[opt-env-conf-test] applyComponent d c = case parseRelDir c of
1920.67 s
[opt-env-conf-test] Nothing -> d
1920.67 s
[opt-env-conf-test] - Just rd -> d </> rd
1920.68 s
[opt-env-conf-test]
1920.68 s
[opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
1920.68 s
[opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
1920.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
1920.68 s
[opt-env-conf-test] @@ -155,11 +155,8 @@
1920.68 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1920.68 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1920.68 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1920.68 s
[opt-env-conf-test] Nothing -> case fp of
1920.68 s
[opt-env-conf-test] - [] -> do
1920.68 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
1920.68 s
[opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
1920.68 s
[opt-env-conf-test] _ -> pure []
1920.68 s
[opt-env-conf-test] Just (Abs ad) -> do
1920.68 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1920.68 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1920.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:22-36
1920.68 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1920.68 s
[opt-env-conf-test] splitOnSlash s =
1920.68 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1920.68 s
[opt-env-conf-test] in case rest of
1920.68 s
[opt-env-conf-test] - [] -> [seg | n o t (n u l l s e g ) ]
1920.68 s
[opt-env-conf-test] + [] -> [seg | T r u e ]
1920.68 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1920.68 s
[opt-env-conf-test]
1920.68 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1920.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
1920.68 s
[opt-env-conf-test] @@ -154,19 +154,16 @@
1920.68 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
1920.68 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1920.68 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1920.68 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1920.68 s
[opt-env-conf-test] Nothing -> case fp of
1920.68 s
[opt-env-conf-test] [] -> do
1920.68 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1920.68 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1920.68 s
[opt-env-conf-test] _ -> pure []
1920.68 s
[opt-env-conf-test] - Just (Abs ad) -> do
1920.68 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
1920.68 s
[opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1920.68 s
[opt-env-conf-test] Just (Rel rd) -> do
1920.68 s
[opt-env-conf-test] let ad = baseDir </> rd
1920.68 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1920.68 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1920.68 s
[opt-env-conf-test]
1920.68 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1920.68 s
[opt-env-conf-test] Nothing -> pure []
1920.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
1920.68 s
[opt-env-conf-test] @@ -154,19 +154,15 @@
1920.68 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
1920.68 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1920.68 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1920.68 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1920.68 s
[opt-env-conf-test] Nothing -> case fp of
1920.68 s
[opt-env-conf-test] [] -> do
1920.68 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1920.68 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1920.68 s
[opt-env-conf-test] _ -> pure []
1920.68 s
[opt-env-conf-test] Just (Abs ad) -> do
1920.68 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1920.68 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1920.68 s
[opt-env-conf-test] - Just (Rel rd) -> do
1920.68 s
[opt-env-conf-test] - let ad = baseDir </> rd
1920.68 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
1920.68 s
[opt-env-conf-test] - pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1920.68 s
[opt-env-conf-test]
1920.68 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1920.68 s
[opt-env-conf-test] Nothing -> pure []
1920.68 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:27-35
1920.68 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1920.68 s
[opt-env-conf-test] splitOnSlash s =
1920.68 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1920.68 s
[opt-env-conf-test] in case rest of
1920.68 s
[opt-env-conf-test] - [] -> [seg | not (null seg) ]
1920.68 s
[opt-env-conf-test] + [] -> [seg | n o t ( not (null seg) ) ]
1920.68 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1920.68 s
[opt-env-conf-test]
1920.68 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1926.65 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
1926.65 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1926.67 s
[opt-env-conf-test] Nothing -> pure []
1926.67 s
[opt-env-conf-test] Just (Abs af) -> do
1926.67 s
[opt-env-conf-test] let dir = parent af
1926.68 s
[opt-env-conf-test] - let filterHidden = if h i d den R e l (dirna m e a f ) then id else filter (not . hiddenRel)
1926.68 s
[opt-env-conf-test] + let filterHidden = if F a l s e then id else filter (not . hiddenRel)
1926.68 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1926.68 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1926.68 s
[opt-env-conf-test] Just (Rel rf) ->
1926.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
1926.68 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1926.68 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1926.68 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1926.68 s
[opt-env-conf-test] Just (Rel rf) ->
1926.68 s
[opt-env-conf-test] - if fp == "."
1926.68 s
[opt-env-conf-test] + if T r ue
1926.68 s
[opt-env-conf-test] then do
1926.68 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1926.68 s
[opt-env-conf-test] pure (map fromRelDir ds)
1926.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
1926.68 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1926.68 s
[opt-env-conf-test] Nothing -> pure []
1926.68 s
[opt-env-conf-test] Just (Abs af) -> do
1926.68 s
[opt-env-conf-test] let dir = parent af
1926.68 s
[opt-env-conf-test] - let filterHidden = if h i d den Rel ( d i r n a m e a f ) then id else filter (not . hiddenRel)
1926.68 s
[opt-env-conf-test] + let filterHidden = if T r u e then id else filter (not . hiddenRel)
1926.68 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1926.68 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1926.68 s
[opt-env-conf-test] Just (Rel rf) ->
1926.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
1926.68 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1926.68 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1926.68 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1926.68 s
[opt-env-conf-test] Just (Rel rf) ->
1926.68 s
[opt-env-conf-test] - i f f p = = " . "
1926.68 s
[opt-env-conf-test] + i f Fals e
1926.68 s
[opt-env-conf-test] then do
1926.68 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1926.68 s
[opt-env-conf-test] pure (map fromRelDir ds)
1926.68 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:179:12-21
1926.68 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1926.69 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1926.69 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1926.69 s
[opt-env-conf-test] Just (Rel rf) ->
1926.69 s
[opt-env-conf-test] - if fp == "."
1926.69 s
[opt-env-conf-test] + if n o t ( fp == "." )
1926.69 s
[opt-env-conf-test] then do
1926.69 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1926.69 s
[opt-env-conf-test] pure (map fromRelDir ds)
1926.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
1926.69 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1926.69 s
[opt-env-conf-test] else do
1926.69 s
[opt-env-conf-test] let dir = parent rf
1926.69 s
[opt-env-conf-test] let ad = baseDir </> dir
1926.69 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
1926.69 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
1926.69 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1926.69 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1926.69 s
[opt-env-conf-test]
1926.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
1926.69 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1926.69 s
[opt-env-conf-test] else do
1926.69 s
[opt-env-conf-test] let dir = parent rf
1926.69 s
[opt-env-conf-test] let ad = baseDir </> dir
1926.69 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
1926.69 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
1926.69 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1926.69 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1926.69 s
[opt-env-conf-test]
1926.69 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:186:35-47
1926.69 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1926.69 s
[opt-env-conf-test] else do
1926.69 s
[opt-env-conf-test] let dir = parent rf
1926.69 s
[opt-env-conf-test] let ad = baseDir </> dir
1926.69 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1926.69 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
1926.69 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1926.69 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1926.69 s
[opt-env-conf-test]
1926.69 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:175:31-53
1926.69 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1926.69 s
[opt-env-conf-test] Nothing -> pure []
1926.69 s
[opt-env-conf-test] Just (Abs af) -> do
1926.69 s
[opt-env-conf-test] let dir = parent af
1926.69 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1926.69 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel (dirname af) ) then id else filter (not . hiddenRel)
1926.69 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1926.70 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1926.70 s
[opt-env-conf-test] Just (Rel rf) ->
1926.70 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
1926.70 s
[opt-env-conf-test] @@ -168,24 +168,19 @@
1926.70 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1926.70 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1926.70 s
[opt-env-conf-test]
1926.70 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1926.70 s
[opt-env-conf-test] Nothing -> pure []
1926.70 s
[opt-env-conf-test] - Just (Abs af) -> do
1926.70 s
[opt-env-conf-test] - let dir = parent af
1926.70 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1926.70 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving dir
1926.70 s
[opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1926.70 s
[opt-env-conf-test] Just (Rel rf) ->
1926.70 s
[opt-env-conf-test] if fp == "."
1926.70 s
[opt-env-conf-test] then do
1926.70 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1926.70 s
[opt-env-conf-test] pure (map fromRelDir ds)
1926.70 s
[opt-env-conf-test] else do
1926.70 s
[opt-env-conf-test] let dir = parent rf
1926.70 s
[opt-env-conf-test] let ad = baseDir </> dir
1926.70 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1926.70 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1926.70 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1926.70 s
[opt-env-conf-test]
1926.70 s
[opt-env-conf-test] pure $
1926.70 s
[opt-env-conf-test] concat
1926.70 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
1926.70 s
[opt-env-conf-test] @@ -168,24 +168,13 @@
1926.70 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1926.70 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1926.70 s
[opt-env-conf-test]
1926.70 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1926.70 s
[opt-env-conf-test] Nothing -> pure []
1926.71 s
[opt-env-conf-test] Just (Abs af) -> do
1926.71 s
[opt-env-conf-test] let dir = parent af
1926.71 s
[opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1926.71 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1926.71 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1926.71 s
[opt-env-conf-test] - Just (Rel rf) ->
1926.71 s
[opt-env-conf-test] - if fp == "."
1926.71 s
[opt-env-conf-test] - then do
1926.71 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
1926.71 s
[opt-env-conf-test] - pure (map fromRelDir ds)
1926.71 s
[opt-env-conf-test] - else do
1926.71 s
[opt-env-conf-test] - let dir = parent rf
1926.71 s
[opt-env-conf-test] - let ad = baseDir </> dir
1926.71 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1926.71 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
1926.71 s
[opt-env-conf-test] - pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1926.71 s
[opt-env-conf-test]
1926.71 s
[opt-env-conf-test] pure $
1926.71 s
[opt-env-conf-test] concat
1926.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
1926.71 s
[opt-env-conf-test] @@ -189,9 +189,7 @@
1926.71 s
[opt-env-conf-test]
1926.71 s
[opt-env-conf-test] pure $
1926.71 s
[opt-env-conf-test] concat
1926.71 s
[opt-env-conf-test] - [ dirsFromPartialListing,
1926.71 s
[opt-env-conf-test] - dirsFromParentListing
1926.71 s
[opt-env-conf-test] ]
1926.71 s
[opt-env-conf-test] where
1926.71 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1926.71 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1926.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
1926.71 s
[opt-env-conf-test] @@ -189,9 +189,8 @@
1926.71 s
[opt-env-conf-test]
1926.71 s
[opt-env-conf-test] pure $
1926.71 s
[opt-env-conf-test] concat
1926.71 s
[opt-env-conf-test] - [ dirsFromPartialListing,
1926.71 s
[opt-env-conf-test] dirsFromParentListing
1926.71 s
[opt-env-conf-test] ]
1926.71 s
[opt-env-conf-test] where
1926.71 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1926.71 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1926.71 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
1926.71 s
[opt-env-conf-test] @@ -71,14 +71,8 @@
1931.93 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1931.93 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1931.95 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1931.95 s
[opt-env-conf-test] Nothing -> case fp of
1931.95 s
[opt-env-conf-test] - [] -> do
1931.95 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
1931.95 s
[opt-env-conf-test] - pure
1931.95 s
[opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
1931.95 s
[opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
1931.95 s
[opt-env-conf-test] - )
1931.95 s
[opt-env-conf-test] _ -> pure ([], [])
1931.95 s
[opt-env-conf-test] Just (Abs ad) -> do
1931.95 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1931.95 s
[opt-env-conf-test] pure
1931.95 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
1931.95 s
[opt-env-conf-test] @@ -71,14 +71,13 @@
1931.95 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1931.95 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1931.95 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1931.95 s
[opt-env-conf-test] Nothing -> case fp of
1931.95 s
[opt-env-conf-test] [] -> do
1931.95 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1931.95 s
[opt-env-conf-test] pure
1931.95 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
1931.95 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
1931.95 s
[opt-env-conf-test] )
1931.95 s
[opt-env-conf-test] - _ -> pure ([], [])
1931.95 s
[opt-env-conf-test] Just (Abs ad) -> do
1931.95 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1931.95 s
[opt-env-conf-test] pure
1931.95 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
1931.95 s
[opt-env-conf-test] @@ -70,28 +70,20 @@
1931.95 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
1931.95 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1931.95 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1931.95 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1931.95 s
[opt-env-conf-test] - Nothing -> case fp of
1931.95 s
[opt-env-conf-test] - [] -> do
1931.95 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
1931.96 s
[opt-env-conf-test] - pure
1931.96 s
[opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
1931.96 s
[opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
1931.96 s
[opt-env-conf-test] - )
1931.96 s
[opt-env-conf-test] - _ -> pure ([], [])
1931.96 s
[opt-env-conf-test] Just (Abs ad) -> do
1931.96 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1931.96 s
[opt-env-conf-test] pure
1931.96 s
[opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
1931.96 s
[opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
1931.96 s
[opt-env-conf-test] )
1931.96 s
[opt-env-conf-test] Just (Rel rd) -> do
1931.96 s
[opt-env-conf-test] let ad = baseDir </> rd
1931.96 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1931.96 s
[opt-env-conf-test] pure
1931.96 s
[opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
1931.96 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1931.96 s
[opt-env-conf-test] )
1931.96 s
[opt-env-conf-test]
1931.96 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1931.96 s
[opt-env-conf-test] Nothing ->
1931.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
1931.96 s
[opt-env-conf-test] @@ -168,24 +168,23 @@
1931.96 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1931.96 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1931.96 s
[opt-env-conf-test]
1931.96 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1931.96 s
[opt-env-conf-test] - Nothing -> pure []
1931.96 s
[opt-env-conf-test] Just (Abs af) -> do
1931.96 s
[opt-env-conf-test] let dir = parent af
1931.96 s
[opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1931.96 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1931.96 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1931.96 s
[opt-env-conf-test] Just (Rel rf) ->
1931.96 s
[opt-env-conf-test] if fp == "."
1931.96 s
[opt-env-conf-test] then do
1931.96 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1931.96 s
[opt-env-conf-test] pure (map fromRelDir ds)
1931.96 s
[opt-env-conf-test] else do
1931.96 s
[opt-env-conf-test] let dir = parent rf
1931.96 s
[opt-env-conf-test] let ad = baseDir </> dir
1931.96 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1931.96 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1931.96 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1931.96 s
[opt-env-conf-test]
1931.96 s
[opt-env-conf-test] pure $
1931.96 s
[opt-env-conf-test] concat
1931.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
1931.96 s
[opt-env-conf-test] @@ -70,28 +70,22 @@
1931.96 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
1931.96 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1931.96 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1931.96 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1931.96 s
[opt-env-conf-test] Nothing -> case fp of
1931.96 s
[opt-env-conf-test] [] -> do
1931.96 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1931.96 s
[opt-env-conf-test] pure
1931.96 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
1931.96 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
1931.96 s
[opt-env-conf-test] )
1931.96 s
[opt-env-conf-test] _ -> pure ([], [])
1931.96 s
[opt-env-conf-test] - Just (Abs ad) -> do
1931.96 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
1931.96 s
[opt-env-conf-test] - pure
1931.96 s
[opt-env-conf-test] - ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
1931.96 s
[opt-env-conf-test] - map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
1931.96 s
[opt-env-conf-test] - )
1931.96 s
[opt-env-conf-test] Just (Rel rd) -> do
1931.96 s
[opt-env-conf-test] let ad = baseDir </> rd
1931.96 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1931.96 s
[opt-env-conf-test] pure
1931.96 s
[opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
1931.96 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1931.96 s
[opt-env-conf-test] )
1931.96 s
[opt-env-conf-test]
1931.96 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1931.96 s
[opt-env-conf-test] Nothing ->
1931.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
1931.96 s
[opt-env-conf-test] @@ -154,19 +154,14 @@
1931.96 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
1931.96 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1931.96 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1931.96 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1931.96 s
[opt-env-conf-test] - Nothing -> case fp of
1931.96 s
[opt-env-conf-test] - [] -> do
1931.96 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
1931.96 s
[opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
1931.96 s
[opt-env-conf-test] - _ -> pure []
1931.96 s
[opt-env-conf-test] Just (Abs ad) -> do
1931.96 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1931.96 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1931.96 s
[opt-env-conf-test] Just (Rel rd) -> do
1931.96 s
[opt-env-conf-test] let ad = baseDir </> rd
1931.96 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1931.96 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1931.96 s
[opt-env-conf-test]
1931.96 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1931.96 s
[opt-env-conf-test] Nothing -> pure []
1931.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
1931.96 s
[opt-env-conf-test] @@ -211,9 +211,8 @@
1931.96 s
[opt-env-conf-test] }
1931.96 s
[opt-env-conf-test]
1931.96 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1931.96 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1931.96 s
[opt-env-conf-test] ('.' : _) -> True
1931.96 s
[opt-env-conf-test] - _ -> False
1931.96 s
[opt-env-conf-test]
1931.96 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1931.96 s
[opt-env-conf-test] stripCurDir = \case
1931.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
1931.96 s
[opt-env-conf-test] @@ -240,9 +240,8 @@
1931.96 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1931.96 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1931.96 s
[opt-env-conf-test] -- Find the index after the last "../" component
1931.96 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1931.96 s
[opt-env-conf-test] - [] -> 0
1931.96 s
[opt-env-conf-test] ixs -> maximum ixs
1931.96 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1931.96 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1931.96 s
[opt-env-conf-test] else
1931.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
1931.96 s
[opt-env-conf-test] @@ -155,11 +155,10 @@
1931.96 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1931.97 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1931.97 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1931.97 s
[opt-env-conf-test] Nothing -> case fp of
1931.97 s
[opt-env-conf-test] [] -> do
1931.97 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1931.97 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1931.97 s
[opt-env-conf-test] - _ -> pure []
1931.97 s
[opt-env-conf-test] Just (Abs ad) -> do
1931.97 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1931.97 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1931.97 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:243:66-75
1931.97 s
[opt-env-conf-test] @@ -240,7 +240,7 @@
1931.97 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1931.97 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1931.97 s
[opt-env-conf-test] -- Find the index after the last "../" component
1931.97 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".." ] of
1931.97 s
[opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, n o t ( c == ".." ) ] of
1931.97 s
[opt-env-conf-test] [] -> 0
1931.97 s
[opt-env-conf-test] ixs -> maximum ixs
1931.97 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1931.97 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:243:28-76
1931.97 s
[opt-env-conf-test] @@ -240,7 +240,6 @@
1931.97 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1931.97 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1931.97 s
[opt-env-conf-test] -- Find the index after the last "../" component
1937.04 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1937.07 s
[opt-env-conf-test] [] -> 0
1937.07 s
[opt-env-conf-test] ixs -> maximum ixs
1937.07 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1937.07 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
1937.07 s
[opt-env-conf-test] @@ -240,9 +240,8 @@
1937.07 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1937.07 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1937.07 s
[opt-env-conf-test] -- Find the index after the last "../" component
1937.07 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1937.07 s
[opt-env-conf-test] [] -> 0
1937.07 s
[opt-env-conf-test] - ixs -> maximum ixs
1937.07 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1937.07 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1937.07 s
[opt-env-conf-test] else
1937.07 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
1937.07 s
[opt-env-conf-test] @@ -262,9 +262,8 @@
1937.07 s
[opt-env-conf-test] splitOnSlash [] = []
1937.07 s
[opt-env-conf-test] splitOnSlash s =
1937.07 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1937.07 s
[opt-env-conf-test] in case rest of
1937.07 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1937.07 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1937.07 s
[opt-env-conf-test]
1937.07 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1937.07 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1937.08 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:243:66-75
1937.08 s
[opt-env-conf-test] @@ -240,7 +240,7 @@
1937.08 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1937.08 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1937.08 s
[opt-env-conf-test] -- Find the index after the last "../" component
1937.08 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c = = " .. " ] of
1937.08 s
[opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, T r ue ] of
1937.08 s
[opt-env-conf-test] [] -> 0
1937.08 s
[opt-env-conf-test] ixs -> maximum ixs
1937.08 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1937.08 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
1937.08 s
[opt-env-conf-test] @@ -93,33 +93,25 @@
1937.08 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1937.08 s
[opt-env-conf-test] )
1937.08 s
[opt-env-conf-test]
1937.08 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1937.08 s
[opt-env-conf-test] Nothing ->
1937.08 s
[opt-env-conf-test] if fp == "."
1937.08 s
[opt-env-conf-test] then do
1937.08 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1937.08 s
[opt-env-conf-test] pure
1937.08 s
[opt-env-conf-test] ( map fromRelDir ds,
1937.08 s
[opt-env-conf-test] map fromRelFile fs
1937.08 s
[opt-env-conf-test] )
1937.08 s
[opt-env-conf-test] else pure ([], [])
1937.08 s
[opt-env-conf-test] - Just (Abs af) -> do
1937.08 s
[opt-env-conf-test] - let dir = parent af
1937.08 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1937.08 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving dir
1937.08 s
[opt-env-conf-test] - pure
1937.08 s
[opt-env-conf-test] - ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1937.08 s
[opt-env-conf-test] - map (fromAbsFile . (dir </>)) $ filterHidden fs
1937.08 s
[opt-env-conf-test] - )
1937.08 s
[opt-env-conf-test] Just (Rel rf) -> do
1937.08 s
[opt-env-conf-test] let dir = parent rf
1937.08 s
[opt-env-conf-test] let ad = baseDir </> dir
1937.08 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1937.08 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1937.08 s
[opt-env-conf-test] pure
1937.08 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1937.08 s
[opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
1937.08 s
[opt-env-conf-test] )
1937.08 s
[opt-env-conf-test]
1937.08 s
[opt-env-conf-test] pure $
1937.09 s
[opt-env-conf-test] concat
1937.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:34-42
1937.09 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1937.09 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1937.09 s
[opt-env-conf-test] in case rest of
1937.09 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1937.09 s
[opt-env-conf-test] - _ : rest' -> [seg | not ( n u l l s e g )] <> splitOnSlash rest'
1937.09 s
[opt-env-conf-test] + _ : rest' -> [seg | not ( T r u e )] <> splitOnSlash rest'
1937.09 s
[opt-env-conf-test]
1937.09 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1937.09 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1937.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
1937.09 s
[opt-env-conf-test] @@ -93,33 +93,24 @@
1937.09 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1937.09 s
[opt-env-conf-test] )
1937.09 s
[opt-env-conf-test]
1937.09 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1937.09 s
[opt-env-conf-test] Nothing ->
1937.09 s
[opt-env-conf-test] if fp == "."
1937.09 s
[opt-env-conf-test] then do
1937.09 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1937.09 s
[opt-env-conf-test] pure
1937.09 s
[opt-env-conf-test] ( map fromRelDir ds,
1937.09 s
[opt-env-conf-test] map fromRelFile fs
1937.09 s
[opt-env-conf-test] )
1937.09 s
[opt-env-conf-test] else pure ([], [])
1937.09 s
[opt-env-conf-test] Just (Abs af) -> do
1937.09 s
[opt-env-conf-test] let dir = parent af
1937.09 s
[opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1937.09 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1937.09 s
[opt-env-conf-test] pure
1937.09 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1937.09 s
[opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
1937.09 s
[opt-env-conf-test] )
1937.09 s
[opt-env-conf-test] - Just (Rel rf) -> do
1937.09 s
[opt-env-conf-test] - let dir = parent rf
1937.09 s
[opt-env-conf-test] - let ad = baseDir </> dir
1937.09 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1937.09 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
1937.09 s
[opt-env-conf-test] - pure
1937.09 s
[opt-env-conf-test] - ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1937.09 s
[opt-env-conf-test] - map (fromRelFile . (dir </>)) $ filterHidden fs
1937.09 s
[opt-env-conf-test] - )
1937.09 s
[opt-env-conf-test]
1937.09 s
[opt-env-conf-test] pure $
1937.09 s
[opt-env-conf-test] concat
1937.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
1937.09 s
[opt-env-conf-test] @@ -123,11 +123,7 @@
1937.09 s
[opt-env-conf-test]
1937.09 s
[opt-env-conf-test] pure $
1937.09 s
[opt-env-conf-test] concat
1937.09 s
[opt-env-conf-test] - [ map fileResult filesFromPartialListing,
1937.09 s
[opt-env-conf-test] - map fileResult filesFromParentListing,
1937.09 s
[opt-env-conf-test] - map dirResult dirsFromPartialListing,
1937.09 s
[opt-env-conf-test] - map dirResult dirsFromParentListing
1937.10 s
[opt-env-conf-test] ]
1937.10 s
[opt-env-conf-test] where
1937.10 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1937.10 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1937.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
1937.10 s
[opt-env-conf-test] @@ -123,11 +123,10 @@
1937.10 s
[opt-env-conf-test]
1937.10 s
[opt-env-conf-test] pure $
1937.10 s
[opt-env-conf-test] concat
1937.10 s
[opt-env-conf-test] - [ map fileResult filesFromPartialListing,
1937.10 s
[opt-env-conf-test] map fileResult filesFromParentListing,
1937.10 s
[opt-env-conf-test] map dirResult dirsFromPartialListing,
1937.10 s
[opt-env-conf-test] map dirResult dirsFromParentListing
1937.10 s
[opt-env-conf-test] ]
1937.10 s
[opt-env-conf-test] where
1937.10 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1937.10 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1937.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
1937.10 s
[opt-env-conf-test] @@ -123,11 +123,10 @@
1937.10 s
[opt-env-conf-test]
1937.10 s
[opt-env-conf-test] pure $
1937.10 s
[opt-env-conf-test] concat
1937.10 s
[opt-env-conf-test] [ map fileResult filesFromPartialListing,
1937.10 s
[opt-env-conf-test] map fileResult filesFromParentListing,
1937.10 s
[opt-env-conf-test] map dirResult dirsFromPartialListing,
1937.10 s
[opt-env-conf-test] - map dirResult dirsFromParentListing
1937.10 s
[opt-env-conf-test] ]
1937.10 s
[opt-env-conf-test] where
1937.10 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1937.10 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1937.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:144:9-50
1937.10 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1937.10 s
[opt-env-conf-test] pure $ filter matchesExtension results
1937.10 s
[opt-env-conf-test] where
1937.10 s
[opt-env-conf-test] matchesExtension cr
1937.10 s
[opt-env-conf-test] - | " / " `is S u f fixOf` com pletionRes ultVa lu e c r = True
1937.10 s
[opt-env-conf-test] + | T r u e = True
1937.10 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1937.10 s
[opt-env-conf-test]
1937.10 s
[opt-env-conf-test] directoryPath :: Completer
1937.10 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:144:53-57
1937.10 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1937.10 s
[opt-env-conf-test] pure $ filter matchesExtension results
1937.10 s
[opt-env-conf-test] where
1937.10 s
[opt-env-conf-test] matchesExtension cr
1937.10 s
[opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = Tr u e
1937.10 s
[opt-env-conf-test] + | "/" `isSuffixOf` completionResultValue cr = F a ls e
1937.10 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1937.10 s
[opt-env-conf-test]
1937.10 s
[opt-env-conf-test] directoryPath :: Completer
1937.10 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:144:9-50
1937.10 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1937.10 s
[opt-env-conf-test] pure $ filter matchesExtension results
1937.10 s
[opt-env-conf-test] where
1937.11 s
[opt-env-conf-test] matchesExtension cr
1937.11 s
[opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
1937.11 s
[opt-env-conf-test] + | n o t ( "/" `isSuffixOf` completionResultValue cr ) = True
1937.11 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1937.11 s
[opt-env-conf-test]
1937.11 s
[opt-env-conf-test] directoryPath :: Completer
1937.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
1937.11 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
1937.11 s
[opt-env-conf-test] where
1937.11 s
[opt-env-conf-test] matchesExtension cr
1937.11 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
1945.50 s
[opt-env-conf-test] - | otherwise = a n y ( `isSuf fixOf` compl etionResultV alu e c r ) e xts
1945.53 s
[opt-env-conf-test] + | otherwise = T r u e
1945.53 s
[opt-env-conf-test]
1945.53 s
[opt-env-conf-test] directoryPath :: Completer
1945.53 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
1945.53 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:145:21-69
1945.53 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
1945.53 s
[opt-env-conf-test] where
1945.53 s
[opt-env-conf-test] matchesExtension cr
1945.53 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
1945.53 s
[opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1945.53 s
[opt-env-conf-test] + | otherwise = n o t ( any (`isSuffixOf` completionResultValue cr) exts )
1945.53 s
[opt-env-conf-test]
1945.53 s
[opt-env-conf-test] directoryPath :: Completer
1945.53 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
1945.53 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
1945.53 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
1945.53 s
[opt-env-conf-test] where
1945.53 s
[opt-env-conf-test] matchesExtension cr
1945.53 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
1945.53 s
[opt-env-conf-test] - | otherwise = a n y (` isSuff ixOf` com p l e tionRe s ultVa lu e cr) exts
1945.53 s
[opt-env-conf-test] + | otherwise = F a l s e
1945.53 s
[opt-env-conf-test]
1945.53 s
[opt-env-conf-test] directoryPath :: Completer
1945.53 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
1945.54 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Check.hs:80:42-56
1945.54 s
[opt-env-conf-test] @@ -77,7 +77,7 @@
1945.54 s
[opt-env-conf-test] Maybe JSON.Object ->
1945.54 s
[opt-env-conf-test] IO (CheckResult a)
1945.54 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
1945.54 s
[opt-env-conf-test] - errOrSets <- runParserOn capabilities ( J us t debu g Mo d e ) p args envVars mConfig
1945.54 s
[opt-env-conf-test] + errOrSets <- runParserOn capabilities ( N o t h in g ) p args envVars mConfig
1945.54 s
[opt-env-conf-test] pure $ case errOrSets of
1945.54 s
[opt-env-conf-test] Right a -> CheckSucceeded a
1945.54 s
[opt-env-conf-test] Left errs ->
1945.54 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Check.hs:91:72-105
1945.54 s
[opt-env-conf-test] @@ -88,7 +88,7 @@
1945.54 s
[opt-env-conf-test] -- ALL errors are missing capability errors
1945.54 s
[opt-env-conf-test] mapM
1945.54 s
[opt-env-conf-test] ( \case
1945.54 s
[opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> J u s t (M is s ing Capa bility mLoc cap)
1945.54 s
[opt-env-conf-test] + ParseError mLoc (ParseErrorMissingCapability cap) -> N o t h ing
1945.54 s
[opt-env-conf-test] _ -> Nothing
1945.54 s
[opt-env-conf-test] )
1945.54 s
[opt-env-conf-test] errs
1945.54 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
1945.54 s
[opt-env-conf-test] @@ -92,6 +92,5 @@
1945.54 s
[opt-env-conf-test] _ -> Nothing
1945.54 s
[opt-env-conf-test] )
1945.54 s
[opt-env-conf-test] errs
1945.54 s
[opt-env-conf-test] in case mMissingCaps of
1945.54 s
[opt-env-conf-test] - Just ne -> CheckIncapable ne
1945.54 s
[opt-env-conf-test] Nothing -> CheckFailed errs
1945.55 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
1945.55 s
[opt-env-conf-test] @@ -92,6 +92,5 @@
1945.55 s
[opt-env-conf-test] _ -> Nothing
1945.55 s
[opt-env-conf-test] )
1945.55 s
[opt-env-conf-test] errs
1945.55 s
[opt-env-conf-test] in case mMissingCaps of
1945.55 s
[opt-env-conf-test] Just ne -> CheckIncapable ne
1945.55 s
[opt-env-conf-test] - Nothing -> CheckFailed errs
1945.55 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
1945.55 s
[opt-env-conf-test] @@ -78,20 +78,19 @@
1945.55 s
[opt-env-conf-test] IO (CheckResult a)
1945.55 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
1945.55 s
[opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
1945.55 s
[opt-env-conf-test] pure $ case errOrSets of
1945.55 s
[opt-env-conf-test] - Right a -> CheckSucceeded a
1945.55 s
[opt-env-conf-test] Left errs ->
1945.55 s
[opt-env-conf-test] -- If all the errors are missing capability errors, return
1945.55 s
[opt-env-conf-test] -- CheckIncapable, otherwise CheckFailed
1945.55 s
[opt-env-conf-test] let mMissingCaps =
1945.55 s
[opt-env-conf-test] -- This MUST be mapM instead of mapMaybe because we need to ensure
1945.55 s
[opt-env-conf-test] -- ALL errors are missing capability errors
1945.55 s
[opt-env-conf-test] mapM
1945.55 s
[opt-env-conf-test] ( \case
1945.55 s
[opt-env-conf-test] ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
1945.55 s
[opt-env-conf-test] _ -> Nothing
1945.55 s
[opt-env-conf-test] )
1945.55 s
[opt-env-conf-test] errs
1945.55 s
[opt-env-conf-test] in case mMissingCaps of
1945.55 s
[opt-env-conf-test] Just ne -> CheckIncapable ne
1945.56 s
[opt-env-conf-test] Nothing -> CheckFailed errs
1945.56 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
1945.56 s
[opt-env-conf-test] @@ -78,20 +78,5 @@
1945.56 s
[opt-env-conf-test] IO (CheckResult a)
1945.56 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
1945.56 s
[opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
1945.56 s
[opt-env-conf-test] pure $ case errOrSets of
1945.56 s
[opt-env-conf-test] Right a -> CheckSucceeded a
1945.56 s
[opt-env-conf-test] - Left errs ->
1945.56 s
[opt-env-conf-test] - -- If all the errors are missing capability errors, return
1945.56 s
[opt-env-conf-test] - -- CheckIncapable, otherwise CheckFailed
1945.56 s
[opt-env-conf-test] - let mMissingCaps =
1945.56 s
[opt-env-conf-test] - -- This MUST be mapM instead of mapMaybe because we need to ensure
1945.56 s
[opt-env-conf-test] - -- ALL errors are missing capability errors
1945.56 s
[opt-env-conf-test] - mapM
1945.56 s
[opt-env-conf-test] - ( \case
1945.56 s
[opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
1945.56 s
[opt-env-conf-test] - _ -> Nothing
1945.56 s
[opt-env-conf-test] - )
1945.56 s
[opt-env-conf-test] - errs
1945.56 s
[opt-env-conf-test] - in case mMissingCaps of
1945.56 s
[opt-env-conf-test] - Just ne -> CheckIncapable ne
1945.56 s
[opt-env-conf-test] - Nothing -> CheckFailed errs
1945.56 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:34:25-18
1945.56 s
[opt-env-conf-test] @@ -31,9 +31,8 @@
1945.56 s
[opt-env-conf-test] stderrTc <- getTerminalCapabilitiesFromHandle stderr
1945.56 s
[opt-env-conf-test] errOrSets <- runSettingsCheckOn capabilities stderrTc p args envVars mConfig
1945.56 s
[opt-env-conf-test] case errOrSets of
1945.56 s
[opt-env-conf-test] CheckFailed errs -> do
1945.56 s
[opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderErrors errs
1945.56 s
[opt-env-conf-test] exitFailure
1945.56 s
[opt-env-conf-test] CheckIncapable missingCaps -> do
1945.56 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1945.56 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
1945.56 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:40:7-83
1945.56 s
[opt-env-conf-test] @@ -37,7 +37,6 @@
1945.56 s
[opt-env-conf-test] CheckIncapable missingCaps -> do
1945.56 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1945.57 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
1945.57 s
[opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderMissingCapabilities missingCaps
1945.57 s
[opt-env-conf-test] exitSuccess
1945.57 s
[opt-env-conf-test] CheckSucceeded _ -> do
1945.57 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1945.57 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:39:7-143
1945.57 s
[opt-env-conf-test] @@ -36,7 +36,6 @@
1945.57 s
[opt-env-conf-test] exitFailure
1945.57 s
[opt-env-conf-test] CheckIncapable missingCaps -> do
1945.57 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1945.57 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
1945.57 s
[opt-env-conf-test] hPutChunksLocaleWith stderrTc stderr $ renderMissingCapabilities missingCaps
1945.57 s
[opt-env-conf-test] exitSuccess
1945.57 s
[opt-env-conf-test] CheckSucceeded _ -> do
1945.57 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:44:7-71
1945.57 s
[opt-env-conf-test] @@ -41,7 +41,6 @@
1945.57 s
[opt-env-conf-test] exitSuccess
1945.57 s
[opt-env-conf-test] CheckSucceeded _ -> do
1945.57 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1945.57 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Settings parsed successfully."]
1945.57 s
[opt-env-conf-test] exitSuccess
1945.57 s
[opt-env-conf-test]
1945.57 s
[opt-env-conf-test] renderMissingCapabilities :: NonEmpty MissingCapability -> [Chunk]
1945.57 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:426:25-31
1945.57 s
[opt-env-conf-test] @@ -423,6 +423,6 @@
1945.57 s
[opt-env-conf-test] longDasheds =
1945.57 s
[opt-env-conf-test] mapMaybe
1945.57 s
[opt-env-conf-test] ( \case
1945.57 s
[opt-env-conf-test] - DashedLong l -> J u s t l
1945.57 s
[opt-env-conf-test] + DashedLong l -> No t h ing
1945.57 s
[opt-env-conf-test] DashedShort _ -> Nothing
1945.57 s
[opt-env-conf-test] )
1945.57 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:418:26-32
1945.57 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1945.57 s
[opt-env-conf-test] shortDasheds =
1945.57 s
[opt-env-conf-test] mapMaybe
1945.57 s
[opt-env-conf-test] ( \case
1945.57 s
[opt-env-conf-test] - DashedShort c -> J u s t c
1945.57 s
[opt-env-conf-test] + DashedShort c -> No t h ing
1945.57 s
[opt-env-conf-test] DashedLong _ -> Nothing
1945.57 s
[opt-env-conf-test] )
1945.57 s
[opt-env-conf-test]
1945.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
1945.57 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1945.57 s
[opt-env-conf-test] Just (Rel rf) -> do
1945.57 s
[opt-env-conf-test] let dir = parent rf
1945.57 s
[opt-env-conf-test] let ad = baseDir </> dir
1945.57 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
1950.69 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
1950.72 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1950.72 s
[opt-env-conf-test] pure
1950.72 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1950.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
1950.72 s
[opt-env-conf-test] @@ -93,33 +93,24 @@
1950.72 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1950.72 s
[opt-env-conf-test] )
1950.72 s
[opt-env-conf-test]
1950.72 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1950.72 s
[opt-env-conf-test] - Nothing ->
1950.72 s
[opt-env-conf-test] - if fp == "."
1950.72 s
[opt-env-conf-test] - then do
1950.72 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
1950.72 s
[opt-env-conf-test] - pure
1950.72 s
[opt-env-conf-test] - ( map fromRelDir ds,
1950.72 s
[opt-env-conf-test] - map fromRelFile fs
1950.72 s
[opt-env-conf-test] - )
1950.72 s
[opt-env-conf-test] - else pure ([], [])
1950.72 s
[opt-env-conf-test] Just (Abs af) -> do
1950.72 s
[opt-env-conf-test] let dir = parent af
1950.72 s
[opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1950.73 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1950.73 s
[opt-env-conf-test] pure
1950.73 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1950.73 s
[opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
1950.73 s
[opt-env-conf-test] )
1950.73 s
[opt-env-conf-test] Just (Rel rf) -> do
1950.73 s
[opt-env-conf-test] let dir = parent rf
1950.73 s
[opt-env-conf-test] let ad = baseDir </> dir
1950.73 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1950.73 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1950.73 s
[opt-env-conf-test] pure
1950.73 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1950.73 s
[opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
1950.73 s
[opt-env-conf-test] )
1950.73 s
[opt-env-conf-test]
1950.73 s
[opt-env-conf-test] pure $
1950.73 s
[opt-env-conf-test] concat
1950.73 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:117:31-43
1950.73 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1950.73 s
[opt-env-conf-test] Just (Rel rf) -> do
1950.73 s
[opt-env-conf-test] let dir = parent rf
1950.73 s
[opt-env-conf-test] let ad = baseDir </> dir
1950.73 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1950.73 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
1950.73 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1950.73 s
[opt-env-conf-test] pure
1950.73 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1950.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
1950.73 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
1950.73 s
[opt-env-conf-test] else pure ([], [])
1950.73 s
[opt-env-conf-test] Just (Abs af) -> do
1950.73 s
[opt-env-conf-test] let dir = parent af
1950.73 s
[opt-env-conf-test] - let filterHidden = if h idd e nRe l ( f ilenam e a f) then id else filter (not . hiddenRel)
1950.73 s
[opt-env-conf-test] + let filterHidden = if T ru e then id else filter (not . hiddenRel)
1950.73 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1950.73 s
[opt-env-conf-test] pure
1950.73 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1950.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
1950.73 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1950.73 s
[opt-env-conf-test] Just (Rel rf) -> do
1950.73 s
[opt-env-conf-test] let dir = parent rf
1950.74 s
[opt-env-conf-test] let ad = baseDir </> dir
1950.74 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
1950.74 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
1950.74 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1950.74 s
[opt-env-conf-test] pure
1950.74 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1950.74 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:98:12-21
1950.74 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
1950.74 s
[opt-env-conf-test]
1950.74 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1950.74 s
[opt-env-conf-test] Nothing ->
1950.74 s
[opt-env-conf-test] - if fp == "."
1950.74 s
[opt-env-conf-test] + if n o t ( fp == "." )
1950.74 s
[opt-env-conf-test] then do
1950.74 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1950.74 s
[opt-env-conf-test] pure
1950.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:29-43
1950.74 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1950.74 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1950.74 s
[opt-env-conf-test] in case rest of
1950.74 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1950.74 s
[opt-env-conf-test] - _ : rest' -> [seg | n o t (n u l l s e g ) ] <> splitOnSlash rest'
1950.74 s
[opt-env-conf-test] + _ : rest' -> [seg | T r u e ] <> splitOnSlash rest'
1950.74 s
[opt-env-conf-test]
1950.74 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1950.74 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1950.74 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:108:31-54
1950.74 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
1950.74 s
[opt-env-conf-test] else pure ([], [])
1950.74 s
[opt-env-conf-test] Just (Abs af) -> do
1950.74 s
[opt-env-conf-test] let dir = parent af
1950.74 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1950.74 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel (filename af) ) then id else filter (not . hiddenRel)
1950.74 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1950.74 s
[opt-env-conf-test] pure
1950.74 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1950.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
1950.74 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
1950.74 s
[opt-env-conf-test]
1950.74 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1950.74 s
[opt-env-conf-test] Nothing ->
1950.74 s
[opt-env-conf-test] - i f f p = = " . "
1950.74 s
[opt-env-conf-test] + i f Fals e
1950.74 s
[opt-env-conf-test] then do
1950.74 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1950.74 s
[opt-env-conf-test] pure
1950.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
1950.75 s
[opt-env-conf-test] @@ -59,9 +59,8 @@
1950.75 s
[opt-env-conf-test] --
1950.75 s
[opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
1950.75 s
[opt-env-conf-test] auto :: (Read a) => Reader a
1950.75 s
[opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
1950.75 s
[opt-env-conf-test] - Nothing -> Left $ "Un-Read-able value: " <> show s
1950.75 s
[opt-env-conf-test] Just a -> Right a
1950.75 s
[opt-env-conf-test]
1950.75 s
[opt-env-conf-test] -- | Always return True
1950.75 s
[opt-env-conf-test] --
1950.75 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
1950.75 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
1950.75 s
[opt-env-conf-test]
1950.75 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1950.75 s
[opt-env-conf-test] Nothing ->
1950.75 s
[opt-env-conf-test] - if fp == "."
1950.75 s
[opt-env-conf-test] + if T r ue
1950.75 s
[opt-env-conf-test] then do
1950.75 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1950.75 s
[opt-env-conf-test] pure
1950.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
1950.75 s
[opt-env-conf-test] @@ -75,9 +75,8 @@
1950.75 s
[opt-env-conf-test]
1950.75 s
[opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
1950.75 s
[opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
1950.75 s
[opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
1950.75 s
[opt-env-conf-test] Nothing -> Left $ "Unparseable value: " <> show s
1950.75 s
[opt-env-conf-test] - Just a -> Right a
1950.75 s
[opt-env-conf-test]
1950.75 s
[opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
1950.75 s
[opt-env-conf-test] --
1950.75 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:34-42
1950.75 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1950.75 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1950.75 s
[opt-env-conf-test] in case rest of
1950.75 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1950.75 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg) ] <> splitOnSlash rest'
1950.75 s
[opt-env-conf-test] + _ : rest' -> [seg | n o t ( not (null seg) ) ] <> splitOnSlash rest'
1950.75 s
[opt-env-conf-test]
1950.75 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1950.75 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1950.75 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:266:15-37
1950.75 s
[opt-env-conf-test] @@ -263,7 +263,6 @@
1950.75 s
[opt-env-conf-test] splitOnSlash s =
1950.75 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1950.75 s
[opt-env-conf-test] in case rest of
1950.75 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1950.75 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1950.76 s
[opt-env-conf-test]
1950.76 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1950.76 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:22-36
1950.76 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1950.76 s
[opt-env-conf-test] splitOnSlash s =
1950.76 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1950.76 s
[opt-env-conf-test] in case rest of
1950.76 s
[opt-env-conf-test] - [] -> [seg | not (null seg) ]
1950.76 s
[opt-env-conf-test] + [] -> [seg | n o t ( not (null seg) ) ]
1950.76 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1950.76 s
[opt-env-conf-test]
1950.76 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1950.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
1950.76 s
[opt-env-conf-test] @@ -321,9 +321,8 @@
1950.76 s
[opt-env-conf-test] consumeSwitch dasheds as = do
1950.76 s
[opt-env-conf-test] case go (argsBefore as) of
1959.43 s
[opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
1959.46 s
[opt-env-conf-test] Nothing -> case go (argsAfter as) of
1959.46 s
[opt-env-conf-test] - Just newAfters -> Just $ as {argsAfter = newAfters}
1959.46 s
[opt-env-conf-test] Nothing -> Nothing
1959.46 s
[opt-env-conf-test] where
1959.46 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
1959.46 s
[opt-env-conf-test] go = \case
1959.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
1959.46 s
[opt-env-conf-test] @@ -321,9 +321,8 @@
1959.46 s
[opt-env-conf-test] consumeSwitch dasheds as = do
1959.46 s
[opt-env-conf-test] case go (argsBefore as) of
1959.46 s
[opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
1959.46 s
[opt-env-conf-test] Nothing -> case go (argsAfter as) of
1959.46 s
[opt-env-conf-test] Just newAfters -> Just $ as {argsAfter = newAfters}
1959.46 s
[opt-env-conf-test] - Nothing -> Nothing
1959.46 s
[opt-env-conf-test] where
1959.46 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
1959.46 s
[opt-env-conf-test] go = \case
1959.46 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
1959.46 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1959.46 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1959.46 s
[opt-env-conf-test] (Live o : rest) -> case o of
1959.46 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1959.46 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds i s L on g cs of
1959.46 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds Tru e cs of
1959.46 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1959.46 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1959.46 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1959.46 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
1959.46 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1959.46 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1959.46 s
[opt-env-conf-test] (Live o : rest) -> case o of
1959.47 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1959.47 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds i s Lo n g cs of
1959.47 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds F a l s e cs of
1959.47 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1959.47 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1959.47 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1959.47 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:334:65-71
1959.47 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1959.47 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1959.47 s
[opt-env-conf-test] (Live o : rest) -> case o of
1959.47 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1959.47 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1959.47 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds n o t ( isLong ) cs of
1959.47 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1959.47 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1959.47 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1959.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
1959.47 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1959.47 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1959.47 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1959.47 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1959.47 s
[opt-env-conf-test] - let rest' = if n e ed T o mbs to n e then Dead : rest else rest
1959.47 s
[opt-env-conf-test] + let rest' = if T ru e then Dead : rest else rest
1959.47 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1959.47 s
[opt-env-conf-test] _ -> do
1959.47 s
[opt-env-conf-test] os <- go rest
1959.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
1959.47 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1959.47 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1959.47 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1959.47 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1959.47 s
[opt-env-conf-test] - let rest' = if n e ed Tom b s to n e then Dead : rest else rest
1959.47 s
[opt-env-conf-test] + let rest' = if F al s e then Dead : rest else rest
1959.47 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1959.47 s
[opt-env-conf-test] _ -> do
1959.47 s
[opt-env-conf-test] os <- go rest
1959.47 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:338:28-41
1959.48 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1959.48 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1959.48 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1959.48 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1959.48 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1959.48 s
[opt-env-conf-test] + let rest' = if n o t ( needTombstone ) then Dead : rest else rest
1959.48 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1959.48 s
[opt-env-conf-test] _ -> do
1959.48 s
[opt-env-conf-test] os <- go rest
1959.48 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
1959.48 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1959.48 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1959.48 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1959.48 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1959.48 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s L on g cs') : rest'
1959.48 s
[opt-env-conf-test] + in Just $ Live (ArgDashed Tru e cs') : rest'
1959.48 s
[opt-env-conf-test] _ -> do
1959.48 s
[opt-env-conf-test] os <- go rest
1959.48 s
[opt-env-conf-test] pure $ Live o : os
1959.48 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
1959.48 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1959.48 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1959.48 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1959.48 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1959.48 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s Lo n g cs') : rest'
1959.48 s
[opt-env-conf-test] + in Just $ Live (ArgDashed F a l s e cs') : rest'
1959.48 s
[opt-env-conf-test] _ -> do
1959.48 s
[opt-env-conf-test] os <- go rest
1959.48 s
[opt-env-conf-test] pure $ Live o : os
1959.48 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:339:40-46
1959.48 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1959.48 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1959.48 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1959.48 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1959.48 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1959.48 s
[opt-env-conf-test] + in Just $ Live (ArgDashed n o t ( isLong ) cs') : rest'
1959.48 s
[opt-env-conf-test] _ -> do
1959.48 s
[opt-env-conf-test] os <- go rest
1959.48 s
[opt-env-conf-test] pure $ Live o : os
1959.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1959.48 s
[opt-env-conf-test] @@ -331,12 +331,11 @@
1959.48 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1959.48 s
[opt-env-conf-test] (Live o : rest) -> case o of
1959.48 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1959.49 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1959.49 s
[opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
1959.49 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1959.49 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1959.49 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1959.49 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1959.49 s
[opt-env-conf-test] _ -> do
1959.49 s
[opt-env-conf-test] os <- go rest
1959.49 s
[opt-env-conf-test] pure $ Live o : os
1959.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1959.49 s
[opt-env-conf-test] @@ -331,12 +331,11 @@
1959.49 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1959.49 s
[opt-env-conf-test] (Live o : rest) -> case o of
1959.49 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1959.49 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1959.49 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1959.49 s
[opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
1959.49 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1959.49 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1959.49 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1959.49 s
[opt-env-conf-test] _ -> do
1959.49 s
[opt-env-conf-test] os <- go rest
1959.49 s
[opt-env-conf-test] pure $ Live o : os
1959.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1959.49 s
[opt-env-conf-test] @@ -331,12 +331,9 @@
1959.49 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1959.49 s
[opt-env-conf-test] (Live o : rest) -> case o of
1959.49 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1959.49 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1959.49 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1959.49 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1959.49 s
[opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
1959.49 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1959.49 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1959.49 s
[opt-env-conf-test] _ -> do
1959.49 s
[opt-env-conf-test] os <- go rest
1959.49 s
[opt-env-conf-test] pure $ Live o : os
1959.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1959.49 s
[opt-env-conf-test] @@ -329,17 +329,16 @@
1959.49 s
[opt-env-conf-test] go = \case
1959.49 s
[opt-env-conf-test] [] -> Nothing
1959.49 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1959.49 s
[opt-env-conf-test] (Live o : rest) -> case o of
1966.06 s
[opt-env-conf-test] - ArgBareDoubleDash -> Nothing
1966.06 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1966.08 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1966.08 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1966.08 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1966.08 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1966.08 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1966.08 s
[opt-env-conf-test] _ -> do
1966.09 s
[opt-env-conf-test] os <- go rest
1966.09 s
[opt-env-conf-test] pure $ Live o : os
1966.09 s
[opt-env-conf-test]
1966.09 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1966.09 s
[opt-env-conf-test] -- character because then we need a tombstone.
1966.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1966.09 s
[opt-env-conf-test] @@ -329,17 +329,11 @@
1966.09 s
[opt-env-conf-test] go = \case
1966.09 s
[opt-env-conf-test] [] -> Nothing
1966.09 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1966.09 s
[opt-env-conf-test] (Live o : rest) -> case o of
1966.09 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1966.09 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1966.09 s
[opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
1966.09 s
[opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
1966.09 s
[opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
1966.09 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1966.09 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1966.09 s
[opt-env-conf-test] _ -> do
1966.09 s
[opt-env-conf-test] os <- go rest
1966.09 s
[opt-env-conf-test] pure $ Live o : os
1966.09 s
[opt-env-conf-test]
1966.09 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1966.09 s
[opt-env-conf-test] -- character because then we need a tombstone.
1966.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1966.09 s
[opt-env-conf-test] @@ -329,17 +329,14 @@
1966.09 s
[opt-env-conf-test] go = \case
1966.09 s
[opt-env-conf-test] [] -> Nothing
1966.09 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1966.09 s
[opt-env-conf-test] (Live o : rest) -> case o of
1966.09 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1966.09 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1966.09 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1966.09 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1966.09 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1966.09 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1966.09 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1966.09 s
[opt-env-conf-test] - _ -> do
1966.09 s
[opt-env-conf-test] - os <- go rest
1966.09 s
[opt-env-conf-test] - pure $ Live o : os
1966.09 s
[opt-env-conf-test]
1966.09 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1966.09 s
[opt-env-conf-test] -- character because then we need a tombstone.
1966.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
1966.09 s
[opt-env-conf-test] @@ -306,9 +306,8 @@
1966.09 s
[opt-env-conf-test] where
1966.09 s
[opt-env-conf-test] go acc ne =
1966.09 s
[opt-env-conf-test] let (a, mRest) = NE.uncons ne
1966.09 s
[opt-env-conf-test] in case mRest of
1966.09 s
[opt-env-conf-test] - Nothing -> (NE.nonEmpty $ reverse acc, a)
1966.10 s
[opt-env-conf-test] Just rest -> go (a : acc) rest
1966.10 s
[opt-env-conf-test]
1966.10 s
[opt-env-conf-test] -- | Consume a switch.
1966.10 s
[opt-env-conf-test] --
1966.10 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
1966.10 s
[opt-env-conf-test] @@ -306,9 +306,8 @@
1966.10 s
[opt-env-conf-test] where
1966.10 s
[opt-env-conf-test] go acc ne =
1966.10 s
[opt-env-conf-test] let (a, mRest) = NE.uncons ne
1966.10 s
[opt-env-conf-test] in case mRest of
1966.10 s
[opt-env-conf-test] Nothing -> (NE.nonEmpty $ reverse acc, a)
1966.10 s
[opt-env-conf-test] - Just rest -> go (a : acc) rest
1966.10 s
[opt-env-conf-test]
1966.10 s
[opt-env-conf-test] -- | Consume a switch.
1966.10 s
[opt-env-conf-test] --
1966.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
1966.10 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1966.10 s
[opt-env-conf-test] NonEmpty Char ->
1966.10 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1966.10 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1966.10 s
[opt-env-conf-test] - if i s L on g
1966.10 s
[opt-env-conf-test] + if Tru e
1966.10 s
[opt-env-conf-test] then
1966.10 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1966.10 s
[opt-env-conf-test] then Just Nothing
1966.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
1966.10 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1966.10 s
[opt-env-conf-test] NonEmpty Char ->
1966.10 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1966.10 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1966.10 s
[opt-env-conf-test] - if i s Long
1966.10 s
[opt-env-conf-test] + if F a l s e
1966.10 s
[opt-env-conf-test] then
1966.10 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1966.10 s
[opt-env-conf-test] then Just Nothing
1966.10 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:293:6-12
1966.10 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1966.10 s
[opt-env-conf-test] NonEmpty Char ->
1966.10 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1966.10 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1966.10 s
[opt-env-conf-test] - if isLong
1966.10 s
[opt-env-conf-test] + if n o t ( isLong )
1966.10 s
[opt-env-conf-test] then
1966.10 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1966.10 s
[opt-env-conf-test] then Just Nothing
1966.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
1966.10 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1966.10 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1966.10 s
[opt-env-conf-test] if isLong
1966.10 s
[opt-env-conf-test] then
1966.10 s
[opt-env-conf-test] - if D as hedL ong cs `ele m` da s h e d s
1966.10 s
[opt-env-conf-test] + if Tr u e
1966.10 s
[opt-env-conf-test] then Just Nothing
1966.10 s
[opt-env-conf-test] else Nothing
1966.10 s
[opt-env-conf-test] else
1966.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
1966.10 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1966.10 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1966.10 s
[opt-env-conf-test] if isLong
1966.10 s
[opt-env-conf-test] then
1966.10 s
[opt-env-conf-test] - if D a sh edL ong cs `e l em` da s h e d s
1966.10 s
[opt-env-conf-test] + if F a l s e
1966.10 s
[opt-env-conf-test] then Just Nothing
1966.10 s
[opt-env-conf-test] else Nothing
1966.10 s
[opt-env-conf-test] else
1966.10 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:295:10-38
1966.10 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1966.10 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1966.10 s
[opt-env-conf-test] if isLong
1966.10 s
[opt-env-conf-test] then
1966.10 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1966.10 s
[opt-env-conf-test] + if n o t ( DashedLong cs `elem` dasheds )
1966.10 s
[opt-env-conf-test] then Just Nothing
1966.10 s
[opt-env-conf-test] else Nothing
1966.10 s
[opt-env-conf-test] else
1966.10 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:296:14-26
1966.10 s
[opt-env-conf-test] @@ -293,7 +293,7 @@
1966.10 s
[opt-env-conf-test] if isLong
1966.10 s
[opt-env-conf-test] then
1966.10 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1966.10 s
[opt-env-conf-test] - then J u s t Nothing
1966.10 s
[opt-env-conf-test] + then Nothing
1966.10 s
[opt-env-conf-test] else Nothing
1966.10 s
[opt-env-conf-test] else
1966.10 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1966.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
1966.10 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1966.10 s
[opt-env-conf-test] else Nothing
1966.10 s
[opt-env-conf-test] else
1966.10 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1966.10 s
[opt-env-conf-test] - in if D a sh edS ho r t c `elem` da s h e d s
1966.10 s
[opt-env-conf-test] + in if T r u e
1966.10 s
[opt-env-conf-test] then Just mRest
1966.10 s
[opt-env-conf-test] else Nothing
1966.10 s
[opt-env-conf-test]
1966.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
1966.10 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1966.10 s
[opt-env-conf-test] else Nothing
1966.10 s
[opt-env-conf-test] else
1966.10 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1966.10 s
[opt-env-conf-test] - in if D a sh edS hort c `e l em` da s h e d s
1966.10 s
[opt-env-conf-test] + in if F a l s e
1966.10 s
[opt-env-conf-test] then Just mRest
1966.10 s
[opt-env-conf-test] else Nothing
1966.10 s
[opt-env-conf-test]
1966.10 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:300:14-42
1966.10 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1966.11 s
[opt-env-conf-test] else Nothing
1966.11 s
[opt-env-conf-test] else
1966.11 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1966.11 s
[opt-env-conf-test] - in if DashedShort c `elem` dasheds
1966.11 s
[opt-env-conf-test] + in if n o t ( DashedShort c `elem` dasheds )
1966.11 s
[opt-env-conf-test] then Just mRest
1966.11 s
[opt-env-conf-test] else Nothing
1966.11 s
[opt-env-conf-test]
1966.11 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:301:18-28
1966.11 s
[opt-env-conf-test] @@ -298,7 +298,7 @@
1966.11 s
[opt-env-conf-test] else
1966.11 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1966.11 s
[opt-env-conf-test] in if DashedShort c `elem` dasheds
1966.11 s
[opt-env-conf-test] - then J u s t m R est
1966.11 s
[opt-env-conf-test] + then N o t h in g
1966.11 s
[opt-env-conf-test] else Nothing
1966.11 s
[opt-env-conf-test]
1966.11 s
[opt-env-conf-test] unsnocNE :: NonEmpty a -> (Maybe (NonEmpty a), a)
1966.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-23
1966.11 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1966.11 s
[opt-env-conf-test] Maybe String
1966.11 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1966.11 s
[opt-env-conf-test] (c :| rest)
1966.11 s
[opt-env-conf-test] - | c `e lem` da sh e d s && not (null rest) ->
1966.11 s
[opt-env-conf-test] + | Tru e && not (null rest) ->
1966.11 s
[opt-env-conf-test] Just rest
1966.11 s
[opt-env-conf-test] _ -> Nothing
1966.11 s
[opt-env-conf-test]
1966.11 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-23
1966.11 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1966.11 s
[opt-env-conf-test] Maybe String
1966.11 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1966.11 s
[opt-env-conf-test] (c :| rest)
1966.11 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1975.75 s
[opt-env-conf-test] + | n o t ( c `elem` dasheds ) && not (null rest) ->
1975.77 s
[opt-env-conf-test] Just rest
1975.77 s
[opt-env-conf-test] _ -> Nothing
1975.77 s
[opt-env-conf-test]
1975.78 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:32-41
1975.78 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1975.78 s
[opt-env-conf-test] Maybe String
1975.78 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1975.78 s
[opt-env-conf-test] (c :| rest)
1975.78 s
[opt-env-conf-test] - | c `elem` dasheds && not ( n u ll r e s t ) ->
1975.78 s
[opt-env-conf-test] + | c `elem` dasheds && not ( T r u e ) ->
1975.78 s
[opt-env-conf-test] Just rest
1975.78 s
[opt-env-conf-test] _ -> Nothing
1975.78 s
[opt-env-conf-test]
1975.78 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:32-41
1975.78 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1975.78 s
[opt-env-conf-test] Maybe String
1975.78 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1975.78 s
[opt-env-conf-test] (c :| rest)
1975.78 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1975.78 s
[opt-env-conf-test] + | c `elem` dasheds && n o t ( not (null rest) ) ->
1975.78 s
[opt-env-conf-test] Just rest
1975.78 s
[opt-env-conf-test] _ -> Nothing
1975.78 s
[opt-env-conf-test]
1975.78 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:31-42
1975.78 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1975.78 s
[opt-env-conf-test] Maybe String
1975.78 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1975.78 s
[opt-env-conf-test] (c :| rest)
1975.78 s
[opt-env-conf-test] - | c `elem` dasheds && not ( null rest) ->
1975.78 s
[opt-env-conf-test] + | c `elem` dasheds && n o t not ( ( null rest) ) ->
1975.78 s
[opt-env-conf-test] Just rest
1975.78 s
[opt-env-conf-test] _ -> Nothing
1975.78 s
[opt-env-conf-test]
1975.78 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:31-42
1975.78 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1975.78 s
[opt-env-conf-test] Maybe String
1975.78 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1975.78 s
[opt-env-conf-test] (c :| rest)
1975.78 s
[opt-env-conf-test] - | c `elem` dasheds && not ( n u l l r e s t ) ->
1975.78 s
[opt-env-conf-test] + | c `elem` dasheds && not T r u e ->
1975.78 s
[opt-env-conf-test] Just rest
1975.78 s
[opt-env-conf-test] _ -> Nothing
1975.78 s
[opt-env-conf-test]
1975.78 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:27-42
1975.78 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1975.78 s
[opt-env-conf-test] Maybe String
1975.78 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1975.78 s
[opt-env-conf-test] (c :| rest)
1975.78 s
[opt-env-conf-test] - | c `elem` dasheds && n ot (n u ll r e st ) ->
1975.79 s
[opt-env-conf-test] + | c `elem` dasheds && Tr u e ->
1975.79 s
[opt-env-conf-test] Just rest
1975.79 s
[opt-env-conf-test] _ -> Nothing
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:27-42
1975.79 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1975.79 s
[opt-env-conf-test] Maybe String
1975.79 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1975.79 s
[opt-env-conf-test] (c :| rest)
1975.79 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1975.79 s
[opt-env-conf-test] + | c `elem` dasheds && n o t ( not (null rest) ) ->
1975.79 s
[opt-env-conf-test] Just rest
1975.79 s
[opt-env-conf-test] _ -> Nothing
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-42
1975.79 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1975.79 s
[opt-env-conf-test] Maybe String
1975.79 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1975.79 s
[opt-env-conf-test] (c :| rest)
1975.79 s
[opt-env-conf-test] - | c `e lem` d as heds && not ( n u l l r e s t ) ->
1975.79 s
[opt-env-conf-test] + | Tr u e ->
1975.79 s
[opt-env-conf-test] Just rest
1975.79 s
[opt-env-conf-test] _ -> Nothing
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Args.hs:282:7-42
1975.79 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1975.79 s
[opt-env-conf-test] Maybe String
1975.79 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1975.79 s
[opt-env-conf-test] (c :| rest)
1975.79 s
[opt-env-conf-test] - | c `elem` dasheds & & not (null rest) ->
1975.79 s
[opt-env-conf-test] + | c `elem` dasheds | | not (null rest) ->
1975.79 s
[opt-env-conf-test] Just rest
1975.79 s
[opt-env-conf-test] _ -> Nothing
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-42
1975.79 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1975.79 s
[opt-env-conf-test] Maybe String
1975.79 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1975.79 s
[opt-env-conf-test] (c :| rest)
1975.79 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1975.79 s
[opt-env-conf-test] + | n o t ( c `elem` dasheds && not (null rest) ) ->
1975.79 s
[opt-env-conf-test] Just rest
1975.79 s
[opt-env-conf-test] _ -> Nothing
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:283:9-18
1975.79 s
[opt-env-conf-test] @@ -280,7 +280,7 @@
1975.79 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1975.79 s
[opt-env-conf-test] (c :| rest)
1975.79 s
[opt-env-conf-test] | c `elem` dasheds && not (null rest) ->
1975.79 s
[opt-env-conf-test] - J u st re s t
1975.79 s
[opt-env-conf-test] + N o t h ing
1975.79 s
[opt-env-conf-test] _ -> Nothing
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] -- Can consume only the last in a folded dashed
1975.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
1975.79 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1975.79 s
[opt-env-conf-test] NonEmpty Char ->
1975.79 s
[opt-env-conf-test] Maybe String
1975.79 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1975.79 s
[opt-env-conf-test] - if i s L on g
1975.79 s
[opt-env-conf-test] + if Tru e
1975.79 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1975.79 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
1975.79 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1975.79 s
[opt-env-conf-test] NonEmpty Char ->
1975.79 s
[opt-env-conf-test] Maybe String
1975.79 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1975.79 s
[opt-env-conf-test] - if i s Long
1975.79 s
[opt-env-conf-test] + if F a l s e
1975.79 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1975.79 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:258:6-12
1975.79 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1975.79 s
[opt-env-conf-test] NonEmpty Char ->
1975.79 s
[opt-env-conf-test] Maybe String
1975.79 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1975.79 s
[opt-env-conf-test] - if isLong
1975.79 s
[opt-env-conf-test] + if n o t ( isLong )
1975.79 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1975.79 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
1975.79 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1975.79 s
[opt-env-conf-test] renderArg = \case
1975.79 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1975.79 s
[opt-env-conf-test] ArgBareDash -> "-"
1975.79 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1975.79 s
[opt-env-conf-test] + ArgDashed l cs -> (if T r u e then "--" else "-") <> NE.toList cs
1975.79 s
[opt-env-conf-test] ArgPlain a -> a
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1975.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
1975.79 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1975.79 s
[opt-env-conf-test] renderArg = \case
1975.79 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1975.79 s
[opt-env-conf-test] ArgBareDash -> "-"
1975.79 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1975.79 s
[opt-env-conf-test] + ArgDashed l cs -> (if F a l s e then "--" else "-") <> NE.toList cs
1975.79 s
[opt-env-conf-test] ArgPlain a -> a
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1975.79 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:89:25-26
1975.79 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1975.79 s
[opt-env-conf-test] renderArg = \case
1975.79 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1975.79 s
[opt-env-conf-test] ArgBareDash -> "-"
1975.79 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1975.79 s
[opt-env-conf-test] + ArgDashed l cs -> (if n o t ( l ) then "--" else "-") <> NE.toList cs
1975.79 s
[opt-env-conf-test] ArgPlain a -> a
1975.79 s
[opt-env-conf-test]
1975.79 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1975.79 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
1975.79 s
[opt-env-conf-test] @@ -70,28 +70,21 @@
1975.79 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
1975.79 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1975.79 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1975.79 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1975.79 s
[opt-env-conf-test] Nothing -> case fp of
1975.79 s
[opt-env-conf-test] [] -> do
1975.79 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1975.79 s
[opt-env-conf-test] pure
1975.79 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
1975.79 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
1975.79 s
[opt-env-conf-test] )
1975.79 s
[opt-env-conf-test] _ -> pure ([], [])
1975.79 s
[opt-env-conf-test] Just (Abs ad) -> do
1975.79 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1975.79 s
[opt-env-conf-test] pure
1975.79 s
[opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
1975.79 s
[opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
1975.79 s
[opt-env-conf-test] )
1985.95 s
[opt-env-conf-test] - Just (Rel rd) -> do
1985.97 s
[opt-env-conf-test] - let ad = baseDir </> rd
1985.97 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
1985.97 s
[opt-env-conf-test] - pure
1985.98 s
[opt-env-conf-test] - ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
1985.98 s
[opt-env-conf-test] - map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1985.98 s
[opt-env-conf-test] - )
1985.98 s
[opt-env-conf-test]
1985.98 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1985.98 s
[opt-env-conf-test] Nothing ->
1985.98 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
1985.98 s
[opt-env-conf-test] @@ -130,10 +130,9 @@
1985.98 s
[opt-env-conf-test] -- things like a default command.
1985.98 s
[opt-env-conf-test] let addConsumeNothing = \case
1985.98 s
[opt-env-conf-test] [] -> [(Nothing, as)]
1985.98 s
[opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
1985.98 s
[opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
1985.98 s
[opt-env-conf-test] Nothing -> r
1985.98 s
[opt-env-conf-test] - Just _ -> t : addConsumeNothing rest
1985.98 s
[opt-env-conf-test]
1985.98 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1985.98 s
[opt-env-conf-test] [] -> []
1985.98 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
1985.98 s
[opt-env-conf-test] @@ -130,10 +130,9 @@
1985.98 s
[opt-env-conf-test] -- things like a default command.
1985.98 s
[opt-env-conf-test] let addConsumeNothing = \case
1985.98 s
[opt-env-conf-test] [] -> [(Nothing, as)]
1985.98 s
[opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
1985.98 s
[opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
1985.98 s
[opt-env-conf-test] - Nothing -> r
1985.98 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
1985.98 s
[opt-env-conf-test]
1985.98 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1985.98 s
[opt-env-conf-test] [] -> []
1985.98 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:352:6-12
1985.98 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1985.98 s
[opt-env-conf-test] NonEmpty Char ->
1985.98 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1985.99 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1985.99 s
[opt-env-conf-test] - if isLong
1985.99 s
[opt-env-conf-test] + if n o t ( isLong )
1985.99 s
[opt-env-conf-test] then
1985.99 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1985.99 s
[opt-env-conf-test] then Just Nothing
1985.99 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:365:34-43
1985.99 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1985.99 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1985.99 s
[opt-env-conf-test] go (c :| rest) =
1985.99 s
[opt-env-conf-test] if c `elem` cs
1985.99 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1985.99 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, n o t ( null rest)) ) <$> NE.nonEmpty rest
1985.99 s
[opt-env-conf-test] else do
1985.99 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1985.99 s
[opt-env-conf-test] new <- go rest'
1985.99 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
1985.99 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1985.99 s
[opt-env-conf-test] where
1985.99 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1985.99 s
[opt-env-conf-test] go (c :| rest) =
1985.99 s
[opt-env-conf-test] - if c ` e l em` cs
1985.99 s
[opt-env-conf-test] + if T ru e
1985.99 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1985.99 s
[opt-env-conf-test] else do
1985.99 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1985.99 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:148:35-45
1985.99 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
1985.99 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1985.99 s
[opt-env-conf-test] Live a -> case a of
1985.99 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1985.99 s
[opt-env-conf-test] - ArgPlain plain -> [( J u s t pl a in , consumed)]
1985.99 s
[opt-env-conf-test] + ArgPlain plain -> [( No t h in g , consumed)]
1985.99 s
[opt-env-conf-test] -- A single dash is always an argument
1985.99 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1985.99 s
[opt-env-conf-test] -- Bare double-dash
1985.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
1986.00 s
[opt-env-conf-test] @@ -403,7 +403,6 @@
1986.00 s
[opt-env-conf-test]
1986.00 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1986.00 s
[opt-env-conf-test] renderDashed = \case
1986.00 s
[opt-env-conf-test] - DashedShort c -> ['-', c]
1986.00 s
[opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
1986.00 s
[opt-env-conf-test]
1986.00 s
[opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
1986.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
1986.00 s
[opt-env-conf-test] @@ -403,7 +403,6 @@
1986.00 s
[opt-env-conf-test]
1986.00 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1986.00 s
[opt-env-conf-test] renderDashed = \case
1986.00 s
[opt-env-conf-test] - DashedShort c -> ['-', c]
1986.00 s
[opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
1986.00 s
[opt-env-conf-test]
1986.00 s
[opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
1986.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
1986.00 s
[opt-env-conf-test] @@ -269,9 +269,8 @@
1986.00 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1986.00 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1986.00 s
[opt-env-conf-test] applyComponent d ".." = parent d
1986.00 s
[opt-env-conf-test] applyComponent d c = case parseRelDir c of
1986.00 s
[opt-env-conf-test] - Nothing -> d
1986.00 s
[opt-env-conf-test] Just rd -> d </> rd
1986.00 s
[opt-env-conf-test]
1986.00 s
[opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
1986.01 s
[opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
1986.01 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
1986.01 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1986.01 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1986.01 s
[opt-env-conf-test] if isLong
1986.01 s
[opt-env-conf-test] then
1986.01 s
[opt-env-conf-test] - if D a sh edL ong cs `e l em` da s h e d s
1986.01 s
[opt-env-conf-test] + if F a l s e
1986.01 s
[opt-env-conf-test] then Just Nothing
1986.01 s
[opt-env-conf-test] else Nothing
1986.02 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1986.02 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:355:14-26
1986.02 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1986.02 s
[opt-env-conf-test] if isLong
1986.02 s
[opt-env-conf-test] then
1986.02 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1986.02 s
[opt-env-conf-test] - then J u s t Nothing
1986.02 s
[opt-env-conf-test] + then Nothing
1986.02 s
[opt-env-conf-test] else Nothing
1986.02 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1986.02 s
[opt-env-conf-test]
1986.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
1986.02 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1986.02 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1986.02 s
[opt-env-conf-test] if isLong
1986.02 s
[opt-env-conf-test] then
1986.02 s
[opt-env-conf-test] - if D as hedL ong cs `ele m` da s h e d s
1986.02 s
[opt-env-conf-test] + if Tr u e
1986.02 s
[opt-env-conf-test] then Just Nothing
1986.02 s
[opt-env-conf-test] else Nothing
1986.02 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1986.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
1986.02 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1986.02 s
[opt-env-conf-test] NonEmpty Char ->
1986.02 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1986.02 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1986.02 s
[opt-env-conf-test] - if i s Long
1986.02 s
[opt-env-conf-test] + if F a l s e
1986.02 s
[opt-env-conf-test] then
1986.03 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1986.03 s
[opt-env-conf-test] then Just Nothing
1986.03 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:372:27-31
1986.03 s
[opt-env-conf-test] @@ -369,7 +369,7 @@
1986.03 s
[opt-env-conf-test] pure $
1986.03 s
[opt-env-conf-test] Just $
1986.03 s
[opt-env-conf-test] maybe
1986.03 s
[opt-env-conf-test] - (c :| [], Tr u e)
1986.03 s
[opt-env-conf-test] + (c :| [], F a ls e)
1986.03 s
[opt-env-conf-test] (first (c NE.<|))
1986.03 s
[opt-env-conf-test] new
1986.03 s
[opt-env-conf-test]
1986.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
1986.03 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1986.03 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1986.03 s
[opt-env-conf-test] go (c :| rest) =
1986.03 s
[opt-env-conf-test] if c `elem` cs
1986.03 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n ul l r e s t )) <$> NE.nonEmpty rest
1986.03 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, F a l s e )) <$> NE.nonEmpty rest
1986.03 s
[opt-env-conf-test] else do
1986.03 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1986.03 s
[opt-env-conf-test] new <- go rest'
1986.03 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:354:10-38
1986.03 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1986.03 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1986.04 s
[opt-env-conf-test] if isLong
1986.04 s
[opt-env-conf-test] then
1986.04 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1986.04 s
[opt-env-conf-test] + if n o t ( DashedLong cs `elem` dasheds )
1986.04 s
[opt-env-conf-test] then Just Nothing
1986.04 s
[opt-env-conf-test] else Nothing
1986.04 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1986.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
1986.04 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1986.04 s
[opt-env-conf-test] NonEmpty Char ->
1986.04 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1986.04 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1986.04 s
[opt-env-conf-test] - if i s L on g
1986.04 s
[opt-env-conf-test] + if Tru e
1986.04 s
[opt-env-conf-test] then
1986.04 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1986.04 s
[opt-env-conf-test] then Just Nothing
1986.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1986.04 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
1986.04 s
[opt-env-conf-test] -- A single dash is always an argument
1986.04 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1986.04 s
[opt-env-conf-test] -- Bare double-dash
1986.04 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1986.04 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1986.04 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1986.04 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1986.04 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1986.04 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1986.04 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1986.04 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1986.04 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1986.04 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1986.04 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1986.05 s
[opt-env-conf-test] -- pop the args as they come.
1986.05 s
[opt-env-conf-test] _ ->
1986.05 s
[opt-env-conf-test] let go = \case
1986.05 s
[opt-env-conf-test] [] -> Nothing
1986.05 s
[opt-env-conf-test] (Dead : rest) -> go rest
1986.05 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1986.05 s
[opt-env-conf-test] in case go afters of
1986.05 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1986.05 s
[opt-env-conf-test] Just (firstLive, rest) ->
1986.05 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1986.05 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1986.05 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1986.05 s
[opt-env-conf-test] -- arguments.
1986.05 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1986.05 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1986.05 s
[opt-env-conf-test] )
1986.05 s
[opt-env-conf-test] ]
1986.05 s
[opt-env-conf-test] ArgDashed {} ->
1990.86 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1990.87 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1990.87 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:205:39-58
1990.87 s
[opt-env-conf-test] @@ -202,7 +202,7 @@
1990.87 s
[opt-env-conf-test] ]
1990.87 s
[opt-env-conf-test] _ ->
1990.87 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1990.87 s
[opt-env-conf-test] - ++ [ ( J us t ( re n d e rA r g a ' ) , Args (befores ++ [Live a, Dead]) rest),
1990.87 s
[opt-env-conf-test] + ++ [ ( N o t h i n g , Args (befores ++ [Live a, Dead]) rest),
1990.87 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1990.87 s
[opt-env-conf-test] ]
1990.87 s
[opt-env-conf-test] )
1990.87 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:187:31-49
1990.87 s
[opt-env-conf-test] @@ -184,7 +184,7 @@
1990.87 s
[opt-env-conf-test] -- TODO we need to continue looking too
1990.87 s
[opt-env-conf-test] let switchCase =
1990.87 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1990.87 s
[opt-env-conf-test] - ++ [ ( J us t (r e n d e rA r g a ) , consumed)
1990.87 s
[opt-env-conf-test] + ++ [ ( N o t hi n g , consumed)
1990.87 s
[opt-env-conf-test] ]
1990.87 s
[opt-env-conf-test] in case afters of
1990.87 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1990.87 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
1990.87 s
[opt-env-conf-test] @@ -202,7 +202,6 @@
1990.87 s
[opt-env-conf-test] ]
1990.87 s
[opt-env-conf-test] _ ->
1990.87 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1990.87 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1990.87 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1990.88 s
[opt-env-conf-test] ]
1990.88 s
[opt-env-conf-test] )
1990.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
1990.88 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1990.88 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1990.88 s
[opt-env-conf-test] go (c :| rest) =
1990.88 s
[opt-env-conf-test] if c `elem` cs
1990.88 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n u ll r e s t )) <$> NE.nonEmpty rest
1990.88 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, T r u e )) <$> NE.nonEmpty rest
1990.88 s
[opt-env-conf-test] else do
1990.88 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1990.88 s
[opt-env-conf-test] new <- go rest'
1990.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:364:10-21
1990.88 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1990.88 s
[opt-env-conf-test] where
1990.88 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1990.88 s
[opt-env-conf-test] go (c :| rest) =
1990.88 s
[opt-env-conf-test] - if c `elem` cs
1990.88 s
[opt-env-conf-test] + if n o t ( c `elem` cs )
1990.88 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1990.88 s
[opt-env-conf-test] else do
1990.88 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1990.88 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:201:39-57
1990.88 s
[opt-env-conf-test] @@ -198,7 +198,7 @@
1990.88 s
[opt-env-conf-test] ( case a' of
1990.88 s
[opt-env-conf-test] ArgDashed {} ->
1990.88 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1990.88 s
[opt-env-conf-test] - ++ [ ( J us t (r e n d e rA r g a ) , consumed)
1990.88 s
[opt-env-conf-test] + ++ [ ( N o t hi n g , consumed)
1990.88 s
[opt-env-conf-test] ]
1990.88 s
[opt-env-conf-test] _ ->
1990.88 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1990.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
1990.88 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1990.88 s
[opt-env-conf-test] where
1990.88 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1990.88 s
[opt-env-conf-test] go (c :| rest) =
1990.88 s
[opt-env-conf-test] - if c ` e l em` c s
1990.88 s
[opt-env-conf-test] + if Fa l s e
1990.88 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1990.88 s
[opt-env-conf-test] else do
1990.88 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1990.88 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
1990.88 s
[opt-env-conf-test] @@ -202,7 +202,6 @@
1990.88 s
[opt-env-conf-test] ]
1990.88 s
[opt-env-conf-test] _ ->
1990.88 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1990.89 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1990.89 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1990.89 s
[opt-env-conf-test] ]
1990.89 s
[opt-env-conf-test] )
1990.89 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
1990.89 s
[opt-env-conf-test] @@ -202,9 +202,8 @@
1990.89 s
[opt-env-conf-test] ]
1990.89 s
[opt-env-conf-test] _ ->
1990.89 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1990.89 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1990.89 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1990.89 s
[opt-env-conf-test] ]
1990.89 s
[opt-env-conf-test] )
1990.89 s
[opt-env-conf-test]
1990.89 s
[opt-env-conf-test] -- | Consume an option.
1990.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
1990.89 s
[opt-env-conf-test] @@ -186,26 +186,25 @@
1990.89 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1990.89 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1990.89 s
[opt-env-conf-test] ]
1990.89 s
[opt-env-conf-test] in case afters of
1990.89 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1990.89 s
[opt-env-conf-test] [] -> switchCase
1990.89 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1990.89 s
[opt-env-conf-test] (Live a' : rest) ->
1990.89 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1990.89 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1990.89 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1990.89 s
[opt-env-conf-test] -- * The dashed is an argument
1990.89 s
[opt-env-conf-test] ( case a' of
1990.89 s
[opt-env-conf-test] ArgDashed {} ->
1990.89 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1990.89 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1990.89 s
[opt-env-conf-test] ]
1990.89 s
[opt-env-conf-test] _ ->
1990.89 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1990.89 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1990.89 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1990.89 s
[opt-env-conf-test] ]
1990.89 s
[opt-env-conf-test] )
1990.89 s
[opt-env-conf-test]
1990.89 s
[opt-env-conf-test] -- | Consume an option.
1990.89 s
[opt-env-conf-test] --
1990.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1990.89 s
[opt-env-conf-test] @@ -143,69 +143,68 @@
1990.89 s
[opt-env-conf-test] in case firstArg of
1990.89 s
[opt-env-conf-test] -- Skip any dead argument
1990.89 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1990.89 s
[opt-env-conf-test] Live a -> case a of
1990.89 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1990.89 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
1990.89 s
[opt-env-conf-test] -- A single dash is always an argument
1990.89 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1990.89 s
[opt-env-conf-test] -- Bare double-dash
1990.89 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1990.89 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1990.89 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1990.89 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1990.89 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1990.89 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1990.89 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1990.89 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1990.89 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1990.89 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1990.89 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1990.90 s
[opt-env-conf-test] -- pop the args as they come.
1990.90 s
[opt-env-conf-test] _ ->
1990.90 s
[opt-env-conf-test] let go = \case
1990.90 s
[opt-env-conf-test] [] -> Nothing
1990.90 s
[opt-env-conf-test] (Dead : rest) -> go rest
1990.90 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1990.90 s
[opt-env-conf-test] in case go afters of
1990.90 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1990.90 s
[opt-env-conf-test] Just (firstLive, rest) ->
1990.90 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1990.90 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1990.90 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1990.90 s
[opt-env-conf-test] -- arguments.
1993.40 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1993.48 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1993.48 s
[opt-env-conf-test] )
1993.48 s
[opt-env-conf-test] ]
1993.48 s
[opt-env-conf-test] ArgDashed {} ->
1993.48 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1993.48 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1993.48 s
[opt-env-conf-test] -- * The dashed is an argument
1993.48 s
[opt-env-conf-test] -- TODO we need to continue looking too
1993.49 s
[opt-env-conf-test] let switchCase =
1993.49 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1993.49 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1993.49 s
[opt-env-conf-test] ]
1993.49 s
[opt-env-conf-test] in case afters of
1993.49 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1993.49 s
[opt-env-conf-test] [] -> switchCase
1993.49 s
[opt-env-conf-test] (Dead : _) -> switchCase
1993.49 s
[opt-env-conf-test] (Live a' : rest) ->
1993.49 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1993.49 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1993.49 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1993.49 s
[opt-env-conf-test] -- * The dashed is an argument
1993.49 s
[opt-env-conf-test] ( case a' of
1993.49 s
[opt-env-conf-test] ArgDashed {} ->
1993.49 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1993.49 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1993.49 s
[opt-env-conf-test] ]
1993.49 s
[opt-env-conf-test] _ ->
1993.49 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1993.49 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1993.49 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1993.49 s
[opt-env-conf-test] ]
1993.49 s
[opt-env-conf-test] )
1993.49 s
[opt-env-conf-test]
1993.49 s
[opt-env-conf-test] -- | Consume an option.
1993.49 s
[opt-env-conf-test] --
1993.49 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:33-43
1993.49 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1993.49 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1993.49 s
[opt-env-conf-test] in case rest of
1993.49 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1993.50 s
[opt-env-conf-test] - _ : rest' -> [seg | not ( null seg) ] <> splitOnSlash rest'
1993.50 s
[opt-env-conf-test] + _ : rest' -> [seg | n o t not ( ( null seg) ) ] <> splitOnSlash rest'
1993.50 s
[opt-env-conf-test]
1993.50 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1993.50 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1993.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1993.50 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1993.50 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1993.50 s
[opt-env-conf-test]
1993.50 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1993.50 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1993.50 s
[opt-env-conf-test] [] -> []
1993.50 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1993.50 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1993.50 s
[opt-env-conf-test]
1993.50 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1993.50 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1993.50 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:154:25-34
1993.50 s
[opt-env-conf-test] @@ -151,7 +151,7 @@
1993.50 s
[opt-env-conf-test] -- Bare double-dash
1993.50 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1993.50 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1993.50 s
[opt-env-conf-test] - [] -> [( J u s t " -- " , consumed)]
1993.50 s
[opt-env-conf-test] + [] -> [( No t hing , consumed)]
1993.50 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1993.50 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1993.50 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1993.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
1993.50 s
[opt-env-conf-test] @@ -166,17 +166,16 @@
1993.50 s
[opt-env-conf-test] [] -> Nothing
1993.50 s
[opt-env-conf-test] (Dead : rest) -> go rest
1993.50 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1993.50 s
[opt-env-conf-test] in case go afters of
1993.50 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1993.50 s
[opt-env-conf-test] Just (firstLive, rest) ->
1993.50 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1993.50 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1993.50 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1993.50 s
[opt-env-conf-test] -- arguments.
1993.50 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1993.50 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1993.50 s
[opt-env-conf-test] )
1993.50 s
[opt-env-conf-test] ]
1993.50 s
[opt-env-conf-test] ArgDashed {} ->
1993.50 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1993.50 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1993.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
1993.51 s
[opt-env-conf-test] @@ -166,17 +166,8 @@
1993.51 s
[opt-env-conf-test] [] -> Nothing
1993.51 s
[opt-env-conf-test] (Dead : rest) -> go rest
1993.51 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1993.51 s
[opt-env-conf-test] in case go afters of
1993.51 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1993.51 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1993.51 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1993.51 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1993.51 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1993.51 s
[opt-env-conf-test] - -- arguments.
1993.51 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1993.51 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1993.51 s
[opt-env-conf-test] - )
1993.51 s
[opt-env-conf-test] - ]
1993.51 s
[opt-env-conf-test] ArgDashed {} ->
1993.51 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1993.51 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1993.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1993.51 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
1993.51 s
[opt-env-conf-test] -- A single dash is always an argument
1993.51 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1993.51 s
[opt-env-conf-test] -- Bare double-dash
1993.51 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1993.51 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1993.51 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1993.51 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1993.51 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1993.51 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1993.51 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1993.51 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1993.51 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1993.51 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1993.51 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1993.51 s
[opt-env-conf-test] -- pop the args as they come.
1993.51 s
[opt-env-conf-test] _ ->
1993.51 s
[opt-env-conf-test] let go = \case
1993.51 s
[opt-env-conf-test] [] -> Nothing
1993.51 s
[opt-env-conf-test] (Dead : rest) -> go rest
1993.51 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1993.51 s
[opt-env-conf-test] in case go afters of
1993.51 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1993.51 s
[opt-env-conf-test] Just (firstLive, rest) ->
1993.51 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1993.51 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1993.52 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1993.52 s
[opt-env-conf-test] -- arguments.
1993.52 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1993.52 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1993.52 s
[opt-env-conf-test] )
1993.52 s
[opt-env-conf-test] ]
1993.52 s
[opt-env-conf-test] ArgDashed {} ->
1994.37 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1994.37 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1994.37 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:244:15-16
1994.37 s
[opt-env-conf-test] @@ -241,7 +241,7 @@
1994.37 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1994.37 s
[opt-env-conf-test] -- Find the index after the last "../" component
1994.37 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1994.37 s
[opt-env-conf-test] - [] -> 0
1994.37 s
[opt-env-conf-test] + [] -> 1
1994.37 s
[opt-env-conf-test] ixs -> maximum ixs
1994.37 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1994.37 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1994.37 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:168:45-60
1994.37 s
[opt-env-conf-test] @@ -165,7 +165,7 @@
1994.37 s
[opt-env-conf-test] let go = \case
1994.37 s
[opt-env-conf-test] [] -> Nothing
1994.37 s
[opt-env-conf-test] (Dead : rest) -> go rest
1994.37 s
[opt-env-conf-test] - (Live a' : rest) -> J u st (a', r es t )
1994.37 s
[opt-env-conf-test] + (Live a' : rest) -> No t hin g
1994.37 s
[opt-env-conf-test] in case go afters of
1994.37 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1994.37 s
[opt-env-conf-test] Just (firstLive, rest) ->
1994.37 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:26-36
1994.38 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1994.38 s
[opt-env-conf-test] splitOnSlash s =
1994.38 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1994.38 s
[opt-env-conf-test] in case rest of
1994.38 s
[opt-env-conf-test] - [] -> [seg | not ( n u l l s e g ) ]
1994.38 s
[opt-env-conf-test] + [] -> [seg | not T r u e ]
1994.38 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1994.38 s
[opt-env-conf-test]
1994.38 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1994.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1994.38 s
[opt-env-conf-test] @@ -143,69 +143,41 @@
1994.38 s
[opt-env-conf-test] in case firstArg of
1994.38 s
[opt-env-conf-test] -- Skip any dead argument
1994.38 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1994.38 s
[opt-env-conf-test] Live a -> case a of
1994.38 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1994.38 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1994.38 s
[opt-env-conf-test] -- A single dash is always an argument
1994.38 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1994.38 s
[opt-env-conf-test] -- Bare double-dash
1994.38 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
1994.38 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
1994.38 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1994.38 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
1994.38 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
1994.38 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
1994.38 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1994.38 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1994.38 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
1994.38 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
1994.38 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
1994.38 s
[opt-env-conf-test] - -- pop the args as they come.
1994.38 s
[opt-env-conf-test] - _ ->
1994.38 s
[opt-env-conf-test] - let go = \case
1994.38 s
[opt-env-conf-test] - [] -> Nothing
1994.38 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1994.38 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1994.38 s
[opt-env-conf-test] - in case go afters of
1994.38 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1994.38 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1994.38 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1994.38 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1994.38 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1994.38 s
[opt-env-conf-test] - -- arguments.
1994.38 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1994.38 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1994.39 s
[opt-env-conf-test] - )
1994.39 s
[opt-env-conf-test] - ]
1994.39 s
[opt-env-conf-test] ArgDashed {} ->
1994.39 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1994.39 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1994.39 s
[opt-env-conf-test] -- * The dashed is an argument
1994.39 s
[opt-env-conf-test] -- TODO we need to continue looking too
1994.39 s
[opt-env-conf-test] let switchCase =
1994.39 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1994.39 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1994.39 s
[opt-env-conf-test] ]
1994.39 s
[opt-env-conf-test] in case afters of
1994.39 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1994.39 s
[opt-env-conf-test] [] -> switchCase
1994.39 s
[opt-env-conf-test] (Dead : _) -> switchCase
1994.39 s
[opt-env-conf-test] (Live a' : rest) ->
1994.39 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1994.39 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1994.39 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1994.39 s
[opt-env-conf-test] -- * The dashed is an argument
1994.39 s
[opt-env-conf-test] ( case a' of
1994.39 s
[opt-env-conf-test] ArgDashed {} ->
1994.39 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1994.39 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1994.39 s
[opt-env-conf-test] ]
1994.39 s
[opt-env-conf-test] _ ->
1994.39 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1994.39 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1994.39 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2002.26 s
[opt-env-conf-test] ]
2002.26 s
[opt-env-conf-test] )
2002.26 s
[opt-env-conf-test]
2002.29 s
[opt-env-conf-test] -- | Consume an option.
2002.29 s
[opt-env-conf-test] --
2002.29 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:26-36
2002.29 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
2002.29 s
[opt-env-conf-test] splitOnSlash s =
2002.29 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
2002.29 s
[opt-env-conf-test] in case rest of
2002.29 s
[opt-env-conf-test] - [] -> [seg | not ( null seg) ]
2002.29 s
[opt-env-conf-test] + [] -> [seg | n o t not ( ( null seg) ) ]
2002.29 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
2002.29 s
[opt-env-conf-test]
2002.29 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
2002.29 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
2002.29 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
2002.29 s
[opt-env-conf-test] else pure ([], [])
2002.29 s
[opt-env-conf-test] Just (Abs af) -> do
2002.29 s
[opt-env-conf-test] let dir = parent af
2002.29 s
[opt-env-conf-test] - let filterHidden = if h i dde nRe l ( f ile n a m e af ) then id else filter (not . hiddenRel)
2002.29 s
[opt-env-conf-test] + let filterHidden = if F a ls e then id else filter (not . hiddenRel)
2002.30 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
2002.30 s
[opt-env-conf-test] pure
2002.30 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
2002.30 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:150:32-40
2002.30 s
[opt-env-conf-test] @@ -147,7 +147,7 @@
2002.30 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2002.30 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2002.30 s
[opt-env-conf-test] -- A single dash is always an argument
2002.30 s
[opt-env-conf-test] - ArgBareDash -> [( J u s t "- " , consumed)]
2002.30 s
[opt-env-conf-test] + ArgBareDash -> [( No t h i ng , consumed)]
2002.30 s
[opt-env-conf-test] -- Bare double-dash
2002.30 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2002.30 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2002.30 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:247:39-71
2002.30 s
[opt-env-conf-test] @@ -244,7 +244,7 @@
2002.30 s
[opt-env-conf-test] (Live v : rest') ->
2002.30 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2002.30 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test] - Just Nothing -> J us t ( re n de rA r g v, Dead : rest')
2002.30 s
[opt-env-conf-test] + Just Nothing -> N o t hi n g
2002.30 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2002.30 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
2002.30 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
2002.30 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2002.30 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2002.30 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s L on g cs') : Dead : rest')
2002.30 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed Tru e cs') : Dead : rest')
2002.30 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test]
2002.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
2002.30 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
2002.30 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2002.30 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2002.30 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s Lo n g cs') : Dead : rest')
2002.30 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed F a l s e cs') : Dead : rest')
2002.30 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test]
2002.30 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:248:77-83
2002.30 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
2002.30 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2002.30 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2002.30 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2002.30 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed n o t ( isLong ) cs') : Dead : rest')
2002.30 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.30 s
[opt-env-conf-test]
2002.30 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:248:42-104
2002.30 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
2002.30 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2002.31 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2002.31 s
[opt-env-conf-test] - Just (Just cs') -> J u s t (r enderAr g v, Live (ArgD as h ed i s Lo ng cs') : Dead : rest')
2002.31 s
[opt-env-conf-test] + Just (Just cs') -> N o t h i ng
2002.31 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test]
2002.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
2002.31 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
2002.31 s
[opt-env-conf-test] Nothing ->
2002.31 s
[opt-env-conf-test] case rest of
2002.31 s
[opt-env-conf-test] (Live v : rest') ->
2002.31 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2002.31 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2002.31 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2002.31 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test]
2002.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
2002.31 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
2002.31 s
[opt-env-conf-test] Nothing ->
2002.31 s
[opt-env-conf-test] case rest of
2002.31 s
[opt-env-conf-test] (Live v : rest') ->
2002.31 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2002.31 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
2002.31 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2002.31 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test]
2002.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
2002.31 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
2002.31 s
[opt-env-conf-test] Nothing ->
2002.31 s
[opt-env-conf-test] case rest of
2002.31 s
[opt-env-conf-test] (Live v : rest') ->
2002.31 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2002.31 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2002.31 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2002.31 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test]
2002.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
2002.31 s
[opt-env-conf-test] @@ -240,13 +240,8 @@
2002.31 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2002.31 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2002.31 s
[opt-env-conf-test] Nothing ->
2002.31 s
[opt-env-conf-test] case rest of
2002.31 s
[opt-env-conf-test] - (Live v : rest') ->
2002.31 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
2002.31 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
2002.31 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
2002.31 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2006.48 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2006.48 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2006.48 s
[opt-env-conf-test]
2006.48 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2006.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
2006.48 s
[opt-env-conf-test] @@ -240,13 +240,12 @@
2006.48 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2006.48 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2006.48 s
[opt-env-conf-test] Nothing ->
2006.48 s
[opt-env-conf-test] case rest of
2006.48 s
[opt-env-conf-test] (Live v : rest') ->
2006.48 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2006.49 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2006.49 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2006.49 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2006.49 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
2006.49 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2006.49 s
[opt-env-conf-test]
2006.49 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2006.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
2006.49 s
[opt-env-conf-test] @@ -237,16 +237,15 @@
2006.49 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2006.49 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2006.49 s
[opt-env-conf-test] ArgDashed isLong cs ->
2006.49 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2006.49 s
[opt-env-conf-test] - Just v -> Just (v, Dead : rest)
2006.49 s
[opt-env-conf-test] Nothing ->
2006.49 s
[opt-env-conf-test] case rest of
2006.49 s
[opt-env-conf-test] (Live v : rest') ->
2006.49 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2006.49 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2006.49 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2006.49 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2006.49 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2006.49 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2006.49 s
[opt-env-conf-test]
2006.49 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2006.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
2006.50 s
[opt-env-conf-test] @@ -237,16 +237,8 @@
2006.50 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2006.50 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2006.50 s
[opt-env-conf-test] ArgDashed isLong cs ->
2006.50 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2006.50 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2006.50 s
[opt-env-conf-test] - Nothing ->
2006.50 s
[opt-env-conf-test] - case rest of
2006.50 s
[opt-env-conf-test] - (Live v : rest') ->
2006.50 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
2006.50 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
2006.50 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
2006.50 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2006.50 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
2006.50 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2006.50 s
[opt-env-conf-test]
2006.50 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2006.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
2006.50 s
[opt-env-conf-test] @@ -233,21 +233,20 @@
2006.50 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
2006.50 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
2006.50 s
[opt-env-conf-test] (Live k : rest) ->
2006.50 s
[opt-env-conf-test] case k of
2006.50 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2006.50 s
[opt-env-conf-test] - ArgBareDoubleDash -> Nothing
2006.50 s
[opt-env-conf-test] ArgDashed isLong cs ->
2006.50 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2006.50 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2006.50 s
[opt-env-conf-test] Nothing ->
2006.50 s
[opt-env-conf-test] case rest of
2006.50 s
[opt-env-conf-test] (Live v : rest') ->
2006.50 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2006.50 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2006.50 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2006.50 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2006.51 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2006.51 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2006.51 s
[opt-env-conf-test]
2006.51 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2006.51 s
[opt-env-conf-test] [Dashed] ->
2006.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
2006.51 s
[opt-env-conf-test] @@ -233,21 +233,10 @@
2006.51 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
2006.51 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
2006.51 s
[opt-env-conf-test] (Live k : rest) ->
2006.51 s
[opt-env-conf-test] case k of
2006.51 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2006.51 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2006.51 s
[opt-env-conf-test] - ArgDashed isLong cs ->
2006.51 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
2006.51 s
[opt-env-conf-test] - Just v -> Just (v, Dead : rest)
2006.51 s
[opt-env-conf-test] - Nothing ->
2006.51 s
[opt-env-conf-test] - case rest of
2006.51 s
[opt-env-conf-test] - (Live v : rest') ->
2006.51 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
2006.51 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
2006.51 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
2006.51 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2006.51 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
2006.51 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2006.51 s
[opt-env-conf-test]
2006.51 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2006.51 s
[opt-env-conf-test] [Dashed] ->
2006.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
2006.51 s
[opt-env-conf-test] @@ -233,21 +233,20 @@
2006.51 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
2006.51 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
2006.51 s
[opt-env-conf-test] (Live k : rest) ->
2006.51 s
[opt-env-conf-test] case k of
2006.51 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2006.51 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2006.51 s
[opt-env-conf-test] ArgDashed isLong cs ->
2006.51 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2006.51 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2006.51 s
[opt-env-conf-test] Nothing ->
2006.51 s
[opt-env-conf-test] case rest of
2006.51 s
[opt-env-conf-test] (Live v : rest') ->
2006.52 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2006.52 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2006.52 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2006.52 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2006.52 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2006.52 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
2006.52 s
[opt-env-conf-test]
2006.52 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2006.52 s
[opt-env-conf-test] [Dashed] ->
2006.52 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:387:23-41
2006.52 s
[opt-env-conf-test] @@ -384,7 +384,7 @@
2006.52 s
[opt-env-conf-test] live =
2006.52 s
[opt-env-conf-test] mapMaybe
2006.52 s
[opt-env-conf-test] ( \case
2006.52 s
[opt-env-conf-test] - Live a -> J us t (r e n d e rA r g a)
2006.52 s
[opt-env-conf-test] + Live a -> N o t hi n g
2006.52 s
[opt-env-conf-test] Dead -> Nothing
2006.52 s
[opt-env-conf-test] )
2006.52 s
[opt-env-conf-test]
2006.52 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:79:26-30
2006.52 s
[opt-env-conf-test] @@ -76,7 +76,7 @@
2006.52 s
[opt-env-conf-test] parseArg = \case
2006.52 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
2006.52 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
2006.52 s
[opt-env-conf-test] - Just ne -> ArgDashed Tr u e ne
2006.52 s
[opt-env-conf-test] + Just ne -> ArgDashed F a ls e ne
2006.52 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2006.52 s
[opt-env-conf-test] Nothing -> ArgBareDash
2006.52 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
2006.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
2006.52 s
[opt-env-conf-test] @@ -74,9 +74,8 @@
2006.52 s
[opt-env-conf-test]
2006.52 s
[opt-env-conf-test] parseArg :: String -> Arg
2006.52 s
[opt-env-conf-test] parseArg = \case
2006.52 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
2006.52 s
[opt-env-conf-test] - Nothing -> ArgBareDoubleDash
2006.52 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
2006.52 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2006.52 s
[opt-env-conf-test] Nothing -> ArgBareDash
2006.52 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
2006.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
2006.52 s
[opt-env-conf-test] @@ -74,9 +74,8 @@
2006.52 s
[opt-env-conf-test]
2006.53 s
[opt-env-conf-test] parseArg :: String -> Arg
2006.53 s
[opt-env-conf-test] parseArg = \case
2006.53 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
2006.53 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
2006.53 s
[opt-env-conf-test] - Just ne -> ArgDashed True ne
2006.53 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2006.53 s
[opt-env-conf-test] Nothing -> ArgBareDash
2006.53 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
2006.53 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:82:26-31
2006.53 s
[opt-env-conf-test] @@ -79,7 +79,7 @@
2006.53 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
2006.53 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2006.53 s
[opt-env-conf-test] Nothing -> ArgBareDash
2006.53 s
[opt-env-conf-test] - Just ne -> ArgDashed F al s e ne
2006.53 s
[opt-env-conf-test] + Just ne -> ArgDashed T ru e ne
2006.53 s
[opt-env-conf-test] s -> ArgPlain s
2006.53 s
[opt-env-conf-test]
2006.53 s
[opt-env-conf-test] renderArg :: Arg -> String
2006.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
2006.53 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
2006.53 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
2006.53 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
2006.53 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
2015.39 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2015.39 s
[opt-env-conf-test] - Nothing -> ArgBareDash
2015.41 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
2015.41 s
[opt-env-conf-test] s -> ArgPlain s
2015.41 s
[opt-env-conf-test]
2015.41 s
[opt-env-conf-test] renderArg :: Arg -> String
2015.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
2015.41 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
2015.42 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
2015.42 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
2015.42 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
2015.42 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2015.42 s
[opt-env-conf-test] Nothing -> ArgBareDash
2015.42 s
[opt-env-conf-test] - Just ne -> ArgDashed False ne
2015.42 s
[opt-env-conf-test] s -> ArgPlain s
2015.42 s
[opt-env-conf-test]
2015.42 s
[opt-env-conf-test] renderArg :: Arg -> String
2015.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
2015.42 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
2015.42 s
[opt-env-conf-test] instance Validity Dashed
2015.42 s
[opt-env-conf-test]
2015.42 s
[opt-env-conf-test] instance IsString Dashed where
2015.42 s
[opt-env-conf-test] fromString s = case fromString s of
2015.42 s
[opt-env-conf-test] - ArgDashed True cs -> DashedLong cs
2015.42 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
2015.42 s
[opt-env-conf-test] _ -> error "Invalid dashed"
2015.42 s
[opt-env-conf-test]
2015.42 s
[opt-env-conf-test] renderDashed :: Dashed -> String
2015.42 s
[opt-env-conf-test] renderDashed = \case
2015.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
2015.42 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
2015.42 s
[opt-env-conf-test] instance Validity Dashed
2015.42 s
[opt-env-conf-test]
2015.42 s
[opt-env-conf-test] instance IsString Dashed where
2015.42 s
[opt-env-conf-test] fromString s = case fromString s of
2015.42 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
2015.42 s
[opt-env-conf-test] - ArgDashed False (c :| []) -> DashedShort c
2015.42 s
[opt-env-conf-test] _ -> error "Invalid dashed"
2015.42 s
[opt-env-conf-test]
2015.42 s
[opt-env-conf-test] renderDashed :: Dashed -> String
2015.42 s
[opt-env-conf-test] renderDashed = \case
2015.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
2015.43 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
2015.43 s
[opt-env-conf-test] instance Validity Dashed
2015.43 s
[opt-env-conf-test]
2015.43 s
[opt-env-conf-test] instance IsString Dashed where
2015.43 s
[opt-env-conf-test] fromString s = case fromString s of
2015.43 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
2015.43 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
2015.43 s
[opt-env-conf-test] - _ -> error "Invalid dashed"
2015.43 s
[opt-env-conf-test]
2015.43 s
[opt-env-conf-test] renderDashed :: Dashed -> String
2015.43 s
[opt-env-conf-test] renderDashed = \case
2015.43 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
2015.43 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2015.43 s
[opt-env-conf-test] mconcat
2015.43 s
[opt-env-conf-test] [ genericValidate arg,
2015.43 s
[opt-env-conf-test] case arg of
2015.43 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= ' - '
2015.43 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ T rue
2015.43 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2015.43 s
[opt-env-conf-test] ('-' : _) -> False
2015.43 s
[opt-env-conf-test] _ -> True
2015.43 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
2015.43 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2015.43 s
[opt-env-conf-test] mconcat
2015.43 s
[opt-env-conf-test] [ genericValidate arg,
2015.43 s
[opt-env-conf-test] case arg of
2015.43 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2015.43 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ F a ls e
2015.43 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2015.43 s
[opt-env-conf-test] ('-' : _) -> False
2015.43 s
[opt-env-conf-test] _ -> True
2015.43 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:65:103-111
2015.43 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2015.43 s
[opt-env-conf-test] mconcat
2015.43 s
[opt-env-conf-test] [ genericValidate arg,
2015.43 s
[opt-env-conf-test] case arg of
2015.43 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2015.43 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ n o t ( c /= '-' )
2015.43 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2015.43 s
[opt-env-conf-test] ('-' : _) -> False
2015.43 s
[opt-env-conf-test] _ -> True
2015.43 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:67:26-31
2015.43 s
[opt-env-conf-test] @@ -64,7 +64,7 @@
2015.44 s
[opt-env-conf-test] case arg of
2015.44 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2015.44 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2015.44 s
[opt-env-conf-test] - ('-' : _) -> F al s e
2015.44 s
[opt-env-conf-test] + ('-' : _) -> T ru e
2015.44 s
[opt-env-conf-test] _ -> True
2015.44 s
[opt-env-conf-test] _ -> valid
2015.44 s
[opt-env-conf-test] ]
2015.44 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:68:18-22
2015.44 s
[opt-env-conf-test] @@ -65,7 +65,7 @@
2015.44 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2015.44 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2015.44 s
[opt-env-conf-test] ('-' : _) -> False
2015.44 s
[opt-env-conf-test] - _ -> Tr u e
2015.44 s
[opt-env-conf-test] + _ -> F a ls e
2015.44 s
[opt-env-conf-test] _ -> valid
2015.44 s
[opt-env-conf-test] ]
2015.44 s
[opt-env-conf-test]
2015.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
2015.44 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
2015.44 s
[opt-env-conf-test] [ genericValidate arg,
2015.44 s
[opt-env-conf-test] case arg of
2015.44 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2015.44 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2015.44 s
[opt-env-conf-test] + ArgPlain s -> declar e "does not s t a r t w ith a d ash" $ Tr u e -> declare "does not start with a dash" $ case s of
2015.44 s
[opt-env-conf-test] ('-' : _) -> False
2015.44 s
[opt-env-conf-test] _ -> True
2015.44 s
[opt-env-conf-test] _ -> valid
2015.44 s
[opt-env-conf-test] ]
2015.44 s
[opt-env-conf-test]
2015.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
2015.44 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
2015.44 s
[opt-env-conf-test] [ genericValidate arg,
2015.44 s
[opt-env-conf-test] case arg of
2015.44 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2015.44 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ c a s e s of
2015.44 s
[opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ F a lse -> d e c l a r e "doe s n ot s tart with a dash" $ c a s e s of
2015.44 s
[opt-env-conf-test] ('-' : _) -> False
2015.44 s
[opt-env-conf-test] _ -> True
2015.44 s
[opt-env-conf-test] _ -> valid
2015.44 s
[opt-env-conf-test] ]
2015.44 s
[opt-env-conf-test]
2015.44 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:66:64-22
2015.44 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
2015.44 s
[opt-env-conf-test] [ genericValidate arg,
2015.44 s
[opt-env-conf-test] case arg of
2015.44 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2015.44 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2015.44 s
[opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ n o t ( case s of
2015.44 s
[opt-env-conf-test] ('-' : _) -> False
2015.44 s
[opt-env-conf-test] - _ -> True
2015.44 s
[opt-env-conf-test] + _ -> True )
2015.44 s
[opt-env-conf-test] _ -> valid
2015.44 s
[opt-env-conf-test] ]
2015.44 s
[opt-env-conf-test]
2015.44 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
2015.44 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
2015.44 s
[opt-env-conf-test] [ genericValidate arg,
2015.44 s
[opt-env-conf-test] case arg of
2015.44 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2015.45 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2015.45 s
[opt-env-conf-test] - ('-' : _) -> False
2015.45 s
[opt-env-conf-test] _ -> True
2015.45 s
[opt-env-conf-test] _ -> valid
2015.45 s
[opt-env-conf-test] ]
2015.45 s
[opt-env-conf-test]
2015.45 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
2015.45 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
2015.45 s
[opt-env-conf-test] [ genericValidate arg,
2015.45 s
[opt-env-conf-test] case arg of
2015.45 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2015.45 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2015.45 s
[opt-env-conf-test] ('-' : _) -> False
2015.45 s
[opt-env-conf-test] - _ -> True
2015.45 s
[opt-env-conf-test] _ -> valid
2015.45 s
[opt-env-conf-test] ]
2015.45 s
[opt-env-conf-test]
2015.45 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2015.45 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
2015.45 s
[opt-env-conf-test] validate arg =
2015.45 s
[opt-env-conf-test] mconcat
2015.45 s
[opt-env-conf-test] [ genericValidate arg,
2015.45 s
[opt-env-conf-test] case arg of
2015.45 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2015.45 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2015.45 s
[opt-env-conf-test] ('-' : _) -> False
2015.45 s
[opt-env-conf-test] _ -> True
2015.45 s
[opt-env-conf-test] _ -> valid
2015.45 s
[opt-env-conf-test] ]
2015.45 s
[opt-env-conf-test]
2015.45 s
[opt-env-conf-test] instance IsString Arg where
2015.45 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2015.45 s
[opt-env-conf-test] @@ -61,12 +61,9 @@
2015.45 s
[opt-env-conf-test] validate arg =
2015.45 s
[opt-env-conf-test] mconcat
2015.45 s
[opt-env-conf-test] [ genericValidate arg,
2015.45 s
[opt-env-conf-test] case arg of
2021.92 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2021.95 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2021.95 s
[opt-env-conf-test] - ('-' : _) -> False
2021.95 s
[opt-env-conf-test] - _ -> True
2021.95 s
[opt-env-conf-test] _ -> valid
2021.95 s
[opt-env-conf-test] ]
2021.95 s
[opt-env-conf-test]
2021.95 s
[opt-env-conf-test] instance IsString Arg where
2021.95 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2021.95 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
2021.95 s
[opt-env-conf-test] validate arg =
2021.95 s
[opt-env-conf-test] mconcat
2021.95 s
[opt-env-conf-test] [ genericValidate arg,
2021.96 s
[opt-env-conf-test] case arg of
2021.96 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2021.96 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2021.96 s
[opt-env-conf-test] ('-' : _) -> False
2021.96 s
[opt-env-conf-test] _ -> True
2021.96 s
[opt-env-conf-test] - _ -> valid
2021.96 s
[opt-env-conf-test] ]
2021.96 s
[opt-env-conf-test]
2021.96 s
[opt-env-conf-test] instance IsString Arg where
2021.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
2021.96 s
[opt-env-conf-test] @@ -60,14 +60,7 @@
2021.96 s
[opt-env-conf-test] instance Validity Arg where
2021.96 s
[opt-env-conf-test] validate arg =
2021.96 s
[opt-env-conf-test] mconcat
2021.96 s
[opt-env-conf-test] - [ genericValidate arg,
2021.96 s
[opt-env-conf-test] - case arg of
2021.96 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2021.96 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2021.96 s
[opt-env-conf-test] - ('-' : _) -> False
2021.96 s
[opt-env-conf-test] - _ -> True
2021.96 s
[opt-env-conf-test] - _ -> valid
2021.96 s
[opt-env-conf-test] ]
2021.96 s
[opt-env-conf-test]
2021.96 s
[opt-env-conf-test] instance IsString Arg where
2021.96 s
[opt-env-conf-test] fromString = parseArg
2021.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
2021.96 s
[opt-env-conf-test] @@ -60,14 +60,13 @@
2021.96 s
[opt-env-conf-test] instance Validity Arg where
2021.96 s
[opt-env-conf-test] validate arg =
2021.96 s
[opt-env-conf-test] mconcat
2021.96 s
[opt-env-conf-test] - [ genericValidate arg,
2021.96 s
[opt-env-conf-test] case arg of
2021.96 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2021.96 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2021.96 s
[opt-env-conf-test] ('-' : _) -> False
2021.96 s
[opt-env-conf-test] _ -> True
2021.96 s
[opt-env-conf-test] _ -> valid
2021.96 s
[opt-env-conf-test] ]
2021.96 s
[opt-env-conf-test]
2021.96 s
[opt-env-conf-test] instance IsString Arg where
2021.96 s
[opt-env-conf-test] fromString = parseArg
2021.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
2021.96 s
[opt-env-conf-test] @@ -142,7 +142,4 @@
2021.96 s
[opt-env-conf-test]
2021.96 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
2021.96 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
2021.96 s
[opt-env-conf-test] - [ commandChunk commandDocArgument,
2021.96 s
[opt-env-conf-test] - ": ",
2021.96 s
[opt-env-conf-test] - helpChunk commandDocHelp
2021.96 s
[opt-env-conf-test] ]
2021.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
2021.96 s
[opt-env-conf-test] @@ -142,7 +142,6 @@
2021.96 s
[opt-env-conf-test]
2021.96 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
2021.96 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
2021.96 s
[opt-env-conf-test] - [ commandChunk commandDocArgument,
2021.96 s
[opt-env-conf-test] ": ",
2021.96 s
[opt-env-conf-test] helpChunk commandDocHelp
2021.96 s
[opt-env-conf-test] ]
2021.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
2021.96 s
[opt-env-conf-test] @@ -142,7 +142,6 @@
2021.96 s
[opt-env-conf-test]
2021.97 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
2021.97 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
2021.97 s
[opt-env-conf-test] [ commandChunk commandDocArgument,
2021.97 s
[opt-env-conf-test] ": ",
2021.97 s
[opt-env-conf-test] - helpChunk commandDocHelp
2021.97 s
[opt-env-conf-test] ]
2021.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
2021.97 s
[opt-env-conf-test] @@ -86,9 +86,7 @@
2021.97 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2021.97 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2021.97 s
[opt-env-conf-test] ParseErrorNoReaders ->
2021.97 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2021.97 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
2021.97 s
[opt-env-conf-test] ]
2021.97 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2021.97 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2021.97 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2021.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
2021.97 s
[opt-env-conf-test] @@ -86,9 +86,8 @@
2021.97 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2021.97 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2021.97 s
[opt-env-conf-test] ParseErrorNoReaders ->
2021.97 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2021.97 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2021.97 s
[opt-env-conf-test] ]
2021.97 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2021.97 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2021.97 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2021.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
2021.97 s
[opt-env-conf-test] @@ -90,7 +90,6 @@
2021.97 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2021.97 s
[opt-env-conf-test] ]
2021.97 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2021.97 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
2021.97 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2021.97 s
[opt-env-conf-test] [ "Missing argument: "
2021.97 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2021.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
2021.97 s
[opt-env-conf-test] @@ -90,7 +90,6 @@
2021.97 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2021.97 s
[opt-env-conf-test] ]
2021.97 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2021.97 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
2021.97 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2021.97 s
[opt-env-conf-test] [ "Missing argument: "
2021.97 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2021.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
2021.97 s
[opt-env-conf-test] @@ -124,7 +124,6 @@
2021.97 s
[opt-env-conf-test] ["Missing command, available commands:"]
2021.97 s
[opt-env-conf-test] : availableCommandsLines cs
2021.97 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2021.97 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2021.97 s
[opt-env-conf-test] [fore blue "available commands:"]
2021.97 s
[opt-env-conf-test] ]
2021.97 s
[opt-env-conf-test] ++ availableCommandsLines cs
2021.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
2021.97 s
[opt-env-conf-test] @@ -124,7 +124,6 @@
2021.97 s
[opt-env-conf-test] ["Missing command, available commands:"]
2021.97 s
[opt-env-conf-test] : availableCommandsLines cs
2021.97 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2021.97 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2021.97 s
[opt-env-conf-test] [fore blue "available commands:"]
2021.97 s
[opt-env-conf-test] ]
2021.97 s
[opt-env-conf-test] ++ availableCommandsLines cs
2021.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
2021.97 s
[opt-env-conf-test] @@ -124,9 +124,7 @@
2021.97 s
[opt-env-conf-test] ["Missing command, available commands:"]
2021.97 s
[opt-env-conf-test] : availableCommandsLines cs
2021.97 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2021.97 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2021.97 s
[opt-env-conf-test] - [fore blue "available commands:"]
2021.97 s
[opt-env-conf-test] ]
2021.97 s
[opt-env-conf-test] ++ availableCommandsLines cs
2021.97 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2021.98 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."],
2021.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
2021.98 s
[opt-env-conf-test] @@ -124,9 +124,8 @@
2021.98 s
[opt-env-conf-test] ["Missing command, available commands:"]
2021.98 s
[opt-env-conf-test] : availableCommandsLines cs
2021.98 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2021.98 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2021.98 s
[opt-env-conf-test] [fore blue "available commands:"]
2021.98 s
[opt-env-conf-test] ]
2021.98 s
[opt-env-conf-test] ++ availableCommandsLines cs
2021.98 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2021.98 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."],
2021.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
2021.98 s
[opt-env-conf-test] @@ -129,9 +129,7 @@
2021.98 s
[opt-env-conf-test] ]
2021.98 s
[opt-env-conf-test] ++ availableCommandsLines cs
2021.98 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2021.98 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."],
2021.98 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
2021.98 s
[opt-env-conf-test] ]
2021.98 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2021.98 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2021.98 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2021.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
2021.98 s
[opt-env-conf-test] @@ -129,9 +129,8 @@
2021.98 s
[opt-env-conf-test] ]
2021.98 s
[opt-env-conf-test] ++ availableCommandsLines cs
2021.98 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2021.98 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."],
2021.98 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2021.98 s
[opt-env-conf-test] ]
2021.98 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2021.98 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2021.98 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2022.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
2022.57 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
2022.57 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2022.57 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2022.57 s
[opt-env-conf-test] ArgDashed isLong cs ->
2022.57 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds i s Lo n g cs of
2022.57 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds F a l s e cs of
2022.57 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2022.57 s
[opt-env-conf-test] Nothing ->
2022.57 s
[opt-env-conf-test] case rest of
2022.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
2022.57 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
2022.57 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2022.57 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2022.57 s
[opt-env-conf-test] ArgDashed isLong cs ->
2022.57 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds i s L on g cs of
2022.57 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds Tru e cs of
2022.57 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2022.57 s
[opt-env-conf-test] Nothing ->
2022.57 s
[opt-env-conf-test] case rest of
2022.57 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2022.57 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2022.57 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2022.57 s
[opt-env-conf-test] renderError ParseError {..} =
2022.57 s
[opt-env-conf-test] concat
2022.57 s
[opt-env-conf-test] [ case parseErrorMessage of
2022.57 s
[opt-env-conf-test] ParseErrorEmpty ->
2022.57 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2022.57 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
2022.57 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
2022.57 s
[opt-env-conf-test] ParseErrorNoReaders ->
2022.57 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2022.57 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2022.57 s
[opt-env-conf-test] ]
2022.57 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2022.57 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2022.57 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2022.58 s
[opt-env-conf-test] [ "Missing argument: "
2022.58 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2022.58 s
[opt-env-conf-test] ]
2022.58 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2022.58 s
[opt-env-conf-test] ["Failed to read argument: "]
2022.58 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2022.58 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2022.58 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2022.58 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2022.58 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2022.58 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2022.58 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2022.58 s
[opt-env-conf-test] ["Failed to read option: "]
2022.58 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2022.58 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2022.58 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2022.58 s
[opt-env-conf-test] ["Missing env var: "]
2022.58 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2022.58 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2022.58 s
[opt-env-conf-test] ["Failed to read env var: "]
2022.58 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2022.58 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2022.58 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2022.58 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2022.58 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2022.58 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2022.58 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2022.58 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2022.58 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2022.58 s
[opt-env-conf-test] ["Missing command, available commands:"]
2022.58 s
[opt-env-conf-test] : availableCommandsLines cs
2022.58 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2022.58 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2022.58 s
[opt-env-conf-test] [fore blue "available commands:"]
2022.58 s
[opt-env-conf-test] ]
2022.58 s
[opt-env-conf-test] ++ availableCommandsLines cs
2022.58 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2022.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."],
2022.58 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2022.58 s
[opt-env-conf-test] ]
2022.58 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2022.58 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2022.58 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2022.58 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2022.58 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2022.58 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2022.58 s
[opt-env-conf-test] ]
2022.58 s
[opt-env-conf-test]
2022.58 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2022.58 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2022.58 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2022.58 s
[opt-env-conf-test] renderError ParseError {..} =
2022.58 s
[opt-env-conf-test] concat
2022.58 s
[opt-env-conf-test] [ case parseErrorMessage of
2022.58 s
[opt-env-conf-test] ParseErrorEmpty ->
2022.58 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2022.58 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2022.58 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2022.58 s
[opt-env-conf-test] - ParseErrorNoReaders ->
2022.58 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2022.58 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
2022.58 s
[opt-env-conf-test] - ]
2022.58 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2022.58 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2022.58 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2022.58 s
[opt-env-conf-test] [ "Missing argument: "
2022.58 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2022.58 s
[opt-env-conf-test] ]
2022.58 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2022.58 s
[opt-env-conf-test] ["Failed to read argument: "]
2022.58 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2022.58 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2022.58 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2022.58 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2022.59 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2022.59 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2022.59 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2022.59 s
[opt-env-conf-test] ["Failed to read option: "]
2022.59 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2022.59 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2022.59 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2022.59 s
[opt-env-conf-test] ["Missing env var: "]
2022.59 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2022.59 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2022.59 s
[opt-env-conf-test] ["Failed to read env var: "]
2022.59 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2022.59 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2022.59 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2022.59 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2022.59 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2023.38 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2023.38 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2023.38 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2023.38 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2023.38 s
[opt-env-conf-test] ["Missing command, available commands:"]
2023.38 s
[opt-env-conf-test] : availableCommandsLines cs
2023.38 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2023.38 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2023.38 s
[opt-env-conf-test] [fore blue "available commands:"]
2023.38 s
[opt-env-conf-test] ]
2023.38 s
[opt-env-conf-test] ++ availableCommandsLines cs
2023.38 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2023.38 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."],
2023.38 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2023.38 s
[opt-env-conf-test] ]
2023.38 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2023.38 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2023.38 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2023.38 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2023.38 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2023.38 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2023.38 s
[opt-env-conf-test] ]
2023.38 s
[opt-env-conf-test]
2023.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2023.38 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2023.38 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2023.38 s
[opt-env-conf-test] renderError ParseError {..} =
2023.38 s
[opt-env-conf-test] concat
2023.38 s
[opt-env-conf-test] [ case parseErrorMessage of
2023.38 s
[opt-env-conf-test] ParseErrorEmpty ->
2023.38 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2023.38 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2023.39 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2023.39 s
[opt-env-conf-test] ParseErrorNoReaders ->
2023.39 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2023.39 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2023.39 s
[opt-env-conf-test] ]
2023.39 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
2023.39 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
2023.39 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2023.39 s
[opt-env-conf-test] [ "Missing argument: "
2023.39 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2023.39 s
[opt-env-conf-test] ]
2023.39 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2023.39 s
[opt-env-conf-test] ["Failed to read argument: "]
2023.39 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2023.39 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2023.39 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2023.39 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2023.39 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2023.39 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2023.39 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2023.39 s
[opt-env-conf-test] ["Failed to read option: "]
2023.39 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2023.39 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2023.39 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2023.39 s
[opt-env-conf-test] ["Missing env var: "]
2023.39 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2023.39 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2023.39 s
[opt-env-conf-test] ["Failed to read env var: "]
2023.39 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2023.39 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2023.39 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2023.39 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2023.39 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2023.45 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2023.45 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2023.45 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2023.45 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2023.45 s
[opt-env-conf-test] ["Missing command, available commands:"]
2023.45 s
[opt-env-conf-test] : availableCommandsLines cs
2023.45 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2023.45 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2023.45 s
[opt-env-conf-test] [fore blue "available commands:"]
2023.45 s
[opt-env-conf-test] ]
2023.45 s
[opt-env-conf-test] ++ availableCommandsLines cs
2023.45 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2023.45 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."],
2023.45 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2023.45 s
[opt-env-conf-test] ]
2023.46 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2023.46 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2023.46 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2023.46 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2023.46 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2023.46 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2023.46 s
[opt-env-conf-test] ]
2023.46 s
[opt-env-conf-test]
2023.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2023.46 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2023.46 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2023.46 s
[opt-env-conf-test] renderError ParseError {..} =
2023.46 s
[opt-env-conf-test] concat
2023.46 s
[opt-env-conf-test] [ case parseErrorMessage of
2023.46 s
[opt-env-conf-test] ParseErrorEmpty ->
2023.46 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2023.46 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2023.46 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2023.46 s
[opt-env-conf-test] ParseErrorNoReaders ->
2023.46 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2023.46 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2023.46 s
[opt-env-conf-test] ]
2023.46 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2023.46 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2023.46 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
2023.46 s
[opt-env-conf-test] - [ "Missing argument: "
2023.46 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
2023.46 s
[opt-env-conf-test] - ]
2023.46 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2023.46 s
[opt-env-conf-test] ["Failed to read argument: "]
2023.46 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2023.46 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2023.46 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2023.46 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2023.46 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2023.46 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2023.46 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2023.46 s
[opt-env-conf-test] ["Failed to read option: "]
2023.46 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2023.46 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2023.46 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2023.46 s
[opt-env-conf-test] ["Missing env var: "]
2023.46 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2023.46 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2023.46 s
[opt-env-conf-test] ["Failed to read env var: "]
2023.46 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2023.46 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2023.46 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2023.46 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2023.46 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2025.56 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2025.56 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2025.56 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2025.56 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2025.56 s
[opt-env-conf-test] ["Missing command, available commands:"]
2025.56 s
[opt-env-conf-test] : availableCommandsLines cs
2025.56 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2025.56 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2025.57 s
[opt-env-conf-test] [fore blue "available commands:"]
2025.57 s
[opt-env-conf-test] ]
2025.57 s
[opt-env-conf-test] ++ availableCommandsLines cs
2025.57 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2025.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."],
2025.57 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2025.57 s
[opt-env-conf-test] ]
2025.57 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2025.57 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2025.57 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2025.57 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2025.57 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2025.57 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2025.57 s
[opt-env-conf-test] ]
2025.57 s
[opt-env-conf-test]
2025.57 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:245:54-60
2025.57 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
2025.57 s
[opt-env-conf-test] Nothing ->
2025.57 s
[opt-env-conf-test] case rest of
2025.57 s
[opt-env-conf-test] (Live v : rest') ->
2025.57 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
2025.57 s
[opt-env-conf-test] + case consumeDashedOption dasheds n o t ( isLong ) cs of
2025.57 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2025.57 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2025.57 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2025.57 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2025.57 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2025.57 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2025.57 s
[opt-env-conf-test] renderError ParseError {..} =
2025.57 s
[opt-env-conf-test] concat
2025.57 s
[opt-env-conf-test] [ case parseErrorMessage of
2025.57 s
[opt-env-conf-test] ParseErrorEmpty ->
2025.57 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2025.57 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2025.57 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2025.57 s
[opt-env-conf-test] ParseErrorNoReaders ->
2025.57 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2025.57 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2025.57 s
[opt-env-conf-test] ]
2025.57 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2025.57 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2025.57 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2025.57 s
[opt-env-conf-test] [ "Missing argument: "
2025.57 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2025.58 s
[opt-env-conf-test] ]
2025.58 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2025.58 s
[opt-env-conf-test] ["Failed to read argument: "]
2025.58 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2025.58 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2025.58 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
2025.58 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2025.58 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2025.58 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2025.58 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2025.58 s
[opt-env-conf-test] ["Failed to read option: "]
2025.58 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2025.58 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2025.58 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2025.58 s
[opt-env-conf-test] ["Missing env var: "]
2025.58 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2025.58 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2025.58 s
[opt-env-conf-test] ["Failed to read env var: "]
2025.58 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2025.58 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2025.58 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2025.58 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2025.58 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2025.73 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2025.73 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2025.73 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2025.73 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2025.73 s
[opt-env-conf-test] ["Missing command, available commands:"]
2025.74 s
[opt-env-conf-test] : availableCommandsLines cs
2025.74 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2025.74 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2025.74 s
[opt-env-conf-test] [fore blue "available commands:"]
2025.74 s
[opt-env-conf-test] ]
2025.74 s
[opt-env-conf-test] ++ availableCommandsLines cs
2025.74 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2025.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."],
2025.74 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2025.74 s
[opt-env-conf-test] ]
2025.74 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2025.74 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2025.74 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2025.74 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2025.74 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2025.74 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2025.74 s
[opt-env-conf-test] ]
2025.74 s
[opt-env-conf-test]
2025.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2025.74 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2025.74 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2025.74 s
[opt-env-conf-test] renderError ParseError {..} =
2025.74 s
[opt-env-conf-test] concat
2025.74 s
[opt-env-conf-test] [ case parseErrorMessage of
2025.74 s
[opt-env-conf-test] ParseErrorEmpty ->
2025.74 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2025.74 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2025.74 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2025.74 s
[opt-env-conf-test] ParseErrorNoReaders ->
2025.74 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2025.74 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2025.74 s
[opt-env-conf-test] ]
2025.74 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2025.74 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2025.74 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2025.74 s
[opt-env-conf-test] [ "Missing argument: "
2025.75 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2025.75 s
[opt-env-conf-test] ]
2025.75 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
2025.75 s
[opt-env-conf-test] - ["Failed to read argument: "]
2025.75 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2025.75 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2025.75 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2025.75 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2025.75 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2025.75 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2025.75 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2025.75 s
[opt-env-conf-test] ["Failed to read option: "]
2025.75 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2025.75 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2025.75 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2025.75 s
[opt-env-conf-test] ["Missing env var: "]
2025.75 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2025.75 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2025.75 s
[opt-env-conf-test] ["Failed to read env var: "]
2025.75 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2025.75 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2025.75 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2025.75 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2025.75 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2028.06 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2028.06 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2028.15 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2028.15 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2028.15 s
[opt-env-conf-test] ["Missing command, available commands:"]
2028.15 s
[opt-env-conf-test] : availableCommandsLines cs
2028.15 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2028.16 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2028.16 s
[opt-env-conf-test] [fore blue "available commands:"]
2028.16 s
[opt-env-conf-test] ]
2028.16 s
[opt-env-conf-test] ++ availableCommandsLines cs
2028.16 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2028.16 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."],
2028.16 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2028.16 s
[opt-env-conf-test] ]
2028.16 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2028.16 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2028.16 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2028.16 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2028.16 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2028.16 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2028.16 s
[opt-env-conf-test] ]
2028.16 s
[opt-env-conf-test]
2028.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2028.16 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2028.16 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2028.16 s
[opt-env-conf-test] renderError ParseError {..} =
2028.16 s
[opt-env-conf-test] concat
2028.16 s
[opt-env-conf-test] [ case parseErrorMessage of
2028.16 s
[opt-env-conf-test] ParseErrorEmpty ->
2028.16 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2028.16 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2028.16 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2028.16 s
[opt-env-conf-test] ParseErrorNoReaders ->
2028.16 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2028.16 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2028.16 s
[opt-env-conf-test] ]
2028.16 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2028.16 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2028.16 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2028.16 s
[opt-env-conf-test] [ "Missing argument: "
2028.16 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2028.16 s
[opt-env-conf-test] ]
2028.17 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2028.17 s
[opt-env-conf-test] ["Failed to read argument: "]
2028.17 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2028.17 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2028.17 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2028.17 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2028.17 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
2028.17 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2028.17 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2028.17 s
[opt-env-conf-test] ["Failed to read option: "]
2028.17 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2028.17 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2028.17 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2028.17 s
[opt-env-conf-test] ["Missing env var: "]
2028.17 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2028.17 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2028.17 s
[opt-env-conf-test] ["Failed to read env var: "]
2028.17 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2028.17 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2028.17 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2028.17 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2028.17 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2028.96 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2028.96 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2028.96 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2028.96 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2028.96 s
[opt-env-conf-test] ["Missing command, available commands:"]
2028.96 s
[opt-env-conf-test] : availableCommandsLines cs
2028.96 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2028.96 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2028.96 s
[opt-env-conf-test] [fore blue "available commands:"]
2028.96 s
[opt-env-conf-test] ]
2028.96 s
[opt-env-conf-test] ++ availableCommandsLines cs
2028.96 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2028.96 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."],
2028.96 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2028.96 s
[opt-env-conf-test] ]
2028.96 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2028.97 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2028.97 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2028.97 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2028.97 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2028.97 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2028.97 s
[opt-env-conf-test] ]
2028.97 s
[opt-env-conf-test]
2028.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2028.97 s
[opt-env-conf-test] @@ -80,63 +80,60 @@
2028.97 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2028.97 s
[opt-env-conf-test] renderError ParseError {..} =
2028.97 s
[opt-env-conf-test] concat
2028.97 s
[opt-env-conf-test] [ case parseErrorMessage of
2028.97 s
[opt-env-conf-test] ParseErrorEmpty ->
2028.97 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2028.97 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2028.97 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2028.97 s
[opt-env-conf-test] ParseErrorNoReaders ->
2028.97 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2028.97 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2028.97 s
[opt-env-conf-test] ]
2028.97 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2028.97 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2028.97 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2028.97 s
[opt-env-conf-test] [ "Missing argument: "
2028.97 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2028.97 s
[opt-env-conf-test] ]
2028.97 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2028.97 s
[opt-env-conf-test] ["Failed to read argument: "]
2028.98 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2028.98 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2028.98 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2028.98 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2028.98 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2028.98 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2028.98 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2028.98 s
[opt-env-conf-test] ["Failed to read option: "]
2028.98 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2028.98 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2028.98 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
2028.98 s
[opt-env-conf-test] - ["Missing env var: "]
2028.98 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2028.98 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2028.98 s
[opt-env-conf-test] ["Failed to read env var: "]
2028.98 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2028.98 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2028.98 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2028.98 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2028.98 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2029.29 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2029.29 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2029.29 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2029.29 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2029.29 s
[opt-env-conf-test] ["Missing command, available commands:"]
2029.29 s
[opt-env-conf-test] : availableCommandsLines cs
2029.29 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2029.29 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2029.29 s
[opt-env-conf-test] [fore blue "available commands:"]
2029.29 s
[opt-env-conf-test] ]
2029.29 s
[opt-env-conf-test] ++ availableCommandsLines cs
2029.29 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2029.29 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."],
2029.29 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2029.29 s
[opt-env-conf-test] ]
2029.29 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2029.29 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2029.29 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2029.29 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2029.29 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2029.29 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2029.29 s
[opt-env-conf-test] ]
2029.29 s
[opt-env-conf-test]
2029.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2029.29 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2029.29 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2029.29 s
[opt-env-conf-test] renderError ParseError {..} =
2029.29 s
[opt-env-conf-test] concat
2029.29 s
[opt-env-conf-test] [ case parseErrorMessage of
2029.29 s
[opt-env-conf-test] ParseErrorEmpty ->
2029.29 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2029.29 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2029.29 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2029.30 s
[opt-env-conf-test] ParseErrorNoReaders ->
2029.30 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2029.30 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2029.30 s
[opt-env-conf-test] ]
2029.30 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2029.30 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2029.30 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2029.30 s
[opt-env-conf-test] [ "Missing argument: "
2029.30 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2029.30 s
[opt-env-conf-test] ]
2029.30 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2029.30 s
[opt-env-conf-test] ["Failed to read argument: "]
2029.30 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2029.30 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.30 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2029.30 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2029.30 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2029.30 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2029.30 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
2029.30 s
[opt-env-conf-test] - ["Failed to read option: "]
2029.30 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2029.30 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.30 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2029.30 s
[opt-env-conf-test] ["Missing env var: "]
2029.30 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2029.30 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2029.30 s
[opt-env-conf-test] ["Failed to read env var: "]
2029.30 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2029.30 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.30 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2029.30 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2029.30 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2029.35 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2029.35 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2029.35 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2029.35 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2029.35 s
[opt-env-conf-test] ["Missing command, available commands:"]
2029.35 s
[opt-env-conf-test] : availableCommandsLines cs
2029.35 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2029.35 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2029.35 s
[opt-env-conf-test] [fore blue "available commands:"]
2029.35 s
[opt-env-conf-test] ]
2029.35 s
[opt-env-conf-test] ++ availableCommandsLines cs
2029.35 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2029.35 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."],
2029.35 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2029.35 s
[opt-env-conf-test] ]
2029.35 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2029.35 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2029.35 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2029.35 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2029.35 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2029.35 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2029.35 s
[opt-env-conf-test] ]
2029.35 s
[opt-env-conf-test]
2029.35 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2029.35 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2029.35 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2029.35 s
[opt-env-conf-test] renderError ParseError {..} =
2029.35 s
[opt-env-conf-test] concat
2029.35 s
[opt-env-conf-test] [ case parseErrorMessage of
2029.35 s
[opt-env-conf-test] ParseErrorEmpty ->
2029.35 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2029.35 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2029.36 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2029.36 s
[opt-env-conf-test] ParseErrorNoReaders ->
2029.36 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2029.36 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2029.36 s
[opt-env-conf-test] ]
2029.36 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2029.36 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2029.36 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2029.36 s
[opt-env-conf-test] [ "Missing argument: "
2029.36 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2029.36 s
[opt-env-conf-test] ]
2029.36 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2029.36 s
[opt-env-conf-test] ["Failed to read argument: "]
2029.36 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2029.36 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.36 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2029.36 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2029.36 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2029.36 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2029.36 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2029.36 s
[opt-env-conf-test] ["Failed to read option: "]
2029.36 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2029.36 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.36 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2029.36 s
[opt-env-conf-test] ["Missing env var: "]
2029.36 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2029.36 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
2029.36 s
[opt-env-conf-test] - ["Failed to read env var: "]
2029.36 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2029.36 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.36 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2029.36 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2029.36 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2029.39 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2029.39 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2029.39 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2029.39 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2029.39 s
[opt-env-conf-test] ["Missing command, available commands:"]
2029.39 s
[opt-env-conf-test] : availableCommandsLines cs
2029.39 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2029.39 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2029.39 s
[opt-env-conf-test] [fore blue "available commands:"]
2029.39 s
[opt-env-conf-test] ]
2029.39 s
[opt-env-conf-test] ++ availableCommandsLines cs
2029.39 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2029.39 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."],
2029.39 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2029.39 s
[opt-env-conf-test] ]
2029.39 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2029.39 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2029.39 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2029.39 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2029.39 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2029.39 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2029.39 s
[opt-env-conf-test] ]
2029.39 s
[opt-env-conf-test]
2029.39 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2029.39 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2029.39 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2029.39 s
[opt-env-conf-test] renderError ParseError {..} =
2029.39 s
[opt-env-conf-test] concat
2029.39 s
[opt-env-conf-test] [ case parseErrorMessage of
2029.39 s
[opt-env-conf-test] - ParseErrorEmpty ->
2029.39 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
2029.39 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2029.39 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2029.39 s
[opt-env-conf-test] ParseErrorNoReaders ->
2029.39 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2029.39 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2029.39 s
[opt-env-conf-test] ]
2029.39 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2029.39 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2029.39 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2029.39 s
[opt-env-conf-test] [ "Missing argument: "
2029.39 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2029.39 s
[opt-env-conf-test] ]
2029.39 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2029.39 s
[opt-env-conf-test] ["Failed to read argument: "]
2029.39 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2029.39 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.39 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2029.39 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2029.39 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2029.39 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2029.39 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2029.39 s
[opt-env-conf-test] ["Failed to read option: "]
2029.39 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2029.39 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.39 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2029.39 s
[opt-env-conf-test] ["Missing env var: "]
2029.39 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2029.39 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2029.39 s
[opt-env-conf-test] ["Failed to read env var: "]
2029.39 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2029.39 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.39 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2029.40 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2029.40 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2029.57 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2029.57 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2029.57 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2029.57 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2029.58 s
[opt-env-conf-test] ["Missing command, available commands:"]
2029.58 s
[opt-env-conf-test] : availableCommandsLines cs
2029.58 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2029.58 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2029.58 s
[opt-env-conf-test] [fore blue "available commands:"]
2029.58 s
[opt-env-conf-test] ]
2029.58 s
[opt-env-conf-test] ++ availableCommandsLines cs
2029.58 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2029.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."],
2029.58 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2029.58 s
[opt-env-conf-test] ]
2029.58 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2029.58 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2029.58 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2029.58 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2029.58 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2029.58 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2029.58 s
[opt-env-conf-test] ]
2029.58 s
[opt-env-conf-test]
2029.58 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2029.58 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2029.58 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2029.58 s
[opt-env-conf-test] renderError ParseError {..} =
2029.58 s
[opt-env-conf-test] concat
2029.58 s
[opt-env-conf-test] [ case parseErrorMessage of
2029.58 s
[opt-env-conf-test] ParseErrorEmpty ->
2029.58 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2029.58 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2029.58 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2029.58 s
[opt-env-conf-test] ParseErrorNoReaders ->
2029.59 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2029.59 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2029.59 s
[opt-env-conf-test] ]
2029.59 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2029.59 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2029.59 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2029.59 s
[opt-env-conf-test] [ "Missing argument: "
2029.59 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2029.59 s
[opt-env-conf-test] ]
2029.59 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2029.59 s
[opt-env-conf-test] ["Failed to read argument: "]
2029.59 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2029.59 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.59 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2029.59 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2029.59 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2029.59 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2029.59 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2029.59 s
[opt-env-conf-test] ["Failed to read option: "]
2029.59 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2029.59 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.59 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2029.59 s
[opt-env-conf-test] ["Missing env var: "]
2029.59 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2029.59 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2029.59 s
[opt-env-conf-test] ["Failed to read env var: "]
2029.59 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2029.59 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2029.59 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2029.59 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2029.59 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
2031.32 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
2031.32 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
2031.32 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
2031.32 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2031.32 s
[opt-env-conf-test] ["Missing command, available commands:"]
2031.32 s
[opt-env-conf-test] : availableCommandsLines cs
2031.32 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2031.32 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2031.32 s
[opt-env-conf-test] [fore blue "available commands:"]
2031.32 s
[opt-env-conf-test] ]
2031.32 s
[opt-env-conf-test] ++ availableCommandsLines cs
2031.32 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2031.32 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."],
2031.32 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2031.32 s
[opt-env-conf-test] ]
2031.32 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2031.32 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2031.32 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2031.32 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2031.32 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2031.32 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2031.32 s
[opt-env-conf-test] ]
2031.32 s
[opt-env-conf-test]
2031.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2031.32 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2031.32 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2031.32 s
[opt-env-conf-test] renderError ParseError {..} =
2031.32 s
[opt-env-conf-test] concat
2031.32 s
[opt-env-conf-test] [ case parseErrorMessage of
2031.32 s
[opt-env-conf-test] ParseErrorEmpty ->
2031.32 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2031.32 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2031.32 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2031.32 s
[opt-env-conf-test] ParseErrorNoReaders ->
2031.32 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2031.32 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2031.32 s
[opt-env-conf-test] ]
2031.32 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2031.32 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2031.32 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2031.32 s
[opt-env-conf-test] [ "Missing argument: "
2031.32 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2031.32 s
[opt-env-conf-test] ]
2031.32 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2031.32 s
[opt-env-conf-test] ["Failed to read argument: "]
2031.33 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2031.33 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2031.33 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2031.33 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2031.33 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2031.33 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2031.33 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2031.33 s
[opt-env-conf-test] ["Failed to read option: "]
2031.33 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2031.33 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2031.33 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2031.33 s
[opt-env-conf-test] ["Missing env var: "]
2031.33 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2031.33 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2031.33 s
[opt-env-conf-test] ["Failed to read env var: "]
2031.33 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2031.33 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2031.33 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
2031.33 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
2031.33 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2031.37 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2031.37 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2031.37 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2031.37 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2031.37 s
[opt-env-conf-test] ["Missing command, available commands:"]
2031.37 s
[opt-env-conf-test] : availableCommandsLines cs
2031.37 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2031.37 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2031.37 s
[opt-env-conf-test] [fore blue "available commands:"]
2031.37 s
[opt-env-conf-test] ]
2031.37 s
[opt-env-conf-test] ++ availableCommandsLines cs
2031.37 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2031.37 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."],
2031.37 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2031.37 s
[opt-env-conf-test] ]
2031.37 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2031.37 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2031.37 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2031.37 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2031.37 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2031.37 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2031.37 s
[opt-env-conf-test] ]
2031.37 s
[opt-env-conf-test]
2031.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2031.37 s
[opt-env-conf-test] @@ -80,63 +80,60 @@
2031.37 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2031.38 s
[opt-env-conf-test] renderError ParseError {..} =
2031.38 s
[opt-env-conf-test] concat
2031.38 s
[opt-env-conf-test] [ case parseErrorMessage of
2031.38 s
[opt-env-conf-test] ParseErrorEmpty ->
2031.38 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2031.38 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2031.38 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2031.38 s
[opt-env-conf-test] ParseErrorNoReaders ->
2031.38 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2031.38 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2031.38 s
[opt-env-conf-test] ]
2031.38 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2031.38 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2031.38 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2031.38 s
[opt-env-conf-test] [ "Missing argument: "
2031.38 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2031.38 s
[opt-env-conf-test] ]
2031.38 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2031.38 s
[opt-env-conf-test] ["Failed to read argument: "]
2031.38 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2031.38 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2031.38 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2031.38 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2031.38 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2031.38 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2031.38 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2031.38 s
[opt-env-conf-test] ["Failed to read option: "]
2031.38 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2031.38 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2031.38 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2031.38 s
[opt-env-conf-test] ["Missing env var: "]
2031.38 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2031.38 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2031.38 s
[opt-env-conf-test] ["Failed to read env var: "]
2031.38 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2031.38 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2031.38 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2031.38 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2031.38 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2031.38 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2031.69 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2031.69 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2031.69 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
2031.69 s
[opt-env-conf-test] - ["Missing command, available commands:"]
2031.69 s
[opt-env-conf-test] - : availableCommandsLines cs
2031.69 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2031.69 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2031.69 s
[opt-env-conf-test] [fore blue "available commands:"]
2031.69 s
[opt-env-conf-test] ]
2031.69 s
[opt-env-conf-test] ++ availableCommandsLines cs
2031.69 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2031.69 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."],
2031.69 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2031.69 s
[opt-env-conf-test] ]
2031.69 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2031.69 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2031.69 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2031.69 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2031.69 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2031.69 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2031.69 s
[opt-env-conf-test] ]
2031.69 s
[opt-env-conf-test]
2031.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2031.69 s
[opt-env-conf-test] @@ -80,63 +80,58 @@
2031.69 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2031.69 s
[opt-env-conf-test] renderError ParseError {..} =
2031.69 s
[opt-env-conf-test] concat
2031.69 s
[opt-env-conf-test] [ case parseErrorMessage of
2031.69 s
[opt-env-conf-test] ParseErrorEmpty ->
2031.69 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2031.69 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2031.70 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2031.70 s
[opt-env-conf-test] ParseErrorNoReaders ->
2031.70 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2031.70 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2031.70 s
[opt-env-conf-test] ]
2031.70 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2031.70 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2031.70 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2031.70 s
[opt-env-conf-test] [ "Missing argument: "
2031.70 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2031.70 s
[opt-env-conf-test] ]
2031.70 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2031.70 s
[opt-env-conf-test] ["Failed to read argument: "]
2031.70 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2031.70 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2031.70 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2031.70 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2031.70 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2031.70 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2031.70 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2031.70 s
[opt-env-conf-test] ["Failed to read option: "]
2031.70 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2031.70 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2031.70 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2031.70 s
[opt-env-conf-test] ["Missing env var: "]
2031.70 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2031.70 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2031.70 s
[opt-env-conf-test] ["Failed to read env var: "]
2031.70 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2031.70 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2031.70 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2031.70 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2031.70 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2031.70 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2032.76 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2032.76 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2032.76 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2032.76 s
[opt-env-conf-test] ["Missing command, available commands:"]
2032.76 s
[opt-env-conf-test] : availableCommandsLines cs
2032.76 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
2032.76 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2032.76 s
[opt-env-conf-test] - [fore blue "available commands:"]
2032.76 s
[opt-env-conf-test] - ]
2032.76 s
[opt-env-conf-test] - ++ availableCommandsLines cs
2032.76 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2032.76 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."],
2032.76 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2032.76 s
[opt-env-conf-test] ]
2032.76 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2032.76 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2032.76 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2032.76 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2032.76 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2032.76 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2032.76 s
[opt-env-conf-test] ]
2032.76 s
[opt-env-conf-test]
2032.76 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:222:31-71
2032.76 s
[opt-env-conf-test] @@ -219,7 +219,7 @@
2032.76 s
[opt-env-conf-test] consumeOption :: [Dashed] -> Args -> Maybe (String, Args)
2032.77 s
[opt-env-conf-test] consumeOption dasheds as = do
2032.77 s
[opt-env-conf-test] case go (argsBefore as) of
2032.77 s
[opt-env-conf-test] - Just (val, newBefores) -> J u s t (val, as {a r g s Before = newBefores})
2032.77 s
[opt-env-conf-test] + Just (val, newBefores) -> No t hin g
2032.77 s
[opt-env-conf-test] Nothing ->
2032.77 s
[opt-env-conf-test] -- TODO option value on the border
2032.77 s
[opt-env-conf-test] case go (argsAfter as) of
2032.77 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
2032.77 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
2032.77 s
[opt-env-conf-test] Nothing ->
2032.77 s
[opt-env-conf-test] case rest of
2032.77 s
[opt-env-conf-test] (Live v : rest') ->
2032.77 s
[opt-env-conf-test] - case consumeDashedOption dasheds i s L on g cs of
2032.77 s
[opt-env-conf-test] + case consumeDashedOption dasheds Tru e cs of
2032.77 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2032.77 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2032.77 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2032.77 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2032.77 s
[opt-env-conf-test] @@ -80,63 +80,58 @@
2032.77 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2032.77 s
[opt-env-conf-test] renderError ParseError {..} =
2032.77 s
[opt-env-conf-test] concat
2032.77 s
[opt-env-conf-test] [ case parseErrorMessage of
2032.77 s
[opt-env-conf-test] ParseErrorEmpty ->
2032.77 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2032.77 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2032.77 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2032.77 s
[opt-env-conf-test] ParseErrorNoReaders ->
2032.77 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2032.77 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2032.77 s
[opt-env-conf-test] ]
2032.77 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2032.77 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2032.77 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2032.77 s
[opt-env-conf-test] [ "Missing argument: "
2032.77 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2032.77 s
[opt-env-conf-test] ]
2032.77 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2032.77 s
[opt-env-conf-test] ["Failed to read argument: "]
2032.77 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2032.77 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2032.77 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2032.77 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2032.77 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2032.77 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2032.77 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2032.77 s
[opt-env-conf-test] ["Failed to read option: "]
2032.77 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2032.77 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2032.77 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2032.77 s
[opt-env-conf-test] ["Missing env var: "]
2032.77 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2032.77 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2032.77 s
[opt-env-conf-test] ["Failed to read env var: "]
2032.77 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2032.77 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2032.77 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2032.77 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2032.77 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2032.77 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2033.39 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2033.48 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2033.48 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2033.48 s
[opt-env-conf-test] ["Missing command, available commands:"]
2033.48 s
[opt-env-conf-test] : availableCommandsLines cs
2033.48 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2033.48 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2033.48 s
[opt-env-conf-test] [fore blue "available commands:"]
2033.48 s
[opt-env-conf-test] ]
2033.48 s
[opt-env-conf-test] ++ availableCommandsLines cs
2033.48 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
2033.48 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."],
2033.48 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
2033.48 s
[opt-env-conf-test] - ]
2033.48 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
2033.48 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2033.48 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2033.48 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2033.48 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2033.48 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2033.48 s
[opt-env-conf-test] ]
2033.48 s
[opt-env-conf-test]
2033.48 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:54:26-31
2033.48 s
[opt-env-conf-test] @@ -51,7 +51,7 @@
2033.48 s
[opt-env-conf-test] errorMessageIsForgivable = \case
2033.48 s
[opt-env-conf-test] ParseErrorEmpty -> True
2033.48 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2033.48 s
[opt-env-conf-test] - ParseErrorNoReaders -> F al s e
2033.49 s
[opt-env-conf-test] + ParseErrorNoReaders -> T ru e
2033.49 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2033.49 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2033.49 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2033.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
2033.49 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
2033.49 s
[opt-env-conf-test] ParseErrorEmpty -> True
2033.49 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2033.49 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2033.49 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> f o r gi v a b l e
2033.49 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> T r u e
2033.49 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2033.49 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2033.49 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2033.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
2033.49 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
2033.49 s
[opt-env-conf-test] ParseErrorEmpty -> True
2033.49 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2033.49 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2033.49 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> f o rg iv a b l e
2033.49 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> F a l s e
2033.49 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2033.49 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2033.49 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2033.49 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:55:41-51
2033.49 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
2033.49 s
[opt-env-conf-test] ParseErrorEmpty -> True
2033.49 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2033.49 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2033.49 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
2033.49 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> n o t ( forgivable )
2033.49 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2033.49 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2033.49 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2033.49 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:56:34-38
2033.49 s
[opt-env-conf-test] @@ -53,7 +53,7 @@
2033.49 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2033.49 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2033.49 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2033.49 s
[opt-env-conf-test] - ParseErrorMissingArgument _ -> Tr u e
2033.49 s
[opt-env-conf-test] + ParseErrorMissingArgument _ -> F a ls e
2033.49 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2033.49 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2033.49 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2033.49 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:57:33-38
2033.49 s
[opt-env-conf-test] @@ -54,7 +54,7 @@
2033.49 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2033.49 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2033.49 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2033.49 s
[opt-env-conf-test] - ParseErrorArgumentRead _ _ -> F al s e
2033.49 s
[opt-env-conf-test] + ParseErrorArgumentRead _ _ -> T ru e
2033.49 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2033.50 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2033.50 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2033.50 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
2033.50 s
[opt-env-conf-test] @@ -80,65 +80,7 @@
2033.50 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2033.50 s
[opt-env-conf-test] renderError ParseError {..} =
2033.50 s
[opt-env-conf-test] concat
2033.50 s
[opt-env-conf-test] - [ case parseErrorMessage of
2033.50 s
[opt-env-conf-test] - ParseErrorEmpty ->
2033.50 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
2033.50 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
2033.50 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
2033.50 s
[opt-env-conf-test] - ParseErrorNoReaders ->
2033.50 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2033.50 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
2033.50 s
[opt-env-conf-test] - ]
2033.50 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
2033.50 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
2033.50 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
2033.50 s
[opt-env-conf-test] - [ "Missing argument: "
2033.50 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
2033.50 s
[opt-env-conf-test] - ]
2033.50 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
2033.50 s
[opt-env-conf-test] - ["Failed to read argument: "]
2033.50 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2033.50 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2033.50 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
2033.50 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2033.50 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
2033.50 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2033.50 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
2033.50 s
[opt-env-conf-test] - ["Failed to read option: "]
2033.50 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2033.50 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2033.50 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
2033.50 s
[opt-env-conf-test] - ["Missing env var: "]
2033.50 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2033.50 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
2033.50 s
[opt-env-conf-test] - ["Failed to read env var: "]
2033.50 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2033.50 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2033.50 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
2033.50 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
2033.50 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
2033.50 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
2033.50 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
2033.50 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
2033.50 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
2033.50 s
[opt-env-conf-test] - ["Missing command, available commands:"]
2033.50 s
[opt-env-conf-test] - : availableCommandsLines cs
2033.50 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
2033.50 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2033.50 s
[opt-env-conf-test] - [fore blue "available commands:"]
2033.50 s
[opt-env-conf-test] - ]
2033.50 s
[opt-env-conf-test] - ++ availableCommandsLines cs
2033.50 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
2033.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."],
2033.50 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
2033.50 s
[opt-env-conf-test] - ]
2033.50 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
2033.50 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
2033.50 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2033.50 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
2033.50 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
2033.50 s
[opt-env-conf-test] - maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2033.50 s
[opt-env-conf-test] ]
2033.50 s
[opt-env-conf-test]
2033.51 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
2033.51 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
2033.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
2033.51 s
[opt-env-conf-test] @@ -80,65 +80,8 @@
2033.51 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2033.51 s
[opt-env-conf-test] renderError ParseError {..} =
2033.51 s
[opt-env-conf-test] concat
2033.51 s
[opt-env-conf-test] - [ case parseErrorMessage of
2033.51 s
[opt-env-conf-test] - ParseErrorEmpty ->
2033.51 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
2033.51 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
2033.51 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
2033.51 s
[opt-env-conf-test] - ParseErrorNoReaders ->
2033.51 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2033.51 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
2033.51 s
[opt-env-conf-test] - ]
2033.51 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
2033.51 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
2033.51 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
2033.51 s
[opt-env-conf-test] - [ "Missing argument: "
2033.51 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
2033.51 s
[opt-env-conf-test] - ]
2033.51 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
2033.51 s
[opt-env-conf-test] - ["Failed to read argument: "]
2033.51 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2033.51 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2033.51 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
2033.51 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2033.51 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
2033.51 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2033.51 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
2033.51 s
[opt-env-conf-test] - ["Failed to read option: "]
2033.51 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2033.51 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2033.51 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
2033.51 s
[opt-env-conf-test] - ["Missing env var: "]
2033.51 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2033.51 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
2033.51 s
[opt-env-conf-test] - ["Failed to read env var: "]
2033.51 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2033.98 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2033.98 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
2033.98 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
2033.98 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
2033.98 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
2033.98 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
2033.98 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
2033.98 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
2033.98 s
[opt-env-conf-test] - ["Missing command, available commands:"]
2033.98 s
[opt-env-conf-test] - : availableCommandsLines cs
2033.99 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
2033.99 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2033.99 s
[opt-env-conf-test] - [fore blue "available commands:"]
2033.99 s
[opt-env-conf-test] - ]
2033.99 s
[opt-env-conf-test] - ++ availableCommandsLines cs
2033.99 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
2033.99 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."],
2033.99 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
2033.99 s
[opt-env-conf-test] - ]
2033.99 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
2033.99 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
2033.99 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2033.99 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
2033.99 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
2033.99 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2033.99 s
[opt-env-conf-test] ]
2033.99 s
[opt-env-conf-test]
2033.99 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
2033.99 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
2033.99 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:58:32-36
2033.99 s
[opt-env-conf-test] @@ -55,7 +55,7 @@
2033.99 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2033.99 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2033.99 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2033.99 s
[opt-env-conf-test] - ParseErrorMissingSwitch _ -> Tr u e
2033.99 s
[opt-env-conf-test] + ParseErrorMissingSwitch _ -> F a ls e
2033.99 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2033.99 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2033.99 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2033.99 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:53:29-34
2033.99 s
[opt-env-conf-test] @@ -50,7 +50,7 @@
2033.99 s
[opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
2033.99 s
[opt-env-conf-test] errorMessageIsForgivable = \case
2033.99 s
[opt-env-conf-test] ParseErrorEmpty -> True
2033.99 s
[opt-env-conf-test] - ParseErrorEmptySetting -> F al s e
2034.00 s
[opt-env-conf-test] + ParseErrorEmptySetting -> T ru e
2034.00 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2034.00 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2034.00 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2034.00 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:59:31-36
2034.00 s
[opt-env-conf-test] @@ -56,7 +56,7 @@
2034.00 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2034.00 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2034.00 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2034.00 s
[opt-env-conf-test] - ParseErrorOptionRead _ _ -> F al s e
2034.00 s
[opt-env-conf-test] + ParseErrorOptionRead _ _ -> T ru e
2034.00 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2034.00 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2034.00 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2034.00 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:60:32-36
2034.00 s
[opt-env-conf-test] @@ -57,7 +57,7 @@
2034.00 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2034.00 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2034.00 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2034.00 s
[opt-env-conf-test] - ParseErrorMissingOption _ -> Tr u e
2034.00 s
[opt-env-conf-test] + ParseErrorMissingOption _ -> F a ls e
2034.00 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2034.00 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2034.00 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2034.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2034.00 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2034.00 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2034.00 s
[opt-env-conf-test] renderError ParseError {..} =
2034.00 s
[opt-env-conf-test] concat
2034.00 s
[opt-env-conf-test] [ case parseErrorMessage of
2034.00 s
[opt-env-conf-test] ParseErrorEmpty ->
2034.00 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2034.00 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2034.00 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2034.00 s
[opt-env-conf-test] ParseErrorNoReaders ->
2034.00 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2034.00 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2034.00 s
[opt-env-conf-test] ]
2034.00 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2034.00 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2034.00 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2034.00 s
[opt-env-conf-test] [ "Missing argument: "
2034.00 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2034.00 s
[opt-env-conf-test] ]
2034.00 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2034.00 s
[opt-env-conf-test] ["Failed to read argument: "]
2034.00 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2034.00 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2034.00 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2034.00 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2034.01 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2034.01 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2034.01 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2034.01 s
[opt-env-conf-test] ["Failed to read option: "]
2034.01 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2034.01 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2034.01 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2034.01 s
[opt-env-conf-test] ["Missing env var: "]
2034.01 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2034.01 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2034.01 s
[opt-env-conf-test] ["Failed to read env var: "]
2034.01 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2034.01 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2034.01 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2034.01 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2034.01 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2034.01 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2035.29 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2035.30 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2035.30 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2035.30 s
[opt-env-conf-test] ["Missing command, available commands:"]
2035.30 s
[opt-env-conf-test] : availableCommandsLines cs
2035.30 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2035.30 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2035.30 s
[opt-env-conf-test] [fore blue "available commands:"]
2035.30 s
[opt-env-conf-test] ]
2035.30 s
[opt-env-conf-test] ++ availableCommandsLines cs
2035.30 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2035.30 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."],
2035.30 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2035.30 s
[opt-env-conf-test] ]
2035.30 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2035.30 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
2035.30 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2035.30 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2035.30 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2035.30 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2035.30 s
[opt-env-conf-test] ]
2035.30 s
[opt-env-conf-test]
2035.30 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:61:32-36
2035.30 s
[opt-env-conf-test] @@ -58,7 +58,7 @@
2035.30 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2035.30 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2035.30 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2035.30 s
[opt-env-conf-test] - ParseErrorMissingEnvVar _ -> Tr u e
2035.30 s
[opt-env-conf-test] + ParseErrorMissingEnvVar _ -> F a ls e
2035.31 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2035.31 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2035.31 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2035.31 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:62:28-33
2035.31 s
[opt-env-conf-test] @@ -59,7 +59,7 @@
2035.31 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2035.31 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2035.31 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2035.31 s
[opt-env-conf-test] - ParseErrorEnvRead _ _ -> F al s e
2035.31 s
[opt-env-conf-test] + ParseErrorEnvRead _ _ -> T ru e
2035.31 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2035.31 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2035.31 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2035.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2035.31 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2035.31 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2035.31 s
[opt-env-conf-test] renderError ParseError {..} =
2035.31 s
[opt-env-conf-test] concat
2035.31 s
[opt-env-conf-test] [ case parseErrorMessage of
2035.31 s
[opt-env-conf-test] ParseErrorEmpty ->
2035.31 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2035.31 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2035.31 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2035.31 s
[opt-env-conf-test] ParseErrorNoReaders ->
2035.31 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2035.31 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2035.31 s
[opt-env-conf-test] ]
2035.31 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2035.31 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2035.32 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2035.32 s
[opt-env-conf-test] [ "Missing argument: "
2035.32 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2035.32 s
[opt-env-conf-test] ]
2035.32 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2035.32 s
[opt-env-conf-test] ["Failed to read argument: "]
2035.32 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2035.32 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2035.32 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2035.32 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2035.32 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2035.32 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2035.32 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2035.32 s
[opt-env-conf-test] ["Failed to read option: "]
2035.32 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2035.32 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2035.32 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2035.32 s
[opt-env-conf-test] ["Missing env var: "]
2035.32 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2035.32 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2035.32 s
[opt-env-conf-test] ["Failed to read env var: "]
2035.32 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2035.32 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2035.32 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2035.32 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2035.32 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2035.32 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2035.77 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2035.77 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2035.77 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2035.77 s
[opt-env-conf-test] ["Missing command, available commands:"]
2035.77 s
[opt-env-conf-test] : availableCommandsLines cs
2035.77 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2035.77 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2035.77 s
[opt-env-conf-test] [fore blue "available commands:"]
2035.78 s
[opt-env-conf-test] ]
2035.78 s
[opt-env-conf-test] ++ availableCommandsLines cs
2035.78 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2035.78 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."],
2035.78 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2035.78 s
[opt-env-conf-test] ]
2035.78 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2035.78 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2035.78 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2035.78 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
2035.78 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
2035.78 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2035.78 s
[opt-env-conf-test] ]
2035.78 s
[opt-env-conf-test]
2035.78 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:206:39-57
2035.78 s
[opt-env-conf-test] @@ -203,7 +203,7 @@
2035.78 s
[opt-env-conf-test] _ ->
2035.78 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2035.78 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2035.78 s
[opt-env-conf-test] - ( J us t (r e n d e rA r g a ) , consumed)
2035.78 s
[opt-env-conf-test] + ( N o t hi n g , consumed)
2035.78 s
[opt-env-conf-test] ]
2035.78 s
[opt-env-conf-test] )
2035.78 s
[opt-env-conf-test]
2035.78 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
2035.78 s
[opt-env-conf-test] @@ -186,26 +186,10 @@
2035.78 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2035.78 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2035.78 s
[opt-env-conf-test] ]
2035.78 s
[opt-env-conf-test] in case afters of
2035.78 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2035.78 s
[opt-env-conf-test] [] -> switchCase
2035.78 s
[opt-env-conf-test] (Dead : _) -> switchCase
2035.78 s
[opt-env-conf-test] - (Live a' : rest) ->
2035.78 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
2035.78 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
2035.78 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
2035.78 s
[opt-env-conf-test] - -- * The dashed is an argument
2035.79 s
[opt-env-conf-test] - ( case a' of
2035.79 s
[opt-env-conf-test] - ArgDashed {} ->
2035.79 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
2035.79 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2035.79 s
[opt-env-conf-test] - ]
2035.79 s
[opt-env-conf-test] - _ ->
2035.79 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2035.79 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2035.79 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2035.79 s
[opt-env-conf-test] - ]
2035.79 s
[opt-env-conf-test] - )
2035.79 s
[opt-env-conf-test]
2035.79 s
[opt-env-conf-test] -- | Consume an option.
2035.79 s
[opt-env-conf-test] --
2035.79 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
2035.79 s
[opt-env-conf-test] @@ -143,69 +143,40 @@
2035.79 s
[opt-env-conf-test] in case firstArg of
2035.79 s
[opt-env-conf-test] -- Skip any dead argument
2035.79 s
[opt-env-conf-test] Dead -> consumeArgument consumed
2035.79 s
[opt-env-conf-test] Live a -> case a of
2035.79 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2035.79 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2035.79 s
[opt-env-conf-test] -- A single dash is always an argument
2035.79 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2035.79 s
[opt-env-conf-test] -- Bare double-dash
2035.79 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2035.79 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2035.79 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2035.79 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2035.79 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2035.79 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2035.79 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2035.79 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2035.79 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2035.79 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2035.79 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2035.79 s
[opt-env-conf-test] -- pop the args as they come.
2035.79 s
[opt-env-conf-test] _ ->
2035.79 s
[opt-env-conf-test] let go = \case
2035.79 s
[opt-env-conf-test] [] -> Nothing
2035.79 s
[opt-env-conf-test] (Dead : rest) -> go rest
2035.79 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2035.80 s
[opt-env-conf-test] in case go afters of
2035.80 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2035.80 s
[opt-env-conf-test] Just (firstLive, rest) ->
2035.80 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2035.80 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2035.80 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2035.80 s
[opt-env-conf-test] -- arguments.
2035.80 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2035.80 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2035.80 s
[opt-env-conf-test] )
2035.80 s
[opt-env-conf-test] ]
2035.80 s
[opt-env-conf-test] - ArgDashed {} ->
2035.80 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
2035.80 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
2035.80 s
[opt-env-conf-test] - -- * The dashed is an argument
2035.80 s
[opt-env-conf-test] - -- TODO we need to continue looking too
2035.80 s
[opt-env-conf-test] - let switchCase =
2035.80 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
2035.80 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2035.80 s
[opt-env-conf-test] - ]
2035.80 s
[opt-env-conf-test] - in case afters of
2035.80 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
2035.80 s
[opt-env-conf-test] - [] -> switchCase
2035.80 s
[opt-env-conf-test] - (Dead : _) -> switchCase
2035.80 s
[opt-env-conf-test] - (Live a' : rest) ->
2035.80 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
2035.80 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
2035.80 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
2035.80 s
[opt-env-conf-test] - -- * The dashed is an argument
2035.80 s
[opt-env-conf-test] - ( case a' of
2035.80 s
[opt-env-conf-test] - ArgDashed {} ->
2035.80 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
2035.80 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2035.80 s
[opt-env-conf-test] - ]
2035.80 s
[opt-env-conf-test] - _ ->
2035.80 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2035.80 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2035.80 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2036.20 s
[opt-env-conf-test] - ]
2036.20 s
[opt-env-conf-test] - )
2036.20 s
[opt-env-conf-test]
2036.20 s
[opt-env-conf-test] -- | Consume an option.
2036.20 s
[opt-env-conf-test] --
2036.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
2036.20 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2036.20 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2036.20 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2036.20 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2036.20 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l c s
2036.20 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ F a l s e
2036.20 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2036.20 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2036.20 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2036.20 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
2036.20 s
[opt-env-conf-test] @@ -202,9 +202,7 @@
2036.20 s
[opt-env-conf-test] ]
2036.20 s
[opt-env-conf-test] _ ->
2036.21 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2036.21 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2036.21 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2036.21 s
[opt-env-conf-test] ]
2036.21 s
[opt-env-conf-test] )
2036.21 s
[opt-env-conf-test]
2036.21 s
[opt-env-conf-test] -- | Consume an option.
2036.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
2036.21 s
[opt-env-conf-test] @@ -140,72 +140,9 @@
2036.21 s
[opt-env-conf-test] (firstArg : afters) ->
2036.21 s
[opt-env-conf-test] let befores = argsBefore as
2036.21 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
2036.21 s
[opt-env-conf-test] in case firstArg of
2036.21 s
[opt-env-conf-test] -- Skip any dead argument
2036.21 s
[opt-env-conf-test] Dead -> consumeArgument consumed
2036.21 s
[opt-env-conf-test] - Live a -> case a of
2036.21 s
[opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
2036.21 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
2036.21 s
[opt-env-conf-test] - -- A single dash is always an argument
2036.21 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
2036.21 s
[opt-env-conf-test] - -- Bare double-dash
2036.21 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
2036.21 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
2036.21 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
2036.21 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
2036.21 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
2036.21 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
2036.21 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2036.21 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
2036.21 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
2036.21 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
2036.21 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
2036.21 s
[opt-env-conf-test] - -- pop the args as they come.
2036.21 s
[opt-env-conf-test] - _ ->
2036.21 s
[opt-env-conf-test] - let go = \case
2036.22 s
[opt-env-conf-test] - [] -> Nothing
2036.22 s
[opt-env-conf-test] - (Dead : rest) -> go rest
2036.22 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
2036.22 s
[opt-env-conf-test] - in case go afters of
2036.22 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
2036.22 s
[opt-env-conf-test] - Just (firstLive, rest) ->
2036.22 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
2036.22 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
2036.22 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
2036.22 s
[opt-env-conf-test] - -- arguments.
2036.22 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
2036.22 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
2036.22 s
[opt-env-conf-test] - )
2036.22 s
[opt-env-conf-test] - ]
2036.22 s
[opt-env-conf-test] - ArgDashed {} ->
2036.22 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
2036.22 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
2036.22 s
[opt-env-conf-test] - -- * The dashed is an argument
2036.22 s
[opt-env-conf-test] - -- TODO we need to continue looking too
2036.22 s
[opt-env-conf-test] - let switchCase =
2036.22 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
2036.22 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2036.22 s
[opt-env-conf-test] - ]
2036.22 s
[opt-env-conf-test] - in case afters of
2036.22 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
2036.22 s
[opt-env-conf-test] - [] -> switchCase
2036.22 s
[opt-env-conf-test] - (Dead : _) -> switchCase
2036.22 s
[opt-env-conf-test] - (Live a' : rest) ->
2036.22 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
2036.22 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
2036.22 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
2036.22 s
[opt-env-conf-test] - -- * The dashed is an argument
2036.22 s
[opt-env-conf-test] - ( case a' of
2036.22 s
[opt-env-conf-test] - ArgDashed {} ->
2036.23 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
2036.96 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2036.96 s
[opt-env-conf-test] - ]
2036.96 s
[opt-env-conf-test] - _ ->
2036.96 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2036.96 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2036.96 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2036.96 s
[opt-env-conf-test] - ]
2036.96 s
[opt-env-conf-test] - )
2036.96 s
[opt-env-conf-test]
2036.96 s
[opt-env-conf-test] -- | Consume an option.
2036.96 s
[opt-env-conf-test] --
2036.96 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:68:31-36
2036.96 s
[opt-env-conf-test] @@ -65,7 +65,7 @@
2036.96 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2036.96 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2036.96 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2036.96 s
[opt-env-conf-test] - ParseErrorUnrecognised _ -> F al s e
2036.96 s
[opt-env-conf-test] + ParseErrorUnrecognised _ -> T ru e
2036.96 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
2036.96 s
[opt-env-conf-test]
2036.96 s
[opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
2036.96 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:69:36-41
2036.96 s
[opt-env-conf-test] @@ -66,7 +66,7 @@
2036.96 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2036.96 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2036.96 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2036.97 s
[opt-env-conf-test] - ParseErrorMissingCapability _ -> F al s e
2036.97 s
[opt-env-conf-test] + ParseErrorMissingCapability _ -> T ru e
2036.97 s
[opt-env-conf-test]
2036.97 s
[opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
2036.97 s
[opt-env-conf-test] eraseErrorSrcLocs = fmap eraseErrorSrcLoc
2036.97 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/NonDet.hs:74:24-42
2036.97 s
[opt-env-conf-test] @@ -71,7 +71,7 @@
2036.97 s
[opt-env-conf-test] runListTLazy = fmap g . unListT
2036.97 s
[opt-env-conf-test] where
2036.97 s
[opt-env-conf-test] g MNil = Nothing
2036.97 s
[opt-env-conf-test] - g (x `MCons` xs) = J u s t (x, L i s t T x s)
2036.97 s
[opt-env-conf-test] + g (x `MCons` xs) = No t h i ng
2036.97 s
[opt-env-conf-test]
2036.97 s
[opt-env-conf-test] runListTComplete :: (Monad m) => ListT m a -> m [a]
2036.97 s
[opt-env-conf-test] runListTComplete = unListT >=> go
2036.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
2036.97 s
[opt-env-conf-test] @@ -149,34 +149,18 @@
2036.97 s
[opt-env-conf-test] -- A single dash is always an argument
2036.97 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2036.97 s
[opt-env-conf-test] -- Bare double-dash
2036.97 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2036.97 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2036.97 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2036.97 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2036.97 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2036.97 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2036.97 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2036.97 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2036.97 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2036.97 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2036.97 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2036.97 s
[opt-env-conf-test] -- pop the args as they come.
2036.98 s
[opt-env-conf-test] - _ ->
2036.98 s
[opt-env-conf-test] - let go = \case
2036.98 s
[opt-env-conf-test] - [] -> Nothing
2036.98 s
[opt-env-conf-test] - (Dead : rest) -> go rest
2036.98 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
2036.98 s
[opt-env-conf-test] - in case go afters of
2036.98 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
2036.98 s
[opt-env-conf-test] - Just (firstLive, rest) ->
2036.98 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
2036.98 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
2036.98 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
2036.98 s
[opt-env-conf-test] - -- arguments.
2036.98 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
2036.98 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
2036.98 s
[opt-env-conf-test] - )
2043.88 s
[opt-env-conf-test] - ]
2043.88 s
[opt-env-conf-test] ArgDashed {} ->
2043.88 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2043.90 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2043.90 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:67:31-36
2043.90 s
[opt-env-conf-test] @@ -64,7 +64,7 @@
2043.90 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2043.90 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2043.90 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2043.90 s
[opt-env-conf-test] - ParseErrorAllOrNothing _ -> F al s e
2043.90 s
[opt-env-conf-test] + ParseErrorAllOrNothing _ -> T ru e
2043.90 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2043.90 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
2043.90 s
[opt-env-conf-test]
2043.90 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:64:31-36
2043.90 s
[opt-env-conf-test] @@ -61,7 +61,7 @@
2043.90 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2043.90 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2043.91 s
[opt-env-conf-test] - ParseErrorConfigRead _ _ -> F al s e
2043.91 s
[opt-env-conf-test] + ParseErrorConfigRead _ _ -> T ru e
2043.91 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2043.91 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2043.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
2043.91 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2043.91 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2043.91 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2043.91 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n ot $ n u l l cs
2043.91 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> Tr u e
2043.91 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2043.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
2043.91 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2043.91 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2043.91 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2043.91 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l cs
2043.91 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ T r u e
2043.91 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2043.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
2043.91 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2043.91 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2043.91 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2043.91 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n o t $ n ul l c s
2043.91 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> F a l s e
2043.91 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2043.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:34-47
2043.91 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2043.91 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2043.91 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2043.91 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
2043.91 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> n o t ( not $ null cs )
2043.91 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2043.91 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:66:40-45
2043.91 s
[opt-env-conf-test] @@ -63,7 +63,7 @@
2043.91 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2043.91 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2043.91 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> F al s e
2043.91 s
[opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> T ru e
2043.91 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
2043.91 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:63:33-37
2043.91 s
[opt-env-conf-test] @@ -60,7 +60,7 @@
2043.91 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2043.91 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2043.91 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2043.91 s
[opt-env-conf-test] - ParseErrorMissingConfVal _ -> Tr u e
2043.91 s
[opt-env-conf-test] + ParseErrorMissingConfVal _ -> F a ls e
2043.91 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2043.91 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2043.91 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2043.92 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:52:22-26
2043.92 s
[opt-env-conf-test] @@ -49,7 +49,7 @@
2043.92 s
[opt-env-conf-test]
2043.92 s
[opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
2043.92 s
[opt-env-conf-test] errorMessageIsForgivable = \case
2043.92 s
[opt-env-conf-test] - ParseErrorEmpty -> Tr u e
2043.92 s
[opt-env-conf-test] + ParseErrorEmpty -> F a ls e
2043.92 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2043.92 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2043.92 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2043.92 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:40-47
2043.92 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2043.92 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2043.92 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2043.92 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2043.92 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
2043.92 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ n o t ( null cs )
2043.92 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2043.92 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2043.92 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2043.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
2043.92 s
[opt-env-conf-test] @@ -143,69 +143,68 @@
2043.92 s
[opt-env-conf-test] in case firstArg of
2043.92 s
[opt-env-conf-test] -- Skip any dead argument
2043.92 s
[opt-env-conf-test] Dead -> consumeArgument consumed
2043.92 s
[opt-env-conf-test] Live a -> case a of
2043.92 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2043.92 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2043.92 s
[opt-env-conf-test] -- A single dash is always an argument
2043.92 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
2043.92 s
[opt-env-conf-test] -- Bare double-dash
2043.92 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2043.92 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2043.92 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2043.92 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2043.92 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2043.92 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2043.92 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2043.92 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2043.92 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2043.92 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2043.92 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2043.92 s
[opt-env-conf-test] -- pop the args as they come.
2043.92 s
[opt-env-conf-test] _ ->
2043.92 s
[opt-env-conf-test] let go = \case
2043.92 s
[opt-env-conf-test] [] -> Nothing
2043.92 s
[opt-env-conf-test] (Dead : rest) -> go rest
2043.92 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2043.92 s
[opt-env-conf-test] in case go afters of
2043.92 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2043.92 s
[opt-env-conf-test] Just (firstLive, rest) ->
2043.92 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2043.92 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2043.92 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2043.92 s
[opt-env-conf-test] -- arguments.
2045.53 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2045.53 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2045.53 s
[opt-env-conf-test] )
2045.53 s
[opt-env-conf-test] ]
2045.53 s
[opt-env-conf-test] ArgDashed {} ->
2045.53 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2045.53 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2045.53 s
[opt-env-conf-test] -- * The dashed is an argument
2045.54 s
[opt-env-conf-test] -- TODO we need to continue looking too
2045.54 s
[opt-env-conf-test] let switchCase =
2045.54 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2045.54 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2045.54 s
[opt-env-conf-test] ]
2045.54 s
[opt-env-conf-test] in case afters of
2045.54 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2045.54 s
[opt-env-conf-test] [] -> switchCase
2045.54 s
[opt-env-conf-test] (Dead : _) -> switchCase
2045.54 s
[opt-env-conf-test] (Live a' : rest) ->
2045.54 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
2045.54 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2045.54 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2045.54 s
[opt-env-conf-test] -- * The dashed is an argument
2045.54 s
[opt-env-conf-test] ( case a' of
2045.54 s
[opt-env-conf-test] ArgDashed {} ->
2045.54 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2045.54 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2045.54 s
[opt-env-conf-test] ]
2045.54 s
[opt-env-conf-test] _ ->
2045.54 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2045.54 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2045.54 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2045.54 s
[opt-env-conf-test] ]
2045.54 s
[opt-env-conf-test] )
2045.54 s
[opt-env-conf-test]
2045.54 s
[opt-env-conf-test] -- | Consume an option.
2045.54 s
[opt-env-conf-test] --
2045.54 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:241:25-46
2045.54 s
[opt-env-conf-test] @@ -238,7 +238,7 @@
2045.54 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2045.54 s
[opt-env-conf-test] ArgDashed isLong cs ->
2045.54 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2045.54 s
[opt-env-conf-test] - Just v -> J us t ( v, Dea d : re s t )
2045.55 s
[opt-env-conf-test] + Just v -> No t h ing
2045.55 s
[opt-env-conf-test] Nothing ->
2045.55 s
[opt-env-conf-test] case rest of
2045.55 s
[opt-env-conf-test] (Live v : rest') ->
2045.55 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:226:34-72
2045.55 s
[opt-env-conf-test] @@ -223,7 +223,7 @@
2045.55 s
[opt-env-conf-test] Nothing ->
2045.55 s
[opt-env-conf-test] -- TODO option value on the border
2045.55 s
[opt-env-conf-test] case go (argsAfter as) of
2045.55 s
[opt-env-conf-test] - Just (val, newAfters) -> J u s t (v al, as {ar g sAfter = newAfters})
2045.55 s
[opt-env-conf-test] + Just (val, newAfters) -> No t h in g
2045.55 s
[opt-env-conf-test] Nothing -> Nothing
2045.55 s
[opt-env-conf-test] where
2045.55 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
2045.55 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
2045.55 s
[opt-env-conf-test] @@ -222,9 +222,8 @@
2045.55 s
[opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
2045.55 s
[opt-env-conf-test] Nothing ->
2045.55 s
[opt-env-conf-test] -- TODO option value on the border
2045.55 s
[opt-env-conf-test] case go (argsAfter as) of
2045.55 s
[opt-env-conf-test] Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
2045.55 s
[opt-env-conf-test] - Nothing -> Nothing
2045.55 s
[opt-env-conf-test] where
2045.55 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
2045.55 s
[opt-env-conf-test] go = \case
2045.55 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
2045.55 s
[opt-env-conf-test] @@ -140,72 +140,71 @@
2045.55 s
[opt-env-conf-test] (firstArg : afters) ->
2045.55 s
[opt-env-conf-test] let befores = argsBefore as
2045.55 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
2045.55 s
[opt-env-conf-test] in case firstArg of
2045.55 s
[opt-env-conf-test] -- Skip any dead argument
2045.56 s
[opt-env-conf-test] - Dead -> consumeArgument consumed
2045.56 s
[opt-env-conf-test] Live a -> case a of
2045.56 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2045.56 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2045.56 s
[opt-env-conf-test] -- A single dash is always an argument
2045.56 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2045.56 s
[opt-env-conf-test] -- Bare double-dash
2045.56 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2045.56 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2045.56 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2045.56 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2045.56 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2045.56 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2045.56 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2045.56 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2045.56 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2045.56 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2045.56 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2045.56 s
[opt-env-conf-test] -- pop the args as they come.
2045.56 s
[opt-env-conf-test] _ ->
2045.56 s
[opt-env-conf-test] let go = \case
2045.56 s
[opt-env-conf-test] [] -> Nothing
2045.56 s
[opt-env-conf-test] (Dead : rest) -> go rest
2045.56 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2045.56 s
[opt-env-conf-test] in case go afters of
2045.56 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2045.56 s
[opt-env-conf-test] Just (firstLive, rest) ->
2045.56 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2045.56 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2049.82 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2049.88 s
[opt-env-conf-test] -- arguments.
2049.88 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2049.88 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2049.88 s
[opt-env-conf-test] )
2049.88 s
[opt-env-conf-test] ]
2049.88 s
[opt-env-conf-test] ArgDashed {} ->
2049.88 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2049.88 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2049.88 s
[opt-env-conf-test] -- * The dashed is an argument
2049.88 s
[opt-env-conf-test] -- TODO we need to continue looking too
2049.88 s
[opt-env-conf-test] let switchCase =
2049.88 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2049.88 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2049.88 s
[opt-env-conf-test] ]
2049.88 s
[opt-env-conf-test] in case afters of
2049.88 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2049.89 s
[opt-env-conf-test] [] -> switchCase
2049.89 s
[opt-env-conf-test] (Dead : _) -> switchCase
2049.89 s
[opt-env-conf-test] (Live a' : rest) ->
2049.89 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
2049.89 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2049.89 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2049.89 s
[opt-env-conf-test] -- * The dashed is an argument
2049.89 s
[opt-env-conf-test] ( case a' of
2049.89 s
[opt-env-conf-test] ArgDashed {} ->
2049.89 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2049.89 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2049.89 s
[opt-env-conf-test] ]
2049.89 s
[opt-env-conf-test] _ ->
2049.89 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2049.89 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2049.89 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2049.89 s
[opt-env-conf-test] ]
2049.89 s
[opt-env-conf-test] )
2049.89 s
[opt-env-conf-test]
2049.89 s
[opt-env-conf-test] -- | Consume an option.
2049.89 s
[opt-env-conf-test] --
2049.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
2049.89 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
2049.89 s
[opt-env-conf-test] Nothing ->
2049.89 s
[opt-env-conf-test] case rest of
2049.89 s
[opt-env-conf-test] (Live v : rest') ->
2049.89 s
[opt-env-conf-test] - case consumeDashedOption dasheds i s Lo n g cs of
2049.89 s
[opt-env-conf-test] + case consumeDashedOption dasheds F a l s e cs of
2049.89 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2049.89 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2049.89 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2049.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
2049.89 s
[opt-env-conf-test] @@ -186,26 +186,25 @@
2049.89 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2049.89 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2049.90 s
[opt-env-conf-test] ]
2049.90 s
[opt-env-conf-test] in case afters of
2049.90 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2049.90 s
[opt-env-conf-test] - [] -> switchCase
2049.90 s
[opt-env-conf-test] (Dead : _) -> switchCase
2049.90 s
[opt-env-conf-test] (Live a' : rest) ->
2049.90 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
2049.90 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2049.90 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2049.90 s
[opt-env-conf-test] -- * The dashed is an argument
2049.90 s
[opt-env-conf-test] ( case a' of
2049.90 s
[opt-env-conf-test] ArgDashed {} ->
2049.90 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2049.90 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2049.90 s
[opt-env-conf-test] ]
2049.90 s
[opt-env-conf-test] _ ->
2049.90 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2049.90 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2049.90 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2049.90 s
[opt-env-conf-test] ]
2049.90 s
[opt-env-conf-test] )
2049.90 s
[opt-env-conf-test]
2049.90 s
[opt-env-conf-test] -- | Consume an option.
2049.90 s
[opt-env-conf-test] --
2049.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
2049.90 s
[opt-env-conf-test] @@ -195,16 +195,11 @@
2049.90 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2049.90 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2049.90 s
[opt-env-conf-test] -- * The dashed is an argument
2049.90 s
[opt-env-conf-test] ( case a' of
2049.90 s
[opt-env-conf-test] ArgDashed {} ->
2049.90 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2049.90 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2049.90 s
[opt-env-conf-test] ]
2049.90 s
[opt-env-conf-test] - _ ->
2049.90 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2049.90 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2049.90 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2049.90 s
[opt-env-conf-test] - ]
2049.90 s
[opt-env-conf-test] )
2049.91 s
[opt-env-conf-test]
2049.91 s
[opt-env-conf-test] -- | Consume an option.
2049.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:240:55-61
2049.91 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
2049.91 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2049.91 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2049.91 s
[opt-env-conf-test] ArgDashed isLong cs ->
2049.91 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
2049.91 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds n o t ( isLong ) cs of
2049.91 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2049.91 s
[opt-env-conf-test] Nothing ->
2049.91 s
[opt-env-conf-test] case rest of
2049.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
2049.91 s
[opt-env-conf-test] @@ -195,16 +195,12 @@
2049.91 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2049.91 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2049.91 s
[opt-env-conf-test] -- * The dashed is an argument
2049.91 s
[opt-env-conf-test] ( case a' of
2049.91 s
[opt-env-conf-test] - ArgDashed {} ->
2049.91 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
2049.91 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2049.91 s
[opt-env-conf-test] - ]
2049.91 s
[opt-env-conf-test] _ ->
2049.91 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2049.91 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2049.91 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2049.91 s
[opt-env-conf-test] ]
2049.91 s
[opt-env-conf-test] )
2049.91 s
[opt-env-conf-test]
2049.91 s
[opt-env-conf-test] -- | Consume an option.
2049.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
2049.91 s
[opt-env-conf-test] @@ -201,7 +201,6 @@
2049.91 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2049.91 s
[opt-env-conf-test] ]
2049.91 s
[opt-env-conf-test] _ ->
2049.91 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2049.91 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2049.91 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2049.91 s
[opt-env-conf-test] ]
2049.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
2049.91 s
[opt-env-conf-test] @@ -135,77 +135,8 @@
2049.91 s
[opt-env-conf-test] Nothing -> r
2049.91 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
2049.91 s
[opt-env-conf-test]
2049.91 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
2049.91 s
[opt-env-conf-test] [] -> []
2049.91 s
[opt-env-conf-test] - (firstArg : afters) ->
2049.91 s
[opt-env-conf-test] - let befores = argsBefore as
2049.91 s
[opt-env-conf-test] - consumed = Args (befores ++ [Dead]) afters
2049.91 s
[opt-env-conf-test] - in case firstArg of
2049.91 s
[opt-env-conf-test] - -- Skip any dead argument
2049.91 s
[opt-env-conf-test] - Dead -> consumeArgument consumed
2049.91 s
[opt-env-conf-test] - Live a -> case a of
2049.92 s
[opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
2049.92 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
2049.92 s
[opt-env-conf-test] - -- A single dash is always an argument
2049.92 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
2049.92 s
[opt-env-conf-test] - -- Bare double-dash
2049.92 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
2049.92 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
2049.92 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
2049.92 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
2049.92 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
2049.92 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
2049.92 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2049.92 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
2049.92 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
2049.92 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
2049.92 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
2049.92 s
[opt-env-conf-test] - -- pop the args as they come.
2049.92 s
[opt-env-conf-test] - _ ->
2049.92 s
[opt-env-conf-test] - let go = \case
2049.92 s
[opt-env-conf-test] - [] -> Nothing
2049.92 s
[opt-env-conf-test] - (Dead : rest) -> go rest
2049.92 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
2049.92 s
[opt-env-conf-test] - in case go afters of
2049.92 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
2049.92 s
[opt-env-conf-test] - Just (firstLive, rest) ->
2049.92 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
2049.92 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
2049.92 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
2049.92 s
[opt-env-conf-test] - -- arguments.
2049.92 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
2049.92 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
2049.92 s
[opt-env-conf-test] - )
2049.92 s
[opt-env-conf-test] - ]
2049.92 s
[opt-env-conf-test] - ArgDashed {} ->
2049.92 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
2049.92 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
2049.92 s
[opt-env-conf-test] - -- * The dashed is an argument
2049.92 s
[opt-env-conf-test] - -- TODO we need to continue looking too
2049.92 s
[opt-env-conf-test] - let switchCase =
2049.92 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
2049.92 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2049.92 s
[opt-env-conf-test] - ]
2049.92 s
[opt-env-conf-test] - in case afters of
2049.92 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
2049.92 s
[opt-env-conf-test] - [] -> switchCase
2049.93 s
[opt-env-conf-test] - (Dead : _) -> switchCase
2049.93 s
[opt-env-conf-test] - (Live a' : rest) ->
2049.93 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
2049.93 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
2049.93 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
2049.93 s
[opt-env-conf-test] - -- * The dashed is an argument
2049.93 s
[opt-env-conf-test] - ( case a' of
2049.96 s
[opt-env-conf-test] - ArgDashed {} ->
2049.96 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
2049.96 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2049.96 s
[opt-env-conf-test] - ]
2049.96 s
[opt-env-conf-test] - _ ->
2049.96 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2049.97 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2049.97 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2049.97 s
[opt-env-conf-test] - ]
2049.97 s
[opt-env-conf-test] - )
2049.97 s
[opt-env-conf-test]
2049.97 s
[opt-env-conf-test] -- | Consume an option.
2049.97 s
[opt-env-conf-test] --
2049.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
2049.97 s
[opt-env-conf-test] @@ -222,9 +222,8 @@
2049.97 s
[opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
2049.97 s
[opt-env-conf-test] Nothing ->
2049.97 s
[opt-env-conf-test] -- TODO option value on the border
2049.97 s
[opt-env-conf-test] case go (argsAfter as) of
2049.97 s
[opt-env-conf-test] - Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
2049.97 s
[opt-env-conf-test] Nothing -> Nothing
2049.97 s
[opt-env-conf-test] where
2049.97 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
2049.97 s
[opt-env-conf-test] go = \case
2049.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
2049.97 s
[opt-env-conf-test] @@ -135,77 +135,76 @@
2049.97 s
[opt-env-conf-test] Nothing -> r
2049.97 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
2049.97 s
[opt-env-conf-test]
2049.97 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
2049.97 s
[opt-env-conf-test] - [] -> []
2049.97 s
[opt-env-conf-test] (firstArg : afters) ->
2049.97 s
[opt-env-conf-test] let befores = argsBefore as
2049.97 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
2049.97 s
[opt-env-conf-test] in case firstArg of
2049.97 s
[opt-env-conf-test] -- Skip any dead argument
2049.97 s
[opt-env-conf-test] Dead -> consumeArgument consumed
2049.97 s
[opt-env-conf-test] Live a -> case a of
2049.97 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2049.97 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2049.97 s
[opt-env-conf-test] -- A single dash is always an argument
2049.97 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2049.97 s
[opt-env-conf-test] -- Bare double-dash
2049.97 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2049.97 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2049.97 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2049.97 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2049.98 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2049.98 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2049.98 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2049.98 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2049.98 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2049.98 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2049.98 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2049.98 s
[opt-env-conf-test] -- pop the args as they come.
2049.98 s
[opt-env-conf-test] _ ->
2049.98 s
[opt-env-conf-test] let go = \case
2049.98 s
[opt-env-conf-test] [] -> Nothing
2049.98 s
[opt-env-conf-test] (Dead : rest) -> go rest
2049.98 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2049.98 s
[opt-env-conf-test] in case go afters of
2049.98 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2049.98 s
[opt-env-conf-test] Just (firstLive, rest) ->
2049.98 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2049.98 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2049.98 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2049.98 s
[opt-env-conf-test] -- arguments.
2049.98 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2049.98 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2049.98 s
[opt-env-conf-test] )
2049.98 s
[opt-env-conf-test] ]
2049.98 s
[opt-env-conf-test] ArgDashed {} ->
2049.98 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2049.98 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2049.98 s
[opt-env-conf-test] -- * The dashed is an argument
2049.98 s
[opt-env-conf-test] -- TODO we need to continue looking too
2049.98 s
[opt-env-conf-test] let switchCase =
2049.98 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2049.98 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2049.98 s
[opt-env-conf-test] ]
2049.98 s
[opt-env-conf-test] in case afters of
2049.98 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2049.98 s
[opt-env-conf-test] [] -> switchCase
2049.98 s
[opt-env-conf-test] (Dead : _) -> switchCase
2049.98 s
[opt-env-conf-test] (Live a' : rest) ->
2049.98 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
2049.98 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2049.98 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2049.98 s
[opt-env-conf-test] -- * The dashed is an argument
2049.98 s
[opt-env-conf-test] ( case a' of
2049.98 s
[opt-env-conf-test] ArgDashed {} ->
2049.98 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2049.98 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2049.98 s
[opt-env-conf-test] ]
2049.98 s
[opt-env-conf-test] _ ->
2049.98 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2049.98 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2060.66 s
[opt-env-conf-test] (JusKilled: 1235
2060.68 s
[opt-env-conf-test] (of which timed out: 1 )
2060.68 s
[opt-env-conf-test] Survived: 294
2060.68 s
[opt-env-conf-test] Uncovered: 381
2060.69 s
[opt-env-conf-test]
2060.69 s
[opt-env-conf-test] Timed-out mutations:
2060.69 s
[opt-env-conf-test]
2060.69 s
[opt-env-conf-test] [timed out after 30.27777 s]
2060.69 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:272:14-29
2060.69 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
2060.69 s
[opt-env-conf-test] Nothing -> pure Nothing
2060.69 s
[opt-env-conf-test] Just os -> do
2060.69 s
[opt-env-conf-test] after <- get
2060.69 s
[opt-env-conf-test] - if a f te r == bef or e
2060.69 s
[opt-env-conf-test] + if F a l s e
2060.69 s
[opt-env-conf-test] then -- State did not advance; return these completions.
2060.69 s
[opt-env-conf-test] pure $ Just os
2060.69 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
2060.69 s
[opt-env-conf-test]
2060.69 s
[opt-env-conf-test] Surviving mutations:
2060.69 s
[opt-env-conf-test]
2060.69 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Error.hs:66:40-45
2060.69 s
[opt-env-conf-test] @@ -63,7 +63,7 @@
2060.69 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2060.69 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2060.69 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2060.69 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> F al s e
2060.69 s
[opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> T ru e
2060.69 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2060.69 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2060.69 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
2060.69 s
[opt-env-conf-test]
2060.69 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:34-47
2060.69 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2060.69 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2060.69 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2060.69 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2060.69 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n ot $ n u l l cs
2060.69 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> Tr u e
2060.69 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2060.69 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2060.69 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2060.69 s
[opt-env-conf-test]
2060.69 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:40-47
2060.69 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2060.69 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2060.69 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2060.69 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2060.69 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l c s
2060.69 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ F a l s e
2060.69 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2060.70 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2060.70 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2060.70 s
[opt-env-conf-test]
2060.70 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2060.70 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2060.70 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2060.70 s
[opt-env-conf-test] renderError ParseError {..} =
2060.70 s
[opt-env-conf-test] concat
2060.70 s
[opt-env-conf-test] [ case parseErrorMessage of
2060.70 s
[opt-env-conf-test] ParseErrorEmpty ->
2060.70 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2060.70 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2060.70 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2060.70 s
[opt-env-conf-test] ParseErrorNoReaders ->
2060.70 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2060.70 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2060.70 s
[opt-env-conf-test] ]
2060.70 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2060.70 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2060.70 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2060.70 s
[opt-env-conf-test] [ "Missing argument: "
2060.70 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2060.70 s
[opt-env-conf-test] ]
2060.70 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2060.70 s
[opt-env-conf-test] ["Failed to read argument: "]
2060.70 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.70 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.70 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2060.70 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.70 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2060.70 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.70 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2060.70 s
[opt-env-conf-test] ["Failed to read option: "]
2060.70 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.70 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.70 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2060.70 s
[opt-env-conf-test] ["Missing env var: "]
2060.70 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.70 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2060.70 s
[opt-env-conf-test] ["Failed to read env var: "]
2060.70 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.70 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.70 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2060.70 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2060.70 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2060.70 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2060.70 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2060.70 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2060.70 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2060.70 s
[opt-env-conf-test] ["Missing command, available commands:"]
2060.71 s
[opt-env-conf-test] : availableCommandsLines cs
2060.71 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2060.71 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2060.71 s
[opt-env-conf-test] [fore blue "available commands:"]
2060.71 s
[opt-env-conf-test] ]
2060.71 s
[opt-env-conf-test] ++ availableCommandsLines cs
2060.71 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2060.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."],
2060.71 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2060.71 s
[opt-env-conf-test] ]
2060.71 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2060.71 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2060.71 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2060.71 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
2060.71 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
2060.71 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2060.71 s
[opt-env-conf-test] ]
2060.71 s
[opt-env-conf-test]
2060.71 s
[opt-env-conf-test]
2060.71 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2060.71 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2060.71 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2060.71 s
[opt-env-conf-test] renderError ParseError {..} =
2060.71 s
[opt-env-conf-test] concat
2060.71 s
[opt-env-conf-test] [ case parseErrorMessage of
2060.71 s
[opt-env-conf-test] ParseErrorEmpty ->
2060.71 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2060.71 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2060.71 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2060.71 s
[opt-env-conf-test] ParseErrorNoReaders ->
2060.71 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2060.71 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2060.71 s
[opt-env-conf-test] ]
2060.71 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2060.71 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2060.71 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2060.71 s
[opt-env-conf-test] [ "Missing argument: "
2060.71 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2060.71 s
[opt-env-conf-test] ]
2060.71 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2060.71 s
[opt-env-conf-test] ["Failed to read argument: "]
2060.71 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.71 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.71 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2060.71 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.71 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2060.71 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.71 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2060.71 s
[opt-env-conf-test] ["Failed to read option: "]
2060.71 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.71 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.71 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2060.71 s
[opt-env-conf-test] ["Missing env var: "]
2060.71 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.72 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2060.72 s
[opt-env-conf-test] ["Failed to read env var: "]
2060.72 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.72 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.72 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2060.72 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2060.72 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
2060.72 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
2060.72 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
2060.72 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
2060.72 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2060.72 s
[opt-env-conf-test] ["Missing command, available commands:"]
2060.72 s
[opt-env-conf-test] : availableCommandsLines cs
2060.72 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2060.72 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2060.72 s
[opt-env-conf-test] [fore blue "available commands:"]
2060.72 s
[opt-env-conf-test] ]
2060.72 s
[opt-env-conf-test] ++ availableCommandsLines cs
2060.72 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2060.72 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."],
2060.72 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2060.72 s
[opt-env-conf-test] ]
2060.72 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2060.72 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2060.72 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2060.72 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2060.72 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2060.72 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2060.72 s
[opt-env-conf-test] ]
2060.72 s
[opt-env-conf-test]
2060.72 s
[opt-env-conf-test]
2060.72 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2060.72 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2060.72 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2060.72 s
[opt-env-conf-test] renderError ParseError {..} =
2060.72 s
[opt-env-conf-test] concat
2060.72 s
[opt-env-conf-test] [ case parseErrorMessage of
2060.72 s
[opt-env-conf-test] ParseErrorEmpty ->
2060.72 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2060.72 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2060.72 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2060.72 s
[opt-env-conf-test] ParseErrorNoReaders ->
2060.72 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2060.72 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2060.72 s
[opt-env-conf-test] ]
2060.72 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2060.72 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2060.72 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2060.73 s
[opt-env-conf-test] [ "Missing argument: "
2060.73 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2060.73 s
[opt-env-conf-test] ]
2060.73 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2060.73 s
[opt-env-conf-test] ["Failed to read argument: "]
2060.73 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.73 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.73 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2060.73 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.73 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2060.73 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.73 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2060.73 s
[opt-env-conf-test] ["Failed to read option: "]
2060.73 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.73 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.73 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2060.73 s
[opt-env-conf-test] ["Missing env var: "]
2060.73 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.73 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2060.73 s
[opt-env-conf-test] ["Failed to read env var: "]
2060.73 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.73 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.73 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
2060.73 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
2060.73 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2060.73 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2060.73 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2060.73 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2060.73 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2060.73 s
[opt-env-conf-test] ["Missing command, available commands:"]
2060.73 s
[opt-env-conf-test] : availableCommandsLines cs
2060.73 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2060.73 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2060.73 s
[opt-env-conf-test] [fore blue "available commands:"]
2060.73 s
[opt-env-conf-test] ]
2060.73 s
[opt-env-conf-test] ++ availableCommandsLines cs
2060.73 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2060.73 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."],
2060.73 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2060.73 s
[opt-env-conf-test] ]
2060.73 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2060.73 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2060.73 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2060.73 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2060.73 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2060.73 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2060.73 s
[opt-env-conf-test] ]
2060.73 s
[opt-env-conf-test]
2060.73 s
[opt-env-conf-test]
2060.73 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2060.73 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2060.73 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2060.73 s
[opt-env-conf-test] renderError ParseError {..} =
2060.73 s
[opt-env-conf-test] concat
2060.73 s
[opt-env-conf-test] [ case parseErrorMessage of
2060.73 s
[opt-env-conf-test] ParseErrorEmpty ->
2060.73 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2060.73 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2060.73 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2060.73 s
[opt-env-conf-test] ParseErrorNoReaders ->
2060.73 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2060.73 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2060.74 s
[opt-env-conf-test] ]
2060.74 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2060.74 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2060.74 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2060.74 s
[opt-env-conf-test] [ "Missing argument: "
2060.74 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2060.74 s
[opt-env-conf-test] ]
2060.74 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2060.74 s
[opt-env-conf-test] ["Failed to read argument: "]
2060.74 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.74 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.74 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2060.74 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.74 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
2060.74 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.74 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2060.74 s
[opt-env-conf-test] ["Failed to read option: "]
2060.74 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.74 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.74 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2060.74 s
[opt-env-conf-test] ["Missing env var: "]
2060.74 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.74 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2060.74 s
[opt-env-conf-test] ["Failed to read env var: "]
2060.74 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.74 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.74 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2060.74 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2060.74 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2060.74 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2060.74 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2060.74 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2060.74 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2060.74 s
[opt-env-conf-test] ["Missing command, available commands:"]
2060.74 s
[opt-env-conf-test] : availableCommandsLines cs
2060.74 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2060.74 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2060.74 s
[opt-env-conf-test] [fore blue "available commands:"]
2060.74 s
[opt-env-conf-test] ]
2060.74 s
[opt-env-conf-test] ++ availableCommandsLines cs
2060.74 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2060.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."],
2060.74 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2060.74 s
[opt-env-conf-test] ]
2060.74 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2060.74 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2060.74 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2060.74 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2060.74 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2060.74 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2060.74 s
[opt-env-conf-test] ]
2060.74 s
[opt-env-conf-test]
2060.74 s
[opt-env-conf-test]
2060.74 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2060.74 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2060.74 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2060.74 s
[opt-env-conf-test] renderError ParseError {..} =
2060.74 s
[opt-env-conf-test] concat
2060.74 s
[opt-env-conf-test] [ case parseErrorMessage of
2060.74 s
[opt-env-conf-test] ParseErrorEmpty ->
2060.74 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2060.74 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2060.74 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2060.74 s
[opt-env-conf-test] - ParseErrorNoReaders ->
2060.74 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2060.74 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
2060.74 s
[opt-env-conf-test] - ]
2060.74 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2060.74 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2060.74 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2060.74 s
[opt-env-conf-test] [ "Missing argument: "
2060.74 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2060.74 s
[opt-env-conf-test] ]
2060.74 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2060.74 s
[opt-env-conf-test] ["Failed to read argument: "]
2060.74 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.74 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.74 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2060.74 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.74 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2060.74 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.74 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2060.74 s
[opt-env-conf-test] ["Failed to read option: "]
2060.74 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.74 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.74 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2060.74 s
[opt-env-conf-test] ["Missing env var: "]
2060.74 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.74 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2060.74 s
[opt-env-conf-test] ["Failed to read env var: "]
2060.74 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.74 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.74 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2060.74 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2060.75 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2060.75 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2060.75 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2060.75 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2060.75 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2060.75 s
[opt-env-conf-test] ["Missing command, available commands:"]
2060.75 s
[opt-env-conf-test] : availableCommandsLines cs
2060.75 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2060.75 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2060.75 s
[opt-env-conf-test] [fore blue "available commands:"]
2060.75 s
[opt-env-conf-test] ]
2060.75 s
[opt-env-conf-test] ++ availableCommandsLines cs
2060.75 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2060.75 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."],
2060.75 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2060.75 s
[opt-env-conf-test] ]
2060.75 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2060.75 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2060.75 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2060.75 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2060.75 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2060.75 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2060.75 s
[opt-env-conf-test] ]
2060.75 s
[opt-env-conf-test]
2060.75 s
[opt-env-conf-test]
2060.75 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2060.75 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2060.75 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2060.75 s
[opt-env-conf-test] renderError ParseError {..} =
2060.75 s
[opt-env-conf-test] concat
2060.75 s
[opt-env-conf-test] [ case parseErrorMessage of
2060.75 s
[opt-env-conf-test] ParseErrorEmpty ->
2060.75 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2060.75 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
2060.75 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
2060.75 s
[opt-env-conf-test] ParseErrorNoReaders ->
2060.75 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2060.75 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2060.75 s
[opt-env-conf-test] ]
2060.75 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2060.75 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2060.75 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2060.75 s
[opt-env-conf-test] [ "Missing argument: "
2060.75 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2060.75 s
[opt-env-conf-test] ]
2060.75 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2060.75 s
[opt-env-conf-test] ["Failed to read argument: "]
2060.75 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.75 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.75 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2060.75 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.75 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2060.75 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2060.75 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2060.75 s
[opt-env-conf-test] ["Failed to read option: "]
2060.75 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2060.75 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.75 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2060.75 s
[opt-env-conf-test] ["Missing env var: "]
2060.75 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.75 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2060.75 s
[opt-env-conf-test] ["Failed to read env var: "]
2060.75 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2060.75 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2060.75 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2060.75 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2060.75 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2060.75 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2060.75 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2060.75 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2060.75 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2060.75 s
[opt-env-conf-test] ["Missing command, available commands:"]
2060.75 s
[opt-env-conf-test] : availableCommandsLines cs
2060.75 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2060.75 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2060.75 s
[opt-env-conf-test] [fore blue "available commands:"]
2060.75 s
[opt-env-conf-test] ]
2060.75 s
[opt-env-conf-test] ++ availableCommandsLines cs
2060.75 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2060.75 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."],
2060.75 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2060.75 s
[opt-env-conf-test] ]
2060.75 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2060.75 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2060.75 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2060.75 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2060.75 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2060.75 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2060.75 s
[opt-env-conf-test] ]
2060.75 s
[opt-env-conf-test]
2060.75 s
[opt-env-conf-test]
2060.75 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
2060.75 s
[opt-env-conf-test] @@ -60,14 +60,13 @@
2060.75 s
[opt-env-conf-test] instance Validity Arg where
2060.75 s
[opt-env-conf-test] validate arg =
2060.75 s
[opt-env-conf-test] mconcat
2060.75 s
[opt-env-conf-test] - [ genericValidate arg,
2060.75 s
[opt-env-conf-test] case arg of
2060.75 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2060.75 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2060.75 s
[opt-env-conf-test] ('-' : _) -> False
2060.75 s
[opt-env-conf-test] _ -> True
2060.75 s
[opt-env-conf-test] _ -> valid
2060.75 s
[opt-env-conf-test] ]
2060.75 s
[opt-env-conf-test]
2060.75 s
[opt-env-conf-test] instance IsString Arg where
2060.75 s
[opt-env-conf-test] fromString = parseArg
2060.75 s
[opt-env-conf-test]
2060.75 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
2060.75 s
[opt-env-conf-test] @@ -60,14 +60,7 @@
2060.75 s
[opt-env-conf-test] instance Validity Arg where
2060.75 s
[opt-env-conf-test] validate arg =
2060.76 s
[opt-env-conf-test] mconcat
2060.76 s
[opt-env-conf-test] - [ genericValidate arg,
2060.76 s
[opt-env-conf-test] - case arg of
2060.76 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2060.76 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2060.76 s
[opt-env-conf-test] - ('-' : _) -> False
2060.76 s
[opt-env-conf-test] - _ -> True
2060.76 s
[opt-env-conf-test] - _ -> valid
2060.76 s
[opt-env-conf-test] ]
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test] instance IsString Arg where
2060.76 s
[opt-env-conf-test] fromString = parseArg
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2060.76 s
[opt-env-conf-test] @@ -61,12 +61,9 @@
2060.76 s
[opt-env-conf-test] validate arg =
2060.76 s
[opt-env-conf-test] mconcat
2060.76 s
[opt-env-conf-test] [ genericValidate arg,
2060.76 s
[opt-env-conf-test] case arg of
2060.76 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2060.76 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2060.76 s
[opt-env-conf-test] - ('-' : _) -> False
2060.76 s
[opt-env-conf-test] - _ -> True
2060.76 s
[opt-env-conf-test] _ -> valid
2060.76 s
[opt-env-conf-test] ]
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test] instance IsString Arg where
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2060.76 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
2060.76 s
[opt-env-conf-test] validate arg =
2060.76 s
[opt-env-conf-test] mconcat
2060.76 s
[opt-env-conf-test] [ genericValidate arg,
2060.76 s
[opt-env-conf-test] case arg of
2060.76 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2060.76 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2060.76 s
[opt-env-conf-test] ('-' : _) -> False
2060.76 s
[opt-env-conf-test] _ -> True
2060.76 s
[opt-env-conf-test] _ -> valid
2060.76 s
[opt-env-conf-test] ]
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test] instance IsString Arg where
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:66:64-22
2060.76 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
2060.76 s
[opt-env-conf-test] [ genericValidate arg,
2060.76 s
[opt-env-conf-test] case arg of
2060.76 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2060.76 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2060.76 s
[opt-env-conf-test] - ('-' : _) -> False
2060.76 s
[opt-env-conf-test] _ -> True
2060.76 s
[opt-env-conf-test] _ -> valid
2060.76 s
[opt-env-conf-test] ]
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:66:64-22
2060.76 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
2060.76 s
[opt-env-conf-test] [ genericValidate arg,
2060.76 s
[opt-env-conf-test] case arg of
2060.76 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2060.76 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2060.76 s
[opt-env-conf-test] + ArgPlain s -> declar e "does not s t a r t w ith a d ash" $ Tr u e -> declare "does not start with a dash" $ case s of
2060.76 s
[opt-env-conf-test] ('-' : _) -> False
2060.76 s
[opt-env-conf-test] _ -> True
2060.76 s
[opt-env-conf-test] _ -> valid
2060.76 s
[opt-env-conf-test] ]
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:65:103-111
2060.76 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2060.76 s
[opt-env-conf-test] mconcat
2060.76 s
[opt-env-conf-test] [ genericValidate arg,
2060.76 s
[opt-env-conf-test] case arg of
2060.76 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= ' - '
2060.76 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ T rue
2060.76 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2060.76 s
[opt-env-conf-test] ('-' : _) -> False
2060.76 s
[opt-env-conf-test] _ -> True
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:399:18-32
2060.76 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
2060.76 s
[opt-env-conf-test] instance Validity Dashed
2060.76 s
[opt-env-conf-test]
2060.76 s
[opt-env-conf-test] instance IsString Dashed where
2060.76 s
[opt-env-conf-test] fromString s = case fromString s of
2060.77 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
2060.77 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
2060.77 s
[opt-env-conf-test] - _ -> error "Invalid dashed"
2060.77 s
[opt-env-conf-test]
2060.77 s
[opt-env-conf-test] renderDashed :: Dashed -> String
2060.77 s
[opt-env-conf-test] renderDashed = \case
2060.77 s
[opt-env-conf-test]
2060.77 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:248:77-83
2060.77 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
2060.77 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2060.77 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2060.77 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2060.77 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s Lo n g cs') : Dead : rest')
2060.77 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed F a l s e cs') : Dead : rest')
2060.77 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2060.77 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2060.77 s
[opt-env-conf-test]
2060.77 s
[opt-env-conf-test]
2060.77 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:152:36-28
2060.77 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
2060.77 s
[opt-env-conf-test] -- A single dash is always an argument
2060.77 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2060.77 s
[opt-env-conf-test] -- Bare double-dash
2060.77 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2060.77 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2060.77 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2060.77 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2060.77 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2060.77 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2060.77 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2060.77 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
2060.77 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2060.77 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2060.77 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2060.77 s
[opt-env-conf-test] -- pop the args as they come.
2060.77 s
[opt-env-conf-test] _ ->
2060.77 s
[opt-env-conf-test] let go = \case
2060.77 s
[opt-env-conf-test] [] -> Nothing
2060.77 s
[opt-env-conf-test] (Dead : rest) -> go rest
2060.77 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2060.77 s
[opt-env-conf-test] in case go afters of
2060.77 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2060.77 s
[opt-env-conf-test] Just (firstLive, rest) ->
2060.77 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2060.77 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2060.77 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2060.77 s
[opt-env-conf-test] -- arguments.
2060.77 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2060.77 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2060.77 s
[opt-env-conf-test] )
2060.77 s
[opt-env-conf-test] ]
2060.77 s
[opt-env-conf-test] ArgDashed {} ->
2060.77 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2060.77 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2060.77 s
[opt-env-conf-test]
2060.77 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:169:23-28
2060.77 s
[opt-env-conf-test] @@ -166,17 +166,16 @@
2060.77 s
[opt-env-conf-test] [] -> Nothing
2060.77 s
[opt-env-conf-test] (Dead : rest) -> go rest
2060.77 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2060.78 s
[opt-env-conf-test] in case go afters of
2060.78 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
2060.78 s
[opt-env-conf-test] Just (firstLive, rest) ->
2060.78 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2060.78 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2060.78 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2060.78 s
[opt-env-conf-test] -- arguments.
2060.78 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2060.78 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2060.78 s
[opt-env-conf-test] )
2060.78 s
[opt-env-conf-test] ]
2060.78 s
[opt-env-conf-test] ArgDashed {} ->
2060.78 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2060.78 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2060.78 s
[opt-env-conf-test]
2060.78 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Args.hs:150:32-40
2060.78 s
[opt-env-conf-test] @@ -147,7 +147,7 @@
2060.78 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2060.78 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2060.78 s
[opt-env-conf-test] -- A single dash is always an argument
2060.78 s
[opt-env-conf-test] - ArgBareDash -> [( J u s t "- " , consumed)]
2060.78 s
[opt-env-conf-test] + ArgBareDash -> [( No t h i ng , consumed)]
2060.78 s
[opt-env-conf-test] -- Bare double-dash
2060.78 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2060.78 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2060.78 s
[opt-env-conf-test]
2060.78 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:339:40-46
2060.78 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2060.78 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2060.78 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2060.78 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
2060.78 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s Lo n g cs') : rest'
2060.78 s
[opt-env-conf-test] + in Just $ Live (ArgDashed F a l s e cs') : rest'
2060.78 s
[opt-env-conf-test] _ -> do
2060.78 s
[opt-env-conf-test] os <- go rest
2060.78 s
[opt-env-conf-test] pure $ Live o : os
2060.78 s
[opt-env-conf-test]
2060.78 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:365:34-43
2060.78 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.78 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
2060.78 s
[opt-env-conf-test] go (c :| rest) =
2060.78 s
[opt-env-conf-test] if c `elem` cs
2060.78 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n ul l r e s t )) <$> NE.nonEmpty rest
2060.78 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, F a l s e )) <$> NE.nonEmpty rest
2060.78 s
[opt-env-conf-test] else do
2060.78 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
2060.78 s
[opt-env-conf-test] new <- go rest'
2060.78 s
[opt-env-conf-test]
2060.78 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Check.hs:44:7-71
2060.78 s
[opt-env-conf-test] @@ -41,7 +41,6 @@
2060.78 s
[opt-env-conf-test] exitSuccess
2060.78 s
[opt-env-conf-test] CheckSucceeded _ -> do
2060.78 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2060.78 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Settings parsed successfully."]
2060.78 s
[opt-env-conf-test] exitSuccess
2060.78 s
[opt-env-conf-test]
2060.78 s
[opt-env-conf-test] renderMissingCapabilities :: NonEmpty MissingCapability -> [Chunk]
2060.78 s
[opt-env-conf-test]
2060.78 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Check.hs:80:42-56
2060.78 s
[opt-env-conf-test] @@ -77,7 +77,7 @@
2060.78 s
[opt-env-conf-test] Maybe JSON.Object ->
2060.78 s
[opt-env-conf-test] IO (CheckResult a)
2060.78 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
2060.78 s
[opt-env-conf-test] - errOrSets <- runParserOn capabilities ( J us t debu g Mo d e ) p args envVars mConfig
2060.78 s
[opt-env-conf-test] + errOrSets <- runParserOn capabilities ( N o t h in g ) p args envVars mConfig
2060.78 s
[opt-env-conf-test] pure $ case errOrSets of
2060.78 s
[opt-env-conf-test] Right a -> CheckSucceeded a
2060.78 s
[opt-env-conf-test] Left errs ->
2060.78 s
[opt-env-conf-test]
2060.78 s
[opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:117:31-43
2060.78 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2060.78 s
[opt-env-conf-test] Just (Rel rf) -> do
2060.78 s
[opt-env-conf-test] let dir = parent rf
2060.78 s
[opt-env-conf-test] let ad = baseDir </> dir
2060.78 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2060.78 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
2060.78 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2060.78 s
[opt-env-conf-test] pure
2060.78 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2060.78 s
[opt-env-conf-test]
2060.78 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
2060.78 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2060.78 s
[opt-env-conf-test] Just (Rel rf) -> do
2060.78 s
[opt-env-conf-test] let dir = parent rf
2060.78 s
[opt-env-conf-test] let ad = baseDir </> dir
2060.78 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
2060.78 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
2060.79 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2060.79 s
[opt-env-conf-test] pure
2060.79 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
2060.79 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2060.79 s
[opt-env-conf-test] Just (Rel rf) -> do
2060.79 s
[opt-env-conf-test] let dir = parent rf
2060.79 s
[opt-env-conf-test] let ad = baseDir </> dir
2060.79 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
2060.79 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
2060.79 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2060.79 s
[opt-env-conf-test] pure
2060.79 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
2060.79 s
[opt-env-conf-test] @@ -168,24 +168,19 @@
2060.79 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2060.79 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2060.79 s
[opt-env-conf-test] Nothing -> pure []
2060.79 s
[opt-env-conf-test] - Just (Abs af) -> do
2060.79 s
[opt-env-conf-test] - let dir = parent af
2060.79 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
2060.79 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving dir
2060.79 s
[opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2060.79 s
[opt-env-conf-test] Just (Rel rf) ->
2060.79 s
[opt-env-conf-test] if fp == "."
2060.79 s
[opt-env-conf-test] then do
2060.79 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2060.79 s
[opt-env-conf-test] pure (map fromRelDir ds)
2060.79 s
[opt-env-conf-test] else do
2060.79 s
[opt-env-conf-test] let dir = parent rf
2060.79 s
[opt-env-conf-test] let ad = baseDir </> dir
2060.79 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2060.79 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2060.79 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test] pure $
2060.79 s
[opt-env-conf-test] concat
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:186:35-47
2060.79 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2060.79 s
[opt-env-conf-test] else do
2060.79 s
[opt-env-conf-test] let dir = parent rf
2060.79 s
[opt-env-conf-test] let ad = baseDir </> dir
2060.79 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2060.79 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
2060.79 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2060.79 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
2060.79 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2060.79 s
[opt-env-conf-test] else do
2060.79 s
[opt-env-conf-test] let dir = parent rf
2060.79 s
[opt-env-conf-test] let ad = baseDir </> dir
2060.79 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
2060.79 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
2060.79 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2060.79 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
2060.79 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2060.79 s
[opt-env-conf-test] else do
2060.79 s
[opt-env-conf-test] let dir = parent rf
2060.79 s
[opt-env-conf-test] let ad = baseDir </> dir
2060.79 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
2060.79 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
2060.79 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2060.79 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:179:12-21
2060.79 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
2060.79 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
2060.79 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2060.79 s
[opt-env-conf-test] Just (Rel rf) ->
2060.79 s
[opt-env-conf-test] - i f f p = = " . "
2060.79 s
[opt-env-conf-test] + i f Fals e
2060.79 s
[opt-env-conf-test] then do
2060.79 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2060.79 s
[opt-env-conf-test] pure (map fromRelDir ds)
2060.79 s
[opt-env-conf-test]
2060.79 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
2060.79 s
[opt-env-conf-test] @@ -154,19 +154,16 @@
2060.79 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
2060.79 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
2060.79 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2060.79 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
2060.79 s
[opt-env-conf-test] Nothing -> case fp of
2060.79 s
[opt-env-conf-test] [] -> do
2060.79 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2060.79 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
2060.79 s
[opt-env-conf-test] _ -> pure []
2060.79 s
[opt-env-conf-test] - Just (Abs ad) -> do
2060.80 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
2060.80 s
[opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
2060.80 s
[opt-env-conf-test] Just (Rel rd) -> do
2060.80 s
[opt-env-conf-test] let ad = baseDir </> rd
2060.80 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2060.80 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2060.80 s
[opt-env-conf-test] Nothing -> pure []
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
2060.80 s
[opt-env-conf-test] @@ -155,11 +155,10 @@
2060.80 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
2060.80 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2060.80 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
2060.80 s
[opt-env-conf-test] Nothing -> case fp of
2060.80 s
[opt-env-conf-test] [] -> do
2060.80 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2060.80 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
2060.80 s
[opt-env-conf-test] - _ -> pure []
2060.80 s
[opt-env-conf-test] Just (Abs ad) -> do
2060.80 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2060.80 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
2060.80 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
2060.80 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
2060.80 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
2060.80 s
[opt-env-conf-test] [] -> []
2060.80 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
2060.80 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
2060.80 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
2060.80 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
2060.80 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
2060.80 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
2060.80 s
[opt-env-conf-test] - [] -> []
2060.80 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
2060.80 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
2060.80 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:87:27-50
2060.80 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
2060.80 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
2060.80 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
2060.80 s
[opt-env-conf-test] - [] -> []
2060.80 s
[opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
2060.80 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
2060.80 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
2060.80 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
2060.80 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
2060.80 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
2060.80 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
2060.80 s
[opt-env-conf-test] (Nothing, _) -> o2
2060.80 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
2060.80 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2060.80 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2060.80 s
[opt-env-conf-test]
2060.80 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
2060.80 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
2060.81 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
2060.81 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
2060.81 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
2060.81 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
2060.81 s
[opt-env-conf-test] - (Nothing, _) -> o2
2060.81 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
2060.81 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
2060.81 s
[opt-env-conf-test]
2060.81 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2060.81 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2060.81 s
[opt-env-conf-test]
2060.81 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
2060.81 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
2060.81 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
2060.81 s
[opt-env-conf-test]
2060.81 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2060.81 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2060.81 s
[opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
2060.81 s
[opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
2060.81 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
2060.81 s
[opt-env-conf-test] goCommand = go . commandParser
2060.81 s
[opt-env-conf-test]
2060.81 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Nix.hs:96:28-38
2060.81 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
2060.81 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2060.81 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2060.81 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
2060.81 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
2060.81 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
2060.81 s
[opt-env-conf-test] goCommand = go . commandParser
2060.81 s
[opt-env-conf-test]
2060.81 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
2060.81 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
2060.81 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2060.81 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2060.81 s
[opt-env-conf-test] and
2060.81 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2060.81 s
[opt-env-conf-test] null settingEnvVars,
2060.81 s
[opt-env-conf-test] - null settingConfigVals
2060.81 s
[opt-env-conf-test] ]
2060.81 s
[opt-env-conf-test]
2060.81 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
2060.81 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
2060.81 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2060.81 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2060.81 s
[opt-env-conf-test] and
2060.81 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2060.81 s
[opt-env-conf-test] null settingEnvVars,
2060.81 s
[opt-env-conf-test] null settingConfigVals
2060.81 s
[opt-env-conf-test] ]
2060.81 s
[opt-env-conf-test]
2060.81 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:342:15-37
2060.81 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
2060.81 s
[opt-env-conf-test] and
2060.81 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2060.81 s
[opt-env-conf-test] null settingEnvVars,
2060.81 s
[opt-env-conf-test] - n u ll s e t t in gConfigVals
2060.81 s
[opt-env-conf-test] + T r u e
2060.81 s
[opt-env-conf-test] ]
2060.81 s
[opt-env-conf-test]
2060.81 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:341:15-34
2060.82 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
2060.82 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2060.82 s
[opt-env-conf-test] and
2060.82 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2060.82 s
[opt-env-conf-test] - n u ll s e t ti ngEnv Va r s ,
2060.82 s
[opt-env-conf-test] + T r u e ,
2060.82 s
[opt-env-conf-test] null settingConfigVals
2060.82 s
[opt-env-conf-test] ]
2060.82 s
[opt-env-conf-test]
2060.82 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-82
2060.82 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2060.82 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2060.82 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2060.82 s
[opt-env-conf-test] and
2060.82 s
[opt-env-conf-test] - [ s e tt in g T r yA r g u m ent || s e ttin gTryOpti on || isJust set tingSwit chVa lu e ,
2060.82 s
[opt-env-conf-test] + [ T r u e ,
2060.82 s
[opt-env-conf-test] null settingEnvVars,
2060.82 s
[opt-env-conf-test] null settingConfigVals
2060.82 s
[opt-env-conf-test] ]
2060.82 s
[opt-env-conf-test]
2060.82 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-82
2060.82 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2060.82 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2060.82 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2060.82 s
[opt-env-conf-test] and
2060.82 s
[opt-env-conf-test] - [ settingTryArgument || s e t tin g Tr y O pt ion || isJ u st setting Switc hVa l u e,
2060.82 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e,
2060.82 s
[opt-env-conf-test] null settingEnvVars,
2060.82 s
[opt-env-conf-test] null settingConfigVals
2060.82 s
[opt-env-conf-test] ]
2060.82 s
[opt-env-conf-test]
2060.82 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:57-82
2060.82 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2060.82 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2060.82 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2060.82 s
[opt-env-conf-test] and
2060.82 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s J u s t s e t tin gSwitc hVa lu e ,
2060.82 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || Tr u e ,
2060.82 s
[opt-env-conf-test] null settingEnvVars,
2060.82 s
[opt-env-conf-test] null settingConfigVals
2060.82 s
[opt-env-conf-test] ]
2060.82 s
[opt-env-conf-test]
2060.82 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:340:37-53
2060.82 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2060.82 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2060.82 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2060.82 s
[opt-env-conf-test] and
2060.82 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2060.82 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption ) || isJust settingSwitchValue,
2060.82 s
[opt-env-conf-test] null settingEnvVars,
2060.82 s
[opt-env-conf-test] null settingConfigVals
2060.82 s
[opt-env-conf-test] ]
2060.82 s
[opt-env-conf-test]
2060.82 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
2060.82 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2060.82 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2060.82 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2060.82 s
[opt-env-conf-test] and
2060.82 s
[opt-env-conf-test] - [ settingTryArgument || se tt ingT ryOp ti o n || isJust settingSwitchValue,
2060.82 s
[opt-env-conf-test] + [ settingTryArgument || F a l se || isJust settingSwitchValue,
2060.82 s
[opt-env-conf-test] null settingEnvVars,
2060.82 s
[opt-env-conf-test] null settingConfigVals
2060.82 s
[opt-env-conf-test] ]
2060.82 s
[opt-env-conf-test]
2060.82 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
2060.82 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2060.82 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2060.82 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2060.82 s
[opt-env-conf-test] and
2060.82 s
[opt-env-conf-test] - [ settingTryArgument || s e tt in g Tr y Opti on || isJust settingSwitchValue,
2060.82 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e || isJust settingSwitchValue,
2060.82 s
[opt-env-conf-test] null settingEnvVars,
2060.82 s
[opt-env-conf-test] null settingConfigVals
2060.82 s
[opt-env-conf-test] ]
2060.82 s
[opt-env-conf-test]
2060.83 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-33
2060.83 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2060.83 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2060.83 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2060.83 s
[opt-env-conf-test] and
2060.83 s
[opt-env-conf-test] - [ s e tt ing T ry A r g u m e n t || settingTryOption || isJust settingSwitchValue,
2060.83 s
[opt-env-conf-test] + [ T r u e || settingTryOption || isJust settingSwitchValue,
2060.83 s
[opt-env-conf-test] null settingEnvVars,
2060.83 s
[opt-env-conf-test] null settingConfigVals
2060.83 s
[opt-env-conf-test] ]
2060.83 s
[opt-env-conf-test]
2060.83 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-24
2060.83 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2060.83 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2060.83 s
[opt-env-conf-test] c1 <- go p1
2060.83 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2060.83 s
[opt-env-conf-test] - pure $ c1 || c2
2060.83 s
[opt-env-conf-test] + pure $ n o t ( c1 || c2 )
2060.83 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2060.83 s
[opt-env-conf-test] case settingHelp of
2060.83 s
[opt-env-conf-test] Nothing ->
2060.83 s
[opt-env-conf-test]
2060.83 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:288:16-24
2060.83 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2060.83 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2060.83 s
[opt-env-conf-test] c1 <- go p1
2060.83 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2060.83 s
[opt-env-conf-test] - pure $ c1 | | c2
2060.83 s
[opt-env-conf-test] + pure $ c1 & & c2
2060.83 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2060.83 s
[opt-env-conf-test] case settingHelp of
2060.83 s
[opt-env-conf-test] Nothing ->
2060.83 s
[opt-env-conf-test]
2060.83 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
2060.83 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2060.83 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2060.83 s
[opt-env-conf-test] c1 <- go p1
2060.83 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2060.83 s
[opt-env-conf-test] - pure $ c 1 || c2
2060.83 s
[opt-env-conf-test] + pure $ F a ls e
2060.83 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2060.83 s
[opt-env-conf-test] case settingHelp of
2060.83 s
[opt-env-conf-test] Nothing ->
2060.83 s
[opt-env-conf-test]
2060.83 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
2060.83 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2060.83 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2060.83 s
[opt-env-conf-test] c1 <- go p1
2060.83 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2060.83 s
[opt-env-conf-test] - pure $ c 1 || c 2
2060.83 s
[opt-env-conf-test] + pure $ T rue
2060.83 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2060.83 s
[opt-env-conf-test] case settingHelp of
2060.83 s
[opt-env-conf-test] Nothing ->
2060.83 s
[opt-env-conf-test]
2060.83 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:22-24
2060.83 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2060.83 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2060.83 s
[opt-env-conf-test] c1 <- go p1
2060.83 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2060.83 s
[opt-env-conf-test] - pure $ c1 || c2
2060.83 s
[opt-env-conf-test] + pure $ c1 || n o t ( c2 )
2060.83 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2060.83 s
[opt-env-conf-test] case settingHelp of
2060.83 s
[opt-env-conf-test] Nothing ->
2060.83 s
[opt-env-conf-test]
2060.83 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
2060.83 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2060.83 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2060.83 s
[opt-env-conf-test] c1 <- go p1
2060.83 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2060.83 s
[opt-env-conf-test] - pure $ c1 || c 2
2060.83 s
[opt-env-conf-test] + pure $ c1 || F a ls e
2060.83 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2060.83 s
[opt-env-conf-test] case settingHelp of
2060.83 s
[opt-env-conf-test] Nothing ->
2060.83 s
[opt-env-conf-test]
2060.83 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
2060.83 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2060.83 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2060.83 s
[opt-env-conf-test] c1 <- go p1
2060.83 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2060.83 s
[opt-env-conf-test] - pure $ c1 || c 2
2060.83 s
[opt-env-conf-test] + pure $ c1 || T rue
2060.83 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2060.83 s
[opt-env-conf-test] case settingHelp of
2060.83 s
[opt-env-conf-test] Nothing ->
2060.83 s
[opt-env-conf-test]
2060.83 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-18
2060.83 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2060.83 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2060.83 s
[opt-env-conf-test] c1 <- go p1
2060.83 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2060.83 s
[opt-env-conf-test] - pure $ c1 || c2
2060.83 s
[opt-env-conf-test] + pure $ n o t ( c1 ) || c2
2060.83 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2060.83 s
[opt-env-conf-test] case settingHelp of
2060.83 s
[opt-env-conf-test] Nothing ->
2060.83 s
[opt-env-conf-test]
2060.83 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
2060.83 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2060.83 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2060.83 s
[opt-env-conf-test] c1 <- go p1
2060.83 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2060.83 s
[opt-env-conf-test] - pure $ c 1 || c2
2060.83 s
[opt-env-conf-test] + pure $ F a ls e || c2
2060.83 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2060.83 s
[opt-env-conf-test] case settingHelp of
2060.83 s
[opt-env-conf-test] Nothing ->
2060.83 s
[opt-env-conf-test]
2060.83 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
2060.83 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2060.83 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2060.84 s
[opt-env-conf-test] c1 <- go p1
2060.84 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2060.84 s
[opt-env-conf-test] - pure $ c 1 || c2
2060.84 s
[opt-env-conf-test] + pure $ T ru e || c2
2060.84 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2060.84 s
[opt-env-conf-test] case settingHelp of
2060.84 s
[opt-env-conf-test] Nothing ->
2060.84 s
[opt-env-conf-test]
2060.84 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:14-24
2060.84 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.84 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.84 s
[opt-env-conf-test] c1 <- go p1
2060.84 s
[opt-env-conf-test] c2 <- go p2
2060.84 s
[opt-env-conf-test] - pure ( c1 && c2) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] + pure n o t ( ( c1 && c2) ) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.84 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.84 s
[opt-env-conf-test] c <- go p
2060.84 s
[opt-env-conf-test]
2060.84 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
2060.84 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.84 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.84 s
[opt-env-conf-test] c1 <- go p1
2060.84 s
[opt-env-conf-test] c2 <- go p2
2060.84 s
[opt-env-conf-test] - pure ( c 1 && c 2) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] + pure F alse -- TODO: is this right?
2060.84 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.84 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.84 s
[opt-env-conf-test] c <- go p
2060.84 s
[opt-env-conf-test]
2060.84 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
2060.84 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.84 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.84 s
[opt-env-conf-test] c1 <- go p1
2060.84 s
[opt-env-conf-test] c2 <- go p2
2060.84 s
[opt-env-conf-test] - pure ( c1 && c2 ) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] + pure True -- TODO: is this right?
2060.84 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.84 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.84 s
[opt-env-conf-test] c <- go p
2060.84 s
[opt-env-conf-test]
2060.84 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-23
2060.84 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.84 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.84 s
[opt-env-conf-test] c1 <- go p1
2060.84 s
[opt-env-conf-test] c2 <- go p2
2060.84 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] + pure ( n ot (c1 && c2) ) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.84 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.84 s
[opt-env-conf-test] c <- go p
2060.84 s
[opt-env-conf-test]
2060.84 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:259:15-23
2060.84 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.84 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.84 s
[opt-env-conf-test] c1 <- go p1
2060.84 s
[opt-env-conf-test] c2 <- go p2
2060.84 s
[opt-env-conf-test] - pure (c1 & & c2) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] + pure (c1 | | c2) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.84 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.84 s
[opt-env-conf-test] c <- go p
2060.84 s
[opt-env-conf-test]
2060.84 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
2060.84 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.84 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.84 s
[opt-env-conf-test] c1 <- go p1
2060.84 s
[opt-env-conf-test] c2 <- go p2
2060.84 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] + pure ( F a ls e ) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.84 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.84 s
[opt-env-conf-test] c <- go p
2060.84 s
[opt-env-conf-test]
2060.84 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
2060.84 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.84 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.84 s
[opt-env-conf-test] c1 <- go p1
2060.84 s
[opt-env-conf-test] c2 <- go p2
2060.84 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] + pure ( T ru e ) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.84 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.84 s
[opt-env-conf-test] c <- go p
2060.84 s
[opt-env-conf-test]
2060.84 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:21-23
2060.84 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.84 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.84 s
[opt-env-conf-test] c1 <- go p1
2060.84 s
[opt-env-conf-test] c2 <- go p2
2060.84 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] + pure (c1 && n o t ( c2) ) -- TODO: is this right?
2060.84 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.84 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.84 s
[opt-env-conf-test] c <- go p
2060.84 s
[opt-env-conf-test]
2060.84 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
2060.84 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.84 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.84 s
[opt-env-conf-test] c1 <- go p1
2060.84 s
[opt-env-conf-test] c2 <- go p2
2060.84 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
2060.85 s
[opt-env-conf-test] + pure (c1 && F a ls e ) -- TODO: is this right?
2060.85 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.85 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.85 s
[opt-env-conf-test] c <- go p
2060.85 s
[opt-env-conf-test]
2060.85 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
2060.85 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.85 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
2060.85 s
[opt-env-conf-test] + pure (c1 && T ru e ) -- TODO: is this right?
2060.85 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.85 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.85 s
[opt-env-conf-test] c <- go p
2060.85 s
[opt-env-conf-test]
2060.85 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-17
2060.85 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.85 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
2060.85 s
[opt-env-conf-test] + pure ( n ot (c1 ) && c2) -- TODO: is this right?
2060.85 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.85 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.85 s
[opt-env-conf-test] c <- go p
2060.85 s
[opt-env-conf-test]
2060.85 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
2060.85 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.85 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
2060.85 s
[opt-env-conf-test] + pure ( F a ls e && c2) -- TODO: is this right?
2060.85 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.85 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.85 s
[opt-env-conf-test] c <- go p
2060.85 s
[opt-env-conf-test]
2060.85 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
2060.85 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2060.85 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
2060.85 s
[opt-env-conf-test] + pure ( T ru e && c2) -- TODO: is this right?
2060.85 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2060.85 s
[opt-env-conf-test] ParserMany mLoc p -> do
2060.85 s
[opt-env-conf-test] c <- go p
2060.85 s
[opt-env-conf-test]
2060.85 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:14-24
2060.85 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.85 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test] - pure ( c1 || c2)
2060.85 s
[opt-env-conf-test] + pure n o t ( ( c1 || c2) )
2060.85 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test]
2060.85 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
2060.85 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.85 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test] - pure ( c 1 || c2)
2060.85 s
[opt-env-conf-test] + pure F alse
2060.85 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test]
2060.85 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
2060.85 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.85 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test] - pure ( c1 || c2)
2060.85 s
[opt-env-conf-test] + pure True
2060.85 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test]
2060.85 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-23
2060.85 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.85 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test] - pure (c1 || c2)
2060.85 s
[opt-env-conf-test] + pure ( n ot (c1 || c2) )
2060.85 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.85 s
[opt-env-conf-test] c1 <- go p1
2060.85 s
[opt-env-conf-test] c2 <- go p2
2060.85 s
[opt-env-conf-test]
2060.85 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:250:15-23
2060.85 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.85 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test] - pure (c1 | | c2)
2060.86 s
[opt-env-conf-test] + pure (c1 & & c2)
2060.86 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
2060.86 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.86 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
2060.86 s
[opt-env-conf-test] + pure ( F a ls e )
2060.86 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
2060.86 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.86 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
2060.86 s
[opt-env-conf-test] + pure ( T ru e )
2060.86 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:21-23
2060.86 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.86 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test] - pure (c1 || c2)
2060.86 s
[opt-env-conf-test] + pure (c1 || n o t ( c2) )
2060.86 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
2060.86 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.86 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test] - pure (c1 || c 2 )
2060.86 s
[opt-env-conf-test] + pure (c1 || F a ls e )
2060.86 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
2060.86 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.86 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test] - pure (c1 || c 2 )
2060.86 s
[opt-env-conf-test] + pure (c1 || T ru e )
2060.86 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-17
2060.86 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.86 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test] - pure (c1 || c2)
2060.86 s
[opt-env-conf-test] + pure ( n ot (c1 ) || c2)
2060.86 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
2060.86 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.86 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test] - pure ( c 1 || c2)
2060.86 s
[opt-env-conf-test] + pure ( F a ls e || c2)
2060.86 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
2060.86 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2060.86 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test] - pure ( c 1 || c2)
2060.86 s
[opt-env-conf-test] + pure ( T ru e || c2)
2060.86 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2060.86 s
[opt-env-conf-test] c1 <- go p1
2060.86 s
[opt-env-conf-test] c2 <- go p2
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
2060.86 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] instance Applicative Parser where
2060.86 s
[opt-env-conf-test] pure = ParserPure
2060.86 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
2060.86 s
[opt-env-conf-test] -- Homomorphism law for applicative
2060.86 s
[opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
2060.86 s
[opt-env-conf-test] _ -> ParserAp p1 p2
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] instance Selective Parser where
2060.86 s
[opt-env-conf-test] select = ParserSelect
2060.86 s
[opt-env-conf-test]
2060.86 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2060.86 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2060.86 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2060.86 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2060.86 s
[opt-env-conf-test] ParserSetting _ _ -> False
2060.86 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2060.86 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2060.86 s
[opt-env-conf-test] (True, False) -> p2
2060.86 s
[opt-env-conf-test] - (False, True) -> p1
2060.86 s
[opt-env-conf-test] (False, False) ->
2060.86 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2060.86 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2060.87 s
[opt-env-conf-test] -- alts to always be right-leaning
2060.87 s
[opt-env-conf-test] --
2060.87 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2060.87 s
[opt-env-conf-test] -- p
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p1 p2
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p3 p4
2060.87 s
[opt-env-conf-test] --
2060.87 s
[opt-env-conf-test] -- We need to rearrange it to
2060.87 s
[opt-env-conf-test] -- p
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p1 ++ p3 p4
2060.87 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2060.87 s
[opt-env-conf-test] go (go p1' p3') p4'
2060.87 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2060.87 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2060.87 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2060.87 s
[opt-env-conf-test] in go p1 p2
2060.87 s
[opt-env-conf-test] many = ParserMany Nothing
2060.87 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2060.87 s
[opt-env-conf-test]
2060.87 s
[opt-env-conf-test]
2060.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2060.87 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2060.87 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2060.87 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2060.87 s
[opt-env-conf-test] ParserSetting _ _ -> False
2060.87 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2060.87 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2060.87 s
[opt-env-conf-test] - (True, False) -> p2
2060.87 s
[opt-env-conf-test] (False, True) -> p1
2060.87 s
[opt-env-conf-test] (False, False) ->
2060.87 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2060.87 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2060.87 s
[opt-env-conf-test] -- alts to always be right-leaning
2060.87 s
[opt-env-conf-test] --
2060.87 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2060.87 s
[opt-env-conf-test] -- p
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p1 p2
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p3 p4
2060.87 s
[opt-env-conf-test] --
2060.87 s
[opt-env-conf-test] -- We need to rearrange it to
2060.87 s
[opt-env-conf-test] -- p
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p1 ++ p3 p4
2060.87 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2060.87 s
[opt-env-conf-test] go (go p1' p3') p4'
2060.87 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2060.87 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2060.87 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2060.87 s
[opt-env-conf-test] in go p1 p2
2060.87 s
[opt-env-conf-test] many = ParserMany Nothing
2060.87 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2060.87 s
[opt-env-conf-test]
2060.87 s
[opt-env-conf-test]
2060.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2060.87 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2060.87 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2060.87 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2060.87 s
[opt-env-conf-test] ParserSetting _ _ -> False
2060.87 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2060.87 s
[opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
2060.87 s
[opt-env-conf-test] (True, False) -> p2
2060.87 s
[opt-env-conf-test] (False, True) -> p1
2060.87 s
[opt-env-conf-test] (False, False) ->
2060.87 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2060.87 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2060.87 s
[opt-env-conf-test] -- alts to always be right-leaning
2060.87 s
[opt-env-conf-test] --
2060.87 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2060.87 s
[opt-env-conf-test] -- p
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p1 p2
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p3 p4
2060.87 s
[opt-env-conf-test] --
2060.87 s
[opt-env-conf-test] -- We need to rearrange it to
2060.87 s
[opt-env-conf-test] -- p
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p1 ++ p3 p4
2060.87 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2060.87 s
[opt-env-conf-test] go (go p1' p3') p4'
2060.87 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2060.87 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2060.87 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2060.87 s
[opt-env-conf-test] in go p1 p2
2060.87 s
[opt-env-conf-test] many = ParserMany Nothing
2060.87 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2060.87 s
[opt-env-conf-test]
2060.87 s
[opt-env-conf-test]
2060.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
2060.87 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
2060.87 s
[opt-env-conf-test] (True, False) -> p2
2060.87 s
[opt-env-conf-test] (False, True) -> p1
2060.87 s
[opt-env-conf-test] (False, False) ->
2060.87 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2060.87 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2060.87 s
[opt-env-conf-test] -- alts to always be right-leaning
2060.87 s
[opt-env-conf-test] --
2060.87 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2060.87 s
[opt-env-conf-test] -- p
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p1 p2
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p3 p4
2060.87 s
[opt-env-conf-test] --
2060.87 s
[opt-env-conf-test] -- We need to rearrange it to
2060.87 s
[opt-env-conf-test] -- p
2060.87 s
[opt-env-conf-test] -- / \
2060.87 s
[opt-env-conf-test] -- p1 ++ p3 p4
2060.87 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2060.87 s
[opt-env-conf-test] go (go p1' p3') p4'
2060.87 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2060.87 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2060.87 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2060.87 s
[opt-env-conf-test] in go p1 p2
2060.87 s
[opt-env-conf-test] many = ParserMany Nothing
2060.87 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2060.87 s
[opt-env-conf-test]
2060.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
2060.87 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
2060.87 s
[opt-env-conf-test] (True, False) -> p2
2060.87 s
[opt-env-conf-test] (False, True) -> p1
2060.87 s
[opt-env-conf-test] (False, False) ->
2060.87 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2060.87 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2060.87 s
[opt-env-conf-test] -- alts to always be right-leaning
2060.87 s
[opt-env-conf-test] --
2060.87 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2060.88 s
[opt-env-conf-test] -- p
2060.88 s
[opt-env-conf-test] -- / \
2060.88 s
[opt-env-conf-test] -- p1 p2
2060.88 s
[opt-env-conf-test] -- / \
2060.88 s
[opt-env-conf-test] -- p3 p4
2060.88 s
[opt-env-conf-test] --
2060.88 s
[opt-env-conf-test] -- We need to rearrange it to
2060.88 s
[opt-env-conf-test] -- p
2060.88 s
[opt-env-conf-test] -- / \
2060.88 s
[opt-env-conf-test] -- p1 ++ p3 p4
2060.88 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
2060.88 s
[opt-env-conf-test] - go (go p1' p3') p4'
2060.88 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2060.88 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2060.88 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2060.88 s
[opt-env-conf-test] in go p1 p2
2060.88 s
[opt-env-conf-test] many = ParserMany Nothing
2060.88 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2060.88 s
[opt-env-conf-test]
2060.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:27-37
2060.88 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2060.88 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2060.88 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2060.88 s
[opt-env-conf-test] ParserSetting _ _ -> False
2060.88 s
[opt-env-conf-test] - in case (isEmpty p1, i s E m pty p 2 ) of
2060.88 s
[opt-env-conf-test] + in case (isEmpty p1, F al s e ) of
2060.88 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2060.88 s
[opt-env-conf-test] (True, False) -> p2
2060.88 s
[opt-env-conf-test] (False, True) -> p1
2060.88 s
[opt-env-conf-test]
2060.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:15-25
2060.88 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2060.88 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2060.88 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2060.88 s
[opt-env-conf-test] ParserSetting _ _ -> False
2060.88 s
[opt-env-conf-test] - in case ( i s E m pty p 1 , isEmpty p2) of
2060.88 s
[opt-env-conf-test] + in case ( F al s e , isEmpty p2) of
2060.88 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2060.88 s
[opt-env-conf-test] (True, False) -> p2
2060.88 s
[opt-env-conf-test] (False, True) -> p1
2060.88 s
[opt-env-conf-test]
2060.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:264:36-43
2060.88 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
2060.88 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l c s
2060.88 s
[opt-env-conf-test] + ParserCommands _ _ cs -> F a l s e
2060.88 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2060.88 s
[opt-env-conf-test] ParserSetting _ _ -> False
2060.88 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2060.88 s
[opt-env-conf-test]
2060.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:263:36-45
2060.88 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
2060.88 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> i s E m pty p
2060.88 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> F a l s e
2060.88 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2060.88 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2060.88 s
[opt-env-conf-test] ParserSetting _ _ -> False
2060.88 s
[opt-env-conf-test]
2060.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:262:37-46
2060.88 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
2060.88 s
[opt-env-conf-test] ParserAlt _ _ -> False
2060.88 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> i s E m pty p
2060.88 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> F a l s e
2060.88 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2060.88 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2060.88 s
[opt-env-conf-test]
2060.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:260:29-38
2060.88 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
2060.88 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2060.88 s
[opt-env-conf-test] ParserEmpty _ -> True
2060.88 s
[opt-env-conf-test] ParserAlt _ _ -> False
2060.88 s
[opt-env-conf-test] - ParserMany _ p -> i s E m pty p
2060.88 s
[opt-env-conf-test] + ParserMany _ p -> F a l s e
2060.88 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2060.88 s
[opt-env-conf-test]
2060.88 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Parser.hs:258:28-32
2060.88 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
2060.88 s
[opt-env-conf-test] ParserPure _ -> False
2060.88 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2060.88 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2060.88 s
[opt-env-conf-test] - ParserEmpty _ -> Tr u e
2060.88 s
[opt-env-conf-test] + ParserEmpty _ -> F a ls e
2060.88 s
[opt-env-conf-test] ParserAlt _ _ -> False
2060.88 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2060.88 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2060.88 s
[opt-env-conf-test]
2060.88 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Parser.hs:256:29-53
2060.88 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2060.88 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2060.88 s
[opt-env-conf-test] isEmpty = \case
2060.88 s
[opt-env-conf-test] ParserPure _ -> False
2060.88 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf & & isEmpty pa
2060.88 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf | | isEmpty pa
2060.88 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2060.88 s
[opt-env-conf-test] ParserEmpty _ -> True
2060.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
2060.89 s
[opt-env-conf-test]
2060.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-53
2060.89 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2060.89 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2060.89 s
[opt-env-conf-test] isEmpty = \case
2060.89 s
[opt-env-conf-test] ParserPure _ -> False
2060.89 s
[opt-env-conf-test] - ParserAp pf pa -> i s Emp ty pf && isEmpty pa
2060.89 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e
2060.89 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2060.89 s
[opt-env-conf-test] ParserEmpty _ -> True
2060.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
2060.89 s
[opt-env-conf-test]
2060.89 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:43-53
2060.89 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2060.89 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2060.89 s
[opt-env-conf-test] isEmpty = \case
2060.89 s
[opt-env-conf-test] ParserPure _ -> False
2060.89 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
2060.89 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && n o t ( isEmpty pa )
2060.89 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2060.89 s
[opt-env-conf-test] ParserEmpty _ -> True
2060.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
2060.89 s
[opt-env-conf-test]
2060.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
2060.89 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2060.89 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2060.89 s
[opt-env-conf-test] isEmpty = \case
2060.89 s
[opt-env-conf-test] ParserPure _ -> False
2060.89 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i s E m pty pa
2060.89 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && F al s e
2060.89 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2060.89 s
[opt-env-conf-test] ParserEmpty _ -> True
2060.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
2060.89 s
[opt-env-conf-test]
2060.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
2060.89 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2060.89 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2060.89 s
[opt-env-conf-test] isEmpty = \case
2060.89 s
[opt-env-conf-test] ParserPure _ -> False
2060.89 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i sE mpt y p a
2060.89 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && T ru e
2060.89 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2060.89 s
[opt-env-conf-test] ParserEmpty _ -> True
2060.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
2060.89 s
[opt-env-conf-test]
2060.89 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:29-39
2060.89 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2060.89 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2060.89 s
[opt-env-conf-test] isEmpty = \case
2060.89 s
[opt-env-conf-test] ParserPure _ -> False
2060.89 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
2060.89 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf ) && isEmpty pa
2060.89 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2060.89 s
[opt-env-conf-test] ParserEmpty _ -> True
2060.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
2060.89 s
[opt-env-conf-test]
2060.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
2060.89 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2060.89 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2060.89 s
[opt-env-conf-test] isEmpty = \case
2060.89 s
[opt-env-conf-test] ParserPure _ -> False
2060.89 s
[opt-env-conf-test] - ParserAp pf pa -> i s E m pty p f && isEmpty pa
2060.89 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e && isEmpty pa
2060.89 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2060.90 s
[opt-env-conf-test] ParserEmpty _ -> True
2060.90 s
[opt-env-conf-test] ParserAlt _ _ -> False
2060.90 s
[opt-env-conf-test]
2060.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
2060.90 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2060.90 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2060.90 s
[opt-env-conf-test] isEmpty = \case
2060.90 s
[opt-env-conf-test] ParserPure _ -> False
2060.90 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y p f && isEmpty pa
2060.90 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e && isEmpty pa
2060.90 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2060.90 s
[opt-env-conf-test] ParserEmpty _ -> True
2060.90 s
[opt-env-conf-test] ParserAlt _ _ -> False
2060.90 s
[opt-env-conf-test]
2060.90 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:297:39-40
2060.90 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
2060.90 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2060.90 s
[opt-env-conf-test]
2060.90 s
[opt-env-conf-test] showParserABit :: Parser a -> String
2060.90 s
[opt-env-conf-test] - showParserABit = flip (showParserPrec 0 ) ""
2060.90 s
[opt-env-conf-test] + showParserABit = flip (showParserPrec 1 ) ""
2060.90 s
[opt-env-conf-test]
2060.90 s
[opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
2060.90 s
[opt-env-conf-test] showParserPrec = go
2060.90 s
[opt-env-conf-test]
2060.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:19-27
2060.90 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test] . go 11 p2
2060.90 s
[opt-env-conf-test] ParserSetting mLoc p ->
2060.90 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.90 s
[opt-env-conf-test] + showParen T ru e $
2060.90 s
[opt-env-conf-test] showString "Setting "
2060.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test]
2060.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:20-26
2060.90 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test] . go 11 p2
2060.90 s
[opt-env-conf-test] ParserSetting mLoc p ->
2060.90 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.90 s
[opt-env-conf-test] + showParen ( Tru e ) $
2060.90 s
[opt-env-conf-test] showString "Setting "
2060.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test]
2060.90 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:373:20-26
2060.90 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test] . go 11 p2
2060.90 s
[opt-env-conf-test] ParserSetting mLoc p ->
2060.90 s
[opt-env-conf-test] - showParen (d > 10) $
2060.90 s
[opt-env-conf-test] + showParen (d > = 10) $
2060.90 s
[opt-env-conf-test] showString "Setting "
2060.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test]
2060.90 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
2060.90 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test] . go 11 p2
2060.90 s
[opt-env-conf-test] ParserSetting mLoc p ->
2060.90 s
[opt-env-conf-test] - showParen (d > 10) $
2060.90 s
[opt-env-conf-test] + showParen (d > - 10) $
2060.90 s
[opt-env-conf-test] showString "Setting "
2060.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test]
2060.90 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
2060.90 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test] . go 11 p2
2060.90 s
[opt-env-conf-test] ParserSetting mLoc p ->
2060.90 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2060.90 s
[opt-env-conf-test] + showParen (d > 1 ) $
2060.90 s
[opt-env-conf-test] showString "Setting "
2060.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test]
2060.90 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
2060.90 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test] . go 11 p2
2060.90 s
[opt-env-conf-test] ParserSetting mLoc p ->
2060.90 s
[opt-env-conf-test] - showParen (d > 1 0) $
2060.90 s
[opt-env-conf-test] + showParen (d > 0) $
2060.90 s
[opt-env-conf-test] showString "Setting "
2060.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.90 s
[opt-env-conf-test] . showString " "
2060.90 s
[opt-env-conf-test]
2060.90 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:19-27
2060.90 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.90 s
[opt-env-conf-test] showCommandABit
2060.90 s
[opt-env-conf-test] cs
2060.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.91 s
[opt-env-conf-test] - showPare n ( d > 10) $
2060.91 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2060.91 s
[opt-env-conf-test] showString "WithConfig _ "
2060.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.91 s
[opt-env-conf-test] . showString " "
2060.91 s
[opt-env-conf-test]
2060.91 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
2060.91 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.91 s
[opt-env-conf-test] showCommandABit
2060.91 s
[opt-env-conf-test] cs
2060.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.91 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2060.91 s
[opt-env-conf-test] + showParen F a ls e $
2060.91 s
[opt-env-conf-test] showString "WithConfig _ "
2060.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.91 s
[opt-env-conf-test] . showString " "
2060.91 s
[opt-env-conf-test]
2060.91 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
2060.91 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.91 s
[opt-env-conf-test] showCommandABit
2060.91 s
[opt-env-conf-test] cs
2060.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.91 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.91 s
[opt-env-conf-test] + showParen T ru e $
2060.91 s
[opt-env-conf-test] showString "WithConfig _ "
2060.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.91 s
[opt-env-conf-test] . showString " "
2060.91 s
[opt-env-conf-test]
2060.91 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:20-26
2060.91 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.91 s
[opt-env-conf-test] showCommandABit
2060.91 s
[opt-env-conf-test] cs
2060.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.91 s
[opt-env-conf-test] - showPare n (d > 10) $
2060.91 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2060.91 s
[opt-env-conf-test] showString "WithConfig _ "
2060.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.91 s
[opt-env-conf-test] . showString " "
2060.91 s
[opt-env-conf-test]
2060.91 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
2060.91 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.91 s
[opt-env-conf-test] showCommandABit
2060.91 s
[opt-env-conf-test] cs
2060.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.91 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.91 s
[opt-env-conf-test] + showParen ( F a lse ) $
2060.91 s
[opt-env-conf-test] showString "WithConfig _ "
2060.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.91 s
[opt-env-conf-test] . showString " "
2060.91 s
[opt-env-conf-test]
2060.91 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
2060.91 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.91 s
[opt-env-conf-test] showCommandABit
2060.91 s
[opt-env-conf-test] cs
2060.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.91 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.91 s
[opt-env-conf-test] + showParen ( Tru e ) $
2060.91 s
[opt-env-conf-test] showString "WithConfig _ "
2060.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.91 s
[opt-env-conf-test] . showString " "
2060.91 s
[opt-env-conf-test]
2060.91 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
2060.91 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.91 s
[opt-env-conf-test] showCommandABit
2060.91 s
[opt-env-conf-test] cs
2060.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.91 s
[opt-env-conf-test] - showParen (d > 10) $
2060.91 s
[opt-env-conf-test] + showParen (d > = 10) $
2060.91 s
[opt-env-conf-test] showString "WithConfig _ "
2060.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.91 s
[opt-env-conf-test] . showString " "
2060.91 s
[opt-env-conf-test]
2060.91 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
2060.91 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.91 s
[opt-env-conf-test] showCommandABit
2060.91 s
[opt-env-conf-test] cs
2060.91 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.91 s
[opt-env-conf-test] - showParen (d > 10) $
2060.91 s
[opt-env-conf-test] + showParen (d < = 10) $
2060.91 s
[opt-env-conf-test] showString "WithConfig _ "
2060.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.91 s
[opt-env-conf-test] . showString " "
2060.91 s
[opt-env-conf-test]
2060.92 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
2060.92 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.92 s
[opt-env-conf-test] showCommandABit
2060.92 s
[opt-env-conf-test] cs
2060.92 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.92 s
[opt-env-conf-test] - showParen (d > 10) $
2060.92 s
[opt-env-conf-test] + showParen (d < 10) $
2060.92 s
[opt-env-conf-test] showString "WithConfig _ "
2060.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.92 s
[opt-env-conf-test] . showString " "
2060.92 s
[opt-env-conf-test]
2060.92 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
2060.92 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.92 s
[opt-env-conf-test] showCommandABit
2060.92 s
[opt-env-conf-test] cs
2060.92 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.92 s
[opt-env-conf-test] - showParen (d > 10) $
2060.92 s
[opt-env-conf-test] + showParen (d > - 10) $
2060.92 s
[opt-env-conf-test] showString "WithConfig _ "
2060.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.92 s
[opt-env-conf-test] . showString " "
2060.92 s
[opt-env-conf-test]
2060.92 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
2060.92 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.92 s
[opt-env-conf-test] showCommandABit
2060.92 s
[opt-env-conf-test] cs
2060.92 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.92 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2060.92 s
[opt-env-conf-test] + showParen (d > 1 ) $
2060.92 s
[opt-env-conf-test] showString "WithConfig _ "
2060.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.92 s
[opt-env-conf-test] . showString " "
2060.92 s
[opt-env-conf-test]
2060.92 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
2060.92 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2060.92 s
[opt-env-conf-test] showCommandABit
2060.92 s
[opt-env-conf-test] cs
2060.92 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2060.92 s
[opt-env-conf-test] - showParen (d > 1 0) $
2060.92 s
[opt-env-conf-test] + showParen (d > 0) $
2060.92 s
[opt-env-conf-test] showString "WithConfig _ "
2060.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.92 s
[opt-env-conf-test] . showString " "
2060.92 s
[opt-env-conf-test]
2060.92 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:19-27
2060.92 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2060.92 s
[opt-env-conf-test] . showString " _ "
2060.92 s
[opt-env-conf-test] . go 11 p
2060.92 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2060.92 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.92 s
[opt-env-conf-test] + showParen T ru e $
2060.92 s
[opt-env-conf-test] showString "Commands "
2060.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.92 s
[opt-env-conf-test] . showString " "
2060.92 s
[opt-env-conf-test]
2060.92 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:20-26
2060.92 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2060.92 s
[opt-env-conf-test] . showString " _ "
2060.92 s
[opt-env-conf-test] . go 11 p
2060.92 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2060.92 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.92 s
[opt-env-conf-test] + showParen ( Tru e ) $
2060.92 s
[opt-env-conf-test] showString "Commands "
2060.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.92 s
[opt-env-conf-test] . showString " "
2060.92 s
[opt-env-conf-test]
2060.92 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:355:20-26
2060.92 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2060.92 s
[opt-env-conf-test] . showString " _ "
2060.92 s
[opt-env-conf-test] . go 11 p
2060.92 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2060.92 s
[opt-env-conf-test] - showParen (d > 10) $
2060.92 s
[opt-env-conf-test] + showParen (d > = 10) $
2060.92 s
[opt-env-conf-test] showString "Commands "
2060.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.92 s
[opt-env-conf-test] . showString " "
2060.92 s
[opt-env-conf-test]
2060.92 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
2060.92 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2060.92 s
[opt-env-conf-test] . showString " _ "
2060.92 s
[opt-env-conf-test] . go 11 p
2060.92 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2060.92 s
[opt-env-conf-test] - showParen (d > 10) $
2060.92 s
[opt-env-conf-test] + showParen (d > - 10) $
2060.92 s
[opt-env-conf-test] showString "Commands "
2060.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.92 s
[opt-env-conf-test] . showString " "
2060.92 s
[opt-env-conf-test]
2060.92 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
2060.92 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2060.92 s
[opt-env-conf-test] . showString " _ "
2060.92 s
[opt-env-conf-test] . go 11 p
2060.92 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2060.92 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2060.92 s
[opt-env-conf-test] + showParen (d > 1 ) $
2060.92 s
[opt-env-conf-test] showString "Commands "
2060.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.93 s
[opt-env-conf-test] . showString " "
2060.93 s
[opt-env-conf-test]
2060.93 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
2060.93 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2060.93 s
[opt-env-conf-test] . showString " _ "
2060.93 s
[opt-env-conf-test] . go 11 p
2060.93 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2060.93 s
[opt-env-conf-test] - showParen (d > 1 0) $
2060.93 s
[opt-env-conf-test] + showParen (d > 0) $
2060.93 s
[opt-env-conf-test] showString "Commands "
2060.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.93 s
[opt-env-conf-test] . showString " "
2060.93 s
[opt-env-conf-test]
2060.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:19-27
2060.93 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2060.93 s
[opt-env-conf-test] . showString " "
2060.93 s
[opt-env-conf-test] . go 11 p
2060.93 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2060.93 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.93 s
[opt-env-conf-test] + showParen T ru e $
2060.93 s
[opt-env-conf-test] showString "Check "
2060.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.93 s
[opt-env-conf-test] . showString " "
2060.93 s
[opt-env-conf-test]
2060.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:20-26
2060.93 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2060.93 s
[opt-env-conf-test] . showString " "
2060.93 s
[opt-env-conf-test] . go 11 p
2060.93 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2060.93 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.93 s
[opt-env-conf-test] + showParen ( Tru e ) $
2060.93 s
[opt-env-conf-test] showString "Check "
2060.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.93 s
[opt-env-conf-test] . showString " "
2060.93 s
[opt-env-conf-test]
2060.93 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:345:20-26
2060.93 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2060.93 s
[opt-env-conf-test] . showString " "
2060.93 s
[opt-env-conf-test] . go 11 p
2060.93 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2060.93 s
[opt-env-conf-test] - showParen (d > 10) $
2060.93 s
[opt-env-conf-test] + showParen (d > = 10) $
2060.93 s
[opt-env-conf-test] showString "Check "
2060.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.93 s
[opt-env-conf-test] . showString " "
2060.93 s
[opt-env-conf-test]
2060.93 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
2060.93 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2060.93 s
[opt-env-conf-test] . showString " "
2060.93 s
[opt-env-conf-test] . go 11 p
2060.93 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2060.93 s
[opt-env-conf-test] - showParen (d > 10) $
2060.93 s
[opt-env-conf-test] + showParen (d > - 10) $
2060.94 s
[opt-env-conf-test] showString "Check "
2060.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test]
2060.94 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
2060.94 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test] . go 11 p
2060.94 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2060.94 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2060.94 s
[opt-env-conf-test] + showParen (d > 1 ) $
2060.94 s
[opt-env-conf-test] showString "Check "
2060.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test]
2060.94 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
2060.94 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test] . go 11 p
2060.94 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2060.94 s
[opt-env-conf-test] - showParen (d > 1 0) $
2060.94 s
[opt-env-conf-test] + showParen (d > 0) $
2060.94 s
[opt-env-conf-test] showString "Check "
2060.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test]
2060.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:19-27
2060.94 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test] . go 11 p
2060.94 s
[opt-env-conf-test] ParserSome mLoc p ->
2060.94 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.94 s
[opt-env-conf-test] + showParen T ru e $
2060.94 s
[opt-env-conf-test] showString "Some "
2060.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test]
2060.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:20-26
2060.94 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test] . go 11 p
2060.94 s
[opt-env-conf-test] ParserSome mLoc p ->
2060.94 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.94 s
[opt-env-conf-test] + showParen ( Tru e ) $
2060.94 s
[opt-env-conf-test] showString "Some "
2060.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test]
2060.94 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:333:20-26
2060.94 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test] . go 11 p
2060.94 s
[opt-env-conf-test] ParserSome mLoc p ->
2060.94 s
[opt-env-conf-test] - showParen (d > 10) $
2060.94 s
[opt-env-conf-test] + showParen (d > = 10) $
2060.94 s
[opt-env-conf-test] showString "Some "
2060.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test]
2060.94 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
2060.94 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test] . go 11 p
2060.94 s
[opt-env-conf-test] ParserSome mLoc p ->
2060.94 s
[opt-env-conf-test] - showParen (d > 10) $
2060.94 s
[opt-env-conf-test] + showParen (d > - 10) $
2060.94 s
[opt-env-conf-test] showString "Some "
2060.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test]
2060.94 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
2060.94 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2060.94 s
[opt-env-conf-test] . showString " "
2060.94 s
[opt-env-conf-test] . go 11 p
2060.94 s
[opt-env-conf-test] ParserSome mLoc p ->
2060.94 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2060.94 s
[opt-env-conf-test] + showParen (d > 1 ) $
2060.95 s
[opt-env-conf-test] showString "Some "
2060.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test]
2060.95 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
2060.95 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test] . go 11 p
2060.95 s
[opt-env-conf-test] ParserSome mLoc p ->
2060.95 s
[opt-env-conf-test] - showParen (d > 1 0) $
2060.95 s
[opt-env-conf-test] + showParen (d > 0) $
2060.95 s
[opt-env-conf-test] showString "Some "
2060.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test]
2060.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:19-27
2060.95 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test] . go 11 p2
2060.95 s
[opt-env-conf-test] ParserMany mLoc p ->
2060.95 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.95 s
[opt-env-conf-test] + showParen T ru e $
2060.95 s
[opt-env-conf-test] showString "Many "
2060.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test]
2060.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:20-26
2060.95 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test] . go 11 p2
2060.95 s
[opt-env-conf-test] ParserMany mLoc p ->
2060.95 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.95 s
[opt-env-conf-test] + showParen ( Tru e ) $
2060.95 s
[opt-env-conf-test] showString "Many "
2060.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test]
2060.95 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:327:20-26
2060.95 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test] . go 11 p2
2060.95 s
[opt-env-conf-test] ParserMany mLoc p ->
2060.95 s
[opt-env-conf-test] - showParen (d > 10) $
2060.95 s
[opt-env-conf-test] + showParen (d > = 10) $
2060.95 s
[opt-env-conf-test] showString "Many "
2060.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test]
2060.95 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
2060.95 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test] . go 11 p2
2060.95 s
[opt-env-conf-test] ParserMany mLoc p ->
2060.95 s
[opt-env-conf-test] - showParen (d > 10) $
2060.95 s
[opt-env-conf-test] + showParen (d > - 10) $
2060.95 s
[opt-env-conf-test] showString "Many "
2060.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test]
2060.95 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
2060.95 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test] . go 11 p2
2060.95 s
[opt-env-conf-test] ParserMany mLoc p ->
2060.95 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2060.95 s
[opt-env-conf-test] + showParen (d > 1 ) $
2060.95 s
[opt-env-conf-test] showString "Many "
2060.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test]
2060.95 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
2060.95 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test] . go 11 p2
2060.95 s
[opt-env-conf-test] ParserMany mLoc p ->
2060.95 s
[opt-env-conf-test] - showParen (d > 1 0) $
2060.95 s
[opt-env-conf-test] + showParen (d > 0) $
2060.95 s
[opt-env-conf-test] showString "Many "
2060.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test]
2060.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:19-27
2060.95 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2060.95 s
[opt-env-conf-test] showString "Empty "
2060.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.95 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2060.95 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.95 s
[opt-env-conf-test] + showParen T ru e $
2060.95 s
[opt-env-conf-test] showString "Alt "
2060.95 s
[opt-env-conf-test] . go 11 p1
2060.95 s
[opt-env-conf-test] . showString " "
2060.95 s
[opt-env-conf-test]
2060.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:20-26
2060.95 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2060.95 s
[opt-env-conf-test] showString "Empty "
2060.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.95 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2060.95 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.95 s
[opt-env-conf-test] + showParen ( Tru e ) $
2060.95 s
[opt-env-conf-test] showString "Alt "
2060.95 s
[opt-env-conf-test] . go 11 p1
2060.96 s
[opt-env-conf-test] . showString " "
2060.96 s
[opt-env-conf-test]
2060.96 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:321:20-26
2060.96 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2060.96 s
[opt-env-conf-test] showString "Empty "
2060.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.96 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2060.96 s
[opt-env-conf-test] - showParen (d > 10) $
2060.96 s
[opt-env-conf-test] + showParen (d > = 10) $
2060.96 s
[opt-env-conf-test] showString "Alt "
2060.96 s
[opt-env-conf-test] . go 11 p1
2060.96 s
[opt-env-conf-test] . showString " "
2060.96 s
[opt-env-conf-test]
2060.96 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
2060.96 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2060.96 s
[opt-env-conf-test] showString "Empty "
2060.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.96 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2060.96 s
[opt-env-conf-test] - showParen (d > 10) $
2060.96 s
[opt-env-conf-test] + showParen (d > - 10) $
2060.96 s
[opt-env-conf-test] showString "Alt "
2060.96 s
[opt-env-conf-test] . go 11 p1
2060.96 s
[opt-env-conf-test] . showString " "
2060.96 s
[opt-env-conf-test]
2060.96 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
2060.96 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2060.96 s
[opt-env-conf-test] showString "Empty "
2060.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.96 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2060.96 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2060.96 s
[opt-env-conf-test] + showParen (d > 1 ) $
2060.96 s
[opt-env-conf-test] showString "Alt "
2060.96 s
[opt-env-conf-test] . go 11 p1
2060.96 s
[opt-env-conf-test] . showString " "
2060.96 s
[opt-env-conf-test]
2060.96 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
2060.96 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2060.96 s
[opt-env-conf-test] showString "Empty "
2060.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
2060.96 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2060.96 s
[opt-env-conf-test] - showParen (d > 1 0) $
2060.96 s
[opt-env-conf-test] + showParen (d > 0) $
2060.96 s
[opt-env-conf-test] showString "Alt "
2060.96 s
[opt-env-conf-test] . go 11 p1
2060.96 s
[opt-env-conf-test] . showString " "
2060.96 s
[opt-env-conf-test]
2060.96 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:19-27
2060.96 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2060.96 s
[opt-env-conf-test] go d = \case
2060.96 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2060.96 s
[opt-env-conf-test] ParserAp pf pa ->
2060.96 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.96 s
[opt-env-conf-test] + showParen T ru e $
2060.96 s
[opt-env-conf-test] showString "Ap "
2060.96 s
[opt-env-conf-test] . go 11 pf
2060.96 s
[opt-env-conf-test] . showString " "
2060.96 s
[opt-env-conf-test]
2060.96 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:20-26
2060.96 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2060.96 s
[opt-env-conf-test] go d = \case
2060.96 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2060.96 s
[opt-env-conf-test] ParserAp pf pa ->
2060.96 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2060.96 s
[opt-env-conf-test] + showParen ( Tru e ) $
2060.96 s
[opt-env-conf-test] showString "Ap "
2060.96 s
[opt-env-conf-test] . go 11 pf
2060.96 s
[opt-env-conf-test] . showString " "
2060.96 s
[opt-env-conf-test]
2060.96 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:306:20-26
2060.96 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2060.96 s
[opt-env-conf-test] go d = \case
2060.96 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2060.96 s
[opt-env-conf-test] ParserAp pf pa ->
2060.96 s
[opt-env-conf-test] - showParen (d > 10) $
2060.96 s
[opt-env-conf-test] + showParen (d > = 10) $
2060.96 s
[opt-env-conf-test] showString "Ap "
2060.96 s
[opt-env-conf-test] . go 11 pf
2060.96 s
[opt-env-conf-test] . showString " "
2060.96 s
[opt-env-conf-test]
2060.96 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
2060.96 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2060.96 s
[opt-env-conf-test] go d = \case
2060.96 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2060.96 s
[opt-env-conf-test] ParserAp pf pa ->
2060.96 s
[opt-env-conf-test] - showParen (d > 10) $
2060.96 s
[opt-env-conf-test] + showParen (d > - 10) $
2060.96 s
[opt-env-conf-test] showString "Ap "
2060.96 s
[opt-env-conf-test] . go 11 pf
2060.96 s
[opt-env-conf-test] . showString " "
2060.96 s
[opt-env-conf-test]
2060.96 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
2060.96 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2060.96 s
[opt-env-conf-test] go d = \case
2060.96 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2060.96 s
[opt-env-conf-test] ParserAp pf pa ->
2060.96 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2060.96 s
[opt-env-conf-test] + showParen (d > 1 ) $
2060.96 s
[opt-env-conf-test] showString "Ap "
2060.96 s
[opt-env-conf-test] . go 11 pf
2060.96 s
[opt-env-conf-test] . showString " "
2060.96 s
[opt-env-conf-test]
2060.96 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
2060.96 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2060.97 s
[opt-env-conf-test] go d = \case
2060.97 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] ParserAp pf pa ->
2060.97 s
[opt-env-conf-test] - showParen (d > 1 0) $
2060.97 s
[opt-env-conf-test] + showParen (d > 0) $
2060.97 s
[opt-env-conf-test] showString "Ap "
2060.97 s
[opt-env-conf-test] . go 11 pf
2060.97 s
[opt-env-conf-test] . showString " "
2060.97 s
[opt-env-conf-test]
2060.97 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:33-41
2060.97 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2060.97 s
[opt-env-conf-test] where
2060.97 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2060.97 s
[opt-env-conf-test] go d = \case
2060.97 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] + ParserPure _ -> showParen T ru e $ showString "Pure _"
2060.97 s
[opt-env-conf-test] ParserAp pf pa ->
2060.97 s
[opt-env-conf-test] showParen (d > 10) $
2060.97 s
[opt-env-conf-test] showString "Ap "
2060.97 s
[opt-env-conf-test]
2060.97 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:34-40
2060.97 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2060.97 s
[opt-env-conf-test] where
2060.97 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2060.97 s
[opt-env-conf-test] go d = \case
2060.97 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] + ParserPure _ -> showParen ( Tru e ) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] ParserAp pf pa ->
2060.97 s
[opt-env-conf-test] showParen (d > 10) $
2060.97 s
[opt-env-conf-test] showString "Ap "
2060.97 s
[opt-env-conf-test]
2060.97 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:304:34-40
2060.97 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2060.97 s
[opt-env-conf-test] where
2060.97 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2060.97 s
[opt-env-conf-test] go d = \case
2060.97 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > = 10) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] ParserAp pf pa ->
2060.97 s
[opt-env-conf-test] showParen (d > 10) $
2060.97 s
[opt-env-conf-test] showString "Ap "
2060.97 s
[opt-env-conf-test]
2060.97 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
2060.97 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2060.97 s
[opt-env-conf-test] where
2060.97 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2060.97 s
[opt-env-conf-test] go d = \case
2060.97 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > - 10) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] ParserAp pf pa ->
2060.97 s
[opt-env-conf-test] showParen (d > 10) $
2060.97 s
[opt-env-conf-test] showString "Ap "
2060.97 s
[opt-env-conf-test]
2060.97 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
2060.97 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2060.97 s
[opt-env-conf-test] where
2060.97 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2060.97 s
[opt-env-conf-test] go d = \case
2060.97 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0 ) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 1 ) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] ParserAp pf pa ->
2060.97 s
[opt-env-conf-test] showParen (d > 10) $
2060.97 s
[opt-env-conf-test] showString "Ap "
2060.97 s
[opt-env-conf-test]
2060.97 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
2060.97 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2060.97 s
[opt-env-conf-test] where
2060.97 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2060.97 s
[opt-env-conf-test] go d = \case
2060.97 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
2060.97 s
[opt-env-conf-test] ParserAp pf pa ->
2060.97 s
[opt-env-conf-test] showParen (d > 10) $
2060.97 s
[opt-env-conf-test] showString "Ap "
2060.97 s
[opt-env-conf-test]
2060.97 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2060.97 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2060.97 s
[opt-env-conf-test] where
2060.97 s
[opt-env-conf-test] go p =
2060.97 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2060.97 s
[opt-env-conf-test] in case p of
2060.97 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2060.97 s
[opt-env-conf-test] ParserAp {} -> p'
2060.97 s
[opt-env-conf-test] ParserSelect {} -> p'
2060.97 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2060.97 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2060.97 s
[opt-env-conf-test] ParserMany {} -> p'
2060.97 s
[opt-env-conf-test] ParserSome {} -> p'
2060.97 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2060.97 s
[opt-env-conf-test] ParserCheck {} -> p'
2060.97 s
[opt-env-conf-test] ParserCommands {} -> p'
2060.97 s
[opt-env-conf-test] - ParserWithConfig {} -> p'
2060.97 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2060.97 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2060.97 s
[opt-env-conf-test] Just _ -> p
2060.97 s
[opt-env-conf-test]
2060.97 s
[opt-env-conf-test] -- | Try a list of parsers in order
2060.97 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2060.97 s
[opt-env-conf-test]
2060.97 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2060.97 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2060.97 s
[opt-env-conf-test] where
2060.97 s
[opt-env-conf-test] go p =
2060.97 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2060.97 s
[opt-env-conf-test] in case p of
2060.97 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2060.97 s
[opt-env-conf-test] ParserAp {} -> p'
2060.97 s
[opt-env-conf-test] ParserSelect {} -> p'
2060.97 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2060.97 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2060.97 s
[opt-env-conf-test] ParserMany {} -> p'
2060.97 s
[opt-env-conf-test] ParserSome {} -> p'
2060.97 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2060.97 s
[opt-env-conf-test] ParserCheck {} -> p'
2060.97 s
[opt-env-conf-test] - ParserCommands {} -> p'
2060.97 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2060.97 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2060.97 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2060.98 s
[opt-env-conf-test] Just _ -> p
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] -- | Try a list of parsers in order
2060.98 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2060.98 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2060.98 s
[opt-env-conf-test] where
2060.98 s
[opt-env-conf-test] go p =
2060.98 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2060.98 s
[opt-env-conf-test] in case p of
2060.98 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2060.98 s
[opt-env-conf-test] ParserAp {} -> p'
2060.98 s
[opt-env-conf-test] ParserSelect {} -> p'
2060.98 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2060.98 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2060.98 s
[opt-env-conf-test] ParserMany {} -> p'
2060.98 s
[opt-env-conf-test] ParserSome {} -> p'
2060.98 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2060.98 s
[opt-env-conf-test] - ParserCheck {} -> p'
2060.98 s
[opt-env-conf-test] ParserCommands {} -> p'
2060.98 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2060.98 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2060.98 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2060.98 s
[opt-env-conf-test] Just _ -> p
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] -- | Try a list of parsers in order
2060.98 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2060.98 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2060.98 s
[opt-env-conf-test] where
2060.98 s
[opt-env-conf-test] go p =
2060.98 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2060.98 s
[opt-env-conf-test] in case p of
2060.98 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2060.98 s
[opt-env-conf-test] ParserAp {} -> p'
2060.98 s
[opt-env-conf-test] ParserSelect {} -> p'
2060.98 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2060.98 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2060.98 s
[opt-env-conf-test] ParserMany {} -> p'
2060.98 s
[opt-env-conf-test] ParserSome {} -> p'
2060.98 s
[opt-env-conf-test] - ParserAllOrNothing {} -> p'
2060.98 s
[opt-env-conf-test] ParserCheck {} -> p'
2060.98 s
[opt-env-conf-test] ParserCommands {} -> p'
2060.98 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2060.98 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2060.98 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2060.98 s
[opt-env-conf-test] Just _ -> p
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] -- | Try a list of parsers in order
2060.98 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2060.98 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2060.98 s
[opt-env-conf-test] where
2060.98 s
[opt-env-conf-test] go p =
2060.98 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2060.98 s
[opt-env-conf-test] in case p of
2060.98 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2060.98 s
[opt-env-conf-test] ParserAp {} -> p'
2060.98 s
[opt-env-conf-test] ParserSelect {} -> p'
2060.98 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2060.98 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2060.98 s
[opt-env-conf-test] ParserMany {} -> p'
2060.98 s
[opt-env-conf-test] - ParserSome {} -> p'
2060.98 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2060.98 s
[opt-env-conf-test] ParserCheck {} -> p'
2060.98 s
[opt-env-conf-test] ParserCommands {} -> p'
2060.98 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2060.98 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2060.98 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2060.98 s
[opt-env-conf-test] Just _ -> p
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] -- | Try a list of parsers in order
2060.98 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2060.98 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2060.98 s
[opt-env-conf-test] where
2060.98 s
[opt-env-conf-test] go p =
2060.98 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2060.98 s
[opt-env-conf-test] in case p of
2060.98 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2060.98 s
[opt-env-conf-test] ParserAp {} -> p'
2060.98 s
[opt-env-conf-test] ParserSelect {} -> p'
2060.98 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2060.98 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2060.98 s
[opt-env-conf-test] - ParserMany {} -> p'
2060.98 s
[opt-env-conf-test] ParserSome {} -> p'
2060.98 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2060.98 s
[opt-env-conf-test] ParserCheck {} -> p'
2060.98 s
[opt-env-conf-test] ParserCommands {} -> p'
2060.98 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2060.98 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2060.98 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2060.98 s
[opt-env-conf-test] Just _ -> p
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] -- | Try a list of parsers in order
2060.98 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2060.98 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2060.98 s
[opt-env-conf-test] where
2060.98 s
[opt-env-conf-test] go p =
2060.98 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2060.98 s
[opt-env-conf-test] in case p of
2060.98 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2060.98 s
[opt-env-conf-test] ParserAp {} -> p'
2060.98 s
[opt-env-conf-test] ParserSelect {} -> p'
2060.98 s
[opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
2060.98 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2060.98 s
[opt-env-conf-test] ParserMany {} -> p'
2060.98 s
[opt-env-conf-test] ParserSome {} -> p'
2060.98 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2060.98 s
[opt-env-conf-test] ParserCheck {} -> p'
2060.98 s
[opt-env-conf-test] ParserCommands {} -> p'
2060.98 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2060.98 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2060.98 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2060.98 s
[opt-env-conf-test] Just _ -> p
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] -- | Try a list of parsers in order
2060.98 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2060.98 s
[opt-env-conf-test]
2060.98 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2060.98 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2060.98 s
[opt-env-conf-test] where
2060.99 s
[opt-env-conf-test] go p =
2060.99 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2060.99 s
[opt-env-conf-test] in case p of
2060.99 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2060.99 s
[opt-env-conf-test] ParserAp {} -> p'
2060.99 s
[opt-env-conf-test] - ParserSelect {} -> p'
2060.99 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2060.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2060.99 s
[opt-env-conf-test] ParserMany {} -> p'
2060.99 s
[opt-env-conf-test] ParserSome {} -> p'
2060.99 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2060.99 s
[opt-env-conf-test] ParserCheck {} -> p'
2060.99 s
[opt-env-conf-test] ParserCommands {} -> p'
2060.99 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2060.99 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2060.99 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2060.99 s
[opt-env-conf-test] Just _ -> p
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test] -- | Try a list of parsers in order
2060.99 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2060.99 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2060.99 s
[opt-env-conf-test] where
2060.99 s
[opt-env-conf-test] go p =
2060.99 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2060.99 s
[opt-env-conf-test] in case p of
2060.99 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2060.99 s
[opt-env-conf-test] - ParserAp {} -> p'
2060.99 s
[opt-env-conf-test] ParserSelect {} -> p'
2060.99 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2060.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2060.99 s
[opt-env-conf-test] ParserMany {} -> p'
2060.99 s
[opt-env-conf-test] ParserSome {} -> p'
2060.99 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2060.99 s
[opt-env-conf-test] ParserCheck {} -> p'
2060.99 s
[opt-env-conf-test] ParserCommands {} -> p'
2060.99 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2060.99 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2060.99 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2060.99 s
[opt-env-conf-test] Just _ -> p
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test] -- | Try a list of parsers in order
2060.99 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2060.99 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2060.99 s
[opt-env-conf-test] where
2060.99 s
[opt-env-conf-test] go p =
2060.99 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2060.99 s
[opt-env-conf-test] in case p of
2060.99 s
[opt-env-conf-test] - ParserPure a -> ParserPure a
2060.99 s
[opt-env-conf-test] ParserAp {} -> p'
2060.99 s
[opt-env-conf-test] ParserSelect {} -> p'
2060.99 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2060.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2060.99 s
[opt-env-conf-test] ParserMany {} -> p'
2060.99 s
[opt-env-conf-test] ParserSome {} -> p'
2060.99 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2060.99 s
[opt-env-conf-test] ParserCheck {} -> p'
2060.99 s
[opt-env-conf-test] ParserCommands {} -> p'
2060.99 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2060.99 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2060.99 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2060.99 s
[opt-env-conf-test] Just _ -> p
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test] -- | Try a list of parsers in order
2060.99 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
2060.99 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
2060.99 s
[opt-env-conf-test] ParserCheck {} -> p'
2060.99 s
[opt-env-conf-test] ParserCommands {} -> p'
2060.99 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2060.99 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2060.99 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2060.99 s
[opt-env-conf-test] - Just _ -> p
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test] -- | Try a list of parsers in order
2060.99 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
2060.99 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
2060.99 s
[opt-env-conf-test] checkMapMaybe func p =
2060.99 s
[opt-env-conf-test] withFrozenCallStack $
2060.99 s
[opt-env-conf-test] checkMapEither
2060.99 s
[opt-env-conf-test] ( \a -> case func a of
2060.99 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
2060.99 s
[opt-env-conf-test] - Just b -> Right b
2060.99 s
[opt-env-conf-test] )
2060.99 s
[opt-env-conf-test] p
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:453:24-40
2060.99 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
2060.99 s
[opt-env-conf-test] put as'
2060.99 s
[opt-env-conf-test] pure $ Just []
2060.99 s
[opt-env-conf-test] else do
2060.99 s
[opt-env-conf-test] - if s e tt in g Tr y Opti on
2060.99 s
[opt-env-conf-test] + if Tr ue
2060.99 s
[opt-env-conf-test] then do
2060.99 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
2060.99 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
2060.99 s
[opt-env-conf-test] @@ -432,11 +432,10 @@
2060.99 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
2060.99 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
2060.99 s
[opt-env-conf-test] -- completer if we are at the end.
2060.99 s
[opt-env-conf-test] case possibilities of
2060.99 s
[opt-env-conf-test] - [] -> completeWithCompleterAtEnd
2060.99 s
[opt-env-conf-test] (_, as') : _ -> do
2060.99 s
[opt-env-conf-test] put as'
2060.99 s
[opt-env-conf-test] completeWithCompleterAtEnd
2060.99 s
[opt-env-conf-test] else
2060.99 s
[opt-env-conf-test] if isJust settingSwitchValue
2060.99 s
[opt-env-conf-test] then do
2060.99 s
[opt-env-conf-test]
2060.99 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
2060.99 s
[opt-env-conf-test] @@ -434,9 +434,8 @@
2060.99 s
[opt-env-conf-test] -- completer if we are at the end.
2060.99 s
[opt-env-conf-test] case possibilities of
2060.99 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
2060.99 s
[opt-env-conf-test] (_, as') : _ -> do
2060.99 s
[opt-env-conf-test] - put as'
2060.99 s
[opt-env-conf-test] completeWithCompleterAtEnd
2061.00 s
[opt-env-conf-test] else
2061.00 s
[opt-env-conf-test] if isJust settingSwitchValue
2061.00 s
[opt-env-conf-test] then do
2061.00 s
[opt-env-conf-test]
2061.00 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
2061.00 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
2061.00 s
[opt-env-conf-test] pure Completion {..}
2061.00 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
2061.00 s
[opt-env-conf-test] as <- get
2061.00 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ J u s t [ ]
2061.00 s
[opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ No t h ing
2061.00 s
[opt-env-conf-test] let completeWithDasheds = do
2061.00 s
[opt-env-conf-test] let isLong = \case
2061.00 s
[opt-env-conf-test] DashedLong _ -> True
2061.00 s
[opt-env-conf-test]
2061.00 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
2061.00 s
[opt-env-conf-test] @@ -251,9 +251,8 @@
2061.00 s
[opt-env-conf-test] before <- get
2061.00 s
[opt-env-conf-test] mA <- func
2061.00 s
[opt-env-conf-test] case mA of
2061.00 s
[opt-env-conf-test] Nothing -> do
2061.00 s
[opt-env-conf-test] - put before
2061.00 s
[opt-env-conf-test] pure Nothing
2061.00 s
[opt-env-conf-test] Just a -> pure (Just a)
2061.00 s
[opt-env-conf-test]
2061.00 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
2061.00 s
[opt-env-conf-test]
2061.00 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2061.00 s
[opt-env-conf-test] @@ -125,42 +125,41 @@
2061.00 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2061.00 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2061.00 s
[opt-env-conf-test] exitFailure
2061.00 s
[opt-env-conf-test] Right i -> case i of
2061.00 s
[opt-env-conf-test] ShowVersion -> do
2061.00 s
[opt-env-conf-test] progname <- getProgName
2061.00 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.00 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2061.00 s
[opt-env-conf-test] exitSuccess
2061.00 s
[opt-env-conf-test] RenderMan -> do
2061.00 s
[opt-env-conf-test] progname <- getProgName
2061.00 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.00 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2061.00 s
[opt-env-conf-test] exitSuccess
2061.00 s
[opt-env-conf-test] RenderDocumentation -> do
2061.00 s
[opt-env-conf-test] progname <- getProgName
2061.00 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.00 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2061.00 s
[opt-env-conf-test] exitSuccess
2061.00 s
[opt-env-conf-test] RenderNixosOptions -> do
2061.00 s
[opt-env-conf-test] progname <- getProgName
2061.00 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2061.00 s
[opt-env-conf-test] exitSuccess
2061.00 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2061.00 s
[opt-env-conf-test] progname <- getProgName
2061.00 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2061.00 s
[opt-env-conf-test] exitSuccess
2061.00 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2061.00 s
[opt-env-conf-test] progname <- getProgName
2061.00 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2061.00 s
[opt-env-conf-test] exitSuccess
2061.00 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2061.00 s
[opt-env-conf-test] progname <- getProgName
2061.00 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2061.00 s
[opt-env-conf-test] exitSuccess
2061.00 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2061.00 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2061.00 s
[opt-env-conf-test] exitSuccess
2061.00 s
[opt-env-conf-test] - ParsedNormally a -> pure a
2061.00 s
[opt-env-conf-test]
2061.00 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.
2061.01 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2061.01 s
[opt-env-conf-test]
2061.01 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2061.01 s
[opt-env-conf-test] @@ -125,42 +125,39 @@
2061.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2061.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2061.01 s
[opt-env-conf-test] exitFailure
2061.01 s
[opt-env-conf-test] Right i -> case i of
2061.01 s
[opt-env-conf-test] ShowVersion -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] RenderMan -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] RenderDocumentation -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] RenderNixosOptions -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] - CompletionQuery enriched index ws -> do
2061.01 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
2061.01 s
[opt-env-conf-test] - exitSuccess
2061.01 s
[opt-env-conf-test] ParsedNormally a -> pure a
2061.01 s
[opt-env-conf-test]
2061.01 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.
2061.01 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2061.01 s
[opt-env-conf-test]
2061.01 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2061.01 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2061.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2061.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2061.01 s
[opt-env-conf-test] exitFailure
2061.01 s
[opt-env-conf-test] Right i -> case i of
2061.01 s
[opt-env-conf-test] ShowVersion -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] RenderMan -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] RenderDocumentation -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] RenderNixosOptions -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2061.01 s
[opt-env-conf-test] progname <- getProgName
2061.01 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2061.01 s
[opt-env-conf-test] - exitSuccess
2061.01 s
[opt-env-conf-test] - FishCompletionScript progPath -> do
2061.01 s
[opt-env-conf-test] - progname <- getProgName
2061.01 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2061.01 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2061.01 s
[opt-env-conf-test] exitSuccess
2061.01 s
[opt-env-conf-test] ParsedNormally a -> pure a
2061.01 s
[opt-env-conf-test]
2061.01 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.
2061.01 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2061.02 s
[opt-env-conf-test]
2061.02 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2061.02 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2061.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2061.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2061.02 s
[opt-env-conf-test] exitFailure
2061.02 s
[opt-env-conf-test] Right i -> case i of
2061.02 s
[opt-env-conf-test] ShowVersion -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] RenderMan -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] RenderDocumentation -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] RenderNixosOptions -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2061.02 s
[opt-env-conf-test] - exitSuccess
2061.02 s
[opt-env-conf-test] - ZshCompletionScript progPath -> do
2061.02 s
[opt-env-conf-test] - progname <- getProgName
2061.02 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2061.02 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] ParsedNormally a -> pure a
2061.02 s
[opt-env-conf-test]
2061.02 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.
2061.02 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2061.02 s
[opt-env-conf-test]
2061.02 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2061.02 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2061.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2061.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2061.02 s
[opt-env-conf-test] exitFailure
2061.02 s
[opt-env-conf-test] Right i -> case i of
2061.02 s
[opt-env-conf-test] ShowVersion -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] RenderMan -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] RenderDocumentation -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] RenderNixosOptions -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2061.02 s
[opt-env-conf-test] - exitSuccess
2061.02 s
[opt-env-conf-test] - BashCompletionScript progPath -> do
2061.02 s
[opt-env-conf-test] - progname <- getProgName
2061.02 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2061.02 s
[opt-env-conf-test] exitSuccess
2061.02 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2061.02 s
[opt-env-conf-test] progname <- getProgName
2061.02 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2061.02 s
[opt-env-conf-test] exitSuccess
2061.03 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2061.03 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2061.03 s
[opt-env-conf-test] exitSuccess
2061.03 s
[opt-env-conf-test] ParsedNormally a -> pure a
2061.03 s
[opt-env-conf-test]
2061.03 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.
2061.03 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2061.03 s
[opt-env-conf-test]
2061.03 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2061.03 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2061.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2061.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2061.03 s
[opt-env-conf-test] exitFailure
2061.03 s
[opt-env-conf-test] Right i -> case i of
2061.03 s
[opt-env-conf-test] ShowVersion -> do
2061.03 s
[opt-env-conf-test] progname <- getProgName
2061.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2061.03 s
[opt-env-conf-test] exitSuccess
2061.03 s
[opt-env-conf-test] RenderMan -> do
2061.03 s
[opt-env-conf-test] progname <- getProgName
2061.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2061.03 s
[opt-env-conf-test] exitSuccess
2061.03 s
[opt-env-conf-test] RenderDocumentation -> do
2061.03 s
[opt-env-conf-test] progname <- getProgName
2061.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2061.03 s
[opt-env-conf-test] - exitSuccess
2061.03 s
[opt-env-conf-test] - RenderNixosOptions -> do
2061.03 s
[opt-env-conf-test] - progname <- getProgName
2061.03 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2061.03 s
[opt-env-conf-test] exitSuccess
2061.03 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2061.03 s
[opt-env-conf-test] progname <- getProgName
2061.03 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2061.03 s
[opt-env-conf-test] exitSuccess
2061.03 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2061.03 s
[opt-env-conf-test] progname <- getProgName
2061.03 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2061.03 s
[opt-env-conf-test] exitSuccess
2061.03 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2061.03 s
[opt-env-conf-test] progname <- getProgName
2061.03 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2061.03 s
[opt-env-conf-test] exitSuccess
2061.03 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2061.03 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2061.03 s
[opt-env-conf-test] exitSuccess
2061.03 s
[opt-env-conf-test] ParsedNormally a -> pure a
2061.03 s
[opt-env-conf-test]
2061.03 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.
2061.03 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2061.03 s
[opt-env-conf-test]
2061.03 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2061.03 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
2061.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2061.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2061.03 s
[opt-env-conf-test] exitFailure
2061.03 s
[opt-env-conf-test] Right i -> case i of
2061.03 s
[opt-env-conf-test] ShowVersion -> do
2061.03 s
[opt-env-conf-test] progname <- getProgName
2061.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2061.03 s
[opt-env-conf-test] exitSuccess
2061.03 s
[opt-env-conf-test] RenderMan -> do
2061.03 s
[opt-env-conf-test] progname <- getProgName
2061.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2061.04 s
[opt-env-conf-test] exitSuccess
2061.04 s
[opt-env-conf-test] - RenderDocumentation -> do
2061.04 s
[opt-env-conf-test] - progname <- getProgName
2061.04 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
2061.04 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2061.04 s
[opt-env-conf-test] - exitSuccess
2061.04 s
[opt-env-conf-test] RenderNixosOptions -> do
2061.04 s
[opt-env-conf-test] progname <- getProgName
2061.04 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2061.04 s
[opt-env-conf-test] exitSuccess
2061.04 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2061.04 s
[opt-env-conf-test] progname <- getProgName
2061.04 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2061.04 s
[opt-env-conf-test] exitSuccess
2061.04 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2061.04 s
[opt-env-conf-test] progname <- getProgName
2061.04 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2061.04 s
[opt-env-conf-test] exitSuccess
2061.04 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2061.04 s
[opt-env-conf-test] progname <- getProgName
2061.04 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2061.04 s
[opt-env-conf-test] exitSuccess
2061.04 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2061.04 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2061.04 s
[opt-env-conf-test] exitSuccess
2061.04 s
[opt-env-conf-test] ParsedNormally a -> pure a
2061.04 s
[opt-env-conf-test]
2061.04 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.
2061.04 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2061.04 s
[opt-env-conf-test]
2061.04 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2061.04 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
2061.04 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2061.04 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2061.04 s
[opt-env-conf-test] exitFailure
2061.04 s
[opt-env-conf-test] Right i -> case i of
2061.04 s
[opt-env-conf-test] ShowVersion -> do
2061.04 s
[opt-env-conf-test] progname <- getProgName
2061.04 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.04 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2061.04 s
[opt-env-conf-test] exitSuccess
2061.04 s
[opt-env-conf-test] - RenderMan -> do
2061.04 s
[opt-env-conf-test] - progname <- getProgName
2061.04 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
2061.04 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2061.04 s
[opt-env-conf-test] - exitSuccess
2061.04 s
[opt-env-conf-test] RenderDocumentation -> do
2061.04 s
[opt-env-conf-test] progname <- getProgName
2061.04 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.04 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2061.04 s
[opt-env-conf-test] exitSuccess
2061.04 s
[opt-env-conf-test] RenderNixosOptions -> do
2061.04 s
[opt-env-conf-test] progname <- getProgName
2061.04 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2061.04 s
[opt-env-conf-test] exitSuccess
2061.04 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2061.04 s
[opt-env-conf-test] progname <- getProgName
2061.04 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2061.04 s
[opt-env-conf-test] exitSuccess
2061.04 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2061.04 s
[opt-env-conf-test] progname <- getProgName
2061.04 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2061.04 s
[opt-env-conf-test] exitSuccess
2061.04 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2061.04 s
[opt-env-conf-test] progname <- getProgName
2061.05 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2061.05 s
[opt-env-conf-test] exitSuccess
2061.05 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2061.05 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2061.05 s
[opt-env-conf-test] exitSuccess
2061.05 s
[opt-env-conf-test] ParsedNormally a -> pure a
2061.05 s
[opt-env-conf-test]
2061.05 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.
2061.05 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:132:21-88
2061.05 s
[opt-env-conf-test] @@ -129,7 +129,6 @@
2061.05 s
[opt-env-conf-test] ShowVersion -> do
2061.05 s
[opt-env-conf-test] progname <- getProgName
2061.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.05 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2061.05 s
[opt-env-conf-test] exitSuccess
2061.05 s
[opt-env-conf-test] RenderMan -> do
2061.05 s
[opt-env-conf-test] progname <- getProgName
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:126:19-69
2061.05 s
[opt-env-conf-test] @@ -123,7 +123,6 @@
2061.05 s
[opt-env-conf-test] case errOrResult of
2061.05 s
[opt-env-conf-test] Left errs -> do
2061.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2061.05 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderErrors errs
2061.05 s
[opt-env-conf-test] exitFailure
2061.05 s
[opt-env-conf-test] Right i -> case i of
2061.05 s
[opt-env-conf-test] ShowVersion -> do
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:100:15-78
2061.05 s
[opt-env-conf-test] @@ -97,9 +97,6 @@
2061.05 s
[opt-env-conf-test] exitFailure
2061.05 s
[opt-env-conf-test] Right mCommandDoc -> do
2061.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.05 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ case mCommandDoc of
2061.05 s
[opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
2061.05 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
2061.05 s
[opt-env-conf-test] exitSuccess
2061.05 s
[opt-env-conf-test] else do
2061.05 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:100:48-78
2061.05 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
2061.05 s
[opt-env-conf-test] exitFailure
2061.05 s
[opt-env-conf-test] Right mCommandDoc -> do
2061.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2061.05 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
2061.05 s
[opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
2061.05 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
2061.05 s
[opt-env-conf-test] exitSuccess
2061.05 s
[opt-env-conf-test] else do
2061.05 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:83:12-21
2061.05 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
2061.05 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] mDebugMode <-
2061.05 s
[opt-env-conf-test] - if debugMode
2061.05 s
[opt-env-conf-test] + if n o t ( debugMode )
2061.05 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
2061.05 s
[opt-env-conf-test] else pure Nothing
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
2061.05 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
2061.05 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] mDebugMode <-
2061.05 s
[opt-env-conf-test] - if d e b ugM o d e
2061.05 s
[opt-env-conf-test] + if F al s e
2061.05 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
2061.05 s
[opt-env-conf-test] else pure Nothing
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
2061.05 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
2061.05 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] mDebugMode <-
2061.05 s
[opt-env-conf-test] - if d eb u gM o d e
2061.05 s
[opt-env-conf-test] + if T r u e
2061.05 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
2061.05 s
[opt-env-conf-test] else pure Nothing
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:175:18-23
2061.05 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
2061.05 s
[opt-env-conf-test] | x == arg -> (True, xs)
2061.05 s
[opt-env-conf-test] | otherwise ->
2061.05 s
[opt-env-conf-test] let (found, rest) = go xs
2061.05 s
[opt-env-conf-test] - i n (found , x : rest)
2061.05 s
[opt-env-conf-test] + i n ( n ot (found ) , x : rest)
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
2061.05 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
2061.05 s
[opt-env-conf-test]
2061.05 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:175:18-23
2061.06 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
2061.06 s
[opt-env-conf-test] | x == arg -> (True, xs)
2061.06 s
[opt-env-conf-test] | otherwise ->
2061.06 s
[opt-env-conf-test] let (found, rest) = go xs
2061.06 s
[opt-env-conf-test] - in ( f o u nd , x : rest)
2061.06 s
[opt-env-conf-test] + in ( Fal s e , x : rest)
2061.06 s
[opt-env-conf-test]
2061.06 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
2061.06 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
2061.06 s
[opt-env-conf-test]
2061.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:199:13-44
2061.06 s
[opt-env-conf-test] @@ -196,13 +196,12 @@
2061.06 s
[opt-env-conf-test] [] -> (caps, [])
2061.06 s
[opt-env-conf-test] (x : xs) ->
2061.06 s
[opt-env-conf-test] let t = T.pack x
2061.06 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
2061.06 s
[opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
2061.06 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
2061.06 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
2061.06 s
[opt-env-conf-test] Nothing ->
2061.06 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
2061.06 s
[opt-env-conf-test] in (finalCaps, x : rest)
2061.06 s
[opt-env-conf-test]
2061.06 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
2061.06 s
[opt-env-conf-test] -- is supposed to.
2061.06 s
[opt-env-conf-test]
2061.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:201:26-44
2061.06 s
[opt-env-conf-test] @@ -198,11 +198,10 @@
2061.06 s
[opt-env-conf-test] let t = T.pack x
2061.06 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
2061.06 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
2061.06 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
2061.06 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
2061.06 s
[opt-env-conf-test] Nothing ->
2061.06 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
2061.06 s
[opt-env-conf-test] in (finalCaps, x : rest)
2061.06 s
[opt-env-conf-test]
2061.06 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
2061.06 s
[opt-env-conf-test] -- is supposed to.
2061.06 s
[opt-env-conf-test]
2061.06 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:440:44-42
2061.06 s
[opt-env-conf-test] @@ -437,21 +437,20 @@
2061.06 s
[opt-env-conf-test] Just (a, _) -> do
2061.06 s
[opt-env-conf-test] debug ["set to default value"]
2061.06 s
[opt-env-conf-test] pure a -- Don't mark as parsed
2061.06 s
[opt-env-conf-test] Nothing -> do
2061.06 s
[opt-env-conf-test] let parseResultError e res = case res of
2061.06 s
[opt-env-conf-test] NotRun -> Nothing
2061.06 s
[opt-env-conf-test] NotFound -> Just e
2061.06 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
2061.06 s
[opt-env-conf-test] - debug ["not found"]
2061.06 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
2061.06 s
[opt-env-conf-test] NE.nonEmpty $
2061.06 s
[opt-env-conf-test] catMaybes
2061.06 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
2061.06 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
2061.06 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
2061.06 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
2061.06 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
2061.06 s
[opt-env-conf-test] ]
2061.06 s
[opt-env-conf-test]
2061.06 s
[opt-env-conf-test] withCapabilities ::
2061.06 s
[opt-env-conf-test] Maybe SrcLoc ->
2061.06 s
[opt-env-conf-test]
2061.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:441:64-59
2061.06 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
2061.06 s
[opt-env-conf-test] debug ["set to default value"]
2061.06 s
[opt-env-conf-test] pure a -- Don't mark as parsed
2061.06 s
[opt-env-conf-test] Nothing -> do
2061.06 s
[opt-env-conf-test] let parseResultError e res = case res of
2061.06 s
[opt-env-conf-test] NotRun -> Nothing
2061.06 s
[opt-env-conf-test] NotFound -> Just e
2061.06 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
2061.06 s
[opt-env-conf-test] debug ["not found"]
2061.06 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
2061.06 s
[opt-env-conf-test] NE.nonEmpty $
2061.06 s
[opt-env-conf-test]
2061.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:396:41-64
2061.06 s
[opt-env-conf-test] @@ -393,30 +393,29 @@
2061.06 s
[opt-env-conf-test] case mO' of
2061.06 s
[opt-env-conf-test] Nothing -> pure Nothing
2061.06 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
2061.06 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
2061.06 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2061.06 s
[opt-env-conf-test] Right mV -> case mV of
2061.06 s
[opt-env-conf-test] Nothing -> do
2061.06 s
[opt-env-conf-test] debug
2061.06 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
2061.06 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2061.06 s
[opt-env-conf-test] ]
2061.06 s
[opt-env-conf-test] pure Nothing
2061.06 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
2061.06 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2061.06 s
[opt-env-conf-test] Right mA -> case mA of
2061.06 s
[opt-env-conf-test] Nothing -> do
2061.06 s
[opt-env-conf-test] debug
2061.06 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
2061.06 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2061.06 s
[opt-env-conf-test] ]
2061.06 s
[opt-env-conf-test] pure Nothing
2061.06 s
[opt-env-conf-test] Just a -> do
2061.06 s
[opt-env-conf-test] debug
2061.06 s
[opt-env-conf-test] [ "set based on config value: ",
2061.06 s
[opt-env-conf-test] chunk $ T.pack $ show v
2061.06 s
[opt-env-conf-test] ]
2061.06 s
[opt-env-conf-test] pure $ Just a
2061.06 s
[opt-env-conf-test] let toRes = \case
2061.06 s
[opt-env-conf-test] Nothing -> NotFound
2061.06 s
[opt-env-conf-test] Just a -> Found a
2061.06 s
[opt-env-conf-test]
2061.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:405:55-64
2061.06 s
[opt-env-conf-test] @@ -402,21 +402,20 @@
2061.06 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2061.06 s
[opt-env-conf-test] ]
2061.06 s
[opt-env-conf-test] pure Nothing
2061.06 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
2061.06 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2061.06 s
[opt-env-conf-test] Right mA -> case mA of
2061.06 s
[opt-env-conf-test] Nothing -> do
2061.06 s
[opt-env-conf-test] debug
2061.06 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
2061.06 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2061.06 s
[opt-env-conf-test] ]
2061.06 s
[opt-env-conf-test] pure Nothing
2061.06 s
[opt-env-conf-test] Just a -> do
2061.06 s
[opt-env-conf-test] debug
2061.06 s
[opt-env-conf-test] [ "set based on config value: ",
2061.06 s
[opt-env-conf-test] chunk $ T.pack $ show v
2061.06 s
[opt-env-conf-test] ]
2061.06 s
[opt-env-conf-test] pure $ Just a
2061.06 s
[opt-env-conf-test] let toRes = \case
2061.06 s
[opt-env-conf-test] Nothing -> NotFound
2061.06 s
[opt-env-conf-test] Just a -> Found a
2061.06 s
[opt-env-conf-test]
2061.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:393:49-82
2061.06 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
2061.06 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
2061.06 s
[opt-env-conf-test] Just neRest -> do
2061.07 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
2061.07 s
[opt-env-conf-test] case mO' of
2061.07 s
[opt-env-conf-test] - Nothing -> pure Nothing
2061.07 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
2061.07 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
2061.07 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2061.07 s
[opt-env-conf-test] t (renderArg a), consumed)
2061.07 s
[opt-env-conf-test] ]
2061.07 s
[opt-env-conf-test] )
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] -- | Consume an option.
2061.07 s
[opt-env-conf-test] --
2061.07 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
2061.07 s
[opt-env-conf-test] @@ -201,7 +201,6 @@
2061.07 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2061.07 s
[opt-env-conf-test] ]
2061.07 s
[opt-env-conf-test] _ ->
2061.07 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2061.07 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2061.07 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2061.07 s
[opt-env-conf-test] ]
2061.07 s
[opt-env-conf-test] Right mV -> case mV of
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:224:38-20
2061.07 s
[opt-env-conf-test] @@ -221,15 +221,14 @@
2061.07 s
[opt-env-conf-test] Just c -> do
2061.07 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
2061.07 s
[opt-env-conf-test] go $ commandParser c
2061.07 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2061.07 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2061.07 s
[opt-env-conf-test] ppIndent $ do
2061.07 s
[opt-env-conf-test] debug ["loading config"]
2061.07 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
2061.07 s
[opt-env-conf-test] debug ["with loaded config"]
2061.07 s
[opt-env-conf-test] ppIndent $
2061.07 s
[opt-env-conf-test] local (\e -> e {ppEnvConf = mNewConfig}) $
2061.07 s
[opt-env-conf-test] go pa
2061.07 s
[opt-env-conf-test] ParserSetting mLoc set@Setting {..} -> do
2061.07 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
2061.07 s
[opt-env-conf-test] when (not (Set.null settingRequiredCapabilities)) $
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:221:27-39
2061.07 s
[opt-env-conf-test] @@ -218,9 +218,8 @@
2061.07 s
[opt-env-conf-test] Just s -> do
2061.07 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
2061.07 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
2061.07 s
[opt-env-conf-test] Just c -> do
2061.07 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
2061.07 s
[opt-env-conf-test] go $ commandParser c
2061.07 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2061.07 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2061.07 s
[opt-env-conf-test] ppIndent $ do
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:215:28-40
2061.07 s
[opt-env-conf-test] @@ -212,9 +212,8 @@
2061.07 s
[opt-env-conf-test] find ((== d) . commandArg) cs
2061.07 s
[opt-env-conf-test] case mDefaultCommand of
2061.07 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
2061.07 s
[opt-env-conf-test] Just dc -> do
2061.07 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
2061.07 s
[opt-env-conf-test] go $ commandParser dc
2061.07 s
[opt-env-conf-test] Just s -> do
2061.07 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
2061.07 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:195:29-70
2061.07 s
[opt-env-conf-test] @@ -192,9 +192,8 @@
2061.07 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
2061.07 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2061.07 s
[opt-env-conf-test] case errOrB of
2061.07 s
[opt-env-conf-test] Left err -> do
2061.07 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2061.07 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2061.07 s
[opt-env-conf-test] Right b -> do
2061.07 s
[opt-env-conf-test] debug ["succeeded"]
2061.07 s
[opt-env-conf-test] pure b
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:197:56-66
2061.07 s
[opt-env-conf-test] @@ -194,7 +194,7 @@
2061.07 s
[opt-env-conf-test] case errOrB of
2061.07 s
[opt-env-conf-test] Left err -> do
2061.07 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2061.07 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed f o rg iv a b l e err
2061.07 s
[opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed F a l s e err
2061.07 s
[opt-env-conf-test] Right b -> do
2061.07 s
[opt-env-conf-test] debug ["succeeded"]
2061.07 s
[opt-env-conf-test] pure b
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
2061.07 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
2061.07 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2061.07 s
[opt-env-conf-test] case errOrB of
2061.07 s
[opt-env-conf-test] Left err -> do
2061.07 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2061.07 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2061.07 s
[opt-env-conf-test] Right b -> do
2061.07 s
[opt-env-conf-test] debug ["succeeded"]
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
2061.07 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
2061.07 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2061.07 s
[opt-env-conf-test] case errOrB of
2061.07 s
[opt-env-conf-test] Left err -> do
2061.07 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2061.07 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2061.07 s
[opt-env-conf-test] Right b -> do
2061.07 s
[opt-env-conf-test] debug ["succeeded"]
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] Negate at src/OptEnvConf/Run.hs:196:72-82
2061.07 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
2061.07 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2061.07 s
[opt-env-conf-test] case errOrB of
2061.07 s
[opt-env-conf-test] Left err -> do
2061.07 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable ]
2061.07 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show n o t ( forgivable ) ]
2061.07 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2061.07 s
[opt-env-conf-test] Right b -> do
2061.07 s
[opt-env-conf-test] debug ["succeeded"]
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:196:72-82
2061.07 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
2061.07 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2061.07 s
[opt-env-conf-test] case errOrB of
2061.07 s
[opt-env-conf-test] Left err -> do
2061.07 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show f o r gi v a b l e]
2061.07 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show T r u e]
2061.07 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2061.07 s
[opt-env-conf-test] Right b -> do
2061.07 s
[opt-env-conf-test] debug ["succeeded"]
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:150:37-112
2061.07 s
[opt-env-conf-test] @@ -147,34 +147,33 @@
2061.07 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
2061.07 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2061.07 s
[opt-env-conf-test] pure (a :| as)
2061.07 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2061.07 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2061.07 s
[opt-env-conf-test] ppIndent $ do
2061.07 s
[opt-env-conf-test] e <- ask
2061.07 s
[opt-env-conf-test] s <- get
2061.07 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
2061.07 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
2061.07 s
[opt-env-conf-test] put s'
2061.07 s
[opt-env-conf-test] case result of
2061.07 s
[opt-env-conf-test] Success a -> pure a
2061.07 s
[opt-env-conf-test] Failure errs -> do
2061.07 s
[opt-env-conf-test] if not $ all errorIsForgivable errs
2061.07 s
[opt-env-conf-test] then ppErrors' errs
2061.07 s
[opt-env-conf-test] else do
2061.07 s
[opt-env-conf-test] -- Settings available below
2061.07 s
[opt-env-conf-test] let settingsMap = parserSettingsMap p'
2061.07 s
[opt-env-conf-test] -- Settings that have been parsed
2061.07 s
[opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
2061.07 s
[opt-env-conf-test] -- Settings that have been parsed below
2061.07 s
[opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
2061.07 s
[opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
2061.07 s
[opt-env-conf-test] -- (this is the case because we're in the failure branch)
2061.07 s
[opt-env-conf-test] -- with only forgivable errors
2061.07 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
2061.07 s
[opt-env-conf-test] -- then this should be an unforgivable error.
2061.07 s
[opt-env-conf-test] if null parsedSettingsMap
2061.07 s
[opt-env-conf-test] then ppErrors' errs
2061.07 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
2061.07 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
2061.07 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2061.07 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:18-50
2061.07 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
2061.07 s
[opt-env-conf-test] case result of
2061.07 s
[opt-env-conf-test] Success a -> pure a
2061.07 s
[opt-env-conf-test] Failure errs -> do
2061.07 s
[opt-env-conf-test] - if n ot $ al l errorI s Forgiva bl e e rrs
2061.07 s
[opt-env-conf-test] + if F al s e
2061.07 s
[opt-env-conf-test] then ppErrors' errs
2061.07 s
[opt-env-conf-test] else do
2061.07 s
[opt-env-conf-test] -- Settings available below
2061.07 s
[opt-env-conf-test]
2061.07 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:24-50
2061.07 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
2061.07 s
[opt-env-conf-test] case result of
2061.07 s
[opt-env-conf-test] Success a -> pure a
2061.07 s
[opt-env-conf-test] Failure errs -> do
2061.08 s
[opt-env-conf-test] - if not $ a l l err orIsFo r g i vab le e rrs
2061.08 s
[opt-env-conf-test] + if not $ T r u e
2061.08 s
[opt-env-conf-test] then ppErrors' errs
2061.08 s
[opt-env-conf-test] else do
2061.08 s
[opt-env-conf-test] -- Settings available below
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:143:29-25
2061.08 s
[opt-env-conf-test] @@ -140,13 +140,12 @@
2061.08 s
[opt-env-conf-test] Just a -> do
2061.08 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2061.08 s
[opt-env-conf-test] pure (a : as)
2061.08 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2061.08 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test] a <- go p'
2061.08 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
2061.08 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2061.08 s
[opt-env-conf-test] pure (a :| as)
2061.08 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:134:29-28
2061.08 s
[opt-env-conf-test] @@ -131,15 +131,14 @@
2061.08 s
[opt-env-conf-test] Nothing -> do
2061.08 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2061.08 s
[opt-env-conf-test] ppIndent $ go p2
2061.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2061.08 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test] eor <- tryPP $ go p'
2061.08 s
[opt-env-conf-test] case eor of
2061.08 s
[opt-env-conf-test] Nothing -> pure []
2061.08 s
[opt-env-conf-test] Just a -> do
2061.08 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2061.08 s
[opt-env-conf-test] pure (a : as)
2061.08 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
2061.08 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
2061.08 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2061.08 s
[opt-env-conf-test] ppIndent $ go p2
2061.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2061.08 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test] eor <- tryPP $ go p'
2061.08 s
[opt-env-conf-test] case eor of
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
2061.08 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
2061.08 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2061.08 s
[opt-env-conf-test] ppIndent $ go p2
2061.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2061.08 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test] eor <- tryPP $ go p'
2061.08 s
[opt-env-conf-test] case eor of
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
2061.08 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
2061.08 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2061.08 s
[opt-env-conf-test] ppIndent $ go p2
2061.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2061.08 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test] eor <- tryPP $ go p'
2061.08 s
[opt-env-conf-test] case eor of
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:122:26-31
2061.08 s
[opt-env-conf-test] @@ -119,18 +119,17 @@
2061.08 s
[opt-env-conf-test] ParserSelect fe ff -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
2061.08 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
2061.08 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2061.08 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test] debug ["Trying left side."]
2061.08 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
2061.08 s
[opt-env-conf-test] case eor of
2061.08 s
[opt-env-conf-test] Just a -> do
2061.08 s
[opt-env-conf-test] debug ["Left side succeeded."]
2061.08 s
[opt-env-conf-test] pure a
2061.08 s
[opt-env-conf-test] Nothing -> do
2061.08 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2061.08 s
[opt-env-conf-test] ppIndent $ go p2
2061.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:131:24-31
2061.08 s
[opt-env-conf-test] @@ -128,9 +128,8 @@
2061.08 s
[opt-env-conf-test] Just a -> do
2061.08 s
[opt-env-conf-test] debug ["Left side succeeded."]
2061.08 s
[opt-env-conf-test] pure a
2061.08 s
[opt-env-conf-test] Nothing -> do
2061.08 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
2061.08 s
[opt-env-conf-test] ppIndent $ go p2
2061.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:119:29-42
2061.08 s
[opt-env-conf-test] @@ -116,9 +116,8 @@
2061.08 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
2061.08 s
[opt-env-conf-test] ParserSelect fe ff -> do
2061.08 s
[opt-env-conf-test] - debug [syntaxChunk "Select"]
2061.08 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
2061.08 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "Alt"]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:116:27-37
2061.08 s
[opt-env-conf-test] @@ -113,9 +113,8 @@
2061.08 s
[opt-env-conf-test] ParserAp ff fa -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
2061.08 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
2061.08 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2061.08 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
2061.08 s
[opt-env-conf-test] ParserSelect fe ff -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
2061.08 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:113:25-35
2061.08 s
[opt-env-conf-test] @@ -110,9 +110,8 @@
2061.08 s
[opt-env-conf-test] ParserPure a -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
2061.08 s
[opt-env-conf-test] pure a
2061.08 s
[opt-env-conf-test] ParserAp ff fa -> do
2061.08 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
2061.08 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
2061.08 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:84:3-26
2061.08 s
[opt-env-conf-test] @@ -81,27 +81,26 @@
2061.08 s
[opt-env-conf-test] Nothing -> pure result
2061.08 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
2061.08 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
2061.08 s
[opt-env-conf-test] case mTup of
2061.08 s
[opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
2061.08 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
2061.08 s
[opt-env-conf-test] Success a -> pure (Right a)
2061.08 s
[opt-env-conf-test] Failure firstErrors ->
2061.08 s
[opt-env-conf-test] let goNexts ns = do
2061.08 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
2061.08 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
2061.08 s
[opt-env-conf-test] case mNext of
2061.08 s
[opt-env-conf-test] Nothing ->
2061.08 s
[opt-env-conf-test] pure $
2061.08 s
[opt-env-conf-test] Left $
2061.08 s
[opt-env-conf-test] -- Only show source locations in debug mode.
2061.08 s
[opt-env-conf-test] let f = case mDebugMode of
2061.08 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
2061.08 s
[opt-env-conf-test] Just _ -> id
2061.08 s
[opt-env-conf-test] in f firstErrors
2061.08 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
2061.08 s
[opt-env-conf-test] Success a -> pure (Right a)
2061.08 s
[opt-env-conf-test] Failure _ -> goNexts ns'
2061.08 s
[opt-env-conf-test] in goNexts nexts
2061.08 s
[opt-env-conf-test] where
2061.08 s
[opt-env-conf-test] go ::
2061.08 s
[opt-env-conf-test] Parser a ->
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:464:22-66
2061.08 s
[opt-env-conf-test] @@ -461,11 +461,8 @@
2061.08 s
[opt-env-conf-test] PP a
2061.08 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
2061.08 s
[opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
2061.08 s
[opt-env-conf-test] Just missings -> do
2061.08 s
[opt-env-conf-test] - debug $
2061.08 s
[opt-env-conf-test] - "Missing capabilities: "
2061.08 s
[opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
2061.08 s
[opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
2061.08 s
[opt-env-conf-test] Nothing -> func
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] data ParseResult a
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:477:21-21
2061.08 s
[opt-env-conf-test] @@ -474,9 +474,8 @@
2061.08 s
[opt-env-conf-test] | Found a
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
2061.08 s
[opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
2061.08 s
[opt-env-conf-test] - Nothing -> ppError Nothing ParseErrorNoReaders
2061.08 s
[opt-env-conf-test] Just ne -> pure ne
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] -- Try the readers in order
2061.08 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:568:44-43
2061.08 s
[opt-env-conf-test] @@ -565,12 +565,11 @@
2061.08 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ go p'
2061.08 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2061.08 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test] mNewConfig <- go pc
2061.08 s
[opt-env-conf-test] mRes <- go pa
2061.08 s
[opt-env-conf-test] pure $ mRes <|> mNewConfig -- Reverse order
2061.08 s
[opt-env-conf-test] ParserSetting mLoc _ -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] pure Nothing
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:565:42-31
2061.08 s
[opt-env-conf-test] @@ -562,9 +562,8 @@
2061.08 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ go p'
2061.08 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
2061.08 s
[opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ go p'
2061.08 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2061.08 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2061.08 s
[opt-env-conf-test] ppIndent $ do
2061.08 s
[opt-env-conf-test]
2061.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:562:43-31
2061.08 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
2061.09 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2061.09 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2061.09 s
[opt-env-conf-test] ppIndent $ go p'
2061.09 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2061.09 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2061.09 s
[opt-env-conf-test] ppIndent $ go p'
2061.09 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
2061.09 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2061.09 s
[opt-env-conf-test] ppIndent $ go p'
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:544:32-37
2061.09 s
[opt-env-conf-test] @@ -541,18 +541,17 @@
2061.09 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2061.09 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2061.09 s
[opt-env-conf-test] pure Nothing
2061.09 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2061.09 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
2061.09 s
[opt-env-conf-test] ppIndent $ do
2061.09 s
[opt-env-conf-test] debug ["Trying left side."]
2061.09 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
2061.09 s
[opt-env-conf-test] case eor of
2061.09 s
[opt-env-conf-test] Just a -> do
2061.09 s
[opt-env-conf-test] debug ["Left side succeeded."]
2061.09 s
[opt-env-conf-test] pure a
2061.09 s
[opt-env-conf-test] Nothing -> do
2061.09 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2061.09 s
[opt-env-conf-test] ppIndent $ go p2
2061.09 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2061.09 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2061.09 s
[opt-env-conf-test] ppIndent $ go p'
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:549:17-37
2061.09 s
[opt-env-conf-test] @@ -546,13 +546,10 @@
2061.09 s
[opt-env-conf-test] ppIndent $ do
2061.09 s
[opt-env-conf-test] debug ["Trying left side."]
2061.09 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
2061.09 s
[opt-env-conf-test] case eor of
2061.09 s
[opt-env-conf-test] Just a -> do
2061.09 s
[opt-env-conf-test] debug ["Left side succeeded."]
2061.09 s
[opt-env-conf-test] pure a
2061.09 s
[opt-env-conf-test] - Nothing -> do
2061.09 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
2061.09 s
[opt-env-conf-test] - ppIndent $ go p2
2061.09 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2061.09 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2061.09 s
[opt-env-conf-test] ppIndent $ go p'
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:529:31-33
2061.09 s
[opt-env-conf-test] @@ -526,12 +526,11 @@
2061.09 s
[opt-env-conf-test] ParserPure _ -> do
2061.09 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
2061.09 s
[opt-env-conf-test] pure Nothing
2061.09 s
[opt-env-conf-test] ParserAp ff fa -> do
2061.09 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
2061.09 s
[opt-env-conf-test] ppIndent $ do
2061.09 s
[opt-env-conf-test] mf <- go ff
2061.09 s
[opt-env-conf-test] ma <- go fa
2061.09 s
[opt-env-conf-test] pure $ ma <|> mf -- Reverse order
2061.09 s
[opt-env-conf-test] ParserSelect fe ff -> do
2061.09 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
2061.09 s
[opt-env-conf-test] ppIndent $ do
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:514:3-35
2061.09 s
[opt-env-conf-test] @@ -511,11 +511,10 @@
2061.09 s
[opt-env-conf-test] ppEnvIndent = 0
2061.09 s
[opt-env-conf-test] }
2061.09 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
2061.09 s
[opt-env-conf-test] case mResOrNext of
2061.09 s
[opt-env-conf-test] - Nothing -> pure $ Right Nothing
2061.09 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
2061.09 s
[opt-env-conf-test] Failure errs -> Left errs
2061.09 s
[opt-env-conf-test] Success mDocs -> Right mDocs
2061.09 s
[opt-env-conf-test] where
2061.09 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
2061.09 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:516:37-35
2061.09 s
[opt-env-conf-test] @@ -513,9 +513,8 @@
2061.09 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
2061.09 s
[opt-env-conf-test] case mResOrNext of
2061.09 s
[opt-env-conf-test] Nothing -> pure $ Right Nothing
2061.09 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
2061.09 s
[opt-env-conf-test] - Failure errs -> Left errs
2061.09 s
[opt-env-conf-test] Success mDocs -> Right mDocs
2061.09 s
[opt-env-conf-test] where
2061.09 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
2061.09 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Run.hs:511:27-28
2061.09 s
[opt-env-conf-test] @@ -508,7 +508,7 @@
2061.09 s
[opt-env-conf-test] { ppEnvEnv = EnvMap.empty,
2061.09 s
[opt-env-conf-test] ppEnvConf = Nothing,
2061.09 s
[opt-env-conf-test] ppEnvDebug = mDebugMode,
2061.09 s
[opt-env-conf-test] - ppEnvIndent = 0
2061.09 s
[opt-env-conf-test] + ppEnvIndent = 1
2061.09 s
[opt-env-conf-test] }
2061.09 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
2061.09 s
[opt-env-conf-test] case mResOrNext of
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:370:15-16
2061.09 s
[opt-env-conf-test] @@ -367,11 +367,10 @@
2061.09 s
[opt-env-conf-test] | not (null commandDocs)
2061.09 s
[opt-env-conf-test] ],
2061.09 s
[opt-env-conf-test] concat
2061.09 s
[opt-env-conf-test] [ [ headerChunks "Options",
2061.09 s
[opt-env-conf-test] renderLongOptDocs optDocs
2061.09 s
[opt-env-conf-test] ]
2061.09 s
[opt-env-conf-test] - | not (nullDocs optDocs)
2061.09 s
[opt-env-conf-test] ],
2061.09 s
[opt-env-conf-test] concat
2061.09 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
2061.09 s
[opt-env-conf-test] renderEnvDocs envDocs
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:373:17-39
2061.09 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2061.09 s
[opt-env-conf-test] [ [ headerChunks "Options",
2061.09 s
[opt-env-conf-test] renderLongOptDocs optDocs
2061.09 s
[opt-env-conf-test] ]
2061.09 s
[opt-env-conf-test] - | n o t ( n u l lDo cs opt Doc s )
2061.09 s
[opt-env-conf-test] + | Tr u e
2061.09 s
[opt-env-conf-test] ],
2061.09 s
[opt-env-conf-test] concat
2061.09 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:329:15-16
2061.09 s
[opt-env-conf-test] @@ -326,11 +326,10 @@
2061.09 s
[opt-env-conf-test] | not (null commandDocs)
2061.09 s
[opt-env-conf-test] ],
2061.09 s
[opt-env-conf-test] concat
2061.09 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
2061.09 s
[opt-env-conf-test] renderLongOptDocs optDocs
2061.09 s
[opt-env-conf-test] ]
2061.09 s
[opt-env-conf-test] - | not (nullDocs optDocs)
2061.09 s
[opt-env-conf-test] ],
2061.09 s
[opt-env-conf-test] concat
2061.09 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
2061.09 s
[opt-env-conf-test] renderEnvDocs envDocs
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:332:17-39
2061.09 s
[opt-env-conf-test] @@ -329,7 +329,7 @@
2061.09 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
2061.09 s
[opt-env-conf-test] renderLongOptDocs optDocs
2061.09 s
[opt-env-conf-test] ]
2061.09 s
[opt-env-conf-test] - | n o t ( n u l lDo cs opt Doc s )
2061.09 s
[opt-env-conf-test] + | Tr u e
2061.09 s
[opt-env-conf-test] ],
2061.09 s
[opt-env-conf-test] concat
2061.09 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:568:9-20
2061.09 s
[opt-env-conf-test] @@ -565,21 +565,20 @@
2061.09 s
[opt-env-conf-test] [] -> []
2061.09 s
[opt-env-conf-test] [d] -> go isTopLevel d
2061.09 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2061.09 s
[opt-env-conf-test] case setDocHelp d of
2061.09 s
[opt-env-conf-test] - Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
2061.09 s
[opt-env-conf-test] Just h ->
2061.09 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
2061.09 s
[opt-env-conf-test] in concat
2061.09 s
[opt-env-conf-test] [ concat
2061.09 s
[opt-env-conf-test] [ concat
2061.09 s
[opt-env-conf-test] [ indent $ renderSetDocHeader (Just h),
2061.09 s
[opt-env-conf-test] indent $ concatMap renderSetDocWithoutHeader $ d : sds,
2061.09 s
[opt-env-conf-test] [[]]
2061.09 s
[opt-env-conf-test] ]
2061.09 s
[opt-env-conf-test] | not isTopLevel
2061.09 s
[opt-env-conf-test] ],
2061.09 s
[opt-env-conf-test] goOr isTopLevel rest
2061.09 s
[opt-env-conf-test] ]
2061.09 s
[opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
2061.09 s
[opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
2061.09 s
[opt-env-conf-test] goSameHelp h = \case
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:581:26-36
2061.09 s
[opt-env-conf-test] @@ -578,7 +578,7 @@
2061.09 s
[opt-env-conf-test] ]
2061.09 s
[opt-env-conf-test] | not isTopLevel
2061.09 s
[opt-env-conf-test] ],
2061.09 s
[opt-env-conf-test] - goOr i s T o pL e v e l rest
2061.09 s
[opt-env-conf-test] + goOr T ru e rest
2061.09 s
[opt-env-conf-test] ]
2061.09 s
[opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
2061.09 s
[opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] Negate at src/OptEnvConf/Doc.hs:566:17-27
2061.09 s
[opt-env-conf-test] @@ -563,7 +563,7 @@
2061.09 s
[opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
2061.09 s
[opt-env-conf-test] goOr isTopLevel = \case
2061.09 s
[opt-env-conf-test] [] -> []
2061.09 s
[opt-env-conf-test] - [d] -> g o isTopLevel d
2061.09 s
[opt-env-conf-test] + [d] -> g o n o t ( isTopLevel ) d
2061.09 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2061.09 s
[opt-env-conf-test] case setDocHelp d of
2061.09 s
[opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:566:17-27
2061.09 s
[opt-env-conf-test] @@ -563,7 +563,7 @@
2061.09 s
[opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
2061.09 s
[opt-env-conf-test] goOr isTopLevel = \case
2061.09 s
[opt-env-conf-test] [] -> []
2061.09 s
[opt-env-conf-test] - [d] -> go i s T o pL e v e l d
2061.09 s
[opt-env-conf-test] + [d] -> go T ru e d
2061.09 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2061.09 s
[opt-env-conf-test] case setDocHelp d of
2061.09 s
[opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:588:12-34
2061.09 s
[opt-env-conf-test] @@ -585,7 +585,7 @@
2061.09 s
[opt-env-conf-test] goSameHelp h = \case
2061.09 s
[opt-env-conf-test] [] -> ([], [])
2061.09 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2061.09 s
[opt-env-conf-test] - if s e tDo cHelp d = = J u s t h
2061.09 s
[opt-env-conf-test] + if T r u e
2061.09 s
[opt-env-conf-test] then
2061.09 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
2061.09 s
[opt-env-conf-test] in (d : sds, rest)
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:532:13-50
2061.09 s
[opt-env-conf-test] @@ -529,12 +529,11 @@
2061.09 s
[opt-env-conf-test] [] -> []
2061.09 s
[opt-env-conf-test] [d] -> [go' d]
2061.09 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2061.09 s
[opt-env-conf-test] case setDocHelp d of
2061.09 s
[opt-env-conf-test] - Nothing -> go' (AnyDocsSingle d) : goOr' ds
2061.09 s
[opt-env-conf-test] Just h ->
2061.09 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
2061.09 s
[opt-env-conf-test] ne = d :| sds
2061.09 s
[opt-env-conf-test] in AnyDocsSingle ne : goOr' rest
2061.09 s
[opt-env-conf-test] (d : ds) -> go' d : goOr' ds
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] renderCommandDocs :: AnyDocs (Maybe SetDoc) -> [Chunk]
2061.09 s
[opt-env-conf-test]
2061.09 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:259:17-26
2061.09 s
[opt-env-conf-test] @@ -256,18 +256,16 @@
2061.09 s
[opt-env-conf-test] concat
2061.09 s
[opt-env-conf-test] [ concatMap
2061.09 s
[opt-env-conf-test] ( \(key, schema) ->
2061.09 s
[opt-env-conf-test] case jsonSchemaChunkLines schema of
2061.09 s
[opt-env-conf-test] - [line] ->
2061.09 s
[opt-env-conf-test] - [["config: ", confValChunk key, ": "] ++ line]
2061.09 s
[opt-env-conf-test] ls ->
2061.10 s
[opt-env-conf-test] ["config:"]
2061.10 s
[opt-env-conf-test] : indent
2061.10 s
[opt-env-conf-test] ( case ls of
2061.10 s
[opt-env-conf-test] [] -> [["TODO"]]
2061.10 s
[opt-env-conf-test] (l : ll) ->
2061.10 s
[opt-env-conf-test] ([confValChunk key, ": "] ++ l)
2061.10 s
[opt-env-conf-test] : indent ll
2061.10 s
[opt-env-conf-test] )
2061.10 s
[opt-env-conf-test] )
2061.10 s
[opt-env-conf-test] (NE.toList confs)
2061.10 s
[opt-env-conf-test] | confs <- maybeToList setDocConfKeys
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:265:27-44
2061.10 s
[opt-env-conf-test] @@ -262,11 +262,10 @@
2061.10 s
[opt-env-conf-test] ls ->
2061.10 s
[opt-env-conf-test] ["config:"]
2061.10 s
[opt-env-conf-test] : indent
2061.10 s
[opt-env-conf-test] ( case ls of
2061.10 s
[opt-env-conf-test] - [] -> [["TODO"]]
2061.10 s
[opt-env-conf-test] (l : ll) ->
2061.10 s
[opt-env-conf-test] ([confValChunk key, ": "] ++ l)
2061.10 s
[opt-env-conf-test] : indent ll
2061.10 s
[opt-env-conf-test] )
2061.10 s
[opt-env-conf-test] )
2061.10 s
[opt-env-conf-test] (NE.toList confs)
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:661:30-18
2061.10 s
[opt-env-conf-test] @@ -658,29 +658,28 @@
2061.10 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2061.10 s
[opt-env-conf-test] [] -> Nothing
2061.10 s
[opt-env-conf-test] cs -> Just $ bracketise $ unwordsChunks $ intersperse [orChunk] cs
2061.10 s
[opt-env-conf-test] AnyDocsSingle mOd -> case mOd of
2061.10 s
[opt-env-conf-test] - Nothing -> Nothing
2061.10 s
[opt-env-conf-test] Just OptDoc {..} ->
2061.10 s
[opt-env-conf-test] Just
2061.10 s
[opt-env-conf-test] $ ( if isJust optDocDefault
2061.10 s
[opt-env-conf-test] then bracketise
2061.10 s
[opt-env-conf-test] else id
2061.10 s
[opt-env-conf-test] )
2061.10 s
[opt-env-conf-test] $ unwordsChunks
2061.10 s
[opt-env-conf-test] $ concat
2061.10 s
[opt-env-conf-test] [ [ [mMetavarChunk optDocMetavar]
2061.10 s
[opt-env-conf-test] | optDocTryArgument
2061.10 s
[opt-env-conf-test] ],
2061.10 s
[opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds
2061.10 s
[opt-env-conf-test] | optDocTrySwitch
2061.10 s
[opt-env-conf-test] ],
2061.10 s
[opt-env-conf-test] [ concat
2061.10 s
[opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds,
2061.10 s
[opt-env-conf-test] [" ", mMetavarChunk optDocMetavar]
2061.10 s
[opt-env-conf-test] ]
2061.10 s
[opt-env-conf-test] | optDocTryOption
2061.10 s
[opt-env-conf-test] ]
2061.10 s
[opt-env-conf-test] ]
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] orChunk :: Chunk
2061.10 s
[opt-env-conf-test] orChunk = fore cyan "|"
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
2061.10 s
[opt-env-conf-test] @@ -650,10 +650,9 @@
2061.10 s
[opt-env-conf-test] Nothing -> Just ["COMMAND"]
2061.10 s
[opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
2061.10 s
[opt-env-conf-test] AnyDocsAnd ds ->
2061.10 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2061.10 s
[opt-env-conf-test] [] -> Nothing
2061.10 s
[opt-env-conf-test] - [c] -> Just c
2061.10 s
[opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
2061.10 s
[opt-env-conf-test] AnyDocsOr ds ->
2061.10 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2061.10 s
[opt-env-conf-test] [] -> Nothing
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
2061.10 s
[opt-env-conf-test] @@ -650,10 +650,9 @@
2061.10 s
[opt-env-conf-test] Nothing -> Just ["COMMAND"]
2061.10 s
[opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
2061.10 s
[opt-env-conf-test] AnyDocsAnd ds ->
2061.10 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2061.10 s
[opt-env-conf-test] - [] -> Nothing
2061.10 s
[opt-env-conf-test] [c] -> Just c
2061.10 s
[opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
2061.10 s
[opt-env-conf-test] AnyDocsOr ds ->
2061.10 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2061.10 s
[opt-env-conf-test] [] -> Nothing
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:656:30-31
2061.10 s
[opt-env-conf-test] @@ -653,7 +653,7 @@
2061.10 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2061.10 s
[opt-env-conf-test] [] -> Nothing
2061.10 s
[opt-env-conf-test] [c] -> Just c
2061.10 s
[opt-env-conf-test] - cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
2061.10 s
[opt-env-conf-test] + cs -> Just $ (if F a ls e then parenthesise else id) $ unwordsChunks cs
2061.10 s
[opt-env-conf-test] AnyDocsOr ds ->
2061.10 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2061.10 s
[opt-env-conf-test] [] -> Nothing
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Doc.hs:637:38-43
2061.10 s
[opt-env-conf-test] @@ -634,7 +634,7 @@
2061.10 s
[opt-env-conf-test] withoutNothings =
2061.10 s
[opt-env-conf-test] filter
2061.10 s
[opt-env-conf-test] ( \case
2061.10 s
[opt-env-conf-test] - AnyDocsSingle Nothing -> F al s e
2061.10 s
[opt-env-conf-test] + AnyDocsSingle Nothing -> T ru e
2061.10 s
[opt-env-conf-test] AnyDocsAnd [] -> False
2061.10 s
[opt-env-conf-test] AnyDocsOr [] -> False
2061.10 s
[opt-env-conf-test] _ -> True
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:822:13-52
2061.10 s
[opt-env-conf-test] @@ -819,11 +819,9 @@
2061.10 s
[opt-env-conf-test] [exampleValuesChunks confDocExamples | not (null confDocExamples)],
2061.10 s
[opt-env-conf-test] concatMap
2061.10 s
[opt-env-conf-test] ( \(key, schema) ->
2061.10 s
[opt-env-conf-test] case jsonSchemaChunkLines schema of
2061.10 s
[opt-env-conf-test] - [line] ->
2061.10 s
[opt-env-conf-test] - [[confValChunk key, ": "] ++ line]
2061.10 s
[opt-env-conf-test] ls ->
2061.10 s
[opt-env-conf-test] [confValChunk key, ":"] : indent ls
2061.10 s
[opt-env-conf-test] )
2061.10 s
[opt-env-conf-test] (NE.toList confDocKeys)
2061.10 s
[opt-env-conf-test] ]
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:144:22-46
2061.10 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2061.10 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
2061.10 s
[opt-env-conf-test] salt
2061.10 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
2061.10 s
[opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
2061.10 s
[opt-env-conf-test] + `hashWithSalt` n o t ( envVarSettingAllowPrefix )
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2061.10 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
2061.10 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2061.10 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
2061.10 s
[opt-env-conf-test] salt
2061.10 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
2061.10 s
[opt-env-conf-test] - `hashWithSalt` e n v V a r Settin gAl l o w Pr e f ix
2061.10 s
[opt-env-conf-test] + `hashWithSalt` F a l s e
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2061.10 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
2061.10 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2061.10 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
2061.10 s
[opt-env-conf-test] salt
2061.10 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
2061.10 s
[opt-env-conf-test] - `hashWithSalt` e n v Var Settin gAllow P r e fix
2061.10 s
[opt-env-conf-test] + `hashWithSalt` T r u e
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2061.10 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:136:5-29
2061.10 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] data EnvVarSetting = EnvVarSetting
2061.10 s
[opt-env-conf-test] { envVarSettingVar :: !String,
2061.10 s
[opt-env-conf-test] - e n v Var Settin gAllow P r e fi x :: !Bool
2061.10 s
[opt-env-conf-test] + T r u e :: !Bool
2061.10 s
[opt-env-conf-test] }
2061.10 s
[opt-env-conf-test] deriving (Show, Eq)
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test]
2061.10 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:159:5-32
2061.10 s
[opt-env-conf-test] @@ -156,7 +156,7 @@
2061.10 s
[opt-env-conf-test] = forall void.
2061.10 s
[opt-env-conf-test] ConfigValSetting
2061.11 s
[opt-env-conf-test] { configValSettingPath :: !(NonEmpty String),
2061.11 s
[opt-env-conf-test] - c o nf igV al S ett ingAllo wP r e fi x :: !Bool,
2061.11 s
[opt-env-conf-test] + T r u e :: !Bool,
2061.11 s
[opt-env-conf-test] configValSettingCodec :: !(ValueCodec void (Maybe a))
2061.11 s
[opt-env-conf-test] }
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:128:24-40
2061.11 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2061.11 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2061.11 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2061.11 s
[opt-env-conf-test] - `hashWithSalt` settingTryOption
2061.11 s
[opt-env-conf-test] + `hashWithSalt` n o t ( settingTryOption )
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2061.11 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2061.11 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
2061.11 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2061.11 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2061.11 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2061.11 s
[opt-env-conf-test] - `hashWithSalt` se tt ingT ryOption
2061.11 s
[opt-env-conf-test] + `hashWithSalt` F a l se
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2061.11 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2061.11 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
2061.11 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2061.11 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2061.11 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2061.11 s
[opt-env-conf-test] - `hashWithSalt` s e tt in g Tr y Opti on
2061.11 s
[opt-env-conf-test] + `hashWithSalt` Tr ue
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2061.11 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2061.11 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:127:24-49
2061.11 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
2061.11 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2061.11 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2061.11 s
[opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
2061.11 s
[opt-env-conf-test] + `hashWithSalt` n o t ( isJust settingSwitchValue )
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2061.11 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
2061.11 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
2061.11 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2061.11 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2061.11 s
[opt-env-conf-test] - `hashWithSalt` i s Jus t s e tti ngSwit chV al u e
2061.11 s
[opt-env-conf-test] + `hashWithSalt` F al s e
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2061.11 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
2061.11 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
2061.11 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2061.11 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2061.11 s
[opt-env-conf-test] - `hashWithSalt` i s J u s t s e t tin gSwitchValue
2061.11 s
[opt-env-conf-test] + `hashWithSalt` Tr u e
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2061.11 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:125:24-42
2061.11 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
2061.11 s
[opt-env-conf-test] SettingHash
2061.11 s
[opt-env-conf-test] ( 42
2061.11 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2061.11 s
[opt-env-conf-test] - `hashWithSalt` settingTryArgument
2061.11 s
[opt-env-conf-test] + `hashWithSalt` n o t ( settingTryArgument )
2061.11 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2061.11 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
2061.11 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
2061.11 s
[opt-env-conf-test] SettingHash
2061.11 s
[opt-env-conf-test] ( 42
2061.11 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2061.11 s
[opt-env-conf-test] - `hashWithSalt` se tt ingTr yArgument
2061.11 s
[opt-env-conf-test] + `hashWithSalt` F a l se
2061.11 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2061.11 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
2061.11 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
2061.11 s
[opt-env-conf-test] SettingHash
2061.11 s
[opt-env-conf-test] ( 42
2061.11 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2061.11 s
[opt-env-conf-test] - `hashWithSalt` s e tt ing T ry A r g u m e n t
2061.11 s
[opt-env-conf-test] + `hashWithSalt` T r u e
2061.11 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2061.11 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2061.11 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:148:6-32
2061.11 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2061.11 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2061.11 s
[opt-env-conf-test] - if e n vV arS etting Al l owP r efi x e
2061.11 s
[opt-env-conf-test] + if T r u e
2061.11 s
[opt-env-conf-test] then e {envVarSettingVar = prefix <> envVarSettingVar e}
2061.11 s
[opt-env-conf-test] else e
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:165:6-35
2061.11 s
[opt-env-conf-test] @@ -162,7 +162,7 @@
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] prefixConfigValSetting :: String -> ConfigValSetting a -> ConfigValSetting a
2061.11 s
[opt-env-conf-test] prefixConfigValSetting prefix c =
2061.11 s
[opt-env-conf-test] - if c o nf ig V alSetti ngAllow P r e fi x c
2061.11 s
[opt-env-conf-test] + if T r u e
2061.11 s
[opt-env-conf-test] then c {configValSettingPath = prefix NE.<| configValSettingPath c}
2061.11 s
[opt-env-conf-test] else c
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Setting.hs:173:30-39
2061.11 s
[opt-env-conf-test] @@ -170,9 +170,8 @@
2061.11 s
[opt-env-conf-test] suffixConfigValSettingKey suffix c = c {configValSettingPath = suffixPath $ configValSettingPath c}
2061.11 s
[opt-env-conf-test] where
2061.11 s
[opt-env-conf-test] suffixPath :: NonEmpty String -> NonEmpty String
2061.11 s
[opt-env-conf-test] suffixPath (f :| rest) = case NE.nonEmpty rest of
2061.11 s
[opt-env-conf-test] Nothing -> (f <> suffix) :| []
2061.11 s
[opt-env-conf-test] - Just ne -> f NE.<| suffixPath ne
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] -- | A 'mempty' 'Setting' to build up a setting from.
2061.11 s
[opt-env-conf-test] emptySetting :: Setting a
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:67:3-96
2061.11 s
[opt-env-conf-test] @@ -64,10 +64,8 @@
2061.11 s
[opt-env-conf-test]
2061.11 s
[opt-env-conf-test] parserLintTest :: Parser a -> IO ()
2061.11 s
[opt-env-conf-test] parserLintTest parser =
2061.11 s
[opt-env-conf-test] case lintParser parser of
2061.11 s
[opt-env-conf-test] Nothing -> pure ()
2061.11 s
[opt-env-conf-test] - Just errs ->
2061.11 s
[opt-env-conf-test] - expectationFailure $ T.unpack $ renderChunksText With24BitColours $ renderLintErrors errs
2061.11 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] settingsParserArgsTest :: (Show a, Eq a, HasParser a) => [String] -> a -> IO ()
2061.12 s
[opt-env-conf-test] settingsParserArgsTest = parserArgsTest settingsParser
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:149:13-24
2061.12 s
[opt-env-conf-test] @@ -146,14 +146,13 @@
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] generatedFileComment :: CallStack -> T.Text
2061.12 s
[opt-env-conf-test] generatedFileComment cs =
2061.12 s
[opt-env-conf-test] let loc = case getCallStack cs of
2061.12 s
[opt-env-conf-test] (_, srcLoc) : _ ->
2061.12 s
[opt-env-conf-test] packageName (Stack.srcLocPackage srcLoc)
2061.12 s
[opt-env-conf-test] <> ":"
2061.12 s
[opt-env-conf-test] <> Stack.srcLocFile srcLoc
2061.12 s
[opt-env-conf-test] <> ":"
2061.12 s
[opt-env-conf-test] <> show (Stack.srcLocStartLine srcLoc)
2061.12 s
[opt-env-conf-test] - [] -> "unknown"
2061.12 s
[opt-env-conf-test] in T.pack $
2061.12 s
[opt-env-conf-test] unlines $
2061.12 s
[opt-env-conf-test] map
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:19-84
2061.12 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2061.12 s
[opt-env-conf-test] where
2061.12 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2061.12 s
[opt-env-conf-test] go (c : rest) = c : go rest
2061.12 s
[opt-env-conf-test] - isVersion v = not (null v) & & elem '.' v && all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test] + isVersion v = not (null v) | | elem '.' v && all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:35-84
2061.12 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2061.12 s
[opt-env-conf-test] where
2061.12 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2061.12 s
[opt-env-conf-test] go (c : rest) = c : go rest
2061.12 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v & & all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v | | all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-84
2061.12 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2061.12 s
[opt-env-conf-test] where
2061.12 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2061.12 s
[opt-env-conf-test] go (c : rest) = c : go rest
2061.12 s
[opt-env-conf-test] - isVersion v = not (null v) && e l em '.' v && all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test] + isVersion v = not (null v) && T r u e
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:49-84
2061.12 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2061.12 s
[opt-env-conf-test] where
2061.12 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2061.12 s
[opt-env-conf-test] go (c : rest) = c : go rest
2061.12 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && a l l (\c - > i s Di g it c || c == '.') v
2061.12 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && Tru e
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-81
2061.12 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2061.12 s
[opt-env-conf-test] where
2061.12 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2061.12 s
[opt-env-conf-test] go (c : rest) = c : go rest
2061.12 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isD igit c || c == '. ' ) v
2061.12 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> T r ue ) v
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:73-81
2061.12 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2061.12 s
[opt-env-conf-test] where
2061.12 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2061.12 s
[opt-env-conf-test] go (c : rest) = c : go rest
2061.12 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == ' . ' ) v
2061.12 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || T ru e ) v
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-69
2061.12 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2061.12 s
[opt-env-conf-test] where
2061.12 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2061.12 s
[opt-env-conf-test] go (c : rest) = c : go rest
2061.12 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isD igi t c || c == '.') v
2061.12 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> T r ue || c == '.') v
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-45
2061.12 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2061.12 s
[opt-env-conf-test] where
2061.12 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2061.12 s
[opt-env-conf-test] go (c : rest) = c : go rest
2061.12 s
[opt-env-conf-test] - isVersion v = not (null v) && e l e m '. ' v && all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test] + isVersion v = not (null v) && T ru e && all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:19-31
2061.12 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2061.12 s
[opt-env-conf-test] where
2061.12 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2061.12 s
[opt-env-conf-test] go (c : rest) = c : go rest
2061.12 s
[opt-env-conf-test] - isVersion v = n o t (n u l l v) && elem '.' v && all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test] + isVersion v = T r u e && elem '.' v && all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:23-31
2061.12 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2061.12 s
[opt-env-conf-test] where
2061.12 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2061.12 s
[opt-env-conf-test] go (c : rest) = c : go rest
2061.12 s
[opt-env-conf-test] - isVersion v = not ( n u l l v ) && elem '.' v && all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test] + isVersion v = not Fa l s e && elem '.' v && all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test]
2061.12 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:24-30
2061.12 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2061.12 s
[opt-env-conf-test] where
2061.12 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2061.12 s
[opt-env-conf-test] go (c : rest) = c : go rest
2061.12 s
[opt-env-conf-test] - isVersion v = not ( n u l l v ) && elem '.' v && all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test] + isVersion v = not ( F a l s e ) && elem '.' v && all (\c -> isDigit c || c == '.') v
2061.12 s
[opt-env-conf-test] checkPhase completed in 27 minutes 14 seconds
2061.12 s
[opt-env-conf-test] Phase: haddockPhase
2061.12 s
[opt-env-conf-test] Phase: installPhase
2061.12 s
[opt-env-conf-test] Installing library in /nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-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-3WilUK79pGbKEOnYVCQCp5
2061.75 s
[opt-env-conf-test] Phase: fixupPhase
2061.79 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-opt-env-conf-test-0.0.0.4
2061.80 s
[opt-env-conf-test] shrinking /nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-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-3WilUK79pGbKEOnYVCQCp5-ghc9.10.3.so
2061.86 s
[opt-env-conf-test] shrinking /nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-opt-env-conf-test-0.0.0.4/bin/opt-env-conf-test
2061.92 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-opt-env-conf-test-0.0.0.4...
2062.00 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-opt-env-conf-test-0.0.0.4
2062.01 s
[opt-env-conf-test] stripping (with command strip and flags -S -p) in /nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-opt-env-conf-test-0.0.0.4/lib /nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-opt-env-conf-test-0.0.0.4/bin
2062.21 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/yci3h85gq46pjcdai8vnijc204hc845f-opt-env-conf-test-0.0.0.4-manifest
2062.21 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/yci3h85gq46pjcdai8vnijc204hc845f-opt-env-conf-test-0.0.0.4-manifest...
2062.23 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/yci3h85gq46pjcdai8vnijc204hc845f-opt-env-conf-test-0.0.0.4-manifest
2062.24 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/vqn3rbxp2rl90lrjiir4b9glp5pm0h7g-opt-env-conf-test-0.0.0.4-report
2062.32 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/vqn3rbxp2rl90lrjiir4b9glp5pm0h7g-opt-env-conf-test-0.0.0.4-report...
2062.44 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/vqn3rbxp2rl90lrjiir4b9glp5pm0h7g-opt-env-conf-test-0.0.0.4-report
2062.72 s
[post-build-hook] Uploading to cachix cache "sydtest": /nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-opt-env-conf-test-0.0.0.4 /nix/store/vqn3rbxp2rl90lrjiir4b9glp5pm0h7g-opt-env-conf-test-0.0.0.4-report /nix/store/yci3h85gq46pjcdai8vnijc204hc845f-opt-env-conf-test-0.0.0.4-manifest
2063.46 s
[post-build-hook] Pushing 3 paths (268 are already present) using zstd to cache sydtest ⏳
2063.46 s
[post-build-hook]
2063.82 s
[post-build-hook] Pushing /nix/store/yci3h85gq46pjcdai8vnijc204hc845f-opt-env-conf-test-0.0.0.4-manifest (33.58 KiB)
2063.85 s
[post-build-hook] Pushing /nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-opt-env-conf-test-0.0.0.4 (15.02 MiB)
2063.89 s
[post-build-hook] Pushing /nix/store/vqn3rbxp2rl90lrjiir4b9glp5pm0h7g-opt-env-conf-test-0.0.0.4-report (2.88 MiB)
2065.64 s
[post-build-hook]
2065.64 s
[post-build-hook] All done.
2065.68 s
[post-build-hook] Uploading to the NixCI staging cache: /nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-opt-env-conf-test-0.0.0.4 /nix/store/vqn3rbxp2rl90lrjiir4b9glp5pm0h7g-opt-env-conf-test-0.0.0.4-report /nix/store/yci3h85gq46pjcdai8vnijc204hc845f-opt-env-conf-test-0.0.0.4-manifest
2066.09 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
2066.10 s
[post-build-hook] copying 3 paths...
2066.10 s
[post-build-hook] copying path '/nix/store/vqn3rbxp2rl90lrjiir4b9glp5pm0h7g-opt-env-conf-test-0.0.0.4-report' to 'https://cache.staging.nix-ci.com'...
2066.10 s
[post-build-hook] copying path '/nix/store/yci3h85gq46pjcdai8vnijc204hc845f-opt-env-conf-test-0.0.0.4-manifest' to 'https://cache.staging.nix-ci.com'...
2066.10 s
[post-build-hook] copying path '/nix/store/jzgkwsik0lz8m69s0b97m6s4qz150is0-opt-env-conf-test-0.0.0.4' to 'https://cache.staging.nix-ci.com'...
2073.09 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
2073.34 s
[post-build-hook] copying 1 paths...
2073.36 s
[post-build-hook] copying path '/nix/store/1vm51s8iha5xgsq2dn1icclpcp6x96r2-opt-env-conf-test-0.0.0.4.drv' to 'https://cache.staging.nix-ci.com'...
2073.56 s
Progress: 8 of 9 built