1739.07 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1739.07 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1739.07 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1739.07 s
[opt-env-conf-test] case mS of
1739.07 s
[opt-env-conf-test] - Nothing -> do
1739.07 s
[opt-env-conf-test] - debug
1739.07 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1739.07 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1739.07 s
[opt-env-conf-test] - ]
1739.07 s
[opt-env-conf-test] - pure NotFound
1739.07 s
[opt-env-conf-test] Just optionStr -> cap $
1745.16 s
[opt-env-conf-test] case tryReaders rs optionStr of
1745.18 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1745.18 s
[opt-env-conf-test] Right a -> do
1745.18 s
[opt-env-conf-test] debug
1745.18 s
[opt-env-conf-test] [ "set based on option: ",
1745.18 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1745.18 s
[opt-env-conf-test] ]
1745.18 s
[opt-env-conf-test] pure $ Found a
1745.18 s
[opt-env-conf-test] else pure NotRun
1745.18 s
[opt-env-conf-test]
1745.18 s
[opt-env-conf-test] case mOpt of
1745.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:292:19-37
1745.18 s
[opt-env-conf-test] @@ -289,16 +289,10 @@
1745.18 s
[opt-env-conf-test] Nothing -> pure NotRun
1745.18 s
[opt-env-conf-test] Just a -> do
1745.18 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1745.18 s
[opt-env-conf-test] case mS of
1745.18 s
[opt-env-conf-test] - Nothing -> do
1745.18 s
[opt-env-conf-test] - debug
1745.18 s
[opt-env-conf-test] - [ "could not set based on switch, no switch: ",
1745.19 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1745.19 s
[opt-env-conf-test] - ]
1745.19 s
[opt-env-conf-test] - pure NotFound
1745.19 s
[opt-env-conf-test] Just () -> cap $ do
1745.19 s
[opt-env-conf-test] debug ["set based on switch."]
1745.19 s
[opt-env-conf-test] pure $ Found a
1745.19 s
[opt-env-conf-test]
1745.19 s
[opt-env-conf-test] case mSwitch of
1745.19 s
[opt-env-conf-test] Found a -> do
1745.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:292:19-37
1745.19 s
[opt-env-conf-test] @@ -289,16 +289,13 @@
1745.19 s
[opt-env-conf-test] Nothing -> pure NotRun
1745.19 s
[opt-env-conf-test] Just a -> do
1745.19 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1745.19 s
[opt-env-conf-test] case mS of
1745.19 s
[opt-env-conf-test] Nothing -> do
1745.19 s
[opt-env-conf-test] debug
1745.19 s
[opt-env-conf-test] [ "could not set based on switch, no switch: ",
1745.19 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1745.19 s
[opt-env-conf-test] ]
1745.19 s
[opt-env-conf-test] pure NotFound
1745.19 s
[opt-env-conf-test] - Just () -> cap $ do
1745.19 s
[opt-env-conf-test] - debug ["set based on switch."]
1745.19 s
[opt-env-conf-test] - pure $ Found a
1745.19 s
[opt-env-conf-test]
1745.19 s
[opt-env-conf-test] case mSwitch of
1745.19 s
[opt-env-conf-test] Found a -> do
1745.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:315:25-47
1745.19 s
[opt-env-conf-test] @@ -312,22 +312,13 @@
1745.19 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1745.19 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1745.19 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1745.19 s
[opt-env-conf-test] case mS of
1745.19 s
[opt-env-conf-test] Nothing -> do
1745.19 s
[opt-env-conf-test] debug
1745.19 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1745.19 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1745.19 s
[opt-env-conf-test] ]
1745.19 s
[opt-env-conf-test] pure NotFound
1745.19 s
[opt-env-conf-test] - Just optionStr -> cap $
1745.19 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1745.19 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1745.19 s
[opt-env-conf-test] - Right a -> do
1745.19 s
[opt-env-conf-test] - debug
1745.19 s
[opt-env-conf-test] - [ "set based on option: ",
1745.19 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1745.19 s
[opt-env-conf-test] - ]
1745.19 s
[opt-env-conf-test] - pure $ Found a
1745.19 s
[opt-env-conf-test] else pure NotRun
1745.19 s
[opt-env-conf-test]
1745.19 s
[opt-env-conf-test] case mOpt of
1745.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
1745.19 s
[opt-env-conf-test] @@ -349,14 +349,13 @@
1745.19 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1745.19 s
[opt-env-conf-test] -- result.
1745.19 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1745.19 s
[opt-env-conf-test] case tryReaders rs varStr of
1745.19 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1745.19 s
[opt-env-conf-test] Right a -> do
1745.20 s
[opt-env-conf-test] debug
1745.20 s
[opt-env-conf-test] [ "set based on env: ",
1745.20 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1745.20 s
[opt-env-conf-test] ]
1745.20 s
[opt-env-conf-test] pure a
1745.20 s
[opt-env-conf-test] case listToMaybe results of
1745.20 s
[opt-env-conf-test] Nothing -> do
1745.20 s
[opt-env-conf-test] debug
1745.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
1745.20 s
[opt-env-conf-test] @@ -349,14 +349,8 @@
1745.20 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1745.20 s
[opt-env-conf-test] -- result.
1745.20 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1745.20 s
[opt-env-conf-test] case tryReaders rs varStr of
1745.20 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1745.20 s
[opt-env-conf-test] - Right a -> do
1745.20 s
[opt-env-conf-test] - debug
1745.20 s
[opt-env-conf-test] - [ "set based on env: ",
1745.20 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1745.20 s
[opt-env-conf-test] - ]
1745.20 s
[opt-env-conf-test] - pure a
1745.20 s
[opt-env-conf-test] case listToMaybe results of
1745.20 s
[opt-env-conf-test] Nothing -> do
1745.20 s
[opt-env-conf-test] debug
1745.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
1745.20 s
[opt-env-conf-test] @@ -357,14 +357,8 @@
1745.20 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1745.20 s
[opt-env-conf-test] ]
1745.20 s
[opt-env-conf-test] pure a
1745.20 s
[opt-env-conf-test] case listToMaybe results of
1745.20 s
[opt-env-conf-test] - Nothing -> do
1745.20 s
[opt-env-conf-test] - debug
1745.20 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1745.20 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1745.20 s
[opt-env-conf-test] - ]
1745.20 s
[opt-env-conf-test] - pure NotFound
1745.20 s
[opt-env-conf-test] Just a -> pure $ Found a
1745.20 s
[opt-env-conf-test]
1745.20 s
[opt-env-conf-test] case mEnv of
1745.20 s
[opt-env-conf-test] Found a -> do
1745.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
1745.20 s
[opt-env-conf-test] @@ -357,14 +357,13 @@
1745.20 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1745.20 s
[opt-env-conf-test] ]
1745.20 s
[opt-env-conf-test] pure a
1745.20 s
[opt-env-conf-test] case listToMaybe results of
1745.21 s
[opt-env-conf-test] Nothing -> do
1745.21 s
[opt-env-conf-test] debug
1745.21 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1745.21 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1745.21 s
[opt-env-conf-test] ]
1745.21 s
[opt-env-conf-test] pure NotFound
1745.21 s
[opt-env-conf-test] - Just a -> pure $ Found a
1745.21 s
[opt-env-conf-test]
1745.21 s
[opt-env-conf-test] case mEnv of
1745.21 s
[opt-env-conf-test] Found a -> do
1745.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
1745.21 s
[opt-env-conf-test] @@ -336,35 +336,34 @@
1745.21 s
[opt-env-conf-test] pure a
1745.21 s
[opt-env-conf-test] _ -> do
1745.21 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1745.21 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1745.21 s
[opt-env-conf-test] - Nothing -> pure NotRun
1745.21 s
[opt-env-conf-test] Just ne -> do
1745.21 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1745.21 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1745.21 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1745.21 s
[opt-env-conf-test] es <- asks ppEnvEnv
1745.21 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1745.21 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1745.21 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1745.21 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1745.21 s
[opt-env-conf-test] -- result.
1745.21 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1745.21 s
[opt-env-conf-test] case tryReaders rs varStr of
1745.21 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1745.21 s
[opt-env-conf-test] Right a -> do
1745.21 s
[opt-env-conf-test] debug
1745.21 s
[opt-env-conf-test] [ "set based on env: ",
1745.21 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1745.21 s
[opt-env-conf-test] ]
1745.21 s
[opt-env-conf-test] pure a
1745.21 s
[opt-env-conf-test] case listToMaybe results of
1745.21 s
[opt-env-conf-test] Nothing -> do
1745.76 s
[opt-env-conf-test] debug
1745.76 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1745.76 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1745.76 s
[opt-env-conf-test] ]
1745.76 s
[opt-env-conf-test] pure NotFound
1745.77 s
[opt-env-conf-test] Just a -> pure $ Found a
1745.77 s
[opt-env-conf-test]
1745.77 s
[opt-env-conf-test] case mEnv of
1745.77 s
[opt-env-conf-test] Found a -> do
1745.77 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
1745.77 s
[opt-env-conf-test] @@ -336,35 +336,8 @@
1745.77 s
[opt-env-conf-test] pure a
1745.77 s
[opt-env-conf-test] _ -> do
1745.77 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1745.77 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1745.77 s
[opt-env-conf-test] Nothing -> pure NotRun
1745.77 s
[opt-env-conf-test] - Just ne -> do
1745.77 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1745.77 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1745.77 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1745.77 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1745.77 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1745.77 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1745.77 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1745.77 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1745.77 s
[opt-env-conf-test] - -- result.
1745.77 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1745.77 s
[opt-env-conf-test] - case tryReaders rs varStr of
1745.77 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1745.77 s
[opt-env-conf-test] - Right a -> do
1745.77 s
[opt-env-conf-test] - debug
1745.77 s
[opt-env-conf-test] - [ "set based on env: ",
1745.77 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1745.77 s
[opt-env-conf-test] - ]
1745.77 s
[opt-env-conf-test] - pure a
1745.77 s
[opt-env-conf-test] - case listToMaybe results of
1745.77 s
[opt-env-conf-test] - Nothing -> do
1745.77 s
[opt-env-conf-test] - debug
1745.77 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1745.77 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1745.77 s
[opt-env-conf-test] - ]
1748.88 s
[opt-env-conf-test] - pure NotFound
1748.88 s
[opt-env-conf-test] - Just a -> pure $ Found a
1748.88 s
[opt-env-conf-test]
1748.88 s
[opt-env-conf-test] case mEnv of
1748.88 s
[opt-env-conf-test] Found a -> do
1748.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
1748.88 s
[opt-env-conf-test] @@ -385,9 +385,8 @@
1748.88 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1748.88 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1748.88 s
[opt-env-conf-test] Nothing -> do
1748.88 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1748.88 s
[opt-env-conf-test] - Nothing -> pure Nothing
1748.88 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1748.88 s
[opt-env-conf-test] Just neRest -> do
1748.88 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1748.88 s
[opt-env-conf-test] case mO' of
1748.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
1748.89 s
[opt-env-conf-test] @@ -385,9 +385,8 @@
1748.89 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1748.89 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1748.89 s
[opt-env-conf-test] Nothing -> do
1748.89 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1748.89 s
[opt-env-conf-test] Nothing -> pure Nothing
1748.89 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1748.89 s
[opt-env-conf-test] Just neRest -> do
1748.89 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1748.89 s
[opt-env-conf-test] case mO' of
1748.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
1748.89 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
1748.89 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1748.89 s
[opt-env-conf-test] Just neRest -> do
1748.89 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1748.89 s
[opt-env-conf-test] case mO' of
1748.89 s
[opt-env-conf-test] - Nothing -> pure Nothing
1748.89 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1748.89 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1748.89 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1748.89 s
[opt-env-conf-test] Right mV -> case mV of
1748.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
1748.89 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
1748.89 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1748.89 s
[opt-env-conf-test] Just neRest -> do
1748.89 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1748.89 s
[opt-env-conf-test] case mO' of
1748.89 s
[opt-env-conf-test] Nothing -> pure Nothing
1748.89 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1748.89 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1748.89 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1748.89 s
[opt-env-conf-test] Right mV -> case mV of
1748.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
1748.89 s
[opt-env-conf-test] @@ -383,16 +383,12 @@
1748.89 s
[opt-env-conf-test] Just obj -> do
1748.89 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1748.89 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1748.89 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1748.89 s
[opt-env-conf-test] - Nothing -> do
1748.89 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1748.89 s
[opt-env-conf-test] - Nothing -> pure Nothing
1748.89 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1748.89 s
[opt-env-conf-test] Just neRest -> do
1748.89 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1748.89 s
[opt-env-conf-test] case mO' of
1748.89 s
[opt-env-conf-test] Nothing -> pure Nothing
1748.89 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1748.89 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1748.89 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1748.89 s
[opt-env-conf-test] Right mV -> case mV of
1748.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
1748.90 s
[opt-env-conf-test] @@ -383,16 +383,11 @@
1748.90 s
[opt-env-conf-test] Just obj -> do
1748.90 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1748.90 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1748.90 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1748.90 s
[opt-env-conf-test] Nothing -> do
1748.90 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1748.90 s
[opt-env-conf-test] Nothing -> pure Nothing
1748.90 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1748.90 s
[opt-env-conf-test] - Just neRest -> do
1748.90 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1748.90 s
[opt-env-conf-test] - case mO' of
1748.90 s
[opt-env-conf-test] - Nothing -> pure Nothing
1748.90 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1748.90 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1748.90 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1748.90 s
[opt-env-conf-test] Right mV -> case mV of
1748.90 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:419:58-64
1748.90 s
[opt-env-conf-test] @@ -416,7 +416,7 @@
1748.90 s
[opt-env-conf-test] [ "set based on config value: ",
1748.90 s
[opt-env-conf-test] chunk $ T.pack $ show v
1748.90 s
[opt-env-conf-test] ]
1748.90 s
[opt-env-conf-test] - pure $ J u s t a
1748.90 s
[opt-env-conf-test] + pure $ No t h ing
1748.90 s
[opt-env-conf-test] let toRes = \case
1748.90 s
[opt-env-conf-test] Nothing -> NotFound
1748.90 s
[opt-env-conf-test] Just a -> Found a
1748.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
1748.90 s
[opt-env-conf-test] @@ -404,19 +404,13 @@
1748.90 s
[opt-env-conf-test] pure Nothing
1748.90 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1748.90 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1748.90 s
[opt-env-conf-test] Right mA -> case mA of
1748.90 s
[opt-env-conf-test] - Nothing -> do
1748.90 s
[opt-env-conf-test] - debug
1748.90 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1748.90 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1748.90 s
[opt-env-conf-test] - ]
1748.90 s
[opt-env-conf-test] - pure Nothing
1748.90 s
[opt-env-conf-test] Just a -> do
1748.90 s
[opt-env-conf-test] debug
1751.24 s
[opt-env-conf-test] [ "set based on config value: ",
1751.24 s
[opt-env-conf-test] chunk $ T.pack $ show v
1751.31 s
[opt-env-conf-test] ]
1751.31 s
[opt-env-conf-test] pure $ Just a
1751.31 s
[opt-env-conf-test] let toRes = \case
1751.31 s
[opt-env-conf-test] Nothing -> NotFound
1751.31 s
[opt-env-conf-test] Just a -> Found a
1751.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
1751.31 s
[opt-env-conf-test] @@ -404,19 +404,13 @@
1751.31 s
[opt-env-conf-test] pure Nothing
1751.31 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1751.31 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1751.31 s
[opt-env-conf-test] Right mA -> case mA of
1751.31 s
[opt-env-conf-test] Nothing -> do
1751.31 s
[opt-env-conf-test] debug
1751.31 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1751.32 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1751.32 s
[opt-env-conf-test] ]
1751.32 s
[opt-env-conf-test] pure Nothing
1751.32 s
[opt-env-conf-test] - Just a -> do
1751.32 s
[opt-env-conf-test] - debug
1751.32 s
[opt-env-conf-test] - [ "set based on config value: ",
1751.32 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1751.32 s
[opt-env-conf-test] - ]
1751.32 s
[opt-env-conf-test] - pure $ Just a
1751.32 s
[opt-env-conf-test] let toRes = \case
1751.32 s
[opt-env-conf-test] Nothing -> NotFound
1751.32 s
[opt-env-conf-test] Just a -> Found a
1751.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1751.32 s
[opt-env-conf-test] @@ -402,21 +402,20 @@
1751.32 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1751.32 s
[opt-env-conf-test] ]
1751.32 s
[opt-env-conf-test] pure Nothing
1751.32 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1751.32 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1751.32 s
[opt-env-conf-test] Right mA -> case mA of
1751.32 s
[opt-env-conf-test] Nothing -> do
1751.32 s
[opt-env-conf-test] debug
1751.32 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1751.32 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1751.32 s
[opt-env-conf-test] ]
1751.32 s
[opt-env-conf-test] pure Nothing
1751.32 s
[opt-env-conf-test] Just a -> do
1751.32 s
[opt-env-conf-test] debug
1751.32 s
[opt-env-conf-test] [ "set based on config value: ",
1751.32 s
[opt-env-conf-test] chunk $ T.pack $ show v
1751.32 s
[opt-env-conf-test] ]
1751.33 s
[opt-env-conf-test] pure $ Just a
1751.33 s
[opt-env-conf-test] let toRes = \case
1751.33 s
[opt-env-conf-test] Nothing -> NotFound
1751.33 s
[opt-env-conf-test] Just a -> Found a
1751.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1751.33 s
[opt-env-conf-test] @@ -402,21 +402,8 @@
1751.33 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1751.33 s
[opt-env-conf-test] ]
1751.33 s
[opt-env-conf-test] pure Nothing
1751.33 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1751.33 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1751.33 s
[opt-env-conf-test] - Right mA -> case mA of
1751.33 s
[opt-env-conf-test] - Nothing -> do
1751.33 s
[opt-env-conf-test] - debug
1751.33 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1751.33 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1751.33 s
[opt-env-conf-test] - ]
1751.33 s
[opt-env-conf-test] - pure Nothing
1751.33 s
[opt-env-conf-test] - Just a -> do
1751.33 s
[opt-env-conf-test] - debug
1751.33 s
[opt-env-conf-test] - [ "set based on config value: ",
1751.33 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1751.33 s
[opt-env-conf-test] - ]
1751.33 s
[opt-env-conf-test] - pure $ Just a
1751.33 s
[opt-env-conf-test] let toRes = \case
1751.33 s
[opt-env-conf-test] Nothing -> NotFound
1751.33 s
[opt-env-conf-test] Just a -> Found a
1751.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
1751.33 s
[opt-env-conf-test] @@ -395,28 +395,22 @@
1751.33 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1751.33 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1751.33 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1751.33 s
[opt-env-conf-test] Right mV -> case mV of
1751.33 s
[opt-env-conf-test] - Nothing -> do
1751.33 s
[opt-env-conf-test] - debug
1751.33 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1751.33 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1751.33 s
[opt-env-conf-test] - ]
1751.33 s
[opt-env-conf-test] - pure Nothing
1751.33 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1751.33 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1751.33 s
[opt-env-conf-test] Right mA -> case mA of
1751.33 s
[opt-env-conf-test] Nothing -> do
1751.34 s
[opt-env-conf-test] debug
1751.34 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1751.34 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1751.34 s
[opt-env-conf-test] ]
1751.34 s
[opt-env-conf-test] pure Nothing
1751.34 s
[opt-env-conf-test] Just a -> do
1751.34 s
[opt-env-conf-test] debug
1751.34 s
[opt-env-conf-test] [ "set based on config value: ",
1751.34 s
[opt-env-conf-test] chunk $ T.pack $ show v
1751.34 s
[opt-env-conf-test] ]
1751.35 s
[opt-env-conf-test] pure $ Just a
1751.35 s
[opt-env-conf-test] let toRes = \case
1751.35 s
[opt-env-conf-test] Nothing -> NotFound
1751.35 s
[opt-env-conf-test] Just a -> Found a
1751.35 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
1751.35 s
[opt-env-conf-test] @@ -395,28 +395,13 @@
1751.35 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1751.35 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1751.36 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1751.36 s
[opt-env-conf-test] Right mV -> case mV of
1751.36 s
[opt-env-conf-test] Nothing -> do
1751.36 s
[opt-env-conf-test] debug
1751.36 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1751.36 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1751.36 s
[opt-env-conf-test] ]
1751.36 s
[opt-env-conf-test] pure Nothing
1751.36 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1751.36 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1751.36 s
[opt-env-conf-test] - Right mA -> case mA of
1751.36 s
[opt-env-conf-test] - Nothing -> do
1751.36 s
[opt-env-conf-test] - debug
1751.36 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1751.36 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1751.36 s
[opt-env-conf-test] - ]
1751.36 s
[opt-env-conf-test] - pure Nothing
1751.36 s
[opt-env-conf-test] - Just a -> do
1751.36 s
[opt-env-conf-test] - debug
1751.36 s
[opt-env-conf-test] - [ "set based on config value: ",
1751.36 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1752.23 s
[opt-env-conf-test] - ]
1752.23 s
[opt-env-conf-test] - pure $ Just a
1752.23 s
[opt-env-conf-test] let toRes = \case
1752.23 s
[opt-env-conf-test] Nothing -> NotFound
1752.23 s
[opt-env-conf-test] Just a -> Found a
1752.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1752.23 s
[opt-env-conf-test] @@ -393,30 +393,29 @@
1752.23 s
[opt-env-conf-test] case mO' of
1752.23 s
[opt-env-conf-test] Nothing -> pure Nothing
1752.23 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1752.23 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1752.23 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1752.23 s
[opt-env-conf-test] Right mV -> case mV of
1752.23 s
[opt-env-conf-test] Nothing -> do
1752.23 s
[opt-env-conf-test] debug
1752.23 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1752.23 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1752.23 s
[opt-env-conf-test] ]
1752.23 s
[opt-env-conf-test] pure Nothing
1752.23 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1752.23 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1752.23 s
[opt-env-conf-test] Right mA -> case mA of
1752.23 s
[opt-env-conf-test] Nothing -> do
1752.23 s
[opt-env-conf-test] debug
1752.23 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1752.24 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1752.24 s
[opt-env-conf-test] ]
1752.24 s
[opt-env-conf-test] pure Nothing
1752.24 s
[opt-env-conf-test] Just a -> do
1752.24 s
[opt-env-conf-test] debug
1752.24 s
[opt-env-conf-test] [ "set based on config value: ",
1752.85 s
[opt-env-conf-test] chunk $ T.pack $ show v
1752.85 s
[opt-env-conf-test] ]
1752.85 s
[opt-env-conf-test] pure $ Just a
1752.85 s
[opt-env-conf-test] let toRes = \case
1752.85 s
[opt-env-conf-test] Nothing -> NotFound
1752.85 s
[opt-env-conf-test] Just a -> Found a
1752.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1752.85 s
[opt-env-conf-test] @@ -393,30 +393,8 @@
1752.85 s
[opt-env-conf-test] case mO' of
1752.85 s
[opt-env-conf-test] Nothing -> pure Nothing
1752.85 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1752.85 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1752.85 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1752.85 s
[opt-env-conf-test] - Right mV -> case mV of
1752.85 s
[opt-env-conf-test] - Nothing -> do
1752.85 s
[opt-env-conf-test] - debug
1752.85 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1752.85 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1752.85 s
[opt-env-conf-test] - ]
1752.85 s
[opt-env-conf-test] - pure Nothing
1752.85 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1752.85 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1752.85 s
[opt-env-conf-test] - Right mA -> case mA of
1752.85 s
[opt-env-conf-test] - Nothing -> do
1752.85 s
[opt-env-conf-test] - debug
1752.85 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1752.85 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1752.85 s
[opt-env-conf-test] - ]
1752.85 s
[opt-env-conf-test] - pure Nothing
1752.85 s
[opt-env-conf-test] - Just a -> do
1754.02 s
[opt-env-conf-test] - debug
1754.02 s
[opt-env-conf-test] - [ "set based on config value: ",
1754.02 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1754.02 s
[opt-env-conf-test] - ]
1754.02 s
[opt-env-conf-test] - pure $ Just a
1754.02 s
[opt-env-conf-test] let toRes = \case
1754.02 s
[opt-env-conf-test] Nothing -> NotFound
1754.02 s
[opt-env-conf-test] Just a -> Found a
1754.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
1754.02 s
[opt-env-conf-test] @@ -424,9 +424,8 @@
1754.02 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1754.02 s
[opt-env-conf-test] Just ne -> do
1754.02 s
[opt-env-conf-test] res <- goConfSet confSet
1754.02 s
[opt-env-conf-test] case res of
1754.02 s
[opt-env-conf-test] - Just a -> pure $ Found a
1754.02 s
[opt-env-conf-test] Nothing -> goConfSets ne
1754.02 s
[opt-env-conf-test] goConfSets confSets
1754.02 s
[opt-env-conf-test] case mConf of
1754.02 s
[opt-env-conf-test] Found a -> do
1754.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
1754.02 s
[opt-env-conf-test] @@ -424,9 +424,8 @@
1754.02 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1754.02 s
[opt-env-conf-test] Just ne -> do
1754.02 s
[opt-env-conf-test] res <- goConfSet confSet
1754.02 s
[opt-env-conf-test] case res of
1754.02 s
[opt-env-conf-test] Just a -> pure $ Found a
1754.02 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1754.02 s
[opt-env-conf-test] goConfSets confSets
1754.03 s
[opt-env-conf-test] case mConf of
1754.03 s
[opt-env-conf-test] Found a -> do
1754.03 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
1754.03 s
[opt-env-conf-test] @@ -420,13 +420,12 @@
1754.03 s
[opt-env-conf-test] let toRes = \case
1754.03 s
[opt-env-conf-test] Nothing -> NotFound
1754.03 s
[opt-env-conf-test] Just a -> Found a
1754.03 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1754.03 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1754.03 s
[opt-env-conf-test] Just ne -> do
1754.03 s
[opt-env-conf-test] res <- goConfSet confSet
1754.03 s
[opt-env-conf-test] case res of
1754.03 s
[opt-env-conf-test] Just a -> pure $ Found a
1754.03 s
[opt-env-conf-test] Nothing -> goConfSets ne
1754.03 s
[opt-env-conf-test] goConfSets confSets
1754.03 s
[opt-env-conf-test] case mConf of
1754.03 s
[opt-env-conf-test] Found a -> do
1754.03 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
1754.03 s
[opt-env-conf-test] @@ -420,13 +420,8 @@
1754.03 s
[opt-env-conf-test] let toRes = \case
1754.03 s
[opt-env-conf-test] Nothing -> NotFound
1754.03 s
[opt-env-conf-test] Just a -> Found a
1754.03 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1754.03 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1754.03 s
[opt-env-conf-test] - Just ne -> do
1754.03 s
[opt-env-conf-test] - res <- goConfSet confSet
1754.03 s
[opt-env-conf-test] - case res of
1754.03 s
[opt-env-conf-test] - Just a -> pure $ Found a
1754.03 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1754.03 s
[opt-env-conf-test] goConfSets confSets
1754.03 s
[opt-env-conf-test] case mConf of
1754.03 s
[opt-env-conf-test] Found a -> do
1754.03 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
1754.03 s
[opt-env-conf-test] @@ -376,58 +376,55 @@
1754.03 s
[opt-env-conf-test] Nothing -> pure NotRun
1754.03 s
[opt-env-conf-test] Just confSets -> do
1754.03 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1754.03 s
[opt-env-conf-test] case mObj of
1754.03 s
[opt-env-conf-test] - Nothing -> do
1754.03 s
[opt-env-conf-test] - debug ["no config object to set from"]
1754.03 s
[opt-env-conf-test] - pure NotFound
1754.03 s
[opt-env-conf-test] Just obj -> do
1754.03 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1754.03 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1754.03 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1754.03 s
[opt-env-conf-test] Nothing -> do
1754.03 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1754.03 s
[opt-env-conf-test] Nothing -> pure Nothing
1754.03 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1754.03 s
[opt-env-conf-test] Just neRest -> do
1754.03 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1754.03 s
[opt-env-conf-test] case mO' of
1754.04 s
[opt-env-conf-test] Nothing -> pure Nothing
1754.04 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1754.04 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1754.04 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1754.04 s
[opt-env-conf-test] Right mV -> case mV of
1754.04 s
[opt-env-conf-test] Nothing -> do
1754.04 s
[opt-env-conf-test] debug
1754.04 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1754.04 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1754.04 s
[opt-env-conf-test] ]
1754.04 s
[opt-env-conf-test] pure Nothing
1754.04 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1754.04 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1754.04 s
[opt-env-conf-test] Right mA -> case mA of
1754.04 s
[opt-env-conf-test] Nothing -> do
1754.04 s
[opt-env-conf-test] debug
1754.04 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1754.04 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1754.04 s
[opt-env-conf-test] ]
1754.04 s
[opt-env-conf-test] pure Nothing
1754.04 s
[opt-env-conf-test] Just a -> do
1754.04 s
[opt-env-conf-test] debug
1754.04 s
[opt-env-conf-test] [ "set based on config value: ",
1754.04 s
[opt-env-conf-test] chunk $ T.pack $ show v
1754.04 s
[opt-env-conf-test] ]
1754.04 s
[opt-env-conf-test] pure $ Just a
1754.04 s
[opt-env-conf-test] let toRes = \case
1754.04 s
[opt-env-conf-test] Nothing -> NotFound
1754.04 s
[opt-env-conf-test] Just a -> Found a
1754.04 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1754.04 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1754.04 s
[opt-env-conf-test] Just ne -> do
1754.04 s
[opt-env-conf-test] res <- goConfSet confSet
1754.04 s
[opt-env-conf-test] case res of
1754.04 s
[opt-env-conf-test] Just a -> pure $ Found a
1754.04 s
[opt-env-conf-test] Nothing -> goConfSets ne
1755.19 s
[opt-env-conf-test] goConfSets confSets
1755.19 s
[opt-env-conf-test] case mConf of
1755.19 s
[opt-env-conf-test] Found a -> do
1755.19 s
[opt-env-conf-test] markParsed
1755.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
1755.19 s
[opt-env-conf-test] @@ -376,58 +376,10 @@
1755.20 s
[opt-env-conf-test] Nothing -> pure NotRun
1755.20 s
[opt-env-conf-test] Just confSets -> do
1755.20 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1755.20 s
[opt-env-conf-test] case mObj of
1755.20 s
[opt-env-conf-test] Nothing -> do
1755.20 s
[opt-env-conf-test] debug ["no config object to set from"]
1755.20 s
[opt-env-conf-test] pure NotFound
1755.20 s
[opt-env-conf-test] - Just obj -> do
1755.20 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1755.20 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1755.20 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1755.20 s
[opt-env-conf-test] - Nothing -> do
1755.20 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1755.20 s
[opt-env-conf-test] - Nothing -> pure Nothing
1755.20 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1755.20 s
[opt-env-conf-test] - Just neRest -> do
1755.20 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1755.20 s
[opt-env-conf-test] - case mO' of
1755.20 s
[opt-env-conf-test] - Nothing -> pure Nothing
1755.20 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1755.20 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1755.20 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1755.20 s
[opt-env-conf-test] - Right mV -> case mV of
1755.20 s
[opt-env-conf-test] - Nothing -> do
1755.20 s
[opt-env-conf-test] - debug
1755.20 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1755.20 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1755.20 s
[opt-env-conf-test] - ]
1755.20 s
[opt-env-conf-test] - pure Nothing
1755.20 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1755.20 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1755.20 s
[opt-env-conf-test] - Right mA -> case mA of
1755.21 s
[opt-env-conf-test] - Nothing -> do
1755.21 s
[opt-env-conf-test] - debug
1755.21 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1755.21 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1755.21 s
[opt-env-conf-test] - ]
1755.21 s
[opt-env-conf-test] - pure Nothing
1755.21 s
[opt-env-conf-test] - Just a -> do
1755.21 s
[opt-env-conf-test] - debug
1755.21 s
[opt-env-conf-test] - [ "set based on config value: ",
1755.21 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1755.21 s
[opt-env-conf-test] - ]
1755.21 s
[opt-env-conf-test] - pure $ Just a
1755.21 s
[opt-env-conf-test] - let toRes = \case
1755.21 s
[opt-env-conf-test] - Nothing -> NotFound
1755.21 s
[opt-env-conf-test] - Just a -> Found a
1755.21 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1755.21 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1755.36 s
[opt-env-conf-test] - Just ne -> do
1755.36 s
[opt-env-conf-test] - res <- goConfSet confSet
1755.36 s
[opt-env-conf-test] - case res of
1755.36 s
[opt-env-conf-test] - Just a -> pure $ Found a
1755.36 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1755.36 s
[opt-env-conf-test] - goConfSets confSets
1755.36 s
[opt-env-conf-test] case mConf of
1755.36 s
[opt-env-conf-test] Found a -> do
1755.36 s
[opt-env-conf-test] markParsed
1755.36 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
1755.36 s
[opt-env-conf-test] @@ -372,62 +372,61 @@
1755.36 s
[opt-env-conf-test] pure a
1755.36 s
[opt-env-conf-test] _ -> do
1755.36 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1755.36 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1755.36 s
[opt-env-conf-test] - Nothing -> pure NotRun
1755.36 s
[opt-env-conf-test] Just confSets -> do
1755.36 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1755.36 s
[opt-env-conf-test] case mObj of
1755.36 s
[opt-env-conf-test] Nothing -> do
1755.36 s
[opt-env-conf-test] debug ["no config object to set from"]
1755.36 s
[opt-env-conf-test] pure NotFound
1755.36 s
[opt-env-conf-test] Just obj -> do
1755.37 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1755.37 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1755.37 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1755.37 s
[opt-env-conf-test] Nothing -> do
1755.37 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1755.37 s
[opt-env-conf-test] Nothing -> pure Nothing
1755.37 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1755.37 s
[opt-env-conf-test] Just neRest -> do
1755.37 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1755.37 s
[opt-env-conf-test] case mO' of
1755.37 s
[opt-env-conf-test] Nothing -> pure Nothing
1755.37 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1755.37 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1755.37 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1755.37 s
[opt-env-conf-test] Right mV -> case mV of
1755.37 s
[opt-env-conf-test] Nothing -> do
1755.37 s
[opt-env-conf-test] debug
1755.37 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1755.37 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1755.37 s
[opt-env-conf-test] ]
1755.37 s
[opt-env-conf-test] pure Nothing
1755.37 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1755.37 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1755.37 s
[opt-env-conf-test] Right mA -> case mA of
1755.37 s
[opt-env-conf-test] Nothing -> do
1755.37 s
[opt-env-conf-test] debug
1755.37 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1755.37 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1755.37 s
[opt-env-conf-test] ]
1755.37 s
[opt-env-conf-test] pure Nothing
1755.37 s
[opt-env-conf-test] Just a -> do
1755.37 s
[opt-env-conf-test] debug
1755.37 s
[opt-env-conf-test] [ "set based on config value: ",
1755.38 s
[opt-env-conf-test] chunk $ T.pack $ show v
1755.38 s
[opt-env-conf-test] ]
1755.38 s
[opt-env-conf-test] pure $ Just a
1755.38 s
[opt-env-conf-test] let toRes = \case
1755.38 s
[opt-env-conf-test] Nothing -> NotFound
1755.38 s
[opt-env-conf-test] Just a -> Found a
1755.38 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1755.38 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1755.38 s
[opt-env-conf-test] Just ne -> do
1755.38 s
[opt-env-conf-test] res <- goConfSet confSet
1755.38 s
[opt-env-conf-test] case res of
1756.78 s
[opt-env-conf-test] Just a -> pure $ Found a
1756.86 s
[opt-env-conf-test] Nothing -> goConfSets ne
1756.87 s
[opt-env-conf-test] goConfSets confSets
1756.87 s
[opt-env-conf-test] case mConf of
1756.87 s
[opt-env-conf-test] Found a -> do
1756.87 s
[opt-env-conf-test] markParsed
1756.87 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:443:53-59
1756.87 s
[opt-env-conf-test] @@ -440,7 +440,7 @@
1756.87 s
[opt-env-conf-test] Nothing -> do
1756.87 s
[opt-env-conf-test] let parseResultError e res = case res of
1756.87 s
[opt-env-conf-test] NotRun -> Nothing
1756.87 s
[opt-env-conf-test] - NotFound -> J u s t e
1756.87 s
[opt-env-conf-test] + NotFound -> No t h ing
1756.87 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1756.87 s
[opt-env-conf-test] debug ["not found"]
1756.87 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1756.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
1756.87 s
[opt-env-conf-test] @@ -372,62 +372,8 @@
1756.87 s
[opt-env-conf-test] pure a
1756.87 s
[opt-env-conf-test] _ -> do
1756.87 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1756.87 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1756.87 s
[opt-env-conf-test] Nothing -> pure NotRun
1756.87 s
[opt-env-conf-test] - Just confSets -> do
1756.87 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1756.87 s
[opt-env-conf-test] - case mObj of
1756.87 s
[opt-env-conf-test] - Nothing -> do
1756.87 s
[opt-env-conf-test] - debug ["no config object to set from"]
1756.87 s
[opt-env-conf-test] - pure NotFound
1756.87 s
[opt-env-conf-test] - Just obj -> do
1756.87 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1756.87 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1756.87 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1756.87 s
[opt-env-conf-test] - Nothing -> do
1756.87 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1756.87 s
[opt-env-conf-test] - Nothing -> pure Nothing
1756.87 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1756.87 s
[opt-env-conf-test] - Just neRest -> do
1756.88 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1756.88 s
[opt-env-conf-test] - case mO' of
1756.88 s
[opt-env-conf-test] - Nothing -> pure Nothing
1756.88 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1756.88 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1756.88 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1756.88 s
[opt-env-conf-test] - Right mV -> case mV of
1756.88 s
[opt-env-conf-test] - Nothing -> do
1756.88 s
[opt-env-conf-test] - debug
1756.88 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1756.88 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1756.88 s
[opt-env-conf-test] - ]
1756.88 s
[opt-env-conf-test] - pure Nothing
1756.88 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1756.88 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1756.88 s
[opt-env-conf-test] - Right mA -> case mA of
1756.88 s
[opt-env-conf-test] - Nothing -> do
1756.88 s
[opt-env-conf-test] - debug
1756.88 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1756.88 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1756.88 s
[opt-env-conf-test] - ]
1756.88 s
[opt-env-conf-test] - pure Nothing
1756.88 s
[opt-env-conf-test] - Just a -> do
1756.88 s
[opt-env-conf-test] - debug
1756.88 s
[opt-env-conf-test] - [ "set based on config value: ",
1756.88 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1756.88 s
[opt-env-conf-test] - ]
1756.88 s
[opt-env-conf-test] - pure $ Just a
1756.88 s
[opt-env-conf-test] - let toRes = \case
1756.88 s
[opt-env-conf-test] - Nothing -> NotFound
1756.88 s
[opt-env-conf-test] - Just a -> Found a
1762.16 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1762.18 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1762.18 s
[opt-env-conf-test] - Just ne -> do
1762.19 s
[opt-env-conf-test] - res <- goConfSet confSet
1762.19 s
[opt-env-conf-test] - case res of
1762.19 s
[opt-env-conf-test] - Just a -> pure $ Found a
1762.19 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1762.19 s
[opt-env-conf-test] - goConfSets confSets
1762.19 s
[opt-env-conf-test] case mConf of
1762.19 s
[opt-env-conf-test] Found a -> do
1762.19 s
[opt-env-conf-test] markParsed
1762.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1762.19 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1762.19 s
[opt-env-conf-test] debug ["set to default value"]
1762.19 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1762.19 s
[opt-env-conf-test] Nothing -> do
1762.19 s
[opt-env-conf-test] let parseResultError e res = case res of
1762.19 s
[opt-env-conf-test] - NotRun -> Nothing
1762.19 s
[opt-env-conf-test] NotFound -> Just e
1762.19 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1762.19 s
[opt-env-conf-test] debug ["not found"]
1762.19 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.19 s
[opt-env-conf-test] NE.nonEmpty $
1762.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1762.19 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1762.19 s
[opt-env-conf-test] debug ["set to default value"]
1762.19 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1762.19 s
[opt-env-conf-test] Nothing -> do
1762.19 s
[opt-env-conf-test] let parseResultError e res = case res of
1762.19 s
[opt-env-conf-test] NotRun -> Nothing
1762.19 s
[opt-env-conf-test] - NotFound -> Just e
1762.19 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1762.19 s
[opt-env-conf-test] debug ["not found"]
1762.19 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.19 s
[opt-env-conf-test] NE.nonEmpty $
1762.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1762.19 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1762.20 s
[opt-env-conf-test] debug ["set to default value"]
1762.20 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1762.20 s
[opt-env-conf-test] Nothing -> do
1762.20 s
[opt-env-conf-test] let parseResultError e res = case res of
1762.20 s
[opt-env-conf-test] NotRun -> Nothing
1762.20 s
[opt-env-conf-test] NotFound -> Just e
1762.20 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1762.20 s
[opt-env-conf-test] debug ["not found"]
1762.20 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.20 s
[opt-env-conf-test] NE.nonEmpty $
1762.20 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1762.20 s
[opt-env-conf-test] @@ -446,12 +446,7 @@
1762.20 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.20 s
[opt-env-conf-test] NE.nonEmpty $
1762.20 s
[opt-env-conf-test] catMaybes
1762.20 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1762.20 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1762.20 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1762.20 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1762.20 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1762.20 s
[opt-env-conf-test] ]
1762.20 s
[opt-env-conf-test]
1762.20 s
[opt-env-conf-test] withCapabilities ::
1762.20 s
[opt-env-conf-test] Maybe SrcLoc ->
1762.20 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1762.20 s
[opt-env-conf-test] @@ -446,12 +446,11 @@
1762.20 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.20 s
[opt-env-conf-test] NE.nonEmpty $
1762.20 s
[opt-env-conf-test] catMaybes
1762.20 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1762.20 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1762.20 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1762.20 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1762.20 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1762.20 s
[opt-env-conf-test] ]
1762.20 s
[opt-env-conf-test]
1762.20 s
[opt-env-conf-test] withCapabilities ::
1762.20 s
[opt-env-conf-test] Maybe SrcLoc ->
1762.20 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1762.20 s
[opt-env-conf-test] @@ -446,12 +446,11 @@
1762.20 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.20 s
[opt-env-conf-test] NE.nonEmpty $
1762.20 s
[opt-env-conf-test] catMaybes
1762.20 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1762.20 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1762.20 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1762.20 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1762.20 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1762.20 s
[opt-env-conf-test] ]
1762.20 s
[opt-env-conf-test]
1762.21 s
[opt-env-conf-test] withCapabilities ::
1762.21 s
[opt-env-conf-test] Maybe SrcLoc ->
1762.21 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:440:44-42
1762.21 s
[opt-env-conf-test] @@ -437,21 +437,20 @@
1762.21 s
[opt-env-conf-test] Just (a, _) -> do
1762.21 s
[opt-env-conf-test] debug ["set to default value"]
1762.21 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1762.21 s
[opt-env-conf-test] Nothing -> do
1762.21 s
[opt-env-conf-test] let parseResultError e res = case res of
1762.21 s
[opt-env-conf-test] NotRun -> Nothing
1762.21 s
[opt-env-conf-test] NotFound -> Just e
1762.21 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1762.21 s
[opt-env-conf-test] - debug ["not found"]
1762.21 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.21 s
[opt-env-conf-test] NE.nonEmpty $
1762.21 s
[opt-env-conf-test] catMaybes
1762.21 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1762.21 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1762.21 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1762.21 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1762.21 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1762.21 s
[opt-env-conf-test] ]
1762.21 s
[opt-env-conf-test]
1762.21 s
[opt-env-conf-test] withCapabilities ::
1762.21 s
[opt-env-conf-test] Maybe SrcLoc ->
1762.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
1762.21 s
[opt-env-conf-test] @@ -433,25 +433,22 @@
1762.21 s
[opt-env-conf-test] markParsed
1762.21 s
[opt-env-conf-test] pure a
1762.21 s
[opt-env-conf-test] _ ->
1762.21 s
[opt-env-conf-test] case settingDefaultValue of
1762.21 s
[opt-env-conf-test] - Just (a, _) -> do
1762.21 s
[opt-env-conf-test] - debug ["set to default value"]
1762.21 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1762.21 s
[opt-env-conf-test] Nothing -> do
1762.21 s
[opt-env-conf-test] let parseResultError e res = case res of
1762.21 s
[opt-env-conf-test] NotRun -> Nothing
1762.21 s
[opt-env-conf-test] NotFound -> Just e
1762.21 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1762.21 s
[opt-env-conf-test] debug ["not found"]
1762.21 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.21 s
[opt-env-conf-test] NE.nonEmpty $
1762.44 s
[opt-env-conf-test] catMaybes
1762.44 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1762.44 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1762.44 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1762.44 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1762.44 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1762.44 s
[opt-env-conf-test] ]
1762.44 s
[opt-env-conf-test]
1762.44 s
[opt-env-conf-test] withCapabilities ::
1762.44 s
[opt-env-conf-test] Maybe SrcLoc ->
1762.44 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
1762.44 s
[opt-env-conf-test] @@ -433,25 +433,10 @@
1762.44 s
[opt-env-conf-test] markParsed
1762.44 s
[opt-env-conf-test] pure a
1762.44 s
[opt-env-conf-test] _ ->
1762.44 s
[opt-env-conf-test] case settingDefaultValue of
1762.44 s
[opt-env-conf-test] Just (a, _) -> do
1762.44 s
[opt-env-conf-test] debug ["set to default value"]
1762.45 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1762.45 s
[opt-env-conf-test] - Nothing -> do
1762.45 s
[opt-env-conf-test] - let parseResultError e res = case res of
1762.45 s
[opt-env-conf-test] - NotRun -> Nothing
1762.45 s
[opt-env-conf-test] - NotFound -> Just e
1762.45 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1762.45 s
[opt-env-conf-test] - debug ["not found"]
1762.45 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.45 s
[opt-env-conf-test] - NE.nonEmpty $
1762.45 s
[opt-env-conf-test] - catMaybes
1762.45 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1762.45 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1762.45 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1762.45 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1762.45 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1762.45 s
[opt-env-conf-test] - ]
1762.45 s
[opt-env-conf-test]
1762.45 s
[opt-env-conf-test] withCapabilities ::
1762.45 s
[opt-env-conf-test] Maybe SrcLoc ->
1762.45 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
1762.45 s
[opt-env-conf-test] @@ -366,92 +366,89 @@
1762.45 s
[opt-env-conf-test] pure NotFound
1762.45 s
[opt-env-conf-test] Just a -> pure $ Found a
1762.45 s
[opt-env-conf-test]
1762.45 s
[opt-env-conf-test] case mEnv of
1762.45 s
[opt-env-conf-test] - Found a -> do
1762.45 s
[opt-env-conf-test] - markParsed
1762.45 s
[opt-env-conf-test] - pure a
1762.45 s
[opt-env-conf-test] _ -> do
1762.45 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1762.45 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1762.45 s
[opt-env-conf-test] Nothing -> pure NotRun
1762.45 s
[opt-env-conf-test] Just confSets -> do
1762.45 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1762.45 s
[opt-env-conf-test] case mObj of
1762.45 s
[opt-env-conf-test] Nothing -> do
1762.45 s
[opt-env-conf-test] debug ["no config object to set from"]
1762.45 s
[opt-env-conf-test] pure NotFound
1762.45 s
[opt-env-conf-test] Just obj -> do
1762.45 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1762.45 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1762.45 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1762.45 s
[opt-env-conf-test] Nothing -> do
1762.45 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1762.45 s
[opt-env-conf-test] Nothing -> pure Nothing
1762.45 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1762.45 s
[opt-env-conf-test] Just neRest -> do
1762.45 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1762.45 s
[opt-env-conf-test] case mO' of
1762.45 s
[opt-env-conf-test] Nothing -> pure Nothing
1762.45 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1762.45 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1762.45 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1762.45 s
[opt-env-conf-test] Right mV -> case mV of
1762.45 s
[opt-env-conf-test] Nothing -> do
1762.46 s
[opt-env-conf-test] debug
1762.46 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1762.46 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1762.46 s
[opt-env-conf-test] ]
1762.46 s
[opt-env-conf-test] pure Nothing
1762.46 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1762.46 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1762.46 s
[opt-env-conf-test] Right mA -> case mA of
1762.46 s
[opt-env-conf-test] Nothing -> do
1762.46 s
[opt-env-conf-test] debug
1762.46 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1762.46 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1762.46 s
[opt-env-conf-test] ]
1762.46 s
[opt-env-conf-test] pure Nothing
1762.46 s
[opt-env-conf-test] Just a -> do
1762.46 s
[opt-env-conf-test] debug
1762.46 s
[opt-env-conf-test] [ "set based on config value: ",
1762.46 s
[opt-env-conf-test] chunk $ T.pack $ show v
1762.46 s
[opt-env-conf-test] ]
1762.46 s
[opt-env-conf-test] pure $ Just a
1762.46 s
[opt-env-conf-test] let toRes = \case
1762.46 s
[opt-env-conf-test] Nothing -> NotFound
1762.46 s
[opt-env-conf-test] Just a -> Found a
1762.46 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1762.96 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1762.96 s
[opt-env-conf-test] Just ne -> do
1762.96 s
[opt-env-conf-test] res <- goConfSet confSet
1762.96 s
[opt-env-conf-test] case res of
1762.96 s
[opt-env-conf-test] Just a -> pure $ Found a
1762.96 s
[opt-env-conf-test] Nothing -> goConfSets ne
1762.96 s
[opt-env-conf-test] goConfSets confSets
1762.96 s
[opt-env-conf-test] case mConf of
1762.96 s
[opt-env-conf-test] Found a -> do
1762.96 s
[opt-env-conf-test] markParsed
1762.96 s
[opt-env-conf-test] pure a
1762.96 s
[opt-env-conf-test] _ ->
1762.96 s
[opt-env-conf-test] case settingDefaultValue of
1762.96 s
[opt-env-conf-test] Just (a, _) -> do
1762.96 s
[opt-env-conf-test] debug ["set to default value"]
1762.97 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1762.97 s
[opt-env-conf-test] Nothing -> do
1762.97 s
[opt-env-conf-test] let parseResultError e res = case res of
1762.97 s
[opt-env-conf-test] NotRun -> Nothing
1762.97 s
[opt-env-conf-test] NotFound -> Just e
1762.97 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1762.97 s
[opt-env-conf-test] debug ["not found"]
1762.97 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.97 s
[opt-env-conf-test] NE.nonEmpty $
1762.97 s
[opt-env-conf-test] catMaybes
1762.97 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1762.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1762.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1762.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1762.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1762.97 s
[opt-env-conf-test] ]
1762.97 s
[opt-env-conf-test]
1762.97 s
[opt-env-conf-test] withCapabilities ::
1762.97 s
[opt-env-conf-test] Maybe SrcLoc ->
1762.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
1762.97 s
[opt-env-conf-test] @@ -428,30 +428,27 @@
1762.97 s
[opt-env-conf-test] Just a -> pure $ Found a
1762.97 s
[opt-env-conf-test] Nothing -> goConfSets ne
1762.97 s
[opt-env-conf-test] goConfSets confSets
1762.97 s
[opt-env-conf-test] case mConf of
1762.97 s
[opt-env-conf-test] - Found a -> do
1762.97 s
[opt-env-conf-test] - markParsed
1762.97 s
[opt-env-conf-test] - pure a
1762.97 s
[opt-env-conf-test] _ ->
1762.97 s
[opt-env-conf-test] case settingDefaultValue of
1762.97 s
[opt-env-conf-test] Just (a, _) -> do
1762.97 s
[opt-env-conf-test] debug ["set to default value"]
1762.97 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1762.97 s
[opt-env-conf-test] Nothing -> do
1762.97 s
[opt-env-conf-test] let parseResultError e res = case res of
1762.97 s
[opt-env-conf-test] NotRun -> Nothing
1762.97 s
[opt-env-conf-test] NotFound -> Just e
1762.97 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1762.97 s
[opt-env-conf-test] debug ["not found"]
1762.97 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.97 s
[opt-env-conf-test] NE.nonEmpty $
1762.97 s
[opt-env-conf-test] catMaybes
1762.97 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1762.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1762.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1762.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1762.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1762.97 s
[opt-env-conf-test] ]
1762.97 s
[opt-env-conf-test]
1762.97 s
[opt-env-conf-test] withCapabilities ::
1762.97 s
[opt-env-conf-test] Maybe SrcLoc ->
1762.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
1762.97 s
[opt-env-conf-test] @@ -428,30 +428,10 @@
1762.98 s
[opt-env-conf-test] Just a -> pure $ Found a
1762.98 s
[opt-env-conf-test] Nothing -> goConfSets ne
1762.98 s
[opt-env-conf-test] goConfSets confSets
1762.98 s
[opt-env-conf-test] case mConf of
1762.98 s
[opt-env-conf-test] Found a -> do
1762.98 s
[opt-env-conf-test] markParsed
1762.98 s
[opt-env-conf-test] pure a
1762.98 s
[opt-env-conf-test] - _ ->
1762.98 s
[opt-env-conf-test] - case settingDefaultValue of
1762.98 s
[opt-env-conf-test] - Just (a, _) -> do
1762.98 s
[opt-env-conf-test] - debug ["set to default value"]
1762.98 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1762.98 s
[opt-env-conf-test] - Nothing -> do
1762.98 s
[opt-env-conf-test] - let parseResultError e res = case res of
1762.98 s
[opt-env-conf-test] - NotRun -> Nothing
1762.98 s
[opt-env-conf-test] - NotFound -> Just e
1762.98 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1762.98 s
[opt-env-conf-test] - debug ["not found"]
1762.98 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1762.98 s
[opt-env-conf-test] - NE.nonEmpty $
1762.98 s
[opt-env-conf-test] - catMaybes
1762.98 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1762.98 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1762.98 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1762.98 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1762.98 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1762.98 s
[opt-env-conf-test] - ]
1762.98 s
[opt-env-conf-test]
1762.98 s
[opt-env-conf-test] withCapabilities ::
1763.59 s
[opt-env-conf-test] Maybe SrcLoc ->
1763.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
1763.59 s
[opt-env-conf-test] @@ -366,92 +366,10 @@
1763.59 s
[opt-env-conf-test] pure NotFound
1763.59 s
[opt-env-conf-test] Just a -> pure $ Found a
1763.59 s
[opt-env-conf-test]
1763.59 s
[opt-env-conf-test] case mEnv of
1763.59 s
[opt-env-conf-test] Found a -> do
1763.59 s
[opt-env-conf-test] markParsed
1763.59 s
[opt-env-conf-test] pure a
1763.59 s
[opt-env-conf-test] - _ -> do
1763.59 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1763.59 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1763.59 s
[opt-env-conf-test] - Nothing -> pure NotRun
1763.60 s
[opt-env-conf-test] - Just confSets -> do
1763.60 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1763.60 s
[opt-env-conf-test] - case mObj of
1763.60 s
[opt-env-conf-test] - Nothing -> do
1763.60 s
[opt-env-conf-test] - debug ["no config object to set from"]
1763.60 s
[opt-env-conf-test] - pure NotFound
1763.60 s
[opt-env-conf-test] - Just obj -> do
1763.60 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1763.60 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1763.60 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1763.60 s
[opt-env-conf-test] - Nothing -> do
1763.60 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1763.60 s
[opt-env-conf-test] - Nothing -> pure Nothing
1763.60 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1763.60 s
[opt-env-conf-test] - Just neRest -> do
1763.60 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1763.60 s
[opt-env-conf-test] - case mO' of
1763.60 s
[opt-env-conf-test] - Nothing -> pure Nothing
1763.60 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1763.60 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1763.60 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1763.60 s
[opt-env-conf-test] - Right mV -> case mV of
1763.60 s
[opt-env-conf-test] - Nothing -> do
1763.60 s
[opt-env-conf-test] - debug
1763.60 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1763.60 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1763.60 s
[opt-env-conf-test] - ]
1763.60 s
[opt-env-conf-test] - pure Nothing
1763.60 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1763.60 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1763.60 s
[opt-env-conf-test] - Right mA -> case mA of
1763.60 s
[opt-env-conf-test] - Nothing -> do
1763.60 s
[opt-env-conf-test] - debug
1763.60 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1763.60 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1763.61 s
[opt-env-conf-test] - ]
1763.61 s
[opt-env-conf-test] - pure Nothing
1763.61 s
[opt-env-conf-test] - Just a -> do
1763.61 s
[opt-env-conf-test] - debug
1763.61 s
[opt-env-conf-test] - [ "set based on config value: ",
1763.61 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1763.61 s
[opt-env-conf-test] - ]
1763.61 s
[opt-env-conf-test] - pure $ Just a
1763.61 s
[opt-env-conf-test] - let toRes = \case
1763.61 s
[opt-env-conf-test] - Nothing -> NotFound
1763.61 s
[opt-env-conf-test] - Just a -> Found a
1763.61 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1763.61 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1763.61 s
[opt-env-conf-test] - Just ne -> do
1763.61 s
[opt-env-conf-test] - res <- goConfSet confSet
1763.61 s
[opt-env-conf-test] - case res of
1763.61 s
[opt-env-conf-test] - Just a -> pure $ Found a
1763.61 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1763.61 s
[opt-env-conf-test] - goConfSets confSets
1763.61 s
[opt-env-conf-test] - case mConf of
1763.61 s
[opt-env-conf-test] - Found a -> do
1763.61 s
[opt-env-conf-test] - markParsed
1763.61 s
[opt-env-conf-test] - pure a
1763.61 s
[opt-env-conf-test] - _ ->
1763.61 s
[opt-env-conf-test] - case settingDefaultValue of
1763.61 s
[opt-env-conf-test] - Just (a, _) -> do
1763.61 s
[opt-env-conf-test] - debug ["set to default value"]
1763.61 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1763.61 s
[opt-env-conf-test] - Nothing -> do
1763.61 s
[opt-env-conf-test] - let parseResultError e res = case res of
1763.61 s
[opt-env-conf-test] - NotRun -> Nothing
1763.61 s
[opt-env-conf-test] - NotFound -> Just e
1763.61 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1763.61 s
[opt-env-conf-test] - debug ["not found"]
1763.61 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1763.61 s
[opt-env-conf-test] - NE.nonEmpty $
1763.61 s
[opt-env-conf-test] - catMaybes
1764.73 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1764.73 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1764.73 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1764.73 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1764.73 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1764.74 s
[opt-env-conf-test] - ]
1764.74 s
[opt-env-conf-test]
1764.74 s
[opt-env-conf-test] withCapabilities ::
1764.74 s
[opt-env-conf-test] Maybe SrcLoc ->
1764.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
1764.74 s
[opt-env-conf-test] @@ -330,128 +330,125 @@
1764.74 s
[opt-env-conf-test] pure $ Found a
1764.74 s
[opt-env-conf-test] else pure NotRun
1764.74 s
[opt-env-conf-test]
1764.74 s
[opt-env-conf-test] case mOpt of
1764.74 s
[opt-env-conf-test] - Found a -> do
1764.74 s
[opt-env-conf-test] - markParsed
1764.74 s
[opt-env-conf-test] - pure a
1764.74 s
[opt-env-conf-test] _ -> do
1764.74 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1764.74 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1764.74 s
[opt-env-conf-test] Nothing -> pure NotRun
1764.74 s
[opt-env-conf-test] Just ne -> do
1764.74 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1764.74 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1764.74 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1764.74 s
[opt-env-conf-test] es <- asks ppEnvEnv
1764.74 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1764.74 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1764.74 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1764.74 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1764.74 s
[opt-env-conf-test] -- result.
1764.74 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1764.74 s
[opt-env-conf-test] case tryReaders rs varStr of
1764.74 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1764.74 s
[opt-env-conf-test] Right a -> do
1764.74 s
[opt-env-conf-test] debug
1764.74 s
[opt-env-conf-test] [ "set based on env: ",
1764.74 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1764.74 s
[opt-env-conf-test] ]
1764.74 s
[opt-env-conf-test] pure a
1764.75 s
[opt-env-conf-test] case listToMaybe results of
1764.75 s
[opt-env-conf-test] Nothing -> do
1764.75 s
[opt-env-conf-test] debug
1764.75 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1764.75 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1764.75 s
[opt-env-conf-test] ]
1764.75 s
[opt-env-conf-test] pure NotFound
1764.75 s
[opt-env-conf-test] Just a -> pure $ Found a
1764.75 s
[opt-env-conf-test]
1764.75 s
[opt-env-conf-test] case mEnv of
1764.75 s
[opt-env-conf-test] Found a -> do
1764.75 s
[opt-env-conf-test] markParsed
1764.75 s
[opt-env-conf-test] pure a
1764.75 s
[opt-env-conf-test] _ -> do
1764.75 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1764.75 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1764.75 s
[opt-env-conf-test] Nothing -> pure NotRun
1764.75 s
[opt-env-conf-test] Just confSets -> do
1764.75 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1764.75 s
[opt-env-conf-test] case mObj of
1764.75 s
[opt-env-conf-test] Nothing -> do
1764.75 s
[opt-env-conf-test] debug ["no config object to set from"]
1764.75 s
[opt-env-conf-test] pure NotFound
1764.75 s
[opt-env-conf-test] Just obj -> do
1764.75 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1764.75 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1764.75 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1764.75 s
[opt-env-conf-test] Nothing -> do
1764.75 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1764.75 s
[opt-env-conf-test] Nothing -> pure Nothing
1764.75 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1764.75 s
[opt-env-conf-test] Just neRest -> do
1764.75 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1764.75 s
[opt-env-conf-test] case mO' of
1764.75 s
[opt-env-conf-test] Nothing -> pure Nothing
1764.75 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1764.75 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1764.75 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1764.75 s
[opt-env-conf-test] Right mV -> case mV of
1764.75 s
[opt-env-conf-test] Nothing -> do
1764.75 s
[opt-env-conf-test] debug
1764.75 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1764.75 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1764.75 s
[opt-env-conf-test] ]
1764.75 s
[opt-env-conf-test] pure Nothing
1764.75 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1764.75 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1764.75 s
[opt-env-conf-test] Right mA -> case mA of
1764.75 s
[opt-env-conf-test] Nothing -> do
1764.75 s
[opt-env-conf-test] debug
1764.75 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1764.75 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1764.75 s
[opt-env-conf-test] ]
1764.75 s
[opt-env-conf-test] pure Nothing
1764.75 s
[opt-env-conf-test] Just a -> do
1764.75 s
[opt-env-conf-test] debug
1764.75 s
[opt-env-conf-test] [ "set based on config value: ",
1764.75 s
[opt-env-conf-test] chunk $ T.pack $ show v
1764.75 s
[opt-env-conf-test] ]
1764.75 s
[opt-env-conf-test] pure $ Just a
1764.75 s
[opt-env-conf-test] let toRes = \case
1764.75 s
[opt-env-conf-test] Nothing -> NotFound
1764.75 s
[opt-env-conf-test] Just a -> Found a
1764.76 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1764.76 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1764.76 s
[opt-env-conf-test] Just ne -> do
1765.55 s
[opt-env-conf-test] res <- goConfSet confSet
1765.55 s
[opt-env-conf-test] case res of
1765.55 s
[opt-env-conf-test] Just a -> pure $ Found a
1765.55 s
[opt-env-conf-test] Nothing -> goConfSets ne
1765.55 s
[opt-env-conf-test] goConfSets confSets
1765.55 s
[opt-env-conf-test] case mConf of
1765.55 s
[opt-env-conf-test] Found a -> do
1765.55 s
[opt-env-conf-test] markParsed
1765.55 s
[opt-env-conf-test] pure a
1765.55 s
[opt-env-conf-test] _ ->
1765.56 s
[opt-env-conf-test] case settingDefaultValue of
1765.56 s
[opt-env-conf-test] Just (a, _) -> do
1765.56 s
[opt-env-conf-test] debug ["set to default value"]
1765.56 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1765.56 s
[opt-env-conf-test] Nothing -> do
1765.56 s
[opt-env-conf-test] let parseResultError e res = case res of
1765.56 s
[opt-env-conf-test] NotRun -> Nothing
1765.56 s
[opt-env-conf-test] NotFound -> Just e
1765.56 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1765.56 s
[opt-env-conf-test] debug ["not found"]
1765.56 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1765.56 s
[opt-env-conf-test] NE.nonEmpty $
1765.56 s
[opt-env-conf-test] catMaybes
1765.56 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1765.56 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1765.56 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1765.56 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1765.56 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1765.56 s
[opt-env-conf-test] ]
1765.56 s
[opt-env-conf-test]
1765.56 s
[opt-env-conf-test] withCapabilities ::
1765.56 s
[opt-env-conf-test] Maybe SrcLoc ->
1765.56 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
1765.56 s
[opt-env-conf-test] @@ -330,128 +330,10 @@
1765.56 s
[opt-env-conf-test] pure $ Found a
1765.56 s
[opt-env-conf-test] else pure NotRun
1765.56 s
[opt-env-conf-test]
1765.56 s
[opt-env-conf-test] case mOpt of
1765.56 s
[opt-env-conf-test] Found a -> do
1765.56 s
[opt-env-conf-test] markParsed
1765.56 s
[opt-env-conf-test] pure a
1765.56 s
[opt-env-conf-test] - _ -> do
1765.56 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1765.56 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1765.56 s
[opt-env-conf-test] - Nothing -> pure NotRun
1765.56 s
[opt-env-conf-test] - Just ne -> do
1765.56 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1765.56 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1765.56 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1765.56 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1765.56 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1765.56 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1765.56 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1765.56 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1765.56 s
[opt-env-conf-test] - -- result.
1765.56 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1765.56 s
[opt-env-conf-test] - case tryReaders rs varStr of
1765.56 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1765.56 s
[opt-env-conf-test] - Right a -> do
1765.56 s
[opt-env-conf-test] - debug
1765.56 s
[opt-env-conf-test] - [ "set based on env: ",
1765.57 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1765.57 s
[opt-env-conf-test] - ]
1765.57 s
[opt-env-conf-test] - pure a
1765.57 s
[opt-env-conf-test] - case listToMaybe results of
1765.57 s
[opt-env-conf-test] - Nothing -> do
1765.57 s
[opt-env-conf-test] - debug
1765.57 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1765.57 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1765.57 s
[opt-env-conf-test] - ]
1765.57 s
[opt-env-conf-test] - pure NotFound
1765.57 s
[opt-env-conf-test] - Just a -> pure $ Found a
1765.57 s
[opt-env-conf-test] -
1765.57 s
[opt-env-conf-test] - case mEnv of
1765.57 s
[opt-env-conf-test] - Found a -> do
1765.57 s
[opt-env-conf-test] - markParsed
1765.57 s
[opt-env-conf-test] - pure a
1765.57 s
[opt-env-conf-test] - _ -> do
1765.57 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1765.57 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1765.57 s
[opt-env-conf-test] - Nothing -> pure NotRun
1765.57 s
[opt-env-conf-test] - Just confSets -> do
1765.57 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1765.57 s
[opt-env-conf-test] - case mObj of
1765.57 s
[opt-env-conf-test] - Nothing -> do
1765.57 s
[opt-env-conf-test] - debug ["no config object to set from"]
1765.57 s
[opt-env-conf-test] - pure NotFound
1765.57 s
[opt-env-conf-test] - Just obj -> do
1765.57 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1765.57 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1765.57 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1765.57 s
[opt-env-conf-test] - Nothing -> do
1765.57 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1765.57 s
[opt-env-conf-test] - Nothing -> pure Nothing
1765.57 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1765.57 s
[opt-env-conf-test] - Just neRest -> do
1765.57 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1765.57 s
[opt-env-conf-test] - case mO' of
1765.57 s
[opt-env-conf-test] - Nothing -> pure Nothing
1765.57 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1765.57 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1765.57 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1765.57 s
[opt-env-conf-test] - Right mV -> case mV of
1765.57 s
[opt-env-conf-test] - Nothing -> do
1765.57 s
[opt-env-conf-test] - debug
1765.57 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1765.57 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1765.57 s
[opt-env-conf-test] - ]
1765.57 s
[opt-env-conf-test] - pure Nothing
1765.57 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1765.57 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1765.57 s
[opt-env-conf-test] - Right mA -> case mA of
1765.57 s
[opt-env-conf-test] - Nothing -> do
1765.57 s
[opt-env-conf-test] - debug
1765.57 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1765.57 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1765.57 s
[opt-env-conf-test] - ]
1765.57 s
[opt-env-conf-test] - pure Nothing
1765.57 s
[opt-env-conf-test] - Just a -> do
1765.57 s
[opt-env-conf-test] - debug
1765.57 s
[opt-env-conf-test] - [ "set based on config value: ",
1765.57 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1765.57 s
[opt-env-conf-test] - ]
1765.58 s
[opt-env-conf-test] - pure $ Just a
1765.58 s
[opt-env-conf-test] - let toRes = \case
1765.58 s
[opt-env-conf-test] - Nothing -> NotFound
1765.58 s
[opt-env-conf-test] - Just a -> Found a
1765.58 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1765.58 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1765.58 s
[opt-env-conf-test] - Just ne -> do
1765.58 s
[opt-env-conf-test] - res <- goConfSet confSet
1765.58 s
[opt-env-conf-test] - case res of
1765.58 s
[opt-env-conf-test] - Just a -> pure $ Found a
1765.58 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1765.58 s
[opt-env-conf-test] - goConfSets confSets
1765.58 s
[opt-env-conf-test] - case mConf of
1765.58 s
[opt-env-conf-test] - Found a -> do
1765.58 s
[opt-env-conf-test] - markParsed
1765.58 s
[opt-env-conf-test] - pure a
1765.58 s
[opt-env-conf-test] - _ ->
1765.58 s
[opt-env-conf-test] - case settingDefaultValue of
1765.58 s
[opt-env-conf-test] - Just (a, _) -> do
1765.58 s
[opt-env-conf-test] - debug ["set to default value"]
1765.58 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1765.58 s
[opt-env-conf-test] - Nothing -> do
1765.58 s
[opt-env-conf-test] - let parseResultError e res = case res of
1765.58 s
[opt-env-conf-test] - NotRun -> Nothing
1765.58 s
[opt-env-conf-test] - NotFound -> Just e
1765.58 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1765.58 s
[opt-env-conf-test] - debug ["not found"]
1765.58 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1765.58 s
[opt-env-conf-test] - NE.nonEmpty $
1765.58 s
[opt-env-conf-test] - catMaybes
1765.58 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1765.58 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1765.58 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1765.58 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1765.58 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1765.58 s
[opt-env-conf-test] - ]
1765.58 s
[opt-env-conf-test]
1765.58 s
[opt-env-conf-test] withCapabilities ::
1765.58 s
[opt-env-conf-test] Maybe SrcLoc ->
1765.58 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
1765.58 s
[opt-env-conf-test] @@ -300,158 +300,155 @@
1765.58 s
[opt-env-conf-test] debug ["set based on switch."]
1765.58 s
[opt-env-conf-test] pure $ Found a
1765.58 s
[opt-env-conf-test]
1765.58 s
[opt-env-conf-test] case mSwitch of
1765.58 s
[opt-env-conf-test] - Found a -> do
1765.58 s
[opt-env-conf-test] - markParsed
1765.58 s
[opt-env-conf-test] - pure a
1765.58 s
[opt-env-conf-test] _ -> do
1765.58 s
[opt-env-conf-test] mOpt <-
1765.58 s
[opt-env-conf-test] if settingTryOption
1765.58 s
[opt-env-conf-test] then do
1765.58 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1765.58 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1765.58 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1765.58 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1765.58 s
[opt-env-conf-test] case mS of
1765.58 s
[opt-env-conf-test] Nothing -> do
1765.58 s
[opt-env-conf-test] debug
1765.58 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1765.58 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1765.58 s
[opt-env-conf-test] ]
1765.58 s
[opt-env-conf-test] pure NotFound
1765.58 s
[opt-env-conf-test] Just optionStr -> cap $
1765.58 s
[opt-env-conf-test] case tryReaders rs optionStr of
1765.58 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1765.58 s
[opt-env-conf-test] Right a -> do
1765.58 s
[opt-env-conf-test] debug
1765.59 s
[opt-env-conf-test] [ "set based on option: ",
1765.59 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1765.59 s
[opt-env-conf-test] ]
1765.59 s
[opt-env-conf-test] pure $ Found a
1765.59 s
[opt-env-conf-test] else pure NotRun
1765.59 s
[opt-env-conf-test]
1765.59 s
[opt-env-conf-test] case mOpt of
1765.59 s
[opt-env-conf-test] Found a -> do
1765.59 s
[opt-env-conf-test] markParsed
1765.59 s
[opt-env-conf-test] pure a
1765.59 s
[opt-env-conf-test] _ -> do
1765.59 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1765.59 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1765.59 s
[opt-env-conf-test] Nothing -> pure NotRun
1765.59 s
[opt-env-conf-test] Just ne -> do
1765.59 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1765.59 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1765.59 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1765.59 s
[opt-env-conf-test] es <- asks ppEnvEnv
1765.59 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1765.59 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1765.59 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1765.59 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1765.59 s
[opt-env-conf-test] -- result.
1765.59 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1765.59 s
[opt-env-conf-test] case tryReaders rs varStr of
1765.59 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1765.59 s
[opt-env-conf-test] Right a -> do
1765.59 s
[opt-env-conf-test] debug
1765.59 s
[opt-env-conf-test] [ "set based on env: ",
1765.59 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1765.59 s
[opt-env-conf-test] ]
1765.59 s
[opt-env-conf-test] pure a
1765.59 s
[opt-env-conf-test] case listToMaybe results of
1765.59 s
[opt-env-conf-test] Nothing -> do
1765.59 s
[opt-env-conf-test] debug
1765.59 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1765.59 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1765.59 s
[opt-env-conf-test] ]
1765.59 s
[opt-env-conf-test] pure NotFound
1765.59 s
[opt-env-conf-test] Just a -> pure $ Found a
1765.59 s
[opt-env-conf-test]
1765.59 s
[opt-env-conf-test] case mEnv of
1765.59 s
[opt-env-conf-test] Found a -> do
1765.59 s
[opt-env-conf-test] markParsed
1765.59 s
[opt-env-conf-test] pure a
1765.59 s
[opt-env-conf-test] _ -> do
1765.59 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1765.59 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1765.59 s
[opt-env-conf-test] Nothing -> pure NotRun
1765.59 s
[opt-env-conf-test] Just confSets -> do
1765.59 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1765.59 s
[opt-env-conf-test] case mObj of
1765.59 s
[opt-env-conf-test] Nothing -> do
1765.59 s
[opt-env-conf-test] debug ["no config object to set from"]
1765.59 s
[opt-env-conf-test] pure NotFound
1765.59 s
[opt-env-conf-test] Just obj -> do
1765.59 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1765.59 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1765.59 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1765.59 s
[opt-env-conf-test] Nothing -> do
1765.59 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1765.59 s
[opt-env-conf-test] Nothing -> pure Nothing
1765.59 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1765.59 s
[opt-env-conf-test] Just neRest -> do
1765.59 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1765.59 s
[opt-env-conf-test] case mO' of
1765.60 s
[opt-env-conf-test] Nothing -> pure Nothing
1765.60 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1765.60 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1765.60 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1765.60 s
[opt-env-conf-test] Right mV -> case mV of
1765.60 s
[opt-env-conf-test] Nothing -> do
1765.60 s
[opt-env-conf-test] debug
1765.60 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1765.60 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1765.60 s
[opt-env-conf-test] ]
1765.60 s
[opt-env-conf-test] pure Nothing
1765.60 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1765.60 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1765.60 s
[opt-env-conf-test] Right mA -> case mA of
1765.60 s
[opt-env-conf-test] Nothing -> do
1765.60 s
[opt-env-conf-test] debug
1765.60 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1765.60 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1765.60 s
[opt-env-conf-test] ]
1765.60 s
[opt-env-conf-test] pure Nothing
1765.60 s
[opt-env-conf-test] Just a -> do
1765.60 s
[opt-env-conf-test] debug
1765.60 s
[opt-env-conf-test] [ "set based on config value: ",
1765.60 s
[opt-env-conf-test] chunk $ T.pack $ show v
1765.60 s
[opt-env-conf-test] ]
1765.60 s
[opt-env-conf-test] pure $ Just a
1765.60 s
[opt-env-conf-test] let toRes = \case
1765.60 s
[opt-env-conf-test] Nothing -> NotFound
1765.60 s
[opt-env-conf-test] Just a -> Found a
1765.60 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1765.60 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1765.60 s
[opt-env-conf-test] Just ne -> do
1765.60 s
[opt-env-conf-test] res <- goConfSet confSet
1765.60 s
[opt-env-conf-test] case res of
1765.60 s
[opt-env-conf-test] Just a -> pure $ Found a
1765.60 s
[opt-env-conf-test] Nothing -> goConfSets ne
1765.60 s
[opt-env-conf-test] goConfSets confSets
1765.60 s
[opt-env-conf-test] case mConf of
1765.60 s
[opt-env-conf-test] Found a -> do
1765.60 s
[opt-env-conf-test] markParsed
1765.60 s
[opt-env-conf-test] pure a
1765.60 s
[opt-env-conf-test] _ ->
1765.60 s
[opt-env-conf-test] case settingDefaultValue of
1765.60 s
[opt-env-conf-test] Just (a, _) -> do
1766.17 s
[opt-env-conf-test] debug ["set to default value"]
1766.17 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1766.17 s
[opt-env-conf-test] Nothing -> do
1766.17 s
[opt-env-conf-test] let parseResultError e res = case res of
1766.17 s
[opt-env-conf-test] NotRun -> Nothing
1766.17 s
[opt-env-conf-test] NotFound -> Just e
1766.17 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1766.17 s
[opt-env-conf-test] debug ["not found"]
1766.17 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1766.17 s
[opt-env-conf-test] NE.nonEmpty $
1766.17 s
[opt-env-conf-test] catMaybes
1766.17 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1766.17 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1766.17 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1766.17 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1766.17 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1766.17 s
[opt-env-conf-test] ]
1766.17 s
[opt-env-conf-test]
1766.17 s
[opt-env-conf-test] withCapabilities ::
1766.17 s
[opt-env-conf-test] Maybe SrcLoc ->
1766.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
1766.18 s
[opt-env-conf-test] @@ -300,158 +300,10 @@
1766.18 s
[opt-env-conf-test] debug ["set based on switch."]
1766.18 s
[opt-env-conf-test] pure $ Found a
1766.18 s
[opt-env-conf-test]
1766.18 s
[opt-env-conf-test] case mSwitch of
1766.18 s
[opt-env-conf-test] Found a -> do
1766.18 s
[opt-env-conf-test] markParsed
1766.18 s
[opt-env-conf-test] pure a
1766.18 s
[opt-env-conf-test] - _ -> do
1766.18 s
[opt-env-conf-test] - mOpt <-
1766.18 s
[opt-env-conf-test] - if settingTryOption
1766.18 s
[opt-env-conf-test] - then do
1766.18 s
[opt-env-conf-test] - -- Require readers before finding the option so the parser
1766.18 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1766.18 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1766.18 s
[opt-env-conf-test] - mS <- ppOpt settingDasheds
1766.18 s
[opt-env-conf-test] - case mS of
1766.18 s
[opt-env-conf-test] - Nothing -> do
1766.18 s
[opt-env-conf-test] - debug
1766.18 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1766.18 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1766.18 s
[opt-env-conf-test] - ]
1766.18 s
[opt-env-conf-test] - pure NotFound
1766.18 s
[opt-env-conf-test] - Just optionStr -> cap $
1766.18 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1766.18 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1766.18 s
[opt-env-conf-test] - Right a -> do
1766.18 s
[opt-env-conf-test] - debug
1766.18 s
[opt-env-conf-test] - [ "set based on option: ",
1766.18 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1766.18 s
[opt-env-conf-test] - ]
1766.19 s
[opt-env-conf-test] - pure $ Found a
1766.19 s
[opt-env-conf-test] - else pure NotRun
1766.19 s
[opt-env-conf-test] -
1766.19 s
[opt-env-conf-test] - case mOpt of
1766.19 s
[opt-env-conf-test] - Found a -> do
1766.19 s
[opt-env-conf-test] - markParsed
1766.19 s
[opt-env-conf-test] - pure a
1766.19 s
[opt-env-conf-test] - _ -> do
1766.19 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1766.19 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1766.19 s
[opt-env-conf-test] - Nothing -> pure NotRun
1766.19 s
[opt-env-conf-test] - Just ne -> do
1766.19 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1766.19 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1766.19 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1766.19 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1766.19 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1766.19 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1766.19 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1766.19 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1766.19 s
[opt-env-conf-test] - -- result.
1766.19 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1766.19 s
[opt-env-conf-test] - case tryReaders rs varStr of
1766.19 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1766.19 s
[opt-env-conf-test] - Right a -> do
1766.19 s
[opt-env-conf-test] - debug
1766.19 s
[opt-env-conf-test] - [ "set based on env: ",
1766.19 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1766.19 s
[opt-env-conf-test] - ]
1766.19 s
[opt-env-conf-test] - pure a
1766.19 s
[opt-env-conf-test] - case listToMaybe results of
1766.19 s
[opt-env-conf-test] - Nothing -> do
1766.19 s
[opt-env-conf-test] - debug
1766.19 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1766.19 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1766.19 s
[opt-env-conf-test] - ]
1766.19 s
[opt-env-conf-test] - pure NotFound
1766.19 s
[opt-env-conf-test] - Just a -> pure $ Found a
1766.19 s
[opt-env-conf-test] -
1766.19 s
[opt-env-conf-test] - case mEnv of
1766.20 s
[opt-env-conf-test] - Found a -> do
1766.20 s
[opt-env-conf-test] - markParsed
1766.20 s
[opt-env-conf-test] - pure a
1766.20 s
[opt-env-conf-test] - _ -> do
1766.20 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1766.20 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1766.20 s
[opt-env-conf-test] - Nothing -> pure NotRun
1766.20 s
[opt-env-conf-test] - Just confSets -> do
1766.20 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1766.20 s
[opt-env-conf-test] - case mObj of
1766.20 s
[opt-env-conf-test] - Nothing -> do
1766.20 s
[opt-env-conf-test] - debug ["no config object to set from"]
1766.20 s
[opt-env-conf-test] - pure NotFound
1766.20 s
[opt-env-conf-test] - Just obj -> do
1766.20 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1766.20 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1766.20 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1766.20 s
[opt-env-conf-test] - Nothing -> do
1766.20 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1766.20 s
[opt-env-conf-test] - Nothing -> pure Nothing
1766.20 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1766.20 s
[opt-env-conf-test] - Just neRest -> do
1766.20 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1766.20 s
[opt-env-conf-test] - case mO' of
1766.20 s
[opt-env-conf-test] - Nothing -> pure Nothing
1766.20 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1766.20 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1766.20 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1766.20 s
[opt-env-conf-test] - Right mV -> case mV of
1766.20 s
[opt-env-conf-test] - Nothing -> do
1766.20 s
[opt-env-conf-test] - debug
1766.20 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1766.21 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1766.21 s
[opt-env-conf-test] - ]
1766.21 s
[opt-env-conf-test] - pure Nothing
1766.21 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1766.21 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1766.21 s
[opt-env-conf-test] - Right mA -> case mA of
1766.21 s
[opt-env-conf-test] - Nothing -> do
1766.21 s
[opt-env-conf-test] - debug
1766.21 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1766.21 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1766.21 s
[opt-env-conf-test] - ]
1766.21 s
[opt-env-conf-test] - pure Nothing
1766.21 s
[opt-env-conf-test] - Just a -> do
1766.21 s
[opt-env-conf-test] - debug
1766.21 s
[opt-env-conf-test] - [ "set based on config value: ",
1766.21 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1766.21 s
[opt-env-conf-test] - ]
1766.21 s
[opt-env-conf-test] - pure $ Just a
1766.21 s
[opt-env-conf-test] - let toRes = \case
1766.21 s
[opt-env-conf-test] - Nothing -> NotFound
1766.21 s
[opt-env-conf-test] - Just a -> Found a
1766.21 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1766.21 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1766.21 s
[opt-env-conf-test] - Just ne -> do
1766.21 s
[opt-env-conf-test] - res <- goConfSet confSet
1766.21 s
[opt-env-conf-test] - case res of
1766.21 s
[opt-env-conf-test] - Just a -> pure $ Found a
1766.21 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1766.21 s
[opt-env-conf-test] - goConfSets confSets
1766.21 s
[opt-env-conf-test] - case mConf of
1766.21 s
[opt-env-conf-test] - Found a -> do
1766.21 s
[opt-env-conf-test] - markParsed
1766.21 s
[opt-env-conf-test] - pure a
1766.21 s
[opt-env-conf-test] - _ ->
1766.21 s
[opt-env-conf-test] - case settingDefaultValue of
1766.21 s
[opt-env-conf-test] - Just (a, _) -> do
1766.21 s
[opt-env-conf-test] - debug ["set to default value"]
1766.21 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1766.21 s
[opt-env-conf-test] - Nothing -> do
1766.21 s
[opt-env-conf-test] - let parseResultError e res = case res of
1766.21 s
[opt-env-conf-test] - NotRun -> Nothing
1766.21 s
[opt-env-conf-test] - NotFound -> Just e
1766.21 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1766.21 s
[opt-env-conf-test] - debug ["not found"]
1766.21 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1766.21 s
[opt-env-conf-test] - NE.nonEmpty $
1766.21 s
[opt-env-conf-test] - catMaybes
1766.21 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1766.21 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1766.34 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1766.34 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1766.34 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1766.34 s
[opt-env-conf-test] - ]
1766.34 s
[opt-env-conf-test]
1766.34 s
[opt-env-conf-test] withCapabilities ::
1766.34 s
[opt-env-conf-test] Maybe SrcLoc ->
1766.34 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
1766.35 s
[opt-env-conf-test] @@ -280,178 +280,175 @@
1766.35 s
[opt-env-conf-test] pure $ Found a
1766.35 s
[opt-env-conf-test] else pure NotRun
1766.35 s
[opt-env-conf-test]
1766.35 s
[opt-env-conf-test] case mArg of
1766.35 s
[opt-env-conf-test] - Found a -> do
1766.35 s
[opt-env-conf-test] - markParsed
1766.35 s
[opt-env-conf-test] - pure a
1766.35 s
[opt-env-conf-test] _ -> do
1766.35 s
[opt-env-conf-test] mSwitch <- case settingSwitchValue of
1766.35 s
[opt-env-conf-test] Nothing -> pure NotRun
1766.35 s
[opt-env-conf-test] Just a -> do
1766.35 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1766.35 s
[opt-env-conf-test] case mS of
1766.35 s
[opt-env-conf-test] Nothing -> do
1766.35 s
[opt-env-conf-test] debug
1766.35 s
[opt-env-conf-test] [ "could not set based on switch, no switch: ",
1766.35 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1766.35 s
[opt-env-conf-test] ]
1766.35 s
[opt-env-conf-test] pure NotFound
1766.35 s
[opt-env-conf-test] Just () -> cap $ do
1766.35 s
[opt-env-conf-test] debug ["set based on switch."]
1766.35 s
[opt-env-conf-test] pure $ Found a
1766.35 s
[opt-env-conf-test]
1766.35 s
[opt-env-conf-test] case mSwitch of
1766.35 s
[opt-env-conf-test] Found a -> do
1766.35 s
[opt-env-conf-test] markParsed
1766.35 s
[opt-env-conf-test] pure a
1766.35 s
[opt-env-conf-test] _ -> do
1766.35 s
[opt-env-conf-test] mOpt <-
1766.35 s
[opt-env-conf-test] if settingTryOption
1766.35 s
[opt-env-conf-test] then do
1766.35 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1766.35 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1766.35 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1766.35 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1766.36 s
[opt-env-conf-test] case mS of
1766.36 s
[opt-env-conf-test] Nothing -> do
1766.36 s
[opt-env-conf-test] debug
1766.36 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1766.36 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1766.36 s
[opt-env-conf-test] ]
1766.36 s
[opt-env-conf-test] pure NotFound
1766.36 s
[opt-env-conf-test] Just optionStr -> cap $
1766.36 s
[opt-env-conf-test] case tryReaders rs optionStr of
1766.36 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1766.36 s
[opt-env-conf-test] Right a -> do
1766.36 s
[opt-env-conf-test] debug
1766.36 s
[opt-env-conf-test] [ "set based on option: ",
1766.36 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1766.36 s
[opt-env-conf-test] ]
1766.36 s
[opt-env-conf-test] pure $ Found a
1766.36 s
[opt-env-conf-test] else pure NotRun
1766.36 s
[opt-env-conf-test]
1766.36 s
[opt-env-conf-test] case mOpt of
1766.36 s
[opt-env-conf-test] Found a -> do
1766.36 s
[opt-env-conf-test] markParsed
1766.36 s
[opt-env-conf-test] pure a
1766.36 s
[opt-env-conf-test] _ -> do
1766.36 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1766.36 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1766.36 s
[opt-env-conf-test] Nothing -> pure NotRun
1766.36 s
[opt-env-conf-test] Just ne -> do
1766.36 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1766.36 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1766.36 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1766.36 s
[opt-env-conf-test] es <- asks ppEnvEnv
1766.36 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1766.36 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1766.36 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1766.36 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1766.36 s
[opt-env-conf-test] -- result.
1766.36 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1766.36 s
[opt-env-conf-test] case tryReaders rs varStr of
1766.36 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1766.36 s
[opt-env-conf-test] Right a -> do
1766.37 s
[opt-env-conf-test] debug
1766.37 s
[opt-env-conf-test] [ "set based on env: ",
1766.37 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1766.37 s
[opt-env-conf-test] ]
1766.37 s
[opt-env-conf-test] pure a
1766.37 s
[opt-env-conf-test] case listToMaybe results of
1766.37 s
[opt-env-conf-test] Nothing -> do
1766.37 s
[opt-env-conf-test] debug
1766.37 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1766.37 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1766.37 s
[opt-env-conf-test] ]
1766.37 s
[opt-env-conf-test] pure NotFound
1766.37 s
[opt-env-conf-test] Just a -> pure $ Found a
1766.37 s
[opt-env-conf-test]
1766.37 s
[opt-env-conf-test] case mEnv of
1766.37 s
[opt-env-conf-test] Found a -> do
1766.37 s
[opt-env-conf-test] markParsed
1766.37 s
[opt-env-conf-test] pure a
1766.37 s
[opt-env-conf-test] _ -> do
1766.37 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1766.37 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1766.37 s
[opt-env-conf-test] Nothing -> pure NotRun
1766.37 s
[opt-env-conf-test] Just confSets -> do
1766.37 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1766.37 s
[opt-env-conf-test] case mObj of
1766.37 s
[opt-env-conf-test] Nothing -> do
1766.37 s
[opt-env-conf-test] debug ["no config object to set from"]
1766.37 s
[opt-env-conf-test] pure NotFound
1766.37 s
[opt-env-conf-test] Just obj -> do
1766.37 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1766.37 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1766.37 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1766.37 s
[opt-env-conf-test] Nothing -> do
1766.37 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1766.37 s
[opt-env-conf-test] Nothing -> pure Nothing
1766.37 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1766.37 s
[opt-env-conf-test] Just neRest -> do
1766.37 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1766.37 s
[opt-env-conf-test] case mO' of
1766.37 s
[opt-env-conf-test] Nothing -> pure Nothing
1766.37 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1766.37 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1766.37 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1766.37 s
[opt-env-conf-test] Right mV -> case mV of
1766.37 s
[opt-env-conf-test] Nothing -> do
1766.38 s
[opt-env-conf-test] debug
1766.38 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1766.38 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1766.38 s
[opt-env-conf-test] ]
1766.38 s
[opt-env-conf-test] pure Nothing
1766.38 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1766.38 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1766.38 s
[opt-env-conf-test] Right mA -> case mA of
1766.38 s
[opt-env-conf-test] Nothing -> do
1766.38 s
[opt-env-conf-test] debug
1766.38 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1766.38 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1766.38 s
[opt-env-conf-test] ]
1766.38 s
[opt-env-conf-test] pure Nothing
1766.38 s
[opt-env-conf-test] Just a -> do
1766.38 s
[opt-env-conf-test] debug
1766.38 s
[opt-env-conf-test] [ "set based on config value: ",
1766.38 s
[opt-env-conf-test] chunk $ T.pack $ show v
1766.38 s
[opt-env-conf-test] ]
1766.38 s
[opt-env-conf-test] pure $ Just a
1766.38 s
[opt-env-conf-test] let toRes = \case
1766.38 s
[opt-env-conf-test] Nothing -> NotFound
1766.38 s
[opt-env-conf-test] Just a -> Found a
1766.38 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1766.89 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1766.89 s
[opt-env-conf-test] Just ne -> do
1766.89 s
[opt-env-conf-test] res <- goConfSet confSet
1766.89 s
[opt-env-conf-test] case res of
1766.89 s
[opt-env-conf-test] Just a -> pure $ Found a
1766.89 s
[opt-env-conf-test] Nothing -> goConfSets ne
1766.89 s
[opt-env-conf-test] goConfSets confSets
1766.89 s
[opt-env-conf-test] case mConf of
1766.89 s
[opt-env-conf-test] Found a -> do
1766.89 s
[opt-env-conf-test] markParsed
1766.89 s
[opt-env-conf-test] pure a
1766.90 s
[opt-env-conf-test] _ ->
1766.90 s
[opt-env-conf-test] case settingDefaultValue of
1766.90 s
[opt-env-conf-test] Just (a, _) -> do
1766.90 s
[opt-env-conf-test] debug ["set to default value"]
1766.90 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1766.90 s
[opt-env-conf-test] Nothing -> do
1766.90 s
[opt-env-conf-test] let parseResultError e res = case res of
1766.90 s
[opt-env-conf-test] NotRun -> Nothing
1766.90 s
[opt-env-conf-test] NotFound -> Just e
1766.90 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1766.90 s
[opt-env-conf-test] debug ["not found"]
1766.90 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1766.90 s
[opt-env-conf-test] NE.nonEmpty $
1766.90 s
[opt-env-conf-test] catMaybes
1766.90 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1766.90 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1766.90 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1766.90 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1766.90 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1766.90 s
[opt-env-conf-test] ]
1766.90 s
[opt-env-conf-test]
1766.90 s
[opt-env-conf-test] withCapabilities ::
1766.90 s
[opt-env-conf-test] Maybe SrcLoc ->
1766.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
1766.90 s
[opt-env-conf-test] @@ -280,178 +280,10 @@
1766.90 s
[opt-env-conf-test] pure $ Found a
1766.90 s
[opt-env-conf-test] else pure NotRun
1766.90 s
[opt-env-conf-test]
1766.90 s
[opt-env-conf-test] case mArg of
1766.90 s
[opt-env-conf-test] Found a -> do
1766.90 s
[opt-env-conf-test] markParsed
1766.90 s
[opt-env-conf-test] pure a
1766.90 s
[opt-env-conf-test] - _ -> do
1766.90 s
[opt-env-conf-test] - mSwitch <- case settingSwitchValue of
1766.90 s
[opt-env-conf-test] - Nothing -> pure NotRun
1766.90 s
[opt-env-conf-test] - Just a -> do
1766.90 s
[opt-env-conf-test] - mS <- ppSwitch settingDasheds
1766.91 s
[opt-env-conf-test] - case mS of
1766.91 s
[opt-env-conf-test] - Nothing -> do
1766.91 s
[opt-env-conf-test] - debug
1766.91 s
[opt-env-conf-test] - [ "could not set based on switch, no switch: ",
1766.91 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1766.91 s
[opt-env-conf-test] - ]
1766.91 s
[opt-env-conf-test] - pure NotFound
1766.91 s
[opt-env-conf-test] - Just () -> cap $ do
1766.91 s
[opt-env-conf-test] - debug ["set based on switch."]
1766.91 s
[opt-env-conf-test] - pure $ Found a
1766.91 s
[opt-env-conf-test] -
1766.91 s
[opt-env-conf-test] - case mSwitch of
1766.91 s
[opt-env-conf-test] - Found a -> do
1766.91 s
[opt-env-conf-test] - markParsed
1766.91 s
[opt-env-conf-test] - pure a
1766.91 s
[opt-env-conf-test] - _ -> do
1766.91 s
[opt-env-conf-test] - mOpt <-
1766.91 s
[opt-env-conf-test] - if settingTryOption
1766.91 s
[opt-env-conf-test] - then do
1766.91 s
[opt-env-conf-test] - -- Require readers before finding the option so the parser
1766.91 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1766.91 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1766.91 s
[opt-env-conf-test] - mS <- ppOpt settingDasheds
1766.91 s
[opt-env-conf-test] - case mS of
1766.91 s
[opt-env-conf-test] - Nothing -> do
1766.91 s
[opt-env-conf-test] - debug
1766.91 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1766.91 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1766.91 s
[opt-env-conf-test] - ]
1766.91 s
[opt-env-conf-test] - pure NotFound
1766.91 s
[opt-env-conf-test] - Just optionStr -> cap $
1766.91 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1766.91 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1766.91 s
[opt-env-conf-test] - Right a -> do
1766.91 s
[opt-env-conf-test] - debug
1766.91 s
[opt-env-conf-test] - [ "set based on option: ",
1766.91 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1766.91 s
[opt-env-conf-test] - ]
1766.91 s
[opt-env-conf-test] - pure $ Found a
1766.91 s
[opt-env-conf-test] - else pure NotRun
1766.91 s
[opt-env-conf-test] -
1766.91 s
[opt-env-conf-test] - case mOpt of
1766.91 s
[opt-env-conf-test] - Found a -> do
1766.91 s
[opt-env-conf-test] - markParsed
1766.91 s
[opt-env-conf-test] - pure a
1766.91 s
[opt-env-conf-test] - _ -> do
1766.91 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1766.91 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1766.91 s
[opt-env-conf-test] - Nothing -> pure NotRun
1766.91 s
[opt-env-conf-test] - Just ne -> do
1766.91 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1766.91 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1766.91 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1766.91 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1766.91 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1766.92 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1766.92 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1766.92 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1766.92 s
[opt-env-conf-test] - -- result.
1766.92 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1766.92 s
[opt-env-conf-test] - case tryReaders rs varStr of
1766.92 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1766.92 s
[opt-env-conf-test] - Right a -> do
1766.92 s
[opt-env-conf-test] - debug
1766.92 s
[opt-env-conf-test] - [ "set based on env: ",
1766.92 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1766.92 s
[opt-env-conf-test] - ]
1766.92 s
[opt-env-conf-test] - pure a
1766.92 s
[opt-env-conf-test] - case listToMaybe results of
1766.92 s
[opt-env-conf-test] - Nothing -> do
1766.92 s
[opt-env-conf-test] - debug
1766.92 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1766.92 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1766.92 s
[opt-env-conf-test] - ]
1766.92 s
[opt-env-conf-test] - pure NotFound
1766.92 s
[opt-env-conf-test] - Just a -> pure $ Found a
1766.92 s
[opt-env-conf-test] -
1766.92 s
[opt-env-conf-test] - case mEnv of
1766.92 s
[opt-env-conf-test] - Found a -> do
1766.92 s
[opt-env-conf-test] - markParsed
1766.92 s
[opt-env-conf-test] - pure a
1766.92 s
[opt-env-conf-test] - _ -> do
1766.92 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1766.92 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1766.92 s
[opt-env-conf-test] - Nothing -> pure NotRun
1766.92 s
[opt-env-conf-test] - Just confSets -> do
1766.92 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1766.92 s
[opt-env-conf-test] - case mObj of
1766.92 s
[opt-env-conf-test] - Nothing -> do
1766.92 s
[opt-env-conf-test] - debug ["no config object to set from"]
1766.92 s
[opt-env-conf-test] - pure NotFound
1766.92 s
[opt-env-conf-test] - Just obj -> do
1766.92 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1766.92 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1766.92 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1766.92 s
[opt-env-conf-test] - Nothing -> do
1766.92 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1766.92 s
[opt-env-conf-test] - Nothing -> pure Nothing
1766.92 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1766.92 s
[opt-env-conf-test] - Just neRest -> do
1766.92 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1766.92 s
[opt-env-conf-test] - case mO' of
1766.92 s
[opt-env-conf-test] - Nothing -> pure Nothing
1766.92 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1766.92 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1766.92 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1766.92 s
[opt-env-conf-test] - Right mV -> case mV of
1766.92 s
[opt-env-conf-test] - Nothing -> do
1766.92 s
[opt-env-conf-test] - debug
1766.92 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1766.92 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1766.92 s
[opt-env-conf-test] - ]
1766.92 s
[opt-env-conf-test] - pure Nothing
1766.92 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1766.92 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1766.92 s
[opt-env-conf-test] - Right mA -> case mA of
1766.92 s
[opt-env-conf-test] - Nothing -> do
1766.92 s
[opt-env-conf-test] - debug
1766.92 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1766.92 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1766.92 s
[opt-env-conf-test] - ]
1766.92 s
[opt-env-conf-test] - pure Nothing
1766.92 s
[opt-env-conf-test] - Just a -> do
1766.92 s
[opt-env-conf-test] - debug
1766.93 s
[opt-env-conf-test] - [ "set based on config value: ",
1766.93 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1766.93 s
[opt-env-conf-test] - ]
1766.93 s
[opt-env-conf-test] - pure $ Just a
1766.93 s
[opt-env-conf-test] - let toRes = \case
1766.93 s
[opt-env-conf-test] - Nothing -> NotFound
1766.93 s
[opt-env-conf-test] - Just a -> Found a
1766.93 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1766.93 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1766.93 s
[opt-env-conf-test] - Just ne -> do
1766.93 s
[opt-env-conf-test] - res <- goConfSet confSet
1766.93 s
[opt-env-conf-test] - case res of
1766.93 s
[opt-env-conf-test] - Just a -> pure $ Found a
1766.93 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1766.93 s
[opt-env-conf-test] - goConfSets confSets
1766.93 s
[opt-env-conf-test] - case mConf of
1766.93 s
[opt-env-conf-test] - Found a -> do
1766.93 s
[opt-env-conf-test] - markParsed
1766.93 s
[opt-env-conf-test] - pure a
1766.93 s
[opt-env-conf-test] - _ ->
1766.93 s
[opt-env-conf-test] - case settingDefaultValue of
1766.93 s
[opt-env-conf-test] - Just (a, _) -> do
1766.93 s
[opt-env-conf-test] - debug ["set to default value"]
1766.93 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1767.43 s
[opt-env-conf-test] - Nothing -> do
1767.60 s
[opt-env-conf-test] - let parseResultError e res = case res of
1767.60 s
[opt-env-conf-test] - NotRun -> Nothing
1767.60 s
[opt-env-conf-test] - NotFound -> Just e
1767.60 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1767.60 s
[opt-env-conf-test] - debug ["not found"]
1767.60 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1767.60 s
[opt-env-conf-test] - NE.nonEmpty $
1767.60 s
[opt-env-conf-test] - catMaybes
1767.60 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1767.60 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1767.60 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1767.60 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1767.60 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1767.60 s
[opt-env-conf-test] - ]
1767.60 s
[opt-env-conf-test]
1767.60 s
[opt-env-conf-test] withCapabilities ::
1767.60 s
[opt-env-conf-test] Maybe SrcLoc ->
1767.60 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1767.60 s
[opt-env-conf-test] @@ -227,10 +227,9 @@
1767.60 s
[opt-env-conf-test] internalParser p =
1767.61 s
[opt-env-conf-test] choice
1767.61 s
[opt-env-conf-test] [ setting
1767.61 s
[opt-env-conf-test] [ switch ShowVersion,
1767.61 s
[opt-env-conf-test] long "version",
1767.61 s
[opt-env-conf-test] - hidden
1767.61 s
[opt-env-conf-test] ],
1767.61 s
[opt-env-conf-test] setting
1767.61 s
[opt-env-conf-test] [ switch RenderMan,
1767.61 s
[opt-env-conf-test] long "render-man-page",
1767.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1767.61 s
[opt-env-conf-test] @@ -227,10 +227,7 @@
1767.61 s
[opt-env-conf-test] internalParser p =
1767.61 s
[opt-env-conf-test] choice
1767.61 s
[opt-env-conf-test] [ setting
1767.61 s
[opt-env-conf-test] - [ switch ShowVersion,
1767.61 s
[opt-env-conf-test] - long "version",
1767.61 s
[opt-env-conf-test] - hidden
1767.61 s
[opt-env-conf-test] ],
1767.61 s
[opt-env-conf-test] setting
1767.61 s
[opt-env-conf-test] [ switch RenderMan,
1767.61 s
[opt-env-conf-test] long "render-man-page",
1767.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1767.61 s
[opt-env-conf-test] @@ -227,10 +227,9 @@
1767.61 s
[opt-env-conf-test] internalParser p =
1767.61 s
[opt-env-conf-test] choice
1767.61 s
[opt-env-conf-test] [ setting
1767.61 s
[opt-env-conf-test] - [ switch ShowVersion,
1767.61 s
[opt-env-conf-test] long "version",
1767.61 s
[opt-env-conf-test] hidden
1767.61 s
[opt-env-conf-test] ],
1767.61 s
[opt-env-conf-test] setting
1767.61 s
[opt-env-conf-test] [ switch RenderMan,
1767.61 s
[opt-env-conf-test] long "render-man-page",
1767.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1767.61 s
[opt-env-conf-test] @@ -232,11 +232,10 @@
1767.61 s
[opt-env-conf-test] hidden
1767.61 s
[opt-env-conf-test] ],
1767.61 s
[opt-env-conf-test] setting
1767.61 s
[opt-env-conf-test] [ switch RenderMan,
1767.61 s
[opt-env-conf-test] long "render-man-page",
1767.61 s
[opt-env-conf-test] hidden,
1767.61 s
[opt-env-conf-test] - help "Render a manpage"
1767.61 s
[opt-env-conf-test] ],
1767.61 s
[opt-env-conf-test] setting
1767.61 s
[opt-env-conf-test] [ switch RenderDocumentation,
1767.61 s
[opt-env-conf-test] long "render-reference-documentation",
1767.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1767.61 s
[opt-env-conf-test] @@ -238,11 +238,7 @@
1767.61 s
[opt-env-conf-test] help "Render a manpage"
1767.61 s
[opt-env-conf-test] ],
1767.62 s
[opt-env-conf-test] setting
1767.62 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1767.62 s
[opt-env-conf-test] - long "render-reference-documentation",
1767.62 s
[opt-env-conf-test] - hidden,
1767.62 s
[opt-env-conf-test] - help "Render reference documentation"
1767.62 s
[opt-env-conf-test] ],
1767.62 s
[opt-env-conf-test] setting
1767.62 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1767.62 s
[opt-env-conf-test] long "render-nix-options",
1767.62 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1767.62 s
[opt-env-conf-test] @@ -232,11 +232,10 @@
1767.62 s
[opt-env-conf-test] hidden
1767.62 s
[opt-env-conf-test] ],
1767.62 s
[opt-env-conf-test] setting
1767.62 s
[opt-env-conf-test] - [ switch RenderMan,
1767.62 s
[opt-env-conf-test] long "render-man-page",
1767.62 s
[opt-env-conf-test] hidden,
1767.62 s
[opt-env-conf-test] help "Render a manpage"
1767.62 s
[opt-env-conf-test] ],
1767.62 s
[opt-env-conf-test] setting
1767.62 s
[opt-env-conf-test] [ switch RenderDocumentation,
1767.62 s
[opt-env-conf-test] long "render-reference-documentation",
1767.62 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1767.62 s
[opt-env-conf-test] @@ -238,11 +238,10 @@
1767.62 s
[opt-env-conf-test] help "Render a manpage"
1767.62 s
[opt-env-conf-test] ],
1767.62 s
[opt-env-conf-test] setting
1767.62 s
[opt-env-conf-test] [ switch RenderDocumentation,
1767.62 s
[opt-env-conf-test] long "render-reference-documentation",
1767.62 s
[opt-env-conf-test] hidden,
1767.62 s
[opt-env-conf-test] - help "Render reference documentation"
1767.62 s
[opt-env-conf-test] ],
1767.62 s
[opt-env-conf-test] setting
1767.62 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1767.62 s
[opt-env-conf-test] long "render-nix-options",
1767.62 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1767.62 s
[opt-env-conf-test] @@ -238,11 +238,10 @@
1767.62 s
[opt-env-conf-test] help "Render a manpage"
1767.62 s
[opt-env-conf-test] ],
1767.62 s
[opt-env-conf-test] setting
1767.62 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1767.62 s
[opt-env-conf-test] long "render-reference-documentation",
1767.62 s
[opt-env-conf-test] hidden,
1767.62 s
[opt-env-conf-test] help "Render reference documentation"
1767.62 s
[opt-env-conf-test] ],
1767.62 s
[opt-env-conf-test] setting
1767.62 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1767.62 s
[opt-env-conf-test] long "render-nix-options",
1767.62 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1767.62 s
[opt-env-conf-test] @@ -244,11 +244,7 @@
1767.62 s
[opt-env-conf-test] help "Render reference documentation"
1767.62 s
[opt-env-conf-test] ],
1767.62 s
[opt-env-conf-test] setting
1767.62 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1767.62 s
[opt-env-conf-test] - long "render-nix-options",
1767.62 s
[opt-env-conf-test] - hidden,
1767.62 s
[opt-env-conf-test] - help "Render Nix options"
1767.62 s
[opt-env-conf-test] ],
1767.62 s
[opt-env-conf-test] BashCompletionScript
1767.62 s
[opt-env-conf-test] <$> setting
1767.62 s
[opt-env-conf-test] [ option,
1767.62 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1767.62 s
[opt-env-conf-test] @@ -232,11 +232,7 @@
1767.62 s
[opt-env-conf-test] hidden
1767.62 s
[opt-env-conf-test] ],
1767.62 s
[opt-env-conf-test] setting
1767.62 s
[opt-env-conf-test] - [ switch RenderMan,
1767.62 s
[opt-env-conf-test] - long "render-man-page",
1767.62 s
[opt-env-conf-test] - hidden,
1767.63 s
[opt-env-conf-test] - help "Render a manpage"
1767.63 s
[opt-env-conf-test] ],
1767.63 s
[opt-env-conf-test] setting
1767.63 s
[opt-env-conf-test] [ switch RenderDocumentation,
1767.63 s
[opt-env-conf-test] long "render-reference-documentation",
1767.63 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1767.63 s
[opt-env-conf-test] @@ -244,11 +244,10 @@
1767.63 s
[opt-env-conf-test] help "Render reference documentation"
1767.63 s
[opt-env-conf-test] ],
1767.63 s
[opt-env-conf-test] setting
1767.63 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1767.63 s
[opt-env-conf-test] long "render-nix-options",
1767.63 s
[opt-env-conf-test] hidden,
1767.63 s
[opt-env-conf-test] help "Render Nix options"
1767.63 s
[opt-env-conf-test] ],
1767.63 s
[opt-env-conf-test] BashCompletionScript
1767.63 s
[opt-env-conf-test] <$> setting
1767.63 s
[opt-env-conf-test] [ option,
1767.63 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1767.63 s
[opt-env-conf-test] @@ -244,11 +244,10 @@
1767.63 s
[opt-env-conf-test] help "Render reference documentation"
1767.63 s
[opt-env-conf-test] ],
1767.63 s
[opt-env-conf-test] setting
1767.63 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1767.63 s
[opt-env-conf-test] long "render-nix-options",
1767.63 s
[opt-env-conf-test] hidden,
1767.63 s
[opt-env-conf-test] - help "Render Nix options"
1767.63 s
[opt-env-conf-test] ],
1767.63 s
[opt-env-conf-test] BashCompletionScript
1767.63 s
[opt-env-conf-test] <$> setting
1767.63 s
[opt-env-conf-test] [ option,
1767.63 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1767.63 s
[opt-env-conf-test] @@ -251,12 +251,7 @@
1767.63 s
[opt-env-conf-test] ],
1767.63 s
[opt-env-conf-test] BashCompletionScript
1767.63 s
[opt-env-conf-test] <$> setting
1767.63 s
[opt-env-conf-test] - [ option,
1767.63 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1767.63 s
[opt-env-conf-test] - long "bash-completion-script",
1767.63 s
[opt-env-conf-test] - hidden,
1767.63 s
[opt-env-conf-test] - help "Render the bash completion script"
1767.63 s
[opt-env-conf-test] ],
1767.63 s
[opt-env-conf-test] ZshCompletionScript
1767.63 s
[opt-env-conf-test] <$> setting
1767.63 s
[opt-env-conf-test] [ option,
1767.63 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1767.63 s
[opt-env-conf-test] @@ -251,12 +251,11 @@
1767.63 s
[opt-env-conf-test] ],
1767.63 s
[opt-env-conf-test] BashCompletionScript
1767.63 s
[opt-env-conf-test] <$> setting
1767.63 s
[opt-env-conf-test] - [ option,
1767.63 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1767.63 s
[opt-env-conf-test] long "bash-completion-script",
1767.63 s
[opt-env-conf-test] hidden,
1767.63 s
[opt-env-conf-test] help "Render the bash completion script"
1767.63 s
[opt-env-conf-test] ],
1767.63 s
[opt-env-conf-test] ZshCompletionScript
1767.63 s
[opt-env-conf-test] <$> setting
1767.63 s
[opt-env-conf-test] [ option,
1767.63 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1767.63 s
[opt-env-conf-test] @@ -251,12 +251,11 @@
1767.63 s
[opt-env-conf-test] ],
1767.63 s
[opt-env-conf-test] BashCompletionScript
1767.63 s
[opt-env-conf-test] <$> setting
1767.63 s
[opt-env-conf-test] [ option,
1767.63 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1767.63 s
[opt-env-conf-test] long "bash-completion-script",
1767.63 s
[opt-env-conf-test] hidden,
1767.63 s
[opt-env-conf-test] - help "Render the bash completion script"
1767.63 s
[opt-env-conf-test] ],
1767.63 s
[opt-env-conf-test] ZshCompletionScript
1767.63 s
[opt-env-conf-test] <$> setting
1767.63 s
[opt-env-conf-test] [ option,
1767.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1767.64 s
[opt-env-conf-test] @@ -259,12 +259,7 @@
1767.64 s
[opt-env-conf-test] ],
1767.64 s
[opt-env-conf-test] ZshCompletionScript
1767.64 s
[opt-env-conf-test] <$> setting
1767.64 s
[opt-env-conf-test] - [ option,
1767.64 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1767.64 s
[opt-env-conf-test] - long "zsh-completion-script",
1767.64 s
[opt-env-conf-test] - hidden,
1767.64 s
[opt-env-conf-test] - help "Render the zsh completion script"
1767.64 s
[opt-env-conf-test] ],
1767.64 s
[opt-env-conf-test] ZshCompletionScript
1767.64 s
[opt-env-conf-test] <$> setting
1767.64 s
[opt-env-conf-test] [ option,
1767.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1767.64 s
[opt-env-conf-test] @@ -259,12 +259,11 @@
1767.64 s
[opt-env-conf-test] ],
1767.64 s
[opt-env-conf-test] ZshCompletionScript
1767.64 s
[opt-env-conf-test] <$> setting
1767.64 s
[opt-env-conf-test] - [ option,
1767.64 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1767.64 s
[opt-env-conf-test] long "zsh-completion-script",
1767.64 s
[opt-env-conf-test] hidden,
1767.64 s
[opt-env-conf-test] help "Render the zsh completion script"
1767.64 s
[opt-env-conf-test] ],
1767.64 s
[opt-env-conf-test] ZshCompletionScript
1767.64 s
[opt-env-conf-test] <$> setting
1767.64 s
[opt-env-conf-test] [ option,
1767.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1767.64 s
[opt-env-conf-test] @@ -259,12 +259,11 @@
1767.64 s
[opt-env-conf-test] ],
1767.64 s
[opt-env-conf-test] ZshCompletionScript
1767.64 s
[opt-env-conf-test] <$> setting
1767.64 s
[opt-env-conf-test] [ option,
1767.64 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1767.64 s
[opt-env-conf-test] long "zsh-completion-script",
1767.64 s
[opt-env-conf-test] hidden,
1767.64 s
[opt-env-conf-test] - help "Render the zsh completion script"
1767.64 s
[opt-env-conf-test] ],
1767.64 s
[opt-env-conf-test] ZshCompletionScript
1767.64 s
[opt-env-conf-test] <$> setting
1767.64 s
[opt-env-conf-test] [ option,
1767.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1767.64 s
[opt-env-conf-test] @@ -267,12 +267,7 @@
1767.64 s
[opt-env-conf-test] ],
1767.64 s
[opt-env-conf-test] ZshCompletionScript
1767.64 s
[opt-env-conf-test] <$> setting
1767.64 s
[opt-env-conf-test] - [ option,
1767.64 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1767.64 s
[opt-env-conf-test] - long "fish-completion-script",
1767.64 s
[opt-env-conf-test] - hidden,
1767.64 s
[opt-env-conf-test] - help "Render the fish completion script"
1767.64 s
[opt-env-conf-test] ],
1767.64 s
[opt-env-conf-test] setting
1767.64 s
[opt-env-conf-test] [ help "Query completion",
1767.64 s
[opt-env-conf-test] switch CompletionQuery,
1767.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1767.64 s
[opt-env-conf-test] @@ -267,12 +267,11 @@
1767.64 s
[opt-env-conf-test] ],
1767.64 s
[opt-env-conf-test] ZshCompletionScript
1767.64 s
[opt-env-conf-test] <$> setting
1767.64 s
[opt-env-conf-test] - [ option,
1767.64 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1767.64 s
[opt-env-conf-test] long "fish-completion-script",
1767.64 s
[opt-env-conf-test] hidden,
1767.64 s
[opt-env-conf-test] help "Render the fish completion script"
1767.64 s
[opt-env-conf-test] ],
1767.64 s
[opt-env-conf-test] setting
1767.64 s
[opt-env-conf-test] [ help "Query completion",
1767.64 s
[opt-env-conf-test] switch CompletionQuery,
1767.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1767.64 s
[opt-env-conf-test] @@ -274,12 +274,8 @@
1767.64 s
[opt-env-conf-test] help "Render the fish completion script"
1767.64 s
[opt-env-conf-test] ],
1767.64 s
[opt-env-conf-test] setting
1767.64 s
[opt-env-conf-test] - [ help "Query completion",
1767.64 s
[opt-env-conf-test] - switch CompletionQuery,
1767.64 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1767.64 s
[opt-env-conf-test] - long "query-opt-env-conf-completion",
1767.65 s
[opt-env-conf-test] - hidden
1767.65 s
[opt-env-conf-test] ]
1767.65 s
[opt-env-conf-test] <*> setting
1767.65 s
[opt-env-conf-test] [ switch True,
1767.65 s
[opt-env-conf-test] long "completion-enriched",
1767.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1767.65 s
[opt-env-conf-test] @@ -267,12 +267,11 @@
1767.65 s
[opt-env-conf-test] ],
1767.65 s
[opt-env-conf-test] ZshCompletionScript
1767.65 s
[opt-env-conf-test] <$> setting
1767.65 s
[opt-env-conf-test] [ option,
1767.65 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1767.65 s
[opt-env-conf-test] long "fish-completion-script",
1767.65 s
[opt-env-conf-test] hidden,
1767.65 s
[opt-env-conf-test] - help "Render the fish completion script"
1767.65 s
[opt-env-conf-test] ],
1767.65 s
[opt-env-conf-test] setting
1767.65 s
[opt-env-conf-test] [ help "Query completion",
1767.65 s
[opt-env-conf-test] switch CompletionQuery,
1767.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1767.65 s
[opt-env-conf-test] @@ -274,12 +274,11 @@
1767.65 s
[opt-env-conf-test] help "Render the fish completion script"
1767.65 s
[opt-env-conf-test] ],
1767.65 s
[opt-env-conf-test] setting
1767.65 s
[opt-env-conf-test] - [ help "Query completion",
1767.65 s
[opt-env-conf-test] switch CompletionQuery,
1767.65 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1767.65 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1767.65 s
[opt-env-conf-test] hidden
1767.65 s
[opt-env-conf-test] ]
1767.65 s
[opt-env-conf-test] <*> setting
1767.65 s
[opt-env-conf-test] [ switch True,
1767.65 s
[opt-env-conf-test] long "completion-enriched",
1767.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1767.65 s
[opt-env-conf-test] @@ -274,12 +274,11 @@
1767.65 s
[opt-env-conf-test] help "Render the fish completion script"
1767.65 s
[opt-env-conf-test] ],
1767.65 s
[opt-env-conf-test] setting
1767.65 s
[opt-env-conf-test] [ help "Query completion",
1767.65 s
[opt-env-conf-test] switch CompletionQuery,
1767.65 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1767.65 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1767.65 s
[opt-env-conf-test] - hidden
1767.65 s
[opt-env-conf-test] ]
1767.65 s
[opt-env-conf-test] <*> setting
1767.65 s
[opt-env-conf-test] [ switch True,
1767.65 s
[opt-env-conf-test] long "completion-enriched",
1767.65 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:284:20-24
1767.65 s
[opt-env-conf-test] @@ -281,7 +281,7 @@
1767.65 s
[opt-env-conf-test] hidden
1767.65 s
[opt-env-conf-test] ]
1767.65 s
[opt-env-conf-test] <*> setting
1767.65 s
[opt-env-conf-test] - [ switch Tr u e,
1767.65 s
[opt-env-conf-test] + [ switch F a ls e,
1767.65 s
[opt-env-conf-test] long "completion-enriched",
1767.65 s
[opt-env-conf-test] value False,
1767.65 s
[opt-env-conf-test] hidden,
1767.65 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:286:19-24
1767.65 s
[opt-env-conf-test] @@ -283,7 +283,7 @@
1767.65 s
[opt-env-conf-test] <*> setting
1767.65 s
[opt-env-conf-test] [ switch True,
1767.65 s
[opt-env-conf-test] long "completion-enriched",
1767.65 s
[opt-env-conf-test] - value F al s e,
1767.65 s
[opt-env-conf-test] + value T ru e,
1767.65 s
[opt-env-conf-test] hidden,
1767.65 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1767.65 s
[opt-env-conf-test] ]
1767.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1767.65 s
[opt-env-conf-test] @@ -281,12 +281,7 @@
1767.65 s
[opt-env-conf-test] hidden
1767.65 s
[opt-env-conf-test] ]
1767.65 s
[opt-env-conf-test] <*> setting
1767.65 s
[opt-env-conf-test] - [ switch True,
1767.65 s
[opt-env-conf-test] - long "completion-enriched",
1767.65 s
[opt-env-conf-test] - value False,
1767.65 s
[opt-env-conf-test] - hidden,
1767.65 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1767.65 s
[opt-env-conf-test] ]
1767.65 s
[opt-env-conf-test] <*> setting
1767.65 s
[opt-env-conf-test] [ option,
1767.66 s
[opt-env-conf-test] reader auto,
1767.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1767.66 s
[opt-env-conf-test] @@ -281,12 +281,11 @@
1767.66 s
[opt-env-conf-test] hidden
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> setting
1767.66 s
[opt-env-conf-test] - [ switch True,
1767.66 s
[opt-env-conf-test] long "completion-enriched",
1767.66 s
[opt-env-conf-test] value False,
1767.66 s
[opt-env-conf-test] hidden,
1767.66 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> setting
1767.66 s
[opt-env-conf-test] [ option,
1767.66 s
[opt-env-conf-test] reader auto,
1767.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1767.66 s
[opt-env-conf-test] @@ -281,12 +281,11 @@
1767.66 s
[opt-env-conf-test] hidden
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> setting
1767.66 s
[opt-env-conf-test] [ switch True,
1767.66 s
[opt-env-conf-test] long "completion-enriched",
1767.66 s
[opt-env-conf-test] value False,
1767.66 s
[opt-env-conf-test] hidden,
1767.66 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> setting
1767.66 s
[opt-env-conf-test] [ option,
1767.66 s
[opt-env-conf-test] reader auto,
1767.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1767.66 s
[opt-env-conf-test] @@ -288,12 +288,7 @@
1767.66 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> setting
1767.66 s
[opt-env-conf-test] - [ option,
1767.66 s
[opt-env-conf-test] - reader auto,
1767.66 s
[opt-env-conf-test] - long "completion-index",
1767.66 s
[opt-env-conf-test] - hidden,
1767.66 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> many
1767.66 s
[opt-env-conf-test] ( setting
1767.66 s
[opt-env-conf-test] [ option,
1767.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1767.66 s
[opt-env-conf-test] @@ -288,12 +288,11 @@
1767.66 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> setting
1767.66 s
[opt-env-conf-test] - [ option,
1767.66 s
[opt-env-conf-test] reader auto,
1767.66 s
[opt-env-conf-test] long "completion-index",
1767.66 s
[opt-env-conf-test] hidden,
1767.66 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> many
1767.66 s
[opt-env-conf-test] ( setting
1767.66 s
[opt-env-conf-test] [ option,
1767.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1767.66 s
[opt-env-conf-test] @@ -288,12 +288,11 @@
1767.66 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> setting
1767.66 s
[opt-env-conf-test] [ option,
1767.66 s
[opt-env-conf-test] reader auto,
1767.66 s
[opt-env-conf-test] long "completion-index",
1767.66 s
[opt-env-conf-test] hidden,
1767.66 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> many
1767.66 s
[opt-env-conf-test] ( setting
1767.66 s
[opt-env-conf-test] [ option,
1767.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1767.66 s
[opt-env-conf-test] @@ -296,12 +296,7 @@
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> many
1767.66 s
[opt-env-conf-test] ( setting
1767.66 s
[opt-env-conf-test] - [ option,
1767.66 s
[opt-env-conf-test] - reader str,
1767.66 s
[opt-env-conf-test] - long "completion-word",
1767.66 s
[opt-env-conf-test] - hidden,
1767.66 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] ),
1767.66 s
[opt-env-conf-test] ParsedNormally <$> p
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1767.66 s
[opt-env-conf-test] @@ -296,12 +296,11 @@
1767.66 s
[opt-env-conf-test] ]
1767.66 s
[opt-env-conf-test] <*> many
1767.66 s
[opt-env-conf-test] ( setting
1767.66 s
[opt-env-conf-test] [ option,
1767.66 s
[opt-env-conf-test] reader str,
1767.66 s
[opt-env-conf-test] long "completion-word",
1767.66 s
[opt-env-conf-test] hidden,
1767.66 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1767.66 s
[opt-env-conf-test] ]
1767.67 s
[opt-env-conf-test] ),
1767.67 s
[opt-env-conf-test] ParsedNormally <$> p
1767.67 s
[opt-env-conf-test] ]
1767.67 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1767.67 s
[opt-env-conf-test] @@ -296,12 +296,11 @@
1767.67 s
[opt-env-conf-test] ]
1767.67 s
[opt-env-conf-test] <*> many
1767.67 s
[opt-env-conf-test] ( setting
1767.67 s
[opt-env-conf-test] - [ option,
1767.67 s
[opt-env-conf-test] reader str,
1767.67 s
[opt-env-conf-test] long "completion-word",
1767.67 s
[opt-env-conf-test] hidden,
1767.67 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1767.67 s
[opt-env-conf-test] ]
1767.67 s
[opt-env-conf-test] ),
1767.67 s
[opt-env-conf-test] ParsedNormally <$> p
1767.67 s
[opt-env-conf-test] ]
1767.67 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1767.67 s
[opt-env-conf-test] @@ -226,82 +226,4 @@
1767.67 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1767.67 s
[opt-env-conf-test] internalParser p =
1767.67 s
[opt-env-conf-test] choice
1767.67 s
[opt-env-conf-test] - [ setting
1767.67 s
[opt-env-conf-test] - [ switch ShowVersion,
1767.67 s
[opt-env-conf-test] - long "version",
1767.67 s
[opt-env-conf-test] - hidden
1767.67 s
[opt-env-conf-test] - ],
1767.67 s
[opt-env-conf-test] - setting
1767.67 s
[opt-env-conf-test] - [ switch RenderMan,
1767.67 s
[opt-env-conf-test] - long "render-man-page",
1767.67 s
[opt-env-conf-test] - hidden,
1767.67 s
[opt-env-conf-test] - help "Render a manpage"
1767.67 s
[opt-env-conf-test] - ],
1767.67 s
[opt-env-conf-test] - setting
1767.67 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1767.67 s
[opt-env-conf-test] - long "render-reference-documentation",
1767.67 s
[opt-env-conf-test] - hidden,
1767.67 s
[opt-env-conf-test] - help "Render reference documentation"
1767.67 s
[opt-env-conf-test] - ],
1767.67 s
[opt-env-conf-test] - setting
1767.67 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1767.67 s
[opt-env-conf-test] - long "render-nix-options",
1767.67 s
[opt-env-conf-test] - hidden,
1767.67 s
[opt-env-conf-test] - help "Render Nix options"
1767.67 s
[opt-env-conf-test] - ],
1767.67 s
[opt-env-conf-test] - BashCompletionScript
1767.67 s
[opt-env-conf-test] - <$> setting
1767.67 s
[opt-env-conf-test] - [ option,
1767.67 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1767.67 s
[opt-env-conf-test] - long "bash-completion-script",
1767.67 s
[opt-env-conf-test] - hidden,
1767.67 s
[opt-env-conf-test] - help "Render the bash completion script"
1767.67 s
[opt-env-conf-test] - ],
1767.67 s
[opt-env-conf-test] - ZshCompletionScript
1767.67 s
[opt-env-conf-test] - <$> setting
1767.67 s
[opt-env-conf-test] - [ option,
1767.67 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1767.67 s
[opt-env-conf-test] - long "zsh-completion-script",
1767.67 s
[opt-env-conf-test] - hidden,
1767.67 s
[opt-env-conf-test] - help "Render the zsh completion script"
1767.67 s
[opt-env-conf-test] - ],
1767.67 s
[opt-env-conf-test] - ZshCompletionScript
1767.67 s
[opt-env-conf-test] - <$> setting
1767.67 s
[opt-env-conf-test] - [ option,
1767.67 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1767.67 s
[opt-env-conf-test] - long "fish-completion-script",
1767.67 s
[opt-env-conf-test] - hidden,
1767.67 s
[opt-env-conf-test] - help "Render the fish completion script"
1767.67 s
[opt-env-conf-test] - ],
1767.67 s
[opt-env-conf-test] - setting
1767.67 s
[opt-env-conf-test] - [ help "Query completion",
1767.67 s
[opt-env-conf-test] - switch CompletionQuery,
1767.67 s
[opt-env-conf-test] - -- Long string that no normal user would ever use.
1767.67 s
[opt-env-conf-test] - long "query-opt-env-conf-completion",
1767.67 s
[opt-env-conf-test] - hidden
1767.67 s
[opt-env-conf-test] - ]
1767.67 s
[opt-env-conf-test] - <*> setting
1767.67 s
[opt-env-conf-test] - [ switch True,
1767.67 s
[opt-env-conf-test] - long "completion-enriched",
1767.67 s
[opt-env-conf-test] - value False,
1767.67 s
[opt-env-conf-test] - hidden,
1767.67 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1767.67 s
[opt-env-conf-test] - ]
1767.67 s
[opt-env-conf-test] - <*> setting
1767.67 s
[opt-env-conf-test] - [ option,
1767.67 s
[opt-env-conf-test] - reader auto,
1767.67 s
[opt-env-conf-test] - long "completion-index",
1767.67 s
[opt-env-conf-test] - hidden,
1767.68 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1767.68 s
[opt-env-conf-test] - ]
1767.68 s
[opt-env-conf-test] - <*> many
1767.68 s
[opt-env-conf-test] - ( setting
1767.68 s
[opt-env-conf-test] - [ option,
1767.68 s
[opt-env-conf-test] - reader str,
1767.68 s
[opt-env-conf-test] - long "completion-word",
1767.68 s
[opt-env-conf-test] - hidden,
1767.68 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1767.68 s
[opt-env-conf-test] - ]
1767.68 s
[opt-env-conf-test] - ),
1767.68 s
[opt-env-conf-test] - ParsedNormally <$> p
1767.68 s
[opt-env-conf-test] ]
1767.68 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1767.68 s
[opt-env-conf-test] @@ -226,82 +226,77 @@
1767.68 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1767.68 s
[opt-env-conf-test] internalParser p =
1767.68 s
[opt-env-conf-test] choice
1767.68 s
[opt-env-conf-test] - [ setting
1767.68 s
[opt-env-conf-test] - [ switch ShowVersion,
1767.68 s
[opt-env-conf-test] - long "version",
1767.68 s
[opt-env-conf-test] - hidden
1767.68 s
[opt-env-conf-test] - ],
1767.68 s
[opt-env-conf-test] setting
1767.68 s
[opt-env-conf-test] [ switch RenderMan,
1767.68 s
[opt-env-conf-test] long "render-man-page",
1767.68 s
[opt-env-conf-test] hidden,
1767.68 s
[opt-env-conf-test] help "Render a manpage"
1767.68 s
[opt-env-conf-test] ],
1767.68 s
[opt-env-conf-test] setting
1767.68 s
[opt-env-conf-test] [ switch RenderDocumentation,
1767.68 s
[opt-env-conf-test] long "render-reference-documentation",
1767.68 s
[opt-env-conf-test] hidden,
1767.68 s
[opt-env-conf-test] help "Render reference documentation"
1767.68 s
[opt-env-conf-test] ],
1767.68 s
[opt-env-conf-test] setting
1767.68 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1767.68 s
[opt-env-conf-test] long "render-nix-options",
1767.68 s
[opt-env-conf-test] hidden,
1767.68 s
[opt-env-conf-test] help "Render Nix options"
1767.68 s
[opt-env-conf-test] ],
1767.68 s
[opt-env-conf-test] BashCompletionScript
1767.68 s
[opt-env-conf-test] <$> setting
1767.68 s
[opt-env-conf-test] [ option,
1767.68 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1767.68 s
[opt-env-conf-test] long "bash-completion-script",
1767.68 s
[opt-env-conf-test] hidden,
1767.68 s
[opt-env-conf-test] help "Render the bash completion script"
1767.68 s
[opt-env-conf-test] ],
1767.68 s
[opt-env-conf-test] ZshCompletionScript
1767.68 s
[opt-env-conf-test] <$> setting
1767.68 s
[opt-env-conf-test] [ option,
1767.68 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1767.68 s
[opt-env-conf-test] long "zsh-completion-script",
1767.68 s
[opt-env-conf-test] hidden,
1767.68 s
[opt-env-conf-test] help "Render the zsh completion script"
1767.68 s
[opt-env-conf-test] ],
1767.68 s
[opt-env-conf-test] ZshCompletionScript
1767.68 s
[opt-env-conf-test] <$> setting
1767.68 s
[opt-env-conf-test] [ option,
1767.68 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1767.68 s
[opt-env-conf-test] long "fish-completion-script",
1767.68 s
[opt-env-conf-test] hidden,
1767.68 s
[opt-env-conf-test] help "Render the fish completion script"
1767.68 s
[opt-env-conf-test] ],
1767.68 s
[opt-env-conf-test] setting
1767.68 s
[opt-env-conf-test] [ help "Query completion",
1767.68 s
[opt-env-conf-test] switch CompletionQuery,
1767.68 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1767.68 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1767.68 s
[opt-env-conf-test] hidden
1767.68 s
[opt-env-conf-test] ]
1767.68 s
[opt-env-conf-test] <*> setting
1767.68 s
[opt-env-conf-test] [ switch True,
1767.68 s
[opt-env-conf-test] long "completion-enriched",
1767.68 s
[opt-env-conf-test] value False,
1767.68 s
[opt-env-conf-test] hidden,
1767.68 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1767.68 s
[opt-env-conf-test] ]
1767.68 s
[opt-env-conf-test] <*> setting
1767.68 s
[opt-env-conf-test] [ option,
1768.41 s
[opt-env-conf-test] reader auto,
1768.41 s
[opt-env-conf-test] long "completion-index",
1768.41 s
[opt-env-conf-test] hidden,
1768.41 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1768.41 s
[opt-env-conf-test] ]
1768.41 s
[opt-env-conf-test] <*> many
1768.41 s
[opt-env-conf-test] ( setting
1768.41 s
[opt-env-conf-test] [ option,
1768.41 s
[opt-env-conf-test] reader str,
1768.41 s
[opt-env-conf-test] long "completion-word",
1768.41 s
[opt-env-conf-test] hidden,
1768.41 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1768.41 s
[opt-env-conf-test] ]
1768.41 s
[opt-env-conf-test] ),
1768.41 s
[opt-env-conf-test] ParsedNormally <$> p
1768.41 s
[opt-env-conf-test] ]
1768.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
1768.41 s
[opt-env-conf-test] @@ -198,11 +198,10 @@
1768.41 s
[opt-env-conf-test] let t = T.pack x
1768.41 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1768.41 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1768.42 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1768.42 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
1768.42 s
[opt-env-conf-test] Nothing ->
1768.42 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1768.42 s
[opt-env-conf-test] in (finalCaps, x : rest)
1768.42 s
[opt-env-conf-test]
1768.42 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1768.42 s
[opt-env-conf-test] -- is supposed to.
1768.42 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1768.42 s
[opt-env-conf-test] @@ -226,82 +226,81 @@
1768.42 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1768.42 s
[opt-env-conf-test] internalParser p =
1768.42 s
[opt-env-conf-test] choice
1768.42 s
[opt-env-conf-test] [ setting
1768.42 s
[opt-env-conf-test] [ switch ShowVersion,
1768.42 s
[opt-env-conf-test] long "version",
1768.42 s
[opt-env-conf-test] hidden
1768.42 s
[opt-env-conf-test] ],
1768.42 s
[opt-env-conf-test] setting
1768.42 s
[opt-env-conf-test] [ switch RenderMan,
1768.42 s
[opt-env-conf-test] long "render-man-page",
1768.42 s
[opt-env-conf-test] hidden,
1768.42 s
[opt-env-conf-test] help "Render a manpage"
1768.42 s
[opt-env-conf-test] ],
1768.42 s
[opt-env-conf-test] setting
1768.42 s
[opt-env-conf-test] [ switch RenderDocumentation,
1768.42 s
[opt-env-conf-test] long "render-reference-documentation",
1768.42 s
[opt-env-conf-test] hidden,
1768.42 s
[opt-env-conf-test] help "Render reference documentation"
1768.42 s
[opt-env-conf-test] ],
1768.42 s
[opt-env-conf-test] setting
1768.42 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1768.42 s
[opt-env-conf-test] long "render-nix-options",
1768.42 s
[opt-env-conf-test] hidden,
1768.42 s
[opt-env-conf-test] help "Render Nix options"
1768.42 s
[opt-env-conf-test] ],
1768.42 s
[opt-env-conf-test] BashCompletionScript
1768.42 s
[opt-env-conf-test] <$> setting
1768.42 s
[opt-env-conf-test] [ option,
1768.42 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1768.42 s
[opt-env-conf-test] long "bash-completion-script",
1768.42 s
[opt-env-conf-test] hidden,
1768.42 s
[opt-env-conf-test] help "Render the bash completion script"
1768.42 s
[opt-env-conf-test] ],
1768.42 s
[opt-env-conf-test] ZshCompletionScript
1768.42 s
[opt-env-conf-test] <$> setting
1768.42 s
[opt-env-conf-test] [ option,
1768.43 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1768.43 s
[opt-env-conf-test] long "zsh-completion-script",
1768.43 s
[opt-env-conf-test] hidden,
1768.43 s
[opt-env-conf-test] help "Render the zsh completion script"
1768.43 s
[opt-env-conf-test] ],
1768.43 s
[opt-env-conf-test] ZshCompletionScript
1768.43 s
[opt-env-conf-test] <$> setting
1768.43 s
[opt-env-conf-test] [ option,
1768.43 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1768.43 s
[opt-env-conf-test] long "fish-completion-script",
1768.43 s
[opt-env-conf-test] hidden,
1768.43 s
[opt-env-conf-test] help "Render the fish completion script"
1768.43 s
[opt-env-conf-test] ],
1768.43 s
[opt-env-conf-test] setting
1768.43 s
[opt-env-conf-test] [ help "Query completion",
1768.43 s
[opt-env-conf-test] switch CompletionQuery,
1768.43 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1768.43 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1768.43 s
[opt-env-conf-test] hidden
1768.43 s
[opt-env-conf-test] ]
1768.43 s
[opt-env-conf-test] <*> setting
1768.43 s
[opt-env-conf-test] [ switch True,
1768.43 s
[opt-env-conf-test] long "completion-enriched",
1768.43 s
[opt-env-conf-test] value False,
1768.43 s
[opt-env-conf-test] hidden,
1768.43 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1768.43 s
[opt-env-conf-test] ]
1768.43 s
[opt-env-conf-test] <*> setting
1768.43 s
[opt-env-conf-test] [ option,
1768.43 s
[opt-env-conf-test] reader auto,
1778.65 s
[opt-env-conf-test] long "completion-index",
1778.67 s
[opt-env-conf-test] hidden,
1778.67 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1778.68 s
[opt-env-conf-test] ]
1778.68 s
[opt-env-conf-test] <*> many
1778.68 s
[opt-env-conf-test] ( setting
1778.68 s
[opt-env-conf-test] [ option,
1778.68 s
[opt-env-conf-test] reader str,
1778.68 s
[opt-env-conf-test] long "completion-word",
1778.68 s
[opt-env-conf-test] hidden,
1778.68 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1778.68 s
[opt-env-conf-test] ]
1778.68 s
[opt-env-conf-test] ),
1778.68 s
[opt-env-conf-test] - ParsedNormally <$> p
1778.68 s
[opt-env-conf-test] ]
1778.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
1778.68 s
[opt-env-conf-test] @@ -198,11 +198,8 @@
1778.68 s
[opt-env-conf-test] let t = T.pack x
1778.68 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1778.68 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1778.68 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1778.68 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
1778.68 s
[opt-env-conf-test] - Nothing ->
1778.68 s
[opt-env-conf-test] - let (finalCaps, rest) = go caps xs
1778.68 s
[opt-env-conf-test] - in (finalCaps, x : rest)
1778.68 s
[opt-env-conf-test]
1778.68 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1778.68 s
[opt-env-conf-test] -- is supposed to.
1778.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
1778.68 s
[opt-env-conf-test] @@ -196,13 +196,12 @@
1778.68 s
[opt-env-conf-test] [] -> (caps, [])
1778.68 s
[opt-env-conf-test] (x : xs) ->
1778.68 s
[opt-env-conf-test] let t = T.pack x
1778.68 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1778.68 s
[opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
1778.68 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1778.68 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
1778.68 s
[opt-env-conf-test] Nothing ->
1778.68 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1778.68 s
[opt-env-conf-test] in (finalCaps, x : rest)
1778.68 s
[opt-env-conf-test]
1778.68 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1778.68 s
[opt-env-conf-test] -- is supposed to.
1778.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
1778.68 s
[opt-env-conf-test] @@ -196,13 +196,8 @@
1778.69 s
[opt-env-conf-test] [] -> (caps, [])
1778.69 s
[opt-env-conf-test] (x : xs) ->
1778.69 s
[opt-env-conf-test] let t = T.pack x
1778.69 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1778.69 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1778.69 s
[opt-env-conf-test] - Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1778.69 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
1778.69 s
[opt-env-conf-test] - Nothing ->
1778.69 s
[opt-env-conf-test] - let (finalCaps, rest) = go caps xs
1778.69 s
[opt-env-conf-test] - in (finalCaps, x : rest)
1778.69 s
[opt-env-conf-test]
1778.69 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1778.69 s
[opt-env-conf-test] -- is supposed to.
1778.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:172:11-19
1778.69 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1778.69 s
[opt-env-conf-test] go = \case
1778.69 s
[opt-env-conf-test] [] -> (False, [])
1778.69 s
[opt-env-conf-test] (x : xs)
1778.69 s
[opt-env-conf-test] - | x == a r g -> (True, xs)
1778.69 s
[opt-env-conf-test] + | T r u e -> (True, xs)
1778.69 s
[opt-env-conf-test] | otherwise ->
1778.69 s
[opt-env-conf-test] let (found, rest) = go xs
1778.69 s
[opt-env-conf-test] in (found, x : rest)
1778.69 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:170:14-19
1778.69 s
[opt-env-conf-test] @@ -167,7 +167,7 @@
1778.69 s
[opt-env-conf-test] consumeExactArg arg = go
1778.69 s
[opt-env-conf-test] where
1778.69 s
[opt-env-conf-test] go = \case
1778.69 s
[opt-env-conf-test] - [] -> ( F al s e, [])
1778.69 s
[opt-env-conf-test] + [] -> ( T ru e, [])
1778.69 s
[opt-env-conf-test] (x : xs)
1778.69 s
[opt-env-conf-test] | x == arg -> (True, xs)
1778.69 s
[opt-env-conf-test] | otherwise ->
1778.69 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:172:11-19
1778.69 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1778.69 s
[opt-env-conf-test] go = \case
1778.69 s
[opt-env-conf-test] [] -> (False, [])
1778.69 s
[opt-env-conf-test] (x : xs)
1778.69 s
[opt-env-conf-test] - | x == arg -> (True, xs)
1778.69 s
[opt-env-conf-test] + | n o t ( x == arg ) -> (True, xs)
1778.69 s
[opt-env-conf-test] | otherwise ->
1778.69 s
[opt-env-conf-test] let (found, rest) = go xs
1778.69 s
[opt-env-conf-test] in (found, x : rest)
1778.69 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:172:24-28
1778.69 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1778.69 s
[opt-env-conf-test] go = \case
1778.69 s
[opt-env-conf-test] [] -> (False, [])
1778.69 s
[opt-env-conf-test] (x : xs)
1778.69 s
[opt-env-conf-test] - | x == arg -> ( Tr u e, xs)
1778.69 s
[opt-env-conf-test] + | x == arg -> ( F a ls e, xs)
1778.69 s
[opt-env-conf-test] | otherwise ->
1778.69 s
[opt-env-conf-test] let (found, rest) = go xs
1778.69 s
[opt-env-conf-test] in (found, x : rest)
1778.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
1778.69 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1778.69 s
[opt-env-conf-test] | x == arg -> (True, xs)
1778.69 s
[opt-env-conf-test] | otherwise ->
1778.69 s
[opt-env-conf-test] let (found, rest) = go xs
1778.69 s
[opt-env-conf-test] - in ( f o u n d , x : rest)
1778.69 s
[opt-env-conf-test] + in ( Tr u e , x : rest)
1778.69 s
[opt-env-conf-test]
1778.69 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1778.69 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1778.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
1778.69 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1778.69 s
[opt-env-conf-test] | x == arg -> (True, xs)
1778.69 s
[opt-env-conf-test] | otherwise ->
1778.69 s
[opt-env-conf-test] let (found, rest) = go xs
1778.69 s
[opt-env-conf-test] - in ( f o u nd , x : rest)
1778.69 s
[opt-env-conf-test] + in ( Fal s e , x : rest)
1778.69 s
[opt-env-conf-test]
1778.69 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1778.69 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1778.69 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:175:18-23
1778.69 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1778.69 s
[opt-env-conf-test] | x == arg -> (True, xs)
1778.69 s
[opt-env-conf-test] | otherwise ->
1778.69 s
[opt-env-conf-test] let (found, rest) = go xs
1778.69 s
[opt-env-conf-test] - i n (found , x : rest)
1778.69 s
[opt-env-conf-test] + i n ( n ot (found ) , x : rest)
1778.70 s
[opt-env-conf-test]
1778.70 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1778.70 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1778.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
1778.70 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1778.70 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1778.70 s
[opt-env-conf-test] consumeHelpMode as =
1778.70 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1778.70 s
[opt-env-conf-test] - in if f o u n d
1778.70 s
[opt-env-conf-test] + in if Tr u e
1778.70 s
[opt-env-conf-test] then (True, as')
1778.70 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1778.70 s
[opt-env-conf-test]
1778.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
1778.70 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1778.70 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1778.70 s
[opt-env-conf-test] consumeHelpMode as =
1778.70 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1778.70 s
[opt-env-conf-test] - in if f o u nd
1778.70 s
[opt-env-conf-test] + in if False
1778.70 s
[opt-env-conf-test] then (True, as')
1778.70 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1778.70 s
[opt-env-conf-test]
1778.70 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:184:10-15
1778.70 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1778.70 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1778.70 s
[opt-env-conf-test] consumeHelpMode as =
1778.70 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1778.70 s
[opt-env-conf-test] - in if found
1778.70 s
[opt-env-conf-test] + in if n o t ( found )
1778.70 s
[opt-env-conf-test] then (True, as')
1778.70 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1778.70 s
[opt-env-conf-test]
1778.70 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:185:15-19
1778.70 s
[opt-env-conf-test] @@ -182,7 +182,7 @@
1778.70 s
[opt-env-conf-test] consumeHelpMode as =
1778.70 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1778.70 s
[opt-env-conf-test] in if found
1778.70 s
[opt-env-conf-test] - then ( Tr u e, as')
1778.70 s
[opt-env-conf-test] + then ( F a ls e, as')
1778.70 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1778.70 s
[opt-env-conf-test]
1778.70 s
[opt-env-conf-test] consumeCheckMode :: [String] -> (Bool, [String])
1778.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
1778.70 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1778.70 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1778.70 s
[opt-env-conf-test]
1778.70 s
[opt-env-conf-test] mDebugMode <-
1778.70 s
[opt-env-conf-test] - if d e b ugM o d e
1778.70 s
[opt-env-conf-test] + if F al s e
1778.70 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1778.70 s
[opt-env-conf-test] else pure Nothing
1778.70 s
[opt-env-conf-test]
1778.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
1778.70 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1778.70 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1778.70 s
[opt-env-conf-test]
1778.70 s
[opt-env-conf-test] mDebugMode <-
1778.70 s
[opt-env-conf-test] - if d eb u gM o d e
1778.70 s
[opt-env-conf-test] + if T r u e
1778.70 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1778.70 s
[opt-env-conf-test] else pure Nothing
1778.70 s
[opt-env-conf-test]
1778.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
1778.70 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1778.70 s
[opt-env-conf-test]
1781.95 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1781.95 s
[opt-env-conf-test]
1781.95 s
[opt-env-conf-test] - if h e l pM o d e
1781.95 s
[opt-env-conf-test] + if F a l s e
1781.95 s
[opt-env-conf-test] then do
1781.95 s
[opt-env-conf-test] progname <- getProgName
1781.95 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1781.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:89:10-18
1781.95 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1781.95 s
[opt-env-conf-test]
1781.95 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1781.95 s
[opt-env-conf-test]
1781.95 s
[opt-env-conf-test] - if helpMode
1781.95 s
[opt-env-conf-test] + if n o t ( helpMode )
1781.95 s
[opt-env-conf-test] then do
1781.95 s
[opt-env-conf-test] progname <- getProgName
1781.96 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1781.96 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:96:15-71
1781.96 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1781.96 s
[opt-env-conf-test] case errOrDocs of
1781.96 s
[opt-env-conf-test] Left errs -> do
1781.96 s
[opt-env-conf-test] stderrTc <- getTerminalCapabilitiesFromHandle stderr
1781.96 s
[opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderErrors errs
1781.96 s
[opt-env-conf-test] exitFailure
1781.96 s
[opt-env-conf-test] Right mCommandDoc -> do
1781.96 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1781.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
1781.96 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
1781.96 s
[opt-env-conf-test] exitFailure
1781.96 s
[opt-env-conf-test] Right mCommandDoc -> do
1781.96 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1781.96 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1781.96 s
[opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
1781.96 s
[opt-env-conf-test] Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1781.96 s
[opt-env-conf-test] exitSuccess
1781.97 s
[opt-env-conf-test] else do
1781.97 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1781.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
1781.97 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
1781.97 s
[opt-env-conf-test] exitFailure
1781.97 s
[opt-env-conf-test] Right mCommandDoc -> do
1781.97 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1781.97 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1781.97 s
[opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
1781.97 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1781.97 s
[opt-env-conf-test] exitSuccess
1781.97 s
[opt-env-conf-test] else do
1781.97 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1781.97 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:100:15-78
1781.97 s
[opt-env-conf-test] @@ -97,9 +97,6 @@
1781.97 s
[opt-env-conf-test] exitFailure
1781.97 s
[opt-env-conf-test] Right mCommandDoc -> do
1781.97 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1781.97 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1781.97 s
[opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
1781.97 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1781.97 s
[opt-env-conf-test] exitSuccess
1781.97 s
[opt-env-conf-test] else do
1781.97 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1781.97 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
1781.97 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1781.97 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1781.97 s
[opt-env-conf-test]
1781.97 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1781.97 s
[opt-env-conf-test] - if c h e ckM o d e
1781.97 s
[opt-env-conf-test] + if F al s e
1781.97 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1781.97 s
[opt-env-conf-test] else do
1781.98 s
[opt-env-conf-test] let p' = internalParser p
1781.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
1781.98 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1781.98 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1781.98 s
[opt-env-conf-test]
1781.98 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1781.98 s
[opt-env-conf-test] - if c h e c kMode
1781.98 s
[opt-env-conf-test] + if T ru e
1781.98 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1781.98 s
[opt-env-conf-test] else do
1781.98 s
[opt-env-conf-test] let p' = internalParser p
1781.98 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:126:19-69
1781.98 s
[opt-env-conf-test] @@ -123,7 +123,6 @@
1781.98 s
[opt-env-conf-test] case errOrResult of
1781.98 s
[opt-env-conf-test] Left errs -> do
1781.98 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1781.98 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderErrors errs
1781.98 s
[opt-env-conf-test] exitFailure
1781.98 s
[opt-env-conf-test] Right i -> case i of
1781.98 s
[opt-env-conf-test] ShowVersion -> do
1781.98 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:132:21-88
1781.98 s
[opt-env-conf-test] @@ -129,7 +129,6 @@
1781.98 s
[opt-env-conf-test] ShowVersion -> do
1781.98 s
[opt-env-conf-test] progname <- getProgName
1781.98 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1781.98 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1781.98 s
[opt-env-conf-test] exitSuccess
1781.98 s
[opt-env-conf-test] RenderMan -> do
1781.98 s
[opt-env-conf-test] progname <- getProgName
1781.98 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:137:21-98
1781.98 s
[opt-env-conf-test] @@ -134,7 +134,6 @@
1781.98 s
[opt-env-conf-test] RenderMan -> do
1781.98 s
[opt-env-conf-test] progname <- getProgName
1781.98 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1781.98 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1781.98 s
[opt-env-conf-test] exitSuccess
1781.98 s
[opt-env-conf-test] RenderDocumentation -> do
1781.98 s
[opt-env-conf-test] progname <- getProgName
1781.98 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:74:7-61
1781.98 s
[opt-env-conf-test] @@ -71,7 +71,6 @@
1781.98 s
[opt-env-conf-test] case lintParser p of
1781.98 s
[opt-env-conf-test] Just errs -> do
1781.98 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1781.98 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderLintErrors errs
1781.99 s
[opt-env-conf-test] exitFailure
1781.99 s
[opt-env-conf-test] Nothing -> do
1781.99 s
[opt-env-conf-test] let docs = parserDocs p
1781.99 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:83:12-21
1781.99 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1781.99 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1781.99 s
[opt-env-conf-test]
1781.99 s
[opt-env-conf-test] mDebugMode <-
1781.99 s
[opt-env-conf-test] - if debugMode
1781.99 s
[opt-env-conf-test] + if n o t ( debugMode )
1781.99 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1781.99 s
[opt-env-conf-test] else pure Nothing
1781.99 s
[opt-env-conf-test]
1781.99 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
1781.99 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1781.99 s
[opt-env-conf-test]
1781.99 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1781.99 s
[opt-env-conf-test]
1781.99 s
[opt-env-conf-test] - if h e l pM o d e
1781.99 s
[opt-env-conf-test] + if Tru e
1781.99 s
[opt-env-conf-test] then do
1781.99 s
[opt-env-conf-test] progname <- getProgName
1781.99 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1781.99 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:111:14-23
1781.99 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1781.99 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1781.99 s
[opt-env-conf-test]
1781.99 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1781.99 s
[opt-env-conf-test] - if checkMode
1781.99 s
[opt-env-conf-test] + if n o t ( checkMode )
1781.99 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1781.99 s
[opt-env-conf-test] else do
1781.99 s
[opt-env-conf-test] let p' = internalParser p
1781.99 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:142:21-96
1781.99 s
[opt-env-conf-test] @@ -139,7 +139,6 @@
1781.99 s
[opt-env-conf-test] RenderDocumentation -> do
1781.99 s
[opt-env-conf-test] progname <- getProgName
1781.99 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1781.99 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1781.99 s
[opt-env-conf-test] exitSuccess
1781.99 s
[opt-env-conf-test] RenderNixosOptions -> do
1781.99 s
[opt-env-conf-test] progname <- getProgName
1781.99 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:146:21-97
1781.99 s
[opt-env-conf-test] @@ -143,7 +143,6 @@
1781.99 s
[opt-env-conf-test] exitSuccess
1781.99 s
[opt-env-conf-test] RenderNixosOptions -> do
1781.99 s
[opt-env-conf-test] progname <- getProgName
1781.99 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1781.99 s
[opt-env-conf-test] exitSuccess
1781.99 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1781.99 s
[opt-env-conf-test] progname <- getProgName
1781.99 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:158:21-67
1781.99 s
[opt-env-conf-test] @@ -155,7 +155,6 @@
1781.99 s
[opt-env-conf-test] exitSuccess
1781.99 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1781.99 s
[opt-env-conf-test] progname <- getProgName
1781.99 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
1781.99 s
[opt-env-conf-test] exitSuccess
1782.00 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1782.00 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1782.00 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:154:21-66
1782.00 s
[opt-env-conf-test] @@ -151,7 +151,6 @@
1782.00 s
[opt-env-conf-test] exitSuccess
1782.00 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1782.00 s
[opt-env-conf-test] progname <- getProgName
1782.00 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
1782.00 s
[opt-env-conf-test] exitSuccess
1782.00 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1782.00 s
[opt-env-conf-test] progname <- getProgName
1782.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
1782.00 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1782.00 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1782.00 s
[opt-env-conf-test] exitSuccess
1782.00 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1782.00 s
[opt-env-conf-test] - runCompletionQuery p' e n r ich e d index ws
1782.00 s
[opt-env-conf-test] + runCompletionQuery p' F a l s e index ws
1782.00 s
[opt-env-conf-test] exitSuccess
1782.00 s
[opt-env-conf-test] ParsedNormally a -> pure a
1782.00 s
[opt-env-conf-test]
1782.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
1782.00 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1782.00 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1782.00 s
[opt-env-conf-test] exitSuccess
1782.00 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1782.00 s
[opt-env-conf-test] - runCompletionQuery p' e n r i ch e d index ws
1782.00 s
[opt-env-conf-test] + runCompletionQuery p' T r u e index ws
1782.00 s
[opt-env-conf-test] exitSuccess
1782.00 s
[opt-env-conf-test] ParsedNormally a -> pure a
1782.00 s
[opt-env-conf-test]
1782.00 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:161:43-51
1782.00 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1782.00 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1782.00 s
[opt-env-conf-test] exitSuccess
1782.00 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1782.00 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1782.00 s
[opt-env-conf-test] + runCompletionQuery p' n o t ( enriched ) index ws
1782.00 s
[opt-env-conf-test] exitSuccess
1782.00 s
[opt-env-conf-test] ParsedNormally a -> pure a
1782.00 s
[opt-env-conf-test]
1782.00 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:160:56-32
1782.00 s
[opt-env-conf-test] @@ -157,9 +157,8 @@
1782.00 s
[opt-env-conf-test] progname <- getProgName
1782.00 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1782.00 s
[opt-env-conf-test] exitSuccess
1782.00 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1782.00 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1782.00 s
[opt-env-conf-test] exitSuccess
1782.00 s
[opt-env-conf-test] ParsedNormally a -> pure a
1782.00 s
[opt-env-conf-test]
1782.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.
1782.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1782.00 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1782.00 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1782.00 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1782.00 s
[opt-env-conf-test] exitFailure
1782.00 s
[opt-env-conf-test] Right i -> case i of
1782.00 s
[opt-env-conf-test] - ShowVersion -> do
1782.01 s
[opt-env-conf-test] - progname <- getProgName
1782.01 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1782.01 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1782.01 s
[opt-env-conf-test] - exitSuccess
1782.01 s
[opt-env-conf-test] RenderMan -> do
1782.01 s
[opt-env-conf-test] progname <- getProgName
1782.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1782.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1782.01 s
[opt-env-conf-test] exitSuccess
1782.01 s
[opt-env-conf-test] RenderDocumentation -> do
1782.01 s
[opt-env-conf-test] progname <- getProgName
1782.01 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1782.01 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1782.01 s
[opt-env-conf-test] exitSuccess
1782.01 s
[opt-env-conf-test] RenderNixosOptions -> do
1782.01 s
[opt-env-conf-test] progname <- getProgName
1782.01 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1782.01 s
[opt-env-conf-test] exitSuccess
1782.01 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1782.01 s
[opt-env-conf-test] progname <- getProgName
1782.01 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1782.01 s
[opt-env-conf-test] exitSuccess
1782.01 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1782.01 s
[opt-env-conf-test] progname <- getProgName
1782.01 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1782.01 s
[opt-env-conf-test] exitSuccess
1782.01 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1782.01 s
[opt-env-conf-test] progname <- getProgName
1782.01 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1782.01 s
[opt-env-conf-test] exitSuccess
1782.66 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1782.66 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1782.66 s
[opt-env-conf-test] exitSuccess
1782.66 s
[opt-env-conf-test] ParsedNormally a -> pure a
1782.66 s
[opt-env-conf-test]
1782.66 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.
1782.66 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1782.66 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1782.66 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1782.67 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1782.67 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1782.67 s
[opt-env-conf-test] exitFailure
1782.67 s
[opt-env-conf-test] Right i -> case i of
1782.67 s
[opt-env-conf-test] ShowVersion -> do
1782.67 s
[opt-env-conf-test] progname <- getProgName
1782.67 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1782.67 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1782.67 s
[opt-env-conf-test] exitSuccess
1782.67 s
[opt-env-conf-test] - RenderMan -> do
1782.67 s
[opt-env-conf-test] - progname <- getProgName
1782.67 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1782.67 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1782.67 s
[opt-env-conf-test] - exitSuccess
1782.67 s
[opt-env-conf-test] RenderDocumentation -> do
1782.67 s
[opt-env-conf-test] progname <- getProgName
1782.67 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1782.67 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1782.67 s
[opt-env-conf-test] exitSuccess
1782.67 s
[opt-env-conf-test] RenderNixosOptions -> do
1782.67 s
[opt-env-conf-test] progname <- getProgName
1782.67 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1782.67 s
[opt-env-conf-test] exitSuccess
1782.67 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1782.67 s
[opt-env-conf-test] progname <- getProgName
1782.67 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1782.67 s
[opt-env-conf-test] exitSuccess
1782.67 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1782.67 s
[opt-env-conf-test] progname <- getProgName
1782.67 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1782.67 s
[opt-env-conf-test] exitSuccess
1782.67 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1782.67 s
[opt-env-conf-test] progname <- getProgName
1782.67 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1782.67 s
[opt-env-conf-test] exitSuccess
1782.93 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1782.93 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1782.93 s
[opt-env-conf-test] exitSuccess
1782.93 s
[opt-env-conf-test] ParsedNormally a -> pure a
1782.93 s
[opt-env-conf-test]
1782.93 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.
1782.93 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1782.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1782.93 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1782.93 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1782.93 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1782.93 s
[opt-env-conf-test] exitFailure
1782.93 s
[opt-env-conf-test] Right i -> case i of
1782.93 s
[opt-env-conf-test] ShowVersion -> do
1782.93 s
[opt-env-conf-test] progname <- getProgName
1782.94 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1782.94 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1782.94 s
[opt-env-conf-test] exitSuccess
1782.94 s
[opt-env-conf-test] RenderMan -> do
1782.94 s
[opt-env-conf-test] progname <- getProgName
1782.94 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1782.94 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1782.94 s
[opt-env-conf-test] exitSuccess
1782.94 s
[opt-env-conf-test] - RenderDocumentation -> do
1782.94 s
[opt-env-conf-test] - progname <- getProgName
1782.94 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1782.94 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1782.94 s
[opt-env-conf-test] - exitSuccess
1782.94 s
[opt-env-conf-test] RenderNixosOptions -> do
1782.94 s
[opt-env-conf-test] progname <- getProgName
1782.94 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1782.94 s
[opt-env-conf-test] exitSuccess
1782.94 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1782.94 s
[opt-env-conf-test] progname <- getProgName
1782.94 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1782.94 s
[opt-env-conf-test] exitSuccess
1782.94 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1782.94 s
[opt-env-conf-test] progname <- getProgName
1782.94 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1782.94 s
[opt-env-conf-test] exitSuccess
1782.94 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1782.94 s
[opt-env-conf-test] progname <- getProgName
1782.94 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1782.94 s
[opt-env-conf-test] exitSuccess
1784.08 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1784.08 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1784.17 s
[opt-env-conf-test] exitSuccess
1784.17 s
[opt-env-conf-test] ParsedNormally a -> pure a
1784.17 s
[opt-env-conf-test]
1784.17 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.
1784.17 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1784.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1784.17 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1784.17 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1784.17 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1784.17 s
[opt-env-conf-test] exitFailure
1784.17 s
[opt-env-conf-test] Right i -> case i of
1784.17 s
[opt-env-conf-test] ShowVersion -> do
1784.17 s
[opt-env-conf-test] progname <- getProgName
1784.17 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1784.17 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1784.17 s
[opt-env-conf-test] exitSuccess
1784.17 s
[opt-env-conf-test] RenderMan -> do
1784.17 s
[opt-env-conf-test] progname <- getProgName
1784.17 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1784.17 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1784.17 s
[opt-env-conf-test] exitSuccess
1784.17 s
[opt-env-conf-test] RenderDocumentation -> do
1784.17 s
[opt-env-conf-test] progname <- getProgName
1784.17 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1784.17 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1784.17 s
[opt-env-conf-test] - exitSuccess
1784.17 s
[opt-env-conf-test] - RenderNixosOptions -> do
1784.18 s
[opt-env-conf-test] - progname <- getProgName
1784.18 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1784.18 s
[opt-env-conf-test] exitSuccess
1784.18 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1784.18 s
[opt-env-conf-test] progname <- getProgName
1784.18 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1784.18 s
[opt-env-conf-test] exitSuccess
1784.18 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1784.18 s
[opt-env-conf-test] progname <- getProgName
1784.18 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1784.18 s
[opt-env-conf-test] exitSuccess
1784.18 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1784.18 s
[opt-env-conf-test] progname <- getProgName
1784.18 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1784.18 s
[opt-env-conf-test] exitSuccess
1784.22 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1784.22 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1784.22 s
[opt-env-conf-test] exitSuccess
1784.22 s
[opt-env-conf-test] ParsedNormally a -> pure a
1784.22 s
[opt-env-conf-test]
1784.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.
1784.22 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1784.22 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1784.22 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1784.22 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1784.22 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1784.22 s
[opt-env-conf-test] exitFailure
1784.22 s
[opt-env-conf-test] Right i -> case i of
1784.22 s
[opt-env-conf-test] ShowVersion -> do
1784.22 s
[opt-env-conf-test] progname <- getProgName
1784.22 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1784.22 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1784.22 s
[opt-env-conf-test] exitSuccess
1784.22 s
[opt-env-conf-test] RenderMan -> do
1784.22 s
[opt-env-conf-test] progname <- getProgName
1784.22 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1784.22 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1784.22 s
[opt-env-conf-test] exitSuccess
1784.22 s
[opt-env-conf-test] RenderDocumentation -> do
1784.22 s
[opt-env-conf-test] progname <- getProgName
1784.22 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1784.22 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1784.22 s
[opt-env-conf-test] exitSuccess
1784.22 s
[opt-env-conf-test] RenderNixosOptions -> do
1784.22 s
[opt-env-conf-test] progname <- getProgName
1784.22 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1784.23 s
[opt-env-conf-test] - exitSuccess
1784.23 s
[opt-env-conf-test] - BashCompletionScript progPath -> do
1784.23 s
[opt-env-conf-test] - progname <- getProgName
1784.23 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
1784.23 s
[opt-env-conf-test] exitSuccess
1784.23 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1784.23 s
[opt-env-conf-test] progname <- getProgName
1784.23 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1784.23 s
[opt-env-conf-test] exitSuccess
1784.23 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1784.23 s
[opt-env-conf-test] progname <- getProgName
1784.23 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1784.23 s
[opt-env-conf-test] exitSuccess
1785.30 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1785.30 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1785.30 s
[opt-env-conf-test] exitSuccess
1785.30 s
[opt-env-conf-test] ParsedNormally a -> pure a
1785.31 s
[opt-env-conf-test]
1785.31 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.
1785.31 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1785.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1785.31 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1785.31 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1785.31 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1785.31 s
[opt-env-conf-test] exitFailure
1785.31 s
[opt-env-conf-test] Right i -> case i of
1785.31 s
[opt-env-conf-test] ShowVersion -> do
1785.31 s
[opt-env-conf-test] progname <- getProgName
1785.31 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1785.31 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1785.31 s
[opt-env-conf-test] exitSuccess
1785.31 s
[opt-env-conf-test] RenderMan -> do
1785.31 s
[opt-env-conf-test] progname <- getProgName
1785.31 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1785.31 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1785.31 s
[opt-env-conf-test] exitSuccess
1785.31 s
[opt-env-conf-test] RenderDocumentation -> do
1785.31 s
[opt-env-conf-test] progname <- getProgName
1785.31 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1785.31 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1785.31 s
[opt-env-conf-test] exitSuccess
1785.31 s
[opt-env-conf-test] RenderNixosOptions -> do
1785.31 s
[opt-env-conf-test] progname <- getProgName
1785.31 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1785.31 s
[opt-env-conf-test] exitSuccess
1785.31 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1785.31 s
[opt-env-conf-test] progname <- getProgName
1785.32 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1785.32 s
[opt-env-conf-test] - exitSuccess
1785.32 s
[opt-env-conf-test] - ZshCompletionScript progPath -> do
1785.32 s
[opt-env-conf-test] - progname <- getProgName
1785.32 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
1785.32 s
[opt-env-conf-test] exitSuccess
1785.32 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1785.32 s
[opt-env-conf-test] progname <- getProgName
1785.32 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1785.32 s
[opt-env-conf-test] exitSuccess
1786.14 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1786.15 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1786.15 s
[opt-env-conf-test] exitSuccess
1786.15 s
[opt-env-conf-test] ParsedNormally a -> pure a
1786.15 s
[opt-env-conf-test]
1786.15 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.
1786.15 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1786.15 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:150:21-67
1786.15 s
[opt-env-conf-test] @@ -147,7 +147,6 @@
1786.15 s
[opt-env-conf-test] exitSuccess
1786.15 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1786.15 s
[opt-env-conf-test] progname <- getProgName
1786.15 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
1786.15 s
[opt-env-conf-test] exitSuccess
1786.15 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1786.15 s
[opt-env-conf-test] progname <- getProgName
1786.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1786.15 s
[opt-env-conf-test] @@ -125,42 +125,41 @@
1786.15 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1786.15 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1786.15 s
[opt-env-conf-test] exitFailure
1786.15 s
[opt-env-conf-test] Right i -> case i of
1786.15 s
[opt-env-conf-test] ShowVersion -> do
1786.15 s
[opt-env-conf-test] progname <- getProgName
1786.15 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1786.15 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1786.15 s
[opt-env-conf-test] exitSuccess
1786.15 s
[opt-env-conf-test] RenderMan -> do
1786.15 s
[opt-env-conf-test] progname <- getProgName
1786.15 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1786.15 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1786.15 s
[opt-env-conf-test] exitSuccess
1786.15 s
[opt-env-conf-test] RenderDocumentation -> do
1786.15 s
[opt-env-conf-test] progname <- getProgName
1786.15 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1786.15 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1786.15 s
[opt-env-conf-test] exitSuccess
1786.15 s
[opt-env-conf-test] RenderNixosOptions -> do
1786.15 s
[opt-env-conf-test] progname <- getProgName
1786.15 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1786.15 s
[opt-env-conf-test] exitSuccess
1786.15 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1786.15 s
[opt-env-conf-test] progname <- getProgName
1786.15 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1786.15 s
[opt-env-conf-test] exitSuccess
1786.16 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1786.16 s
[opt-env-conf-test] progname <- getProgName
1786.16 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1786.16 s
[opt-env-conf-test] exitSuccess
1786.16 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1786.16 s
[opt-env-conf-test] progname <- getProgName
1786.16 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1786.16 s
[opt-env-conf-test] exitSuccess
1786.16 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1787.48 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1787.48 s
[opt-env-conf-test] exitSuccess
1787.48 s
[opt-env-conf-test] - ParsedNormally a -> pure a
1787.48 s
[opt-env-conf-test]
1787.48 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.
1787.48 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1787.48 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
1787.48 s
[opt-env-conf-test] @@ -251,9 +251,8 @@
1787.48 s
[opt-env-conf-test] before <- get
1787.48 s
[opt-env-conf-test] mA <- func
1787.48 s
[opt-env-conf-test] case mA of
1787.48 s
[opt-env-conf-test] Nothing -> do
1787.49 s
[opt-env-conf-test] - put before
1787.49 s
[opt-env-conf-test] pure Nothing
1787.49 s
[opt-env-conf-test] Just a -> pure (Just a)
1787.49 s
[opt-env-conf-test]
1787.49 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
1787.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1787.49 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1787.49 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1787.49 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1787.49 s
[opt-env-conf-test] exitFailure
1787.49 s
[opt-env-conf-test] Right i -> case i of
1787.49 s
[opt-env-conf-test] ShowVersion -> do
1787.49 s
[opt-env-conf-test] progname <- getProgName
1787.49 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1787.49 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1787.49 s
[opt-env-conf-test] exitSuccess
1787.49 s
[opt-env-conf-test] RenderMan -> do
1787.49 s
[opt-env-conf-test] progname <- getProgName
1787.49 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1787.49 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1787.49 s
[opt-env-conf-test] exitSuccess
1787.49 s
[opt-env-conf-test] RenderDocumentation -> do
1787.49 s
[opt-env-conf-test] progname <- getProgName
1787.49 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1787.49 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1787.49 s
[opt-env-conf-test] exitSuccess
1787.49 s
[opt-env-conf-test] RenderNixosOptions -> do
1787.49 s
[opt-env-conf-test] progname <- getProgName
1787.49 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1787.49 s
[opt-env-conf-test] exitSuccess
1787.49 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1787.49 s
[opt-env-conf-test] progname <- getProgName
1787.49 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1787.49 s
[opt-env-conf-test] exitSuccess
1787.49 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1787.49 s
[opt-env-conf-test] progname <- getProgName
1787.49 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1787.49 s
[opt-env-conf-test] - exitSuccess
1787.49 s
[opt-env-conf-test] - FishCompletionScript progPath -> do
1787.49 s
[opt-env-conf-test] - progname <- getProgName
1787.49 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
1787.49 s
[opt-env-conf-test] exitSuccess
1787.68 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1787.68 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1787.68 s
[opt-env-conf-test] exitSuccess
1787.68 s
[opt-env-conf-test] ParsedNormally a -> pure a
1787.68 s
[opt-env-conf-test]
1787.68 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.
1787.68 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1787.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1787.69 s
[opt-env-conf-test] @@ -125,42 +125,39 @@
1787.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1787.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1787.69 s
[opt-env-conf-test] exitFailure
1787.69 s
[opt-env-conf-test] Right i -> case i of
1787.69 s
[opt-env-conf-test] ShowVersion -> do
1787.69 s
[opt-env-conf-test] progname <- getProgName
1787.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1787.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1787.69 s
[opt-env-conf-test] exitSuccess
1787.69 s
[opt-env-conf-test] RenderMan -> do
1787.69 s
[opt-env-conf-test] progname <- getProgName
1787.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1787.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1787.69 s
[opt-env-conf-test] exitSuccess
1787.69 s
[opt-env-conf-test] RenderDocumentation -> do
1787.69 s
[opt-env-conf-test] progname <- getProgName
1787.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1787.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1787.69 s
[opt-env-conf-test] exitSuccess
1787.69 s
[opt-env-conf-test] RenderNixosOptions -> do
1787.69 s
[opt-env-conf-test] progname <- getProgName
1787.69 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1787.69 s
[opt-env-conf-test] exitSuccess
1787.69 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1787.69 s
[opt-env-conf-test] progname <- getProgName
1787.69 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1787.69 s
[opt-env-conf-test] exitSuccess
1787.69 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1787.69 s
[opt-env-conf-test] progname <- getProgName
1787.69 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1787.69 s
[opt-env-conf-test] exitSuccess
1787.69 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1787.69 s
[opt-env-conf-test] progname <- getProgName
1787.69 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1787.69 s
[opt-env-conf-test] exitSuccess
1787.69 s
[opt-env-conf-test] - CompletionQuery enriched index ws -> do
1794.15 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1794.17 s
[opt-env-conf-test] - exitSuccess
1794.17 s
[opt-env-conf-test] ParsedNormally a -> pure a
1794.17 s
[opt-env-conf-test]
1794.17 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.
1794.17 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1794.17 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:257:25-31
1794.18 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1794.18 s
[opt-env-conf-test] Nothing -> do
1794.18 s
[opt-env-conf-test] put before
1794.18 s
[opt-env-conf-test] pure Nothing
1794.18 s
[opt-env-conf-test] - Just a -> pure ( J u s t a )
1794.18 s
[opt-env-conf-test] + Just a -> pure ( No t h ing )
1794.18 s
[opt-env-conf-test]
1794.18 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
1794.18 s
[opt-env-conf-test] -- Each iteration either advances the args state (consuming input)
1794.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
1794.18 s
[opt-env-conf-test] @@ -304,9 +304,8 @@
1794.18 s
[opt-env-conf-test] Nothing -> pure Nothing
1794.18 s
[opt-env-conf-test] Just cs1 -> do
1794.18 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1794.18 s
[opt-env-conf-test] pure $ case p2s of
1794.18 s
[opt-env-conf-test] - Nothing -> Nothing
1794.18 s
[opt-env-conf-test] Just cs2 -> pure $ cs1 ++ cs2
1794.18 s
[opt-env-conf-test]
1794.18 s
[opt-env-conf-test] -- Nothing means "this branch was not valid"
1794.18 s
[opt-env-conf-test] -- Just [] means "no completions"
1794.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
1794.18 s
[opt-env-conf-test] @@ -304,9 +304,8 @@
1794.18 s
[opt-env-conf-test] Nothing -> pure Nothing
1794.18 s
[opt-env-conf-test] Just cs1 -> do
1794.18 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1794.18 s
[opt-env-conf-test] pure $ case p2s of
1794.18 s
[opt-env-conf-test] Nothing -> Nothing
1794.18 s
[opt-env-conf-test] - Just cs2 -> pure $ cs1 ++ cs2
1794.18 s
[opt-env-conf-test]
1794.18 s
[opt-env-conf-test] -- Nothing means "this branch was not valid"
1794.18 s
[opt-env-conf-test] -- Just [] means "no completions"
1794.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1794.18 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1794.18 s
[opt-env-conf-test] orCompletions p1 p2 = do
1794.18 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1794.18 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1794.18 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1794.18 s
[opt-env-conf-test] - (Nothing, Nothing) -> Nothing
1794.18 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1794.18 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1794.18 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1794.18 s
[opt-env-conf-test]
1794.18 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1794.18 s
[opt-env-conf-test] andCompletions p1 p2 = do
1794.18 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:297:31-38
1794.18 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
1794.18 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1794.18 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1794.18 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1794.18 s
[opt-env-conf-test] - (Nothing, Just cs) -> J u s t c s
1794.18 s
[opt-env-conf-test] + (Nothing, Just cs) -> No t h ing
1794.18 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1794.18 s
[opt-env-conf-test]
1794.18 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1794.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1794.18 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1794.18 s
[opt-env-conf-test] orCompletions p1 p2 = do
1794.18 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1794.18 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1794.18 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1794.18 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1794.18 s
[opt-env-conf-test] - (Just cs, Nothing) -> Just cs
1794.18 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1794.18 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1794.18 s
[opt-env-conf-test]
1794.18 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1794.18 s
[opt-env-conf-test] andCompletions p1 p2 = do
1794.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
1794.18 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1794.18 s
[opt-env-conf-test] Nothing -> pure Nothing
1794.18 s
[opt-env-conf-test] Just os -> do
1794.18 s
[opt-env-conf-test] after <- get
1794.18 s
[opt-env-conf-test] - if a f te r = = b e f ore
1794.18 s
[opt-env-conf-test] + if T r u e
1794.18 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1794.18 s
[opt-env-conf-test] pure $ Just os
1794.18 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1794.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
1794.18 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1794.18 s
[opt-env-conf-test] Nothing -> pure Nothing
1794.18 s
[opt-env-conf-test] Just os -> do
1794.18 s
[opt-env-conf-test] after <- get
1794.18 s
[opt-env-conf-test] - if a f te r == bef or e
1794.18 s
[opt-env-conf-test] + if F a l s e
1794.18 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1794.18 s
[opt-env-conf-test] pure $ Just os
1794.18 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1794.18 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:272:14-29
1794.18 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1794.18 s
[opt-env-conf-test] Nothing -> pure Nothing
1794.18 s
[opt-env-conf-test] Just os -> do
1794.19 s
[opt-env-conf-test] after <- get
1794.19 s
[opt-env-conf-test] - if after == before
1794.19 s
[opt-env-conf-test] + if n o t ( after == before )
1794.19 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1794.19 s
[opt-env-conf-test] pure $ Just os
1794.19 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1794.19 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:274:22-29
1794.19 s
[opt-env-conf-test] @@ -271,7 +271,7 @@
1794.19 s
[opt-env-conf-test] after <- get
1794.19 s
[opt-env-conf-test] if after == before
1794.19 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1794.19 s
[opt-env-conf-test] - pure $ J u st o s
1794.19 s
[opt-env-conf-test] + pure $ N o th ing
1794.19 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1794.19 s
[opt-env-conf-test] -- next iteration. Its completions supersede ours
1794.19 s
[opt-env-conf-test] -- only if it also has a valid result.
1794.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:287:23-30
1794.19 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1794.19 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1794.19 s
[opt-env-conf-test] -- further), prefer our completions which came
1794.19 s
[opt-env-conf-test] -- from the advancing iteration.
1794.19 s
[opt-env-conf-test] - | n u l l o s -> pure $ Just more
1794.19 s
[opt-env-conf-test] + | T r u e -> pure $ Just more
1794.19 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1794.19 s
[opt-env-conf-test]
1794.19 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1794.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1794.19 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1794.19 s
[opt-env-conf-test] orCompletions p1 p2 = do
1794.19 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1794.19 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1794.19 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1794.19 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1794.19 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1794.19 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1794.19 s
[opt-env-conf-test] - (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1794.19 s
[opt-env-conf-test]
1794.19 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1794.19 s
[opt-env-conf-test] andCompletions p1 p2 = do
1794.19 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:281:37-44
1794.19 s
[opt-env-conf-test] @@ -278,7 +278,7 @@
1794.19 s
[opt-env-conf-test] do
1794.19 s
[opt-env-conf-test] mMore <- manyCompletions p
1794.19 s
[opt-env-conf-test] case mMore of
1794.19 s
[opt-env-conf-test] - Nothing -> pure $ J u st o s
1794.19 s
[opt-env-conf-test] + Nothing -> pure $ N o th ing
1794.19 s
[opt-env-conf-test] Just more
1794.19 s
[opt-env-conf-test] -- If the next iteration only produced stale
1794.19 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1794.19 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:287:23-30
1794.19 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1794.19 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1794.19 s
[opt-env-conf-test] -- further), prefer our completions which came
1794.19 s
[opt-env-conf-test] -- from the advancing iteration.
1794.19 s
[opt-env-conf-test] - | null os -> pure $ Just more
1794.19 s
[opt-env-conf-test] + | n o t ( null os ) -> pure $ Just more
1794.19 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1794.19 s
[opt-env-conf-test]
1794.19 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1794.19 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:296:31-38
1794.19 s
[opt-env-conf-test] @@ -293,7 +293,7 @@
1794.19 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1794.19 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1794.19 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1794.19 s
[opt-env-conf-test] - (Just cs, Nothing) -> J u s t c s
1799.78 s
[opt-env-conf-test] + (Just cs, Nothing) -> No t h ing
1799.80 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1799.80 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1799.80 s
[opt-env-conf-test]
1799.81 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:287:41-50
1799.81 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1799.81 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1799.81 s
[opt-env-conf-test] -- further), prefer our completions which came
1799.81 s
[opt-env-conf-test] -- from the advancing iteration.
1799.81 s
[opt-env-conf-test] - | null os -> pure $ J u s t m o r e
1799.81 s
[opt-env-conf-test] + | null os -> pure $ N o thin g
1799.81 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1799.81 s
[opt-env-conf-test]
1799.81 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1799.81 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:288:43-50
1799.81 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1799.81 s
[opt-env-conf-test] -- further), prefer our completions which came
1799.81 s
[opt-env-conf-test] -- from the advancing iteration.
1799.81 s
[opt-env-conf-test] | null os -> pure $ Just more
1799.81 s
[opt-env-conf-test] - | otherwise -> pure $ J u st o s
1799.81 s
[opt-env-conf-test] + | otherwise -> pure $ N o th ing
1799.81 s
[opt-env-conf-test]
1799.81 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1799.81 s
[opt-env-conf-test] orCompletions p1 p2 = do
1799.81 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:315:30-37
1799.81 s
[opt-env-conf-test] @@ -312,7 +312,7 @@
1799.81 s
[opt-env-conf-test] -- Just [] means "no completions"
1799.81 s
[opt-env-conf-test] go :: Parser a -> State Args (Maybe [Completion Suggestion])
1799.81 s
[opt-env-conf-test] go = \case
1799.81 s
[opt-env-conf-test] - ParserPure _ -> pure $ J u s t [ ]
1799.81 s
[opt-env-conf-test] + ParserPure _ -> pure $ No t h ing
1799.81 s
[opt-env-conf-test] -- Parse both and combine the result
1799.81 s
[opt-env-conf-test] ParserAp p1 p2 -> andCompletions p1 p2
1799.81 s
[opt-env-conf-test] -- Parse either: either completions are valid
1799.81 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:361:29-32
1799.81 s
[opt-env-conf-test] @@ -358,9 +358,8 @@
1799.81 s
[opt-env-conf-test] pure Nothing
1799.81 s
[opt-env-conf-test] Just arg ->
1799.81 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1799.81 s
[opt-env-conf-test] Just c -> do
1799.81 s
[opt-env-conf-test] - put rest
1799.81 s
[opt-env-conf-test] goCommand c
1799.81 s
[opt-env-conf-test] Nothing -> pure Nothing
1799.81 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1799.81 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1799.81 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:378:19-31
1799.82 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1799.82 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1799.82 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1799.82 s
[opt-env-conf-test] -- command's completions.
1799.82 s
[opt-env-conf-test] - | a r gs AtE nd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1799.82 s
[opt-env-conf-test] + | T r ue -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1799.82 s
[opt-env-conf-test] | otherwise -> do
1799.82 s
[opt-env-conf-test] -- The default command consumed args, so its
1799.82 s
[opt-env-conf-test] -- completions are valid. But we must restore
1799.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
1799.82 s
[opt-env-conf-test] @@ -357,11 +357,8 @@
1799.82 s
[opt-env-conf-test] -- name then the remaining args have nowhere to go.
1799.82 s
[opt-env-conf-test] pure Nothing
1799.82 s
[opt-env-conf-test] Just arg ->
1799.82 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1799.82 s
[opt-env-conf-test] - Just c -> do
1799.82 s
[opt-env-conf-test] - put rest
1799.82 s
[opt-env-conf-test] - goCommand c
1799.82 s
[opt-env-conf-test] Nothing -> pure Nothing
1799.82 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1799.82 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1799.82 s
[opt-env-conf-test] -- if the user provides no command.
1799.82 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:378:19-31
1799.82 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1799.82 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1799.82 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1799.82 s
[opt-env-conf-test] -- command's completions.
1799.82 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1799.82 s
[opt-env-conf-test] + | n o t ( argsAtEnd as ) -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1799.82 s
[opt-env-conf-test] | otherwise -> do
1799.82 s
[opt-env-conf-test] -- The default command consumed args, so its
1799.82 s
[opt-env-conf-test] -- completions are valid. But we must restore
1799.82 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:340:20-34
1799.82 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1799.82 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1799.82 s
[opt-env-conf-test] case mArg of
1799.82 s
[opt-env-conf-test] Nothing -> do
1799.82 s
[opt-env-conf-test] - if argsAtEnd rest
1799.82 s
[opt-env-conf-test] + if n o t ( argsAtEnd rest )
1799.82 s
[opt-env-conf-test] then do
1799.82 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1799.82 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1799.82 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:378:86-94
1799.82 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1799.82 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1799.82 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1799.82 s
[opt-env-conf-test] -- command's completions.
1799.82 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, J u s t dc s ]
1799.82 s
[opt-env-conf-test] + | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, No t h i ng ]
1799.82 s
[opt-env-conf-test] | otherwise -> do
1799.82 s
[opt-env-conf-test] -- The default command consumed args, so its
1799.82 s
[opt-env-conf-test] -- completions are valid. But we must restore
1799.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
1799.82 s
[opt-env-conf-test] @@ -357,11 +357,10 @@
1799.82 s
[opt-env-conf-test] -- name then the remaining args have nowhere to go.
1799.82 s
[opt-env-conf-test] pure Nothing
1799.82 s
[opt-env-conf-test] Just arg ->
1799.82 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1799.82 s
[opt-env-conf-test] Just c -> do
1799.82 s
[opt-env-conf-test] put rest
1799.82 s
[opt-env-conf-test] goCommand c
1799.82 s
[opt-env-conf-test] - Nothing -> pure Nothing
1799.82 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1799.82 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1799.82 s
[opt-env-conf-test] -- if the user provides no command.
1799.82 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
1799.82 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1799.82 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1799.82 s
[opt-env-conf-test] case mArg of
1799.82 s
[opt-env-conf-test] Nothing -> do
1799.83 s
[opt-env-conf-test] - if a r g s AtE nd r e s t
1799.83 s
[opt-env-conf-test] + if F a l s e
1799.83 s
[opt-env-conf-test] then do
1799.83 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1799.83 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1799.83 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:350:59-75
1799.83 s
[opt-env-conf-test] @@ -347,7 +347,7 @@
1799.83 s
[opt-env-conf-test] ( \Command {..} ->
1799.83 s
[opt-env-conf-test] Completion
1799.83 s
[opt-env-conf-test] { completionSuggestion = SuggestionBare commandArg,
1799.83 s
[opt-env-conf-test] - completionDescription = J u st c o mma n d Help
1799.83 s
[opt-env-conf-test] + completionDescription = N o t hi n g
1799.83 s
[opt-env-conf-test] }
1799.83 s
[opt-env-conf-test] )
1799.83 s
[opt-env-conf-test] matchingCommands
1799.83 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
1799.83 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1799.83 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1799.83 s
[opt-env-conf-test] case mArg of
1799.83 s
[opt-env-conf-test] Nothing -> do
1806.82 s
[opt-env-conf-test] - if a rg sAt En d r e s t
1806.85 s
[opt-env-conf-test] + if T r u e
1806.85 s
[opt-env-conf-test] then do
1806.85 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1806.85 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1806.85 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
1806.85 s
[opt-env-conf-test] @@ -375,7 +375,6 @@
1806.85 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1806.85 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1806.85 s
[opt-env-conf-test] -- command's completions.
1806.85 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1806.85 s
[opt-env-conf-test] | otherwise -> do
1806.85 s
[opt-env-conf-test] -- The default command consumed args, so its
1806.85 s
[opt-env-conf-test] -- completions are valid. But we must restore
1806.85 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
1806.85 s
[opt-env-conf-test] @@ -375,7 +375,6 @@
1806.85 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1806.85 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1806.85 s
[opt-env-conf-test] -- command's completions.
1806.85 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1806.85 s
[opt-env-conf-test] | otherwise -> do
1806.85 s
[opt-env-conf-test] -- The default command consumed args, so its
1806.85 s
[opt-env-conf-test] -- completions are valid. But we must restore
1806.85 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:388:28-36
1806.85 s
[opt-env-conf-test] @@ -385,7 +385,7 @@
1806.85 s
[opt-env-conf-test] -- --archive-dir that the default command
1806.85 s
[opt-env-conf-test] -- swallowed as a positional argument.
1806.85 s
[opt-env-conf-test] put as
1806.85 s
[opt-env-conf-test] - pure $ J u s t dc s
1806.85 s
[opt-env-conf-test] + pure $ No t h i ng
1806.85 s
[opt-env-conf-test] ParserSetting _ Setting {..} -> do
1806.85 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1806.85 s
[opt-env-conf-test] let completionDescription = settingHelp
1806.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
1806.86 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1806.86 s
[opt-env-conf-test] pure Completion {..}
1806.86 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1806.86 s
[opt-env-conf-test] as <- get
1806.86 s
[opt-env-conf-test] - if a r g s A t End a s then completeWithCompleter else pure $ Just []
1806.86 s
[opt-env-conf-test] + if F a l s e then completeWithCompleter else pure $ Just []
1806.86 s
[opt-env-conf-test] let completeWithDasheds = do
1806.86 s
[opt-env-conf-test] let isLong = \case
1806.86 s
[opt-env-conf-test] DashedLong _ -> True
1806.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
1806.86 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1806.86 s
[opt-env-conf-test] pure Completion {..}
1806.86 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1806.86 s
[opt-env-conf-test] as <- get
1806.86 s
[opt-env-conf-test] - if a r gs AtE nd as then completeWithCompleter else pure $ Just []
1806.86 s
[opt-env-conf-test] + if T r ue then completeWithCompleter else pure $ Just []
1806.86 s
[opt-env-conf-test] let completeWithDasheds = do
1806.86 s
[opt-env-conf-test] let isLong = \case
1806.86 s
[opt-env-conf-test] DashedLong _ -> True
1806.86 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
1806.86 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1806.86 s
[opt-env-conf-test] pure Completion {..}
1806.86 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1806.86 s
[opt-env-conf-test] as <- get
1806.86 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ J u s t [ ]
1806.86 s
[opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ No t h ing
1806.86 s
[opt-env-conf-test] let completeWithDasheds = do
1806.86 s
[opt-env-conf-test] let isLong = \case
1806.86 s
[opt-env-conf-test] DashedLong _ -> True
1806.86 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:402:38-43
1806.86 s
[opt-env-conf-test] @@ -399,7 +399,7 @@
1806.86 s
[opt-env-conf-test] let completeWithDasheds = do
1806.86 s
[opt-env-conf-test] let isLong = \case
1806.86 s
[opt-env-conf-test] DashedLong _ -> True
1806.86 s
[opt-env-conf-test] - DashedShort _ -> F al s e
1806.86 s
[opt-env-conf-test] + DashedShort _ -> T ru e
1806.86 s
[opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1806.86 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1806.86 s
[opt-env-conf-test] let completions =
1806.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:398:18-30
1806.86 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1806.86 s
[opt-env-conf-test] pure Completion {..}
1806.86 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1806.86 s
[opt-env-conf-test] as <- get
1806.86 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
1806.86 s
[opt-env-conf-test] + if n o t ( argsAtEnd as ) then completeWithCompleter else pure $ Just []
1806.86 s
[opt-env-conf-test] let completeWithDasheds = do
1806.86 s
[opt-env-conf-test] let isLong = \case
1806.87 s
[opt-env-conf-test] DashedLong _ -> True
1806.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1806.87 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1806.87 s
[opt-env-conf-test] orCompletions p1 p2 = do
1806.87 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1806.87 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1806.87 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1806.87 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1806.87 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1806.87 s
[opt-env-conf-test] - (Nothing, Just cs) -> Just cs
1806.87 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1806.87 s
[opt-env-conf-test]
1806.87 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1806.87 s
[opt-env-conf-test] andCompletions p1 p2 = do
1806.87 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:403:41-66
1806.87 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1806.87 s
[opt-env-conf-test] let isLong = \case
1806.87 s
[opt-env-conf-test] DashedLong _ -> True
1806.87 s
[opt-env-conf-test] DashedShort _ -> False
1806.87 s
[opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1806.87 s
[opt-env-conf-test] + let favorableDasheds = if n o t ( any isLong settingDasheds ) then filter isLong settingDasheds else settingDasheds
1806.87 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1806.87 s
[opt-env-conf-test] let completions =
1806.87 s
[opt-env-conf-test] map
1806.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
1806.87 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1806.87 s
[opt-env-conf-test] let isLong = \case
1806.87 s
[opt-env-conf-test] DashedLong _ -> True
1806.87 s
[opt-env-conf-test] DashedShort _ -> False
1806.87 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
1806.87 s
[opt-env-conf-test] + let favorableDasheds = if F a l s e then filter isLong settingDasheds else settingDasheds
1806.87 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1806.87 s
[opt-env-conf-test] let completions =
1806.88 s
[opt-env-conf-test] map
1806.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
1806.88 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1806.88 s
[opt-env-conf-test] let isLong = \case
1806.88 s
[opt-env-conf-test] DashedLong _ -> True
1806.88 s
[opt-env-conf-test] DashedShort _ -> False
1806.88 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
1806.88 s
[opt-env-conf-test] + let favorableDasheds = if Tru e then filter isLong settingDasheds else settingDasheds
1806.88 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1806.88 s
[opt-env-conf-test] let completions =
1806.88 s
[opt-env-conf-test] map
1806.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
1806.88 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1806.88 s
[opt-env-conf-test] )
1806.88 s
[opt-env-conf-test] suggestions
1812.70 s
[opt-env-conf-test] pure $ Just completions
1812.70 s
[opt-env-conf-test] - if s e ttin gHidden
1812.72 s
[opt-env-conf-test] + if T ru e
1812.72 s
[opt-env-conf-test] then pure $ Just []
1812.72 s
[opt-env-conf-test] else do
1812.72 s
[opt-env-conf-test] as <- get
1812.72 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
1812.73 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1812.73 s
[opt-env-conf-test] )
1812.73 s
[opt-env-conf-test] suggestions
1812.73 s
[opt-env-conf-test] pure $ Just completions
1812.73 s
[opt-env-conf-test] - if s e tti ngHi dd e n
1812.73 s
[opt-env-conf-test] + if F a l s e
1812.73 s
[opt-env-conf-test] then pure $ Just []
1812.73 s
[opt-env-conf-test] else do
1812.73 s
[opt-env-conf-test] as <- get
1812.73 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:401:37-41
1812.73 s
[opt-env-conf-test] @@ -398,7 +398,7 @@
1812.73 s
[opt-env-conf-test] if argsAtEnd as then completeWithCompleter else pure $ Just []
1812.73 s
[opt-env-conf-test] let completeWithDasheds = do
1812.73 s
[opt-env-conf-test] let isLong = \case
1812.73 s
[opt-env-conf-test] - DashedLong _ -> Tr u e
1812.73 s
[opt-env-conf-test] + DashedLong _ -> F a ls e
1812.73 s
[opt-env-conf-test] DashedShort _ -> False
1812.73 s
[opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1812.73 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1812.73 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:379:32-36
1812.73 s
[opt-env-conf-test] @@ -376,16 +376,15 @@
1812.73 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1812.73 s
[opt-env-conf-test] -- command's completions.
1812.73 s
[opt-env-conf-test] | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1812.73 s
[opt-env-conf-test] | otherwise -> do
1812.73 s
[opt-env-conf-test] -- The default command consumed args, so its
1812.73 s
[opt-env-conf-test] -- completions are valid. But we must restore
1812.73 s
[opt-env-conf-test] -- the state: the consumed args may also be
1812.73 s
[opt-env-conf-test] -- intended for sibling parsers in an
1812.73 s
[opt-env-conf-test] -- applicative (<*>), e.g. an option like
1812.73 s
[opt-env-conf-test] -- --archive-dir that the default command
1812.73 s
[opt-env-conf-test] -- swallowed as a positional argument.
1812.73 s
[opt-env-conf-test] - put as
1812.73 s
[opt-env-conf-test] pure $ Just dcs
1812.73 s
[opt-env-conf-test] ParserSetting _ Setting {..} -> do
1812.74 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1812.74 s
[opt-env-conf-test] let completionDescription = settingHelp
1812.74 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:413:22-38
1812.74 s
[opt-env-conf-test] @@ -410,7 +410,7 @@
1812.74 s
[opt-env-conf-test] . SuggestionBare
1812.74 s
[opt-env-conf-test] )
1812.74 s
[opt-env-conf-test] suggestions
1812.74 s
[opt-env-conf-test] - pure $ J us t c o m pl e t i o n s
1812.74 s
[opt-env-conf-test] + pure $ N o t h i n g
1812.74 s
[opt-env-conf-test] if settingHidden
1812.74 s
[opt-env-conf-test] then pure $ Just []
1812.74 s
[opt-env-conf-test] else do
1812.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
1812.74 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1812.74 s
[opt-env-conf-test] then pure $ Just []
1812.74 s
[opt-env-conf-test] else do
1812.74 s
[opt-env-conf-test] as <- get
1812.74 s
[opt-env-conf-test] - if s e tt ing T ry A r g u m e n t
1812.74 s
[opt-env-conf-test] + if T r u e
1812.74 s
[opt-env-conf-test] then do
1812.74 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1812.74 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1812.74 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:428:28-35
1812.74 s
[opt-env-conf-test] @@ -425,7 +425,7 @@
1812.74 s
[opt-env-conf-test] case filter (isJust . fst) possibilities of
1812.74 s
[opt-env-conf-test] (_, as') : _ -> do
1812.74 s
[opt-env-conf-test] put as'
1812.74 s
[opt-env-conf-test] - pure $ J u s t [ ]
1812.74 s
[opt-env-conf-test] + pure $ No t h ing
1812.74 s
[opt-env-conf-test] [] ->
1812.74 s
[opt-env-conf-test] -- No possibility consumed a value. This is either
1812.74 s
[opt-env-conf-test] -- because there are no args at all (the [] case from
1812.74 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:415:23-30
1812.74 s
[opt-env-conf-test] @@ -412,7 +412,7 @@
1812.74 s
[opt-env-conf-test] suggestions
1812.74 s
[opt-env-conf-test] pure $ Just completions
1812.74 s
[opt-env-conf-test] if settingHidden
1812.74 s
[opt-env-conf-test] - then pure $ J u s t [ ]
1812.74 s
[opt-env-conf-test] + then pure $ No t h ing
1812.74 s
[opt-env-conf-test] else do
1812.74 s
[opt-env-conf-test] as <- get
1812.74 s
[opt-env-conf-test] if settingTryArgument
1812.74 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:418:16-34
1812.74 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1812.74 s
[opt-env-conf-test] then pure $ Just []
1812.74 s
[opt-env-conf-test] else do
1812.74 s
[opt-env-conf-test] as <- get
1812.74 s
[opt-env-conf-test] - if settingTryArgument
1812.75 s
[opt-env-conf-test] + if n o t ( settingTryArgument )
1812.75 s
[opt-env-conf-test] then do
1812.75 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1812.75 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1812.75 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
1812.75 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1812.75 s
[opt-env-conf-test] then pure $ Just []
1812.75 s
[opt-env-conf-test] else do
1812.75 s
[opt-env-conf-test] as <- get
1812.75 s
[opt-env-conf-test] - if se tt ingTr yArgument
1812.75 s
[opt-env-conf-test] + if F a l se
1812.75 s
[opt-env-conf-test] then do
1812.75 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1812.75 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1812.75 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:426:35-35
1812.75 s
[opt-env-conf-test] @@ -423,9 +423,8 @@
1812.75 s
[opt-env-conf-test] -- that over the "don't consume" fallback, because a
1812.75 s
[opt-env-conf-test] -- consumed value means the user already provided input.
1812.75 s
[opt-env-conf-test] case filter (isJust . fst) possibilities of
1812.75 s
[opt-env-conf-test] (_, as') : _ -> do
1812.75 s
[opt-env-conf-test] - put as'
1812.75 s
[opt-env-conf-test] pure $ Just []
1812.75 s
[opt-env-conf-test] [] ->
1812.75 s
[opt-env-conf-test] -- No possibility consumed a value. This is either
1812.75 s
[opt-env-conf-test] -- because there are no args at all (the [] case from
1812.75 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:414:12-25
1812.75 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1812.75 s
[opt-env-conf-test] )
1812.75 s
[opt-env-conf-test] suggestions
1812.75 s
[opt-env-conf-test] pure $ Just completions
1812.75 s
[opt-env-conf-test] - if settingHidden
1812.75 s
[opt-env-conf-test] + if n o t ( settingHidden )
1812.75 s
[opt-env-conf-test] then pure $ Just []
1812.75 s
[opt-env-conf-test] else do
1812.75 s
[opt-env-conf-test] as <- get
1812.75 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
1812.75 s
[opt-env-conf-test] @@ -434,9 +434,8 @@
1812.75 s
[opt-env-conf-test] -- completer if we are at the end.
1812.75 s
[opt-env-conf-test] case possibilities of
1812.75 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
1812.75 s
[opt-env-conf-test] (_, as') : _ -> do
1812.75 s
[opt-env-conf-test] - put as'
1812.75 s
[opt-env-conf-test] completeWithCompleterAtEnd
1812.75 s
[opt-env-conf-test] else
1812.75 s
[opt-env-conf-test] if isJust settingSwitchValue
1812.75 s
[opt-env-conf-test] then do
1812.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1812.75 s
[opt-env-conf-test] @@ -432,11 +432,8 @@
1812.75 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1812.75 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1812.75 s
[opt-env-conf-test] -- completer if we are at the end.
1812.75 s
[opt-env-conf-test] case possibilities of
1812.75 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
1812.75 s
[opt-env-conf-test] - (_, as') : _ -> do
1812.75 s
[opt-env-conf-test] - put as'
1812.75 s
[opt-env-conf-test] - completeWithCompleterAtEnd
1812.75 s
[opt-env-conf-test] else
1812.75 s
[opt-env-conf-test] if isJust settingSwitchValue
1812.75 s
[opt-env-conf-test] then do
1812.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1812.76 s
[opt-env-conf-test] @@ -432,11 +432,10 @@
1812.76 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1812.76 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1812.76 s
[opt-env-conf-test] -- completer if we are at the end.
1812.76 s
[opt-env-conf-test] case possibilities of
1812.76 s
[opt-env-conf-test] - [] -> completeWithCompleterAtEnd
1812.76 s
[opt-env-conf-test] (_, as') : _ -> do
1812.76 s
[opt-env-conf-test] put as'
1812.76 s
[opt-env-conf-test] completeWithCompleterAtEnd
1812.76 s
[opt-env-conf-test] else
1817.97 s
[opt-env-conf-test] if isJust settingSwitchValue
1817.97 s
[opt-env-conf-test] then do
1817.97 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
1817.99 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1817.99 s
[opt-env-conf-test] put as'
1817.99 s
[opt-env-conf-test] completeWithCompleterAtEnd
1818.00 s
[opt-env-conf-test] else
1818.00 s
[opt-env-conf-test] - if i s Jus t s e tti ngSwit chV al u e
1818.00 s
[opt-env-conf-test] + if F al s e
1818.00 s
[opt-env-conf-test] then do
1818.00 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1818.00 s
[opt-env-conf-test] -- it's already been parsed.
1818.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
1818.00 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1818.00 s
[opt-env-conf-test] put as'
1818.00 s
[opt-env-conf-test] completeWithCompleterAtEnd
1818.00 s
[opt-env-conf-test] else
1818.00 s
[opt-env-conf-test] - if i s J u s t s e t tin gSwitchValue
1818.00 s
[opt-env-conf-test] + if Tr u e
1818.00 s
[opt-env-conf-test] then do
1818.00 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1818.00 s
[opt-env-conf-test] -- it's already been parsed.
1818.00 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:451:32-39
1818.00 s
[opt-env-conf-test] @@ -448,7 +448,7 @@
1818.00 s
[opt-env-conf-test] completeWithDasheds
1818.00 s
[opt-env-conf-test] Just as' -> do
1818.00 s
[opt-env-conf-test] put as'
1818.00 s
[opt-env-conf-test] - pure $ J u s t [ ]
1818.00 s
[opt-env-conf-test] + pure $ No t h ing
1818.00 s
[opt-env-conf-test] else do
1818.00 s
[opt-env-conf-test] if settingTryOption
1818.00 s
[opt-env-conf-test] then do
1818.00 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:449:35-39
1818.00 s
[opt-env-conf-test] @@ -446,9 +446,8 @@
1818.00 s
[opt-env-conf-test] Nothing ->
1818.00 s
[opt-env-conf-test] -- A switch can be anywhere, doesn't need to be at the end.
1818.00 s
[opt-env-conf-test] completeWithDasheds
1818.00 s
[opt-env-conf-test] Just as' -> do
1818.00 s
[opt-env-conf-test] - put as'
1818.00 s
[opt-env-conf-test] pure $ Just []
1818.00 s
[opt-env-conf-test] else do
1818.00 s
[opt-env-conf-test] if settingTryOption
1818.00 s
[opt-env-conf-test] then do
1818.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1818.00 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1818.00 s
[opt-env-conf-test] put as'
1818.00 s
[opt-env-conf-test] pure $ Just []
1818.00 s
[opt-env-conf-test] else do
1818.00 s
[opt-env-conf-test] - if se tt ingT ryOption
1818.01 s
[opt-env-conf-test] + if F a l se
1818.01 s
[opt-env-conf-test] then do
1818.01 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1818.01 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1818.01 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:453:24-40
1818.01 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1818.01 s
[opt-env-conf-test] put as'
1818.01 s
[opt-env-conf-test] pure $ Just []
1818.01 s
[opt-env-conf-test] else do
1818.01 s
[opt-env-conf-test] - if settingTryOption
1818.01 s
[opt-env-conf-test] + if n o t ( settingTryOption )
1818.01 s
[opt-env-conf-test] then do
1818.01 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1818.01 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1818.01 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:459:36-43
1818.01 s
[opt-env-conf-test] @@ -456,7 +456,7 @@
1818.01 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1818.01 s
[opt-env-conf-test] Just (_, as') -> do
1818.01 s
[opt-env-conf-test] put as'
1818.01 s
[opt-env-conf-test] - pure $ J u s t [ ]
1818.01 s
[opt-env-conf-test] + pure $ No t h ing
1818.01 s
[opt-env-conf-test] Nothing -> do
1818.01 s
[opt-env-conf-test] if argsAtEnd as
1818.01 s
[opt-env-conf-test] then completeWithDasheds
1818.01 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:457:44-43
1818.01 s
[opt-env-conf-test] @@ -454,9 +454,8 @@
1818.01 s
[opt-env-conf-test] then do
1818.01 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1818.01 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1818.01 s
[opt-env-conf-test] Just (_, as') -> do
1818.01 s
[opt-env-conf-test] - put as'
1818.01 s
[opt-env-conf-test] pure $ Just []
1818.01 s
[opt-env-conf-test] Nothing -> do
1818.01 s
[opt-env-conf-test] if argsAtEnd as
1818.01 s
[opt-env-conf-test] then completeWithDasheds
1818.01 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
1818.01 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1818.01 s
[opt-env-conf-test] put as'
1818.01 s
[opt-env-conf-test] pure $ Just []
1818.01 s
[opt-env-conf-test] Nothing -> do
1818.01 s
[opt-env-conf-test] - if a r gs AtE nd as
1818.01 s
[opt-env-conf-test] + if T r ue
1818.01 s
[opt-env-conf-test] then completeWithDasheds
1818.01 s
[opt-env-conf-test] else do
1818.01 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1818.01 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
1818.01 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1818.01 s
[opt-env-conf-test] put as'
1818.02 s
[opt-env-conf-test] pure $ Just []
1818.02 s
[opt-env-conf-test] Nothing -> do
1818.02 s
[opt-env-conf-test] - if a r g s A t End as
1818.02 s
[opt-env-conf-test] + if F a l s e
1818.02 s
[opt-env-conf-test] then completeWithDasheds
1818.02 s
[opt-env-conf-test] else do
1818.02 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1818.02 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:461:32-44
1818.02 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1818.02 s
[opt-env-conf-test] put as'
1818.02 s
[opt-env-conf-test] pure $ Just []
1818.02 s
[opt-env-conf-test] Nothing -> do
1818.02 s
[opt-env-conf-test] - if argsAtEnd as
1818.02 s
[opt-env-conf-test] + if n o t ( argsAtEnd as )
1818.02 s
[opt-env-conf-test] then completeWithDasheds
1818.02 s
[opt-env-conf-test] else do
1818.02 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1818.02 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:487:32-39
1818.02 s
[opt-env-conf-test] @@ -484,4 +484,4 @@
1818.02 s
[opt-env-conf-test] -- this branch, improving completions when one branch
1818.02 s
[opt-env-conf-test] -- is env/conf-only and the other has args/options.
1818.02 s
[opt-env-conf-test] -- This would require IO or an environment parameter.
1818.02 s
[opt-env-conf-test] - pure $ J u s t [ ]
1818.02 s
[opt-env-conf-test] + pure $ No t h ing
1818.02 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
1818.02 s
[opt-env-conf-test] @@ -160,7 +160,7 @@
1818.02 s
[opt-env-conf-test] --
1818.02 s
[opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
1818.02 s
[opt-env-conf-test] let index = pred index'
1818.02 s
[opt-env-conf-test] - let ws = drop 1 ws'
1818.02 s
[opt-env-conf-test] + let ws = drop - 1 ws'
1818.02 s
[opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
1818.02 s
[opt-env-conf-test] let completions = pureCompletionQuery parser index ws
1818.02 s
[opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
1818.02 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
1818.02 s
[opt-env-conf-test] @@ -160,7 +160,7 @@
1818.02 s
[opt-env-conf-test] --
1818.02 s
[opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
1818.02 s
[opt-env-conf-test] let index = pred index'
1818.02 s
[opt-env-conf-test] - let ws = drop 1 ws'
1818.02 s
[opt-env-conf-test] + let ws = drop 0 ws'
1818.02 s
[opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
1818.02 s
[opt-env-conf-test] let completions = pureCompletionQuery parser index ws
1818.02 s
[opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
1818.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
1818.02 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1818.02 s
[opt-env-conf-test] -- import System.IO
1818.02 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1818.02 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1818.02 s
[opt-env-conf-test] - if e n r i ch e d
1818.02 s
[opt-env-conf-test] + if T r u e
1818.02 s
[opt-env-conf-test] then
1818.02 s
[opt-env-conf-test] putStr $
1818.02 s
[opt-env-conf-test] unlines $
1818.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
1818.02 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1818.02 s
[opt-env-conf-test] -- import System.IO
1818.02 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1818.03 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1818.03 s
[opt-env-conf-test] - if e n r iched
1818.03 s
[opt-env-conf-test] + if F a l s e
1818.03 s
[opt-env-conf-test] then
1818.03 s
[opt-env-conf-test] putStr $
1818.03 s
[opt-env-conf-test] unlines $
1818.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
1818.03 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1818.03 s
[opt-env-conf-test] map
1818.03 s
[opt-env-conf-test] ( \Completion {..} ->
1818.03 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1818.03 s
[opt-env-conf-test] - notFinal = c om plet ionR es u lt Finality comp l e t io nSuggestion == CompletionNotFinal
1818.03 s
[opt-env-conf-test] + notFinal = T r u e
1818.03 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1818.03 s
[opt-env-conf-test] (False, Nothing) -> val
1818.03 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1818.03 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:171:6-14
1818.03 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1818.03 s
[opt-env-conf-test] -- import System.IO
1818.03 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1818.03 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1818.03 s
[opt-env-conf-test] - if enriched
1818.03 s
[opt-env-conf-test] + if n o t ( enriched )
1818.03 s
[opt-env-conf-test] then
1818.03 s
[opt-env-conf-test] putStr $
1818.03 s
[opt-env-conf-test] unlines $
1818.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
1818.03 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1818.03 s
[opt-env-conf-test] map
1818.03 s
[opt-env-conf-test] ( \Completion {..} ->
1818.03 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1818.03 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
1818.03 s
[opt-env-conf-test] + notFinal = F al s e
1818.03 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1818.03 s
[opt-env-conf-test] (False, Nothing) -> val
1818.03 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1818.03 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:178:32-99
1818.03 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1818.03 s
[opt-env-conf-test] map
1818.03 s
[opt-env-conf-test] ( \Completion {..} ->
1818.03 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1818.03 s
[opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1818.03 s
[opt-env-conf-test] + notFinal = n o t ( completionResultFinality completionSuggestion == CompletionNotFinal )
1818.03 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1818.03 s
[opt-env-conf-test] (False, Nothing) -> val
1818.03 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1818.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
1818.03 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1818.03 s
[opt-env-conf-test] ( \Completion {..} ->
1818.03 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1818.03 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1818.03 s
[opt-env-conf-test] - in case ( n o t F i n al , completionDescription) of
1818.03 s
[opt-env-conf-test] + in case ( F al s e , completionDescription) of
1818.03 s
[opt-env-conf-test] (False, Nothing) -> val
1818.03 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1818.03 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1818.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
1818.03 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1818.03 s
[opt-env-conf-test] ( \Completion {..} ->
1818.03 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1818.03 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1818.03 s
[opt-env-conf-test] - in case ( n o t Fin a l , completionDescription) of
1818.03 s
[opt-env-conf-test] + in case ( T ru e , completionDescription) of
1818.03 s
[opt-env-conf-test] (False, Nothing) -> val
1818.03 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1818.03 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1818.03 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:179:27-35
1818.03 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1818.04 s
[opt-env-conf-test] ( \Completion {..} ->
1818.04 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1818.04 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1818.04 s
[opt-env-conf-test] - in case (notFinal , completionDescription) of
1818.04 s
[opt-env-conf-test] + in case ( n ot (notFinal ) , completionDescription) of
1818.04 s
[opt-env-conf-test] (False, Nothing) -> val
1818.04 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1818.04 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1818.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1818.04 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1818.04 s
[opt-env-conf-test] ( \Completion {..} ->
1818.04 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1818.04 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1818.04 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1818.04 s
[opt-env-conf-test] - (False, Nothing) -> val
1818.04 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1818.04 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1818.04 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1818.04 s
[opt-env-conf-test] )
1818.04 s
[opt-env-conf-test] evaluatedCompletions
1818.04 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1818.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1818.04 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1818.04 s
[opt-env-conf-test] ( \Completion {..} ->
1818.04 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1818.04 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1818.04 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1818.04 s
[opt-env-conf-test] (False, Nothing) -> val
1818.04 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1818.04 s
[opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
1818.04 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1818.04 s
[opt-env-conf-test] )
1818.04 s
[opt-env-conf-test] evaluatedCompletions
1818.04 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1818.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1818.04 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1818.04 s
[opt-env-conf-test] ( \Completion {..} ->
1818.04 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1818.04 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1818.04 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1818.04 s
[opt-env-conf-test] (False, Nothing) -> val
1818.04 s
[opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
1818.04 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1818.04 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1818.04 s
[opt-env-conf-test] )
1818.04 s
[opt-env-conf-test] evaluatedCompletions
1818.04 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1818.04 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:473:53-60
1818.04 s
[opt-env-conf-test] @@ -470,7 +470,7 @@
1818.04 s
[opt-env-conf-test] -- the option because consumeOption would try to
1818.04 s
[opt-env-conf-test] -- consume the option argument too.
1818.04 s
[opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
1818.04 s
[opt-env-conf-test] - Nothing -> pure $ J u s t [ ]
1818.04 s
[opt-env-conf-test] + Nothing -> pure $ No t h ing
1818.04 s
[opt-env-conf-test] Just as' -> do
1818.04 s
[opt-env-conf-test] put as'
1819.23 s
[opt-env-conf-test] completeWithCompleterAtEnd
1819.23 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:474:47-63
1819.23 s
[opt-env-conf-test] @@ -471,9 +471,8 @@
1819.23 s
[opt-env-conf-test] -- consume the option argument too.
1819.23 s
[opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
1819.23 s
[opt-env-conf-test] Nothing -> pure $ Just []
1819.23 s
[opt-env-conf-test] Just as' -> do
1819.23 s
[opt-env-conf-test] - put as'
1819.23 s
[opt-env-conf-test] completeWithCompleterAtEnd
1819.23 s
[opt-env-conf-test] else do
1819.23 s
[opt-env-conf-test] -- We can't auto-complete settings parsed from env vars
1819.23 s
[opt-env-conf-test] -- or config values, but this path is still valid.
1819.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1819.23 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1819.23 s
[opt-env-conf-test] put as'
1819.23 s
[opt-env-conf-test] pure $ Just []
1819.23 s
[opt-env-conf-test] else do
1819.23 s
[opt-env-conf-test] - if s e tt in g Tr y Opti on
1819.23 s
[opt-env-conf-test] + if Tr ue
1819.23 s
[opt-env-conf-test] then do
1819.23 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1819.23 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1819.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:441:20-45
1819.23 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1819.23 s
[opt-env-conf-test] put as'
1819.23 s
[opt-env-conf-test] completeWithCompleterAtEnd
1819.23 s
[opt-env-conf-test] else
1819.23 s
[opt-env-conf-test] - if isJust settingSwitchValue
1819.23 s
[opt-env-conf-test] + if n o t ( isJust settingSwitchValue )
1819.23 s
[opt-env-conf-test] then do
1819.23 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1819.23 s
[opt-env-conf-test] -- it's already been parsed.
1819.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1819.23 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1819.23 s
[opt-env-conf-test] ( \Completion {..} ->
1819.23 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1819.23 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1819.23 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1819.23 s
[opt-env-conf-test] (False, Nothing) -> val
1819.23 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1819.23 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1819.23 s
[opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
1819.23 s
[opt-env-conf-test] )
1819.23 s
[opt-env-conf-test] evaluatedCompletions
1819.23 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1819.23 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1819.24 s
[opt-env-conf-test] @@ -113,27 +113,26 @@
1819.24 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1819.24 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1819.24 s
[opt-env-conf-test] in unlines
1819.24 s
[opt-env-conf-test] - [ " function " ++ functionName,
1819.24 s
[opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
1819.24 s
[opt-env-conf-test] " # Hack around fish issue #3934",
1819.24 s
[opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1819.24 s
[opt-env-conf-test] " set -l cn (count $cn)",
1819.24 s
[opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1819.24 s
[opt-env-conf-test] " for arg in $cl",
1819.24 s
[opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
1819.24 s
[opt-env-conf-test] " end",
1819.24 s
[opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1819.24 s
[opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
1819.24 s
[opt-env-conf-test] " if test -d $val",
1819.24 s
[opt-env-conf-test] " echo -E \"$val/\"",
1819.24 s
[opt-env-conf-test] " else",
1819.24 s
[opt-env-conf-test] " echo -E \"$val\"",
1819.24 s
[opt-env-conf-test] " end",
1819.24 s
[opt-env-conf-test] " end",
1819.24 s
[opt-env-conf-test] "end",
1819.24 s
[opt-env-conf-test] "",
1819.24 s
[opt-env-conf-test] "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1819.24 s
[opt-env-conf-test] ]
1819.24 s
[opt-env-conf-test]
1819.24 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1819.24 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1819.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1819.24 s
[opt-env-conf-test] @@ -113,27 +113,7 @@
1819.24 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1819.24 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1819.24 s
[opt-env-conf-test] in unlines
1819.24 s
[opt-env-conf-test] - [ " function " ++ functionName,
1819.24 s
[opt-env-conf-test] - " set -l cl (commandline --tokenize --current-process)",
1819.24 s
[opt-env-conf-test] - " # Hack around fish issue #3934",
1819.24 s
[opt-env-conf-test] - " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1819.24 s
[opt-env-conf-test] - " set -l cn (count $cn)",
1819.24 s
[opt-env-conf-test] - " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1819.24 s
[opt-env-conf-test] - " for arg in $cl",
1819.24 s
[opt-env-conf-test] - " set tmpline $tmpline --completion-word $arg",
1819.24 s
[opt-env-conf-test] - " end",
1819.24 s
[opt-env-conf-test] - " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1819.24 s
[opt-env-conf-test] - " set -l val (string split \\t -- $opt)[1]",
1819.24 s
[opt-env-conf-test] - " if test -d $val",
1819.24 s
[opt-env-conf-test] - " echo -E \"$val/\"",
1819.24 s
[opt-env-conf-test] - " else",
1819.24 s
[opt-env-conf-test] - " echo -E \"$val\"",
1819.24 s
[opt-env-conf-test] - " end",
1819.24 s
[opt-env-conf-test] - " end",
1819.24 s
[opt-env-conf-test] - "end",
1819.24 s
[opt-env-conf-test] - "",
1819.24 s
[opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1819.24 s
[opt-env-conf-test] ]
1819.24 s
[opt-env-conf-test]
1819.24 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1819.24 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1819.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1819.24 s
[opt-env-conf-test] @@ -113,27 +113,26 @@
1819.24 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1819.24 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1819.24 s
[opt-env-conf-test] in unlines
1819.24 s
[opt-env-conf-test] [ " function " ++ functionName,
1819.24 s
[opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
1819.24 s
[opt-env-conf-test] " # Hack around fish issue #3934",
1819.24 s
[opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1819.24 s
[opt-env-conf-test] " set -l cn (count $cn)",
1819.24 s
[opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1819.24 s
[opt-env-conf-test] " for arg in $cl",
1819.24 s
[opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
1819.24 s
[opt-env-conf-test] " end",
1819.24 s
[opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1819.24 s
[opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
1819.24 s
[opt-env-conf-test] " if test -d $val",
1819.24 s
[opt-env-conf-test] " echo -E \"$val/\"",
1819.24 s
[opt-env-conf-test] " else",
1819.24 s
[opt-env-conf-test] " echo -E \"$val\"",
1819.24 s
[opt-env-conf-test] " end",
1819.24 s
[opt-env-conf-test] " end",
1819.24 s
[opt-env-conf-test] "end",
1819.24 s
[opt-env-conf-test] "",
1819.24 s
[opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1819.24 s
[opt-env-conf-test] ]
1819.24 s
[opt-env-conf-test]
1819.24 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1819.24 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1819.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1819.24 s
[opt-env-conf-test] @@ -64,46 +64,45 @@
1819.24 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1819.24 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1819.24 s
[opt-env-conf-test] unlines
1819.24 s
[opt-env-conf-test] - [ "#compdef " ++ progname,
1819.24 s
[opt-env-conf-test] "",
1819.24 s
[opt-env-conf-test] "local request",
1819.24 s
[opt-env-conf-test] "local completions",
1819.24 s
[opt-env-conf-test] "local word",
1819.24 s
[opt-env-conf-test] "local index=$((CURRENT - 1))",
1819.24 s
[opt-env-conf-test] "",
1819.24 s
[opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1819.24 s
[opt-env-conf-test] "for arg in ${words[@]}; do",
1819.24 s
[opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
1819.24 s
[opt-env-conf-test] "done",
1819.24 s
[opt-env-conf-test] "",
1819.24 s
[opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1819.24 s
[opt-env-conf-test] "",
1819.24 s
[opt-env-conf-test] "for word in $completions; do",
1819.24 s
[opt-env-conf-test] " local -a parts",
1819.24 s
[opt-env-conf-test] "",
1819.24 s
[opt-env-conf-test] " # Split the line at a tab if there is one.",
1819.24 s
[opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
1819.24 s
[opt-env-conf-test] "",
1819.24 s
[opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
1819.24 s
[opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
1819.24 s
[opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
1819.24 s
[opt-env-conf-test] " compadd -d desc -- $parts[1]",
1819.24 s
[opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
1819.24 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1819.24 s
[opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
1819.24 s
[opt-env-conf-test] " else",
1819.24 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1820.92 s
[opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
1820.92 s
[opt-env-conf-test] " fi",
1820.92 s
[opt-env-conf-test] " else",
1820.92 s
[opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
1820.92 s
[opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
1820.92 s
[opt-env-conf-test] " else",
1820.92 s
[opt-env-conf-test] " compadd -f -- $parts[1]",
1820.92 s
[opt-env-conf-test] " fi",
1820.92 s
[opt-env-conf-test] " fi",
1820.92 s
[opt-env-conf-test] "done"
1820.92 s
[opt-env-conf-test] ]
1820.92 s
[opt-env-conf-test]
1820.92 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1820.92 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1820.92 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:171:3-100
1820.92 s
[opt-env-conf-test] @@ -168,22 +168,6 @@
1820.92 s
[opt-env-conf-test] -- import System.IO
1820.92 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1820.92 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1820.92 s
[opt-env-conf-test] - if enriched
1820.92 s
[opt-env-conf-test] - then
1820.92 s
[opt-env-conf-test] - putStr $
1820.93 s
[opt-env-conf-test] - unlines $
1820.93 s
[opt-env-conf-test] - map
1820.93 s
[opt-env-conf-test] - ( \Completion {..} ->
1820.93 s
[opt-env-conf-test] - let val = completionResultValue completionSuggestion
1820.93 s
[opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1820.93 s
[opt-env-conf-test] - in case (notFinal, completionDescription) of
1820.93 s
[opt-env-conf-test] - (False, Nothing) -> val
1820.93 s
[opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
1820.93 s
[opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
1820.93 s
[opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
1820.93 s
[opt-env-conf-test] - )
1820.93 s
[opt-env-conf-test] - evaluatedCompletions
1820.93 s
[opt-env-conf-test] - else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1820.93 s
[opt-env-conf-test] pure ()
1820.93 s
[opt-env-conf-test]
1820.93 s
[opt-env-conf-test] -- Because the first arg has already been skipped we get input like this here:
1820.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1820.93 s
[opt-env-conf-test] @@ -40,22 +40,7 @@
1820.93 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1820.93 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1820.93 s
[opt-env-conf-test] in unlines
1820.93 s
[opt-env-conf-test] - [ functionName ++ "()",
1820.93 s
[opt-env-conf-test] - "{",
1820.93 s
[opt-env-conf-test] - " local CMDLINE",
1820.93 s
[opt-env-conf-test] - " local IFS=$'\\n'",
1820.93 s
[opt-env-conf-test] - " CMDLINE=(--query-opt-env-conf-completion)",
1820.93 s
[opt-env-conf-test] - " CMDLINE+=(--completion-index $COMP_CWORD)",
1820.93 s
[opt-env-conf-test] - "",
1820.93 s
[opt-env-conf-test] - " for arg in ${COMP_WORDS[@]}; do",
1820.93 s
[opt-env-conf-test] - " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1820.93 s
[opt-env-conf-test] - " done",
1820.93 s
[opt-env-conf-test] - "",
1820.93 s
[opt-env-conf-test] - " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1820.93 s
[opt-env-conf-test] - "}",
1820.93 s
[opt-env-conf-test] - "",
1820.93 s
[opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
1820.93 s
[opt-env-conf-test] ]
1820.93 s
[opt-env-conf-test]
1820.93 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1820.93 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1820.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1820.93 s
[opt-env-conf-test] @@ -64,46 +64,7 @@
1820.93 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1820.93 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1820.93 s
[opt-env-conf-test] unlines
1820.93 s
[opt-env-conf-test] - [ "#compdef " ++ progname,
1820.93 s
[opt-env-conf-test] - "",
1820.93 s
[opt-env-conf-test] - "local request",
1820.93 s
[opt-env-conf-test] - "local completions",
1820.93 s
[opt-env-conf-test] - "local word",
1820.93 s
[opt-env-conf-test] - "local index=$((CURRENT - 1))",
1820.93 s
[opt-env-conf-test] - "",
1820.93 s
[opt-env-conf-test] - "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1820.93 s
[opt-env-conf-test] - "for arg in ${words[@]}; do",
1820.93 s
[opt-env-conf-test] - " request=(${request[@]} --completion-word $arg)",
1820.93 s
[opt-env-conf-test] - "done",
1820.93 s
[opt-env-conf-test] - "",
1820.93 s
[opt-env-conf-test] - "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1820.93 s
[opt-env-conf-test] - "",
1820.93 s
[opt-env-conf-test] - "for word in $completions; do",
1820.93 s
[opt-env-conf-test] - " local -a parts",
1820.93 s
[opt-env-conf-test] - "",
1820.93 s
[opt-env-conf-test] - " # Split the line at a tab if there is one.",
1820.93 s
[opt-env-conf-test] - " IFS=$'\\t' parts=($( echo $word ))",
1820.93 s
[opt-env-conf-test] - "",
1820.93 s
[opt-env-conf-test] - " if [[ -n $parts[2] ]]; then",
1820.93 s
[opt-env-conf-test] - " if [[ $word[1] == \"-\" ]]; then",
1820.93 s
[opt-env-conf-test] - " local desc=(\"$parts[1] ($parts[2])\")",
1820.93 s
[opt-env-conf-test] - " compadd -d desc -- $parts[1]",
1820.93 s
[opt-env-conf-test] - " elif [[ $parts[3] == 'N' ]]; then",
1820.93 s
[opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1820.93 s
[opt-env-conf-test] - " compadd -f -l -S '' -d desc -- $parts[1]",
1820.93 s
[opt-env-conf-test] - " else",
1820.93 s
[opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1820.93 s
[opt-env-conf-test] - " compadd -f -l -d desc -- $parts[1]",
1820.94 s
[opt-env-conf-test] - " fi",
1820.94 s
[opt-env-conf-test] - " else",
1820.94 s
[opt-env-conf-test] - " if [[ $parts[3] == 'N' ]]; then",
1820.94 s
[opt-env-conf-test] - " compadd -f -S '' -- $parts[1]",
1820.94 s
[opt-env-conf-test] - " else",
1820.94 s
[opt-env-conf-test] - " compadd -f -- $parts[1]",
1820.94 s
[opt-env-conf-test] - " fi",
1820.94 s
[opt-env-conf-test] - " fi",
1820.94 s
[opt-env-conf-test] - "done"
1820.94 s
[opt-env-conf-test] ]
1820.94 s
[opt-env-conf-test]
1820.94 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1824.19 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1824.19 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1824.28 s
[opt-env-conf-test] @@ -64,46 +64,45 @@
1824.28 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1824.28 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1824.28 s
[opt-env-conf-test] unlines
1824.28 s
[opt-env-conf-test] [ "#compdef " ++ progname,
1824.28 s
[opt-env-conf-test] "",
1824.28 s
[opt-env-conf-test] "local request",
1824.28 s
[opt-env-conf-test] "local completions",
1824.28 s
[opt-env-conf-test] "local word",
1824.29 s
[opt-env-conf-test] "local index=$((CURRENT - 1))",
1824.29 s
[opt-env-conf-test] "",
1824.29 s
[opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1824.29 s
[opt-env-conf-test] "for arg in ${words[@]}; do",
1824.29 s
[opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
1824.29 s
[opt-env-conf-test] "done",
1824.29 s
[opt-env-conf-test] "",
1824.29 s
[opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1824.29 s
[opt-env-conf-test] "",
1824.29 s
[opt-env-conf-test] "for word in $completions; do",
1824.29 s
[opt-env-conf-test] " local -a parts",
1824.29 s
[opt-env-conf-test] "",
1824.29 s
[opt-env-conf-test] " # Split the line at a tab if there is one.",
1824.29 s
[opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
1824.29 s
[opt-env-conf-test] "",
1824.29 s
[opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
1824.29 s
[opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
1824.29 s
[opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
1824.29 s
[opt-env-conf-test] " compadd -d desc -- $parts[1]",
1824.29 s
[opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
1824.29 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1824.29 s
[opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
1824.29 s
[opt-env-conf-test] " else",
1824.29 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1824.29 s
[opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
1824.29 s
[opt-env-conf-test] " fi",
1824.29 s
[opt-env-conf-test] " else",
1824.29 s
[opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
1824.29 s
[opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
1824.29 s
[opt-env-conf-test] " else",
1824.29 s
[opt-env-conf-test] " compadd -f -- $parts[1]",
1824.29 s
[opt-env-conf-test] " fi",
1824.29 s
[opt-env-conf-test] " fi",
1824.29 s
[opt-env-conf-test] - "done"
1824.29 s
[opt-env-conf-test] ]
1824.29 s
[opt-env-conf-test]
1824.29 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1824.29 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1824.29 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1824.29 s
[opt-env-conf-test] @@ -40,22 +40,21 @@
1824.29 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1824.29 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1824.29 s
[opt-env-conf-test] in unlines
1824.29 s
[opt-env-conf-test] - [ functionName ++ "()",
1824.30 s
[opt-env-conf-test] "{",
1824.30 s
[opt-env-conf-test] " local CMDLINE",
1824.30 s
[opt-env-conf-test] " local IFS=$'\\n'",
1824.30 s
[opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
1824.30 s
[opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
1824.30 s
[opt-env-conf-test] "",
1824.30 s
[opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
1824.30 s
[opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1824.30 s
[opt-env-conf-test] " done",
1824.30 s
[opt-env-conf-test] "",
1824.30 s
[opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1824.30 s
[opt-env-conf-test] "}",
1824.30 s
[opt-env-conf-test] "",
1824.30 s
[opt-env-conf-test] "complete -o filenames -F " ++ functionName ++ " " ++ progname
1824.30 s
[opt-env-conf-test] ]
1824.30 s
[opt-env-conf-test]
1824.30 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1824.30 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1824.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
1824.30 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1824.30 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1824.30 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1824.30 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1824.30 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
1824.30 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc T r u e caps f <$> go p
1824.30 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1824.30 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1824.30 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1824.30 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1824.30 s
[opt-env-conf-test] @@ -40,22 +40,21 @@
1824.30 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1824.30 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1824.30 s
[opt-env-conf-test] in unlines
1824.30 s
[opt-env-conf-test] [ functionName ++ "()",
1824.30 s
[opt-env-conf-test] "{",
1824.30 s
[opt-env-conf-test] " local CMDLINE",
1824.30 s
[opt-env-conf-test] " local IFS=$'\\n'",
1824.30 s
[opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
1824.30 s
[opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
1824.30 s
[opt-env-conf-test] "",
1824.30 s
[opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
1824.30 s
[opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1824.30 s
[opt-env-conf-test] " done",
1824.30 s
[opt-env-conf-test] "",
1824.30 s
[opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1824.30 s
[opt-env-conf-test] "}",
1824.30 s
[opt-env-conf-test] "",
1824.30 s
[opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
1824.30 s
[opt-env-conf-test] ]
1824.30 s
[opt-env-conf-test]
1824.30 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1824.30 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1824.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
1824.30 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1824.30 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1824.30 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1824.30 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1824.30 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
1824.30 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc F a l s e caps f <$> go p
1824.30 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1824.30 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1824.30 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1824.31 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1210:64-74
1824.31 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1824.31 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1824.31 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1824.31 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1824.31 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
1824.31 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc n o t ( forgivable ) caps f <$> go p
1824.31 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1824.31 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1824.31 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1824.31 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
1824.31 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1824.31 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1824.31 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1824.31 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1824.31 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)
1824.31 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing T r u e caps f (go p)
1824.31 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1824.31 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1824.31 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1824.31 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
1824.31 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1824.31 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1824.31 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1824.31 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1824.31 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing f o rg iv a b l e caps f (go p)
1824.31 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing F a l s e caps f (go p)
1824.31 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1824.31 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1824.31 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1824.31 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1173:64-74
1824.31 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1824.31 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1828.40 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1828.41 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1828.41 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
1828.41 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing n o t ( forgivable ) caps f (go p)
1828.41 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1828.41 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1828.41 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1828.41 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:705:57-63
1828.41 s
[opt-env-conf-test] @@ -702,7 +702,7 @@
1828.41 s
[opt-env-conf-test] let (mDefault, cs) = go bs
1828.41 s
[opt-env-conf-test] in case b of
1828.41 s
[opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
1828.41 s
[opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> J u s t d , cs)
1828.41 s
[opt-env-conf-test] + CommandsBuilderDefault d -> (mDefault <|> No t h ing , cs)
1828.41 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1828.41 s
[opt-env-conf-test]
1828.41 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
1828.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
1828.41 s
[opt-env-conf-test] @@ -700,9 +700,8 @@
1828.41 s
[opt-env-conf-test] [] -> (Nothing, [])
1828.41 s
[opt-env-conf-test] (b : bs) ->
1828.41 s
[opt-env-conf-test] let (mDefault, cs) = go bs
1828.41 s
[opt-env-conf-test] in case b of
1828.41 s
[opt-env-conf-test] - CommandsBuilderCommand c -> (mDefault, c : cs)
1828.41 s
[opt-env-conf-test] CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
1828.41 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1828.41 s
[opt-env-conf-test]
1828.41 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
1828.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
1828.41 s
[opt-env-conf-test] @@ -700,9 +700,8 @@
1828.41 s
[opt-env-conf-test] [] -> (Nothing, [])
1828.41 s
[opt-env-conf-test] (b : bs) ->
1828.41 s
[opt-env-conf-test] let (mDefault, cs) = go bs
1828.41 s
[opt-env-conf-test] in case b of
1828.41 s
[opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
1828.41 s
[opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
1828.41 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1828.41 s
[opt-env-conf-test]
1828.41 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
1828.41 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:686:41-45
1828.41 s
[opt-env-conf-test] @@ -683,7 +683,7 @@
1828.41 s
[opt-env-conf-test]
1828.41 s
[opt-env-conf-test] -- | Like 'checkMapIO', but allow trying the other side of any alternative if the result is Nothing.
1828.41 s
[opt-env-conf-test] checkMapIOForgivable :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
1828.41 s
[opt-env-conf-test] - checkMapIOForgivable = ParserCheck mLoc Tr u e Set.empty
1828.41 s
[opt-env-conf-test] + checkMapIOForgivable = ParserCheck mLoc F a ls e Set.empty
1828.41 s
[opt-env-conf-test] where
1828.41 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1828.42 s
[opt-env-conf-test]
1828.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
1828.42 s
[opt-env-conf-test] @@ -671,9 +671,8 @@
1828.42 s
[opt-env-conf-test] checkMapMaybeForgivable func p =
1828.42 s
[opt-env-conf-test] withFrozenCallStack $
1828.42 s
[opt-env-conf-test] checkMapEitherForgivable
1828.42 s
[opt-env-conf-test] ( \a -> case func a of
1828.42 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
1828.42 s
[opt-env-conf-test] - Just b -> Right b
1828.42 s
[opt-env-conf-test] )
1828.42 s
[opt-env-conf-test] p
1828.42 s
[opt-env-conf-test]
1828.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
1828.42 s
[opt-env-conf-test] @@ -671,9 +671,8 @@
1828.42 s
[opt-env-conf-test] checkMapMaybeForgivable func p =
1828.42 s
[opt-env-conf-test] withFrozenCallStack $
1828.42 s
[opt-env-conf-test] checkMapEitherForgivable
1828.42 s
[opt-env-conf-test] ( \a -> case func a of
1828.42 s
[opt-env-conf-test] - Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
1828.42 s
[opt-env-conf-test] Just b -> Right b
1828.42 s
[opt-env-conf-test] )
1828.42 s
[opt-env-conf-test] p
1828.42 s
[opt-env-conf-test]
1828.42 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
1828.42 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1828.42 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1828.42 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1828.42 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1828.42 s
[opt-env-conf-test] - ParserCheck mLoc' f o r gi v a b l e (Set.insert cap caps) f p
1828.42 s
[opt-env-conf-test] + ParserCheck mLoc' T r u e (Set.insert cap caps) f p
1828.42 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1828.42 s
[opt-env-conf-test] where
1828.42 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1828.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
1828.42 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
1828.42 s
[opt-env-conf-test] checkMapMaybe func p =
1828.42 s
[opt-env-conf-test] withFrozenCallStack $
1828.42 s
[opt-env-conf-test] checkMapEither
1828.42 s
[opt-env-conf-test] ( \a -> case func a of
1828.42 s
[opt-env-conf-test] - Nothing -> Left "checkMapMaybe failed without a helpful error message"
1828.42 s
[opt-env-conf-test] Just b -> Right b
1828.42 s
[opt-env-conf-test] )
1828.42 s
[opt-env-conf-test] p
1828.42 s
[opt-env-conf-test]
1828.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
1828.42 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
1828.42 s
[opt-env-conf-test] checkMapMaybe func p =
1828.42 s
[opt-env-conf-test] withFrozenCallStack $
1828.42 s
[opt-env-conf-test] checkMapEither
1828.42 s
[opt-env-conf-test] ( \a -> case func a of
1828.42 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
1828.42 s
[opt-env-conf-test] - Just b -> Right b
1828.42 s
[opt-env-conf-test] )
1828.42 s
[opt-env-conf-test] p
1828.42 s
[opt-env-conf-test]
1828.42 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1828.42 s
[opt-env-conf-test] @@ -1016,13 +1016,7 @@
1828.42 s
[opt-env-conf-test] withFrozenCallStack $
1828.42 s
[opt-env-conf-test] choice $
1828.43 s
[opt-env-conf-test] catMaybes
1828.43 s
[opt-env-conf-test] - [ bareOption,
1828.43 s
[opt-env-conf-test] - fileOption,
1828.43 s
[opt-env-conf-test] - bareEnv,
1828.43 s
[opt-env-conf-test] - fileEnv,
1828.43 s
[opt-env-conf-test] - bareConf,
1828.43 s
[opt-env-conf-test] - fileConf
1828.43 s
[opt-env-conf-test] ]
1828.43 s
[opt-env-conf-test] where
1828.43 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1828.43 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1828.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1828.43 s
[opt-env-conf-test] @@ -1016,13 +1016,12 @@
1828.43 s
[opt-env-conf-test] withFrozenCallStack $
1828.43 s
[opt-env-conf-test] choice $
1828.43 s
[opt-env-conf-test] catMaybes
1828.43 s
[opt-env-conf-test] - [ bareOption,
1828.43 s
[opt-env-conf-test] fileOption,
1828.43 s
[opt-env-conf-test] bareEnv,
1828.43 s
[opt-env-conf-test] fileEnv,
1828.43 s
[opt-env-conf-test] bareConf,
1828.43 s
[opt-env-conf-test] fileConf
1828.43 s
[opt-env-conf-test] ]
1828.43 s
[opt-env-conf-test] where
1828.43 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1828.43 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1828.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1828.43 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1828.43 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1828.43 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1828.43 s
[opt-env-conf-test] bareSetting p f = do
1828.43 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1828.43 s
[opt-env-conf-test] guard $ p s
1828.43 s
[opt-env-conf-test] pure $
1828.43 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1828.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1828.43 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1828.43 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1828.43 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1828.43 s
[opt-env-conf-test] bareSetting p f = do
1828.43 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1828.43 s
[opt-env-conf-test] guard $ p s
1828.43 s
[opt-env-conf-test] pure $
1828.43 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1828.43 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1093:12-18
1828.43 s
[opt-env-conf-test] @@ -1090,7 +1090,7 @@
1828.43 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1828.43 s
[opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf k
1828.43 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1828.43 s
[opt-env-conf-test] - i -> J us t i
1828.43 s
[opt-env-conf-test] + i -> N o t h i ng
1828.43 s
[opt-env-conf-test] fileConf = fileSetting (isJust . settingConfigVals) $ \case
1828.43 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1828.43 s
[opt-env-conf-test] BuildTryOption -> Nothing
1828.43 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1072:12-18
1828.43 s
[opt-env-conf-test] @@ -1069,7 +1069,7 @@
1828.43 s
[opt-env-conf-test] BuildAddEnv v -> Just $ BuildAddEnv v
1828.43 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1828.43 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1828.43 s
[opt-env-conf-test] - i -> J us t i
1828.43 s
[opt-env-conf-test] + i -> N o t h i ng
1828.43 s
[opt-env-conf-test] fileEnv = fileSetting (isJust . settingEnvVars) $ \case
1828.43 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1828.43 s
[opt-env-conf-test] BuildTryOption -> Nothing
1828.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1828.43 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1828.43 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1828.43 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1828.43 s
[opt-env-conf-test] fileSetting p f = do
1828.43 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1828.44 s
[opt-env-conf-test] guard $ p s
1828.44 s
[opt-env-conf-test] pure $
1828.44 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1828.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1828.44 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1828.44 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1828.44 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1828.44 s
[opt-env-conf-test] fileSetting p f = do
1828.44 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1834.22 s
[opt-env-conf-test] guard $ p s
1834.22 s
[opt-env-conf-test] pure $
1834.22 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1834.24 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1055:12-18
1834.24 s
[opt-env-conf-test] @@ -1052,7 +1052,7 @@
1834.24 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1834.24 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1834.24 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1834.24 s
[opt-env-conf-test] - i -> J us t i
1834.24 s
[opt-env-conf-test] + i -> N o t h i ng
1834.24 s
[opt-env-conf-test] fileOption = fileSetting settingTryOption $ \case
1834.24 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1834.24 s
[opt-env-conf-test] BuildAddShort _ -> Nothing
1834.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1834.24 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1834.25 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1834.25 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1834.25 s
[opt-env-conf-test] fileSetting p f = do
1834.25 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1834.25 s
[opt-env-conf-test] guard $ p s
1834.25 s
[opt-env-conf-test] pure $
1834.25 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1834.25 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1063:12-18
1834.25 s
[opt-env-conf-test] @@ -1060,7 +1060,7 @@
1834.25 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1834.25 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1834.25 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1834.25 s
[opt-env-conf-test] - i -> J us t i
1834.25 s
[opt-env-conf-test] + i -> N o t h i ng
1834.25 s
[opt-env-conf-test] bareEnv = bareSetting (isJust . settingEnvVars) $ \case
1834.25 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1834.25 s
[opt-env-conf-test] BuildTryOption -> Nothing
1834.25 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1084:12-18
1834.25 s
[opt-env-conf-test] @@ -1081,7 +1081,7 @@
1834.25 s
[opt-env-conf-test] suffixEnvVarSetting "_FILE" e
1834.25 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1834.25 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1834.25 s
[opt-env-conf-test] - i -> J us t i
1834.25 s
[opt-env-conf-test] + i -> N o t h i ng
1834.25 s
[opt-env-conf-test] bareConf = bareSetting (isJust . settingConfigVals) $ \case
1834.25 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1834.25 s
[opt-env-conf-test] BuildTryOption -> Nothing
1834.25 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1102:12-18
1834.25 s
[opt-env-conf-test] @@ -1099,7 +1099,7 @@
1834.25 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1834.25 s
[opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf $ suffixConfigValSettingKey "-file" k
1834.25 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1834.25 s
[opt-env-conf-test] - i -> J us t i
1834.25 s
[opt-env-conf-test] + i -> N o t h i ng
1834.25 s
[opt-env-conf-test]
1834.25 s
[opt-env-conf-test] -- | Prefix all 'long's and 'short's with a given 'String'.
1834.25 s
[opt-env-conf-test] {-# ANN subArgs ("NOCOVER" :: String) #-}
1834.25 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:664:25-30
1834.25 s
[opt-env-conf-test] @@ -661,7 +661,7 @@
1834.25 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1834.25 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1834.25 s
[opt-env-conf-test] ParserCheck mLoc' forgivable (Set.insert cap caps) f p
1834.25 s
[opt-env-conf-test] - p -> ParserCheck mLoc F al s e (Set.singleton cap) (pure . Right) p
1834.25 s
[opt-env-conf-test] + p -> ParserCheck mLoc T ru e (Set.singleton cap) (pure . Right) p
1834.25 s
[opt-env-conf-test] where
1834.25 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1834.25 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1834.25 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:618:31-36
1834.25 s
[opt-env-conf-test] @@ -615,7 +615,7 @@
1834.25 s
[opt-env-conf-test]
1834.25 s
[opt-env-conf-test] -- | Check a 'Parser' after the fact, allowing IO.
1834.25 s
[opt-env-conf-test] checkMapIO :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
1834.25 s
[opt-env-conf-test] - checkMapIO = ParserCheck mLoc F al s e Set.empty
1834.25 s
[opt-env-conf-test] + checkMapIO = ParserCheck mLoc T ru e Set.empty
1834.25 s
[opt-env-conf-test] where
1834.25 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1834.25 s
[opt-env-conf-test]
1834.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1834.25 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1834.25 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1834.25 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1834.25 s
[opt-env-conf-test] bareSetting p f = do
1834.26 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1834.26 s
[opt-env-conf-test] guard $ p s
1834.26 s
[opt-env-conf-test] pure $
1834.26 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1834.26 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1834.26 s
[opt-env-conf-test] @@ -1016,13 +1016,12 @@
1834.26 s
[opt-env-conf-test] withFrozenCallStack $
1834.26 s
[opt-env-conf-test] choice $
1834.26 s
[opt-env-conf-test] catMaybes
1834.26 s
[opt-env-conf-test] [ bareOption,
1834.26 s
[opt-env-conf-test] fileOption,
1834.26 s
[opt-env-conf-test] bareEnv,
1834.26 s
[opt-env-conf-test] fileEnv,
1834.26 s
[opt-env-conf-test] bareConf,
1834.26 s
[opt-env-conf-test] - fileConf
1834.26 s
[opt-env-conf-test] ]
1834.26 s
[opt-env-conf-test] where
1834.26 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1834.26 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1834.26 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:563:72-117
1834.26 s
[opt-env-conf-test] @@ -560,7 +560,7 @@
1834.26 s
[opt-env-conf-test] ParserCommands {} -> p'
1834.26 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1834.26 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1834.26 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 ) }
1834.26 s
[opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = N o t h in g }
1834.26 s
[opt-env-conf-test] Just _ -> p
1834.26 s
[opt-env-conf-test]
1834.26 s
[opt-env-conf-test] -- | Try a list of parsers in order
1834.26 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
1834.26 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1834.26 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1834.26 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1834.26 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1834.26 s
[opt-env-conf-test] - ParserCheck mLoc' f o rg iv a b l e (Set.insert cap caps) f p
1834.26 s
[opt-env-conf-test] + ParserCheck mLoc' F a l s e (Set.insert cap caps) f p
1834.26 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1834.26 s
[opt-env-conf-test] where
1834.26 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1834.26 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:663:23-33
1834.26 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1834.26 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1834.26 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1834.26 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1834.26 s
[opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
1834.26 s
[opt-env-conf-test] + ParserCheck mLoc' n o t ( forgivable ) (Set.insert cap caps) f p
1834.26 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1834.26 s
[opt-env-conf-test] where
1834.26 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1834.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
1834.26 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1834.26 s
[opt-env-conf-test] ParserCheck {} -> p'
1834.26 s
[opt-env-conf-test] ParserCommands {} -> p'
1834.26 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1834.26 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1834.26 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1834.26 s
[opt-env-conf-test] Just _ -> p
1834.26 s
[opt-env-conf-test]
1834.26 s
[opt-env-conf-test] -- | Try a list of parsers in order
1834.26 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1834.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
1834.26 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1834.26 s
[opt-env-conf-test] ParserCheck {} -> p'
1834.26 s
[opt-env-conf-test] ParserCommands {} -> p'
1834.26 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1834.26 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1834.26 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1834.26 s
[opt-env-conf-test] - Just _ -> p
1834.26 s
[opt-env-conf-test]
1834.26 s
[opt-env-conf-test] -- | Try a list of parsers in order
1834.26 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1834.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1834.26 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1834.26 s
[opt-env-conf-test] where
1834.26 s
[opt-env-conf-test] go p =
1834.26 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1834.26 s
[opt-env-conf-test] in case p of
1834.26 s
[opt-env-conf-test] - ParserPure a -> ParserPure a
1834.26 s
[opt-env-conf-test] ParserAp {} -> p'
1834.26 s
[opt-env-conf-test] ParserSelect {} -> p'
1834.26 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1834.26 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1834.26 s
[opt-env-conf-test] ParserMany {} -> p'
1834.26 s
[opt-env-conf-test] ParserSome {} -> p'
1834.26 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1834.26 s
[opt-env-conf-test] ParserCheck {} -> p'
1834.26 s
[opt-env-conf-test] ParserCommands {} -> p'
1834.26 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1834.26 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1837.89 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1837.89 s
[opt-env-conf-test] Just _ -> p
1837.89 s
[opt-env-conf-test]
1837.90 s
[opt-env-conf-test] -- | Try a list of parsers in order
1837.90 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1837.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1837.90 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1837.90 s
[opt-env-conf-test] where
1837.90 s
[opt-env-conf-test] go p =
1837.90 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1837.90 s
[opt-env-conf-test] in case p of
1837.90 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1837.90 s
[opt-env-conf-test] - ParserAp {} -> p'
1837.90 s
[opt-env-conf-test] ParserSelect {} -> p'
1837.90 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1837.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1837.90 s
[opt-env-conf-test] ParserMany {} -> p'
1837.90 s
[opt-env-conf-test] ParserSome {} -> p'
1837.90 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1837.90 s
[opt-env-conf-test] ParserCheck {} -> p'
1837.90 s
[opt-env-conf-test] ParserCommands {} -> p'
1837.90 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1837.90 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1837.90 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1837.90 s
[opt-env-conf-test] Just _ -> p
1837.90 s
[opt-env-conf-test]
1837.90 s
[opt-env-conf-test] -- | Try a list of parsers in order
1837.90 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1837.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1837.90 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1837.90 s
[opt-env-conf-test] where
1837.90 s
[opt-env-conf-test] go p =
1837.90 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1837.90 s
[opt-env-conf-test] in case p of
1837.90 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1837.90 s
[opt-env-conf-test] ParserAp {} -> p'
1837.90 s
[opt-env-conf-test] - ParserSelect {} -> p'
1837.90 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1837.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1837.90 s
[opt-env-conf-test] ParserMany {} -> p'
1837.90 s
[opt-env-conf-test] ParserSome {} -> p'
1837.90 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1837.90 s
[opt-env-conf-test] ParserCheck {} -> p'
1837.90 s
[opt-env-conf-test] ParserCommands {} -> p'
1837.90 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1837.90 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1837.90 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1837.90 s
[opt-env-conf-test] Just _ -> p
1837.90 s
[opt-env-conf-test]
1837.90 s
[opt-env-conf-test] -- | Try a list of parsers in order
1837.90 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1837.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1837.90 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1837.90 s
[opt-env-conf-test] where
1837.90 s
[opt-env-conf-test] go p =
1837.90 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1837.90 s
[opt-env-conf-test] in case p of
1837.90 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1837.90 s
[opt-env-conf-test] ParserAp {} -> p'
1837.90 s
[opt-env-conf-test] ParserSelect {} -> p'
1837.90 s
[opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
1837.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1837.91 s
[opt-env-conf-test] ParserMany {} -> p'
1837.91 s
[opt-env-conf-test] ParserSome {} -> p'
1837.91 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1837.91 s
[opt-env-conf-test] ParserCheck {} -> p'
1837.91 s
[opt-env-conf-test] ParserCommands {} -> p'
1837.91 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1837.91 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1837.91 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1837.91 s
[opt-env-conf-test] Just _ -> p
1837.91 s
[opt-env-conf-test]
1837.91 s
[opt-env-conf-test] -- | Try a list of parsers in order
1837.91 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1837.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1837.91 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1837.91 s
[opt-env-conf-test] where
1837.91 s
[opt-env-conf-test] go p =
1837.91 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1837.91 s
[opt-env-conf-test] in case p of
1837.91 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1837.91 s
[opt-env-conf-test] ParserAp {} -> p'
1837.91 s
[opt-env-conf-test] ParserSelect {} -> p'
1837.91 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1837.91 s
[opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1837.91 s
[opt-env-conf-test] ParserMany {} -> p'
1837.91 s
[opt-env-conf-test] ParserSome {} -> p'
1837.91 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1837.91 s
[opt-env-conf-test] ParserCheck {} -> p'
1837.91 s
[opt-env-conf-test] ParserCommands {} -> p'
1837.91 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1837.91 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1837.91 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1837.91 s
[opt-env-conf-test] Just _ -> p
1837.91 s
[opt-env-conf-test]
1837.91 s
[opt-env-conf-test] -- | Try a list of parsers in order
1837.91 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1837.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1837.91 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1837.91 s
[opt-env-conf-test] where
1837.91 s
[opt-env-conf-test] go p =
1837.91 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1837.91 s
[opt-env-conf-test] in case p of
1837.91 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1837.91 s
[opt-env-conf-test] ParserAp {} -> p'
1837.91 s
[opt-env-conf-test] ParserSelect {} -> p'
1837.91 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1837.91 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1837.91 s
[opt-env-conf-test] - ParserMany {} -> p'
1837.91 s
[opt-env-conf-test] ParserSome {} -> p'
1837.91 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1837.91 s
[opt-env-conf-test] ParserCheck {} -> p'
1837.91 s
[opt-env-conf-test] ParserCommands {} -> p'
1837.91 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1837.91 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1837.91 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1837.91 s
[opt-env-conf-test] Just _ -> p
1837.91 s
[opt-env-conf-test]
1837.91 s
[opt-env-conf-test] -- | Try a list of parsers in order
1837.91 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1837.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1837.91 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1837.91 s
[opt-env-conf-test] where
1837.91 s
[opt-env-conf-test] go p =
1837.91 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1837.91 s
[opt-env-conf-test] in case p of
1837.91 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1837.91 s
[opt-env-conf-test] ParserAp {} -> p'
1837.91 s
[opt-env-conf-test] ParserSelect {} -> p'
1837.91 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1837.91 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1837.91 s
[opt-env-conf-test] ParserMany {} -> p'
1837.91 s
[opt-env-conf-test] - ParserSome {} -> p'
1837.91 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1837.91 s
[opt-env-conf-test] ParserCheck {} -> p'
1837.91 s
[opt-env-conf-test] ParserCommands {} -> p'
1837.91 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1837.91 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1837.91 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1837.91 s
[opt-env-conf-test] Just _ -> p
1837.91 s
[opt-env-conf-test]
1837.91 s
[opt-env-conf-test] -- | Try a list of parsers in order
1837.92 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1837.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1837.92 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1837.92 s
[opt-env-conf-test] where
1837.92 s
[opt-env-conf-test] go p =
1837.92 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1837.92 s
[opt-env-conf-test] in case p of
1837.92 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1837.92 s
[opt-env-conf-test] ParserAp {} -> p'
1837.92 s
[opt-env-conf-test] ParserSelect {} -> p'
1837.92 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1837.92 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1837.92 s
[opt-env-conf-test] ParserMany {} -> p'
1837.92 s
[opt-env-conf-test] ParserSome {} -> p'
1837.92 s
[opt-env-conf-test] - ParserAllOrNothing {} -> p'
1837.92 s
[opt-env-conf-test] ParserCheck {} -> p'
1837.92 s
[opt-env-conf-test] ParserCommands {} -> p'
1837.92 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1837.92 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1837.92 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1837.92 s
[opt-env-conf-test] Just _ -> p
1837.92 s
[opt-env-conf-test]
1837.92 s
[opt-env-conf-test] -- | Try a list of parsers in order
1837.92 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1837.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1837.92 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1837.92 s
[opt-env-conf-test] where
1837.92 s
[opt-env-conf-test] go p =
1837.92 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1837.92 s
[opt-env-conf-test] in case p of
1837.92 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1837.92 s
[opt-env-conf-test] ParserAp {} -> p'
1837.92 s
[opt-env-conf-test] ParserSelect {} -> p'
1837.92 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1837.92 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1837.92 s
[opt-env-conf-test] ParserMany {} -> p'
1837.92 s
[opt-env-conf-test] ParserSome {} -> p'
1837.92 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1837.92 s
[opt-env-conf-test] - ParserCheck {} -> p'
1837.92 s
[opt-env-conf-test] ParserCommands {} -> p'
1837.92 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1837.92 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1837.92 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1837.92 s
[opt-env-conf-test] Just _ -> p
1837.92 s
[opt-env-conf-test]
1837.92 s
[opt-env-conf-test] -- | Try a list of parsers in order
1837.92 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1837.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1837.92 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1837.92 s
[opt-env-conf-test] where
1837.92 s
[opt-env-conf-test] go p =
1837.92 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1837.92 s
[opt-env-conf-test] in case p of
1837.92 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1837.92 s
[opt-env-conf-test] ParserAp {} -> p'
1837.92 s
[opt-env-conf-test] ParserSelect {} -> p'
1837.92 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1837.92 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1837.92 s
[opt-env-conf-test] ParserMany {} -> p'
1837.92 s
[opt-env-conf-test] ParserSome {} -> p'
1837.92 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1837.92 s
[opt-env-conf-test] ParserCheck {} -> p'
1837.92 s
[opt-env-conf-test] ParserCommands {} -> p'
1837.92 s
[opt-env-conf-test] - ParserWithConfig {} -> p'
1841.23 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1841.23 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1841.30 s
[opt-env-conf-test] Just _ -> p
1841.30 s
[opt-env-conf-test]
1841.30 s
[opt-env-conf-test] -- | Try a list of parsers in order
1841.30 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1841.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1841.30 s
[opt-env-conf-test] @@ -547,21 +547,18 @@
1841.30 s
[opt-env-conf-test] where
1841.30 s
[opt-env-conf-test] go p =
1841.30 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1841.31 s
[opt-env-conf-test] in case p of
1841.31 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1841.31 s
[opt-env-conf-test] ParserAp {} -> p'
1841.31 s
[opt-env-conf-test] ParserSelect {} -> p'
1841.31 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1841.31 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1841.31 s
[opt-env-conf-test] ParserMany {} -> p'
1841.31 s
[opt-env-conf-test] ParserSome {} -> p'
1841.31 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1841.31 s
[opt-env-conf-test] ParserCheck {} -> p'
1841.31 s
[opt-env-conf-test] ParserCommands {} -> p'
1841.31 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1841.31 s
[opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
1841.31 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1841.31 s
[opt-env-conf-test] - Just _ -> p
1841.31 s
[opt-env-conf-test]
1841.31 s
[opt-env-conf-test] -- | Try a list of parsers in order
1841.31 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1841.31 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:877:11-26
1841.31 s
[opt-env-conf-test] @@ -874,7 +874,7 @@
1841.31 s
[opt-env-conf-test] withFrozenCallStack $
1841.31 s
[opt-env-conf-test] choice $
1841.31 s
[opt-env-conf-test] catMaybes
1841.31 s
[opt-env-conf-test] - [ J us t pars eDumm y ,
1841.31 s
[opt-env-conf-test] + [ N o t hin g ,
1841.31 s
[opt-env-conf-test] Just parseDisableSwitch,
1841.31 s
[opt-env-conf-test] Just parseEnableSwitch,
1841.31 s
[opt-env-conf-test] parseEnv,
1841.31 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:878:11-34
1841.31 s
[opt-env-conf-test] @@ -875,7 +875,7 @@
1841.31 s
[opt-env-conf-test] choice $
1841.31 s
[opt-env-conf-test] catMaybes
1841.31 s
[opt-env-conf-test] [ Just parseDummy,
1841.31 s
[opt-env-conf-test] - J u st pa rseDis ab leS wi t c h ,
1841.31 s
[opt-env-conf-test] + No t h in g ,
1841.31 s
[opt-env-conf-test] Just parseEnableSwitch,
1841.31 s
[opt-env-conf-test] parseEnv,
1841.31 s
[opt-env-conf-test] parseConfigVal,
1841.31 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:879:11-33
1841.31 s
[opt-env-conf-test] @@ -876,7 +876,7 @@
1841.31 s
[opt-env-conf-test] catMaybes
1841.31 s
[opt-env-conf-test] [ Just parseDummy,
1841.31 s
[opt-env-conf-test] Just parseDisableSwitch,
1841.31 s
[opt-env-conf-test] - J u s t parse E n a b leS wit c h ,
1841.31 s
[opt-env-conf-test] + No t h i n g ,
1841.31 s
[opt-env-conf-test] parseEnv,
1841.31 s
[opt-env-conf-test] parseConfigVal,
1841.31 s
[opt-env-conf-test] parseDefaultVal
1841.31 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1841.31 s
[opt-env-conf-test] @@ -874,13 +874,7 @@
1841.31 s
[opt-env-conf-test] withFrozenCallStack $
1841.31 s
[opt-env-conf-test] choice $
1841.31 s
[opt-env-conf-test] catMaybes
1841.31 s
[opt-env-conf-test] - [ Just parseDummy,
1841.31 s
[opt-env-conf-test] - Just parseDisableSwitch,
1841.32 s
[opt-env-conf-test] - Just parseEnableSwitch,
1841.32 s
[opt-env-conf-test] - parseEnv,
1841.32 s
[opt-env-conf-test] - parseConfigVal,
1841.32 s
[opt-env-conf-test] - parseDefaultVal
1841.32 s
[opt-env-conf-test] ]
1841.32 s
[opt-env-conf-test] where
1841.32 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1841.32 s
[opt-env-conf-test] s = buildSetting builders
1841.32 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1841.32 s
[opt-env-conf-test] @@ -874,13 +874,12 @@
1841.32 s
[opt-env-conf-test] withFrozenCallStack $
1841.32 s
[opt-env-conf-test] choice $
1841.32 s
[opt-env-conf-test] catMaybes
1841.32 s
[opt-env-conf-test] - [ Just parseDummy,
1841.32 s
[opt-env-conf-test] Just parseDisableSwitch,
1841.32 s
[opt-env-conf-test] Just parseEnableSwitch,
1841.32 s
[opt-env-conf-test] parseEnv,
1841.32 s
[opt-env-conf-test] parseConfigVal,
1841.32 s
[opt-env-conf-test] parseDefaultVal
1841.32 s
[opt-env-conf-test] ]
1841.32 s
[opt-env-conf-test] where
1841.32 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1841.32 s
[opt-env-conf-test] s = buildSetting builders
1841.32 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1841.32 s
[opt-env-conf-test] @@ -874,13 +874,12 @@
1841.32 s
[opt-env-conf-test] withFrozenCallStack $
1841.32 s
[opt-env-conf-test] choice $
1841.32 s
[opt-env-conf-test] catMaybes
1841.32 s
[opt-env-conf-test] [ Just parseDummy,
1841.32 s
[opt-env-conf-test] Just parseDisableSwitch,
1841.32 s
[opt-env-conf-test] Just parseEnableSwitch,
1841.32 s
[opt-env-conf-test] parseEnv,
1841.32 s
[opt-env-conf-test] parseConfigVal,
1841.32 s
[opt-env-conf-test] - parseDefaultVal
1841.32 s
[opt-env-conf-test] ]
1841.32 s
[opt-env-conf-test] where
1841.32 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1841.32 s
[opt-env-conf-test] s = buildSetting builders
1841.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1841.32 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1841.32 s
[opt-env-conf-test] where
1841.32 s
[opt-env-conf-test] go p =
1841.32 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1841.32 s
[opt-env-conf-test] in case p of
1841.32 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1841.32 s
[opt-env-conf-test] ParserAp {} -> p'
1841.32 s
[opt-env-conf-test] ParserSelect {} -> p'
1841.32 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1841.32 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1841.32 s
[opt-env-conf-test] ParserMany {} -> p'
1841.32 s
[opt-env-conf-test] ParserSome {} -> p'
1841.32 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1841.32 s
[opt-env-conf-test] ParserCheck {} -> p'
1841.32 s
[opt-env-conf-test] - ParserCommands {} -> p'
1841.32 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1841.33 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1841.33 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1841.33 s
[opt-env-conf-test] Just _ -> p
1841.33 s
[opt-env-conf-test]
1841.33 s
[opt-env-conf-test] -- | Try a list of parsers in order
1841.33 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1841.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
1841.33 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1841.33 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1841.33 s
[opt-env-conf-test] parseDefaultVal = do
1841.33 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1841.33 s
[opt-env-conf-test] - pure $ pure d v
1841.33 s
[opt-env-conf-test] + pure $ pure T rue
1841.33 s
[opt-env-conf-test]
1841.33 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1841.33 s
[opt-env-conf-test] parseEnableSwitch =
1841.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
1841.33 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1841.33 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1841.33 s
[opt-env-conf-test] parseDefaultVal = do
1841.33 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1841.33 s
[opt-env-conf-test] - pure $ pure d v
1841.33 s
[opt-env-conf-test] + pure $ pure F a ls e
1841.33 s
[opt-env-conf-test]
1841.33 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1841.33 s
[opt-env-conf-test] parseEnableSwitch =
1841.33 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:905:29-33
1841.33 s
[opt-env-conf-test] @@ -902,7 +902,7 @@
1841.33 s
[opt-env-conf-test] settingConfigVals = Nothing,
1841.33 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1841.33 s
[opt-env-conf-test] settingExamples = [],
1841.33 s
[opt-env-conf-test] - settingHidden = Tr u e,
1841.33 s
[opt-env-conf-test] + settingHidden = F a ls e,
1841.33 s
[opt-env-conf-test] settingMetavar = Nothing,
1841.33 s
[opt-env-conf-test] settingHelp = Nothing,
1841.33 s
[opt-env-conf-test] settingCompleter = Nothing,
1841.33 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:918:39-44
1841.33 s
[opt-env-conf-test] @@ -915,7 +915,7 @@
1841.33 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
1841.33 s
[opt-env-conf-test] settingReaders = [],
1841.33 s
[opt-env-conf-test] settingTryArgument = False,
1841.33 s
[opt-env-conf-test] - settingSwitchValue = Just F al s e,
1841.33 s
[opt-env-conf-test] + settingSwitchValue = Just T ru e,
1841.33 s
[opt-env-conf-test] settingTryOption = False,
1841.33 s
[opt-env-conf-test] settingEnvVars = Nothing,
1841.33 s
[opt-env-conf-test] settingConfigVals = Nothing,
1841.33 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:918:34-44
1841.33 s
[opt-env-conf-test] @@ -915,7 +915,7 @@
1841.33 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
1841.33 s
[opt-env-conf-test] settingReaders = [],
1841.33 s
[opt-env-conf-test] settingTryArgument = False,
1841.33 s
[opt-env-conf-test] - settingSwitchValue = J u s t F a ls e ,
1841.33 s
[opt-env-conf-test] + settingSwitchValue = N o t h in g ,
1841.33 s
[opt-env-conf-test] settingTryOption = False,
1841.33 s
[opt-env-conf-test] settingEnvVars = Nothing,
1841.33 s
[opt-env-conf-test] settingConfigVals = Nothing,
1841.33 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:919:32-37
1841.33 s
[opt-env-conf-test] @@ -916,7 +916,7 @@
1841.33 s
[opt-env-conf-test] settingReaders = [],
1841.33 s
[opt-env-conf-test] settingTryArgument = False,
1841.33 s
[opt-env-conf-test] settingSwitchValue = Just False,
1841.33 s
[opt-env-conf-test] - settingTryOption = F al s e,
1841.34 s
[opt-env-conf-test] + settingTryOption = T ru e,
1841.34 s
[opt-env-conf-test] settingEnvVars = Nothing,
1841.34 s
[opt-env-conf-test] settingConfigVals = Nothing,
1841.34 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1841.34 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:917:34-39
1841.34 s
[opt-env-conf-test] @@ -914,7 +914,7 @@
1841.34 s
[opt-env-conf-test] Setting
1841.34 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
1841.34 s
[opt-env-conf-test] settingReaders = [],
1841.34 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1841.34 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1842.68 s
[opt-env-conf-test] settingSwitchValue = Just False,
1842.69 s
[opt-env-conf-test] settingTryOption = False,
1842.69 s
[opt-env-conf-test] settingEnvVars = Nothing,
1842.69 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:924:29-33
1842.69 s
[opt-env-conf-test] @@ -921,7 +921,7 @@
1842.69 s
[opt-env-conf-test] settingConfigVals = Nothing,
1842.69 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1842.69 s
[opt-env-conf-test] settingExamples = [],
1842.69 s
[opt-env-conf-test] - settingHidden = Tr u e,
1842.69 s
[opt-env-conf-test] + settingHidden = F a ls e,
1842.69 s
[opt-env-conf-test] settingMetavar = Nothing,
1842.69 s
[opt-env-conf-test] settingHelp = Nothing,
1842.69 s
[opt-env-conf-test] settingCompleter = Nothing,
1842.69 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:899:34-43
1842.69 s
[opt-env-conf-test] @@ -896,7 +896,7 @@
1842.69 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
1842.69 s
[opt-env-conf-test] settingReaders = [],
1842.69 s
[opt-env-conf-test] settingTryArgument = False,
1842.69 s
[opt-env-conf-test] - settingSwitchValue = J u s t T ru e ,
1842.69 s
[opt-env-conf-test] + settingSwitchValue = No t hing ,
1842.69 s
[opt-env-conf-test] settingTryOption = False,
1842.69 s
[opt-env-conf-test] settingEnvVars = Nothing,
1842.69 s
[opt-env-conf-test] settingConfigVals = Nothing,
1842.69 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:939:36-41
1842.69 s
[opt-env-conf-test] @@ -936,7 +936,7 @@
1842.69 s
[opt-env-conf-test] Setting
1842.69 s
[opt-env-conf-test] { settingDasheds = [],
1842.69 s
[opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
1842.69 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1842.69 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1842.69 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1842.69 s
[opt-env-conf-test] settingTryOption = False,
1842.69 s
[opt-env-conf-test] settingEnvVars = Just ne,
1842.69 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:941:34-39
1842.69 s
[opt-env-conf-test] @@ -938,7 +938,7 @@
1842.69 s
[opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
1842.69 s
[opt-env-conf-test] settingTryArgument = False,
1842.69 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1842.69 s
[opt-env-conf-test] - settingTryOption = F al s e,
1842.69 s
[opt-env-conf-test] + settingTryOption = T ru e,
1842.69 s
[opt-env-conf-test] settingEnvVars = Just ne,
1842.69 s
[opt-env-conf-test] settingConfigVals = Nothing,
1842.69 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1842.69 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:900:32-37
1842.69 s
[opt-env-conf-test] @@ -897,7 +897,7 @@
1842.69 s
[opt-env-conf-test] settingReaders = [],
1842.69 s
[opt-env-conf-test] settingTryArgument = False,
1842.69 s
[opt-env-conf-test] settingSwitchValue = Just True,
1842.69 s
[opt-env-conf-test] - settingTryOption = F al s e,
1842.69 s
[opt-env-conf-test] + settingTryOption = T ru e,
1842.69 s
[opt-env-conf-test] settingEnvVars = Nothing,
1842.70 s
[opt-env-conf-test] settingConfigVals = Nothing,
1842.70 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1842.70 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:890:19-21
1842.70 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1842.70 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1842.70 s
[opt-env-conf-test] parseDefaultVal = do
1842.70 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1842.70 s
[opt-env-conf-test] - pure $ pure dv
1842.70 s
[opt-env-conf-test] + pure $ pure n o t ( dv )
1842.70 s
[opt-env-conf-test]
1842.70 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1842.70 s
[opt-env-conf-test] parseEnableSwitch =
1842.70 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:946:31-36
1842.70 s
[opt-env-conf-test] @@ -943,7 +943,7 @@
1842.70 s
[opt-env-conf-test] settingConfigVals = Nothing,
1842.70 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1842.70 s
[opt-env-conf-test] settingExamples = [],
1842.70 s
[opt-env-conf-test] - settingHidden = F al s e,
1842.70 s
[opt-env-conf-test] + settingHidden = T ru e,
1842.70 s
[opt-env-conf-test] settingMetavar = Just "BOOL",
1842.70 s
[opt-env-conf-test] settingHelp = settingHelp s,
1842.70 s
[opt-env-conf-test] settingCompleter = Nothing,
1842.70 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:960:36-41
1842.70 s
[opt-env-conf-test] @@ -957,7 +957,7 @@
1842.70 s
[opt-env-conf-test] Setting
1842.70 s
[opt-env-conf-test] { settingDasheds = [],
1842.70 s
[opt-env-conf-test] settingReaders = [],
1842.70 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1842.70 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1842.70 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1842.70 s
[opt-env-conf-test] settingTryOption = False,
1842.70 s
[opt-env-conf-test] settingEnvVars = Nothing,
1842.70 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:942:32-39
1842.70 s
[opt-env-conf-test] @@ -939,7 +939,7 @@
1842.70 s
[opt-env-conf-test] settingTryArgument = False,
1842.70 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1842.70 s
[opt-env-conf-test] settingTryOption = False,
1842.70 s
[opt-env-conf-test] - settingEnvVars = J us t n e ,
1842.70 s
[opt-env-conf-test] + settingEnvVars = N o t hi n g ,
1842.70 s
[opt-env-conf-test] settingConfigVals = Nothing,
1842.70 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1842.70 s
[opt-env-conf-test] settingExamples = [],
1842.70 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:947:32-43
1842.70 s
[opt-env-conf-test] @@ -944,7 +944,7 @@
1842.70 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1842.70 s
[opt-env-conf-test] settingExamples = [],
1842.70 s
[opt-env-conf-test] settingHidden = False,
1842.70 s
[opt-env-conf-test] - settingMetavar = J u s t "B OOL" ,
1842.70 s
[opt-env-conf-test] + settingMetavar = N o t hi n g ,
1842.70 s
[opt-env-conf-test] settingHelp = settingHelp s,
1842.70 s
[opt-env-conf-test] settingCompleter = Nothing,
1842.70 s
[opt-env-conf-test] settingRequiredCapabilities = Set.empty
1842.70 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:898:34-39
1842.70 s
[opt-env-conf-test] @@ -895,7 +895,7 @@
1842.70 s
[opt-env-conf-test] Setting
1842.70 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
1842.70 s
[opt-env-conf-test] settingReaders = [],
1842.70 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1842.70 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1842.70 s
[opt-env-conf-test] settingSwitchValue = Just True,
1842.70 s
[opt-env-conf-test] settingTryOption = False,
1842.70 s
[opt-env-conf-test] settingEnvVars = Nothing,
1842.70 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:899:39-43
1842.70 s
[opt-env-conf-test] @@ -896,7 +896,7 @@
1842.70 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
1842.70 s
[opt-env-conf-test] settingReaders = [],
1842.70 s
[opt-env-conf-test] settingTryArgument = False,
1842.70 s
[opt-env-conf-test] - settingSwitchValue = Just Tr u e,
1842.70 s
[opt-env-conf-test] + settingSwitchValue = Just F a ls e,
1842.70 s
[opt-env-conf-test] settingTryOption = False,
1842.70 s
[opt-env-conf-test] settingEnvVars = Nothing,
1842.70 s
[opt-env-conf-test] settingConfigVals = Nothing,
1842.70 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:967:31-36
1842.70 s
[opt-env-conf-test] @@ -964,7 +964,7 @@
1842.70 s
[opt-env-conf-test] settingConfigVals = Just ne,
1842.70 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1842.70 s
[opt-env-conf-test] settingExamples = [],
1842.70 s
[opt-env-conf-test] - settingHidden = F al s e,
1842.70 s
[opt-env-conf-test] + settingHidden = T ru e,
1842.70 s
[opt-env-conf-test] settingMetavar = Nothing,
1842.70 s
[opt-env-conf-test] settingHelp = settingHelp s,
1842.71 s
[opt-env-conf-test] settingCompleter = Nothing,
1842.71 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:979:34-39
1842.71 s
[opt-env-conf-test] @@ -976,7 +976,7 @@
1842.71 s
[opt-env-conf-test] Setting
1842.71 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
1842.71 s
[opt-env-conf-test] settingReaders = [],
1842.71 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1842.71 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1842.71 s
[opt-env-conf-test] settingSwitchValue = Just True, -- Unused
1842.71 s
[opt-env-conf-test] settingTryOption = False,
1842.71 s
[opt-env-conf-test] settingEnvVars = Nothing,
1842.71 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:962:34-39
1842.71 s
[opt-env-conf-test] @@ -959,7 +959,7 @@
1842.71 s
[opt-env-conf-test] settingReaders = [],
1842.71 s
[opt-env-conf-test] settingTryArgument = False,
1842.71 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1842.71 s
[opt-env-conf-test] - settingTryOption = F al s e,
1842.71 s
[opt-env-conf-test] + settingTryOption = T ru e,
1842.71 s
[opt-env-conf-test] settingEnvVars = Nothing,
1842.71 s
[opt-env-conf-test] settingConfigVals = Just ne,
1842.71 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1842.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1842.71 s
[opt-env-conf-test] @@ -480,10 +480,7 @@
1842.71 s
[opt-env-conf-test] withFrozenCallStack $
1842.71 s
[opt-env-conf-test] setting $
1842.71 s
[opt-env-conf-test] builders
1842.71 s
[opt-env-conf-test] - ++ [ reader str,
1842.71 s
[opt-env-conf-test] - metavar "FILE_PATH",
1842.71 s
[opt-env-conf-test] - completer filePath
1842.71 s
[opt-env-conf-test] ]
1842.71 s
[opt-env-conf-test]
1842.71 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1842.71 s
[opt-env-conf-test] --
1842.71 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:964:35-42
1842.71 s
[opt-env-conf-test] @@ -961,7 +961,7 @@
1842.71 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1842.71 s
[opt-env-conf-test] settingTryOption = False,
1842.71 s
[opt-env-conf-test] settingEnvVars = Nothing,
1842.71 s
[opt-env-conf-test] - settingConfigVals = J us t n e ,
1842.71 s
[opt-env-conf-test] + settingConfigVals = N o t hi n g ,
1842.71 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1842.71 s
[opt-env-conf-test] settingExamples = [],
1842.71 s
[opt-env-conf-test] settingHidden = False,
1842.71 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:986:29-34
1842.71 s
[opt-env-conf-test] @@ -983,7 +983,7 @@
1842.71 s
[opt-env-conf-test] settingConfigVals = Nothing,
1842.71 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1842.71 s
[opt-env-conf-test] settingExamples = [],
1842.71 s
[opt-env-conf-test] - settingHidden = F al s e,
1842.71 s
[opt-env-conf-test] + settingHidden = T ru e,
1842.71 s
[opt-env-conf-test] settingMetavar = Nothing,
1842.71 s
[opt-env-conf-test] settingHelp = settingHelp s,
1842.71 s
[opt-env-conf-test] settingCompleter = Nothing,
1842.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1842.71 s
[opt-env-conf-test] @@ -480,10 +480,9 @@
1842.71 s
[opt-env-conf-test] withFrozenCallStack $
1842.71 s
[opt-env-conf-test] setting $
1842.71 s
[opt-env-conf-test] builders
1842.71 s
[opt-env-conf-test] ++ [ reader str,
1842.71 s
[opt-env-conf-test] metavar "FILE_PATH",
1842.71 s
[opt-env-conf-test] - completer filePath
1842.71 s
[opt-env-conf-test] ]
1842.71 s
[opt-env-conf-test]
1842.71 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1842.71 s
[opt-env-conf-test] --
1842.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
1842.71 s
[opt-env-conf-test] @@ -826,7 +826,6 @@
1842.71 s
[opt-env-conf-test] long "config-file",
1842.71 s
[opt-env-conf-test] env "CONFIG_FILE",
1842.71 s
[opt-env-conf-test] help "Path to the configuration file",
1842.71 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1842.71 s
[opt-env-conf-test] ]
1842.71 s
[opt-env-conf-test]
1842.71 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1842.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
1842.71 s
[opt-env-conf-test] @@ -826,7 +826,6 @@
1842.71 s
[opt-env-conf-test] long "config-file",
1842.71 s
[opt-env-conf-test] env "CONFIG_FILE",
1842.71 s
[opt-env-conf-test] help "Path to the configuration file",
1842.71 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1842.71 s
[opt-env-conf-test] ]
1842.71 s
[opt-env-conf-test]
1842.71 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1842.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1842.71 s
[opt-env-conf-test] @@ -822,12 +822,7 @@
1842.71 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1842.71 s
[opt-env-conf-test] configuredConfigFile =
1842.71 s
[opt-env-conf-test] filePathSetting
1842.71 s
[opt-env-conf-test] - [ option,
1842.71 s
[opt-env-conf-test] - long "config-file",
1842.71 s
[opt-env-conf-test] - env "CONFIG_FILE",
1842.71 s
[opt-env-conf-test] - help "Path to the configuration file",
1842.71 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1842.71 s
[opt-env-conf-test] ]
1842.71 s
[opt-env-conf-test]
1842.71 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1842.71 s
[opt-env-conf-test] --
1842.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1842.71 s
[opt-env-conf-test] @@ -822,12 +822,11 @@
1842.71 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1842.71 s
[opt-env-conf-test] configuredConfigFile =
1842.71 s
[opt-env-conf-test] filePathSetting
1842.71 s
[opt-env-conf-test] [ option,
1842.71 s
[opt-env-conf-test] long "config-file",
1842.71 s
[opt-env-conf-test] env "CONFIG_FILE",
1842.71 s
[opt-env-conf-test] help "Path to the configuration file",
1842.71 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1842.71 s
[opt-env-conf-test] ]
1842.71 s
[opt-env-conf-test]
1842.71 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1842.71 s
[opt-env-conf-test] --
1842.71 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:981:32-37
1842.71 s
[opt-env-conf-test] @@ -978,7 +978,7 @@
1842.71 s
[opt-env-conf-test] settingReaders = [],
1842.71 s
[opt-env-conf-test] settingTryArgument = False,
1842.71 s
[opt-env-conf-test] settingSwitchValue = Just True, -- Unused
1842.71 s
[opt-env-conf-test] - settingTryOption = F al s e,
1842.71 s
[opt-env-conf-test] + settingTryOption = T ru e,
1842.71 s
[opt-env-conf-test] settingEnvVars = Nothing,
1842.71 s
[opt-env-conf-test] settingConfigVals = Nothing,
1842.71 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1842.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1842.71 s
[opt-env-conf-test] @@ -822,12 +822,11 @@
1842.71 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1842.71 s
[opt-env-conf-test] configuredConfigFile =
1842.71 s
[opt-env-conf-test] filePathSetting
1842.71 s
[opt-env-conf-test] - [ option,
1842.71 s
[opt-env-conf-test] long "config-file",
1842.71 s
[opt-env-conf-test] env "CONFIG_FILE",
1842.71 s
[opt-env-conf-test] help "Path to the configuration file",
1842.71 s
[opt-env-conf-test] completer (filePathWithExtensions [".yaml", ".yml"])
1842.71 s
[opt-env-conf-test] ]
1842.71 s
[opt-env-conf-test]
1842.71 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1842.71 s
[opt-env-conf-test] --
1842.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1842.71 s
[opt-env-conf-test] @@ -497,10 +497,7 @@
1842.71 s
[opt-env-conf-test] withFrozenCallStack $
1842.71 s
[opt-env-conf-test] setting $
1842.71 s
[opt-env-conf-test] builders
1842.71 s
[opt-env-conf-test] - ++ [ reader str,
1842.71 s
[opt-env-conf-test] - metavar "DIRECTORY_PATH",
1842.71 s
[opt-env-conf-test] - completer directoryPath
1842.71 s
[opt-env-conf-test] ]
1842.71 s
[opt-env-conf-test]
1842.71 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1842.71 s
[opt-env-conf-test] --
1842.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1842.71 s
[opt-env-conf-test] @@ -497,10 +497,9 @@
1842.71 s
[opt-env-conf-test] withFrozenCallStack $
1842.72 s
[opt-env-conf-test] setting $
1842.72 s
[opt-env-conf-test] builders
1842.72 s
[opt-env-conf-test] ++ [ reader str,
1842.72 s
[opt-env-conf-test] metavar "DIRECTORY_PATH",
1842.72 s
[opt-env-conf-test] - completer directoryPath
1842.72 s
[opt-env-conf-test] ]
1842.72 s
[opt-env-conf-test]
1842.72 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1842.72 s
[opt-env-conf-test] --
1842.72 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1842.72 s
[opt-env-conf-test] @@ -497,10 +497,9 @@
1842.72 s
[opt-env-conf-test] withFrozenCallStack $
1842.72 s
[opt-env-conf-test] setting $
1842.72 s
[opt-env-conf-test] builders
1842.72 s
[opt-env-conf-test] - ++ [ reader str,
1842.72 s
[opt-env-conf-test] metavar "DIRECTORY_PATH",
1842.72 s
[opt-env-conf-test] completer directoryPath
1842.72 s
[opt-env-conf-test] ]
1842.72 s
[opt-env-conf-test]
1842.72 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1842.72 s
[opt-env-conf-test] --
1842.72 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:774:47-68
1842.72 s
[opt-env-conf-test] @@ -771,7 +771,7 @@
1842.72 s
[opt-env-conf-test] combineMaybeObjects :: Maybe JSON.Object -> Maybe JSON.Object -> Maybe JSON.Object
1842.72 s
[opt-env-conf-test] combineMaybeObjects Nothing mo = mo
1842.72 s
[opt-env-conf-test] combineMaybeObjects mo Nothing = mo
1842.72 s
[opt-env-conf-test] - combineMaybeObjects (Just o1) (Just o2) = J u s t (comb in e r o 1 o2)
1842.72 s
[opt-env-conf-test] + combineMaybeObjects (Just o1) (Just o2) = No t h in g
1842.72 s
[opt-env-conf-test]
1842.72 s
[opt-env-conf-test] combineConfigObjects :: JSON.Object -> JSON.Object -> JSON.Object
1842.72 s
[opt-env-conf-test] combineConfigObjects = KM.unionWith combineValues
1842.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
1842.72 s
[opt-env-conf-test] @@ -785,11 +785,8 @@
1842.72 s
[opt-env-conf-test] xdgYamlConfigFile subdir =
1842.72 s
[opt-env-conf-test] mapIO
1842.72 s
[opt-env-conf-test] ( \mXdgDir -> do
1842.72 s
[opt-env-conf-test] xdgDir <- case mXdgDir of
1842.72 s
[opt-env-conf-test] Just d -> resolveDir' d
1842.72 s
[opt-env-conf-test] - Nothing -> do
1842.72 s
[opt-env-conf-test] - home <- getHomeDir
1842.72 s
[opt-env-conf-test] - resolveDir home ".config"
1842.72 s
[opt-env-conf-test] configDir <- resolveDir xdgDir subdir
1842.72 s
[opt-env-conf-test] resolveFile configDir "config.yaml"
1842.72 s
[opt-env-conf-test] )
1842.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
1842.72 s
[opt-env-conf-test] @@ -785,11 +785,10 @@
1842.72 s
[opt-env-conf-test] xdgYamlConfigFile subdir =
1842.72 s
[opt-env-conf-test] mapIO
1842.72 s
[opt-env-conf-test] ( \mXdgDir -> do
1842.72 s
[opt-env-conf-test] xdgDir <- case mXdgDir of
1842.72 s
[opt-env-conf-test] - Just d -> resolveDir' d
1842.72 s
[opt-env-conf-test] Nothing -> do
1842.72 s
[opt-env-conf-test] home <- getHomeDir
1842.72 s
[opt-env-conf-test] resolveDir home ".config"
1842.72 s
[opt-env-conf-test] configDir <- resolveDir xdgDir subdir
1842.72 s
[opt-env-conf-test] resolveFile configDir "config.yaml"
1842.72 s
[opt-env-conf-test] )
1842.72 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1842.72 s
[opt-env-conf-test] @@ -796,12 +796,7 @@
1842.72 s
[opt-env-conf-test] $ optional
1842.72 s
[opt-env-conf-test] $ withFrozenCallStack
1842.72 s
[opt-env-conf-test] $ setting
1842.72 s
[opt-env-conf-test] - [ help "Path to the XDG configuration directory",
1842.72 s
[opt-env-conf-test] - reader str,
1842.72 s
[opt-env-conf-test] - env "XDG_CONFIG_HOME",
1842.72 s
[opt-env-conf-test] - metavar "DIRECTORY",
1842.72 s
[opt-env-conf-test] - hidden
1842.72 s
[opt-env-conf-test] ]
1842.72 s
[opt-env-conf-test]
1842.72 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1842.72 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1842.72 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1842.72 s
[opt-env-conf-test] @@ -796,12 +796,11 @@
1842.72 s
[opt-env-conf-test] $ optional
1842.72 s
[opt-env-conf-test] $ withFrozenCallStack
1842.72 s
[opt-env-conf-test] $ setting
1842.72 s
[opt-env-conf-test] - [ help "Path to the XDG configuration directory",
1842.72 s
[opt-env-conf-test] reader str,
1842.72 s
[opt-env-conf-test] env "XDG_CONFIG_HOME",
1842.72 s
[opt-env-conf-test] metavar "DIRECTORY",
1842.72 s
[opt-env-conf-test] hidden
1842.72 s
[opt-env-conf-test] ]
1842.72 s
[opt-env-conf-test]
1842.72 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1842.72 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1842.72 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1842.72 s
[opt-env-conf-test] @@ -796,12 +796,11 @@
1842.72 s
[opt-env-conf-test] $ optional
1842.72 s
[opt-env-conf-test] $ withFrozenCallStack
1842.72 s
[opt-env-conf-test] $ setting
1842.72 s
[opt-env-conf-test] [ help "Path to the XDG configuration directory",
1842.72 s
[opt-env-conf-test] reader str,
1842.72 s
[opt-env-conf-test] env "XDG_CONFIG_HOME",
1842.72 s
[opt-env-conf-test] metavar "DIRECTORY",
1842.72 s
[opt-env-conf-test] - hidden
1842.72 s
[opt-env-conf-test] ]
1842.72 s
[opt-env-conf-test]
1847.12 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1847.21 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1847.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1847.21 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1847.21 s
[opt-env-conf-test] where
1847.21 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1847.21 s
[opt-env-conf-test] go d = \case
1847.21 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0) $ showString "Pure _"
1847.21 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
1847.21 s
[opt-env-conf-test] ParserAp pf pa ->
1847.21 s
[opt-env-conf-test] showParen (d > 10) $
1847.21 s
[opt-env-conf-test] showString "Ap "
1847.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1847.21 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1847.21 s
[opt-env-conf-test] where
1847.21 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1847.21 s
[opt-env-conf-test] go d = \case
1847.21 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0 ) $ showString "Pure _"
1847.21 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 1 ) $ showString "Pure _"
1847.22 s
[opt-env-conf-test] ParserAp pf pa ->
1847.22 s
[opt-env-conf-test] showParen (d > 10) $
1847.22 s
[opt-env-conf-test] showString "Ap "
1847.22 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
1847.22 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1847.22 s
[opt-env-conf-test] where
1847.22 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1847.22 s
[opt-env-conf-test] go d = \case
1847.22 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1847.22 s
[opt-env-conf-test] + ParserPure _ -> showParen (d < = 10) $ showString "Pure _"
1847.22 s
[opt-env-conf-test] ParserAp pf pa ->
1847.22 s
[opt-env-conf-test] showParen (d > 10) $
1847.22 s
[opt-env-conf-test] showString "Ap "
1847.22 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
1847.22 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1847.22 s
[opt-env-conf-test] where
1847.22 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1847.22 s
[opt-env-conf-test] go d = \case
1847.22 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1847.22 s
[opt-env-conf-test] + ParserPure _ -> showParen (d < 10) $ showString "Pure _"
1847.22 s
[opt-env-conf-test] ParserAp pf pa ->
1847.22 s
[opt-env-conf-test] showParen (d > 10) $
1847.22 s
[opt-env-conf-test] showString "Ap "
1847.22 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:980:39-43
1847.22 s
[opt-env-conf-test] @@ -977,7 +977,7 @@
1847.22 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
1847.22 s
[opt-env-conf-test] settingReaders = [],
1847.22 s
[opt-env-conf-test] settingTryArgument = False,
1847.22 s
[opt-env-conf-test] - settingSwitchValue = Just Tr u e, -- Unused
1847.22 s
[opt-env-conf-test] + settingSwitchValue = Just F a ls e, -- Unused
1847.22 s
[opt-env-conf-test] settingTryOption = False,
1847.22 s
[opt-env-conf-test] settingEnvVars = Nothing,
1847.22 s
[opt-env-conf-test] settingConfigVals = Nothing,
1847.22 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:980:34-43
1847.22 s
[opt-env-conf-test] @@ -977,7 +977,7 @@
1847.22 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
1847.22 s
[opt-env-conf-test] settingReaders = [],
1847.22 s
[opt-env-conf-test] settingTryArgument = False,
1847.22 s
[opt-env-conf-test] - settingSwitchValue = J u s t T ru e , -- Unused
1847.22 s
[opt-env-conf-test] + settingSwitchValue = No t hing , -- Unused
1847.22 s
[opt-env-conf-test] settingTryOption = False,
1847.22 s
[opt-env-conf-test] settingEnvVars = Nothing,
1847.22 s
[opt-env-conf-test] settingConfigVals = Nothing,
1847.22 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1847.22 s
[opt-env-conf-test] @@ -480,10 +480,9 @@
1847.22 s
[opt-env-conf-test] withFrozenCallStack $
1847.22 s
[opt-env-conf-test] setting $
1847.23 s
[opt-env-conf-test] builders
1847.23 s
[opt-env-conf-test] - ++ [ reader str,
1847.23 s
[opt-env-conf-test] metavar "FILE_PATH",
1847.23 s
[opt-env-conf-test] completer filePath
1847.23 s
[opt-env-conf-test] ]
1847.23 s
[opt-env-conf-test]
1847.23 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1847.23 s
[opt-env-conf-test] --
1847.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:34-40
1847.23 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1847.23 s
[opt-env-conf-test] where
1847.23 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1847.23 s
[opt-env-conf-test] go d = \case
1847.23 s
[opt-env-conf-test] - ParserPure _ -> showPare n (d > 10) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] + ParserPure _ -> showPare n ( n ot (d > 10) ) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] ParserAp pf pa ->
1847.23 s
[opt-env-conf-test] showParen (d > 10) $
1847.23 s
[opt-env-conf-test] showString "Ap "
1847.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:33-41
1847.23 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1847.23 s
[opt-env-conf-test] where
1847.23 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1847.23 s
[opt-env-conf-test] go d = \case
1847.23 s
[opt-env-conf-test] - ParserPure _ -> showPare n ( d > 10) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] + ParserPure _ -> showPare n n o t ( ( d > 10) ) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] ParserAp pf pa ->
1847.23 s
[opt-env-conf-test] showParen (d > 10) $
1847.23 s
[opt-env-conf-test] showString "Ap "
1847.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
1847.23 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1847.23 s
[opt-env-conf-test] where
1847.23 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1847.23 s
[opt-env-conf-test] go d = \case
1847.23 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] + ParserPure _ -> showParen ( Tru e ) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] ParserAp pf pa ->
1847.23 s
[opt-env-conf-test] showParen (d > 10) $
1847.23 s
[opt-env-conf-test] showString "Ap "
1847.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
1847.23 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1847.23 s
[opt-env-conf-test] where
1847.23 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1847.23 s
[opt-env-conf-test] go d = \case
1847.23 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] + ParserPure _ -> showParen F a ls e $ showString "Pure _"
1847.23 s
[opt-env-conf-test] ParserAp pf pa ->
1847.23 s
[opt-env-conf-test] showParen (d > 10) $
1847.23 s
[opt-env-conf-test] showString "Ap "
1847.23 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1847.23 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1847.23 s
[opt-env-conf-test] go d = \case
1847.23 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] ParserAp pf pa ->
1847.23 s
[opt-env-conf-test] - showParen (d > 10) $
1847.23 s
[opt-env-conf-test] + showParen (d > - 10) $
1847.23 s
[opt-env-conf-test] showString "Ap "
1847.23 s
[opt-env-conf-test] . go 11 pf
1847.23 s
[opt-env-conf-test] . showString " "
1847.23 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
1847.23 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1847.23 s
[opt-env-conf-test] go d = \case
1847.23 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] ParserAp pf pa ->
1847.23 s
[opt-env-conf-test] - showParen (d > 10) $
1847.23 s
[opt-env-conf-test] + showParen (d < 10) $
1847.23 s
[opt-env-conf-test] showString "Ap "
1847.23 s
[opt-env-conf-test] . go 11 pf
1847.23 s
[opt-env-conf-test] . showString " "
1847.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
1847.23 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1847.23 s
[opt-env-conf-test] where
1847.23 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1847.23 s
[opt-env-conf-test] go d = \case
1847.23 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] + ParserPure _ -> showParen ( F a lse ) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] ParserAp pf pa ->
1847.23 s
[opt-env-conf-test] showParen (d > 10) $
1847.23 s
[opt-env-conf-test] showString "Ap "
1847.23 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
1847.23 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1847.23 s
[opt-env-conf-test] go d = \case
1847.23 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] ParserAp pf pa ->
1847.23 s
[opt-env-conf-test] - showParen (d > 10) $
1847.23 s
[opt-env-conf-test] + showParen (d > = 10) $
1847.23 s
[opt-env-conf-test] showString "Ap "
1847.23 s
[opt-env-conf-test] . go 11 pf
1847.23 s
[opt-env-conf-test] . showString " "
1847.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:20-26
1847.23 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1847.23 s
[opt-env-conf-test] go d = \case
1847.23 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1847.23 s
[opt-env-conf-test] ParserAp pf pa ->
1847.23 s
[opt-env-conf-test] - showPare n (d > 10) $
1847.24 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1847.24 s
[opt-env-conf-test] showString "Ap "
1847.24 s
[opt-env-conf-test] . go 11 pf
1847.24 s
[opt-env-conf-test] . showString " "
1847.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
1847.24 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1847.24 s
[opt-env-conf-test] go d = \case
1847.24 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1847.24 s
[opt-env-conf-test] ParserAp pf pa ->
1847.24 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1847.24 s
[opt-env-conf-test] + showParen F a ls e $
1847.24 s
[opt-env-conf-test] showString "Ap "
1847.24 s
[opt-env-conf-test] . go 11 pf
1847.24 s
[opt-env-conf-test] . showString " "
1847.24 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:19-27
1847.24 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1847.24 s
[opt-env-conf-test] go d = \case
1847.24 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1847.24 s
[opt-env-conf-test] ParserAp pf pa ->
1847.24 s
[opt-env-conf-test] - showPare n ( d > 10) $
1850.84 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1850.84 s
[opt-env-conf-test] showString "Ap "
1850.84 s
[opt-env-conf-test] . go 11 pf
1850.84 s
[opt-env-conf-test] . showString " "
1850.84 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1850.84 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1850.84 s
[opt-env-conf-test] ParserAp pf pa ->
1850.84 s
[opt-env-conf-test] showParen (d > 10) $
1850.84 s
[opt-env-conf-test] showString "Ap "
1850.85 s
[opt-env-conf-test] - . go 1 1 pf
1850.85 s
[opt-env-conf-test] + . go 1 pf
1850.85 s
[opt-env-conf-test] . showString " "
1850.85 s
[opt-env-conf-test] . go 11 pa
1850.85 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
1850.85 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1850.85 s
[opt-env-conf-test] go d = \case
1850.85 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1850.85 s
[opt-env-conf-test] ParserAp pf pa ->
1850.85 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1850.85 s
[opt-env-conf-test] + showParen ( Tru e ) $
1850.85 s
[opt-env-conf-test] showString "Ap "
1850.85 s
[opt-env-conf-test] . go 11 pf
1850.85 s
[opt-env-conf-test] . showString " "
1850.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
1850.85 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1850.85 s
[opt-env-conf-test] where
1850.85 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1850.85 s
[opt-env-conf-test] go d = \case
1850.85 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
1850.85 s
[opt-env-conf-test] + ParserPure _ -> showParen T ru e $ showString "Pure _"
1850.85 s
[opt-env-conf-test] ParserAp pf pa ->
1850.85 s
[opt-env-conf-test] showParen (d > 10) $
1850.85 s
[opt-env-conf-test] showString "Ap "
1850.85 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1850.85 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1850.85 s
[opt-env-conf-test] go d = \case
1850.85 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1850.85 s
[opt-env-conf-test] ParserAp pf pa ->
1850.85 s
[opt-env-conf-test] - showParen (d > 1 0) $
1850.85 s
[opt-env-conf-test] + showParen (d > 0) $
1850.85 s
[opt-env-conf-test] showString "Ap "
1850.85 s
[opt-env-conf-test] . go 11 pf
1850.85 s
[opt-env-conf-test] . showString " "
1850.85 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1850.85 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1850.85 s
[opt-env-conf-test] go d = \case
1850.85 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1850.85 s
[opt-env-conf-test] ParserAp pf pa ->
1850.85 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1850.85 s
[opt-env-conf-test] + showParen (d > 1 ) $
1850.85 s
[opt-env-conf-test] showString "Ap "
1850.85 s
[opt-env-conf-test] . go 11 pf
1850.85 s
[opt-env-conf-test] . showString " "
1850.85 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
1850.85 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1850.85 s
[opt-env-conf-test] go d = \case
1850.85 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1850.85 s
[opt-env-conf-test] ParserAp pf pa ->
1850.85 s
[opt-env-conf-test] - showParen (d > 10) $
1850.85 s
[opt-env-conf-test] + showParen (d < = 10) $
1850.85 s
[opt-env-conf-test] showString "Ap "
1850.85 s
[opt-env-conf-test] . go 11 pf
1850.85 s
[opt-env-conf-test] . showString " "
1850.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
1850.85 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1850.85 s
[opt-env-conf-test] go d = \case
1850.85 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1850.85 s
[opt-env-conf-test] ParserAp pf pa ->
1850.85 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1850.85 s
[opt-env-conf-test] + showParen ( F a lse ) $
1850.85 s
[opt-env-conf-test] showString "Ap "
1850.85 s
[opt-env-conf-test] . go 11 pf
1850.85 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1850.86 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1850.86 s
[opt-env-conf-test] ParserAp pf pa ->
1850.86 s
[opt-env-conf-test] showParen (d > 10) $
1850.86 s
[opt-env-conf-test] showString "Ap "
1850.86 s
[opt-env-conf-test] - . go 1 1 pf
1850.86 s
[opt-env-conf-test] + . go 0 pf
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] . go 11 pa
1850.86 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1850.86 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1850.86 s
[opt-env-conf-test] where
1850.86 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1850.86 s
[opt-env-conf-test] go d = \case
1850.86 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1850.86 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > - 10) $ showString "Pure _"
1850.86 s
[opt-env-conf-test] ParserAp pf pa ->
1850.86 s
[opt-env-conf-test] showParen (d > 10) $
1850.86 s
[opt-env-conf-test] showString "Ap "
1850.86 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
1850.86 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1850.86 s
[opt-env-conf-test] where
1850.86 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1850.86 s
[opt-env-conf-test] go d = \case
1850.86 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1850.86 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > = 10) $ showString "Pure _"
1850.86 s
[opt-env-conf-test] ParserAp pf pa ->
1850.86 s
[opt-env-conf-test] showParen (d > 10) $
1850.86 s
[opt-env-conf-test] showString "Ap "
1850.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1850.86 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1850.86 s
[opt-env-conf-test] ParserAp pf pa ->
1850.86 s
[opt-env-conf-test] showParen (d > 10) $
1850.86 s
[opt-env-conf-test] showString "Ap "
1850.86 s
[opt-env-conf-test] - . go 11 pf
1850.86 s
[opt-env-conf-test] + . go - 11 pf
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] . go 11 pa
1850.86 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1850.86 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1850.86 s
[opt-env-conf-test] showString "Ap "
1850.86 s
[opt-env-conf-test] . go 11 pf
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] - . go 1 1 pa
1850.86 s
[opt-env-conf-test] + . go 1 pa
1850.86 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.86 s
[opt-env-conf-test] showParen (d > 10) $
1850.86 s
[opt-env-conf-test] showString "Select "
1850.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1850.86 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1850.86 s
[opt-env-conf-test] showString "Ap "
1850.86 s
[opt-env-conf-test] . go 11 pf
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] - . go 1 1 pa
1850.86 s
[opt-env-conf-test] + . go 0 pa
1850.86 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.86 s
[opt-env-conf-test] showParen (d > 10) $
1850.86 s
[opt-env-conf-test] showString "Select "
1850.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1850.86 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1850.86 s
[opt-env-conf-test] showString "Ap "
1850.86 s
[opt-env-conf-test] . go 11 pf
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] - . go 11 pa
1850.86 s
[opt-env-conf-test] + . go - 11 pa
1850.86 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.86 s
[opt-env-conf-test] showParen (d > 10) $
1850.86 s
[opt-env-conf-test] showString "Select "
1850.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1850.86 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] . go 11 pa
1850.86 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.86 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1850.86 s
[opt-env-conf-test] + showParen (d > 1 ) $
1850.86 s
[opt-env-conf-test] showString "Select "
1850.86 s
[opt-env-conf-test] . go 11 pe
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1850.86 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] . go 11 pa
1850.86 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.86 s
[opt-env-conf-test] - showParen (d > 10) $
1850.86 s
[opt-env-conf-test] + showParen (d > - 10) $
1850.86 s
[opt-env-conf-test] showString "Select "
1850.86 s
[opt-env-conf-test] . go 11 pe
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1850.86 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] . go 11 pa
1850.86 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.86 s
[opt-env-conf-test] - showParen (d > 1 0) $
1850.86 s
[opt-env-conf-test] + showParen (d > 0) $
1850.86 s
[opt-env-conf-test] showString "Select "
1850.86 s
[opt-env-conf-test] . go 11 pe
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
1850.86 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] . go 11 pa
1850.86 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.86 s
[opt-env-conf-test] - showParen (d > 10) $
1850.86 s
[opt-env-conf-test] + showParen (d < = 10) $
1850.86 s
[opt-env-conf-test] showString "Select "
1850.86 s
[opt-env-conf-test] . go 11 pe
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
1850.86 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] . go 11 pa
1850.86 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.86 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1850.86 s
[opt-env-conf-test] + showParen ( Tru e ) $
1850.86 s
[opt-env-conf-test] showString "Select "
1850.86 s
[opt-env-conf-test] . go 11 pe
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:20-26
1850.86 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1850.86 s
[opt-env-conf-test] . showString " "
1850.86 s
[opt-env-conf-test] . go 11 pa
1850.86 s
[opt-env-conf-test] ParserSelect pe pf ->
1850.86 s
[opt-env-conf-test] - showPare n (d > 10) $
1850.86 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1850.86 s
[opt-env-conf-test] showString "Select "
1850.86 s
[opt-env-conf-test] . go 11 pe
1851.68 s
[opt-env-conf-test] . showString " "
1851.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
1851.68 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1851.68 s
[opt-env-conf-test] . showString " "
1851.68 s
[opt-env-conf-test] . go 11 pa
1851.68 s
[opt-env-conf-test] ParserSelect pe pf ->
1851.68 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1851.68 s
[opt-env-conf-test] + showParen ( F a lse ) $
1851.68 s
[opt-env-conf-test] showString "Select "
1851.68 s
[opt-env-conf-test] . go 11 pe
1851.68 s
[opt-env-conf-test] . showString " "
1851.68 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
1851.68 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1851.68 s
[opt-env-conf-test] . showString " "
1851.68 s
[opt-env-conf-test] . go 11 pa
1851.68 s
[opt-env-conf-test] ParserSelect pe pf ->
1851.68 s
[opt-env-conf-test] - showParen (d > 10) $
1851.68 s
[opt-env-conf-test] + showParen (d > = 10) $
1851.68 s
[opt-env-conf-test] showString "Select "
1851.68 s
[opt-env-conf-test] . go 11 pe
1851.68 s
[opt-env-conf-test] . showString " "
1851.68 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
1851.68 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1851.68 s
[opt-env-conf-test] . showString " "
1851.68 s
[opt-env-conf-test] . go 11 pa
1851.68 s
[opt-env-conf-test] ParserSelect pe pf ->
1851.68 s
[opt-env-conf-test] - showParen (d > 10) $
1851.69 s
[opt-env-conf-test] + showParen (d < 10) $
1851.69 s
[opt-env-conf-test] showString "Select "
1851.69 s
[opt-env-conf-test] . go 11 pe
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1851.69 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1851.69 s
[opt-env-conf-test] ParserSelect pe pf ->
1851.69 s
[opt-env-conf-test] showParen (d > 10) $
1851.69 s
[opt-env-conf-test] showString "Select "
1851.69 s
[opt-env-conf-test] - . go 1 1 pe
1851.69 s
[opt-env-conf-test] + . go 0 pe
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] . go 11 pf
1851.69 s
[opt-env-conf-test] ParserEmpty mLoc ->
1851.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1851.69 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1851.69 s
[opt-env-conf-test] ParserSelect pe pf ->
1851.69 s
[opt-env-conf-test] showParen (d > 10) $
1851.69 s
[opt-env-conf-test] showString "Select "
1851.69 s
[opt-env-conf-test] - . go 1 1 pe
1851.69 s
[opt-env-conf-test] + . go 1 pe
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] . go 11 pf
1851.69 s
[opt-env-conf-test] ParserEmpty mLoc ->
1851.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1851.69 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1851.69 s
[opt-env-conf-test] ParserSelect pe pf ->
1851.69 s
[opt-env-conf-test] showParen (d > 10) $
1851.69 s
[opt-env-conf-test] showString "Select "
1851.69 s
[opt-env-conf-test] - . go 11 pe
1851.69 s
[opt-env-conf-test] + . go - 11 pe
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] . go 11 pf
1851.69 s
[opt-env-conf-test] ParserEmpty mLoc ->
1851.69 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:19-27
1851.69 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] . go 11 pa
1851.69 s
[opt-env-conf-test] ParserSelect pe pf ->
1851.69 s
[opt-env-conf-test] - showPare n ( d > 10) $
1851.69 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1851.69 s
[opt-env-conf-test] showString "Select "
1851.69 s
[opt-env-conf-test] . go 11 pe
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
1851.69 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1851.69 s
[opt-env-conf-test] go d = \case
1851.69 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1851.69 s
[opt-env-conf-test] ParserAp pf pa ->
1851.69 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1851.69 s
[opt-env-conf-test] + showParen T ru e $
1851.69 s
[opt-env-conf-test] showString "Ap "
1851.69 s
[opt-env-conf-test] . go 11 pf
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1851.69 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1851.69 s
[opt-env-conf-test] showString "Select "
1851.69 s
[opt-env-conf-test] . go 11 pe
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] - . go 1 1 pf
1851.69 s
[opt-env-conf-test] + . go 1 pf
1851.69 s
[opt-env-conf-test] ParserEmpty mLoc ->
1851.69 s
[opt-env-conf-test] showString "Empty "
1851.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1851.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1851.69 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1851.69 s
[opt-env-conf-test] showString "Select "
1851.69 s
[opt-env-conf-test] . go 11 pe
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] - . go 11 pf
1851.69 s
[opt-env-conf-test] + . go - 11 pf
1851.69 s
[opt-env-conf-test] ParserEmpty mLoc ->
1851.69 s
[opt-env-conf-test] showString "Empty "
1851.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1851.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1851.69 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1851.69 s
[opt-env-conf-test] . go 11 pf
1851.69 s
[opt-env-conf-test] ParserEmpty mLoc ->
1851.69 s
[opt-env-conf-test] showString "Empty "
1851.69 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1851.69 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1851.69 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1851.69 s
[opt-env-conf-test] showParen (d > 10) $
1851.69 s
[opt-env-conf-test] showString "Alt "
1851.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1851.69 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1851.69 s
[opt-env-conf-test] . go 11 pf
1851.69 s
[opt-env-conf-test] ParserEmpty mLoc ->
1851.69 s
[opt-env-conf-test] showString "Empty "
1851.69 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1851.69 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1851.69 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1851.69 s
[opt-env-conf-test] showParen (d > 10) $
1851.69 s
[opt-env-conf-test] showString "Alt "
1851.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1851.69 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1851.69 s
[opt-env-conf-test] showString "Empty "
1851.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1851.69 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1851.69 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1851.69 s
[opt-env-conf-test] + showParen (d > 1 ) $
1851.69 s
[opt-env-conf-test] showString "Alt "
1851.69 s
[opt-env-conf-test] . go 11 p1
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1851.69 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1851.69 s
[opt-env-conf-test] . go 11 pf
1851.69 s
[opt-env-conf-test] ParserEmpty mLoc ->
1851.69 s
[opt-env-conf-test] showString "Empty "
1851.69 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1851.69 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1851.69 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1851.69 s
[opt-env-conf-test] showParen (d > 10) $
1851.69 s
[opt-env-conf-test] showString "Alt "
1851.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1851.69 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1851.69 s
[opt-env-conf-test] showString "Select "
1851.69 s
[opt-env-conf-test] . go 11 pe
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] - . go 1 1 pf
1851.69 s
[opt-env-conf-test] + . go 0 pf
1851.69 s
[opt-env-conf-test] ParserEmpty mLoc ->
1851.69 s
[opt-env-conf-test] showString "Empty "
1851.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1851.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1851.69 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1851.69 s
[opt-env-conf-test] showString "Empty "
1851.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1851.69 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1851.69 s
[opt-env-conf-test] - showParen (d > 1 0) $
1851.69 s
[opt-env-conf-test] + showParen (d > 0) $
1851.69 s
[opt-env-conf-test] showString "Alt "
1851.69 s
[opt-env-conf-test] . go 11 p1
1851.69 s
[opt-env-conf-test] . showString " "
1851.69 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
1851.69 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1851.69 s
[opt-env-conf-test] showString "Empty "
1851.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1851.69 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1851.69 s
[opt-env-conf-test] - showParen (d > 10) $
1851.69 s
[opt-env-conf-test] + showParen (d < 10) $
1851.69 s
[opt-env-conf-test] showString "Alt "
1851.70 s
[opt-env-conf-test] . go 11 p1
1851.70 s
[opt-env-conf-test] . showString " "
1851.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
1851.70 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1851.70 s
[opt-env-conf-test] showString "Empty "
1851.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1851.70 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1851.70 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1851.70 s
[opt-env-conf-test] + showParen ( Tru e ) $
1851.70 s
[opt-env-conf-test] showString "Alt "
1851.70 s
[opt-env-conf-test] . go 11 p1
1851.70 s
[opt-env-conf-test] . showString " "
1851.70 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
1851.70 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1851.70 s
[opt-env-conf-test] showString "Empty "
1851.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1851.70 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1851.70 s
[opt-env-conf-test] - showParen (d > 10) $
1851.70 s
[opt-env-conf-test] + showParen (d > = 10) $
1851.70 s
[opt-env-conf-test] showString "Alt "
1851.70 s
[opt-env-conf-test] . go 11 p1
1851.70 s
[opt-env-conf-test] . showString " "
1851.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
1851.70 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1851.70 s
[opt-env-conf-test] . showString " "
1851.70 s
[opt-env-conf-test] . go 11 pa
1851.70 s
[opt-env-conf-test] ParserSelect pe pf ->
1851.70 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1851.70 s
[opt-env-conf-test] + showParen F a ls e $
1851.70 s
[opt-env-conf-test] showString "Select "
1851.70 s
[opt-env-conf-test] . go 11 pe
1851.70 s
[opt-env-conf-test] . showString " "
1851.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
1851.70 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1851.70 s
[opt-env-conf-test] . showString " "
1851.70 s
[opt-env-conf-test] . go 11 pa
1851.70 s
[opt-env-conf-test] ParserSelect pe pf ->
1859.42 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1859.45 s
[opt-env-conf-test] + showParen T ru e $
1859.45 s
[opt-env-conf-test] showString "Select "
1859.45 s
[opt-env-conf-test] . go 11 pe
1859.45 s
[opt-env-conf-test] . showString " "
1859.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
1859.45 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1859.45 s
[opt-env-conf-test] showString "Empty "
1859.45 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.45 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1859.45 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1859.45 s
[opt-env-conf-test] + showParen T ru e $
1859.45 s
[opt-env-conf-test] showString "Alt "
1859.45 s
[opt-env-conf-test] . go 11 p1
1859.45 s
[opt-env-conf-test] . showString " "
1859.45 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1859.45 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1859.45 s
[opt-env-conf-test] showString "Empty "
1859.45 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.45 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1859.45 s
[opt-env-conf-test] - showParen (d > 10) $
1859.45 s
[opt-env-conf-test] + showParen (d > - 10) $
1859.45 s
[opt-env-conf-test] showString "Alt "
1859.45 s
[opt-env-conf-test] . go 11 p1
1859.45 s
[opt-env-conf-test] . showString " "
1859.45 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:19-27
1859.45 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1859.45 s
[opt-env-conf-test] showString "Empty "
1859.45 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.45 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1859.45 s
[opt-env-conf-test] - showPare n ( d > 10) $
1859.45 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1859.45 s
[opt-env-conf-test] showString "Alt "
1859.45 s
[opt-env-conf-test] . go 11 p1
1859.46 s
[opt-env-conf-test] . showString " "
1859.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1859.46 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1859.46 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1859.46 s
[opt-env-conf-test] showParen (d > 10) $
1859.46 s
[opt-env-conf-test] showString "Alt "
1859.46 s
[opt-env-conf-test] - . go 1 1 p1
1859.46 s
[opt-env-conf-test] + . go 0 p1
1859.46 s
[opt-env-conf-test] . showString " "
1859.46 s
[opt-env-conf-test] . go 11 p2
1859.46 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1859.46 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1859.46 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1859.46 s
[opt-env-conf-test] showParen (d > 10) $
1859.46 s
[opt-env-conf-test] showString "Alt "
1859.46 s
[opt-env-conf-test] - . go 1 1 p1
1859.46 s
[opt-env-conf-test] + . go 1 p1
1859.46 s
[opt-env-conf-test] . showString " "
1859.46 s
[opt-env-conf-test] . go 11 p2
1859.46 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1859.46 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1859.46 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1859.46 s
[opt-env-conf-test] showParen (d > 10) $
1859.46 s
[opt-env-conf-test] showString "Alt "
1859.46 s
[opt-env-conf-test] - . go 11 p1
1859.46 s
[opt-env-conf-test] + . go - 11 p1
1859.46 s
[opt-env-conf-test] . showString " "
1859.46 s
[opt-env-conf-test] . go 11 p2
1859.46 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.46 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
1859.46 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1859.46 s
[opt-env-conf-test] showString "Empty "
1859.46 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.46 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1859.46 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1859.46 s
[opt-env-conf-test] + showParen F a ls e $
1859.46 s
[opt-env-conf-test] showString "Alt "
1859.46 s
[opt-env-conf-test] . go 11 p1
1859.46 s
[opt-env-conf-test] . showString " "
1859.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1859.46 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1859.46 s
[opt-env-conf-test] showString "Alt "
1859.46 s
[opt-env-conf-test] . go 11 p1
1859.46 s
[opt-env-conf-test] . showString " "
1859.46 s
[opt-env-conf-test] - . go 1 1 p2
1859.46 s
[opt-env-conf-test] + . go 0 p2
1859.46 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.46 s
[opt-env-conf-test] showParen (d > 10) $
1859.46 s
[opt-env-conf-test] showString "Many "
1859.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1859.46 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1859.46 s
[opt-env-conf-test] showString "Alt "
1859.46 s
[opt-env-conf-test] . go 11 p1
1859.46 s
[opt-env-conf-test] . showString " "
1859.46 s
[opt-env-conf-test] - . go 1 1 p2
1859.46 s
[opt-env-conf-test] + . go 1 p2
1859.46 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.46 s
[opt-env-conf-test] showParen (d > 10) $
1859.46 s
[opt-env-conf-test] showString "Many "
1859.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1859.46 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1859.46 s
[opt-env-conf-test] showString "Alt "
1859.46 s
[opt-env-conf-test] . go 11 p1
1859.46 s
[opt-env-conf-test] . showString " "
1859.46 s
[opt-env-conf-test] - . go 11 p2
1859.46 s
[opt-env-conf-test] + . go - 11 p2
1859.46 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.46 s
[opt-env-conf-test] showParen (d > 10) $
1859.46 s
[opt-env-conf-test] showString "Many "
1859.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1859.46 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1859.46 s
[opt-env-conf-test] . showString " "
1859.46 s
[opt-env-conf-test] . go 11 p2
1859.46 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.46 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1859.46 s
[opt-env-conf-test] + showParen (d > 1 ) $
1859.46 s
[opt-env-conf-test] showString "Many "
1859.46 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.46 s
[opt-env-conf-test] . showString " "
1859.46 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
1859.46 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1859.46 s
[opt-env-conf-test] . showString " "
1859.46 s
[opt-env-conf-test] . go 11 p2
1859.46 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.46 s
[opt-env-conf-test] - showParen (d > 10) $
1859.46 s
[opt-env-conf-test] + showParen (d < 10) $
1859.46 s
[opt-env-conf-test] showString "Many "
1859.46 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1859.47 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] . go 11 p2
1859.47 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.47 s
[opt-env-conf-test] - showParen (d > 10) $
1859.47 s
[opt-env-conf-test] + showParen (d > - 10) $
1859.47 s
[opt-env-conf-test] showString "Many "
1859.47 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1859.47 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] . go 11 p2
1859.47 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.47 s
[opt-env-conf-test] - showParen (d > 1 0) $
1859.47 s
[opt-env-conf-test] + showParen (d > 0) $
1859.47 s
[opt-env-conf-test] showString "Many "
1859.47 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
1859.47 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] . go 11 p2
1859.47 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.47 s
[opt-env-conf-test] - showParen (d > 10) $
1859.47 s
[opt-env-conf-test] + showParen (d < = 10) $
1859.47 s
[opt-env-conf-test] showString "Many "
1859.47 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
1859.47 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] . go 11 p2
1859.47 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.47 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1859.47 s
[opt-env-conf-test] + showParen ( Tru e ) $
1859.47 s
[opt-env-conf-test] showString "Many "
1859.47 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
1859.47 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] . go 11 p2
1859.47 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.47 s
[opt-env-conf-test] - showParen (d > 10) $
1859.47 s
[opt-env-conf-test] + showParen (d > = 10) $
1859.47 s
[opt-env-conf-test] showString "Many "
1859.47 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
1859.47 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] . go 11 p2
1859.47 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.47 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1859.47 s
[opt-env-conf-test] + showParen ( F a lse ) $
1859.47 s
[opt-env-conf-test] showString "Many "
1859.47 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:20-26
1859.47 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] . go 11 p2
1859.47 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.47 s
[opt-env-conf-test] - showPare n (d > 10) $
1859.47 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1859.47 s
[opt-env-conf-test] showString "Many "
1859.47 s
[opt-env-conf-test] . showsPrec 11 mLoc
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
1859.47 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1859.47 s
[opt-env-conf-test] . showString " "
1859.47 s
[opt-env-conf-test] . go 11 p2
1859.47 s
[opt-env-conf-test] ParserMany mLoc p ->
1859.47 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1859.47 s
[opt-env-conf-test] + showParen F a ls e $
1859.47 s
[opt-env-conf-test] showString "Many "
1866.65 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.65 s
[opt-env-conf-test] . showString " "
1866.65 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
1866.67 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1866.67 s
[opt-env-conf-test] . showString " "
1866.67 s
[opt-env-conf-test] . go 11 p2
1866.67 s
[opt-env-conf-test] ParserMany mLoc p ->
1866.67 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1866.67 s
[opt-env-conf-test] + showParen T ru e $
1866.67 s
[opt-env-conf-test] showString "Many "
1866.67 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.67 s
[opt-env-conf-test] . showString " "
1866.67 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1866.67 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1866.68 s
[opt-env-conf-test] ParserMany mLoc p ->
1866.68 s
[opt-env-conf-test] showParen (d > 10) $
1866.68 s
[opt-env-conf-test] showString "Many "
1866.68 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1866.68 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1866.68 s
[opt-env-conf-test] . showString " "
1866.68 s
[opt-env-conf-test] . go 11 p
1866.68 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.68 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1866.68 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1866.68 s
[opt-env-conf-test] ParserMany mLoc p ->
1866.68 s
[opt-env-conf-test] showParen (d > 10) $
1866.68 s
[opt-env-conf-test] showString "Many "
1866.68 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1866.68 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1866.68 s
[opt-env-conf-test] . showString " "
1866.68 s
[opt-env-conf-test] . go 11 p
1866.68 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.68 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:19-27
1866.68 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1866.68 s
[opt-env-conf-test] . showString " "
1866.68 s
[opt-env-conf-test] . go 11 p2
1866.68 s
[opt-env-conf-test] ParserMany mLoc p ->
1866.68 s
[opt-env-conf-test] - showPare n ( d > 10) $
1866.68 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1866.68 s
[opt-env-conf-test] showString "Many "
1866.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.68 s
[opt-env-conf-test] . showString " "
1866.68 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:20-26
1866.68 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1866.68 s
[opt-env-conf-test] showString "Empty "
1866.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.68 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1866.68 s
[opt-env-conf-test] - showPare n (d > 10) $
1866.68 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1866.68 s
[opt-env-conf-test] showString "Alt "
1866.68 s
[opt-env-conf-test] . go 11 p1
1866.68 s
[opt-env-conf-test] . showString " "
1866.68 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
1866.68 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1866.68 s
[opt-env-conf-test] showString "Empty "
1866.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.68 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1866.68 s
[opt-env-conf-test] - showParen (d > 10) $
1866.68 s
[opt-env-conf-test] + showParen (d < = 10) $
1866.68 s
[opt-env-conf-test] showString "Alt "
1866.69 s
[opt-env-conf-test] . go 11 p1
1866.69 s
[opt-env-conf-test] . showString " "
1866.69 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
1866.69 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1866.69 s
[opt-env-conf-test] . showString " "
1866.69 s
[opt-env-conf-test] . go 11 p
1866.69 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.69 s
[opt-env-conf-test] - showParen (d > 10) $
1866.69 s
[opt-env-conf-test] + showParen (d < = 10) $
1866.69 s
[opt-env-conf-test] showString "Some "
1866.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.69 s
[opt-env-conf-test] . showString " "
1866.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1866.69 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1866.69 s
[opt-env-conf-test] . showString " "
1866.69 s
[opt-env-conf-test] . go 11 p
1866.69 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.69 s
[opt-env-conf-test] - showParen (d > 10) $
1866.69 s
[opt-env-conf-test] + showParen (d > - 10) $
1866.69 s
[opt-env-conf-test] showString "Some "
1866.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.69 s
[opt-env-conf-test] . showString " "
1866.69 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
1866.69 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1866.69 s
[opt-env-conf-test] . showString " "
1866.69 s
[opt-env-conf-test] . go 11 p
1866.69 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.69 s
[opt-env-conf-test] - showParen (d > 10) $
1866.69 s
[opt-env-conf-test] + showParen (d > = 10) $
1866.69 s
[opt-env-conf-test] showString "Some "
1866.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.69 s
[opt-env-conf-test] . showString " "
1866.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
1866.69 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1866.69 s
[opt-env-conf-test] . showString " "
1866.69 s
[opt-env-conf-test] . go 11 p
1866.69 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.69 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1866.69 s
[opt-env-conf-test] + showParen ( Tru e ) $
1866.69 s
[opt-env-conf-test] showString "Some "
1866.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.69 s
[opt-env-conf-test] . showString " "
1866.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1866.69 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1866.69 s
[opt-env-conf-test] showString "Many "
1866.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.69 s
[opt-env-conf-test] . showString " "
1866.69 s
[opt-env-conf-test] - . go 1 1 p
1866.69 s
[opt-env-conf-test] + . go 1 p
1866.69 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.69 s
[opt-env-conf-test] showParen (d > 10) $
1866.69 s
[opt-env-conf-test] showString "Some "
1866.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
1866.69 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1866.69 s
[opt-env-conf-test] . showString " "
1866.69 s
[opt-env-conf-test] . go 11 p
1866.69 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.69 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1866.69 s
[opt-env-conf-test] + showParen ( F a lse ) $
1866.69 s
[opt-env-conf-test] showString "Some "
1866.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1866.70 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1866.70 s
[opt-env-conf-test] showString "Many "
1866.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] - . go 11 p
1866.70 s
[opt-env-conf-test] + . go - 11 p
1866.70 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.70 s
[opt-env-conf-test] showParen (d > 10) $
1866.70 s
[opt-env-conf-test] showString "Some "
1866.70 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:20-26
1866.70 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] . go 11 p
1866.70 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.70 s
[opt-env-conf-test] - showPare n (d > 10) $
1866.70 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1866.70 s
[opt-env-conf-test] showString "Some "
1866.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1866.70 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] . go 11 p
1866.70 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.70 s
[opt-env-conf-test] - showParen (d > 1 0) $
1866.70 s
[opt-env-conf-test] + showParen (d > 0) $
1866.70 s
[opt-env-conf-test] showString "Some "
1866.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1866.70 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1866.70 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.70 s
[opt-env-conf-test] showParen (d > 10) $
1866.70 s
[opt-env-conf-test] showString "Some "
1866.70 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1866.70 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] . go 11 p
1866.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1866.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
1866.70 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] . go 11 p
1866.70 s
[opt-env-conf-test] ParserSome mLoc p ->
1866.70 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1866.70 s
[opt-env-conf-test] + showParen T ru e $
1866.70 s
[opt-env-conf-test] showString "Some "
1866.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1866.70 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1866.70 s
[opt-env-conf-test] showString "Some "
1866.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] - . go 1 1 p
1866.70 s
[opt-env-conf-test] + . go 0 p
1866.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1866.70 s
[opt-env-conf-test] showParen (d > 10) $
1866.70 s
[opt-env-conf-test] showString "AllOrNothing "
1866.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
1866.70 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1866.70 s
[opt-env-conf-test] showString "Empty "
1866.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1866.70 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1866.70 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1866.70 s
[opt-env-conf-test] + showParen ( F a lse ) $
1866.70 s
[opt-env-conf-test] showString "Alt "
1866.70 s
[opt-env-conf-test] . go 11 p1
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
1866.70 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1866.70 s
[opt-env-conf-test] . showString " "
1866.70 s
[opt-env-conf-test] . go 11 p
1866.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1866.70 s
[opt-env-conf-test] - showParen (d > 10) $
1866.70 s
[opt-env-conf-test] + showParen (d < 10) $
1868.02 s
[opt-env-conf-test] showString "AllOrNothing "
1868.02 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.02 s
[opt-env-conf-test] . showString " "
1868.02 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
1868.02 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1868.02 s
[opt-env-conf-test] . showString " "
1868.02 s
[opt-env-conf-test] . go 11 p
1868.02 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.02 s
[opt-env-conf-test] - showParen (d > 10) $
1868.02 s
[opt-env-conf-test] + showParen (d < = 10) $
1868.02 s
[opt-env-conf-test] showString "AllOrNothing "
1868.02 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.02 s
[opt-env-conf-test] . showString " "
1868.02 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1868.02 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1868.02 s
[opt-env-conf-test] . showString " "
1868.02 s
[opt-env-conf-test] . go 11 p
1868.02 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.02 s
[opt-env-conf-test] - showParen (d > 10) $
1868.02 s
[opt-env-conf-test] + showParen (d > - 10) $
1868.02 s
[opt-env-conf-test] showString "AllOrNothing "
1868.02 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.02 s
[opt-env-conf-test] . showString " "
1868.02 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
1868.02 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1868.02 s
[opt-env-conf-test] . showString " "
1868.02 s
[opt-env-conf-test] . go 11 p
1868.02 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.02 s
[opt-env-conf-test] - showParen (d > 10) $
1868.02 s
[opt-env-conf-test] + showParen (d > = 10) $
1868.02 s
[opt-env-conf-test] showString "AllOrNothing "
1868.02 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
1868.03 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] . go 11 p
1868.03 s
[opt-env-conf-test] ParserSome mLoc p ->
1868.03 s
[opt-env-conf-test] - showParen (d > 10) $
1868.03 s
[opt-env-conf-test] + showParen (d < 10) $
1868.03 s
[opt-env-conf-test] showString "Some "
1868.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1868.03 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] . go 11 p
1868.03 s
[opt-env-conf-test] ParserSome mLoc p ->
1868.03 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1868.03 s
[opt-env-conf-test] + showParen (d > 1 ) $
1868.03 s
[opt-env-conf-test] showString "Some "
1868.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1868.03 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1868.03 s
[opt-env-conf-test] showString "Some "
1868.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] - . go 1 1 p
1868.03 s
[opt-env-conf-test] + . go 1 p
1868.03 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.03 s
[opt-env-conf-test] showParen (d > 10) $
1868.03 s
[opt-env-conf-test] showString "AllOrNothing "
1868.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
1868.03 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] . go 11 p
1868.03 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.03 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1868.03 s
[opt-env-conf-test] + showParen ( Tru e ) $
1868.03 s
[opt-env-conf-test] showString "AllOrNothing "
1868.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
1868.03 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] . go 11 p
1868.03 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.03 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1868.03 s
[opt-env-conf-test] + showParen ( F a lse ) $
1868.03 s
[opt-env-conf-test] showString "AllOrNothing "
1868.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
1868.03 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] . go 11 p
1868.03 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.03 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1868.03 s
[opt-env-conf-test] + showParen T ru e $
1868.03 s
[opt-env-conf-test] showString "AllOrNothing "
1868.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:20-26
1868.03 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] . go 11 p
1868.03 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.03 s
[opt-env-conf-test] - showPare n (d > 10) $
1868.03 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1868.03 s
[opt-env-conf-test] showString "AllOrNothing "
1868.03 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.03 s
[opt-env-conf-test] . showString " "
1868.03 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1868.03 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1868.03 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.03 s
[opt-env-conf-test] showParen (d > 10) $
1868.03 s
[opt-env-conf-test] showString "AllOrNothing "
1868.04 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1868.04 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] . go 11 p
1868.04 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1868.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1868.04 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1868.04 s
[opt-env-conf-test] ParserSome mLoc p ->
1868.04 s
[opt-env-conf-test] showParen (d > 10) $
1868.04 s
[opt-env-conf-test] showString "Some "
1868.04 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1868.04 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] . go 11 p
1868.04 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1868.04 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] . go 11 p
1868.04 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.04 s
[opt-env-conf-test] - showParen (d > 1 0) $
1868.04 s
[opt-env-conf-test] + showParen (d > 0) $
1868.04 s
[opt-env-conf-test] showString "AllOrNothing "
1868.04 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1868.04 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1868.04 s
[opt-env-conf-test] ParserSome mLoc p ->
1868.04 s
[opt-env-conf-test] showParen (d > 10) $
1868.04 s
[opt-env-conf-test] showString "Some "
1868.04 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1868.04 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] . go 11 p
1868.04 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1868.04 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1868.04 s
[opt-env-conf-test] showString "Some "
1868.04 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] - . go 11 p
1868.04 s
[opt-env-conf-test] + . go - 11 p
1868.04 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.04 s
[opt-env-conf-test] showParen (d > 10) $
1868.04 s
[opt-env-conf-test] showString "AllOrNothing "
1868.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1868.04 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1868.04 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1868.04 s
[opt-env-conf-test] showParen (d > 10) $
1868.04 s
[opt-env-conf-test] showString "AllOrNothing "
1868.04 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1868.04 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] . go 11 p
1868.04 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1868.04 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:19-27
1868.04 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] . go 11 p
1868.04 s
[opt-env-conf-test] ParserSome mLoc p ->
1868.04 s
[opt-env-conf-test] - showPare n ( d > 10) $
1868.04 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1868.04 s
[opt-env-conf-test] showString "Some "
1868.04 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
1868.04 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] . go 11 p
1868.04 s
[opt-env-conf-test] ParserSome mLoc p ->
1868.04 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1868.04 s
[opt-env-conf-test] + showParen F a ls e $
1868.04 s
[opt-env-conf-test] showString "Some "
1868.04 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1868.04 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1868.04 s
[opt-env-conf-test] showString "AllOrNothing "
1868.04 s
[opt-env-conf-test] . showsPrec 11 mLoc
1868.04 s
[opt-env-conf-test] . showString " "
1868.04 s
[opt-env-conf-test] - . go 1 1 p
1868.04 s
[opt-env-conf-test] + . go 1 p
1868.04 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1868.04 s
[opt-env-conf-test] showParen (d > 10) $
1868.04 s
[opt-env-conf-test] showString "Check "
1868.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1868.04 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1868.04 s
[opt-env-conf-test] showString "AllOrNothing "
1870.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.93 s
[opt-env-conf-test] . showString " "
1870.93 s
[opt-env-conf-test] - . go 11 p
1870.93 s
[opt-env-conf-test] + . go - 11 p
1870.93 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.93 s
[opt-env-conf-test] showParen (d > 10) $
1870.93 s
[opt-env-conf-test] showString "Check "
1870.93 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1870.93 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1870.93 s
[opt-env-conf-test] . showString " "
1870.93 s
[opt-env-conf-test] . go 11 p
1870.93 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.93 s
[opt-env-conf-test] - showParen (d > 1 0) $
1870.93 s
[opt-env-conf-test] + showParen (d > 0) $
1870.93 s
[opt-env-conf-test] showString "Check "
1870.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.93 s
[opt-env-conf-test] . showString " "
1870.93 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1870.93 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1870.93 s
[opt-env-conf-test] . showString " "
1870.93 s
[opt-env-conf-test] . go 11 p
1870.93 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.93 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1870.93 s
[opt-env-conf-test] + showParen (d > 1 ) $
1870.93 s
[opt-env-conf-test] showString "Check "
1870.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.93 s
[opt-env-conf-test] . showString " "
1870.93 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1870.93 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1870.93 s
[opt-env-conf-test] . showString " "
1870.93 s
[opt-env-conf-test] . go 11 p
1870.93 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.93 s
[opt-env-conf-test] - showParen (d > 10) $
1870.93 s
[opt-env-conf-test] + showParen (d > - 10) $
1870.93 s
[opt-env-conf-test] showString "Check "
1870.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:19-27
1870.94 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] . go 11 p
1870.94 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1870.94 s
[opt-env-conf-test] - showPare n ( d > 10) $
1870.94 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1870.94 s
[opt-env-conf-test] showString "AllOrNothing "
1870.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1870.94 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1870.94 s
[opt-env-conf-test] showString "AllOrNothing "
1870.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] - . go 1 1 p
1870.94 s
[opt-env-conf-test] + . go 0 p
1870.94 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.94 s
[opt-env-conf-test] showParen (d > 10) $
1870.94 s
[opt-env-conf-test] showString "Check "
1870.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
1870.94 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] . go 11 p
1870.94 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.94 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1870.94 s
[opt-env-conf-test] + showParen ( Tru e ) $
1870.94 s
[opt-env-conf-test] showString "Check "
1870.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
1870.94 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] . go 11 p
1870.94 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.94 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1870.94 s
[opt-env-conf-test] + showParen ( F a lse ) $
1870.94 s
[opt-env-conf-test] showString "Check "
1870.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
1870.94 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] . go 11 p
1870.94 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.94 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1870.94 s
[opt-env-conf-test] + showParen T ru e $
1870.94 s
[opt-env-conf-test] showString "Check "
1870.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
1870.94 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] . go 11 p
1870.94 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.94 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1870.94 s
[opt-env-conf-test] + showParen F a ls e $
1870.94 s
[opt-env-conf-test] showString "Check "
1870.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1870.94 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1870.94 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.94 s
[opt-env-conf-test] showParen (d > 10) $
1870.94 s
[opt-env-conf-test] showString "Check "
1870.94 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1870.94 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] . showsPrec 11 forgivable
1870.94 s
[opt-env-conf-test] . showString " "
1870.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1870.94 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1870.94 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.94 s
[opt-env-conf-test] showParen (d > 10) $
1870.94 s
[opt-env-conf-test] showString "Check "
1870.94 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1870.95 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] . showsPrec 11 forgivable
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1870.95 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1870.95 s
[opt-env-conf-test] showString "Check "
1870.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] - . showsPrec 1 1 forgivable
1870.95 s
[opt-env-conf-test] + . showsPrec 0 forgivable
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] . showsPrec 11 caps
1870.95 s
[opt-env-conf-test] . showString " _ "
1870.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1870.95 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1870.95 s
[opt-env-conf-test] showString "Check "
1870.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] - . showsPrec 1 1 forgivable
1870.95 s
[opt-env-conf-test] + . showsPrec 1 forgivable
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] . showsPrec 11 caps
1870.95 s
[opt-env-conf-test] . showString " _ "
1870.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1870.95 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1870.95 s
[opt-env-conf-test] showString "Check "
1870.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1870.95 s
[opt-env-conf-test] + . showsPrec - 11 forgivable
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] . showsPrec 11 caps
1870.95 s
[opt-env-conf-test] . showString " _ "
1870.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
1870.95 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1870.95 s
[opt-env-conf-test] showString "Check "
1870.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] - . showsPrec 11 f o r gi v a b l e
1870.95 s
[opt-env-conf-test] + . showsPrec 11 T r u e
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] . showsPrec 11 caps
1870.95 s
[opt-env-conf-test] . showString " _ "
1870.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:349:28-38
1870.95 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1870.95 s
[opt-env-conf-test] showString "Check "
1870.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1870.95 s
[opt-env-conf-test] + . showsPrec 11 n o t ( forgivable )
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] . showsPrec 11 caps
1870.95 s
[opt-env-conf-test] . showString " _ "
1870.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1870.95 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] . showsPrec 11 forgivable
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] - . showsPrec 1 1 caps
1870.95 s
[opt-env-conf-test] + . showsPrec 0 caps
1870.95 s
[opt-env-conf-test] . showString " _ "
1870.95 s
[opt-env-conf-test] . go 11 p
1870.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1870.95 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
1870.95 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] . go 11 p
1870.95 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1870.95 s
[opt-env-conf-test] - showParen (d > 10) $
1870.95 s
[opt-env-conf-test] + showParen (d > = 10) $
1870.95 s
[opt-env-conf-test] showString "Check "
1870.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1870.95 s
[opt-env-conf-test] . showString " "
1870.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1876.24 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1876.24 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1876.24 s
[opt-env-conf-test] showParen (d > 10) $
1876.27 s
[opt-env-conf-test] showString "Check "
1876.27 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1876.27 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1876.27 s
[opt-env-conf-test] . showString " "
1876.27 s
[opt-env-conf-test] . showsPrec 11 forgivable
1876.27 s
[opt-env-conf-test] . showString " "
1876.27 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
1876.27 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1876.27 s
[opt-env-conf-test] . showString " "
1876.27 s
[opt-env-conf-test] . go 11 p
1876.27 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1876.27 s
[opt-env-conf-test] - showParen (d > 10) $
1876.27 s
[opt-env-conf-test] + showParen (d < = 10) $
1876.27 s
[opt-env-conf-test] showString "Check "
1876.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.27 s
[opt-env-conf-test] . showString " "
1876.27 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:20-26
1876.27 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1876.27 s
[opt-env-conf-test] . showString " "
1876.27 s
[opt-env-conf-test] . go 11 p
1876.27 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1876.27 s
[opt-env-conf-test] - showPare n (d > 10) $
1876.27 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1876.27 s
[opt-env-conf-test] showString "Check "
1876.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.27 s
[opt-env-conf-test] . showString " "
1876.27 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
1876.27 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1876.27 s
[opt-env-conf-test] . showString " "
1876.27 s
[opt-env-conf-test] . go 11 p
1876.27 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1876.27 s
[opt-env-conf-test] - showParen (d > 10) $
1876.27 s
[opt-env-conf-test] + showParen (d < 10) $
1876.27 s
[opt-env-conf-test] showString "Check "
1876.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.27 s
[opt-env-conf-test] . showString " "
1876.27 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:19-27
1876.27 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1876.27 s
[opt-env-conf-test] . showString " "
1876.27 s
[opt-env-conf-test] . go 11 p
1876.27 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1876.27 s
[opt-env-conf-test] - showPare n ( d > 10) $
1876.27 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1876.27 s
[opt-env-conf-test] showString "Check "
1876.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.27 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1876.28 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1876.28 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1876.28 s
[opt-env-conf-test] showParen (d > 10) $
1876.28 s
[opt-env-conf-test] showString "AllOrNothing "
1876.28 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1876.28 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] . go 11 p
1876.28 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1876.28 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1876.28 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] . go 11 p
1876.28 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1876.28 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1876.28 s
[opt-env-conf-test] + showParen (d > 1 ) $
1876.28 s
[opt-env-conf-test] showString "AllOrNothing "
1876.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
1876.28 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] . go 11 p
1876.28 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1876.28 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1876.28 s
[opt-env-conf-test] + showParen F a ls e $
1876.28 s
[opt-env-conf-test] showString "AllOrNothing "
1876.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1876.28 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1876.28 s
[opt-env-conf-test] ParserMany mLoc p ->
1876.28 s
[opt-env-conf-test] showParen (d > 10) $
1876.28 s
[opt-env-conf-test] showString "Many "
1876.28 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1876.28 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] . go 11 p
1876.28 s
[opt-env-conf-test] ParserSome mLoc p ->
1876.28 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1876.28 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1876.28 s
[opt-env-conf-test] showString "Many "
1876.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] - . go 1 1 p
1876.28 s
[opt-env-conf-test] + . go 0 p
1876.28 s
[opt-env-conf-test] ParserSome mLoc p ->
1876.28 s
[opt-env-conf-test] showParen (d > 10) $
1876.28 s
[opt-env-conf-test] showString "Some "
1876.28 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1876.28 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] . showsPrec 11 forgivable
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] - . showsPrec 1 1 caps
1876.28 s
[opt-env-conf-test] + . showsPrec 1 caps
1876.28 s
[opt-env-conf-test] . showString " _ "
1876.28 s
[opt-env-conf-test] . go 11 p
1876.28 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1876.28 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
1876.28 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1876.28 s
[opt-env-conf-test] showString "Check "
1876.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] - . showsPrec 11 f o rg iv a b l e
1876.28 s
[opt-env-conf-test] + . showsPrec 11 F a l s e
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] . showsPrec 11 caps
1876.28 s
[opt-env-conf-test] . showString " _ "
1876.28 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1876.28 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] . showsPrec 11 caps
1876.28 s
[opt-env-conf-test] . showString " _ "
1876.28 s
[opt-env-conf-test] - . go 11 p
1876.28 s
[opt-env-conf-test] + . go - 11 p
1876.28 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1876.28 s
[opt-env-conf-test] showParen (d > 10) $
1876.28 s
[opt-env-conf-test] showString "Commands "
1876.28 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1876.28 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1876.28 s
[opt-env-conf-test] . showString " _ "
1876.28 s
[opt-env-conf-test] . go 11 p
1876.28 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1876.28 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1876.28 s
[opt-env-conf-test] + showParen (d > 1 ) $
1876.28 s
[opt-env-conf-test] showString "Commands "
1876.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
1876.28 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1876.28 s
[opt-env-conf-test] . showString " _ "
1876.28 s
[opt-env-conf-test] . go 11 p
1876.28 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1876.28 s
[opt-env-conf-test] - showParen (d > 10) $
1876.28 s
[opt-env-conf-test] + showParen (d < 10) $
1876.28 s
[opt-env-conf-test] showString "Commands "
1876.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
1876.28 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1876.28 s
[opt-env-conf-test] . showString " _ "
1876.28 s
[opt-env-conf-test] . go 11 p
1876.28 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1876.28 s
[opt-env-conf-test] - showParen (d > 10) $
1876.28 s
[opt-env-conf-test] + showParen (d > = 10) $
1876.28 s
[opt-env-conf-test] showString "Commands "
1876.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1876.28 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1876.28 s
[opt-env-conf-test] . showString " "
1876.28 s
[opt-env-conf-test] . showsPrec 11 caps
1876.29 s
[opt-env-conf-test] . showString " _ "
1876.29 s
[opt-env-conf-test] - . go 1 1 p
1876.29 s
[opt-env-conf-test] + . go 0 p
1876.29 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1876.29 s
[opt-env-conf-test] showParen (d > 10) $
1876.29 s
[opt-env-conf-test] showString "Commands "
1876.29 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1876.29 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1876.29 s
[opt-env-conf-test] . showString " "
1876.29 s
[opt-env-conf-test] . showsPrec 11 caps
1876.29 s
[opt-env-conf-test] . showString " _ "
1876.29 s
[opt-env-conf-test] - . go 1 1 p
1876.29 s
[opt-env-conf-test] + . go 1 p
1876.29 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1876.29 s
[opt-env-conf-test] showParen (d > 10) $
1876.29 s
[opt-env-conf-test] showString "Commands "
1876.29 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:20-26
1876.29 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1876.29 s
[opt-env-conf-test] . showString " _ "
1876.29 s
[opt-env-conf-test] . go 11 p
1876.29 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1876.29 s
[opt-env-conf-test] - showPare n (d > 10) $
1876.29 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1876.29 s
[opt-env-conf-test] showString "Commands "
1876.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
1876.29 s
[opt-env-conf-test] . showString " "
1876.29 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
1876.29 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1876.29 s
[opt-env-conf-test] . showString " _ "
1876.29 s
[opt-env-conf-test] . go 11 p
1876.29 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.89 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1883.92 s
[opt-env-conf-test] + showParen F a ls e $
1883.92 s
[opt-env-conf-test] showString "Commands "
1883.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.92 s
[opt-env-conf-test] . showString " "
1883.92 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:19-27
1883.92 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1883.92 s
[opt-env-conf-test] . showString " _ "
1883.92 s
[opt-env-conf-test] . go 11 p
1883.92 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.92 s
[opt-env-conf-test] - showPare n ( d > 10) $
1883.92 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1883.92 s
[opt-env-conf-test] showString "Commands "
1883.92 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.92 s
[opt-env-conf-test] . showString " "
1883.92 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1883.92 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1883.92 s
[opt-env-conf-test] . showString " "
1883.92 s
[opt-env-conf-test] . showsPrec 11 forgivable
1883.92 s
[opt-env-conf-test] . showString " "
1883.92 s
[opt-env-conf-test] - . showsPrec 11 caps
1883.92 s
[opt-env-conf-test] + . showsPrec - 11 caps
1883.92 s
[opt-env-conf-test] . showString " _ "
1883.92 s
[opt-env-conf-test] . go 11 p
1883.92 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.92 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1883.92 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1883.92 s
[opt-env-conf-test] . showString " _ "
1883.92 s
[opt-env-conf-test] . go 11 p
1883.92 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.92 s
[opt-env-conf-test] - showParen (d > 1 0) $
1883.93 s
[opt-env-conf-test] + showParen (d > 0) $
1883.93 s
[opt-env-conf-test] showString "Commands "
1883.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.93 s
[opt-env-conf-test] . showString " "
1883.93 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1883.93 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1883.93 s
[opt-env-conf-test] . showString " _ "
1883.93 s
[opt-env-conf-test] . go 11 p
1883.93 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.93 s
[opt-env-conf-test] - showParen (d > 10) $
1883.93 s
[opt-env-conf-test] + showParen (d > - 10) $
1883.93 s
[opt-env-conf-test] showString "Commands "
1883.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.93 s
[opt-env-conf-test] . showString " "
1883.93 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
1883.93 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1883.93 s
[opt-env-conf-test] . showString " _ "
1883.93 s
[opt-env-conf-test] . go 11 p
1883.93 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.93 s
[opt-env-conf-test] - showParen (d > 10) $
1883.93 s
[opt-env-conf-test] + showParen (d < = 10) $
1883.93 s
[opt-env-conf-test] showString "Commands "
1883.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.93 s
[opt-env-conf-test] . showString " "
1883.93 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
1883.93 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1883.93 s
[opt-env-conf-test] . showString " _ "
1883.93 s
[opt-env-conf-test] . go 11 p
1883.93 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.93 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1883.93 s
[opt-env-conf-test] + showParen ( F a lse ) $
1883.93 s
[opt-env-conf-test] showString "Commands "
1883.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.93 s
[opt-env-conf-test] . showString " "
1883.93 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
1883.93 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1883.93 s
[opt-env-conf-test] . showString " _ "
1883.93 s
[opt-env-conf-test] . go 11 p
1883.93 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.93 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1883.93 s
[opt-env-conf-test] + showParen ( Tru e ) $
1883.93 s
[opt-env-conf-test] showString "Commands "
1883.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.93 s
[opt-env-conf-test] . showString " "
1883.93 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
1883.93 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1883.93 s
[opt-env-conf-test] . showString " _ "
1883.93 s
[opt-env-conf-test] . go 11 p
1883.93 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.93 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1883.93 s
[opt-env-conf-test] + showParen T ru e $
1883.93 s
[opt-env-conf-test] showString "Commands "
1883.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.93 s
[opt-env-conf-test] . showString " "
1883.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1883.94 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1883.94 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.94 s
[opt-env-conf-test] showParen (d > 10) $
1883.94 s
[opt-env-conf-test] showString "Commands "
1883.94 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1883.94 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1883.94 s
[opt-env-conf-test] . showString " "
1883.94 s
[opt-env-conf-test] . showsPrec 11 mDefault
1883.94 s
[opt-env-conf-test] . showString " "
1883.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1883.94 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1883.94 s
[opt-env-conf-test] showString "Commands "
1883.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.94 s
[opt-env-conf-test] . showString " "
1883.94 s
[opt-env-conf-test] - . showsPrec 1 1 mDefault
1883.94 s
[opt-env-conf-test] + . showsPrec 1 mDefault
1883.94 s
[opt-env-conf-test] . showString " "
1883.94 s
[opt-env-conf-test] . showListWith
1883.94 s
[opt-env-conf-test] showCommandABit
1883.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1883.94 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1883.94 s
[opt-env-conf-test] showString "Commands "
1883.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.94 s
[opt-env-conf-test] . showString " "
1883.94 s
[opt-env-conf-test] - . showsPrec 1 1 mDefault
1883.94 s
[opt-env-conf-test] + . showsPrec 0 mDefault
1883.94 s
[opt-env-conf-test] . showString " "
1883.94 s
[opt-env-conf-test] . showListWith
1883.94 s
[opt-env-conf-test] showCommandABit
1883.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1883.94 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1883.94 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.94 s
[opt-env-conf-test] showParen (d > 10) $
1883.94 s
[opt-env-conf-test] showString "Commands "
1883.94 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1883.94 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1883.94 s
[opt-env-conf-test] . showString " "
1883.94 s
[opt-env-conf-test] . showsPrec 11 mDefault
1883.94 s
[opt-env-conf-test] . showString " "
1883.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1883.94 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1883.94 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1883.94 s
[opt-env-conf-test] showParen (d > 10) $
1883.94 s
[opt-env-conf-test] showString "Commands "
1883.94 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1883.94 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1883.94 s
[opt-env-conf-test] . showString " "
1883.95 s
[opt-env-conf-test] . showsPrec 11 mDefault
1883.95 s
[opt-env-conf-test] . showString " "
1883.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1883.95 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1883.95 s
[opt-env-conf-test] showCommandABit
1883.95 s
[opt-env-conf-test] cs
1883.95 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1883.95 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1883.95 s
[opt-env-conf-test] + showParen ( F a lse ) $
1883.95 s
[opt-env-conf-test] showString "WithConfig _ "
1883.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.95 s
[opt-env-conf-test] . showString " "
1883.95 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
1883.95 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1883.95 s
[opt-env-conf-test] showCommandABit
1883.95 s
[opt-env-conf-test] cs
1883.95 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1883.95 s
[opt-env-conf-test] - showParen (d > 10) $
1883.95 s
[opt-env-conf-test] + showParen (d < = 10) $
1883.95 s
[opt-env-conf-test] showString "WithConfig _ "
1883.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.95 s
[opt-env-conf-test] . showString " "
1883.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1883.95 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1883.95 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1883.95 s
[opt-env-conf-test] showParen (d > 10) $
1883.95 s
[opt-env-conf-test] showString "WithConfig _ "
1883.95 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1883.95 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1883.95 s
[opt-env-conf-test] . showString " "
1883.95 s
[opt-env-conf-test] . go 11 p1
1883.95 s
[opt-env-conf-test] . showString " "
1883.95 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
1883.95 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1883.95 s
[opt-env-conf-test] showCommandABit
1883.95 s
[opt-env-conf-test] cs
1883.95 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1883.95 s
[opt-env-conf-test] - showParen (d > 10) $
1883.95 s
[opt-env-conf-test] + showParen (d > = 10) $
1883.95 s
[opt-env-conf-test] showString "WithConfig _ "
1883.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.95 s
[opt-env-conf-test] . showString " "
1883.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1883.95 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1883.95 s
[opt-env-conf-test] showCommandABit
1883.95 s
[opt-env-conf-test] cs
1883.95 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1883.95 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1883.95 s
[opt-env-conf-test] + showParen ( Tru e ) $
1883.95 s
[opt-env-conf-test] showString "WithConfig _ "
1883.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1883.95 s
[opt-env-conf-test] . showString " "
1883.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:19-27
1883.95 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1883.95 s
[opt-env-conf-test] showCommandABit
1883.95 s
[opt-env-conf-test] cs
1883.96 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1886.94 s
[opt-env-conf-test] - showPare n ( d > 10) $
1886.94 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1886.94 s
[opt-env-conf-test] showString "WithConfig _ "
1886.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.94 s
[opt-env-conf-test] . showString " "
1886.94 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1886.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1886.94 s
[opt-env-conf-test] showCommandABit
1886.94 s
[opt-env-conf-test] cs
1886.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1886.94 s
[opt-env-conf-test] - showParen (d > 1 0) $
1886.94 s
[opt-env-conf-test] + showParen (d > 0) $
1886.94 s
[opt-env-conf-test] showString "WithConfig _ "
1886.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.94 s
[opt-env-conf-test] . showString " "
1886.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1886.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1886.94 s
[opt-env-conf-test] showCommandABit
1886.94 s
[opt-env-conf-test] cs
1886.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1886.94 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1886.94 s
[opt-env-conf-test] + showParen F a ls e $
1886.94 s
[opt-env-conf-test] showString "WithConfig _ "
1886.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.94 s
[opt-env-conf-test] . showString " "
1886.94 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:20-26
1886.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1886.94 s
[opt-env-conf-test] showCommandABit
1886.95 s
[opt-env-conf-test] cs
1886.95 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1886.95 s
[opt-env-conf-test] - showPare n (d > 10) $
1886.95 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1886.95 s
[opt-env-conf-test] showString "WithConfig _ "
1886.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1886.95 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1886.95 s
[opt-env-conf-test] showCommandABit
1886.95 s
[opt-env-conf-test] cs
1886.95 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1886.95 s
[opt-env-conf-test] - showParen (d > 10) $
1886.95 s
[opt-env-conf-test] + showParen (d > - 10) $
1886.95 s
[opt-env-conf-test] showString "WithConfig _ "
1886.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1886.95 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1886.95 s
[opt-env-conf-test] showCommandABit
1886.95 s
[opt-env-conf-test] cs
1886.95 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1886.95 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1886.95 s
[opt-env-conf-test] + showParen T ru e $
1886.95 s
[opt-env-conf-test] showString "WithConfig _ "
1886.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
1886.95 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1886.95 s
[opt-env-conf-test] showCommandABit
1886.95 s
[opt-env-conf-test] cs
1886.95 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1886.95 s
[opt-env-conf-test] - showParen (d > 10) $
1886.95 s
[opt-env-conf-test] + showParen (d < 10) $
1886.95 s
[opt-env-conf-test] showString "WithConfig _ "
1886.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1886.95 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1886.95 s
[opt-env-conf-test] showCommandABit
1886.95 s
[opt-env-conf-test] cs
1886.95 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1886.95 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1886.95 s
[opt-env-conf-test] + showParen (d > 1 ) $
1886.95 s
[opt-env-conf-test] showString "WithConfig _ "
1886.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1886.95 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] . go 11 p1
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] - . go 11 p2
1886.95 s
[opt-env-conf-test] + . go - 11 p2
1886.95 s
[opt-env-conf-test] ParserSetting mLoc p ->
1886.95 s
[opt-env-conf-test] showParen (d > 10) $
1886.95 s
[opt-env-conf-test] showString "Setting "
1886.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1886.95 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] . go 11 p2
1886.95 s
[opt-env-conf-test] ParserSetting mLoc p ->
1886.95 s
[opt-env-conf-test] - showParen (d > 10) $
1886.95 s
[opt-env-conf-test] + showParen (d > - 10) $
1886.95 s
[opt-env-conf-test] showString "Setting "
1886.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
1886.95 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] . go 11 p2
1886.95 s
[opt-env-conf-test] ParserSetting mLoc p ->
1886.95 s
[opt-env-conf-test] - showParen (d > 10) $
1886.95 s
[opt-env-conf-test] + showParen (d > = 10) $
1886.95 s
[opt-env-conf-test] showString "Setting "
1886.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1886.95 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] . go 11 p2
1886.95 s
[opt-env-conf-test] ParserSetting mLoc p ->
1886.95 s
[opt-env-conf-test] - showParen (d > 1 0) $
1886.95 s
[opt-env-conf-test] + showParen (d > 0) $
1886.95 s
[opt-env-conf-test] showString "Setting "
1886.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:20-26
1886.95 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1886.95 s
[opt-env-conf-test] . showString " "
1886.95 s
[opt-env-conf-test] . go 11 p2
1886.95 s
[opt-env-conf-test] ParserSetting mLoc p ->
1886.96 s
[opt-env-conf-test] - showPare n (d > 10) $
1886.96 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1886.96 s
[opt-env-conf-test] showString "Setting "
1886.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
1886.96 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] . go 11 p2
1886.96 s
[opt-env-conf-test] ParserSetting mLoc p ->
1886.96 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1886.96 s
[opt-env-conf-test] + showParen F a ls e $
1886.96 s
[opt-env-conf-test] showString "Setting "
1886.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:19-27
1886.96 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] . go 11 p2
1886.96 s
[opt-env-conf-test] ParserSetting mLoc p ->
1886.96 s
[opt-env-conf-test] - showPare n ( d > 10) $
1886.96 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1886.96 s
[opt-env-conf-test] showString "Setting "
1886.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1886.96 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1886.96 s
[opt-env-conf-test] ParserSetting mLoc p ->
1886.96 s
[opt-env-conf-test] showParen (d > 10) $
1886.96 s
[opt-env-conf-test] showString "Setting "
1886.96 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1886.96 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] . showSettingABit p
1886.96 s
[opt-env-conf-test]
1886.96 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
1886.96 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] . go 11 p2
1886.96 s
[opt-env-conf-test] ParserSetting mLoc p ->
1886.96 s
[opt-env-conf-test] - showParen (d > 10) $
1886.96 s
[opt-env-conf-test] + showParen (d < 10) $
1886.96 s
[opt-env-conf-test] showString "Setting "
1886.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1886.96 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1886.96 s
[opt-env-conf-test] ParserSetting mLoc p ->
1886.96 s
[opt-env-conf-test] showParen (d > 10) $
1886.96 s
[opt-env-conf-test] showString "Setting "
1886.96 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1886.96 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] . showSettingABit p
1886.96 s
[opt-env-conf-test]
1886.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1886.96 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1886.96 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1886.96 s
[opt-env-conf-test] showCommandABit Command {..} =
1886.96 s
[opt-env-conf-test] showString "Command "
1886.96 s
[opt-env-conf-test] - . showsPrec 1 1 commandArg
1886.96 s
[opt-env-conf-test] + . showsPrec 0 commandArg
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1886.96 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1886.96 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1886.96 s
[opt-env-conf-test] showCommandABit Command {..} =
1886.96 s
[opt-env-conf-test] showString "Command "
1886.96 s
[opt-env-conf-test] - . showsPrec 1 1 commandArg
1886.96 s
[opt-env-conf-test] + . showsPrec 1 commandArg
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1886.96 s
[opt-env-conf-test] . showString " "
1886.96 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1892.84 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1892.87 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1892.87 s
[opt-env-conf-test] showParen (d > 10) $
1892.87 s
[opt-env-conf-test] showString "WithConfig _ "
1892.87 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1892.87 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1892.87 s
[opt-env-conf-test] . showString " "
1892.87 s
[opt-env-conf-test] . go 11 p1
1892.87 s
[opt-env-conf-test] . showString " "
1892.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1892.87 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1892.87 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1892.87 s
[opt-env-conf-test] showCommandABit Command {..} =
1892.87 s
[opt-env-conf-test] showString "Command "
1892.87 s
[opt-env-conf-test] - . showsPrec 11 commandArg
1892.87 s
[opt-env-conf-test] + . showsPrec - 11 commandArg
1892.87 s
[opt-env-conf-test] . showString " "
1892.87 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1892.87 s
[opt-env-conf-test] . showString " "
1892.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1892.87 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1892.87 s
[opt-env-conf-test] showString "Command "
1892.87 s
[opt-env-conf-test] . showsPrec 11 commandArg
1892.87 s
[opt-env-conf-test] . showString " "
1892.87 s
[opt-env-conf-test] - . showsPrec 1 1 commandHelp
1892.88 s
[opt-env-conf-test] + . showsPrec 0 commandHelp
1892.88 s
[opt-env-conf-test] . showString " "
1892.88 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1892.88 s
[opt-env-conf-test]
1892.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1892.88 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1892.88 s
[opt-env-conf-test] ParserSetting mLoc p ->
1892.88 s
[opt-env-conf-test] showParen (d > 10) $
1892.88 s
[opt-env-conf-test] showString "Setting "
1892.88 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1892.88 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1892.88 s
[opt-env-conf-test] . showString " "
1892.88 s
[opt-env-conf-test] . showSettingABit p
1892.88 s
[opt-env-conf-test]
1892.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1892.88 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1892.88 s
[opt-env-conf-test] showString "Command "
1892.88 s
[opt-env-conf-test] . showsPrec 11 commandArg
1892.88 s
[opt-env-conf-test] . showString " "
1892.88 s
[opt-env-conf-test] - . showsPrec 11 commandHelp
1892.88 s
[opt-env-conf-test] + . showsPrec - 11 commandHelp
1892.88 s
[opt-env-conf-test] . showString " "
1892.88 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1892.88 s
[opt-env-conf-test]
1892.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1892.88 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1892.88 s
[opt-env-conf-test] showString "Commands "
1892.88 s
[opt-env-conf-test] . showsPrec 11 mLoc
1892.88 s
[opt-env-conf-test] . showString " "
1892.88 s
[opt-env-conf-test] - . showsPrec 11 mDefault
1892.88 s
[opt-env-conf-test] + . showsPrec - 11 mDefault
1892.88 s
[opt-env-conf-test] . showString " "
1892.88 s
[opt-env-conf-test] . showListWith
1892.88 s
[opt-env-conf-test] showCommandABit
1892.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1892.88 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1892.88 s
[opt-env-conf-test] . showString " "
1892.88 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1892.88 s
[opt-env-conf-test] . showString " "
1892.88 s
[opt-env-conf-test] - . showParserPrec 1 1 commandParser
1892.88 s
[opt-env-conf-test] + . showParserPrec 0 commandParser
1892.88 s
[opt-env-conf-test]
1892.88 s
[opt-env-conf-test] -- | A 'Parser' structure
1892.88 s
[opt-env-conf-test] --
1892.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1892.88 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1892.88 s
[opt-env-conf-test] . showString " "
1892.88 s
[opt-env-conf-test] . go 11 p2
1892.88 s
[opt-env-conf-test] ParserSetting mLoc p ->
1892.89 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1892.89 s
[opt-env-conf-test] + showParen (d > 1 ) $
1892.89 s
[opt-env-conf-test] showString "Setting "
1892.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1892.89 s
[opt-env-conf-test] . showString " "
1892.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1892.89 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1892.89 s
[opt-env-conf-test] . showString " "
1892.89 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1892.89 s
[opt-env-conf-test] . showString " "
1892.89 s
[opt-env-conf-test] - . showParserPrec 1 1 commandParser
1892.89 s
[opt-env-conf-test] + . showParserPrec 1 commandParser
1892.89 s
[opt-env-conf-test]
1892.89 s
[opt-env-conf-test] -- | A 'Parser' structure
1892.89 s
[opt-env-conf-test] --
1892.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1892.89 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1892.89 s
[opt-env-conf-test] . showString " "
1892.89 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1892.89 s
[opt-env-conf-test] . showString " "
1892.89 s
[opt-env-conf-test] - . showParserPrec 11 commandParser
1892.89 s
[opt-env-conf-test] + . showParserPrec - 11 commandParser
1892.89 s
[opt-env-conf-test]
1892.89 s
[opt-env-conf-test] -- | A 'Parser' structure
1892.89 s
[opt-env-conf-test] --
1892.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:297:39-40
1892.89 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
1892.89 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1892.89 s
[opt-env-conf-test]
1892.89 s
[opt-env-conf-test] showParserABit :: Parser a -> String
1892.89 s
[opt-env-conf-test] - showParserABit = flip (showParserPrec 0 ) ""
1892.89 s
[opt-env-conf-test] + showParserABit = flip (showParserPrec 1 ) ""
1892.89 s
[opt-env-conf-test]
1892.89 s
[opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
1892.89 s
[opt-env-conf-test] showParserPrec = go
1892.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1892.89 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1892.89 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1892.89 s
[opt-env-conf-test] isEmpty = \case
1892.89 s
[opt-env-conf-test] ParserPure _ -> False
1892.89 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y p f && isEmpty pa
1892.89 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e && isEmpty pa
1892.89 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1892.89 s
[opt-env-conf-test] ParserEmpty _ -> True
1892.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
1892.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
1892.89 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1892.89 s
[opt-env-conf-test] isEmpty = \case
1892.89 s
[opt-env-conf-test] ParserPure _ -> False
1892.89 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1892.89 s
[opt-env-conf-test] - ParserSelect pe pf -> i s Emp ty p e && isEmpty pf
1892.90 s
[opt-env-conf-test] + ParserSelect pe pf -> Tr u e && isEmpty pf
1892.90 s
[opt-env-conf-test] ParserEmpty _ -> True
1892.90 s
[opt-env-conf-test] ParserAlt _ _ -> False
1892.90 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1892.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
1892.90 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1892.90 s
[opt-env-conf-test] isEmpty = \case
1892.90 s
[opt-env-conf-test] ParserPure _ -> False
1892.90 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1892.90 s
[opt-env-conf-test] - ParserSelect pe pf -> i s E m pty p e && isEmpty pf
1892.90 s
[opt-env-conf-test] + ParserSelect pe pf -> F a l s e && isEmpty pf
1892.90 s
[opt-env-conf-test] ParserEmpty _ -> True
1892.90 s
[opt-env-conf-test] ParserAlt _ _ -> False
1892.90 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1892.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1892.90 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1892.90 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1892.90 s
[opt-env-conf-test] isEmpty = \case
1892.90 s
[opt-env-conf-test] ParserPure _ -> False
1892.90 s
[opt-env-conf-test] - ParserAp pf pa -> i s E m pty p f && isEmpty pa
1892.90 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e && isEmpty pa
1892.90 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1892.90 s
[opt-env-conf-test] ParserEmpty _ -> True
1892.90 s
[opt-env-conf-test] ParserAlt _ _ -> False
1892.90 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1892.90 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1892.90 s
[opt-env-conf-test] showString "Command "
1892.90 s
[opt-env-conf-test] . showsPrec 11 commandArg
1892.90 s
[opt-env-conf-test] . showString " "
1892.90 s
[opt-env-conf-test] - . showsPrec 1 1 commandHelp
1892.90 s
[opt-env-conf-test] + . showsPrec 1 commandHelp
1892.90 s
[opt-env-conf-test] . showString " "
1892.90 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1892.90 s
[opt-env-conf-test]
1892.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1892.90 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1892.90 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1892.90 s
[opt-env-conf-test] isEmpty = \case
1892.90 s
[opt-env-conf-test] ParserPure _ -> False
1892.90 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i s E m pty pa
1892.90 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && F al s e
1892.90 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1892.90 s
[opt-env-conf-test] ParserEmpty _ -> True
1892.90 s
[opt-env-conf-test] ParserAlt _ _ -> False
1892.90 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:256:29-53
1892.90 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1892.90 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1892.90 s
[opt-env-conf-test] isEmpty = \case
1892.90 s
[opt-env-conf-test] ParserPure _ -> False
1892.90 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf & & isEmpty pa
1892.90 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf | | isEmpty pa
1892.90 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1892.90 s
[opt-env-conf-test] ParserEmpty _ -> True
1892.90 s
[opt-env-conf-test] ParserAlt _ _ -> False
1892.90 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1892.90 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1892.90 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1892.90 s
[opt-env-conf-test] showParen (d > 10) $
1892.90 s
[opt-env-conf-test] showString "WithConfig _ "
1892.90 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1892.90 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1892.90 s
[opt-env-conf-test] . showString " "
1892.91 s
[opt-env-conf-test] . go 11 p1
1892.91 s
[opt-env-conf-test] . showString " "
1892.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-53
1892.91 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1892.91 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1892.91 s
[opt-env-conf-test] isEmpty = \case
1892.91 s
[opt-env-conf-test] ParserPure _ -> False
1896.72 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1896.72 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf && isEmpty pa )
1896.72 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1896.72 s
[opt-env-conf-test] ParserEmpty _ -> True
1896.72 s
[opt-env-conf-test] ParserAlt _ _ -> False
1896.72 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
1896.72 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1896.72 s
[opt-env-conf-test] . showString " "
1896.72 s
[opt-env-conf-test] . go 11 p2
1896.72 s
[opt-env-conf-test] ParserSetting mLoc p ->
1896.72 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1896.72 s
[opt-env-conf-test] + showParen T ru e $
1896.72 s
[opt-env-conf-test] showString "Setting "
1896.72 s
[opt-env-conf-test] . showsPrec 11 mLoc
1896.72 s
[opt-env-conf-test] . showString " "
1896.72 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1896.72 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1896.72 s
[opt-env-conf-test] . showString " "
1896.72 s
[opt-env-conf-test] . go 11 p1
1896.72 s
[opt-env-conf-test] . showString " "
1896.72 s
[opt-env-conf-test] - . go 1 1 p2
1896.72 s
[opt-env-conf-test] + . go 1 p2
1896.72 s
[opt-env-conf-test] ParserSetting mLoc p ->
1896.72 s
[opt-env-conf-test] showParen (d > 10) $
1896.72 s
[opt-env-conf-test] showString "Setting "
1896.72 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1896.72 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1896.72 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1896.72 s
[opt-env-conf-test] isEmpty = \case
1896.72 s
[opt-env-conf-test] ParserPure _ -> False
1896.72 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i sE mpt y p a
1896.72 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && T ru e
1896.72 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1896.72 s
[opt-env-conf-test] ParserEmpty _ -> True
1896.72 s
[opt-env-conf-test] ParserAlt _ _ -> False
1896.73 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1896.73 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1896.73 s
[opt-env-conf-test] . showString " "
1896.73 s
[opt-env-conf-test] . go 11 p1
1896.73 s
[opt-env-conf-test] . showString " "
1896.73 s
[opt-env-conf-test] - . go 1 1 p2
1896.73 s
[opt-env-conf-test] + . go 0 p2
1896.73 s
[opt-env-conf-test] ParserSetting mLoc p ->
1896.73 s
[opt-env-conf-test] showParen (d > 10) $
1896.73 s
[opt-env-conf-test] showString "Setting "
1896.73 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1896.73 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1896.73 s
[opt-env-conf-test] showString "WithConfig _ "
1896.73 s
[opt-env-conf-test] . showsPrec 11 mLoc
1896.73 s
[opt-env-conf-test] . showString " "
1896.73 s
[opt-env-conf-test] - . go 1 1 p1
1896.73 s
[opt-env-conf-test] + . go 0 p1
1896.73 s
[opt-env-conf-test] . showString " "
1896.73 s
[opt-env-conf-test] . go 11 p2
1896.73 s
[opt-env-conf-test] ParserSetting mLoc p ->
1896.73 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1896.73 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1896.73 s
[opt-env-conf-test] showString "WithConfig _ "
1896.73 s
[opt-env-conf-test] . showsPrec 11 mLoc
1896.73 s
[opt-env-conf-test] . showString " "
1896.73 s
[opt-env-conf-test] - . go 1 1 p1
1896.73 s
[opt-env-conf-test] + . go 1 p1
1896.73 s
[opt-env-conf-test] . showString " "
1896.73 s
[opt-env-conf-test] . go 11 p2
1896.73 s
[opt-env-conf-test] ParserSetting mLoc p ->
1896.73 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1896.73 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1896.73 s
[opt-env-conf-test] showString "WithConfig _ "
1896.73 s
[opt-env-conf-test] . showsPrec 11 mLoc
1896.73 s
[opt-env-conf-test] . showString " "
1896.73 s
[opt-env-conf-test] - . go 11 p1
1896.73 s
[opt-env-conf-test] + . go - 11 p1
1896.73 s
[opt-env-conf-test] . showString " "
1896.73 s
[opt-env-conf-test] . go 11 p2
1896.73 s
[opt-env-conf-test] ParserSetting mLoc p ->
1896.73 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-43
1896.73 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1896.73 s
[opt-env-conf-test] isEmpty = \case
1896.73 s
[opt-env-conf-test] ParserPure _ -> False
1896.73 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1896.73 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1896.73 s
[opt-env-conf-test] + ParserSelect pe pf -> n o t ( isEmpty pe ) && isEmpty pf
1896.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1896.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1896.74 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1896.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
1896.74 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1896.74 s
[opt-env-conf-test] isEmpty = \case
1896.74 s
[opt-env-conf-test] ParserPure _ -> False
1896.74 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1896.74 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && i s E m pty pf
1896.74 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && F al s e
1896.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1896.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1896.74 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1896.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
1896.74 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1896.74 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1896.74 s
[opt-env-conf-test] isEmpty = \case
1896.74 s
[opt-env-conf-test] ParserPure _ -> False
1896.74 s
[opt-env-conf-test] - ParserAp pf pa -> i s Emp ty pf && isEmpty pa
1896.74 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e
1896.74 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1896.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1896.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1896.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
1896.74 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1896.74 s
[opt-env-conf-test] . showString " "
1896.74 s
[opt-env-conf-test] . go 11 p2
1896.74 s
[opt-env-conf-test] ParserSetting mLoc p ->
1896.74 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1896.74 s
[opt-env-conf-test] + showParen ( Tru e ) $
1896.74 s
[opt-env-conf-test] showString "Setting "
1896.74 s
[opt-env-conf-test] . showsPrec 11 mLoc
1896.74 s
[opt-env-conf-test] . showString " "
1896.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
1896.74 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1896.74 s
[opt-env-conf-test] . showString " "
1896.74 s
[opt-env-conf-test] . go 11 p2
1896.74 s
[opt-env-conf-test] ParserSetting mLoc p ->
1896.74 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1896.74 s
[opt-env-conf-test] + showParen ( F a lse ) $
1896.74 s
[opt-env-conf-test] showString "Setting "
1896.74 s
[opt-env-conf-test] . showsPrec 11 mLoc
1896.74 s
[opt-env-conf-test] . showString " "
1896.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
1896.74 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1896.74 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1896.74 s
[opt-env-conf-test] isEmpty = \case
1896.74 s
[opt-env-conf-test] ParserPure _ -> False
1896.74 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y pf && isEmpt y p a
1896.74 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e
1896.74 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1896.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1896.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1896.74 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-39
1896.74 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1896.74 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1896.74 s
[opt-env-conf-test] isEmpty = \case
1896.74 s
[opt-env-conf-test] ParserPure _ -> False
1896.74 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1896.75 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf ) && isEmpty pa
1896.75 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1896.75 s
[opt-env-conf-test] ParserEmpty _ -> True
1896.75 s
[opt-env-conf-test] ParserAlt _ _ -> False
1896.75 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:43-53
1896.75 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1896.75 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1896.75 s
[opt-env-conf-test] isEmpty = \case
1896.75 s
[opt-env-conf-test] ParserPure _ -> False
1896.75 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1896.75 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && n o t ( isEmpty pa )
1896.75 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1896.75 s
[opt-env-conf-test] ParserEmpty _ -> True
1896.75 s
[opt-env-conf-test] ParserAlt _ _ -> False
1896.75 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:255:27-32
1896.75 s
[opt-env-conf-test] @@ -252,7 +252,7 @@
1896.75 s
[opt-env-conf-test] (<|>) p1 p2 =
1896.75 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1896.75 s
[opt-env-conf-test] isEmpty = \case
1896.75 s
[opt-env-conf-test] - ParserPure _ -> F al s e
1896.75 s
[opt-env-conf-test] + ParserPure _ -> T ru e
1896.75 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1896.75 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1896.75 s
[opt-env-conf-test] ParserEmpty _ -> True
1896.75 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
1896.75 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1896.75 s
[opt-env-conf-test] isEmpty = \case
1896.75 s
[opt-env-conf-test] ParserPure _ -> False
1896.75 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1898.80 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && i sE mpt y p f
1898.88 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && T ru e
1898.88 s
[opt-env-conf-test] ParserEmpty _ -> True
1898.88 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.88 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:47-57
1898.88 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1898.88 s
[opt-env-conf-test] isEmpty = \case
1898.88 s
[opt-env-conf-test] ParserPure _ -> False
1898.88 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1898.88 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1898.88 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && n o t ( isEmpty pf )
1898.88 s
[opt-env-conf-test] ParserEmpty _ -> True
1898.88 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.88 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.88 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
1898.88 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1898.88 s
[opt-env-conf-test] . showString " "
1898.88 s
[opt-env-conf-test] . go 11 p2
1898.88 s
[opt-env-conf-test] ParserSetting mLoc p ->
1898.88 s
[opt-env-conf-test] - showParen (d > 10) $
1898.88 s
[opt-env-conf-test] + showParen (d < = 10) $
1898.88 s
[opt-env-conf-test] showString "Setting "
1898.88 s
[opt-env-conf-test] . showsPrec 11 mLoc
1898.88 s
[opt-env-conf-test] . showString " "
1898.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
1898.88 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1898.88 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1898.88 s
[opt-env-conf-test] ParserEmpty _ -> True
1898.88 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.88 s
[opt-env-conf-test] - ParserMany _ p -> i s E m pty p
1898.88 s
[opt-env-conf-test] + ParserMany _ p -> F a l s e
1898.88 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1898.88 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1898.88 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1898.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
1898.88 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1898.88 s
[opt-env-conf-test] ParserEmpty _ -> True
1898.88 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.88 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.88 s
[opt-env-conf-test] - ParserSome _ p -> i s E m pty p
1898.88 s
[opt-env-conf-test] + ParserSome _ p -> F a l s e
1898.88 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1898.88 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1898.88 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1898.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:261:29-38
1898.88 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1898.88 s
[opt-env-conf-test] ParserEmpty _ -> True
1898.88 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.88 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.88 s
[opt-env-conf-test] - ParserSome _ p -> isEmpty p
1898.88 s
[opt-env-conf-test] + ParserSome _ p -> n o t ( isEmpty p )
1898.89 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1898.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
1898.89 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1898.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.89 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> i s E m pty p
1898.89 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> F a l s e
1898.89 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1898.89 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1898.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
1898.89 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1898.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.89 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isE mpty p
1898.89 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> T r ue
1898.89 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1898.89 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1898.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:260:29-38
1898.89 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1898.89 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1898.89 s
[opt-env-conf-test] ParserEmpty _ -> True
1898.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.89 s
[opt-env-conf-test] - ParserMany _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] + ParserMany _ p -> n o t ( isEmpty p )
1898.89 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:262:37-46
1898.89 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1898.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.89 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> n o t ( isEmpty p )
1898.89 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1898.89 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1898.89 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:258:28-32
1898.89 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1898.89 s
[opt-env-conf-test] ParserPure _ -> False
1898.89 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1898.89 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1898.89 s
[opt-env-conf-test] - ParserEmpty _ -> Tr u e
1898.89 s
[opt-env-conf-test] + ParserEmpty _ -> F a ls e
1898.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.89 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:257:33-57
1898.89 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1898.89 s
[opt-env-conf-test] isEmpty = \case
1898.89 s
[opt-env-conf-test] ParserPure _ -> False
1898.89 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1898.89 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe & & isEmpty pf
1898.89 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe | | isEmpty pf
1898.89 s
[opt-env-conf-test] ParserEmpty _ -> True
1898.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.89 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
1898.89 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1898.89 s
[opt-env-conf-test] isEmpty = \case
1898.89 s
[opt-env-conf-test] ParserPure _ -> False
1898.89 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1898.89 s
[opt-env-conf-test] - ParserSelect pe pf -> i s Emp ty p e & & isEmpty pf
1898.89 s
[opt-env-conf-test] + ParserSelect pe pf -> F al s e
1898.89 s
[opt-env-conf-test] ParserEmpty _ -> True
1898.89 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.89 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
1898.89 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1898.89 s
[opt-env-conf-test] isEmpty = \case
1898.89 s
[opt-env-conf-test] ParserPure _ -> False
1898.89 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1898.89 s
[opt-env-conf-test] - ParserSelect pe pf -> i sEm pty p e && isEmpty pf
1898.89 s
[opt-env-conf-test] + ParserSelect pe pf -> T ru e
1898.89 s
[opt-env-conf-test] ParserEmpty _ -> True
1898.90 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.90 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.90 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-57
1898.90 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1898.90 s
[opt-env-conf-test] isEmpty = \case
1898.90 s
[opt-env-conf-test] ParserPure _ -> False
1898.90 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1898.90 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1898.90 s
[opt-env-conf-test] + ParserSelect pe pf -> n o t ( isEmpty pe && isEmpty pf )
1898.90 s
[opt-env-conf-test] ParserEmpty _ -> True
1898.90 s
[opt-env-conf-test] ParserAlt _ _ -> False
1898.90 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.90 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:259:28-33
1898.90 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1898.90 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1898.90 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1898.90 s
[opt-env-conf-test] ParserEmpty _ -> True
1898.90 s
[opt-env-conf-test] - ParserAlt _ _ -> F al s e
1898.90 s
[opt-env-conf-test] + ParserAlt _ _ -> T ru e
1898.90 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1898.90 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1898.90 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1898.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
1902.30 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1902.30 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1902.30 s
[opt-env-conf-test] ParserEmpty _ -> True
1902.30 s
[opt-env-conf-test] ParserAlt _ _ -> False
1902.30 s
[opt-env-conf-test] - ParserMany _ p -> isE mpty p
1902.30 s
[opt-env-conf-test] + ParserMany _ p -> T r ue
1902.30 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
1902.31 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1902.31 s
[opt-env-conf-test] ParserEmpty _ -> True
1902.31 s
[opt-env-conf-test] ParserAlt _ _ -> False
1902.31 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] - ParserSome _ p -> isE mpty p
1902.31 s
[opt-env-conf-test] + ParserSome _ p -> T r ue
1902.31 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1902.31 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-49
1902.31 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1902.31 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1902.31 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1902.31 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> n o t ( isEmpty pc ) && isEmpty ps
1902.31 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.31 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1902.31 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1902.31 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
1902.31 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1902.31 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1902.31 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && i sE mpt y p s
1902.31 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && T ru e
1902.31 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.31 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1902.31 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1902.31 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
1902.31 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1902.31 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.31 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1902.31 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && i s E m pty ps
1902.31 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && F al s e
1902.31 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.31 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1902.31 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1902.31 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
1902.31 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1902.32 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1902.32 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i s E m pty p c && isEmpty ps
1902.32 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> F al s e && isEmpty ps
1902.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.32 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1902.32 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1902.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
1902.32 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1902.32 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isE mpty p
1902.32 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> T r ue
1902.32 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1902.32 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1902.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
1902.32 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1902.32 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l c s
1902.32 s
[opt-env-conf-test] + ParserCommands _ _ cs -> F a l s e
1902.32 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1902.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.32 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1902.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
1902.32 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1902.32 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> i s E m pty p
1902.32 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> F a l s e
1902.32 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1902.32 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1902.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.32 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:263:36-45
1902.32 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1902.32 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> n o t ( isEmpty p )
1902.32 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1902.32 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1902.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
1902.32 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1902.32 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l cs
1902.32 s
[opt-env-conf-test] + ParserCommands _ _ cs -> T r u e
1902.32 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1902.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.32 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1902.32 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:264:36-43
1902.32 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1902.32 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] - ParserCommands _ _ cs -> null cs
1902.32 s
[opt-env-conf-test] + ParserCommands _ _ cs -> n o t ( null cs )
1902.32 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1902.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.32 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1902.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
1902.32 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1902.32 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1902.32 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i sE mpt y p c && isEmpty ps
1902.32 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> T ru e && isEmpty ps
1902.32 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.32 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1902.32 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1902.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
1902.32 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1902.32 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.32 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1902.32 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i sE mpt y pc && isEmpt y p s
1902.33 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> T ru e
1902.33 s
[opt-env-conf-test] ParserSetting _ _ -> False
1902.33 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1902.33 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1902.33 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:266:32-37
1902.33 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1902.33 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1902.33 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1905.11 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1905.11 s
[opt-env-conf-test] - ParserSetting _ _ -> F al s e
1905.18 s
[opt-env-conf-test] + ParserSetting _ _ -> T ru e
1905.18 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1905.18 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1905.18 s
[opt-env-conf-test] (True, False) -> p2
1905.18 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-63
1905.18 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1905.18 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1905.18 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1905.18 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1905.18 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1905.18 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> n o t ( isEmpty pc && isEmpty ps )
1905.18 s
[opt-env-conf-test] ParserSetting _ _ -> False
1905.18 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1905.18 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1905.18 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:15-25
1905.18 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1905.18 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1905.18 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1905.18 s
[opt-env-conf-test] ParserSetting _ _ -> False
1905.18 s
[opt-env-conf-test] - in case (isEmpty p1 , isEmpty p2) of
1905.19 s
[opt-env-conf-test] + in case ( n ot (isEmpty p1 ) , isEmpty p2) of
1905.19 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1905.19 s
[opt-env-conf-test] (True, False) -> p2
1905.19 s
[opt-env-conf-test] (False, True) -> p1
1905.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
1905.19 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1905.19 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1905.19 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1905.19 s
[opt-env-conf-test] ParserSetting _ _ -> False
1905.19 s
[opt-env-conf-test] - in case (isEmpty p1, i sE mpt y p 2 ) of
1905.19 s
[opt-env-conf-test] + in case (isEmpty p1, T ru e ) of
1905.19 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1905.19 s
[opt-env-conf-test] (True, False) -> p2
1905.19 s
[opt-env-conf-test] (False, True) -> p1
1905.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
1905.19 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1905.19 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1905.19 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1905.19 s
[opt-env-conf-test] ParserSetting _ _ -> False
1905.19 s
[opt-env-conf-test] - in case ( i s Em pty p 1 , isEmpty p2) of
1905.19 s
[opt-env-conf-test] + in case ( True , isEmpty p2) of
1905.19 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1905.19 s
[opt-env-conf-test] (True, False) -> p2
1905.19 s
[opt-env-conf-test] (False, True) -> p1
1905.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
1905.19 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1905.19 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1905.19 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1905.19 s
[opt-env-conf-test] ParserSetting _ _ -> False
1905.19 s
[opt-env-conf-test] - in case ( i s E m pty p 1 , isEmpty p2) of
1905.19 s
[opt-env-conf-test] + in case ( F al s e , isEmpty p2) of
1905.19 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1905.19 s
[opt-env-conf-test] (True, False) -> p2
1905.19 s
[opt-env-conf-test] (False, True) -> p1
1905.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1905.19 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1905.19 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1905.19 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1905.19 s
[opt-env-conf-test] ParserSetting _ _ -> False
1905.19 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1905.19 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1905.19 s
[opt-env-conf-test] (True, False) -> p2
1905.19 s
[opt-env-conf-test] - (False, True) -> p1
1905.19 s
[opt-env-conf-test] (False, False) ->
1905.19 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1905.19 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1905.19 s
[opt-env-conf-test] -- alts to always be right-leaning
1905.19 s
[opt-env-conf-test] --
1905.19 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1905.19 s
[opt-env-conf-test] -- p
1905.19 s
[opt-env-conf-test] -- / \
1905.19 s
[opt-env-conf-test] -- p1 p2
1905.19 s
[opt-env-conf-test] -- / \
1905.19 s
[opt-env-conf-test] -- p3 p4
1905.19 s
[opt-env-conf-test] --
1905.20 s
[opt-env-conf-test] -- We need to rearrange it to
1905.20 s
[opt-env-conf-test] -- p
1905.20 s
[opt-env-conf-test] -- / \
1905.20 s
[opt-env-conf-test] -- p1 ++ p3 p4
1905.20 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1905.20 s
[opt-env-conf-test] go (go p1' p3') p4'
1905.20 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1905.20 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1905.20 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1905.20 s
[opt-env-conf-test] in go p1 p2
1905.20 s
[opt-env-conf-test] many = ParserMany Nothing
1905.20 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1905.20 s
[opt-env-conf-test]
1905.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1905.20 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1905.20 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1905.20 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1905.20 s
[opt-env-conf-test] ParserSetting _ _ -> False
1905.20 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1905.20 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1905.20 s
[opt-env-conf-test] - (True, False) -> p2
1905.20 s
[opt-env-conf-test] (False, True) -> p1
1905.20 s
[opt-env-conf-test] (False, False) ->
1905.20 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1905.20 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1905.20 s
[opt-env-conf-test] -- alts to always be right-leaning
1905.20 s
[opt-env-conf-test] --
1905.20 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1905.20 s
[opt-env-conf-test] -- p
1905.20 s
[opt-env-conf-test] -- / \
1905.20 s
[opt-env-conf-test] -- p1 p2
1905.20 s
[opt-env-conf-test] -- / \
1905.20 s
[opt-env-conf-test] -- p3 p4
1905.20 s
[opt-env-conf-test] --
1905.20 s
[opt-env-conf-test] -- We need to rearrange it to
1905.20 s
[opt-env-conf-test] -- p
1905.20 s
[opt-env-conf-test] -- / \
1905.20 s
[opt-env-conf-test] -- p1 ++ p3 p4
1905.20 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1905.20 s
[opt-env-conf-test] go (go p1' p3') p4'
1905.20 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1905.20 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1905.20 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1905.20 s
[opt-env-conf-test] in go p1 p2
1905.20 s
[opt-env-conf-test] many = ParserMany Nothing
1905.20 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1905.20 s
[opt-env-conf-test]
1905.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
1905.20 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
1905.20 s
[opt-env-conf-test]
1905.20 s
[opt-env-conf-test] instance Applicative Parser where
1905.20 s
[opt-env-conf-test] pure = ParserPure
1905.20 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
1905.20 s
[opt-env-conf-test] -- Homomorphism law for applicative
1905.20 s
[opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
1905.20 s
[opt-env-conf-test] _ -> ParserAp p1 p2
1905.20 s
[opt-env-conf-test]
1905.20 s
[opt-env-conf-test] instance Selective Parser where
1905.20 s
[opt-env-conf-test] select = ParserSelect
1905.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
1905.20 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1905.20 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1905.20 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1905.20 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1905.20 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
1905.21 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc T r u e caps (fmap (fmap f) . g) p
1905.21 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1905.21 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1905.21 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1905.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1905.21 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1905.21 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1905.21 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1905.21 s
[opt-env-conf-test] ParserSetting _ _ -> False
1905.21 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1905.21 s
[opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
1905.21 s
[opt-env-conf-test] (True, False) -> p2
1905.21 s
[opt-env-conf-test] (False, True) -> p1
1905.21 s
[opt-env-conf-test] (False, False) ->
1905.21 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1905.21 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1905.21 s
[opt-env-conf-test] -- alts to always be right-leaning
1905.21 s
[opt-env-conf-test] --
1905.21 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1905.21 s
[opt-env-conf-test] -- p
1905.21 s
[opt-env-conf-test] -- / \
1905.21 s
[opt-env-conf-test] -- p1 p2
1905.21 s
[opt-env-conf-test] -- / \
1907.27 s
[opt-env-conf-test] -- p3 p4
1907.27 s
[opt-env-conf-test] --
1907.27 s
[opt-env-conf-test] -- We need to rearrange it to
1907.27 s
[opt-env-conf-test] -- p
1907.27 s
[opt-env-conf-test] -- / \
1907.27 s
[opt-env-conf-test] -- p1 ++ p3 p4
1907.27 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1907.27 s
[opt-env-conf-test] go (go p1' p3') p4'
1907.27 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1907.27 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1907.27 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1907.27 s
[opt-env-conf-test] in go p1 p2
1907.27 s
[opt-env-conf-test] many = ParserMany Nothing
1907.27 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1907.27 s
[opt-env-conf-test]
1907.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
1907.27 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
1907.27 s
[opt-env-conf-test]
1907.27 s
[opt-env-conf-test] instance Applicative Parser where
1907.27 s
[opt-env-conf-test] pure = ParserPure
1907.27 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
1907.27 s
[opt-env-conf-test] -- Homomorphism law for applicative
1907.27 s
[opt-env-conf-test] (ParserPure f, ParserPure a) -> ParserPure (f a)
1907.27 s
[opt-env-conf-test] - _ -> ParserAp p1 p2
1907.27 s
[opt-env-conf-test]
1907.27 s
[opt-env-conf-test] instance Selective Parser where
1907.27 s
[opt-env-conf-test] select = ParserSelect
1907.27 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:27-37
1907.27 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1907.27 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1907.27 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1907.27 s
[opt-env-conf-test] ParserSetting _ _ -> False
1907.27 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
1907.27 s
[opt-env-conf-test] + in case (isEmpty p1, n o t ( isEmpty p2) ) of
1907.27 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1907.27 s
[opt-env-conf-test] (True, False) -> p2
1907.27 s
[opt-env-conf-test] (False, True) -> p1
1907.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1907.27 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1907.27 s
[opt-env-conf-test] (True, False) -> p2
1907.27 s
[opt-env-conf-test] (False, True) -> p1
1907.27 s
[opt-env-conf-test] (False, False) ->
1907.27 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1907.28 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1907.28 s
[opt-env-conf-test] -- alts to always be right-leaning
1907.28 s
[opt-env-conf-test] --
1907.28 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1907.28 s
[opt-env-conf-test] -- p
1907.28 s
[opt-env-conf-test] -- / \
1907.28 s
[opt-env-conf-test] -- p1 p2
1907.28 s
[opt-env-conf-test] -- / \
1907.28 s
[opt-env-conf-test] -- p3 p4
1907.28 s
[opt-env-conf-test] --
1907.28 s
[opt-env-conf-test] -- We need to rearrange it to
1907.28 s
[opt-env-conf-test] -- p
1907.28 s
[opt-env-conf-test] -- / \
1907.28 s
[opt-env-conf-test] -- p1 ++ p3 p4
1907.28 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1907.28 s
[opt-env-conf-test] go (go p1' p3') p4'
1907.28 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1907.28 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1907.28 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1907.28 s
[opt-env-conf-test] in go p1 p2
1907.28 s
[opt-env-conf-test] many = ParserMany Nothing
1907.28 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1907.28 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
1907.28 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1907.28 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1907.28 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1907.28 s
[opt-env-conf-test] ParserSetting _ _ -> False
1907.28 s
[opt-env-conf-test] - in case (isEmpty p1, i s E m pty p 2 ) of
1907.28 s
[opt-env-conf-test] + in case (isEmpty p1, F al s e ) of
1907.28 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1907.28 s
[opt-env-conf-test] (True, False) -> p2
1907.28 s
[opt-env-conf-test] (False, True) -> p1
1907.28 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1907.28 s
[opt-env-conf-test] @@ -269,26 +269,25 @@
1907.28 s
[opt-env-conf-test] (True, False) -> p2
1907.28 s
[opt-env-conf-test] (False, True) -> p1
1907.28 s
[opt-env-conf-test] (False, False) ->
1907.28 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1907.28 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1907.28 s
[opt-env-conf-test] -- alts to always be right-leaning
1907.28 s
[opt-env-conf-test] --
1907.28 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1907.28 s
[opt-env-conf-test] -- p
1907.28 s
[opt-env-conf-test] -- / \
1907.28 s
[opt-env-conf-test] -- p1 p2
1907.28 s
[opt-env-conf-test] -- / \
1907.28 s
[opt-env-conf-test] -- p3 p4
1907.28 s
[opt-env-conf-test] --
1907.28 s
[opt-env-conf-test] -- We need to rearrange it to
1907.28 s
[opt-env-conf-test] -- p
1907.28 s
[opt-env-conf-test] -- / \
1907.28 s
[opt-env-conf-test] -- p1 ++ p3 p4
1907.28 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1907.28 s
[opt-env-conf-test] go (go p1' p3') p4'
1907.28 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1907.28 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1907.28 s
[opt-env-conf-test] - _ -> ParserAlt p1' p2'
1907.28 s
[opt-env-conf-test] in go p1 p2
1907.28 s
[opt-env-conf-test] many = ParserMany Nothing
1907.28 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1907.28 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:238:20-25
1907.28 s
[opt-env-conf-test] @@ -235,7 +235,7 @@
1907.28 s
[opt-env-conf-test] lintParser =
1907.28 s
[opt-env-conf-test] either Just (const Nothing)
1907.28 s
[opt-env-conf-test] . validationToEither
1907.28 s
[opt-env-conf-test] - . (`runReader` F al s e) -- Set to true for parsers that have a way to load conf
1907.28 s
[opt-env-conf-test] + . (`runReader` T ru e) -- Set to true for parsers that have a way to load conf
1907.28 s
[opt-env-conf-test] . runValidationT
1907.28 s
[opt-env-conf-test] . go
1907.28 s
[opt-env-conf-test] where
1907.28 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:238:30-34
1907.28 s
[opt-env-conf-test] @@ -235,7 +235,7 @@
1907.28 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1907.28 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1907.28 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1907.28 s
[opt-env-conf-test] - p -> ParserCheck Nothing Tr u e Set.empty (pure . Right . f) p
1907.28 s
[opt-env-conf-test] + p -> ParserCheck Nothing F a ls e Set.empty (pure . Right . f) p
1907.28 s
[opt-env-conf-test]
1907.28 s
[opt-env-conf-test] instance Applicative Parser where
1907.28 s
[opt-env-conf-test] pure = ParserPure
1907.28 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:234:62-72
1907.28 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1907.28 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1907.28 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1907.28 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1907.28 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
1907.28 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc n o t ( forgivable ) caps (fmap (fmap f) . g) p
1907.28 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1907.28 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1907.28 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1907.28 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1907.28 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1907.28 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1907.28 s
[opt-env-conf-test] c1 <- go p1
1907.28 s
[opt-env-conf-test] c2 <- go p2
1907.28 s
[opt-env-conf-test] - pure ( c 1 || c2)
1907.28 s
[opt-env-conf-test] + pure ( T ru e || c2)
1907.28 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1907.28 s
[opt-env-conf-test] c1 <- go p1
1907.28 s
[opt-env-conf-test] c2 <- go p2
1907.28 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:246:28-33
1907.28 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1907.28 s
[opt-env-conf-test] -- 'many' is allowed only when every parse below consumes something.
1907.28 s
[opt-env-conf-test] go :: Parser a -> ValidationT LintError (Reader Bool) Bool
1907.28 s
[opt-env-conf-test] go = \case
1907.28 s
[opt-env-conf-test] - ParserPure _ -> pure F al s e
1907.28 s
[opt-env-conf-test] + ParserPure _ -> pure T ru e
1907.28 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1907.28 s
[opt-env-conf-test] c1 <- go p1
1907.28 s
[opt-env-conf-test] c2 <- go p2
1907.28 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1907.28 s
[opt-env-conf-test] @@ -264,32 +264,10 @@
1907.28 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1907.28 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1907.28 s
[opt-env-conf-test] ParserSetting _ _ -> False
1907.28 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1907.28 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1907.28 s
[opt-env-conf-test] (True, False) -> p2
1907.28 s
[opt-env-conf-test] (False, True) -> p1
1907.28 s
[opt-env-conf-test] - (False, False) ->
1907.28 s
[opt-env-conf-test] - let go p1' p2' = case (p1', p2') of
1907.28 s
[opt-env-conf-test] - -- <|> needs to be associative, so we need to reorder the
1907.29 s
[opt-env-conf-test] - -- alts to always be right-leaning
1907.29 s
[opt-env-conf-test] - --
1907.29 s
[opt-env-conf-test] - -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1910.57 s
[opt-env-conf-test] - -- p
1910.65 s
[opt-env-conf-test] - -- / \
1910.65 s
[opt-env-conf-test] - -- p1 p2
1910.65 s
[opt-env-conf-test] - -- / \
1910.65 s
[opt-env-conf-test] - -- p3 p4
1910.65 s
[opt-env-conf-test] - --
1910.65 s
[opt-env-conf-test] - -- We need to rearrange it to
1910.65 s
[opt-env-conf-test] - -- p
1910.65 s
[opt-env-conf-test] - -- / \
1910.65 s
[opt-env-conf-test] - -- p1 ++ p3 p4
1910.65 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
1910.65 s
[opt-env-conf-test] - go (go p1' p3') p4'
1910.65 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1910.65 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1910.65 s
[opt-env-conf-test] - _ -> ParserAlt p1' p2'
1910.65 s
[opt-env-conf-test] - in go p1 p2
1910.65 s
[opt-env-conf-test] many = ParserMany Nothing
1910.65 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1910.65 s
[opt-env-conf-test]
1910.65 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1910.65 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1910.65 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1910.65 s
[opt-env-conf-test] c1 <- go p1
1910.65 s
[opt-env-conf-test] c2 <- go p2
1910.65 s
[opt-env-conf-test] - pure (c1 || c 2 )
1910.65 s
[opt-env-conf-test] + pure (c1 || T ru e )
1910.65 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1910.65 s
[opt-env-conf-test] c1 <- go p1
1910.65 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-17
1910.66 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1910.66 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] - pure (c1 || c2)
1910.66 s
[opt-env-conf-test] + pure ( n ot (c1 ) || c2)
1910.66 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1910.66 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1910.66 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] - pure ( c 1 || c2)
1910.66 s
[opt-env-conf-test] + pure ( F a ls e || c2)
1910.66 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1910.66 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1910.66 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] - pure (c1 || c 2 )
1910.66 s
[opt-env-conf-test] + pure (c1 || F a ls e )
1910.66 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1910.66 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1910.66 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
1910.66 s
[opt-env-conf-test] + pure ( F a ls e )
1910.66 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:250:15-23
1910.66 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1910.66 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] - pure (c1 | | c2)
1910.66 s
[opt-env-conf-test] + pure (c1 & & c2)
1910.66 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1910.66 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1910.66 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
1910.66 s
[opt-env-conf-test] + pure ( T ru e )
1910.66 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1910.66 s
[opt-env-conf-test] c1 <- go p1
1910.66 s
[opt-env-conf-test] c2 <- go p2
1910.66 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1910.67 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1910.67 s
[opt-env-conf-test] (True, False) -> p2
1910.67 s
[opt-env-conf-test] (False, True) -> p1
1910.67 s
[opt-env-conf-test] (False, False) ->
1910.67 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1910.67 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1910.67 s
[opt-env-conf-test] -- alts to always be right-leaning
1910.67 s
[opt-env-conf-test] --
1910.67 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1910.67 s
[opt-env-conf-test] -- p
1910.67 s
[opt-env-conf-test] -- / \
1910.67 s
[opt-env-conf-test] -- p1 p2
1910.67 s
[opt-env-conf-test] -- / \
1910.67 s
[opt-env-conf-test] -- p3 p4
1910.67 s
[opt-env-conf-test] --
1910.67 s
[opt-env-conf-test] -- We need to rearrange it to
1910.67 s
[opt-env-conf-test] -- p
1910.67 s
[opt-env-conf-test] -- / \
1910.67 s
[opt-env-conf-test] -- p1 ++ p3 p4
1910.67 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
1910.67 s
[opt-env-conf-test] - go (go p1' p3') p4'
1910.67 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1910.67 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1910.67 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1910.67 s
[opt-env-conf-test] in go p1 p2
1910.67 s
[opt-env-conf-test] many = ParserMany Nothing
1910.67 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1910.67 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:265:39-63
1910.67 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1910.67 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1910.67 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1910.67 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1910.67 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc & & isEmpty ps
1910.67 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc | | isEmpty ps
1910.67 s
[opt-env-conf-test] ParserSetting _ _ -> False
1910.67 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1910.67 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1910.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
1910.67 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1910.67 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1910.67 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1910.67 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1910.67 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
1910.67 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc F a l s e caps (fmap (fmap f) . g) p
1910.67 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1910.67 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1910.67 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1910.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
1910.67 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1910.67 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1910.67 s
[opt-env-conf-test] c1 <- go p1
1910.67 s
[opt-env-conf-test] c2 <- go p2
1910.67 s
[opt-env-conf-test] - pure (c1 || c 2 ) -- TODO: is this right?
1910.67 s
[opt-env-conf-test] + pure (c1 || T ru e ) -- TODO: is this right?
1910.67 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1910.67 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1910.67 s
[opt-env-conf-test] c1 <- go p1
1910.67 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:21-23
1910.67 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1910.67 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1910.67 s
[opt-env-conf-test] c1 <- go p1
1910.67 s
[opt-env-conf-test] c2 <- go p2
1910.67 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1910.67 s
[opt-env-conf-test] + pure (c1 || n o t ( c2) ) -- TODO: is this right?
1910.67 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1910.67 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1910.67 s
[opt-env-conf-test] c1 <- go p1
1910.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
1910.67 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1910.67 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1910.67 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1910.67 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1910.67 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i s Emp ty pc && isEmpty ps
1910.67 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> F al s e
1910.67 s
[opt-env-conf-test] ParserSetting _ _ -> False
1910.67 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1910.67 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1910.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
1910.67 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1910.67 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1910.67 s
[opt-env-conf-test] c1 <- go p1
1910.67 s
[opt-env-conf-test] c2 <- go p2
1910.67 s
[opt-env-conf-test] - pure ( c 1 || c 2 ) -- TODO: is this right?
1910.67 s
[opt-env-conf-test] + pure ( T ru e ) -- TODO: is this right?
1910.67 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1910.67 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1910.67 s
[opt-env-conf-test] c1 <- go p1
1914.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-17
1914.23 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1914.23 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1914.23 s
[opt-env-conf-test] c1 <- go p1
1914.23 s
[opt-env-conf-test] c2 <- go p2
1914.23 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1914.23 s
[opt-env-conf-test] + pure ( n ot (c1 ) || c2) -- TODO: is this right?
1914.23 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1914.23 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1914.23 s
[opt-env-conf-test] c1 <- go p1
1914.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:14-24
1914.23 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1914.23 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1914.23 s
[opt-env-conf-test] c1 <- go p1
1914.24 s
[opt-env-conf-test] c2 <- go p2
1914.24 s
[opt-env-conf-test] - pure ( c1 || c2)
1914.24 s
[opt-env-conf-test] + pure n o t ( ( c1 || c2) )
1914.24 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1914.24 s
[opt-env-conf-test] c1 <- go p1
1914.24 s
[opt-env-conf-test] c2 <- go p2
1914.24 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:53-63
1914.24 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1914.24 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1914.24 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1914.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1914.24 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1914.24 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && n o t ( isEmpty ps )
1914.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
1914.24 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1914.24 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1914.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1914.24 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1914.24 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1914.24 s
[opt-env-conf-test] c1 <- go p1
1914.24 s
[opt-env-conf-test] c2 <- go p2
1914.24 s
[opt-env-conf-test] - pure ( c 1 || c2)
1914.24 s
[opt-env-conf-test] + pure F alse
1914.24 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1914.24 s
[opt-env-conf-test] c1 <- go p1
1914.24 s
[opt-env-conf-test] c2 <- go p2
1914.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
1914.24 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1914.24 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1914.24 s
[opt-env-conf-test] c1 <- go p1
1914.24 s
[opt-env-conf-test] c2 <- go p2
1914.24 s
[opt-env-conf-test] - pure ( c 1 || c2) -- TODO: is this right?
1914.24 s
[opt-env-conf-test] + pure ( T ru e || c2) -- TODO: is this right?
1914.24 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1914.24 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1914.24 s
[opt-env-conf-test] c1 <- go p1
1914.24 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:21-23
1914.24 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1914.24 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1914.24 s
[opt-env-conf-test] c1 <- go p1
1914.24 s
[opt-env-conf-test] c2 <- go p2
1914.24 s
[opt-env-conf-test] - pure (c1 || c2)
1914.24 s
[opt-env-conf-test] + pure (c1 || n o t ( c2) )
1914.24 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1914.24 s
[opt-env-conf-test] c1 <- go p1
1914.24 s
[opt-env-conf-test] c2 <- go p2
1914.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
1914.24 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1914.24 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1914.24 s
[opt-env-conf-test] c1 <- go p1
1914.24 s
[opt-env-conf-test] c2 <- go p2
1914.24 s
[opt-env-conf-test] - pure ( c 1 || c2) -- TODO: is this right?
1914.24 s
[opt-env-conf-test] + pure ( F a ls e || c2) -- TODO: is this right?
1914.25 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1914.25 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1914.25 s
[opt-env-conf-test] c1 <- go p1
1914.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
1914.25 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1914.25 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1914.25 s
[opt-env-conf-test] c1 <- go p1
1914.25 s
[opt-env-conf-test] c2 <- go p2
1914.25 s
[opt-env-conf-test] - pure (c1 || c 2 ) -- TODO: is this right?
1914.25 s
[opt-env-conf-test] + pure (c1 || F a ls e ) -- TODO: is this right?
1914.25 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1914.25 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1914.25 s
[opt-env-conf-test] c1 <- go p1
1914.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1914.25 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1914.25 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1914.25 s
[opt-env-conf-test] c1 <- go p1
1914.25 s
[opt-env-conf-test] c2 <- go p2
1914.25 s
[opt-env-conf-test] - pure ( c1 || c2)
1914.25 s
[opt-env-conf-test] + pure True
1914.25 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1914.25 s
[opt-env-conf-test] c1 <- go p1
1914.25 s
[opt-env-conf-test] c2 <- go p2
1914.25 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-23
1914.25 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1914.25 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1914.25 s
[opt-env-conf-test] c1 <- go p1
1914.25 s
[opt-env-conf-test] c2 <- go p2
1914.25 s
[opt-env-conf-test] - pure (c1 || c2)
1914.25 s
[opt-env-conf-test] + pure ( n ot (c1 || c2) )
1914.25 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1914.25 s
[opt-env-conf-test] c1 <- go p1
1914.25 s
[opt-env-conf-test] c2 <- go p2
1914.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1914.25 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1914.25 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1914.25 s
[opt-env-conf-test] c1 <- go p1
1914.25 s
[opt-env-conf-test] c2 <- go p2
1914.25 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
1914.25 s
[opt-env-conf-test] + pure ( T ru e ) -- TODO: is this right?
1914.25 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1914.25 s
[opt-env-conf-test] ParserMany mLoc p -> do
1914.25 s
[opt-env-conf-test] c <- go p
1914.25 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-23
1914.25 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1914.25 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1914.25 s
[opt-env-conf-test] c1 <- go p1
1914.25 s
[opt-env-conf-test] c2 <- go p2
1914.25 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1914.25 s
[opt-env-conf-test] + pure ( n ot (c1 && c2) ) -- TODO: is this right?
1914.25 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1914.25 s
[opt-env-conf-test] ParserMany mLoc p -> do
1914.25 s
[opt-env-conf-test] c <- go p
1914.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1914.25 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1914.25 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1914.25 s
[opt-env-conf-test] c1 <- go p1
1914.25 s
[opt-env-conf-test] c2 <- go p2
1914.25 s
[opt-env-conf-test] - pure ( c1 && c2 ) -- TODO: is this right?
1914.25 s
[opt-env-conf-test] + pure True -- TODO: is this right?
1914.25 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1914.25 s
[opt-env-conf-test] ParserMany mLoc p -> do
1914.25 s
[opt-env-conf-test] c <- go p
1914.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1914.25 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1914.25 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1914.25 s
[opt-env-conf-test] c1 <- go p1
1914.25 s
[opt-env-conf-test] c2 <- go p2
1914.25 s
[opt-env-conf-test] - pure ( c 1 && c 2) -- TODO: is this right?
1914.25 s
[opt-env-conf-test] + pure F alse -- TODO: is this right?
1914.25 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1914.25 s
[opt-env-conf-test] ParserMany mLoc p -> do
1914.25 s
[opt-env-conf-test] c <- go p
1914.26 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
1914.26 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1914.26 s
[opt-env-conf-test] when (not c) $
1914.26 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1914.26 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1914.26 s
[opt-env-conf-test] - pure c
1914.26 s
[opt-env-conf-test] + pure T r u e
1914.26 s
[opt-env-conf-test] ParserSome mLoc p -> do
1914.26 s
[opt-env-conf-test] c <- go p
1914.26 s
[opt-env-conf-test] when (not c) $
1914.26 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
1914.26 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1914.26 s
[opt-env-conf-test] when (not c) $
1914.26 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1914.26 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1914.26 s
[opt-env-conf-test] - pure c
1914.26 s
[opt-env-conf-test] + pure F a lse
1914.26 s
[opt-env-conf-test] ParserSome mLoc p -> do
1914.26 s
[opt-env-conf-test] c <- go p
1914.26 s
[opt-env-conf-test] when (not c) $
1914.26 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:266:14-15
1914.26 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1914.26 s
[opt-env-conf-test] when (not c) $
1914.26 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1914.26 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1914.26 s
[opt-env-conf-test] - pure c
1914.26 s
[opt-env-conf-test] + pure n o t ( c )
1914.26 s
[opt-env-conf-test] ParserSome mLoc p -> do
1914.26 s
[opt-env-conf-test] c <- go p
1914.26 s
[opt-env-conf-test] when (not c) $
1914.26 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:14-24
1914.26 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1914.26 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1914.26 s
[opt-env-conf-test] c1 <- go p1
1914.26 s
[opt-env-conf-test] c2 <- go p2
1914.26 s
[opt-env-conf-test] - pure ( c1 || c2) -- TODO: is this right?
1914.26 s
[opt-env-conf-test] + pure n o t ( ( c1 || c2) ) -- TODO: is this right?
1914.26 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1914.26 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1914.26 s
[opt-env-conf-test] c1 <- go p1
1914.26 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:259:15-23
1914.26 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1914.26 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1914.26 s
[opt-env-conf-test] c1 <- go p1
1914.26 s
[opt-env-conf-test] c2 <- go p2
1916.35 s
[opt-env-conf-test] - pure (c1 & & c2) -- TODO: is this right?
1916.43 s
[opt-env-conf-test] + pure (c1 | | c2) -- TODO: is this right?
1916.43 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1916.43 s
[opt-env-conf-test] ParserMany mLoc p -> do
1916.43 s
[opt-env-conf-test] c <- go p
1916.43 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:254:15-23
1916.43 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1916.43 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1916.43 s
[opt-env-conf-test] c1 <- go p1
1916.43 s
[opt-env-conf-test] c2 <- go p2
1916.43 s
[opt-env-conf-test] - pure (c1 | | c2) -- TODO: is this right?
1916.43 s
[opt-env-conf-test] + pure (c1 & & c2) -- TODO: is this right?
1916.43 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1916.43 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1916.43 s
[opt-env-conf-test] c1 <- go p1
1916.43 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1916.43 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1916.43 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1916.43 s
[opt-env-conf-test] c1 <- go p1
1916.43 s
[opt-env-conf-test] c2 <- go p2
1916.43 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
1916.43 s
[opt-env-conf-test] + pure (c1 && F a ls e ) -- TODO: is this right?
1916.43 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1916.43 s
[opt-env-conf-test] ParserMany mLoc p -> do
1916.43 s
[opt-env-conf-test] c <- go p
1916.43 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
1916.43 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1916.43 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1916.43 s
[opt-env-conf-test] c1 <- go p1
1916.43 s
[opt-env-conf-test] c2 <- go p2
1916.43 s
[opt-env-conf-test] - pure ( c 1 || c 2 ) -- TODO: is this right?
1916.43 s
[opt-env-conf-test] + pure ( F a ls e ) -- TODO: is this right?
1916.43 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1916.43 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1916.43 s
[opt-env-conf-test] c1 <- go p1
1916.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
1916.44 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1916.44 s
[opt-env-conf-test] when (not c) $
1916.44 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1916.44 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1916.44 s
[opt-env-conf-test] - pure c
1916.44 s
[opt-env-conf-test] + pure T r u e
1916.44 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1916.44 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1916.44 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1916.44 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:14-24
1916.44 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1916.44 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1916.44 s
[opt-env-conf-test] c1 <- go p1
1916.44 s
[opt-env-conf-test] c2 <- go p2
1916.44 s
[opt-env-conf-test] - pure ( c1 && c2) -- TODO: is this right?
1916.44 s
[opt-env-conf-test] + pure n o t ( ( c1 && c2) ) -- TODO: is this right?
1916.44 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1916.44 s
[opt-env-conf-test] ParserMany mLoc p -> do
1916.44 s
[opt-env-conf-test] c <- go p
1916.44 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:272:14-15
1916.44 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1916.44 s
[opt-env-conf-test] when (not c) $
1916.44 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1916.44 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1916.44 s
[opt-env-conf-test] - pure c
1916.44 s
[opt-env-conf-test] + pure n o t ( c )
1916.44 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1916.44 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1916.44 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1916.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
1916.44 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1916.44 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1916.44 s
[opt-env-conf-test] c1 <- go p1
1916.44 s
[opt-env-conf-test] c2 <- go p2
1916.44 s
[opt-env-conf-test] - pure ( c 1 || c 2) -- TODO: is this right?
1916.44 s
[opt-env-conf-test] + pure F alse -- TODO: is this right?
1916.44 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1916.44 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1916.44 s
[opt-env-conf-test] c1 <- go p1
1916.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
1916.44 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1916.44 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1916.44 s
[opt-env-conf-test] c1 <- go p1
1916.44 s
[opt-env-conf-test] c2 <- go p2
1916.44 s
[opt-env-conf-test] - pure ( c1 || c2 ) -- TODO: is this right?
1916.44 s
[opt-env-conf-test] + pure True -- TODO: is this right?
1916.44 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1916.44 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1916.44 s
[opt-env-conf-test] c1 <- go p1
1916.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
1916.44 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1916.44 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1916.44 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1916.44 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1916.44 s
[opt-env-conf-test] - if n u l l c s
1916.44 s
[opt-env-conf-test] + if F a l s e
1916.44 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1916.44 s
[opt-env-conf-test] else do
1916.44 s
[opt-env-conf-test] for_ mDefault $ \d ->
1916.44 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:276:12-19
1916.44 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1916.44 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1916.44 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1916.44 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1916.44 s
[opt-env-conf-test] - if null cs
1916.44 s
[opt-env-conf-test] + if n o t ( null cs )
1916.44 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1916.44 s
[opt-env-conf-test] else do
1916.44 s
[opt-env-conf-test] for_ mDefault $ \d ->
1916.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1916.44 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1916.44 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1916.44 s
[opt-env-conf-test] c1 <- go p1
1916.44 s
[opt-env-conf-test] c2 <- go p2
1916.44 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
1916.44 s
[opt-env-conf-test] + pure (c1 && T ru e ) -- TODO: is this right?
1916.44 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1916.44 s
[opt-env-conf-test] ParserMany mLoc p -> do
1916.44 s
[opt-env-conf-test] c <- go p
1916.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
1916.44 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1916.44 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1916.44 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1916.44 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1916.44 s
[opt-env-conf-test] - if n u l l cs
1916.45 s
[opt-env-conf-test] + if T r u e
1916.45 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1916.45 s
[opt-env-conf-test] else do
1916.45 s
[opt-env-conf-test] for_ mDefault $ \d ->
1916.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:21-62
1916.45 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1916.45 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1916.45 s
[opt-env-conf-test] else do
1916.45 s
[opt-env-conf-test] for_ mDefault $ \d ->
1916.45 s
[opt-env-conf-test] - whe n ( isN othin g ( fi n d ( ( = = d) . comman dA r g ) c s ) ) $
1916.45 s
[opt-env-conf-test] + whe n ( T r ue ) $
1916.45 s
[opt-env-conf-test] validationTFailure $
1916.45 s
[opt-env-conf-test] LintError mLoc $
1916.45 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1916.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1916.45 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1916.45 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1916.45 s
[opt-env-conf-test] c1 <- go p1
1916.45 s
[opt-env-conf-test] c2 <- go p2
1916.45 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
1916.45 s
[opt-env-conf-test] + pure ( F a ls e && c2) -- TODO: is this right?
1916.45 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1916.45 s
[opt-env-conf-test] ParserMany mLoc p -> do
1916.45 s
[opt-env-conf-test] c <- go p
1916.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
1916.45 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1916.45 s
[opt-env-conf-test] when (not c) $
1916.45 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1916.45 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1916.45 s
[opt-env-conf-test] - pure c
1916.45 s
[opt-env-conf-test] + pure F a lse
1916.45 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1916.45 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1916.45 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1916.45 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-17
1916.45 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1916.45 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1916.45 s
[opt-env-conf-test] c1 <- go p1
1916.45 s
[opt-env-conf-test] c2 <- go p2
1916.45 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1916.45 s
[opt-env-conf-test] + pure ( n ot (c1 ) && c2) -- TODO: is this right?
1916.45 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1916.45 s
[opt-env-conf-test] ParserMany mLoc p -> do
1916.45 s
[opt-env-conf-test] c <- go p
1922.37 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:255:29-33
1922.37 s
[opt-env-conf-test] @@ -252,7 +252,7 @@
1922.39 s
[opt-env-conf-test] c1 <- go p1
1922.39 s
[opt-env-conf-test] c2 <- go p2
1922.39 s
[opt-env-conf-test] pure (c1 || c2) -- TODO: is this right?
1922.39 s
[opt-env-conf-test] - ParserEmpty _ -> pure Tr u e
1922.39 s
[opt-env-conf-test] + ParserEmpty _ -> pure F a ls e
1922.39 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1922.40 s
[opt-env-conf-test] c1 <- go p1
1922.40 s
[opt-env-conf-test] c2 <- go p2
1922.40 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1922.40 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1922.40 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1922.40 s
[opt-env-conf-test] c1 <- go p1
1922.40 s
[opt-env-conf-test] c2 <- go p2
1922.40 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
1922.40 s
[opt-env-conf-test] + pure ( T ru e && c2) -- TODO: is this right?
1922.40 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1922.40 s
[opt-env-conf-test] ParserMany mLoc p -> do
1922.40 s
[opt-env-conf-test] c <- go p
1922.40 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1922.40 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1922.40 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1922.40 s
[opt-env-conf-test] c1 <- go p1
1922.40 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1922.40 s
[opt-env-conf-test] - pure $ c 1 || c2
1922.40 s
[opt-env-conf-test] + pure $ T ru e || c2
1922.40 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1922.40 s
[opt-env-conf-test] case settingHelp of
1922.40 s
[opt-env-conf-test] Nothing ->
1922.40 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Lint.hs:278:16-53
1922.40 s
[opt-env-conf-test] @@ -275,13 +275,8 @@
1922.40 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1922.40 s
[opt-env-conf-test] if null cs
1922.40 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1922.40 s
[opt-env-conf-test] else do
1922.40 s
[opt-env-conf-test] - for_ mDefault $ \d ->
1922.40 s
[opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
1922.40 s
[opt-env-conf-test] - validationTFailure $
1922.40 s
[opt-env-conf-test] - LintError mLoc $
1922.40 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand d
1922.40 s
[opt-env-conf-test] and <$> traverse (go . commandParser) cs -- TODO is this right?
1922.40 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1922.40 s
[opt-env-conf-test] c1 <- go p1
1922.40 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1922.40 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-23
1922.40 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1922.40 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1922.40 s
[opt-env-conf-test] c1 <- go p1
1922.40 s
[opt-env-conf-test] c2 <- go p2
1922.40 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1922.40 s
[opt-env-conf-test] + pure ( n ot (c1 || c2) ) -- TODO: is this right?
1922.40 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1922.40 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1922.40 s
[opt-env-conf-test] c1 <- go p1
1922.40 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:20-63
1922.40 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1922.40 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1922.40 s
[opt-env-conf-test] else do
1922.40 s
[opt-env-conf-test] for_ mDefault $ \d ->
1922.40 s
[opt-env-conf-test] - whe n ( isN oth i n g (find ((== d) . comman dA r g ) cs) ) $
1922.40 s
[opt-env-conf-test] + whe n T r ue $
1922.40 s
[opt-env-conf-test] validationTFailure $
1922.40 s
[opt-env-conf-test] LintError mLoc $
1922.40 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1922.40 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:21-62
1922.41 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1922.41 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1922.41 s
[opt-env-conf-test] else do
1922.41 s
[opt-env-conf-test] for_ mDefault $ \d ->
1922.41 s
[opt-env-conf-test] - whe n (isNothing (find ((== d) . commandArg) cs)) $
1922.41 s
[opt-env-conf-test] + whe n ( n ot (isNothing (find ((== d) . commandArg) cs)) ) $
1922.41 s
[opt-env-conf-test] validationTFailure $
1922.41 s
[opt-env-conf-test] LintError mLoc $
1922.41 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1922.41 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:21-23
1922.41 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1922.41 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1922.41 s
[opt-env-conf-test] c1 <- go p1
1922.41 s
[opt-env-conf-test] c2 <- go p2
1922.41 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1922.41 s
[opt-env-conf-test] + pure (c1 && n o t ( c2) ) -- TODO: is this right?
1922.41 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1922.41 s
[opt-env-conf-test] ParserMany mLoc p -> do
1922.41 s
[opt-env-conf-test] c <- go p
1922.41 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1922.41 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1922.41 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1922.41 s
[opt-env-conf-test] c1 <- go p1
1922.41 s
[opt-env-conf-test] c2 <- go p2
1922.41 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
1922.41 s
[opt-env-conf-test] + pure ( F a ls e ) -- TODO: is this right?
1922.41 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1922.41 s
[opt-env-conf-test] ParserMany mLoc p -> do
1922.41 s
[opt-env-conf-test] c <- go p
1922.41 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:20-63
1922.41 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1922.41 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1922.41 s
[opt-env-conf-test] else do
1922.41 s
[opt-env-conf-test] for_ mDefault $ \d ->
1922.41 s
[opt-env-conf-test] - whe n ( isNothing (find ((== d) . commandArg) cs)) $
1922.41 s
[opt-env-conf-test] + whe n n o t ( ( isNothing (find ((== d) . commandArg) cs)) ) $
1922.41 s
[opt-env-conf-test] validationTFailure $
1922.41 s
[opt-env-conf-test] LintError mLoc $
1922.41 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1922.41 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1922.41 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1922.41 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1922.41 s
[opt-env-conf-test] c1 <- go p1
1922.41 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1922.41 s
[opt-env-conf-test] - pure $ c1 || c 2
1922.41 s
[opt-env-conf-test] + pure $ c1 || T rue
1922.41 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1922.41 s
[opt-env-conf-test] case settingHelp of
1922.41 s
[opt-env-conf-test] Nothing ->
1922.41 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-18
1922.41 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1922.41 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1922.41 s
[opt-env-conf-test] c1 <- go p1
1922.41 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1922.41 s
[opt-env-conf-test] - pure $ c1 || c2
1922.41 s
[opt-env-conf-test] + pure $ n o t ( c1 ) || c2
1922.41 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1922.41 s
[opt-env-conf-test] case settingHelp of
1922.41 s
[opt-env-conf-test] Nothing ->
1922.41 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1922.41 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1922.41 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1922.41 s
[opt-env-conf-test] c1 <- go p1
1922.41 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1922.41 s
[opt-env-conf-test] - pure $ c 1 || c2
1922.41 s
[opt-env-conf-test] + pure $ F a ls e || c2
1922.41 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1922.41 s
[opt-env-conf-test] case settingHelp of
1922.41 s
[opt-env-conf-test] Nothing ->
1922.41 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:22-24
1922.41 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1922.41 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1922.41 s
[opt-env-conf-test] c1 <- go p1
1922.41 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1922.41 s
[opt-env-conf-test] - pure $ c1 || c2
1922.41 s
[opt-env-conf-test] + pure $ c1 || n o t ( c2 )
1922.41 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1922.41 s
[opt-env-conf-test] case settingHelp of
1922.41 s
[opt-env-conf-test] Nothing ->
1922.41 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1922.41 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1922.41 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1922.41 s
[opt-env-conf-test] c1 <- go p1
1922.41 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1922.41 s
[opt-env-conf-test] - pure $ c 1 || c 2
1922.41 s
[opt-env-conf-test] + pure $ T rue
1922.41 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1922.41 s
[opt-env-conf-test] case settingHelp of
1922.41 s
[opt-env-conf-test] Nothing ->
1922.41 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:288:16-24
1922.41 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1922.41 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1922.41 s
[opt-env-conf-test] c1 <- go p1
1922.41 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1922.42 s
[opt-env-conf-test] - pure $ c1 | | c2
1922.42 s
[opt-env-conf-test] + pure $ c1 & & c2
1924.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1924.89 s
[opt-env-conf-test] case settingHelp of
1924.89 s
[opt-env-conf-test] Nothing ->
1924.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1924.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1924.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1924.90 s
[opt-env-conf-test] c1 <- go p1
1924.90 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1924.90 s
[opt-env-conf-test] - pure $ c 1 || c2
1924.90 s
[opt-env-conf-test] + pure $ F a ls e
1924.90 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1924.90 s
[opt-env-conf-test] case settingHelp of
1924.90 s
[opt-env-conf-test] Nothing ->
1924.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1924.90 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.90 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.90 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.90 s
[opt-env-conf-test] and
1924.90 s
[opt-env-conf-test] - [ s e tt ing T ry A r g u m e n t || settingTryOption || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] + [ T r u e || settingTryOption || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] null settingEnvVars,
1924.90 s
[opt-env-conf-test] null settingConfigVals
1924.90 s
[opt-env-conf-test] ]
1924.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1924.90 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.90 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.90 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.90 s
[opt-env-conf-test] and
1924.90 s
[opt-env-conf-test] - [ se tt ingTr yArgu me n t || settingTryOption || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] + [ F a l se || settingTryOption || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] null settingEnvVars,
1924.90 s
[opt-env-conf-test] null settingConfigVals
1924.90 s
[opt-env-conf-test] ]
1924.90 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-33
1924.90 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.90 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.90 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.90 s
[opt-env-conf-test] and
1924.90 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] + [ n o t ( settingTryArgument ) || settingTryOption || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] null settingEnvVars,
1924.90 s
[opt-env-conf-test] null settingConfigVals
1924.90 s
[opt-env-conf-test] ]
1924.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1924.90 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.90 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.90 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.90 s
[opt-env-conf-test] and
1924.90 s
[opt-env-conf-test] - [ settingTryArgument || s e tt in g Tr y Opti on || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] null settingEnvVars,
1924.90 s
[opt-env-conf-test] null settingConfigVals
1924.90 s
[opt-env-conf-test] ]
1924.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1924.90 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.90 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.90 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.90 s
[opt-env-conf-test] and
1924.90 s
[opt-env-conf-test] - [ settingTryArgument || se tt ingT ryOp ti o n || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] + [ settingTryArgument || F a l se || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] null settingEnvVars,
1924.90 s
[opt-env-conf-test] null settingConfigVals
1924.90 s
[opt-env-conf-test] ]
1924.90 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-53
1924.90 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.90 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.90 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.90 s
[opt-env-conf-test] and
1924.90 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption ) || isJust settingSwitchValue,
1924.90 s
[opt-env-conf-test] null settingEnvVars,
1924.90 s
[opt-env-conf-test] null settingConfigVals
1924.90 s
[opt-env-conf-test] ]
1924.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1924.90 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.90 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.90 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.90 s
[opt-env-conf-test] and
1924.90 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s J u s t s e t tin gSwitc hVa lu e ,
1924.90 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || Tr u e ,
1924.90 s
[opt-env-conf-test] null settingEnvVars,
1924.90 s
[opt-env-conf-test] null settingConfigVals
1924.90 s
[opt-env-conf-test] ]
1924.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1924.91 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.91 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.91 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.91 s
[opt-env-conf-test] and
1924.91 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s Jus t s e tti ngSwit chV al u e,
1924.91 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || F al s e,
1924.91 s
[opt-env-conf-test] null settingEnvVars,
1924.91 s
[opt-env-conf-test] null settingConfigVals
1924.91 s
[opt-env-conf-test] ]
1924.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:57-82
1924.91 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.91 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.91 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.91 s
[opt-env-conf-test] and
1924.91 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1924.91 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || n o t ( isJust settingSwitchValue ) ,
1924.91 s
[opt-env-conf-test] null settingEnvVars,
1924.91 s
[opt-env-conf-test] null settingConfigVals
1924.91 s
[opt-env-conf-test] ]
1924.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1924.91 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.91 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.91 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.91 s
[opt-env-conf-test] and
1924.91 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,
1924.91 s
[opt-env-conf-test] + [ settingTryArgume n t || F al s e,
1924.91 s
[opt-env-conf-test] null settingEnvVars,
1924.91 s
[opt-env-conf-test] null settingConfigVals
1924.91 s
[opt-env-conf-test] ]
1924.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1924.91 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.91 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.91 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.91 s
[opt-env-conf-test] and
1924.91 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,
1924.91 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e,
1924.91 s
[opt-env-conf-test] null settingEnvVars,
1924.91 s
[opt-env-conf-test] null settingConfigVals
1924.91 s
[opt-env-conf-test] ]
1924.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1924.91 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1924.91 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1924.91 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1924.91 s
[opt-env-conf-test] and
1924.91 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 ,
1930.01 s
[opt-env-conf-test] + [ T r u e ,
1930.01 s
[opt-env-conf-test] null settingEnvVars,
1930.03 s
[opt-env-conf-test] null settingConfigVals
1930.03 s
[opt-env-conf-test] ]
1930.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1930.03 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1930.03 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1930.03 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1930.03 s
[opt-env-conf-test] and
1930.03 s
[opt-env-conf-test] - [ s e tt ingT ryArgume nt || settingTry Optio n | | isJust settingS witc hV al u e,
1930.03 s
[opt-env-conf-test] + [ F al s e,
1930.03 s
[opt-env-conf-test] null settingEnvVars,
1930.03 s
[opt-env-conf-test] null settingConfigVals
1930.03 s
[opt-env-conf-test] ]
1930.03 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:15-82
1930.03 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1930.03 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1930.03 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1930.03 s
[opt-env-conf-test] and
1930.03 s
[opt-env-conf-test] - [ settingTryArgument | | settingTryOption || isJust settingSwitchValue,
1930.03 s
[opt-env-conf-test] + [ settingTryArgument & & settingTryOption || isJust settingSwitchValue,
1930.03 s
[opt-env-conf-test] null settingEnvVars,
1930.04 s
[opt-env-conf-test] null settingConfigVals
1930.04 s
[opt-env-conf-test] ]
1930.04 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-82
1930.04 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1930.04 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1930.04 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1930.04 s
[opt-env-conf-test] and
1930.04 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1930.04 s
[opt-env-conf-test] + [ n o t ( settingTryArgument || settingTryOption || isJust settingSwitchValue ) ,
1930.04 s
[opt-env-conf-test] null settingEnvVars,
1930.04 s
[opt-env-conf-test] null settingConfigVals
1930.04 s
[opt-env-conf-test] ]
1930.04 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-24
1930.04 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1930.04 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1930.04 s
[opt-env-conf-test] c1 <- go p1
1930.04 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1930.04 s
[opt-env-conf-test] - pure $ c1 || c2
1930.04 s
[opt-env-conf-test] + pure $ n o t ( c1 || c2 )
1930.04 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1930.04 s
[opt-env-conf-test] case settingHelp of
1930.04 s
[opt-env-conf-test] Nothing ->
1930.04 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:37-82
1930.04 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1930.04 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1930.04 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1930.04 s
[opt-env-conf-test] and
1930.04 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption | | isJust settingSwitchValue,
1930.04 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption & & isJust settingSwitchValue,
1930.04 s
[opt-env-conf-test] null settingEnvVars,
1930.04 s
[opt-env-conf-test] null settingConfigVals
1930.04 s
[opt-env-conf-test] ]
1930.04 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:341:15-34
1930.04 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1930.04 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1930.04 s
[opt-env-conf-test] and
1930.04 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1930.04 s
[opt-env-conf-test] - null settingEnvVars ,
1930.04 s
[opt-env-conf-test] + n o t ( null settingEnvVars ) ,
1930.04 s
[opt-env-conf-test] null settingConfigVals
1930.04 s
[opt-env-conf-test] ]
1930.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1930.04 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1930.04 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1930.04 s
[opt-env-conf-test] c1 <- go p1
1930.04 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1930.04 s
[opt-env-conf-test] - pure $ c1 || c 2
1930.04 s
[opt-env-conf-test] + pure $ c1 || F a ls e
1930.04 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1930.04 s
[opt-env-conf-test] case settingHelp of
1930.04 s
[opt-env-conf-test] Nothing ->
1930.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1930.04 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1930.04 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1930.04 s
[opt-env-conf-test] and
1930.04 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1930.04 s
[opt-env-conf-test] - n u l l se t ti ngEnv Va r s ,
1930.04 s
[opt-env-conf-test] + F a l se ,
1930.04 s
[opt-env-conf-test] null settingConfigVals
1930.04 s
[opt-env-conf-test] ]
1930.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1930.04 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1930.04 s
[opt-env-conf-test] and
1930.04 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1930.04 s
[opt-env-conf-test] null settingEnvVars,
1930.04 s
[opt-env-conf-test] - n u l l se tting ConfigVals
1930.04 s
[opt-env-conf-test] + Fa l se
1930.04 s
[opt-env-conf-test] ]
1930.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1930.04 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1930.04 s
[opt-env-conf-test] and
1930.04 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1930.04 s
[opt-env-conf-test] null settingEnvVars,
1930.04 s
[opt-env-conf-test] - n u ll s e t t in gConfigVals
1930.04 s
[opt-env-conf-test] + T r u e
1930.04 s
[opt-env-conf-test] ]
1930.04 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:342:15-37
1930.04 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1930.04 s
[opt-env-conf-test] and
1930.04 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1930.04 s
[opt-env-conf-test] null settingEnvVars,
1930.04 s
[opt-env-conf-test] - null settingConfigVals
1930.04 s
[opt-env-conf-test] + n o t ( null settingConfigVals )
1930.04 s
[opt-env-conf-test] ]
1930.04 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1930.04 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1930.04 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1930.04 s
[opt-env-conf-test] and
1930.04 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1930.05 s
[opt-env-conf-test] - n u ll s e t ti ngEnv Va r s ,
1930.05 s
[opt-env-conf-test] + T r u e ,
1930.05 s
[opt-env-conf-test] null settingConfigVals
1930.05 s
[opt-env-conf-test] ]
1930.05 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-82
1930.05 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1930.05 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1930.05 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1930.05 s
[opt-env-conf-test] and
1930.05 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1930.05 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption || isJust settingSwitchValue ) ,
1930.05 s
[opt-env-conf-test] null settingEnvVars,
1930.05 s
[opt-env-conf-test] null settingConfigVals
1930.05 s
[opt-env-conf-test] ]
1930.05 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1930.05 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1930.05 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1930.05 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1930.05 s
[opt-env-conf-test] and
1930.05 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1930.05 s
[opt-env-conf-test] null settingEnvVars,
1930.05 s
[opt-env-conf-test] null settingConfigVals
1930.05 s
[opt-env-conf-test] ]
1930.05 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1930.05 s
[opt-env-conf-test] @@ -76,20 +76,7 @@
1930.05 s
[opt-env-conf-test] " parses nothing."
1930.05 s
[opt-env-conf-test] ]
1930.05 s
[opt-env-conf-test] ],
1930.05 s
[opt-env-conf-test] - [ [ "Add an ",
1930.05 s
[opt-env-conf-test] - functionChunk "argument",
1930.05 s
[opt-env-conf-test] - ", ",
1930.05 s
[opt-env-conf-test] - functionChunk "switch",
1930.05 s
[opt-env-conf-test] - ", ",
1930.05 s
[opt-env-conf-test] - functionChunk "option",
1930.05 s
[opt-env-conf-test] - ", ",
1930.05 s
[opt-env-conf-test] - functionChunk "env",
1930.05 s
[opt-env-conf-test] - ", ",
1930.05 s
[opt-env-conf-test] - functionChunk "conf",
1930.05 s
[opt-env-conf-test] - ", or ",
1930.05 s
[opt-env-conf-test] - functionChunk "value",
1930.05 s
[opt-env-conf-test] - "."
1930.05 s
[opt-env-conf-test] ]
1930.05 s
[opt-env-conf-test] ]
1930.05 s
[opt-env-conf-test] ]
1930.05 s
[opt-env-conf-test] LintErrorDashInShort ->
1932.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1932.55 s
[opt-env-conf-test] @@ -76,20 +76,19 @@
1932.55 s
[opt-env-conf-test] " parses nothing."
1932.55 s
[opt-env-conf-test] ]
1932.55 s
[opt-env-conf-test] ],
1932.55 s
[opt-env-conf-test] - [ [ "Add an ",
1932.55 s
[opt-env-conf-test] functionChunk "argument",
1932.55 s
[opt-env-conf-test] ", ",
1932.55 s
[opt-env-conf-test] functionChunk "switch",
1932.55 s
[opt-env-conf-test] ", ",
1932.55 s
[opt-env-conf-test] functionChunk "option",
1932.55 s
[opt-env-conf-test] ", ",
1932.55 s
[opt-env-conf-test] functionChunk "env",
1932.55 s
[opt-env-conf-test] ", ",
1932.55 s
[opt-env-conf-test] functionChunk "conf",
1932.55 s
[opt-env-conf-test] ", or ",
1932.55 s
[opt-env-conf-test] functionChunk "value",
1932.55 s
[opt-env-conf-test] "."
1932.55 s
[opt-env-conf-test] ]
1932.55 s
[opt-env-conf-test] ]
1932.55 s
[opt-env-conf-test] ]
1932.55 s
[opt-env-conf-test] LintErrorDashInShort ->
1932.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1932.55 s
[opt-env-conf-test] @@ -76,20 +76,19 @@
1932.55 s
[opt-env-conf-test] " parses nothing."
1932.55 s
[opt-env-conf-test] ]
1932.55 s
[opt-env-conf-test] ],
1932.55 s
[opt-env-conf-test] [ [ "Add an ",
1932.55 s
[opt-env-conf-test] functionChunk "argument",
1932.55 s
[opt-env-conf-test] ", ",
1932.55 s
[opt-env-conf-test] functionChunk "switch",
1932.55 s
[opt-env-conf-test] ", ",
1932.55 s
[opt-env-conf-test] functionChunk "option",
1932.55 s
[opt-env-conf-test] ", ",
1932.55 s
[opt-env-conf-test] functionChunk "env",
1932.55 s
[opt-env-conf-test] ", ",
1932.55 s
[opt-env-conf-test] functionChunk "conf",
1932.55 s
[opt-env-conf-test] ", or ",
1932.55 s
[opt-env-conf-test] functionChunk "value",
1932.55 s
[opt-env-conf-test] - "."
1932.55 s
[opt-env-conf-test] ]
1932.55 s
[opt-env-conf-test] ]
1932.55 s
[opt-env-conf-test] ]
1932.55 s
[opt-env-conf-test] LintErrorDashInShort ->
1932.56 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
1932.56 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1932.56 s
[opt-env-conf-test] pure $
1932.56 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1932.56 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1932.56 s
[opt-env-conf-test] - and
1932.56 s
[opt-env-conf-test] + T r ue
1932.56 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1932.56 s
[opt-env-conf-test] null settingEnvVars,
1932.56 s
[opt-env-conf-test] null settingConfigVals
1932.56 s
[opt-env-conf-test] ]
1932.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1932.56 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1932.56 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1932.56 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1932.56 s
[opt-env-conf-test] and
1932.56 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1932.56 s
[opt-env-conf-test] null settingEnvVars,
1932.56 s
[opt-env-conf-test] - null settingConfigVals
1932.56 s
[opt-env-conf-test] ]
1932.56 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
1932.56 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1932.56 s
[opt-env-conf-test] pure $
1932.56 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1932.56 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1932.56 s
[opt-env-conf-test] - a n d
1932.56 s
[opt-env-conf-test] + F a lse
1932.56 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1932.56 s
[opt-env-conf-test] null settingEnvVars,
1932.56 s
[opt-env-conf-test] null settingConfigVals
1932.56 s
[opt-env-conf-test] ]
1932.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1932.56 s
[opt-env-conf-test] @@ -71,10 +71,9 @@
1932.56 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1932.56 s
[opt-env-conf-test] LintErrorEmptySetting ->
1932.56 s
[opt-env-conf-test] concat
1932.56 s
[opt-env-conf-test] [ [ [ "This ",
1932.56 s
[opt-env-conf-test] functionChunk "setting",
1932.56 s
[opt-env-conf-test] - " parses nothing."
1932.56 s
[opt-env-conf-test] ]
1932.56 s
[opt-env-conf-test] ],
1932.56 s
[opt-env-conf-test] [ [ "Add an ",
1932.56 s
[opt-env-conf-test] functionChunk "argument",
1932.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1932.56 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1932.56 s
[opt-env-conf-test] ]
1932.56 s
[opt-env-conf-test] LintErrorDashInShort ->
1932.56 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1932.56 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1932.56 s
[opt-env-conf-test] ]
1932.56 s
[opt-env-conf-test] LintErrorDashInLong s ->
1932.56 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1932.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1932.56 s
[opt-env-conf-test] @@ -71,10 +71,9 @@
1932.56 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1932.56 s
[opt-env-conf-test] LintErrorEmptySetting ->
1932.56 s
[opt-env-conf-test] concat
1932.56 s
[opt-env-conf-test] - [ [ [ "This ",
1932.56 s
[opt-env-conf-test] functionChunk "setting",
1932.56 s
[opt-env-conf-test] " parses nothing."
1932.56 s
[opt-env-conf-test] ]
1932.56 s
[opt-env-conf-test] ],
1932.56 s
[opt-env-conf-test] [ [ "Add an ",
1932.56 s
[opt-env-conf-test] functionChunk "argument",
1932.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
1932.56 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1932.56 s
[opt-env-conf-test] ]
1932.56 s
[opt-env-conf-test] ]
1932.56 s
[opt-env-conf-test] LintErrorDashInShort ->
1932.56 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1932.57 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1932.57 s
[opt-env-conf-test] ]
1932.57 s
[opt-env-conf-test] LintErrorDashInLong s ->
1932.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1932.57 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1932.57 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1932.57 s
[opt-env-conf-test] case lintErrorMessage of
1932.57 s
[opt-env-conf-test] LintErrorUndocumented ->
1932.57 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1932.57 s
[opt-env-conf-test] LintErrorEmptySetting ->
1932.57 s
[opt-env-conf-test] concat
1932.57 s
[opt-env-conf-test] [ [ [ "This ",
1932.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1932.57 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1932.57 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1932.57 s
[opt-env-conf-test] case lintErrorMessage of
1932.57 s
[opt-env-conf-test] LintErrorUndocumented ->
1932.57 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1932.57 s
[opt-env-conf-test] LintErrorEmptySetting ->
1932.57 s
[opt-env-conf-test] concat
1932.57 s
[opt-env-conf-test] [ [ [ "This ",
1932.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1932.57 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1932.57 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1932.57 s
[opt-env-conf-test] case lintErrorMessage of
1932.57 s
[opt-env-conf-test] LintErrorUndocumented ->
1932.57 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1932.57 s
[opt-env-conf-test] LintErrorEmptySetting ->
1932.57 s
[opt-env-conf-test] concat
1932.57 s
[opt-env-conf-test] [ [ [ "This ",
1932.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1932.57 s
[opt-env-conf-test] @@ -71,10 +71,7 @@
1932.57 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1932.57 s
[opt-env-conf-test] LintErrorEmptySetting ->
1932.57 s
[opt-env-conf-test] concat
1932.57 s
[opt-env-conf-test] - [ [ [ "This ",
1932.57 s
[opt-env-conf-test] - functionChunk "setting",
1932.57 s
[opt-env-conf-test] - " parses nothing."
1932.57 s
[opt-env-conf-test] ]
1932.57 s
[opt-env-conf-test] ],
1932.57 s
[opt-env-conf-test] [ [ "Add an ",
1932.57 s
[opt-env-conf-test] functionChunk "argument",
1932.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1932.57 s
[opt-env-conf-test] @@ -337,7 +337,4 @@
1932.57 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1932.57 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1932.57 s
[opt-env-conf-test] and
1932.57 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1932.57 s
[opt-env-conf-test] - null settingEnvVars,
1932.57 s
[opt-env-conf-test] - null settingConfigVals
1932.57 s
[opt-env-conf-test] ]
1932.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
1932.57 s
[opt-env-conf-test] @@ -97,7 +97,6 @@
1932.57 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1932.57 s
[opt-env-conf-test] ]
1932.57 s
[opt-env-conf-test] LintErrorDashInLong s ->
1932.57 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1932.57 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1932.57 s
[opt-env-conf-test] [ "Try ",
1932.57 s
[opt-env-conf-test] functionChunk "long",
1932.57 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:339:11-14
1932.57 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1932.57 s
[opt-env-conf-test] pure $
1932.57 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1932.57 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1932.57 s
[opt-env-conf-test] - and
1932.57 s
[opt-env-conf-test] + n o t ( and
1932.57 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1932.57 s
[opt-env-conf-test] null settingEnvVars,
1932.57 s
[opt-env-conf-test] null settingConfigVals
1932.57 s
[opt-env-conf-test] - ]
1932.57 s
[opt-env-conf-test] + ] )
1932.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1932.57 s
[opt-env-conf-test] @@ -99,19 +99,7 @@
1932.57 s
[opt-env-conf-test] LintErrorDashInLong s ->
1932.57 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1932.57 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1932.57 s
[opt-env-conf-test] - [ "Try ",
1932.57 s
[opt-env-conf-test] - functionChunk "long",
1932.57 s
[opt-env-conf-test] - " ",
1932.57 s
[opt-env-conf-test] - chunk $
1932.57 s
[opt-env-conf-test] - T.pack $
1932.57 s
[opt-env-conf-test] - show $
1932.57 s
[opt-env-conf-test] - let go = \case
1932.57 s
[opt-env-conf-test] - [] -> []
1932.57 s
[opt-env-conf-test] - '-' : cs -> go cs
1932.57 s
[opt-env-conf-test] - c : cs -> c : cs
1932.57 s
[opt-env-conf-test] - in go $ NE.toList s,
1932.57 s
[opt-env-conf-test] - " instead."
1932.57 s
[opt-env-conf-test] ]
1932.57 s
[opt-env-conf-test] ]
1932.57 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1932.57 s
[opt-env-conf-test] [ [ functionChunk "argument",
1932.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1932.57 s
[opt-env-conf-test] @@ -97,22 +97,7 @@
1939.92 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1939.92 s
[opt-env-conf-test] ]
1939.95 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.95 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1939.95 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1939.95 s
[opt-env-conf-test] - [ "Try ",
1939.95 s
[opt-env-conf-test] - functionChunk "long",
1939.95 s
[opt-env-conf-test] - " ",
1939.95 s
[opt-env-conf-test] - chunk $
1939.95 s
[opt-env-conf-test] - T.pack $
1939.95 s
[opt-env-conf-test] - show $
1939.95 s
[opt-env-conf-test] - let go = \case
1939.95 s
[opt-env-conf-test] - [] -> []
1939.95 s
[opt-env-conf-test] - '-' : cs -> go cs
1939.95 s
[opt-env-conf-test] - c : cs -> c : cs
1939.95 s
[opt-env-conf-test] - in go $ NE.toList s,
1939.95 s
[opt-env-conf-test] - " instead."
1939.95 s
[opt-env-conf-test] - ]
1939.95 s
[opt-env-conf-test] ]
1939.95 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1939.95 s
[opt-env-conf-test] [ [ functionChunk "argument",
1939.95 s
[opt-env-conf-test] " has no ",
1939.95 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1939.95 s
[opt-env-conf-test] @@ -99,19 +99,18 @@
1939.95 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.95 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1939.95 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1939.95 s
[opt-env-conf-test] [ "Try ",
1939.95 s
[opt-env-conf-test] functionChunk "long",
1939.95 s
[opt-env-conf-test] " ",
1939.95 s
[opt-env-conf-test] chunk $
1939.95 s
[opt-env-conf-test] T.pack $
1939.95 s
[opt-env-conf-test] show $
1939.95 s
[opt-env-conf-test] let go = \case
1939.95 s
[opt-env-conf-test] [] -> []
1939.95 s
[opt-env-conf-test] '-' : cs -> go cs
1939.95 s
[opt-env-conf-test] c : cs -> c : cs
1939.95 s
[opt-env-conf-test] in go $ NE.toList s,
1939.95 s
[opt-env-conf-test] - " instead."
1939.95 s
[opt-env-conf-test] ]
1939.95 s
[opt-env-conf-test] ]
1939.95 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1939.95 s
[opt-env-conf-test] [ [ functionChunk "argument",
1939.95 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1939.95 s
[opt-env-conf-test] @@ -97,22 +97,9 @@
1939.95 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1939.95 s
[opt-env-conf-test] ]
1939.95 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.95 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1939.95 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1939.95 s
[opt-env-conf-test] - [ "Try ",
1939.95 s
[opt-env-conf-test] - functionChunk "long",
1939.95 s
[opt-env-conf-test] - " ",
1939.96 s
[opt-env-conf-test] - chunk $
1939.96 s
[opt-env-conf-test] - T.pack $
1939.96 s
[opt-env-conf-test] - show $
1939.96 s
[opt-env-conf-test] - let go = \case
1939.96 s
[opt-env-conf-test] - [] -> []
1939.96 s
[opt-env-conf-test] - '-' : cs -> go cs
1939.96 s
[opt-env-conf-test] - c : cs -> c : cs
1939.96 s
[opt-env-conf-test] - in go $ NE.toList s,
1939.96 s
[opt-env-conf-test] - " instead."
1939.96 s
[opt-env-conf-test] - ]
1939.96 s
[opt-env-conf-test] ]
1939.96 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1939.96 s
[opt-env-conf-test] [ [ functionChunk "argument",
1939.96 s
[opt-env-conf-test] " has no ",
1939.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1939.96 s
[opt-env-conf-test] @@ -97,22 +97,21 @@
1939.96 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1939.96 s
[opt-env-conf-test] ]
1939.96 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.96 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1939.96 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1939.96 s
[opt-env-conf-test] [ "Try ",
1939.96 s
[opt-env-conf-test] functionChunk "long",
1939.96 s
[opt-env-conf-test] " ",
1939.96 s
[opt-env-conf-test] chunk $
1939.96 s
[opt-env-conf-test] T.pack $
1939.96 s
[opt-env-conf-test] show $
1939.96 s
[opt-env-conf-test] let go = \case
1939.96 s
[opt-env-conf-test] [] -> []
1939.96 s
[opt-env-conf-test] '-' : cs -> go cs
1939.96 s
[opt-env-conf-test] c : cs -> c : cs
1939.96 s
[opt-env-conf-test] in go $ NE.toList s,
1939.96 s
[opt-env-conf-test] " instead."
1939.96 s
[opt-env-conf-test] ]
1939.96 s
[opt-env-conf-test] ]
1939.96 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1939.96 s
[opt-env-conf-test] [ [ functionChunk "argument",
1939.96 s
[opt-env-conf-test] " has no ",
1939.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1939.96 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1939.96 s
[opt-env-conf-test] ]
1939.96 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.96 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1939.96 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1939.96 s
[opt-env-conf-test] [ "Try ",
1939.96 s
[opt-env-conf-test] functionChunk "long",
1939.96 s
[opt-env-conf-test] " ",
1939.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1939.96 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1939.96 s
[opt-env-conf-test] ]
1939.96 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.96 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1939.96 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1939.96 s
[opt-env-conf-test] [ "Try ",
1939.96 s
[opt-env-conf-test] functionChunk "long",
1939.96 s
[opt-env-conf-test] " ",
1939.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
1939.96 s
[opt-env-conf-test] @@ -93,9 +93,8 @@
1939.96 s
[opt-env-conf-test] ]
1939.96 s
[opt-env-conf-test] ]
1939.96 s
[opt-env-conf-test] LintErrorDashInShort ->
1939.96 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1939.96 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1939.96 s
[opt-env-conf-test] ]
1939.96 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.96 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1939.96 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1939.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
1939.97 s
[opt-env-conf-test] @@ -97,7 +97,6 @@
1939.97 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.97 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1939.97 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1939.97 s
[opt-env-conf-test] [ "Try ",
1939.97 s
[opt-env-conf-test] functionChunk "long",
1939.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1939.97 s
[opt-env-conf-test] @@ -146,13 +146,7 @@
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1939.97 s
[opt-env-conf-test] - [ [ functionChunk "option",
1939.97 s
[opt-env-conf-test] - " or ",
1939.97 s
[opt-env-conf-test] - functionChunk "name",
1939.97 s
[opt-env-conf-test] - " has no ",
1939.97 s
[opt-env-conf-test] - functionChunk "metavar",
1939.97 s
[opt-env-conf-test] - "."
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1939.97 s
[opt-env-conf-test] [ [ functionChunk "switch",
1939.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1939.97 s
[opt-env-conf-test] @@ -137,13 +137,12 @@
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1939.97 s
[opt-env-conf-test] - [ [ functionChunk "option",
1939.97 s
[opt-env-conf-test] " has no ",
1939.97 s
[opt-env-conf-test] functionChunk "long",
1939.97 s
[opt-env-conf-test] " or ",
1939.97 s
[opt-env-conf-test] functionChunk "short",
1939.97 s
[opt-env-conf-test] "."
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1939.97 s
[opt-env-conf-test] [ [ functionChunk "option",
1939.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1939.97 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorDashInShort ->
1939.97 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1939.97 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.97 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1939.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1939.97 s
[opt-env-conf-test] @@ -99,19 +99,18 @@
1939.97 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.97 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1939.97 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1939.97 s
[opt-env-conf-test] - [ "Try ",
1939.97 s
[opt-env-conf-test] functionChunk "long",
1939.97 s
[opt-env-conf-test] " ",
1939.97 s
[opt-env-conf-test] chunk $
1939.97 s
[opt-env-conf-test] T.pack $
1939.97 s
[opt-env-conf-test] show $
1939.97 s
[opt-env-conf-test] let go = \case
1939.97 s
[opt-env-conf-test] [] -> []
1939.97 s
[opt-env-conf-test] '-' : cs -> go cs
1939.97 s
[opt-env-conf-test] c : cs -> c : cs
1939.97 s
[opt-env-conf-test] in go $ NE.toList s,
1939.97 s
[opt-env-conf-test] " instead."
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1939.97 s
[opt-env-conf-test] [ [ functionChunk "argument",
1939.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1939.97 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorDashInShort ->
1939.97 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1939.97 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.97 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1939.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
1939.97 s
[opt-env-conf-test] @@ -93,9 +93,7 @@
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorDashInShort ->
1939.97 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1939.97 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1939.97 s
[opt-env-conf-test] ]
1939.97 s
[opt-env-conf-test] LintErrorDashInLong s ->
1939.97 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1944.93 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1944.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
1944.97 s
[opt-env-conf-test] @@ -71,27 +71,22 @@
1944.97 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1944.97 s
[opt-env-conf-test] LintErrorEmptySetting ->
1944.97 s
[opt-env-conf-test] concat
1944.97 s
[opt-env-conf-test] - [ [ [ "This ",
1944.97 s
[opt-env-conf-test] - functionChunk "setting",
1944.98 s
[opt-env-conf-test] - " parses nothing."
1944.98 s
[opt-env-conf-test] - ]
1944.98 s
[opt-env-conf-test] - ],
1944.98 s
[opt-env-conf-test] [ [ "Add an ",
1944.98 s
[opt-env-conf-test] functionChunk "argument",
1944.98 s
[opt-env-conf-test] ", ",
1944.98 s
[opt-env-conf-test] functionChunk "switch",
1944.98 s
[opt-env-conf-test] ", ",
1944.98 s
[opt-env-conf-test] functionChunk "option",
1944.98 s
[opt-env-conf-test] ", ",
1944.98 s
[opt-env-conf-test] functionChunk "env",
1944.98 s
[opt-env-conf-test] ", ",
1944.98 s
[opt-env-conf-test] functionChunk "conf",
1944.98 s
[opt-env-conf-test] ", or ",
1944.98 s
[opt-env-conf-test] functionChunk "value",
1944.98 s
[opt-env-conf-test] "."
1944.98 s
[opt-env-conf-test] ]
1944.98 s
[opt-env-conf-test] ]
1944.98 s
[opt-env-conf-test] ]
1944.98 s
[opt-env-conf-test] LintErrorDashInShort ->
1944.98 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1944.98 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1944.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
1944.98 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1944.98 s
[opt-env-conf-test] ]
1944.98 s
[opt-env-conf-test] ]
1944.98 s
[opt-env-conf-test] LintErrorDashInShort ->
1944.98 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1944.98 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1944.98 s
[opt-env-conf-test] ]
1944.98 s
[opt-env-conf-test] LintErrorDashInLong s ->
1944.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
1944.98 s
[opt-env-conf-test] @@ -71,27 +71,7 @@
1944.98 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1944.98 s
[opt-env-conf-test] LintErrorEmptySetting ->
1944.98 s
[opt-env-conf-test] concat
1944.98 s
[opt-env-conf-test] - [ [ [ "This ",
1944.98 s
[opt-env-conf-test] - functionChunk "setting",
1944.98 s
[opt-env-conf-test] - " parses nothing."
1944.98 s
[opt-env-conf-test] - ]
1944.98 s
[opt-env-conf-test] - ],
1944.98 s
[opt-env-conf-test] - [ [ "Add an ",
1944.98 s
[opt-env-conf-test] - functionChunk "argument",
1944.98 s
[opt-env-conf-test] - ", ",
1944.98 s
[opt-env-conf-test] - functionChunk "switch",
1944.98 s
[opt-env-conf-test] - ", ",
1944.98 s
[opt-env-conf-test] - functionChunk "option",
1944.98 s
[opt-env-conf-test] - ", ",
1944.98 s
[opt-env-conf-test] - functionChunk "env",
1944.98 s
[opt-env-conf-test] - ", ",
1944.98 s
[opt-env-conf-test] - functionChunk "conf",
1944.98 s
[opt-env-conf-test] - ", or ",
1944.99 s
[opt-env-conf-test] - functionChunk "value",
1944.99 s
[opt-env-conf-test] - "."
1944.99 s
[opt-env-conf-test] - ]
1944.99 s
[opt-env-conf-test] - ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorDashInShort ->
1944.99 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1944.99 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1944.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1944.99 s
[opt-env-conf-test] @@ -137,13 +137,12 @@
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1944.99 s
[opt-env-conf-test] [ [ functionChunk "option",
1944.99 s
[opt-env-conf-test] " has no ",
1944.99 s
[opt-env-conf-test] functionChunk "long",
1944.99 s
[opt-env-conf-test] " or ",
1944.99 s
[opt-env-conf-test] functionChunk "short",
1944.99 s
[opt-env-conf-test] - "."
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1944.99 s
[opt-env-conf-test] [ [ functionChunk "option",
1944.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1944.99 s
[opt-env-conf-test] @@ -137,13 +137,7 @@
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1944.99 s
[opt-env-conf-test] - [ [ functionChunk "option",
1944.99 s
[opt-env-conf-test] - " has no ",
1944.99 s
[opt-env-conf-test] - functionChunk "long",
1944.99 s
[opt-env-conf-test] - " or ",
1944.99 s
[opt-env-conf-test] - functionChunk "short",
1944.99 s
[opt-env-conf-test] - "."
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1944.99 s
[opt-env-conf-test] [ [ functionChunk "option",
1944.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1944.99 s
[opt-env-conf-test] @@ -155,13 +155,7 @@
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1944.99 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1944.99 s
[opt-env-conf-test] - " has no ",
1944.99 s
[opt-env-conf-test] - functionChunk "long",
1944.99 s
[opt-env-conf-test] - " or ",
1944.99 s
[opt-env-conf-test] - functionChunk "short",
1944.99 s
[opt-env-conf-test] - "."
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1944.99 s
[opt-env-conf-test] [ [ functionChunk "long",
1944.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1944.99 s
[opt-env-conf-test] @@ -155,13 +155,12 @@
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1944.99 s
[opt-env-conf-test] [ [ functionChunk "switch",
1944.99 s
[opt-env-conf-test] " has no ",
1944.99 s
[opt-env-conf-test] functionChunk "long",
1944.99 s
[opt-env-conf-test] " or ",
1944.99 s
[opt-env-conf-test] functionChunk "short",
1944.99 s
[opt-env-conf-test] - "."
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1944.99 s
[opt-env-conf-test] [ [ functionChunk "long",
1944.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1944.99 s
[opt-env-conf-test] @@ -146,13 +146,12 @@
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1944.99 s
[opt-env-conf-test] [ [ functionChunk "option",
1944.99 s
[opt-env-conf-test] " or ",
1944.99 s
[opt-env-conf-test] functionChunk "name",
1944.99 s
[opt-env-conf-test] " has no ",
1944.99 s
[opt-env-conf-test] functionChunk "metavar",
1944.99 s
[opt-env-conf-test] - "."
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1944.99 s
[opt-env-conf-test] [ [ functionChunk "switch",
1944.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1944.99 s
[opt-env-conf-test] @@ -198,10 +198,9 @@
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1944.99 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1944.99 s
[opt-env-conf-test] " was called with an unknown command: ",
1944.99 s
[opt-env-conf-test] - commandChunk c
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1944.99 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1944.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1944.99 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1944.99 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1944.99 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1944.99 s
[opt-env-conf-test] ]
1944.99 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1945.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1945.00 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1945.00 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1945.00 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1945.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1945.00 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1945.00 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1945.00 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1945.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
1945.00 s
[opt-env-conf-test] @@ -205,7 +205,6 @@
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1945.00 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1945.00 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1945.00 s
[opt-env-conf-test] [ [ functionChunk "conf",
1945.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
1945.00 s
[opt-env-conf-test] @@ -205,7 +205,6 @@
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1945.00 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1945.00 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1945.00 s
[opt-env-conf-test] [ [ functionChunk "conf",
1945.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
1945.00 s
[opt-env-conf-test] @@ -204,9 +204,7 @@
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1945.00 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1945.00 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1945.00 s
[opt-env-conf-test] [ [ functionChunk "conf",
1945.00 s
[opt-env-conf-test] " or ",
1945.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
1945.00 s
[opt-env-conf-test] @@ -204,9 +204,8 @@
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] ]
1945.00 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1955.93 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1955.96 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1955.96 s
[opt-env-conf-test] ]
1955.96 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1955.96 s
[opt-env-conf-test] [ [ functionChunk "conf",
1955.96 s
[opt-env-conf-test] " or ",
1955.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1955.96 s
[opt-env-conf-test] @@ -208,11 +208,7 @@
1955.96 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1955.96 s
[opt-env-conf-test] ]
1955.96 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1955.96 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1955.96 s
[opt-env-conf-test] - " or ",
1955.96 s
[opt-env-conf-test] - functionChunk "name",
1955.96 s
[opt-env-conf-test] - " was called with no way to load configuration."
1955.96 s
[opt-env-conf-test] ],
1955.96 s
[opt-env-conf-test] [ "You can load configuration with ",
1955.96 s
[opt-env-conf-test] functionChunk "withConfig",
1955.96 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1955.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1955.96 s
[opt-env-conf-test] @@ -208,11 +208,10 @@
1955.96 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1955.96 s
[opt-env-conf-test] ]
1955.96 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1955.96 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1955.96 s
[opt-env-conf-test] " or ",
1955.96 s
[opt-env-conf-test] functionChunk "name",
1955.96 s
[opt-env-conf-test] " was called with no way to load configuration."
1955.96 s
[opt-env-conf-test] ],
1955.96 s
[opt-env-conf-test] [ "You can load configuration with ",
1955.96 s
[opt-env-conf-test] functionChunk "withConfig",
1955.96 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1955.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1955.97 s
[opt-env-conf-test] @@ -208,11 +208,10 @@
1955.97 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1955.97 s
[opt-env-conf-test] ]
1955.97 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1955.97 s
[opt-env-conf-test] [ [ functionChunk "conf",
1955.97 s
[opt-env-conf-test] " or ",
1955.97 s
[opt-env-conf-test] functionChunk "name",
1955.97 s
[opt-env-conf-test] - " was called with no way to load configuration."
1955.97 s
[opt-env-conf-test] ],
1955.97 s
[opt-env-conf-test] [ "You can load configuration with ",
1955.97 s
[opt-env-conf-test] functionChunk "withConfig",
1955.97 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1955.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1955.97 s
[opt-env-conf-test] @@ -213,12 +213,7 @@
1955.97 s
[opt-env-conf-test] functionChunk "name",
1955.97 s
[opt-env-conf-test] " was called with no way to load configuration."
1955.97 s
[opt-env-conf-test] ],
1955.97 s
[opt-env-conf-test] - [ "You can load configuration with ",
1955.97 s
[opt-env-conf-test] - functionChunk "withConfig",
1955.97 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1955.97 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1955.97 s
[opt-env-conf-test] - "."
1955.97 s
[opt-env-conf-test] ]
1955.97 s
[opt-env-conf-test] ]
1955.97 s
[opt-env-conf-test] LintErrorManyInfinite ->
1955.97 s
[opt-env-conf-test] [ [ functionChunk "many",
1955.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1955.97 s
[opt-env-conf-test] @@ -213,12 +213,11 @@
1955.97 s
[opt-env-conf-test] functionChunk "name",
1955.97 s
[opt-env-conf-test] " was called with no way to load configuration."
1955.97 s
[opt-env-conf-test] ],
1955.97 s
[opt-env-conf-test] - [ "You can load configuration with ",
1955.97 s
[opt-env-conf-test] functionChunk "withConfig",
1955.97 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1955.97 s
[opt-env-conf-test] functionChunk "withoutConfig",
1955.98 s
[opt-env-conf-test] "."
1955.98 s
[opt-env-conf-test] ]
1955.98 s
[opt-env-conf-test] ]
1955.98 s
[opt-env-conf-test] LintErrorManyInfinite ->
1955.98 s
[opt-env-conf-test] [ [ functionChunk "many",
1955.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1955.98 s
[opt-env-conf-test] @@ -213,12 +213,11 @@
1955.98 s
[opt-env-conf-test] functionChunk "name",
1955.98 s
[opt-env-conf-test] " was called with no way to load configuration."
1955.98 s
[opt-env-conf-test] ],
1955.98 s
[opt-env-conf-test] [ "You can load configuration with ",
1955.98 s
[opt-env-conf-test] functionChunk "withConfig",
1955.98 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1955.98 s
[opt-env-conf-test] functionChunk "withoutConfig",
1955.98 s
[opt-env-conf-test] - "."
1955.98 s
[opt-env-conf-test] ]
1955.98 s
[opt-env-conf-test] ]
1955.98 s
[opt-env-conf-test] LintErrorManyInfinite ->
1955.98 s
[opt-env-conf-test] [ [ functionChunk "many",
1955.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
1955.98 s
[opt-env-conf-test] @@ -208,18 +208,7 @@
1955.98 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1955.98 s
[opt-env-conf-test] ]
1955.98 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1955.98 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1955.98 s
[opt-env-conf-test] - " or ",
1955.98 s
[opt-env-conf-test] - functionChunk "name",
1955.98 s
[opt-env-conf-test] - " was called with no way to load configuration."
1955.98 s
[opt-env-conf-test] - ],
1955.98 s
[opt-env-conf-test] - [ "You can load configuration with ",
1955.98 s
[opt-env-conf-test] - functionChunk "withConfig",
1955.98 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1955.98 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1955.98 s
[opt-env-conf-test] - "."
1955.98 s
[opt-env-conf-test] - ]
1955.98 s
[opt-env-conf-test] ]
1955.98 s
[opt-env-conf-test] LintErrorManyInfinite ->
1955.98 s
[opt-env-conf-test] [ [ functionChunk "many",
1955.98 s
[opt-env-conf-test] " or ",
1955.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
1955.98 s
[opt-env-conf-test] @@ -208,18 +208,13 @@
1955.98 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1955.98 s
[opt-env-conf-test] ]
1955.98 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1955.99 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1955.99 s
[opt-env-conf-test] - " or ",
1955.99 s
[opt-env-conf-test] - functionChunk "name",
1955.99 s
[opt-env-conf-test] - " was called with no way to load configuration."
1955.99 s
[opt-env-conf-test] - ],
1955.99 s
[opt-env-conf-test] [ "You can load configuration with ",
1955.99 s
[opt-env-conf-test] functionChunk "withConfig",
1955.99 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1955.99 s
[opt-env-conf-test] functionChunk "withoutConfig",
1955.99 s
[opt-env-conf-test] "."
1955.99 s
[opt-env-conf-test] ]
1955.99 s
[opt-env-conf-test] ]
1955.99 s
[opt-env-conf-test] LintErrorManyInfinite ->
1955.99 s
[opt-env-conf-test] [ [ functionChunk "many",
1955.99 s
[opt-env-conf-test] " or ",
1955.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1955.99 s
[opt-env-conf-test] @@ -221,11 +221,7 @@
1955.99 s
[opt-env-conf-test] ]
1955.99 s
[opt-env-conf-test] ]
1955.99 s
[opt-env-conf-test] LintErrorManyInfinite ->
1955.99 s
[opt-env-conf-test] - [ [ functionChunk "many",
1955.99 s
[opt-env-conf-test] - " or ",
1955.99 s
[opt-env-conf-test] - functionChunk "some",
1955.99 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1955.99 s
[opt-env-conf-test] ],
1955.99 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1955.99 s
[opt-env-conf-test] ],
1955.99 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1955.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1955.99 s
[opt-env-conf-test] @@ -221,11 +221,10 @@
1955.99 s
[opt-env-conf-test] ]
1955.99 s
[opt-env-conf-test] ]
1955.99 s
[opt-env-conf-test] LintErrorManyInfinite ->
1955.99 s
[opt-env-conf-test] - [ [ functionChunk "many",
1955.99 s
[opt-env-conf-test] " or ",
1955.99 s
[opt-env-conf-test] functionChunk "some",
1955.99 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1955.99 s
[opt-env-conf-test] ],
1955.99 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1955.99 s
[opt-env-conf-test] ],
1955.99 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1955.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1955.99 s
[opt-env-conf-test] @@ -221,11 +221,10 @@
1955.99 s
[opt-env-conf-test] ]
1955.99 s
[opt-env-conf-test] ]
1955.99 s
[opt-env-conf-test] LintErrorManyInfinite ->
1955.99 s
[opt-env-conf-test] [ [ functionChunk "many",
1955.99 s
[opt-env-conf-test] " or ",
1955.99 s
[opt-env-conf-test] functionChunk "some",
1955.99 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1955.99 s
[opt-env-conf-test] ],
1955.99 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1955.99 s
[opt-env-conf-test] ],
1955.99 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1955.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
1955.99 s
[opt-env-conf-test] @@ -221,13 +221,7 @@
1955.99 s
[opt-env-conf-test] ]
1955.99 s
[opt-env-conf-test] ]
1955.99 s
[opt-env-conf-test] LintErrorManyInfinite ->
1955.99 s
[opt-env-conf-test] - [ [ functionChunk "many",
1955.99 s
[opt-env-conf-test] - " or ",
1955.99 s
[opt-env-conf-test] - functionChunk "some",
1956.00 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1956.00 s
[opt-env-conf-test] - ],
1956.00 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1956.00 s
[opt-env-conf-test] ],
1956.00 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1956.00 s
[opt-env-conf-test] ]
1956.00 s
[opt-env-conf-test]
1956.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
1956.00 s
[opt-env-conf-test] @@ -221,13 +221,8 @@
1956.00 s
[opt-env-conf-test] ]
1956.00 s
[opt-env-conf-test] ]
1956.00 s
[opt-env-conf-test] LintErrorManyInfinite ->
1956.00 s
[opt-env-conf-test] - [ [ functionChunk "many",
1956.00 s
[opt-env-conf-test] - " or ",
1956.00 s
[opt-env-conf-test] - functionChunk "some",
1956.00 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1956.00 s
[opt-env-conf-test] - ],
1956.00 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1956.00 s
[opt-env-conf-test] ],
1956.00 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1956.00 s
[opt-env-conf-test] ]
1956.00 s
[opt-env-conf-test]
1956.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1956.00 s
[opt-env-conf-test] @@ -66,168 +66,166 @@
1956.00 s
[opt-env-conf-test] renderLintError LintError {..} =
1956.00 s
[opt-env-conf-test] concat
1956.00 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1956.00 s
[opt-env-conf-test] case lintErrorMessage of
1956.00 s
[opt-env-conf-test] - LintErrorUndocumented ->
1956.00 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1956.00 s
[opt-env-conf-test] LintErrorEmptySetting ->
1956.00 s
[opt-env-conf-test] concat
1956.00 s
[opt-env-conf-test] [ [ [ "This ",
1956.00 s
[opt-env-conf-test] functionChunk "setting",
1956.00 s
[opt-env-conf-test] " parses nothing."
1956.00 s
[opt-env-conf-test] ]
1956.00 s
[opt-env-conf-test] ],
1956.00 s
[opt-env-conf-test] [ [ "Add an ",
1956.00 s
[opt-env-conf-test] functionChunk "argument",
1956.00 s
[opt-env-conf-test] ", ",
1956.00 s
[opt-env-conf-test] functionChunk "switch",
1956.00 s
[opt-env-conf-test] ", ",
1956.00 s
[opt-env-conf-test] functionChunk "option",
1956.00 s
[opt-env-conf-test] ", ",
1956.00 s
[opt-env-conf-test] functionChunk "env",
1956.00 s
[opt-env-conf-test] ", ",
1956.00 s
[opt-env-conf-test] functionChunk "conf",
1956.00 s
[opt-env-conf-test] ", or ",
1956.00 s
[opt-env-conf-test] functionChunk "value",
1956.00 s
[opt-env-conf-test] "."
1956.00 s
[opt-env-conf-test] ]
1956.00 s
[opt-env-conf-test] ]
1956.00 s
[opt-env-conf-test] ]
1956.00 s
[opt-env-conf-test] LintErrorDashInShort ->
1956.01 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1956.01 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] LintErrorDashInLong s ->
1956.01 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1956.01 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1956.01 s
[opt-env-conf-test] [ "Try ",
1956.01 s
[opt-env-conf-test] functionChunk "long",
1956.01 s
[opt-env-conf-test] " ",
1956.01 s
[opt-env-conf-test] chunk $
1956.01 s
[opt-env-conf-test] T.pack $
1956.01 s
[opt-env-conf-test] show $
1956.01 s
[opt-env-conf-test] let go = \case
1956.01 s
[opt-env-conf-test] [] -> []
1956.01 s
[opt-env-conf-test] '-' : cs -> go cs
1956.01 s
[opt-env-conf-test] c : cs -> c : cs
1956.01 s
[opt-env-conf-test] in go $ NE.toList s,
1956.01 s
[opt-env-conf-test] " instead."
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1956.01 s
[opt-env-conf-test] [ [ functionChunk "argument",
1956.01 s
[opt-env-conf-test] " has no ",
1956.01 s
[opt-env-conf-test] functionChunk "reader",
1956.01 s
[opt-env-conf-test] "."
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1956.01 s
[opt-env-conf-test] [ [ functionChunk "argument",
1956.01 s
[opt-env-conf-test] " has no ",
1956.01 s
[opt-env-conf-test] functionChunk "metavar",
1956.01 s
[opt-env-conf-test] "."
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1956.01 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.01 s
[opt-env-conf-test] " or ",
1956.01 s
[opt-env-conf-test] functionChunk "name",
1956.01 s
[opt-env-conf-test] " has no ",
1956.01 s
[opt-env-conf-test] functionChunk "reader",
1956.01 s
[opt-env-conf-test] "."
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1956.01 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.01 s
[opt-env-conf-test] " has no ",
1956.01 s
[opt-env-conf-test] functionChunk "long",
1956.01 s
[opt-env-conf-test] " or ",
1956.01 s
[opt-env-conf-test] functionChunk "short",
1956.01 s
[opt-env-conf-test] "."
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1956.01 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.01 s
[opt-env-conf-test] " or ",
1956.01 s
[opt-env-conf-test] functionChunk "name",
1956.01 s
[opt-env-conf-test] " has no ",
1956.01 s
[opt-env-conf-test] functionChunk "metavar",
1956.01 s
[opt-env-conf-test] "."
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1956.01 s
[opt-env-conf-test] [ [ functionChunk "switch",
1956.01 s
[opt-env-conf-test] " has no ",
1956.01 s
[opt-env-conf-test] functionChunk "long",
1956.01 s
[opt-env-conf-test] " or ",
1956.01 s
[opt-env-conf-test] functionChunk "short",
1956.01 s
[opt-env-conf-test] "."
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] ]
1956.01 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1956.01 s
[opt-env-conf-test] [ [ functionChunk "long",
1956.01 s
[opt-env-conf-test] " or ",
1956.01 s
[opt-env-conf-test] functionChunk "short",
1956.01 s
[opt-env-conf-test] " has no ",
1956.01 s
[opt-env-conf-test] functionChunk "option",
1956.01 s
[opt-env-conf-test] " or ",
1956.02 s
[opt-env-conf-test] functionChunk "switch",
1956.02 s
[opt-env-conf-test] "."
1956.02 s
[opt-env-conf-test] ]
1956.02 s
[opt-env-conf-test] ]
1956.02 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1956.02 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.02 s
[opt-env-conf-test] " or ",
1956.02 s
[opt-env-conf-test] functionChunk "name",
1956.02 s
[opt-env-conf-test] " has no ",
1956.02 s
[opt-env-conf-test] functionChunk "reader",
1956.02 s
[opt-env-conf-test] "."
1956.02 s
[opt-env-conf-test] ]
1956.02 s
[opt-env-conf-test] ]
1956.02 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1956.02 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.02 s
[opt-env-conf-test] " or ",
1956.02 s
[opt-env-conf-test] functionChunk "name",
1956.02 s
[opt-env-conf-test] " has no ",
1956.02 s
[opt-env-conf-test] functionChunk "metavar",
1956.02 s
[opt-env-conf-test] "."
1956.02 s
[opt-env-conf-test] ]
1956.02 s
[opt-env-conf-test] ]
1956.02 s
[opt-env-conf-test] LintErrorNoCommands ->
1956.02 s
[opt-env-conf-test] [ [ functionChunk "commands",
1956.10 s
[opt-env-conf-test] " was called with an empty list."
1956.10 s
[opt-env-conf-test] ]
1956.10 s
[opt-env-conf-test] ]
1956.11 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1956.11 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1956.11 s
[opt-env-conf-test] " was called with an unknown command: ",
1956.11 s
[opt-env-conf-test] commandChunk c
1956.11 s
[opt-env-conf-test] ]
1956.11 s
[opt-env-conf-test] ]
1956.11 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1956.11 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1956.11 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1956.11 s
[opt-env-conf-test] ]
1956.11 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1956.11 s
[opt-env-conf-test] [ [ functionChunk "conf",
1956.11 s
[opt-env-conf-test] " or ",
1956.11 s
[opt-env-conf-test] functionChunk "name",
1956.11 s
[opt-env-conf-test] " was called with no way to load configuration."
1956.11 s
[opt-env-conf-test] ],
1956.11 s
[opt-env-conf-test] [ "You can load configuration with ",
1956.11 s
[opt-env-conf-test] functionChunk "withConfig",
1956.11 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1956.11 s
[opt-env-conf-test] functionChunk "withoutConfig",
1956.11 s
[opt-env-conf-test] "."
1956.11 s
[opt-env-conf-test] ]
1956.11 s
[opt-env-conf-test] ]
1956.11 s
[opt-env-conf-test] LintErrorManyInfinite ->
1956.11 s
[opt-env-conf-test] [ [ functionChunk "many",
1956.11 s
[opt-env-conf-test] " or ",
1956.11 s
[opt-env-conf-test] functionChunk "some",
1956.11 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1956.11 s
[opt-env-conf-test] ],
1956.11 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1956.11 s
[opt-env-conf-test] ],
1956.11 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1956.11 s
[opt-env-conf-test] ]
1956.11 s
[opt-env-conf-test]
1956.11 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1956.11 s
[opt-env-conf-test] @@ -66,168 +66,145 @@
1956.11 s
[opt-env-conf-test] renderLintError LintError {..} =
1956.11 s
[opt-env-conf-test] concat
1956.11 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1956.12 s
[opt-env-conf-test] case lintErrorMessage of
1956.12 s
[opt-env-conf-test] LintErrorUndocumented ->
1956.12 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1956.12 s
[opt-env-conf-test] - LintErrorEmptySetting ->
1956.12 s
[opt-env-conf-test] - concat
1956.12 s
[opt-env-conf-test] - [ [ [ "This ",
1956.12 s
[opt-env-conf-test] - functionChunk "setting",
1956.12 s
[opt-env-conf-test] - " parses nothing."
1956.12 s
[opt-env-conf-test] - ]
1956.12 s
[opt-env-conf-test] - ],
1956.12 s
[opt-env-conf-test] - [ [ "Add an ",
1956.12 s
[opt-env-conf-test] - functionChunk "argument",
1956.12 s
[opt-env-conf-test] - ", ",
1956.12 s
[opt-env-conf-test] - functionChunk "switch",
1956.12 s
[opt-env-conf-test] - ", ",
1956.12 s
[opt-env-conf-test] - functionChunk "option",
1956.12 s
[opt-env-conf-test] - ", ",
1956.12 s
[opt-env-conf-test] - functionChunk "env",
1956.12 s
[opt-env-conf-test] - ", ",
1956.12 s
[opt-env-conf-test] - functionChunk "conf",
1956.12 s
[opt-env-conf-test] - ", or ",
1956.12 s
[opt-env-conf-test] - functionChunk "value",
1956.12 s
[opt-env-conf-test] - "."
1956.12 s
[opt-env-conf-test] - ]
1956.12 s
[opt-env-conf-test] - ]
1956.12 s
[opt-env-conf-test] - ]
1956.12 s
[opt-env-conf-test] LintErrorDashInShort ->
1956.12 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1956.12 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1956.12 s
[opt-env-conf-test] ]
1956.12 s
[opt-env-conf-test] LintErrorDashInLong s ->
1956.12 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1956.12 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1956.12 s
[opt-env-conf-test] [ "Try ",
1956.12 s
[opt-env-conf-test] functionChunk "long",
1956.12 s
[opt-env-conf-test] " ",
1956.12 s
[opt-env-conf-test] chunk $
1956.12 s
[opt-env-conf-test] T.pack $
1956.12 s
[opt-env-conf-test] show $
1956.12 s
[opt-env-conf-test] let go = \case
1956.12 s
[opt-env-conf-test] [] -> []
1956.12 s
[opt-env-conf-test] '-' : cs -> go cs
1956.12 s
[opt-env-conf-test] c : cs -> c : cs
1956.12 s
[opt-env-conf-test] in go $ NE.toList s,
1956.12 s
[opt-env-conf-test] " instead."
1956.12 s
[opt-env-conf-test] ]
1956.12 s
[opt-env-conf-test] ]
1956.12 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1956.13 s
[opt-env-conf-test] [ [ functionChunk "argument",
1956.13 s
[opt-env-conf-test] " has no ",
1956.13 s
[opt-env-conf-test] functionChunk "reader",
1956.13 s
[opt-env-conf-test] "."
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1956.13 s
[opt-env-conf-test] [ [ functionChunk "argument",
1956.13 s
[opt-env-conf-test] " has no ",
1956.13 s
[opt-env-conf-test] functionChunk "metavar",
1956.13 s
[opt-env-conf-test] "."
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1956.13 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.13 s
[opt-env-conf-test] " or ",
1956.13 s
[opt-env-conf-test] functionChunk "name",
1956.13 s
[opt-env-conf-test] " has no ",
1956.13 s
[opt-env-conf-test] functionChunk "reader",
1956.13 s
[opt-env-conf-test] "."
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1956.13 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.13 s
[opt-env-conf-test] " has no ",
1956.13 s
[opt-env-conf-test] functionChunk "long",
1956.13 s
[opt-env-conf-test] " or ",
1956.13 s
[opt-env-conf-test] functionChunk "short",
1956.13 s
[opt-env-conf-test] "."
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1956.13 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.13 s
[opt-env-conf-test] " or ",
1956.13 s
[opt-env-conf-test] functionChunk "name",
1956.13 s
[opt-env-conf-test] " has no ",
1956.13 s
[opt-env-conf-test] functionChunk "metavar",
1956.13 s
[opt-env-conf-test] "."
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1956.13 s
[opt-env-conf-test] [ [ functionChunk "switch",
1956.13 s
[opt-env-conf-test] " has no ",
1956.13 s
[opt-env-conf-test] functionChunk "long",
1956.13 s
[opt-env-conf-test] " or ",
1956.13 s
[opt-env-conf-test] functionChunk "short",
1956.13 s
[opt-env-conf-test] "."
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] ]
1956.13 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1956.13 s
[opt-env-conf-test] [ [ functionChunk "long",
1956.13 s
[opt-env-conf-test] " or ",
1956.13 s
[opt-env-conf-test] functionChunk "short",
1956.13 s
[opt-env-conf-test] " has no ",
1956.13 s
[opt-env-conf-test] functionChunk "option",
1956.13 s
[opt-env-conf-test] " or ",
1956.13 s
[opt-env-conf-test] functionChunk "switch",
1956.13 s
[opt-env-conf-test] "."
1956.13 s
[opt-env-conf-test] ]
1956.14 s
[opt-env-conf-test] ]
1956.14 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1956.14 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.14 s
[opt-env-conf-test] " or ",
1956.14 s
[opt-env-conf-test] functionChunk "name",
1956.14 s
[opt-env-conf-test] " has no ",
1956.14 s
[opt-env-conf-test] functionChunk "reader",
1956.14 s
[opt-env-conf-test] "."
1956.14 s
[opt-env-conf-test] ]
1956.14 s
[opt-env-conf-test] ]
1956.14 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1956.14 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.14 s
[opt-env-conf-test] " or ",
1956.14 s
[opt-env-conf-test] functionChunk "name",
1956.14 s
[opt-env-conf-test] " has no ",
1956.65 s
[opt-env-conf-test] functionChunk "metavar",
1956.65 s
[opt-env-conf-test] "."
1956.65 s
[opt-env-conf-test] ]
1956.65 s
[opt-env-conf-test] ]
1956.65 s
[opt-env-conf-test] LintErrorNoCommands ->
1956.65 s
[opt-env-conf-test] [ [ functionChunk "commands",
1956.65 s
[opt-env-conf-test] " was called with an empty list."
1956.65 s
[opt-env-conf-test] ]
1956.65 s
[opt-env-conf-test] ]
1956.65 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1956.65 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1956.65 s
[opt-env-conf-test] " was called with an unknown command: ",
1956.65 s
[opt-env-conf-test] commandChunk c
1956.65 s
[opt-env-conf-test] ]
1956.65 s
[opt-env-conf-test] ]
1956.65 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1956.65 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1956.65 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1956.65 s
[opt-env-conf-test] ]
1956.65 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1956.66 s
[opt-env-conf-test] [ [ functionChunk "conf",
1956.66 s
[opt-env-conf-test] " or ",
1956.66 s
[opt-env-conf-test] functionChunk "name",
1956.66 s
[opt-env-conf-test] " was called with no way to load configuration."
1956.66 s
[opt-env-conf-test] ],
1956.66 s
[opt-env-conf-test] [ "You can load configuration with ",
1956.66 s
[opt-env-conf-test] functionChunk "withConfig",
1956.66 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1956.66 s
[opt-env-conf-test] functionChunk "withoutConfig",
1956.66 s
[opt-env-conf-test] "."
1956.66 s
[opt-env-conf-test] ]
1956.66 s
[opt-env-conf-test] ]
1956.66 s
[opt-env-conf-test] LintErrorManyInfinite ->
1956.66 s
[opt-env-conf-test] [ [ functionChunk "many",
1956.66 s
[opt-env-conf-test] " or ",
1956.66 s
[opt-env-conf-test] functionChunk "some",
1956.66 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1956.66 s
[opt-env-conf-test] ],
1956.66 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1956.66 s
[opt-env-conf-test] ],
1956.66 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1956.66 s
[opt-env-conf-test] ]
1956.66 s
[opt-env-conf-test]
1956.66 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1956.66 s
[opt-env-conf-test] @@ -66,168 +66,164 @@
1956.66 s
[opt-env-conf-test] renderLintError LintError {..} =
1956.66 s
[opt-env-conf-test] concat
1956.66 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1956.66 s
[opt-env-conf-test] case lintErrorMessage of
1956.66 s
[opt-env-conf-test] LintErrorUndocumented ->
1956.66 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1956.66 s
[opt-env-conf-test] LintErrorEmptySetting ->
1956.66 s
[opt-env-conf-test] concat
1956.67 s
[opt-env-conf-test] [ [ [ "This ",
1956.67 s
[opt-env-conf-test] functionChunk "setting",
1956.67 s
[opt-env-conf-test] " parses nothing."
1956.67 s
[opt-env-conf-test] ]
1956.67 s
[opt-env-conf-test] ],
1956.67 s
[opt-env-conf-test] [ [ "Add an ",
1956.67 s
[opt-env-conf-test] functionChunk "argument",
1956.67 s
[opt-env-conf-test] ", ",
1956.67 s
[opt-env-conf-test] functionChunk "switch",
1956.67 s
[opt-env-conf-test] ", ",
1956.67 s
[opt-env-conf-test] functionChunk "option",
1956.67 s
[opt-env-conf-test] ", ",
1956.67 s
[opt-env-conf-test] functionChunk "env",
1956.67 s
[opt-env-conf-test] ", ",
1956.67 s
[opt-env-conf-test] functionChunk "conf",
1956.67 s
[opt-env-conf-test] ", or ",
1956.67 s
[opt-env-conf-test] functionChunk "value",
1956.67 s
[opt-env-conf-test] "."
1956.67 s
[opt-env-conf-test] ]
1956.67 s
[opt-env-conf-test] ]
1956.67 s
[opt-env-conf-test] ]
1956.67 s
[opt-env-conf-test] - LintErrorDashInShort ->
1956.67 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1956.67 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1956.67 s
[opt-env-conf-test] - ]
1956.67 s
[opt-env-conf-test] LintErrorDashInLong s ->
1956.67 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1956.67 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1956.67 s
[opt-env-conf-test] [ "Try ",
1956.67 s
[opt-env-conf-test] functionChunk "long",
1956.67 s
[opt-env-conf-test] " ",
1956.67 s
[opt-env-conf-test] chunk $
1956.67 s
[opt-env-conf-test] T.pack $
1956.67 s
[opt-env-conf-test] show $
1956.67 s
[opt-env-conf-test] let go = \case
1956.67 s
[opt-env-conf-test] [] -> []
1956.67 s
[opt-env-conf-test] '-' : cs -> go cs
1956.67 s
[opt-env-conf-test] c : cs -> c : cs
1956.67 s
[opt-env-conf-test] in go $ NE.toList s,
1956.67 s
[opt-env-conf-test] " instead."
1956.67 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1956.68 s
[opt-env-conf-test] [ [ functionChunk "argument",
1956.68 s
[opt-env-conf-test] " has no ",
1956.68 s
[opt-env-conf-test] functionChunk "reader",
1956.68 s
[opt-env-conf-test] "."
1956.68 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1956.68 s
[opt-env-conf-test] [ [ functionChunk "argument",
1956.68 s
[opt-env-conf-test] " has no ",
1956.68 s
[opt-env-conf-test] functionChunk "metavar",
1956.68 s
[opt-env-conf-test] "."
1956.68 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1956.68 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.68 s
[opt-env-conf-test] " or ",
1956.68 s
[opt-env-conf-test] functionChunk "name",
1956.68 s
[opt-env-conf-test] " has no ",
1956.68 s
[opt-env-conf-test] functionChunk "reader",
1956.68 s
[opt-env-conf-test] "."
1956.68 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1956.68 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.68 s
[opt-env-conf-test] " has no ",
1956.68 s
[opt-env-conf-test] functionChunk "long",
1956.68 s
[opt-env-conf-test] " or ",
1956.68 s
[opt-env-conf-test] functionChunk "short",
1956.68 s
[opt-env-conf-test] "."
1956.68 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1956.68 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.68 s
[opt-env-conf-test] " or ",
1956.68 s
[opt-env-conf-test] functionChunk "name",
1956.68 s
[opt-env-conf-test] " has no ",
1956.68 s
[opt-env-conf-test] functionChunk "metavar",
1956.68 s
[opt-env-conf-test] "."
1956.68 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] ]
1956.68 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1956.68 s
[opt-env-conf-test] [ [ functionChunk "switch",
1956.68 s
[opt-env-conf-test] " has no ",
1956.68 s
[opt-env-conf-test] functionChunk "long",
1956.68 s
[opt-env-conf-test] " or ",
1956.68 s
[opt-env-conf-test] functionChunk "short",
1956.68 s
[opt-env-conf-test] "."
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1956.69 s
[opt-env-conf-test] [ [ functionChunk "long",
1956.69 s
[opt-env-conf-test] " or ",
1956.69 s
[opt-env-conf-test] functionChunk "short",
1956.69 s
[opt-env-conf-test] " has no ",
1956.69 s
[opt-env-conf-test] functionChunk "option",
1956.69 s
[opt-env-conf-test] " or ",
1956.69 s
[opt-env-conf-test] functionChunk "switch",
1956.69 s
[opt-env-conf-test] "."
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1956.69 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.69 s
[opt-env-conf-test] " or ",
1956.69 s
[opt-env-conf-test] functionChunk "name",
1956.69 s
[opt-env-conf-test] " has no ",
1956.69 s
[opt-env-conf-test] functionChunk "reader",
1956.69 s
[opt-env-conf-test] "."
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1956.69 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.69 s
[opt-env-conf-test] " or ",
1956.69 s
[opt-env-conf-test] functionChunk "name",
1956.69 s
[opt-env-conf-test] " has no ",
1956.69 s
[opt-env-conf-test] functionChunk "metavar",
1956.69 s
[opt-env-conf-test] "."
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] LintErrorNoCommands ->
1956.69 s
[opt-env-conf-test] [ [ functionChunk "commands",
1956.69 s
[opt-env-conf-test] " was called with an empty list."
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1956.69 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1956.69 s
[opt-env-conf-test] " was called with an unknown command: ",
1956.69 s
[opt-env-conf-test] commandChunk c
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1956.69 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1956.69 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1956.69 s
[opt-env-conf-test] ]
1956.69 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1956.69 s
[opt-env-conf-test] [ [ functionChunk "conf",
1956.69 s
[opt-env-conf-test] " or ",
1956.69 s
[opt-env-conf-test] functionChunk "name",
1956.69 s
[opt-env-conf-test] " was called with no way to load configuration."
1956.69 s
[opt-env-conf-test] ],
1956.69 s
[opt-env-conf-test] [ "You can load configuration with ",
1956.70 s
[opt-env-conf-test] functionChunk "withConfig",
1956.70 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1956.70 s
[opt-env-conf-test] functionChunk "withoutConfig",
1956.70 s
[opt-env-conf-test] "."
1956.70 s
[opt-env-conf-test] ]
1956.70 s
[opt-env-conf-test] ]
1956.70 s
[opt-env-conf-test] LintErrorManyInfinite ->
1956.70 s
[opt-env-conf-test] [ [ functionChunk "many",
1956.70 s
[opt-env-conf-test] " or ",
1956.70 s
[opt-env-conf-test] functionChunk "some",
1956.70 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1956.70 s
[opt-env-conf-test] ],
1956.70 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1956.70 s
[opt-env-conf-test] ],
1956.70 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1956.70 s
[opt-env-conf-test] ]
1956.70 s
[opt-env-conf-test]
1956.70 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1956.70 s
[opt-env-conf-test] @@ -66,168 +66,151 @@
1956.70 s
[opt-env-conf-test] renderLintError LintError {..} =
1956.70 s
[opt-env-conf-test] concat
1956.70 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1956.70 s
[opt-env-conf-test] case lintErrorMessage of
1956.70 s
[opt-env-conf-test] LintErrorUndocumented ->
1956.70 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1956.70 s
[opt-env-conf-test] LintErrorEmptySetting ->
1956.70 s
[opt-env-conf-test] concat
1956.70 s
[opt-env-conf-test] [ [ [ "This ",
1956.70 s
[opt-env-conf-test] functionChunk "setting",
1956.70 s
[opt-env-conf-test] " parses nothing."
1956.70 s
[opt-env-conf-test] ]
1956.70 s
[opt-env-conf-test] ],
1956.70 s
[opt-env-conf-test] [ [ "Add an ",
1956.70 s
[opt-env-conf-test] functionChunk "argument",
1956.70 s
[opt-env-conf-test] ", ",
1956.70 s
[opt-env-conf-test] functionChunk "switch",
1956.70 s
[opt-env-conf-test] ", ",
1956.70 s
[opt-env-conf-test] functionChunk "option",
1956.70 s
[opt-env-conf-test] ", ",
1956.70 s
[opt-env-conf-test] functionChunk "env",
1956.70 s
[opt-env-conf-test] ", ",
1956.70 s
[opt-env-conf-test] functionChunk "conf",
1956.70 s
[opt-env-conf-test] ", or ",
1956.70 s
[opt-env-conf-test] functionChunk "value",
1956.70 s
[opt-env-conf-test] "."
1956.70 s
[opt-env-conf-test] ]
1956.70 s
[opt-env-conf-test] ]
1956.70 s
[opt-env-conf-test] ]
1956.70 s
[opt-env-conf-test] LintErrorDashInShort ->
1956.70 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1956.70 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1956.70 s
[opt-env-conf-test] ]
1956.70 s
[opt-env-conf-test] - LintErrorDashInLong s ->
1956.70 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1956.70 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1956.70 s
[opt-env-conf-test] - [ "Try ",
1956.70 s
[opt-env-conf-test] - functionChunk "long",
1956.70 s
[opt-env-conf-test] - " ",
1956.71 s
[opt-env-conf-test] - chunk $
1956.71 s
[opt-env-conf-test] - T.pack $
1956.71 s
[opt-env-conf-test] - show $
1956.71 s
[opt-env-conf-test] - let go = \case
1956.71 s
[opt-env-conf-test] - [] -> []
1956.71 s
[opt-env-conf-test] - '-' : cs -> go cs
1956.71 s
[opt-env-conf-test] - c : cs -> c : cs
1956.71 s
[opt-env-conf-test] - in go $ NE.toList s,
1956.71 s
[opt-env-conf-test] - " instead."
1956.71 s
[opt-env-conf-test] - ]
1956.71 s
[opt-env-conf-test] - ]
1956.71 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1956.71 s
[opt-env-conf-test] [ [ functionChunk "argument",
1956.71 s
[opt-env-conf-test] " has no ",
1956.71 s
[opt-env-conf-test] functionChunk "reader",
1956.71 s
[opt-env-conf-test] "."
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1956.71 s
[opt-env-conf-test] [ [ functionChunk "argument",
1956.71 s
[opt-env-conf-test] " has no ",
1956.71 s
[opt-env-conf-test] functionChunk "metavar",
1956.71 s
[opt-env-conf-test] "."
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1956.71 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.71 s
[opt-env-conf-test] " or ",
1956.71 s
[opt-env-conf-test] functionChunk "name",
1956.71 s
[opt-env-conf-test] " has no ",
1956.71 s
[opt-env-conf-test] functionChunk "reader",
1956.71 s
[opt-env-conf-test] "."
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1956.71 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.71 s
[opt-env-conf-test] " has no ",
1956.71 s
[opt-env-conf-test] functionChunk "long",
1956.71 s
[opt-env-conf-test] " or ",
1956.71 s
[opt-env-conf-test] functionChunk "short",
1956.71 s
[opt-env-conf-test] "."
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1956.71 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.71 s
[opt-env-conf-test] " or ",
1956.71 s
[opt-env-conf-test] functionChunk "name",
1956.71 s
[opt-env-conf-test] " has no ",
1956.71 s
[opt-env-conf-test] functionChunk "metavar",
1956.71 s
[opt-env-conf-test] "."
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1956.71 s
[opt-env-conf-test] [ [ functionChunk "switch",
1956.71 s
[opt-env-conf-test] " has no ",
1956.71 s
[opt-env-conf-test] functionChunk "long",
1956.71 s
[opt-env-conf-test] " or ",
1956.71 s
[opt-env-conf-test] functionChunk "short",
1956.71 s
[opt-env-conf-test] "."
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] ]
1956.71 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1956.71 s
[opt-env-conf-test] [ [ functionChunk "long",
1956.71 s
[opt-env-conf-test] " or ",
1956.71 s
[opt-env-conf-test] functionChunk "short",
1956.71 s
[opt-env-conf-test] " has no ",
1956.71 s
[opt-env-conf-test] functionChunk "option",
1956.71 s
[opt-env-conf-test] " or ",
1956.71 s
[opt-env-conf-test] functionChunk "switch",
1956.71 s
[opt-env-conf-test] "."
1956.71 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1956.72 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.72 s
[opt-env-conf-test] " or ",
1956.72 s
[opt-env-conf-test] functionChunk "name",
1956.72 s
[opt-env-conf-test] " has no ",
1956.72 s
[opt-env-conf-test] functionChunk "reader",
1956.72 s
[opt-env-conf-test] "."
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1956.72 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.72 s
[opt-env-conf-test] " or ",
1956.72 s
[opt-env-conf-test] functionChunk "name",
1956.72 s
[opt-env-conf-test] " has no ",
1956.72 s
[opt-env-conf-test] functionChunk "metavar",
1956.72 s
[opt-env-conf-test] "."
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] LintErrorNoCommands ->
1956.72 s
[opt-env-conf-test] [ [ functionChunk "commands",
1956.72 s
[opt-env-conf-test] " was called with an empty list."
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1956.72 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1956.72 s
[opt-env-conf-test] " was called with an unknown command: ",
1956.72 s
[opt-env-conf-test] commandChunk c
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1956.72 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1956.72 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1956.72 s
[opt-env-conf-test] [ [ functionChunk "conf",
1956.72 s
[opt-env-conf-test] " or ",
1956.72 s
[opt-env-conf-test] functionChunk "name",
1956.72 s
[opt-env-conf-test] " was called with no way to load configuration."
1956.72 s
[opt-env-conf-test] ],
1956.72 s
[opt-env-conf-test] [ "You can load configuration with ",
1956.72 s
[opt-env-conf-test] functionChunk "withConfig",
1956.72 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1956.72 s
[opt-env-conf-test] functionChunk "withoutConfig",
1956.72 s
[opt-env-conf-test] "."
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test] LintErrorManyInfinite ->
1956.72 s
[opt-env-conf-test] [ [ functionChunk "many",
1956.72 s
[opt-env-conf-test] " or ",
1956.72 s
[opt-env-conf-test] functionChunk "some",
1956.72 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1956.72 s
[opt-env-conf-test] ],
1956.72 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1956.72 s
[opt-env-conf-test] ],
1956.72 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1956.72 s
[opt-env-conf-test] ]
1956.72 s
[opt-env-conf-test]
1956.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1956.72 s
[opt-env-conf-test] @@ -66,168 +66,161 @@
1956.72 s
[opt-env-conf-test] renderLintError LintError {..} =
1956.72 s
[opt-env-conf-test] concat
1956.72 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1956.72 s
[opt-env-conf-test] case lintErrorMessage of
1956.73 s
[opt-env-conf-test] LintErrorUndocumented ->
1956.73 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1956.73 s
[opt-env-conf-test] LintErrorEmptySetting ->
1956.73 s
[opt-env-conf-test] concat
1956.73 s
[opt-env-conf-test] [ [ [ "This ",
1956.73 s
[opt-env-conf-test] functionChunk "setting",
1956.73 s
[opt-env-conf-test] " parses nothing."
1956.73 s
[opt-env-conf-test] ]
1956.73 s
[opt-env-conf-test] ],
1956.73 s
[opt-env-conf-test] [ [ "Add an ",
1956.73 s
[opt-env-conf-test] functionChunk "argument",
1956.73 s
[opt-env-conf-test] ", ",
1956.73 s
[opt-env-conf-test] functionChunk "switch",
1956.73 s
[opt-env-conf-test] ", ",
1956.73 s
[opt-env-conf-test] functionChunk "option",
1956.73 s
[opt-env-conf-test] ", ",
1956.73 s
[opt-env-conf-test] functionChunk "env",
1956.73 s
[opt-env-conf-test] ", ",
1956.73 s
[opt-env-conf-test] functionChunk "conf",
1956.73 s
[opt-env-conf-test] ", or ",
1956.73 s
[opt-env-conf-test] functionChunk "value",
1956.73 s
[opt-env-conf-test] "."
1956.73 s
[opt-env-conf-test] ]
1956.73 s
[opt-env-conf-test] ]
1956.73 s
[opt-env-conf-test] ]
1956.73 s
[opt-env-conf-test] LintErrorDashInShort ->
1956.73 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1956.73 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1956.73 s
[opt-env-conf-test] ]
1956.73 s
[opt-env-conf-test] LintErrorDashInLong s ->
1956.73 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1956.73 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1956.73 s
[opt-env-conf-test] [ "Try ",
1956.73 s
[opt-env-conf-test] functionChunk "long",
1956.73 s
[opt-env-conf-test] " ",
1956.73 s
[opt-env-conf-test] chunk $
1956.73 s
[opt-env-conf-test] T.pack $
1956.73 s
[opt-env-conf-test] show $
1956.73 s
[opt-env-conf-test] let go = \case
1956.73 s
[opt-env-conf-test] [] -> []
1956.73 s
[opt-env-conf-test] '-' : cs -> go cs
1956.73 s
[opt-env-conf-test] c : cs -> c : cs
1956.73 s
[opt-env-conf-test] in go $ NE.toList s,
1956.73 s
[opt-env-conf-test] " instead."
1956.73 s
[opt-env-conf-test] ]
1956.73 s
[opt-env-conf-test] ]
1956.73 s
[opt-env-conf-test] - LintErrorNoReaderForArgument ->
1956.73 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1956.73 s
[opt-env-conf-test] - " has no ",
1956.73 s
[opt-env-conf-test] - functionChunk "reader",
1956.73 s
[opt-env-conf-test] - "."
1956.73 s
[opt-env-conf-test] - ]
1956.73 s
[opt-env-conf-test] - ]
1956.73 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1956.73 s
[opt-env-conf-test] [ [ functionChunk "argument",
1956.73 s
[opt-env-conf-test] " has no ",
1956.73 s
[opt-env-conf-test] functionChunk "metavar",
1956.73 s
[opt-env-conf-test] "."
1956.73 s
[opt-env-conf-test] ]
1956.73 s
[opt-env-conf-test] ]
1956.73 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1956.73 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.73 s
[opt-env-conf-test] " or ",
1956.73 s
[opt-env-conf-test] functionChunk "name",
1956.73 s
[opt-env-conf-test] " has no ",
1956.73 s
[opt-env-conf-test] functionChunk "reader",
1956.73 s
[opt-env-conf-test] "."
1956.73 s
[opt-env-conf-test] ]
1956.73 s
[opt-env-conf-test] ]
1956.73 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1956.74 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.74 s
[opt-env-conf-test] " has no ",
1956.74 s
[opt-env-conf-test] functionChunk "long",
1956.74 s
[opt-env-conf-test] " or ",
1956.74 s
[opt-env-conf-test] functionChunk "short",
1956.74 s
[opt-env-conf-test] "."
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1956.74 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.74 s
[opt-env-conf-test] " or ",
1956.74 s
[opt-env-conf-test] functionChunk "name",
1956.74 s
[opt-env-conf-test] " has no ",
1956.74 s
[opt-env-conf-test] functionChunk "metavar",
1956.74 s
[opt-env-conf-test] "."
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1956.74 s
[opt-env-conf-test] [ [ functionChunk "switch",
1956.74 s
[opt-env-conf-test] " has no ",
1956.74 s
[opt-env-conf-test] functionChunk "long",
1956.74 s
[opt-env-conf-test] " or ",
1956.74 s
[opt-env-conf-test] functionChunk "short",
1956.74 s
[opt-env-conf-test] "."
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1956.74 s
[opt-env-conf-test] [ [ functionChunk "long",
1956.74 s
[opt-env-conf-test] " or ",
1956.74 s
[opt-env-conf-test] functionChunk "short",
1956.74 s
[opt-env-conf-test] " has no ",
1956.74 s
[opt-env-conf-test] functionChunk "option",
1956.74 s
[opt-env-conf-test] " or ",
1956.74 s
[opt-env-conf-test] functionChunk "switch",
1956.74 s
[opt-env-conf-test] "."
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1956.74 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.74 s
[opt-env-conf-test] " or ",
1956.74 s
[opt-env-conf-test] functionChunk "name",
1956.74 s
[opt-env-conf-test] " has no ",
1956.74 s
[opt-env-conf-test] functionChunk "reader",
1956.74 s
[opt-env-conf-test] "."
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1956.74 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.74 s
[opt-env-conf-test] " or ",
1956.74 s
[opt-env-conf-test] functionChunk "name",
1956.74 s
[opt-env-conf-test] " has no ",
1956.74 s
[opt-env-conf-test] functionChunk "metavar",
1956.74 s
[opt-env-conf-test] "."
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] ]
1956.74 s
[opt-env-conf-test] LintErrorNoCommands ->
1956.80 s
[opt-env-conf-test] [ [ functionChunk "commands",
1956.80 s
[opt-env-conf-test] " was called with an empty list."
1956.80 s
[opt-env-conf-test] ]
1956.80 s
[opt-env-conf-test] ]
1956.80 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1956.81 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1956.81 s
[opt-env-conf-test] " was called with an unknown command: ",
1956.81 s
[opt-env-conf-test] commandChunk c
1956.81 s
[opt-env-conf-test] ]
1956.81 s
[opt-env-conf-test] ]
1956.81 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1956.81 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1956.81 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1956.81 s
[opt-env-conf-test] ]
1956.81 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1956.81 s
[opt-env-conf-test] [ [ functionChunk "conf",
1956.81 s
[opt-env-conf-test] " or ",
1956.81 s
[opt-env-conf-test] functionChunk "name",
1956.81 s
[opt-env-conf-test] " was called with no way to load configuration."
1956.81 s
[opt-env-conf-test] ],
1956.81 s
[opt-env-conf-test] [ "You can load configuration with ",
1956.81 s
[opt-env-conf-test] functionChunk "withConfig",
1956.81 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1956.81 s
[opt-env-conf-test] functionChunk "withoutConfig",
1956.81 s
[opt-env-conf-test] "."
1956.81 s
[opt-env-conf-test] ]
1956.81 s
[opt-env-conf-test] ]
1956.81 s
[opt-env-conf-test] LintErrorManyInfinite ->
1956.81 s
[opt-env-conf-test] [ [ functionChunk "many",
1956.81 s
[opt-env-conf-test] " or ",
1956.81 s
[opt-env-conf-test] functionChunk "some",
1956.82 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1956.82 s
[opt-env-conf-test] ],
1956.82 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1956.82 s
[opt-env-conf-test] ],
1956.82 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1956.82 s
[opt-env-conf-test] ]
1956.82 s
[opt-env-conf-test]
1956.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1956.82 s
[opt-env-conf-test] @@ -66,168 +66,161 @@
1956.82 s
[opt-env-conf-test] renderLintError LintError {..} =
1956.82 s
[opt-env-conf-test] concat
1956.82 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1956.82 s
[opt-env-conf-test] case lintErrorMessage of
1956.82 s
[opt-env-conf-test] LintErrorUndocumented ->
1956.82 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1956.82 s
[opt-env-conf-test] LintErrorEmptySetting ->
1956.82 s
[opt-env-conf-test] concat
1956.82 s
[opt-env-conf-test] [ [ [ "This ",
1956.82 s
[opt-env-conf-test] functionChunk "setting",
1956.82 s
[opt-env-conf-test] " parses nothing."
1956.82 s
[opt-env-conf-test] ]
1956.82 s
[opt-env-conf-test] ],
1956.82 s
[opt-env-conf-test] [ [ "Add an ",
1956.82 s
[opt-env-conf-test] functionChunk "argument",
1956.82 s
[opt-env-conf-test] ", ",
1956.82 s
[opt-env-conf-test] functionChunk "switch",
1956.82 s
[opt-env-conf-test] ", ",
1956.82 s
[opt-env-conf-test] functionChunk "option",
1956.82 s
[opt-env-conf-test] ", ",
1956.82 s
[opt-env-conf-test] functionChunk "env",
1956.82 s
[opt-env-conf-test] ", ",
1956.82 s
[opt-env-conf-test] functionChunk "conf",
1956.82 s
[opt-env-conf-test] ", or ",
1956.82 s
[opt-env-conf-test] functionChunk "value",
1956.82 s
[opt-env-conf-test] "."
1956.82 s
[opt-env-conf-test] ]
1956.82 s
[opt-env-conf-test] ]
1956.82 s
[opt-env-conf-test] ]
1956.83 s
[opt-env-conf-test] LintErrorDashInShort ->
1956.83 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1956.83 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1956.83 s
[opt-env-conf-test] ]
1956.83 s
[opt-env-conf-test] LintErrorDashInLong s ->
1956.83 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1956.83 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1956.83 s
[opt-env-conf-test] [ "Try ",
1956.83 s
[opt-env-conf-test] functionChunk "long",
1956.83 s
[opt-env-conf-test] " ",
1956.83 s
[opt-env-conf-test] chunk $
1956.83 s
[opt-env-conf-test] T.pack $
1956.83 s
[opt-env-conf-test] show $
1956.83 s
[opt-env-conf-test] let go = \case
1956.83 s
[opt-env-conf-test] [] -> []
1956.83 s
[opt-env-conf-test] '-' : cs -> go cs
1956.83 s
[opt-env-conf-test] c : cs -> c : cs
1956.83 s
[opt-env-conf-test] in go $ NE.toList s,
1956.83 s
[opt-env-conf-test] " instead."
1956.83 s
[opt-env-conf-test] ]
1956.83 s
[opt-env-conf-test] ]
1956.83 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1956.83 s
[opt-env-conf-test] [ [ functionChunk "argument",
1956.83 s
[opt-env-conf-test] " has no ",
1956.83 s
[opt-env-conf-test] functionChunk "reader",
1956.83 s
[opt-env-conf-test] "."
1956.83 s
[opt-env-conf-test] ]
1956.83 s
[opt-env-conf-test] ]
1956.83 s
[opt-env-conf-test] - LintErrorNoMetavarForArgument ->
1956.83 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1956.83 s
[opt-env-conf-test] - " has no ",
1956.83 s
[opt-env-conf-test] - functionChunk "metavar",
1956.83 s
[opt-env-conf-test] - "."
1956.83 s
[opt-env-conf-test] - ]
1956.83 s
[opt-env-conf-test] - ]
1956.83 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1956.83 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.83 s
[opt-env-conf-test] " or ",
1956.83 s
[opt-env-conf-test] functionChunk "name",
1956.83 s
[opt-env-conf-test] " has no ",
1956.83 s
[opt-env-conf-test] functionChunk "reader",
1956.83 s
[opt-env-conf-test] "."
1956.83 s
[opt-env-conf-test] ]
1956.83 s
[opt-env-conf-test] ]
1956.83 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1956.83 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.83 s
[opt-env-conf-test] " has no ",
1956.83 s
[opt-env-conf-test] functionChunk "long",
1956.83 s
[opt-env-conf-test] " or ",
1956.83 s
[opt-env-conf-test] functionChunk "short",
1956.83 s
[opt-env-conf-test] "."
1956.83 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1956.84 s
[opt-env-conf-test] [ [ functionChunk "option",
1956.84 s
[opt-env-conf-test] " or ",
1956.84 s
[opt-env-conf-test] functionChunk "name",
1956.84 s
[opt-env-conf-test] " has no ",
1956.84 s
[opt-env-conf-test] functionChunk "metavar",
1956.84 s
[opt-env-conf-test] "."
1956.84 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1956.84 s
[opt-env-conf-test] [ [ functionChunk "switch",
1956.84 s
[opt-env-conf-test] " has no ",
1956.84 s
[opt-env-conf-test] functionChunk "long",
1956.84 s
[opt-env-conf-test] " or ",
1956.84 s
[opt-env-conf-test] functionChunk "short",
1956.84 s
[opt-env-conf-test] "."
1956.84 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1956.84 s
[opt-env-conf-test] [ [ functionChunk "long",
1956.84 s
[opt-env-conf-test] " or ",
1956.84 s
[opt-env-conf-test] functionChunk "short",
1956.84 s
[opt-env-conf-test] " has no ",
1956.84 s
[opt-env-conf-test] functionChunk "option",
1956.84 s
[opt-env-conf-test] " or ",
1956.84 s
[opt-env-conf-test] functionChunk "switch",
1956.84 s
[opt-env-conf-test] "."
1956.84 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1956.84 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.84 s
[opt-env-conf-test] " or ",
1956.84 s
[opt-env-conf-test] functionChunk "name",
1956.84 s
[opt-env-conf-test] " has no ",
1956.84 s
[opt-env-conf-test] functionChunk "reader",
1956.84 s
[opt-env-conf-test] "."
1956.84 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1956.84 s
[opt-env-conf-test] [ [ functionChunk "env",
1956.84 s
[opt-env-conf-test] " or ",
1956.84 s
[opt-env-conf-test] functionChunk "name",
1956.84 s
[opt-env-conf-test] " has no ",
1956.84 s
[opt-env-conf-test] functionChunk "metavar",
1956.84 s
[opt-env-conf-test] "."
1956.84 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] ]
1956.84 s
[opt-env-conf-test] LintErrorNoCommands ->
1957.40 s
[opt-env-conf-test] [ [ functionChunk "commands",
1957.40 s
[opt-env-conf-test] " was called with an empty list."
1957.40 s
[opt-env-conf-test] ]
1957.40 s
[opt-env-conf-test] ]
1957.41 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1957.41 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1957.41 s
[opt-env-conf-test] " was called with an unknown command: ",
1957.41 s
[opt-env-conf-test] commandChunk c
1957.41 s
[opt-env-conf-test] ]
1957.41 s
[opt-env-conf-test] ]
1957.41 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1957.41 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1957.41 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1957.41 s
[opt-env-conf-test] ]
1957.41 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1957.41 s
[opt-env-conf-test] [ [ functionChunk "conf",
1957.41 s
[opt-env-conf-test] " or ",
1957.41 s
[opt-env-conf-test] functionChunk "name",
1957.41 s
[opt-env-conf-test] " was called with no way to load configuration."
1957.41 s
[opt-env-conf-test] ],
1957.41 s
[opt-env-conf-test] [ "You can load configuration with ",
1957.41 s
[opt-env-conf-test] functionChunk "withConfig",
1957.41 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1957.41 s
[opt-env-conf-test] functionChunk "withoutConfig",
1957.41 s
[opt-env-conf-test] "."
1957.41 s
[opt-env-conf-test] ]
1957.42 s
[opt-env-conf-test] ]
1957.42 s
[opt-env-conf-test] LintErrorManyInfinite ->
1957.42 s
[opt-env-conf-test] [ [ functionChunk "many",
1957.42 s
[opt-env-conf-test] " or ",
1957.42 s
[opt-env-conf-test] functionChunk "some",
1957.42 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1957.42 s
[opt-env-conf-test] ],
1957.42 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1957.42 s
[opt-env-conf-test] ],
1957.42 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1957.42 s
[opt-env-conf-test] ]
1957.42 s
[opt-env-conf-test]
1957.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1957.42 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1957.42 s
[opt-env-conf-test] renderLintError LintError {..} =
1957.42 s
[opt-env-conf-test] concat
1957.42 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1957.42 s
[opt-env-conf-test] case lintErrorMessage of
1957.42 s
[opt-env-conf-test] LintErrorUndocumented ->
1957.42 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1957.42 s
[opt-env-conf-test] LintErrorEmptySetting ->
1957.42 s
[opt-env-conf-test] concat
1957.42 s
[opt-env-conf-test] [ [ [ "This ",
1957.42 s
[opt-env-conf-test] functionChunk "setting",
1957.42 s
[opt-env-conf-test] " parses nothing."
1957.42 s
[opt-env-conf-test] ]
1957.42 s
[opt-env-conf-test] ],
1957.42 s
[opt-env-conf-test] [ [ "Add an ",
1957.42 s
[opt-env-conf-test] functionChunk "argument",
1957.42 s
[opt-env-conf-test] ", ",
1957.42 s
[opt-env-conf-test] functionChunk "switch",
1957.42 s
[opt-env-conf-test] ", ",
1957.42 s
[opt-env-conf-test] functionChunk "option",
1957.42 s
[opt-env-conf-test] ", ",
1957.42 s
[opt-env-conf-test] functionChunk "env",
1957.42 s
[opt-env-conf-test] ", ",
1957.42 s
[opt-env-conf-test] functionChunk "conf",
1957.42 s
[opt-env-conf-test] ", or ",
1957.42 s
[opt-env-conf-test] functionChunk "value",
1957.42 s
[opt-env-conf-test] "."
1957.42 s
[opt-env-conf-test] ]
1957.42 s
[opt-env-conf-test] ]
1957.42 s
[opt-env-conf-test] ]
1957.42 s
[opt-env-conf-test] LintErrorDashInShort ->
1957.42 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1957.42 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1957.42 s
[opt-env-conf-test] ]
1957.42 s
[opt-env-conf-test] LintErrorDashInLong s ->
1957.42 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1957.42 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1957.42 s
[opt-env-conf-test] [ "Try ",
1957.42 s
[opt-env-conf-test] functionChunk "long",
1957.42 s
[opt-env-conf-test] " ",
1957.42 s
[opt-env-conf-test] chunk $
1957.42 s
[opt-env-conf-test] T.pack $
1957.42 s
[opt-env-conf-test] show $
1957.42 s
[opt-env-conf-test] let go = \case
1957.42 s
[opt-env-conf-test] [] -> []
1957.42 s
[opt-env-conf-test] '-' : cs -> go cs
1957.42 s
[opt-env-conf-test] c : cs -> c : cs
1957.42 s
[opt-env-conf-test] in go $ NE.toList s,
1957.42 s
[opt-env-conf-test] " instead."
1957.42 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1957.43 s
[opt-env-conf-test] [ [ functionChunk "argument",
1957.43 s
[opt-env-conf-test] " has no ",
1957.43 s
[opt-env-conf-test] functionChunk "reader",
1957.43 s
[opt-env-conf-test] "."
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1957.43 s
[opt-env-conf-test] [ [ functionChunk "argument",
1957.43 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1957.43 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1957.43 s
[opt-env-conf-test] renderLintError LintError {..} =
1957.43 s
[opt-env-conf-test] concat
1957.43 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1957.43 s
[opt-env-conf-test] case lintErrorMessage of
1957.43 s
[opt-env-conf-test] LintErrorUndocumented ->
1957.43 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1957.43 s
[opt-env-conf-test] LintErrorEmptySetting ->
1957.43 s
[opt-env-conf-test] concat
1957.43 s
[opt-env-conf-test] [ [ [ "This ",
1957.43 s
[opt-env-conf-test] functionChunk "setting",
1957.43 s
[opt-env-conf-test] " parses nothing."
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] ],
1957.43 s
[opt-env-conf-test] [ [ "Add an ",
1957.43 s
[opt-env-conf-test] functionChunk "argument",
1957.43 s
[opt-env-conf-test] ", ",
1957.43 s
[opt-env-conf-test] functionChunk "switch",
1957.43 s
[opt-env-conf-test] ", ",
1957.43 s
[opt-env-conf-test] functionChunk "option",
1957.43 s
[opt-env-conf-test] ", ",
1957.43 s
[opt-env-conf-test] functionChunk "env",
1957.43 s
[opt-env-conf-test] ", ",
1957.43 s
[opt-env-conf-test] functionChunk "conf",
1957.43 s
[opt-env-conf-test] ", or ",
1957.43 s
[opt-env-conf-test] functionChunk "value",
1957.43 s
[opt-env-conf-test] "."
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] LintErrorDashInShort ->
1957.43 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1957.43 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] LintErrorDashInLong s ->
1957.43 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1957.43 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1957.43 s
[opt-env-conf-test] [ "Try ",
1957.43 s
[opt-env-conf-test] functionChunk "long",
1957.43 s
[opt-env-conf-test] " ",
1957.43 s
[opt-env-conf-test] chunk $
1957.43 s
[opt-env-conf-test] T.pack $
1957.43 s
[opt-env-conf-test] show $
1957.43 s
[opt-env-conf-test] let go = \case
1957.43 s
[opt-env-conf-test] [] -> []
1957.43 s
[opt-env-conf-test] '-' : cs -> go cs
1957.43 s
[opt-env-conf-test] c : cs -> c : cs
1957.43 s
[opt-env-conf-test] in go $ NE.toList s,
1957.43 s
[opt-env-conf-test] " instead."
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1957.43 s
[opt-env-conf-test] [ [ functionChunk "argument",
1957.43 s
[opt-env-conf-test] " has no ",
1957.43 s
[opt-env-conf-test] functionChunk "reader",
1957.43 s
[opt-env-conf-test] "."
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1957.43 s
[opt-env-conf-test] [ [ functionChunk "argument",
1957.43 s
[opt-env-conf-test] " has no ",
1957.43 s
[opt-env-conf-test] functionChunk "metavar",
1957.43 s
[opt-env-conf-test] "."
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1957.43 s
[opt-env-conf-test] [ [ functionChunk "option",
1957.43 s
[opt-env-conf-test] " or ",
1957.43 s
[opt-env-conf-test] functionChunk "name",
1957.43 s
[opt-env-conf-test] " has no ",
1957.43 s
[opt-env-conf-test] functionChunk "reader",
1957.43 s
[opt-env-conf-test] "."
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1957.43 s
[opt-env-conf-test] [ [ functionChunk "option",
1957.43 s
[opt-env-conf-test] " has no ",
1957.43 s
[opt-env-conf-test] functionChunk "long",
1957.43 s
[opt-env-conf-test] " or ",
1957.43 s
[opt-env-conf-test] functionChunk "short",
1957.43 s
[opt-env-conf-test] "."
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] ]
1957.43 s
[opt-env-conf-test] - LintErrorNoMetavarForOption ->
1957.44 s
[opt-env-conf-test] - [ [ functionChunk "option",
1957.44 s
[opt-env-conf-test] - " or ",
1957.44 s
[opt-env-conf-test] - functionChunk "name",
1957.44 s
[opt-env-conf-test] - " has no ",
1957.44 s
[opt-env-conf-test] - functionChunk "metavar",
1957.44 s
[opt-env-conf-test] - "."
1957.44 s
[opt-env-conf-test] - ]
1957.44 s
[opt-env-conf-test] - ]
1957.44 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1957.44 s
[opt-env-conf-test] [ [ functionChunk "switch",
1957.44 s
[opt-env-conf-test] " has no ",
1957.44 s
[opt-env-conf-test] functionChunk "long",
1957.44 s
[opt-env-conf-test] " or ",
1957.44 s
[opt-env-conf-test] functionChunk "short",
1957.44 s
[opt-env-conf-test] "."
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1957.44 s
[opt-env-conf-test] [ [ functionChunk "long",
1957.44 s
[opt-env-conf-test] " or ",
1957.44 s
[opt-env-conf-test] functionChunk "short",
1957.44 s
[opt-env-conf-test] " has no ",
1957.44 s
[opt-env-conf-test] functionChunk "option",
1957.44 s
[opt-env-conf-test] " or ",
1957.44 s
[opt-env-conf-test] functionChunk "switch",
1957.44 s
[opt-env-conf-test] "."
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1957.44 s
[opt-env-conf-test] [ [ functionChunk "env",
1957.44 s
[opt-env-conf-test] " or ",
1957.44 s
[opt-env-conf-test] functionChunk "name",
1957.44 s
[opt-env-conf-test] " has no ",
1957.44 s
[opt-env-conf-test] functionChunk "reader",
1957.44 s
[opt-env-conf-test] "."
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1957.44 s
[opt-env-conf-test] [ [ functionChunk "env",
1957.44 s
[opt-env-conf-test] " or ",
1957.44 s
[opt-env-conf-test] functionChunk "name",
1957.44 s
[opt-env-conf-test] " has no ",
1957.44 s
[opt-env-conf-test] functionChunk "metavar",
1957.44 s
[opt-env-conf-test] "."
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] LintErrorNoCommands ->
1957.44 s
[opt-env-conf-test] [ [ funct " has no ",
1957.44 s
[opt-env-conf-test] functionChunk "metavar",
1957.44 s
[opt-env-conf-test] "."
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] - LintErrorNoReaderForOption ->
1957.44 s
[opt-env-conf-test] - [ [ functionChunk "option",
1957.44 s
[opt-env-conf-test] - " or ",
1957.44 s
[opt-env-conf-test] - functionChunk "name",
1957.44 s
[opt-env-conf-test] - " has no ",
1957.44 s
[opt-env-conf-test] - functionChunk "reader",
1957.44 s
[opt-env-conf-test] - "."
1957.44 s
[opt-env-conf-test] - ]
1957.44 s
[opt-env-conf-test] - ]
1957.44 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1957.44 s
[opt-env-conf-test] [ [ functionChunk "option",
1957.44 s
[opt-env-conf-test] " has no ",
1957.44 s
[opt-env-conf-test] functionChunk "long",
1957.44 s
[opt-env-conf-test] " or ",
1957.44 s
[opt-env-conf-test] functionChunk "short",
1957.44 s
[opt-env-conf-test] "."
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1957.44 s
[opt-env-conf-test] [ [ functionChunk "option",
1957.44 s
[opt-env-conf-test] " or ",
1957.44 s
[opt-env-conf-test] functionChunk "name",
1957.44 s
[opt-env-conf-test] " has no ",
1957.44 s
[opt-env-conf-test] functionChunk "metavar",
1957.44 s
[opt-env-conf-test] "."
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1957.44 s
[opt-env-conf-test] [ [ functionChunk "switch",
1957.44 s
[opt-env-conf-test] " has no ",
1957.44 s
[opt-env-conf-test] functionChunk "long",
1957.44 s
[opt-env-conf-test] " or ",
1957.44 s
[opt-env-conf-test] functionChunk "short",
1957.44 s
[opt-env-conf-test] "."
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1957.44 s
[opt-env-conf-test] [ [ functionChunk "long",
1957.44 s
[opt-env-conf-test] " or ",
1957.44 s
[opt-env-conf-test] functionChunk "short",
1957.44 s
[opt-env-conf-test] " has no ",
1957.44 s
[opt-env-conf-test] functionChunk "option",
1957.44 s
[opt-env-conf-test] " or ",
1957.44 s
[opt-env-conf-test] functionChunk "switch",
1957.44 s
[opt-env-conf-test] "."
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] ]
1957.44 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1957.44 s
[opt-env-conf-test] [ [ functionChunk "env",
1957.44 s
[opt-env-conf-test] " or ",
1957.44 s
[opt-env-conf-test] functionChunk "name",
1957.44 s
[opt-env-conf-test] " has no ",
1957.45 s
[opt-env-conf-test] functionChunk "reader",
1957.45 s
[opt-env-conf-test] "."
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1957.45 s
[opt-env-conf-test] [ [ functionChunk "env",
1957.45 s
[opt-env-conf-test] " or ",
1957.45 s
[opt-env-conf-test] functionChunk "name",
1957.45 s
[opt-env-conf-test] " has no ",
1957.45 s
[opt-env-conf-test] functionChunk "metavar",
1957.45 s
[opt-env-conf-test] "."
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] LintErrorNoCommands ->
1957.45 s
[opt-env-conf-test] [ [ functionChunk "commands",
1957.45 s
[opt-env-conf-test] " was called with an empty list."
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1957.45 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1957.45 s
[opt-env-conf-test] " was called with an unknown command: ",
1957.45 s
[opt-env-conf-test] commandChunk c
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1957.45 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1957.45 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1957.45 s
[opt-env-conf-test] [ [ functionChunk "conf",
1957.45 s
[opt-env-conf-test] " or ",
1957.45 s
[opt-env-conf-test] functionChunk "name",
1957.45 s
[opt-env-conf-test] " was called with no way to load configuration."
1957.45 s
[opt-env-conf-test] ],
1957.45 s
[opt-env-conf-test] [ "You can load configuration with ",
1957.45 s
[opt-env-conf-test] functionChunk "withConfig",
1957.45 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1957.45 s
[opt-env-conf-test] functionChunk "withoutConfig",
1957.45 s
[opt-env-conf-test] "."
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] LintErrorManyInfinite ->
1957.45 s
[opt-env-conf-test] [ [ functionChunk "many",
1957.45 s
[opt-env-conf-test] " or ",
1957.45 s
[opt-env-conf-test] functionChunk "some",
1957.45 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1957.45 s
[opt-env-conf-test] ],
1957.45 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1957.45 s
[opt-env-conf-test] ],
1957.45 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test]
1957.45 s
[opt-env-conf-test] ionChunk "commands",
1957.45 s
[opt-env-conf-test] " was called with an empty list."
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1957.45 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1957.45 s
[opt-env-conf-test] " was called with an unknown command: ",
1957.45 s
[opt-env-conf-test] commandChunk c
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1957.45 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1957.45 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1957.45 s
[opt-env-conf-test] [ [ functionChunk "conf",
1957.45 s
[opt-env-conf-test] " or ",
1957.45 s
[opt-env-conf-test] functionChunk "name",
1957.45 s
[opt-env-conf-test] " was called with no way to load configuration."
1957.45 s
[opt-env-conf-test] ],
1957.45 s
[opt-env-conf-test] [ "You can load configuration with ",
1957.45 s
[opt-env-conf-test] functionChunk "withConfig",
1957.45 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1957.45 s
[opt-env-conf-test] functionChunk "withoutConfig",
1957.45 s
[opt-env-conf-test] "."
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test] LintErrorManyInfinite ->
1957.45 s
[opt-env-conf-test] [ [ functionChunk "many",
1957.45 s
[opt-env-conf-test] " or ",
1957.45 s
[opt-env-conf-test] functionChunk "some",
1957.45 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1957.45 s
[opt-env-conf-test] ],
1957.45 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1957.45 s
[opt-env-conf-test] ],
1957.45 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1957.45 s
[opt-env-conf-test] ]
1957.45 s
[opt-env-conf-test]
1957.45 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1957.45 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1957.45 s
[opt-env-conf-test] renderLintError LintError {..} =
1957.46 s
[opt-env-conf-test] concat
1957.46 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1957.46 s
[opt-env-conf-test] case lintErrorMessage of
1957.46 s
[opt-env-conf-test] LintErrorUndocumented ->
1957.46 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1957.46 s
[opt-env-conf-test] LintErrorEmptySetting ->
1957.46 s
[opt-env-conf-test] concat
1957.46 s
[opt-env-conf-test] [ [ [ "This ",
1957.46 s
[opt-env-conf-test] functionChunk "setting",
1957.46 s
[opt-env-conf-test] " parses nothing."
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] ],
1957.46 s
[opt-env-conf-test] [ [ "Add an ",
1957.46 s
[opt-env-conf-test] functionChunk "argument",
1957.46 s
[opt-env-conf-test] ", ",
1957.46 s
[opt-env-conf-test] functionChunk "switch",
1957.46 s
[opt-env-conf-test] ", ",
1957.46 s
[opt-env-conf-test] functionChunk "option",
1957.46 s
[opt-env-conf-test] ", ",
1957.46 s
[opt-env-conf-test] functionChunk "env",
1957.46 s
[opt-env-conf-test] ", ",
1957.46 s
[opt-env-conf-test] functionChunk "conf",
1957.46 s
[opt-env-conf-test] ", or ",
1957.46 s
[opt-env-conf-test] functionChunk "value",
1957.46 s
[opt-env-conf-test] "."
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] LintErrorDashInShort ->
1957.46 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1957.46 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] LintErrorDashInLong s ->
1957.46 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1957.46 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1957.46 s
[opt-env-conf-test] [ "Try ",
1957.46 s
[opt-env-conf-test] functionChunk "long",
1957.46 s
[opt-env-conf-test] " ",
1957.46 s
[opt-env-conf-test] chunk $
1957.46 s
[opt-env-conf-test] T.pack $
1957.46 s
[opt-env-conf-test] show $
1957.46 s
[opt-env-conf-test] let go = \case
1957.46 s
[opt-env-conf-test] [] -> []
1957.46 s
[opt-env-conf-test] '-' : cs -> go cs
1957.46 s
[opt-env-conf-test] c : cs -> c : cs
1957.46 s
[opt-env-conf-test] in go $ NE.toList s,
1957.46 s
[opt-env-conf-test] " instead."
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1957.46 s
[opt-env-conf-test] [ [ functionChunk "argument",
1957.46 s
[opt-env-conf-test] " has no ",
1957.46 s
[opt-env-conf-test] functionChunk "reader",
1957.46 s
[opt-env-conf-test] "."
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1957.46 s
[opt-env-conf-test] [ [ functionChunk "argument",
1957.46 s
[opt-env-conf-test] " has no ",
1957.46 s
[opt-env-conf-test] functionChunk "metavar",
1957.46 s
[opt-env-conf-test] "."
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1957.46 s
[opt-env-conf-test] [ [ functionChunk "option",
1957.46 s
[opt-env-conf-test] " or ",
1957.46 s
[opt-env-conf-test] functionChunk "name",
1957.46 s
[opt-env-conf-test] " has no ",
1957.46 s
[opt-env-conf-test] functionChunk "reader",
1957.46 s
[opt-env-conf-test] "."
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] ]
1957.46 s
[opt-env-conf-test] - LintErrorNoDashedForOption ->
1957.46 s
[opt-env-conf-test] - [ [ functionChunk "option",
1957.46 s
[opt-env-conf-test] - " has no ",
1957.46 s
[opt-env-conf-test] - functionChunk "long",
1957.46 s
[opt-env-conf-test] - " or ",
1957.46 s
[opt-env-conf-test] - functionChunk "short",
1957.46 s
[opt-env-conf-test] - "."
1957.47 s
[opt-env-conf-test] - ]
1957.47 s
[opt-env-conf-test] - ]
1957.47 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1957.47 s
[opt-env-conf-test] [ [ functionChunk "option",
1957.47 s
[opt-env-conf-test] " or ",
1957.47 s
[opt-env-conf-test] functionChunk "name",
1957.47 s
[opt-env-conf-test] " has no ",
1957.47 s
[opt-env-conf-test] functionChunk "metavar",
1957.47 s
[opt-env-conf-test] "."
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1957.47 s
[opt-env-conf-test] [ [ functionChunk "switch",
1957.47 s
[opt-env-conf-test] " has no ",
1957.47 s
[opt-env-conf-test] functionChunk "long",
1957.47 s
[opt-env-conf-test] " or ",
1957.47 s
[opt-env-conf-test] functionChunk "short",
1957.47 s
[opt-env-conf-test] "."
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1957.47 s
[opt-env-conf-test] [ [ functionChunk "long",
1957.47 s
[opt-env-conf-test] " or ",
1957.47 s
[opt-env-conf-test] functionChunk "short",
1957.47 s
[opt-env-conf-test] " has no ",
1957.47 s
[opt-env-conf-test] functionChunk "option",
1957.47 s
[opt-env-conf-test] " or ",
1957.47 s
[opt-env-conf-test] functionChunk "switch",
1957.47 s
[opt-env-conf-test] "."
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1957.47 s
[opt-env-conf-test] [ [ functionChunk "env",
1957.47 s
[opt-env-conf-test] " or ",
1957.47 s
[opt-env-conf-test] functionChunk "name",
1957.47 s
[opt-env-conf-test] " has no ",
1957.47 s
[opt-env-conf-test] functionChunk "reader",
1957.47 s
[opt-env-conf-test] "."
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1957.47 s
[opt-env-conf-test] [ [ functionChunk "env",
1957.47 s
[opt-env-conf-test] " or ",
1957.47 s
[opt-env-conf-test] functionChunk "name",
1957.47 s
[opt-env-conf-test] " has no ",
1957.47 s
[opt-env-conf-test] functionChunk "metavar",
1957.47 s
[opt-env-conf-test] "."
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] LintErrorNoCommands ->
1957.47 s
[opt-env-conf-test] [ [ functionChunk "commands",
1957.47 s
[opt-env-conf-test] " was called with an empty list."
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] ]
1957.47 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1957.48 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1957.48 s
[opt-env-conf-test] " was called with an unknown command: ",
1957.48 s
[opt-env-conf-test] commandChunk c
1957.48 s
[opt-env-conf-test] ]
1957.48 s
[opt-env-conf-test] ]
1957.48 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1957.48 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1957.48 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1957.48 s
[opt-env-conf-test] ]
1957.48 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1957.48 s
[opt-env-conf-test] [ [ functionChunk "conf",
1957.48 s
[opt-env-conf-test] " or ",
1957.48 s
[opt-env-conf-test] functionChunk "name",
1957.48 s
[opt-env-conf-test] " was called with no way to load configuration."
1957.48 s
[opt-env-conf-test] ],
1957.48 s
[opt-env-conf-test] [ "You can load configuration with ",
1957.48 s
[opt-env-conf-test] functionChunk "withConfig",
1957.48 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1957.48 s
[opt-env-conf-test] functionChunk "withoutConfig",
1957.48 s
[opt-env-conf-test] "."
1957.48 s
[opt-env-conf-test] ]
1957.48 s
[opt-env-conf-test] ]
1957.48 s
[opt-env-conf-test] LintErrorManyInfinite ->
1957.48 s
[opt-env-conf-test] [ [ functionChunk "many",
1957.48 s
[opt-env-conf-test] " or ",
1957.48 s
[opt-env-conf-test] functionChunk "some",
1957.48 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1957.48 s
[opt-env-conf-test] ],
1957.48 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1957.48 s
[opt-env-conf-test] ],
1957.48 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1957.48 s
[opt-env-conf-test] ]
1957.48 s
[opt-env-conf-test]
1957.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1957.48 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1957.48 s
[opt-env-conf-test] renderLintError LintError {..} =
1957.48 s
[opt-env-conf-test] concat
1957.48 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1957.48 s
[opt-env-conf-test] case lintErrorMessage of
1957.48 s
[opt-env-conf-test] LintErrorUndocumented ->
1957.48 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1957.48 s
[opt-env-conf-test] LintErrorEmptySetting ->
1957.48 s
[opt-env-conf-test] concat
1957.48 s
[opt-env-conf-test] [ [ [ "This ",
1957.48 s
[opt-env-conf-test] functionChunk "setting",
1957.48 s
[opt-env-conf-test] " parses nothing."
1957.48 s
[opt-env-conf-test] ]
1957.48 s
[opt-env-conf-test] ],
1957.48 s
[opt-env-conf-test] [ [ "Add an ",
1957.48 s
[opt-env-conf-test] functionChunk "argument",
1957.48 s
[opt-env-conf-test] ", ",
1957.48 s
[opt-env-conf-test] functionChunk "switch",
1957.48 s
[opt-env-conf-test] ", ",
1957.48 s
[opt-env-conf-test] functionChunk "option",
1957.48 s
[opt-env-conf-test] ", ",
1957.48 s
[opt-env-conf-test] functionChunk "env",
1957.48 s
[opt-env-conf-test] ", ",
1957.48 s
[opt-env-conf-test] functionChunk "conf",
1957.48 s
[opt-env-conf-test] ", or ",
1957.48 s
[opt-env-conf-test] functionChunk "value",
1957.48 s
[opt-env-conf-test] "."
1957.48 s
[opt-env-conf-test] ]
1957.48 s
[opt-env-conf-test] ]
1957.48 s
[opt-env-conf-test] ]
1957.48 s
[opt-env-conf-test] LintErrorDashInShort ->
1957.48 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1957.48 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1957.48 s
[opt-env-conf-test] ]
1957.48 s
[opt-env-conf-test] LintErrorDashInLong s ->
1957.48 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1957.48 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1957.48 s
[opt-env-conf-test] [ "Try ",
1957.48 s
[opt-env-conf-test] functionChunk "long",
1957.48 s
[opt-env-conf-test] " ",
1957.48 s
[opt-env-conf-test] chunk $
1957.48 s
[opt-env-conf-test] T.pack $
1957.48 s
[opt-env-conf-test] show $
1957.48 s
[opt-env-conf-test] let go = \case
1957.49 s
[opt-env-conf-test] [] -> []
1957.49 s
[opt-env-conf-test] '-' : cs -> go cs
1957.49 s
[opt-env-conf-test] c : cs -> c : cs
1957.49 s
[opt-env-conf-test] in go $ NE.toList s,
1957.49 s
[opt-env-conf-test] " instead."
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1957.49 s
[opt-env-conf-test] [ [ functionChunk "argument",
1957.49 s
[opt-env-conf-test] " has no ",
1957.49 s
[opt-env-conf-test] functionChunk "reader",
1957.49 s
[opt-env-conf-test] "."
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1957.49 s
[opt-env-conf-test] [ [ functionChunk "argument",
1957.49 s
[opt-env-conf-test] " has no ",
1957.49 s
[opt-env-conf-test] functionChunk "metavar",
1957.49 s
[opt-env-conf-test] "."
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1957.49 s
[opt-env-conf-test] [ [ functionChunk "option",
1957.49 s
[opt-env-conf-test] " or ",
1957.49 s
[opt-env-conf-test] functionChunk "name",
1957.49 s
[opt-env-conf-test] " has no ",
1957.49 s
[opt-env-conf-test] functionChunk "reader",
1957.49 s
[opt-env-conf-test] "."
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1957.49 s
[opt-env-conf-test] [ [ functionChunk "option",
1957.49 s
[opt-env-conf-test] " has no ",
1957.49 s
[opt-env-conf-test] functionChunk "long",
1957.49 s
[opt-env-conf-test] " or ",
1957.49 s
[opt-env-conf-test] functionChunk "short",
1957.49 s
[opt-env-conf-test] "."
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1957.49 s
[opt-env-conf-test] [ [ functionChunk "option",
1957.49 s
[opt-env-conf-test] " or ",
1957.49 s
[opt-env-conf-test] functionChunk "name",
1957.49 s
[opt-env-conf-test] " has no ",
1957.49 s
[opt-env-conf-test] functionChunk "metavar",
1957.49 s
[opt-env-conf-test] "."
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] - LintErrorNoDashedForSwitch ->
1957.49 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1957.49 s
[opt-env-conf-test] - " has no ",
1957.49 s
[opt-env-conf-test] - functionChunk "long",
1957.49 s
[opt-env-conf-test] - " or ",
1957.49 s
[opt-env-conf-test] - functionChunk "short",
1957.49 s
[opt-env-conf-test] - "."
1957.49 s
[opt-env-conf-test] - ]
1957.49 s
[opt-env-conf-test] - ]
1957.49 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1957.49 s
[opt-env-conf-test] [ [ functionChunk "long",
1957.49 s
[opt-env-conf-test] " or ",
1957.49 s
[opt-env-conf-test] functionChunk "short",
1957.49 s
[opt-env-conf-test] " has no ",
1957.49 s
[opt-env-conf-test] functionChunk "option",
1957.49 s
[opt-env-conf-test] " or ",
1957.49 s
[opt-env-conf-test] functionChunk "switch",
1957.49 s
[opt-env-conf-test] "."
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1957.49 s
[opt-env-conf-test] [ [ functionChunk "env",
1957.49 s
[opt-env-conf-test] " or ",
1957.49 s
[opt-env-conf-test] functionChunk "name",
1957.49 s
[opt-env-conf-test] " has no ",
1957.49 s
[opt-env-conf-test] functionChunk "reader",
1957.49 s
[opt-env-conf-test] "."
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1957.49 s
[opt-env-conf-test] [ [ functionChunk "env",
1957.49 s
[opt-env-conf-test] " or ",
1957.49 s
[opt-env-conf-test] functionChunk "name",
1957.49 s
[opt-env-conf-test] " has no ",
1957.49 s
[opt-env-conf-test] functionChunk "metavar",
1957.49 s
[opt-env-conf-test] "."
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] ]
1957.49 s
[opt-env-conf-test] LintErrorNoCommands ->
1958.78 s
[opt-env-conf-test] [ [ functionChunk "commands",
1958.78 s
[opt-env-conf-test] " was called with an empty list."
1958.79 s
[opt-env-conf-test] ]
1958.79 s
[opt-env-conf-test] ]
1958.79 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1958.79 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1958.79 s
[opt-env-conf-test] " was called with an unknown command: ",
1958.79 s
[opt-env-conf-test] commandChunk c
1958.79 s
[opt-env-conf-test] ]
1958.79 s
[opt-env-conf-test] ]
1958.79 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1958.79 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1958.79 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1958.79 s
[opt-env-conf-test] ]
1958.79 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1958.79 s
[opt-env-conf-test] [ [ functionChunk "conf",
1958.79 s
[opt-env-conf-test] " or ",
1958.79 s
[opt-env-conf-test] functionChunk "name",
1958.79 s
[opt-env-conf-test] " was called with no way to load configuration."
1958.79 s
[opt-env-conf-test] ],
1958.79 s
[opt-env-conf-test] [ "You can load configuration with ",
1958.79 s
[opt-env-conf-test] functionChunk "withConfig",
1958.79 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1958.79 s
[opt-env-conf-test] functionChunk "withoutConfig",
1958.79 s
[opt-env-conf-test] "."
1958.79 s
[opt-env-conf-test] ]
1958.79 s
[opt-env-conf-test] ]
1958.79 s
[opt-env-conf-test] LintErrorManyInfinite ->
1958.79 s
[opt-env-conf-test] [ [ functionChunk "many",
1958.79 s
[opt-env-conf-test] " or ",
1958.79 s
[opt-env-conf-test] functionChunk "some",
1958.79 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1958.79 s
[opt-env-conf-test] ],
1958.79 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1958.79 s
[opt-env-conf-test] ],
1958.79 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1958.79 s
[opt-env-conf-test] ]
1958.79 s
[opt-env-conf-test]
1958.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1958.79 s
[opt-env-conf-test] @@ -155,13 +155,12 @@
1958.79 s
[opt-env-conf-test] ]
1958.79 s
[opt-env-conf-test] ]
1958.79 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1958.79 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1958.79 s
[opt-env-conf-test] " has no ",
1958.79 s
[opt-env-conf-test] functionChunk "long",
1958.80 s
[opt-env-conf-test] " or ",
1958.80 s
[opt-env-conf-test] functionChunk "short",
1958.80 s
[opt-env-conf-test] "."
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1958.80 s
[opt-env-conf-test] [ [ functionChunk "long",
1958.80 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1958.80 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1958.80 s
[opt-env-conf-test] renderLintError LintError {..} =
1958.80 s
[opt-env-conf-test] concat
1958.80 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1958.80 s
[opt-env-conf-test] case lintErrorMessage of
1958.80 s
[opt-env-conf-test] LintErrorUndocumented ->
1958.80 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1958.80 s
[opt-env-conf-test] LintErrorEmptySetting ->
1958.80 s
[opt-env-conf-test] concat
1958.80 s
[opt-env-conf-test] [ [ [ "This ",
1958.80 s
[opt-env-conf-test] functionChunk "setting",
1958.80 s
[opt-env-conf-test] " parses nothing."
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ],
1958.80 s
[opt-env-conf-test] [ [ "Add an ",
1958.80 s
[opt-env-conf-test] functionChunk "argument",
1958.80 s
[opt-env-conf-test] ", ",
1958.80 s
[opt-env-conf-test] functionChunk "switch",
1958.80 s
[opt-env-conf-test] ", ",
1958.80 s
[opt-env-conf-test] functionChunk "option",
1958.80 s
[opt-env-conf-test] ", ",
1958.80 s
[opt-env-conf-test] functionChunk "env",
1958.80 s
[opt-env-conf-test] ", ",
1958.80 s
[opt-env-conf-test] functionChunk "conf",
1958.80 s
[opt-env-conf-test] ", or ",
1958.80 s
[opt-env-conf-test] functionChunk "value",
1958.80 s
[opt-env-conf-test] "."
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] LintErrorDashInShort ->
1958.80 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1958.80 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] LintErrorDashInLong s ->
1958.80 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1958.80 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1958.80 s
[opt-env-conf-test] [ "Try ",
1958.80 s
[opt-env-conf-test] functionChunk "long",
1958.80 s
[opt-env-conf-test] " ",
1958.80 s
[opt-env-conf-test] chunk $
1958.80 s
[opt-env-conf-test] T.pack $
1958.80 s
[opt-env-conf-test] show $
1958.80 s
[opt-env-conf-test] let go = \case
1958.80 s
[opt-env-conf-test] [] -> []
1958.80 s
[opt-env-conf-test] '-' : cs -> go cs
1958.80 s
[opt-env-conf-test] c : cs -> c : cs
1958.80 s
[opt-env-conf-test] in go $ NE.toList s,
1958.80 s
[opt-env-conf-test] " instead."
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1958.80 s
[opt-env-conf-test] [ [ functionChunk "argument",
1958.80 s
[opt-env-conf-test] " has no ",
1958.80 s
[opt-env-conf-test] functionChunk "reader",
1958.80 s
[opt-env-conf-test] "."
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1958.80 s
[opt-env-conf-test] [ [ functionChunk "argument",
1958.80 s
[opt-env-conf-test] " has no ",
1958.80 s
[opt-env-conf-test] functionChunk "metavar",
1958.80 s
[opt-env-conf-test] "."
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1958.80 s
[opt-env-conf-test] [ [ functionChunk "option",
1958.80 s
[opt-env-conf-test] " or ",
1958.80 s
[opt-env-conf-test] functionChunk "name",
1958.80 s
[opt-env-conf-test] " has no ",
1958.80 s
[opt-env-conf-test] functionChunk "reader",
1958.80 s
[opt-env-conf-test] "."
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1958.80 s
[opt-env-conf-test] [ [ functionChunk "option",
1958.80 s
[opt-env-conf-test] " has no ",
1958.80 s
[opt-env-conf-test] functionChunk "long",
1958.80 s
[opt-env-conf-test] " or ",
1958.80 s
[opt-env-conf-test] functionChunk "short",
1958.80 s
[opt-env-conf-test] "."
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1958.80 s
[opt-env-conf-test] [ [ functionChunk "option",
1958.80 s
[opt-env-conf-test] " or ",
1958.80 s
[opt-env-conf-test] functionChunk "name",
1958.80 s
[opt-env-conf-test] " has no ",
1958.80 s
[opt-env-conf-test] functionChunk "metavar",
1958.80 s
[opt-env-conf-test] "."
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1958.80 s
[opt-env-conf-test] [ [ functionChunk "switch",
1958.80 s
[opt-env-conf-test] " has no ",
1958.80 s
[opt-env-conf-test] functionChunk "long",
1958.80 s
[opt-env-conf-test] " or ",
1958.80 s
[opt-env-conf-test] functionChunk "short",
1958.80 s
[opt-env-conf-test] "."
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1958.80 s
[opt-env-conf-test] [ [ functionChunk "long",
1958.80 s
[opt-env-conf-test] " or ",
1958.80 s
[opt-env-conf-test] functionChunk "short",
1958.80 s
[opt-env-conf-test] " has no ",
1958.80 s
[opt-env-conf-test] functionChunk "option",
1958.80 s
[opt-env-conf-test] " or ",
1958.80 s
[opt-env-conf-test] functionChunk "switch",
1958.80 s
[opt-env-conf-test] "."
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] ]
1958.80 s
[opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
1958.80 s
[opt-env-conf-test] - [ [ functionChunk "env",
1958.80 s
[opt-env-conf-test] - " or ",
1958.80 s
[opt-env-conf-test] - functionChunk "name",
1958.80 s
[opt-env-conf-test] - " has no ",
1958.80 s
[opt-env-conf-test] - functionChunk "reader",
1958.80 s
[opt-env-conf-test] - "."
1958.80 s
[opt-env-conf-test] - ]
1958.80 s
[opt-env-conf-test] - ]
1958.80 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1958.80 s
[opt-env-conf-test] [ [ functionChunk "env",
1958.80 s
[opt-env-conf-test] " or ",
1958.80 s
[opt-env-conf-test] functionChunk "name",
1958.81 s
[opt-env-conf-test] " has no ",
1958.81 s
[opt-env-conf-test] functionChunk "metavar",
1958.81 s
[opt-env-conf-test] "."
1958.81 s
[opt-env-conf-test] ]
1958.81 s
[opt-env-conf-test] ]
1958.81 s
[opt-env-conf-test] LintErrorNoCommands ->
1960.03 s
[opt-env-conf-test] [ [ functionChunk "commands",
1960.03 s
[opt-env-conf-test] " was called with an empty list."
1960.03 s
[opt-env-conf-test] ]
1960.03 s
[opt-env-conf-test] ]
1960.03 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1960.03 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1960.03 s
[opt-env-conf-test] " was called with an unknown command: ",
1960.03 s
[opt-env-conf-test] commandChunk c
1960.04 s
[opt-env-conf-test] ]
1960.04 s
[opt-env-conf-test] ]
1960.04 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1960.04 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1960.04 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1960.04 s
[opt-env-conf-test] ]
1960.04 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1960.04 s
[opt-env-conf-test] [ [ functionChunk "conf",
1960.04 s
[opt-env-conf-test] " or ",
1960.04 s
[opt-env-conf-test] functionChunk "name",
1960.04 s
[opt-env-conf-test] " was called with no way to load configuration."
1960.04 s
[opt-env-conf-test] ],
1960.04 s
[opt-env-conf-test] [ "You can load configuration with ",
1960.04 s
[opt-env-conf-test] functionChunk "withConfig",
1960.04 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1960.04 s
[opt-env-conf-test] functionChunk "withoutConfig",
1960.04 s
[opt-env-conf-test] "."
1960.04 s
[opt-env-conf-test] ]
1960.04 s
[opt-env-conf-test] ]
1960.04 s
[opt-env-conf-test] LintErrorManyInfinite ->
1960.04 s
[opt-env-conf-test] [ [ functionChunk "many",
1960.04 s
[opt-env-conf-test] " or ",
1960.04 s
[opt-env-conf-test] functionChunk "some",
1960.04 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1960.04 s
[opt-env-conf-test] ],
1960.04 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1960.04 s
[opt-env-conf-test] ],
1960.04 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1960.04 s
[opt-env-conf-test] ]
1960.04 s
[opt-env-conf-test]
1960.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1960.05 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1960.05 s
[opt-env-conf-test] renderLintError LintError {..} =
1960.05 s
[opt-env-conf-test] concat
1960.05 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1960.05 s
[opt-env-conf-test] case lintErrorMessage of
1960.05 s
[opt-env-conf-test] LintErrorUndocumented ->
1960.05 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1960.05 s
[opt-env-conf-test] LintErrorEmptySetting ->
1960.05 s
[opt-env-conf-test] concat
1960.05 s
[opt-env-conf-test] [ [ [ "This ",
1960.05 s
[opt-env-conf-test] functionChunk "setting",
1960.05 s
[opt-env-conf-test] " parses nothing."
1960.05 s
[opt-env-conf-test] ]
1960.05 s
[opt-env-conf-test] ],
1960.05 s
[opt-env-conf-test] [ [ "Add an ",
1960.05 s
[opt-env-conf-test] functionChunk "argument",
1960.05 s
[opt-env-conf-test] ", ",
1960.05 s
[opt-env-conf-test] functionChunk "switch",
1960.05 s
[opt-env-conf-test] ", ",
1960.05 s
[opt-env-conf-test] functionChunk "option",
1960.05 s
[opt-env-conf-test] ", ",
1960.05 s
[opt-env-conf-test] functionChunk "env",
1960.05 s
[opt-env-conf-test] ", ",
1960.05 s
[opt-env-conf-test] functionChunk "conf",
1960.05 s
[opt-env-conf-test] ", or ",
1960.05 s
[opt-env-conf-test] functionChunk "value",
1960.05 s
[opt-env-conf-test] "."
1960.05 s
[opt-env-conf-test] ]
1960.05 s
[opt-env-conf-test] ]
1960.05 s
[opt-env-conf-test] ]
1960.05 s
[opt-env-conf-test] LintErrorDashInShort ->
1960.05 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1960.05 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1960.05 s
[opt-env-conf-test] ]
1960.05 s
[opt-env-conf-test] LintErrorDashInLong s ->
1960.05 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1960.05 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1960.05 s
[opt-env-conf-test] [ "Try ",
1960.05 s
[opt-env-conf-test] functionChunk "long",
1960.05 s
[opt-env-conf-test] " ",
1960.05 s
[opt-env-conf-test] chunk $
1960.05 s
[opt-env-conf-test] T.pack $
1960.05 s
[opt-env-conf-test] show $
1960.05 s
[opt-env-conf-test] let go = \case
1960.05 s
[opt-env-conf-test] [] -> []
1960.06 s
[opt-env-conf-test] '-' : cs -> go cs
1960.06 s
[opt-env-conf-test] c : cs -> c : cs
1960.06 s
[opt-env-conf-test] in go $ NE.toList s,
1960.06 s
[opt-env-conf-test] " instead."
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1960.06 s
[opt-env-conf-test] [ [ functionChunk "argument",
1960.06 s
[opt-env-conf-test] " has no ",
1960.06 s
[opt-env-conf-test] functionChunk "reader",
1960.06 s
[opt-env-conf-test] "."
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1960.06 s
[opt-env-conf-test] [ [ functionChunk "argument",
1960.06 s
[opt-env-conf-test] " has no ",
1960.06 s
[opt-env-conf-test] functionChunk "metavar",
1960.06 s
[opt-env-conf-test] "."
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1960.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1960.06 s
[opt-env-conf-test] " or ",
1960.06 s
[opt-env-conf-test] functionChunk "name",
1960.06 s
[opt-env-conf-test] " has no ",
1960.06 s
[opt-env-conf-test] functionChunk "reader",
1960.06 s
[opt-env-conf-test] "."
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1960.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1960.06 s
[opt-env-conf-test] " has no ",
1960.06 s
[opt-env-conf-test] functionChunk "long",
1960.06 s
[opt-env-conf-test] " or ",
1960.06 s
[opt-env-conf-test] functionChunk "short",
1960.06 s
[opt-env-conf-test] "."
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1960.06 s
[opt-env-conf-test] [ [ functionChunk "option",
1960.06 s
[opt-env-conf-test] " or ",
1960.06 s
[opt-env-conf-test] functionChunk "name",
1960.06 s
[opt-env-conf-test] " has no ",
1960.06 s
[opt-env-conf-test] functionChunk "metavar",
1960.06 s
[opt-env-conf-test] "."
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] ]
1960.06 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1960.06 s
[opt-env-conf-test] [ [ functionChunk "switch",
1960.06 s
[opt-env-conf-test] " has no ",
1960.07 s
[opt-env-conf-test] functionChunk "long",
1960.07 s
[opt-env-conf-test] " or ",
1960.07 s
[opt-env-conf-test] functionChunk "short",
1960.07 s
[opt-env-conf-test] "."
1960.07 s
[opt-env-conf-test] ]
1960.07 s
[opt-env-conf-test] ]
1960.07 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1960.07 s
[opt-env-conf-test] [ [ functionChunk "long",
1960.07 s
[opt-env-conf-test] " or ",
1960.07 s
[opt-env-conf-test] functionChunk "short",
1960.07 s
[opt-env-conf-test] " has no ",
1960.07 s
[opt-env-conf-test] functionChunk "option",
1960.07 s
[opt-env-conf-test] " or ",
1960.07 s
[opt-env-conf-test] functionChunk "switch",
1960.07 s
[opt-env-conf-test] "."
1960.07 s
[opt-env-conf-test] ]
1960.07 s
[opt-env-conf-test] ]
1960.07 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1960.07 s
[opt-env-conf-test] [ [ functionChunk "env",
1960.07 s
[opt-env-conf-test] " or ",
1960.07 s
[opt-env-conf-test] functionChunk "name",
1960.07 s
[opt-env-conf-test] " has no ",
1960.07 s
[opt-env-conf-test] functionChunk "reader",
1960.07 s
[opt-env-conf-test] "."
1960.07 s
[opt-env-conf-test] ]
1960.07 s
[opt-env-conf-test] ]
1960.07 s
[opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
1960.07 s
[opt-env-conf-test] - [ [ functionChunk "env",
1960.07 s
[opt-env-conf-test] - " or ",
1960.07 s
[opt-env-conf-test] - functionChunk "name",
1960.07 s
[opt-env-conf-test] - " has no ",
1960.07 s
[opt-env-conf-test] - functionChunk "metavar",
1960.07 s
[opt-env-conf-test] - "."
1960.07 s
[opt-env-conf-test] - ]
1960.07 s
[opt-env-conf-test] - ]
1960.07 s
[opt-env-conf-test] LintErrorNoCommands ->
1960.07 s
[opt-env-conf-test] [ [ functionChunk "commands",
1960.07 s
[opt-env-conf-test] " was called with an empty list."
1960.07 s
[opt-env-conf-test] ]
1960.07 s
[opt-env-conf-test] ]
1960.07 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1960.07 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1960.07 s
[opt-env-conf-test] " was called with an unknown command: ",
1960.07 s
[opt-env-conf-test] commandChunk c
1960.07 s
[opt-env-conf-test] ]
1960.07 s
[opt-env-conf-test] ]
1960.07 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1960.07 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1960.07 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1960.07 s
[opt-env-conf-test] ]
1960.07 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1960.07 s
[opt-env-conf-test] [ [ functionChunk "conf",
1960.07 s
[opt-env-conf-test] " or ",
1960.07 s
[opt-env-conf-test] functionChunk "name",
1960.07 s
[opt-env-conf-test] " was called with no way to load configuration."
1960.07 s
[opt-env-conf-test] ],
1960.08 s
[opt-env-conf-test] [ "You can load configuration with ",
1960.08 s
[opt-env-conf-test] functionChunk "withConfig",
1960.08 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1960.08 s
[opt-env-conf-test] functionChunk "withoutConfig",
1960.08 s
[opt-env-conf-test] "."
1960.08 s
[opt-env-conf-test] ]
1960.08 s
[opt-env-conf-test] ]
1960.08 s
[opt-env-conf-test] LintErrorManyInfinite ->
1960.08 s
[opt-env-conf-test] [ [ functionChunk "many",
1960.08 s
[opt-env-conf-test] " or ",
1960.08 s
[opt-env-conf-test] functionChunk "some",
1960.08 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1960.08 s
[opt-env-conf-test] ],
1960.08 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1960.08 s
[opt-env-conf-test] ],
1960.08 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1960.08 s
[opt-env-conf-test] ]
1960.08 s
[opt-env-conf-test]
1960.08 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1960.08 s
[opt-env-conf-test] @@ -66,168 +66,163 @@
1960.08 s
[opt-env-conf-test] renderLintError LintError {..} =
1960.08 s
[opt-env-conf-test] concat
1960.08 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1960.08 s
[opt-env-conf-test] case lintErrorMessage of
1960.08 s
[opt-env-conf-test] LintErrorUndocumented ->
1960.08 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1960.08 s
[opt-env-conf-test] LintErrorEmptySetting ->
1960.08 s
[opt-env-conf-test] concat
1960.08 s
[opt-env-conf-test] [ [ [ "This ",
1960.08 s
[opt-env-conf-test] functionChunk "setting",
1960.08 s
[opt-env-conf-test] " parses nothing."
1960.08 s
[opt-env-conf-test] ]
1960.08 s
[opt-env-conf-test] ],
1960.08 s
[opt-env-conf-test] [ [ "Add an ",
1960.08 s
[opt-env-conf-test] functionChunk "argument",
1960.08 s
[opt-env-conf-test] ", ",
1960.08 s
[opt-env-conf-test] functionChunk "switch",
1960.08 s
[opt-env-conf-test] ", ",
1960.08 s
[opt-env-conf-test] functionChunk "option",
1960.08 s
[opt-env-conf-test] ", ",
1960.08 s
[opt-env-conf-test] functionChunk "env",
1960.08 s
[opt-env-conf-test] ", ",
1960.08 s
[opt-env-conf-test] functionChunk "conf",
1960.08 s
[opt-env-conf-test] ", or ",
1960.08 s
[opt-env-conf-test] functionChunk "value",
1960.08 s
[opt-env-conf-test] "."
1960.08 s
[opt-env-conf-test] ]
1960.08 s
[opt-env-conf-test] ]
1960.08 s
[opt-env-conf-test] ]
1960.08 s
[opt-env-conf-test] LintErrorDashInShort ->
1960.08 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1960.08 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1960.08 s
[opt-env-conf-test] ]
1960.08 s
[opt-env-conf-test] LintErrorDashInLong s ->
1960.08 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1960.08 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1960.08 s
[opt-env-conf-test] [ "Try ",
1960.08 s
[opt-env-conf-test] functionChunk "long",
1960.08 s
[opt-env-conf-test] " ",
1960.08 s
[opt-env-conf-test] chunk $
1960.09 s
[opt-env-conf-test] T.pack $
1960.09 s
[opt-env-conf-test] show $
1960.09 s
[opt-env-conf-test] let go = \case
1960.09 s
[opt-env-conf-test] [] -> []
1960.09 s
[opt-env-conf-test] '-' : cs -> go cs
1960.09 s
[opt-env-conf-test] c : cs -> c : cs
1960.09 s
[opt-env-conf-test] in go $ NE.toList s,
1960.09 s
[opt-env-conf-test] " instead."
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1960.09 s
[opt-env-conf-test] [ [ functionChunk "argument",
1960.09 s
[opt-env-conf-test] " has no ",
1960.09 s
[opt-env-conf-test] functionChunk "reader",
1960.09 s
[opt-env-conf-test] "."
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1960.09 s
[opt-env-conf-test] [ [ functionChunk "argument",
1960.09 s
[opt-env-conf-test] " has no ",
1960.09 s
[opt-env-conf-test] functionChunk "metavar",
1960.09 s
[opt-env-conf-test] "."
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1960.09 s
[opt-env-conf-test] [ [ functionChunk "option",
1960.09 s
[opt-env-conf-test] " or ",
1960.09 s
[opt-env-conf-test] functionChunk "name",
1960.09 s
[opt-env-conf-test] " has no ",
1960.09 s
[opt-env-conf-test] functionChunk "reader",
1960.09 s
[opt-env-conf-test] "."
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1960.09 s
[opt-env-conf-test] [ [ functionChunk "option",
1960.09 s
[opt-env-conf-test] " has no ",
1960.09 s
[opt-env-conf-test] functionChunk "long",
1960.09 s
[opt-env-conf-test] " or ",
1960.09 s
[opt-env-conf-test] functionChunk "short",
1960.09 s
[opt-env-conf-test] "."
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1960.09 s
[opt-env-conf-test] [ [ functionChunk "option",
1960.09 s
[opt-env-conf-test] " or ",
1960.09 s
[opt-env-conf-test] functionChunk "name",
1960.09 s
[opt-env-conf-test] " has no ",
1960.09 s
[opt-env-conf-test] functionChunk "metavar",
1960.09 s
[opt-env-conf-test] "."
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1960.09 s
[opt-env-conf-test] [ [ functionChunk "switch",
1960.09 s
[opt-env-conf-test] " has no ",
1960.09 s
[opt-env-conf-test] functionChunk "long",
1960.09 s
[opt-env-conf-test] " or ",
1960.09 s
[opt-env-conf-test] functionChunk "short",
1960.09 s
[opt-env-conf-test] "."
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] ]
1960.09 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1960.09 s
[opt-env-conf-test] [ [ functionChunk "long",
1960.09 s
[opt-env-conf-test] " or ",
1960.09 s
[opt-env-conf-test] functionChunk "short",
1960.10 s
[opt-env-conf-test] " has no ",
1960.10 s
[opt-env-conf-test] functionChunk "option",
1960.10 s
[opt-env-conf-test] " or ",
1960.10 s
[opt-env-conf-test] functionChunk "switch",
1960.10 s
[opt-env-conf-test] "."
1960.10 s
[opt-env-conf-test] ]
1960.10 s
[opt-env-conf-test] ]
1960.10 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1960.10 s
[opt-env-conf-test] [ [ functionChunk "env",
1960.10 s
[opt-env-conf-test] " or ",
1960.10 s
[opt-env-conf-test] functionChunk "name",
1960.10 s
[opt-env-conf-test] " has no ",
1960.10 s
[opt-env-conf-test] functionChunk "reader",
1960.10 s
[opt-env-conf-test] "."
1960.10 s
[opt-env-conf-test] ]
1960.10 s
[opt-env-conf-test] ]
1960.10 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1960.10 s
[opt-env-conf-test] [ [ functionChunk "env",
1960.10 s
[opt-env-conf-test] " or ",
1960.10 s
[opt-env-conf-test] functionChunk "name",
1960.10 s
[opt-env-conf-test] " has no ",
1960.10 s
[opt-env-conf-test] functionChunk "metavar",
1960.10 s
[opt-env-conf-test] "."
1960.10 s
[opt-env-conf-test] ]
1960.10 s
[opt-env-conf-test] ]
1960.10 s
[opt-env-conf-test] - LintErrorNoCommands ->
1960.10 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1961.01 s
[opt-env-conf-test] - " was called with an empty list."
1961.01 s
[opt-env-conf-test] - ]
1961.01 s
[opt-env-conf-test] - ]
1961.25 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1961.25 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1961.25 s
[opt-env-conf-test] " was called with an unknown command: ",
1961.25 s
[opt-env-conf-test] commandChunk c
1961.25 s
[opt-env-conf-test] ]
1961.25 s
[opt-env-conf-test] ]
1961.25 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1961.25 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1961.25 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1961.25 s
[opt-env-conf-test] ]
1961.25 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1961.25 s
[opt-env-conf-test] [ [ functionChunk "conf",
1961.25 s
[opt-env-conf-test] " or ",
1961.25 s
[opt-env-conf-test] functionChunk "name",
1961.25 s
[opt-env-conf-test] " was called with no way to load configuration."
1961.25 s
[opt-env-conf-test] ],
1961.25 s
[opt-env-conf-test] [ "You can load configuration with ",
1961.25 s
[opt-env-conf-test] functionChunk "withConfig",
1961.25 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1961.25 s
[opt-env-conf-test] functionChunk "withoutConfig",
1961.25 s
[opt-env-conf-test] "."
1961.25 s
[opt-env-conf-test] ]
1961.25 s
[opt-env-conf-test] ]
1961.25 s
[opt-env-conf-test] LintErrorManyInfinite ->
1961.25 s
[opt-env-conf-test] [ [ functionChunk "many",
1961.25 s
[opt-env-conf-test] " or ",
1961.25 s
[opt-env-conf-test] functionChunk "some",
1961.25 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1961.25 s
[opt-env-conf-test] ],
1961.25 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1961.26 s
[opt-env-conf-test] ],
1961.26 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1961.26 s
[opt-env-conf-test] ]
1961.26 s
[opt-env-conf-test]
1961.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1961.26 s
[opt-env-conf-test] @@ -66,168 +66,162 @@
1961.26 s
[opt-env-conf-test] renderLintError LintError {..} =
1961.26 s
[opt-env-conf-test] concat
1961.26 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1961.26 s
[opt-env-conf-test] case lintErrorMessage of
1961.26 s
[opt-env-conf-test] LintErrorUndocumented ->
1961.26 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1961.26 s
[opt-env-conf-test] LintErrorEmptySetting ->
1961.26 s
[opt-env-conf-test] concat
1961.26 s
[opt-env-conf-test] [ [ [ "This ",
1961.26 s
[opt-env-conf-test] functionChunk "setting",
1961.26 s
[opt-env-conf-test] " parses nothing."
1961.26 s
[opt-env-conf-test] ]
1961.26 s
[opt-env-conf-test] ],
1961.26 s
[opt-env-conf-test] [ [ "Add an ",
1961.26 s
[opt-env-conf-test] functionChunk "argument",
1961.26 s
[opt-env-conf-test] ", ",
1961.26 s
[opt-env-conf-test] functionChunk "switch",
1961.26 s
[opt-env-conf-test] ", ",
1961.26 s
[opt-env-conf-test] functionChunk "option",
1961.26 s
[opt-env-conf-test] ", ",
1961.26 s
[opt-env-conf-test] functionChunk "env",
1961.26 s
[opt-env-conf-test] ", ",
1961.26 s
[opt-env-conf-test] functionChunk "conf",
1961.26 s
[opt-env-conf-test] ", or ",
1961.26 s
[opt-env-conf-test] functionChunk "value",
1961.26 s
[opt-env-conf-test] "."
1961.26 s
[opt-env-conf-test] ]
1961.26 s
[opt-env-conf-test] ]
1961.26 s
[opt-env-conf-test] ]
1961.26 s
[opt-env-conf-test] LintErrorDashInShort ->
1961.26 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1961.26 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1961.26 s
[opt-env-conf-test] ]
1961.26 s
[opt-env-conf-test] LintErrorDashInLong s ->
1961.26 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1961.26 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1961.26 s
[opt-env-conf-test] [ "Try ",
1961.26 s
[opt-env-conf-test] functionChunk "long",
1961.26 s
[opt-env-conf-test] " ",
1961.26 s
[opt-env-conf-test] chunk $
1961.26 s
[opt-env-conf-test] T.pack $
1961.26 s
[opt-env-conf-test] show $
1961.26 s
[opt-env-conf-test] let go = \case
1961.26 s
[opt-env-conf-test] [] -> []
1961.26 s
[opt-env-conf-test] '-' : cs -> go cs
1961.26 s
[opt-env-conf-test] c : cs -> c : cs
1961.26 s
[opt-env-conf-test] in go $ NE.toList s,
1961.26 s
[opt-env-conf-test] " instead."
1961.26 s
[opt-env-conf-test] ]
1961.26 s
[opt-env-conf-test] ]
1961.26 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1961.26 s
[opt-env-conf-test] [ [ functionChunk "argument",
1961.26 s
[opt-env-conf-test] " has no ",
1961.26 s
[opt-env-conf-test] functionChunk "reader",
1961.26 s
[opt-env-conf-test] "."
1961.26 s
[opt-env-conf-test] ]
1961.26 s
[opt-env-conf-test] ]
1961.26 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1961.26 s
[opt-env-conf-test] [ [ functionChunk "argument",
1961.26 s
[opt-env-conf-test] " has no ",
1961.26 s
[opt-env-conf-test] functionChunk "metavar",
1961.26 s
[opt-env-conf-test] "."
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1961.27 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.27 s
[opt-env-conf-test] " or ",
1961.27 s
[opt-env-conf-test] functionChunk "name",
1961.27 s
[opt-env-conf-test] " has no ",
1961.27 s
[opt-env-conf-test] functionChunk "reader",
1961.27 s
[opt-env-conf-test] "."
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1961.27 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.27 s
[opt-env-conf-test] " has no ",
1961.27 s
[opt-env-conf-test] functionChunk "long",
1961.27 s
[opt-env-conf-test] " or ",
1961.27 s
[opt-env-conf-test] functionChunk "short",
1961.27 s
[opt-env-conf-test] "."
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1961.27 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.27 s
[opt-env-conf-test] " or ",
1961.27 s
[opt-env-conf-test] functionChunk "name",
1961.27 s
[opt-env-conf-test] " has no ",
1961.27 s
[opt-env-conf-test] functionChunk "metavar",
1961.27 s
[opt-env-conf-test] "."
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1961.27 s
[opt-env-conf-test] [ [ functionChunk "switch",
1961.27 s
[opt-env-conf-test] " has no ",
1961.27 s
[opt-env-conf-test] functionChunk "long",
1961.27 s
[opt-env-conf-test] " or ",
1961.27 s
[opt-env-conf-test] functionChunk "short",
1961.27 s
[opt-env-conf-test] "."
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1961.27 s
[opt-env-conf-test] [ [ functionChunk "long",
1961.27 s
[opt-env-conf-test] " or ",
1961.27 s
[opt-env-conf-test] functionChunk "short",
1961.27 s
[opt-env-conf-test] " has no ",
1961.27 s
[opt-env-conf-test] functionChunk "option",
1961.27 s
[opt-env-conf-test] " or ",
1961.27 s
[opt-env-conf-test] functionChunk "switch",
1961.27 s
[opt-env-conf-test] "."
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1961.27 s
[opt-env-conf-test] [ [ functionChunk "env",
1961.27 s
[opt-env-conf-test] " or ",
1961.27 s
[opt-env-conf-test] functionChunk "name",
1961.27 s
[opt-env-conf-test] " has no ",
1961.27 s
[opt-env-conf-test] functionChunk "reader",
1961.27 s
[opt-env-conf-test] "."
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1961.27 s
[opt-env-conf-test] [ [ functionChunk "env",
1961.27 s
[opt-env-conf-test] " or ",
1961.27 s
[opt-env-conf-test] functionChunk "name",
1961.27 s
[opt-env-conf-test] " has no ",
1961.27 s
[opt-env-conf-test] functionChunk "metavar",
1961.27 s
[opt-env-conf-test] "."
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] LintErrorNoCommands ->
1961.27 s
[opt-env-conf-test] [ [ functionChunk "commands",
1961.27 s
[opt-env-conf-test] " was called with an empty list."
1961.27 s
[opt-env-conf-test] - ]
1961.27 s
[opt-env-conf-test] - ]
1961.27 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
1961.27 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1961.27 s
[opt-env-conf-test] - " was called with an unknown command: ",
1961.27 s
[opt-env-conf-test] - commandChunk c
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1961.27 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1961.27 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1961.27 s
[opt-env-conf-test] [ [ functionChunk "conf",
1961.27 s
[opt-env-conf-test] " or ",
1961.27 s
[opt-env-conf-test] functionChunk "name",
1961.27 s
[opt-env-conf-test] " was called with no way to load configuration."
1961.27 s
[opt-env-conf-test] ],
1961.27 s
[opt-env-conf-test] [ "You can load configuration with ",
1961.27 s
[opt-env-conf-test] functionChunk "withConfig",
1961.27 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1961.27 s
[opt-env-conf-test] functionChunk "withoutConfig",
1961.27 s
[opt-env-conf-test] "."
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] ]
1961.27 s
[opt-env-conf-test] LintErrorManyInfinite ->
1961.27 s
[opt-env-conf-test] [ [ functionChunk "many",
1961.28 s
[opt-env-conf-test] " or ",
1961.28 s
[opt-env-conf-test] functionChunk "some",
1961.28 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1961.28 s
[opt-env-conf-test] ],
1961.28 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1961.28 s
[opt-env-conf-test] ],
1961.28 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1961.28 s
[opt-env-conf-test] ]
1961.28 s
[opt-env-conf-test]
1961.28 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1961.28 s
[opt-env-conf-test] @@ -66,168 +66,164 @@
1961.28 s
[opt-env-conf-test] renderLintError LintError {..} =
1961.28 s
[opt-env-conf-test] concat
1961.28 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1961.28 s
[opt-env-conf-test] case lintErrorMessage of
1961.28 s
[opt-env-conf-test] LintErrorUndocumented ->
1961.28 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1961.28 s
[opt-env-conf-test] LintErrorEmptySetting ->
1961.28 s
[opt-env-conf-test] concat
1961.28 s
[opt-env-conf-test] [ [ [ "This ",
1961.28 s
[opt-env-conf-test] functionChunk "setting",
1961.28 s
[opt-env-conf-test] " parses nothing."
1961.28 s
[opt-env-conf-test] ]
1961.28 s
[opt-env-conf-test] ],
1961.28 s
[opt-env-conf-test] [ [ "Add an ",
1961.28 s
[opt-env-conf-test] functionChunk "argument",
1961.28 s
[opt-env-conf-test] ", ",
1961.28 s
[opt-env-conf-test] functionChunk "switch",
1961.29 s
[opt-env-conf-test] ", ",
1961.29 s
[opt-env-conf-test] functionChunk "option",
1961.29 s
[opt-env-conf-test] ", ",
1961.29 s
[opt-env-conf-test] functionChunk "env",
1961.29 s
[opt-env-conf-test] ", ",
1961.29 s
[opt-env-conf-test] functionChunk "conf",
1961.29 s
[opt-env-conf-test] ", or ",
1961.29 s
[opt-env-conf-test] functionChunk "value",
1961.29 s
[opt-env-conf-test] "."
1961.29 s
[opt-env-conf-test] ]
1961.29 s
[opt-env-conf-test] ]
1961.29 s
[opt-env-conf-test] ]
1961.29 s
[opt-env-conf-test] LintErrorDashInShort ->
1961.29 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1961.29 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1961.29 s
[opt-env-conf-test] ]
1961.29 s
[opt-env-conf-test] LintErrorDashInLong s ->
1961.29 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1961.29 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1961.29 s
[opt-env-conf-test] [ "Try ",
1961.29 s
[opt-env-conf-test] functionChunk "long",
1961.29 s
[opt-env-conf-test] " ",
1961.29 s
[opt-env-conf-test] chunk $
1961.29 s
[opt-env-conf-test] T.pack $
1961.29 s
[opt-env-conf-test] show $
1961.29 s
[opt-env-conf-test] let go = \case
1961.29 s
[opt-env-conf-test] [] -> []
1961.29 s
[opt-env-conf-test] '-' : cs -> go cs
1961.29 s
[opt-env-conf-test] c : cs -> c : cs
1961.29 s
[opt-env-conf-test] in go $ NE.toList s,
1961.29 s
[opt-env-conf-test] " instead."
1961.29 s
[opt-env-conf-test] ]
1961.29 s
[opt-env-conf-test] ]
1961.29 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1961.29 s
[opt-env-conf-test] [ [ functionChunk "argument",
1961.30 s
[opt-env-conf-test] " has no ",
1961.30 s
[opt-env-conf-test] functionChunk "reader",
1961.30 s
[opt-env-conf-test] "."
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1961.30 s
[opt-env-conf-test] [ [ functionChunk "argument",
1961.30 s
[opt-env-conf-test] " has no ",
1961.30 s
[opt-env-conf-test] functionChunk "metavar",
1961.30 s
[opt-env-conf-test] "."
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1961.30 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.30 s
[opt-env-conf-test] " or ",
1961.30 s
[opt-env-conf-test] functionChunk "name",
1961.30 s
[opt-env-conf-test] " has no ",
1961.30 s
[opt-env-conf-test] functionChunk "reader",
1961.30 s
[opt-env-conf-test] "."
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1961.30 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.30 s
[opt-env-conf-test] " has no ",
1961.30 s
[opt-env-conf-test] functionChunk "long",
1961.30 s
[opt-env-conf-test] " or ",
1961.31 s
[opt-env-conf-test] functionChunk "short",
1961.31 s
[opt-env-conf-test] "."
1961.31 s
[opt-env-conf-test] ]
1961.31 s
[opt-env-conf-test] ]
1961.31 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1961.31 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.31 s
[opt-env-conf-test] " or ",
1961.31 s
[opt-env-conf-test] functionChunk "name",
1961.31 s
[opt-env-conf-test] " has no ",
1961.31 s
[opt-env-conf-test] functionChunk "metavar",
1961.31 s
[opt-env-conf-test] "."
1961.31 s
[opt-env-conf-test] ]
1961.31 s
[opt-env-conf-test] ]
1961.31 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1961.31 s
[opt-env-conf-test] [ [ functionChunk "switch",
1961.31 s
[opt-env-conf-test] " has no ",
1961.31 s
[opt-env-conf-test] functionChunk "long",
1961.31 s
[opt-env-conf-test] " or ",
1961.31 s
[opt-env-conf-test] functionChunk "short",
1961.31 s
[opt-env-conf-test] "."
1961.31 s
[opt-env-conf-test] ]
1961.31 s
[opt-env-conf-test] ]
1961.31 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1961.31 s
[opt-env-conf-test] [ [ functionChunk "long",
1961.31 s
[opt-env-conf-test] " or ",
1961.31 s
[opt-env-conf-test] functionChunk "short",
1961.31 s
[opt-env-conf-test] " has no ",
1961.31 s
[opt-env-conf-test] functionChunk "option",
1961.31 s
[opt-env-conf-test] " or ",
1961.31 s
[opt-env-conf-test] functionChunk "switch",
1961.31 s
[opt-env-conf-test] "."
1961.31 s
[opt-env-conf-test] ]
1961.31 s
[opt-env-conf-test] ]
1961.31 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1961.31 s
[opt-env-conf-test] [ [ functionChunk "env",
1961.31 s
[opt-env-conf-test] " or ",
1961.31 s
[opt-env-conf-test] functionChunk "name",
1961.32 s
[opt-env-conf-test] " has no ",
1961.32 s
[opt-env-conf-test] functionChunk "reader",
1961.32 s
[opt-env-conf-test] "."
1961.32 s
[opt-env-conf-test] ]
1961.32 s
[opt-env-conf-test] ]
1961.32 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1961.32 s
[opt-env-conf-test] [ [ functionChunk "env",
1961.32 s
[opt-env-conf-test] " or ",
1961.32 s
[opt-env-conf-test] functionChunk "name",
1961.32 s
[opt-env-conf-test] " has no ",
1961.32 s
[opt-env-conf-test] functionChunk "metavar",
1961.32 s
[opt-env-conf-test] "."
1961.32 s
[opt-env-conf-test] ]
1961.32 s
[opt-env-conf-test] ]
1961.32 s
[opt-env-conf-test] LintErrorNoCommands ->
1961.32 s
[opt-env-conf-test] [ [ functionChunk "commands",
1961.32 s
[opt-env-conf-test] " was called with an empty list."
1961.32 s
[opt-env-conf-test] ]
1961.32 s
[opt-env-conf-test] ]
1961.32 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1961.32 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1961.32 s
[opt-env-conf-test] " was called with an unknown command: ",
1961.32 s
[opt-env-conf-test] commandChunk c
1961.32 s
[opt-env-conf-test] ]
1961.32 s
[opt-env-conf-test] - ]
1961.32 s
[opt-env-conf-test] - LintErrorUnreadableExample e ->
1961.32 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1961.32 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1961.32 s
[opt-env-conf-test] ]
1961.32 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1961.32 s
[opt-env-conf-test] [ [ functionChunk "conf",
1961.32 s
[opt-env-conf-test] " or ",
1961.32 s
[opt-env-conf-test] functionChunk "name",
1961.32 s
[opt-env-conf-test] " was called with no way to load configuration."
1961.32 s
[opt-env-conf-test] ],
1961.32 s
[opt-env-conf-test] [ "You can load configuration with ",
1961.32 s
[opt-env-conf-test] functionChunk "withConfig",
1961.32 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1961.32 s
[opt-env-conf-test] functionChunk "withoutConfig",
1961.32 s
[opt-env-conf-test] "."
1961.32 s
[opt-env-conf-test] ]
1961.32 s
[opt-env-conf-test] ]
1961.32 s
[opt-env-conf-test] LintErrorManyInfinite ->
1961.33 s
[opt-env-conf-test] [ [ functionChunk "many",
1961.33 s
[opt-env-conf-test] " or ",
1961.33 s
[opt-env-conf-test] functionChunk "some",
1961.33 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1961.33 s
[opt-env-conf-test] ],
1961.33 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1961.33 s
[opt-env-conf-test] ],
1961.33 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1961.33 s
[opt-env-conf-test] ]
1961.33 s
[opt-env-conf-test]
1961.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1961.33 s
[opt-env-conf-test] @@ -66,168 +66,155 @@
1961.33 s
[opt-env-conf-test] renderLintError LintError {..} =
1961.33 s
[opt-env-conf-test] concat
1961.33 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1961.33 s
[opt-env-conf-test] case lintErrorMessage of
1961.33 s
[opt-env-conf-test] LintErrorUndocumented ->
1961.33 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1961.33 s
[opt-env-conf-test] LintErrorEmptySetting ->
1961.33 s
[opt-env-conf-test] concat
1961.33 s
[opt-env-conf-test] [ [ [ "This ",
1961.33 s
[opt-env-conf-test] functionChunk "setting",
1961.33 s
[opt-env-conf-test] " parses nothing."
1961.33 s
[opt-env-conf-test] ]
1961.33 s
[opt-env-conf-test] ],
1961.33 s
[opt-env-conf-test] [ [ "Add an ",
1961.33 s
[opt-env-conf-test] functionChunk "argument",
1961.33 s
[opt-env-conf-test] ", ",
1961.33 s
[opt-env-conf-test] functionChunk "switch",
1961.33 s
[opt-env-conf-test] ", ",
1961.33 s
[opt-env-conf-test] functionChunk "option",
1961.34 s
[opt-env-conf-test] ", ",
1961.34 s
[opt-env-conf-test] functionChunk "env",
1961.34 s
[opt-env-conf-test] ", ",
1961.34 s
[opt-env-conf-test] functionChunk "conf",
1961.34 s
[opt-env-conf-test] ", or ",
1961.34 s
[opt-env-conf-test] functionChunk "value",
1961.34 s
[opt-env-conf-test] "."
1961.34 s
[opt-env-conf-test] ]
1961.34 s
[opt-env-conf-test] ]
1961.34 s
[opt-env-conf-test] ]
1961.34 s
[opt-env-conf-test] LintErrorDashInShort ->
1961.34 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1961.34 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1961.34 s
[opt-env-conf-test] ]
1961.34 s
[opt-env-conf-test] LintErrorDashInLong s ->
1961.34 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1961.34 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1961.34 s
[opt-env-conf-test] [ "Try ",
1961.34 s
[opt-env-conf-test] functionChunk "long",
1961.34 s
[opt-env-conf-test] " ",
1961.34 s
[opt-env-conf-test] chunk $
1961.34 s
[opt-env-conf-test] T.pack $
1961.34 s
[opt-env-conf-test] show $
1961.34 s
[opt-env-conf-test] let go = \case
1961.34 s
[opt-env-conf-test] [] -> []
1961.34 s
[opt-env-conf-test] '-' : cs -> go cs
1961.34 s
[opt-env-conf-test] c : cs -> c : cs
1961.34 s
[opt-env-conf-test] in go $ NE.toList s,
1961.34 s
[opt-env-conf-test] " instead."
1961.34 s
[opt-env-conf-test] ]
1961.34 s
[opt-env-conf-test] ]
1961.34 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1961.34 s
[opt-env-conf-test] [ [ functionChunk "argument",
1961.34 s
[opt-env-conf-test] " has no ",
1961.34 s
[opt-env-conf-test] functionChunk "reader",
1961.34 s
[opt-env-conf-test] "."
1961.34 s
[opt-env-conf-test] ]
1961.34 s
[opt-env-conf-test] ]
1961.34 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1961.34 s
[opt-env-conf-test] [ [ functionChunk "argument",
1961.34 s
[opt-env-conf-test] " has no ",
1961.34 s
[opt-env-conf-test] functionChunk "metavar",
1961.34 s
[opt-env-conf-test] "."
1961.34 s
[opt-env-conf-test] ]
1961.34 s
[opt-env-conf-test] ]
1961.35 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1961.35 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.35 s
[opt-env-conf-test] " or ",
1961.35 s
[opt-env-conf-test] functionChunk "name",
1961.35 s
[opt-env-conf-test] " has no ",
1961.35 s
[opt-env-conf-test] functionChunk "reader",
1961.35 s
[opt-env-conf-test] "."
1961.35 s
[opt-env-conf-test] ]
1961.35 s
[opt-env-conf-test] ]
1961.35 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1961.35 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.35 s
[opt-env-conf-test] " has no ",
1961.35 s
[opt-env-conf-test] functionChunk "long",
1961.35 s
[opt-env-conf-test] " or ",
1961.35 s
[opt-env-conf-test] functionChunk "short",
1961.35 s
[opt-env-conf-test] "."
1961.35 s
[opt-env-conf-test] ]
1961.35 s
[opt-env-conf-test] ]
1961.35 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1961.35 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.35 s
[opt-env-conf-test] " or ",
1961.35 s
[opt-env-conf-test] functionChunk "name",
1961.35 s
[opt-env-conf-test] " has no ",
1961.35 s
[opt-env-conf-test] functionChunk "metavar",
1961.35 s
[opt-env-conf-test] "."
1961.35 s
[opt-env-conf-test] ]
1961.35 s
[opt-env-conf-test] ]
1961.35 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1961.35 s
[opt-env-conf-test] [ [ functionChunk "switch",
1961.35 s
[opt-env-conf-test] " has no ",
1961.35 s
[opt-env-conf-test] functionChunk "long",
1961.35 s
[opt-env-conf-test] " or ",
1961.35 s
[opt-env-conf-test] functionChunk "short",
1961.35 s
[opt-env-conf-test] "."
1961.35 s
[opt-env-conf-test] ]
1961.35 s
[opt-env-conf-test] ]
1961.35 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1961.35 s
[opt-env-conf-test] [ [ functionChunk "long",
1961.35 s
[opt-env-conf-test] " or ",
1961.35 s
[opt-env-conf-test] functionChunk "short",
1961.35 s
[opt-env-conf-test] " has no ",
1961.35 s
[opt-env-conf-test] functionChunk "option",
1961.35 s
[opt-env-conf-test] " or ",
1961.35 s
[opt-env-conf-test] functionChunk "switch",
1961.35 s
[opt-env-conf-test] "."
1961.35 s
[opt-env-conf-test] ]
1961.35 s
[opt-env-conf-test] ]
1961.35 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1961.35 s
[opt-env-conf-test] [ [ functionChunk "env",
1961.35 s
[opt-env-conf-test] " or ",
1961.35 s
[opt-env-conf-test] functionChunk "name",
1961.35 s
[opt-env-conf-test] " has no ",
1961.36 s
[opt-env-conf-test] functionChunk "reader",
1961.36 s
[opt-env-conf-test] "."
1961.36 s
[opt-env-conf-test] ]
1961.36 s
[opt-env-conf-test] ]
1961.36 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1961.36 s
[opt-env-conf-test] [ [ functionChunk "env",
1961.36 s
[opt-env-conf-test] " or ",
1961.36 s
[opt-env-conf-test] functionChunk "name",
1961.36 s
[opt-env-conf-test] " has no ",
1961.36 s
[opt-env-conf-test] functionChunk "metavar",
1961.36 s
[opt-env-conf-test] "."
1961.36 s
[opt-env-conf-test] ]
1961.36 s
[opt-env-conf-test] ]
1961.36 s
[opt-env-conf-test] LintErrorNoCommands ->
1961.36 s
[opt-env-conf-test] [ [ functionChunk "commands",
1961.36 s
[opt-env-conf-test] " was called with an empty list."
1961.84 s
[opt-env-conf-test] ]
1961.84 s
[opt-env-conf-test] ]
1961.84 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1961.84 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1961.85 s
[opt-env-conf-test] " was called with an unknown command: ",
1961.85 s
[opt-env-conf-test] commandChunk c
1961.85 s
[opt-env-conf-test] ]
1961.85 s
[opt-env-conf-test] ]
1961.85 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1961.85 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1961.85 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1961.85 s
[opt-env-conf-test] ]
1961.85 s
[opt-env-conf-test] - LintErrorConfigWithoutLoad ->
1961.85 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1961.85 s
[opt-env-conf-test] - " or ",
1961.85 s
[opt-env-conf-test] - functionChunk "name",
1961.85 s
[opt-env-conf-test] - " was called with no way to load configuration."
1961.85 s
[opt-env-conf-test] - ],
1961.85 s
[opt-env-conf-test] - [ "You can load configuration with ",
1961.85 s
[opt-env-conf-test] - functionChunk "withConfig",
1961.85 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1961.85 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1961.85 s
[opt-env-conf-test] - "."
1961.85 s
[opt-env-conf-test] - ]
1961.85 s
[opt-env-conf-test] - ]
1961.85 s
[opt-env-conf-test] LintErrorManyInfinite ->
1961.85 s
[opt-env-conf-test] [ [ functionChunk "many",
1961.85 s
[opt-env-conf-test] " or ",
1961.85 s
[opt-env-conf-test] functionChunk "some",
1961.85 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1961.85 s
[opt-env-conf-test] ],
1961.85 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1961.85 s
[opt-env-conf-test] ],
1961.85 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1961.85 s
[opt-env-conf-test] ]
1961.85 s
[opt-env-conf-test]
1961.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1961.85 s
[opt-env-conf-test] @@ -66,168 +66,160 @@
1961.86 s
[opt-env-conf-test] renderLintError LintError {..} =
1961.86 s
[opt-env-conf-test] concat
1961.86 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1961.86 s
[opt-env-conf-test] case lintErrorMessage of
1961.86 s
[opt-env-conf-test] LintErrorUndocumented ->
1961.86 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1961.86 s
[opt-env-conf-test] LintErrorEmptySetting ->
1961.86 s
[opt-env-conf-test] concat
1961.86 s
[opt-env-conf-test] [ [ [ "This ",
1961.86 s
[opt-env-conf-test] functionChunk "setting",
1961.86 s
[opt-env-conf-test] " parses nothing."
1961.86 s
[opt-env-conf-test] ]
1961.86 s
[opt-env-conf-test] ],
1961.86 s
[opt-env-conf-test] [ [ "Add an ",
1961.86 s
[opt-env-conf-test] functionChunk "argument",
1961.86 s
[opt-env-conf-test] ", ",
1961.86 s
[opt-env-conf-test] functionChunk "switch",
1961.86 s
[opt-env-conf-test] ", ",
1961.86 s
[opt-env-conf-test] functionChunk "option",
1961.86 s
[opt-env-conf-test] ", ",
1961.86 s
[opt-env-conf-test] functionChunk "env",
1961.86 s
[opt-env-conf-test] ", ",
1961.86 s
[opt-env-conf-test] functionChunk "conf",
1961.86 s
[opt-env-conf-test] ", or ",
1961.86 s
[opt-env-conf-test] functionChunk "value",
1961.86 s
[opt-env-conf-test] "."
1961.86 s
[opt-env-conf-test] ]
1961.86 s
[opt-env-conf-test] ]
1961.86 s
[opt-env-conf-test] ]
1961.86 s
[opt-env-conf-test] LintErrorDashInShort ->
1961.86 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1961.86 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1961.86 s
[opt-env-conf-test] ]
1961.86 s
[opt-env-conf-test] LintErrorDashInLong s ->
1961.86 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1961.86 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1961.86 s
[opt-env-conf-test] [ "Try ",
1961.86 s
[opt-env-conf-test] functionChunk "long",
1961.86 s
[opt-env-conf-test] " ",
1961.86 s
[opt-env-conf-test] chunk $
1961.86 s
[opt-env-conf-test] T.pack $
1961.86 s
[opt-env-conf-test] show $
1961.86 s
[opt-env-conf-test] let go = \case
1961.86 s
[opt-env-conf-test] [] -> []
1961.86 s
[opt-env-conf-test] '-' : cs -> go cs
1961.86 s
[opt-env-conf-test] c : cs -> c : cs
1961.86 s
[opt-env-conf-test] in go $ NE.toList s,
1961.86 s
[opt-env-conf-test] " instead."
1961.86 s
[opt-env-conf-test] ]
1961.86 s
[opt-env-conf-test] ]
1961.86 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1961.87 s
[opt-env-conf-test] [ [ functionChunk "argument",
1961.87 s
[opt-env-conf-test] " has no ",
1961.87 s
[opt-env-conf-test] functionChunk "reader",
1961.87 s
[opt-env-conf-test] "."
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1961.87 s
[opt-env-conf-test] [ [ functionChunk "argument",
1961.87 s
[opt-env-conf-test] " has no ",
1961.87 s
[opt-env-conf-test] functionChunk "metavar",
1961.87 s
[opt-env-conf-test] "."
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1961.87 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.87 s
[opt-env-conf-test] " or ",
1961.87 s
[opt-env-conf-test] functionChunk "name",
1961.87 s
[opt-env-conf-test] " has no ",
1961.87 s
[opt-env-conf-test] functionChunk "reader",
1961.87 s
[opt-env-conf-test] "."
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1961.87 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.87 s
[opt-env-conf-test] " has no ",
1961.87 s
[opt-env-conf-test] functionChunk "long",
1961.87 s
[opt-env-conf-test] " or ",
1961.87 s
[opt-env-conf-test] functionChunk "short",
1961.87 s
[opt-env-conf-test] "."
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1961.87 s
[opt-env-conf-test] [ [ functionChunk "option",
1961.87 s
[opt-env-conf-test] " or ",
1961.87 s
[opt-env-conf-test] functionChunk "name",
1961.87 s
[opt-env-conf-test] " has no ",
1961.87 s
[opt-env-conf-test] functionChunk "metavar",
1961.87 s
[opt-env-conf-test] "."
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1961.87 s
[opt-env-conf-test] [ [ functionChunk "switch",
1961.87 s
[opt-env-conf-test] " has no ",
1961.87 s
[opt-env-conf-test] functionChunk "long",
1961.87 s
[opt-env-conf-test] " or ",
1961.87 s
[opt-env-conf-test] functionChunk "short",
1961.87 s
[opt-env-conf-test] "."
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] ]
1961.87 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1961.87 s
[opt-env-conf-test] [ [ functionChunk "long",
1961.87 s
[opt-env-conf-test] " or ",
1961.87 s
[opt-env-conf-test] functionChunk "short",
1961.87 s
[opt-env-conf-test] " has no ",
1961.87 s
[opt-env-conf-test] functionChunk "option",
1961.87 s
[opt-env-conf-test] " or ",
1961.87 s
[opt-env-conf-test] functionChunk "switch",
1961.87 s
[opt-env-conf-test] "."
1961.87 s
[opt-env-conf-test] ]
1961.88 s
[opt-env-conf-test] ]
1961.88 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1961.88 s
[opt-env-conf-test] [ [ functionChunk "env",
1961.88 s
[opt-env-conf-test] " or ",
1961.88 s
[opt-env-conf-test] functionChunk "name",
1961.88 s
[opt-env-conf-test] " has no ",
1961.88 s
[opt-env-conf-test] functionChunk "reader",
1961.88 s
[opt-env-conf-test] "."
1961.88 s
[opt-env-conf-test] ]
1961.88 s
[opt-env-conf-test] ]
1961.88 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1961.88 s
[opt-env-conf-test] [ [ functionChunk "env",
1961.88 s
[opt-env-conf-test] " or ",
1961.88 s
[opt-env-conf-test] functionChunk "name",
1961.88 s
[opt-env-conf-test] " has no ",
1961.88 s
[opt-env-conf-test] functionChunk "metavar",
1961.88 s
[opt-env-conf-test] "."
1961.88 s
[opt-env-conf-test] ]
1961.88 s
[opt-env-conf-test] ]
1961.88 s
[opt-env-conf-test] LintErrorNoCommands ->
1961.88 s
[opt-env-conf-test] [ [ functionChunk "commands",
1961.88 s
[opt-env-conf-test] " was called with an empty list."
1962.12 s
[opt-env-conf-test] ]
1962.12 s
[opt-env-conf-test] ]
1962.12 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1962.12 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1962.12 s
[opt-env-conf-test] " was called with an unknown command: ",
1962.12 s
[opt-env-conf-test] commandChunk c
1962.12 s
[opt-env-conf-test] ]
1962.12 s
[opt-env-conf-test] ]
1962.12 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1962.13 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1962.13 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1962.13 s
[opt-env-conf-test] ]
1962.13 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1962.13 s
[opt-env-conf-test] [ [ functionChunk "conf",
1962.13 s
[opt-env-conf-test] " or ",
1962.13 s
[opt-env-conf-test] functionChunk "name",
1962.13 s
[opt-env-conf-test] " was called with no way to load configuration."
1962.13 s
[opt-env-conf-test] ],
1962.13 s
[opt-env-conf-test] [ "You can load configuration with ",
1962.13 s
[opt-env-conf-test] functionChunk "withConfig",
1962.13 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1962.13 s
[opt-env-conf-test] functionChunk "withoutConfig",
1962.13 s
[opt-env-conf-test] "."
1962.13 s
[opt-env-conf-test] ]
1962.13 s
[opt-env-conf-test] ]
1962.13 s
[opt-env-conf-test] - LintErrorManyInfinite ->
1962.13 s
[opt-env-conf-test] - [ [ functionChunk "many",
1962.13 s
[opt-env-conf-test] - " or ",
1962.13 s
[opt-env-conf-test] - functionChunk "some",
1962.13 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1962.13 s
[opt-env-conf-test] - ],
1962.13 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1962.13 s
[opt-env-conf-test] - ],
1962.13 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1962.13 s
[opt-env-conf-test] ]
1962.13 s
[opt-env-conf-test]
1962.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1962.13 s
[opt-env-conf-test] @@ -65,171 +65,7 @@
1962.13 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1962.13 s
[opt-env-conf-test] renderLintError LintError {..} =
1962.13 s
[opt-env-conf-test] concat
1962.13 s
[opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
1962.13 s
[opt-env-conf-test] - case lintErrorMessage of
1962.13 s
[opt-env-conf-test] - LintErrorUndocumented ->
1962.13 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1962.13 s
[opt-env-conf-test] - LintErrorEmptySetting ->
1962.13 s
[opt-env-conf-test] - concat
1962.13 s
[opt-env-conf-test] - [ [ [ "This ",
1962.14 s
[opt-env-conf-test] - functionChunk "setting",
1962.14 s
[opt-env-conf-test] - " parses nothing."
1962.14 s
[opt-env-conf-test] - ]
1962.14 s
[opt-env-conf-test] - ],
1962.14 s
[opt-env-conf-test] - [ [ "Add an ",
1962.14 s
[opt-env-conf-test] - functionChunk "argument",
1962.14 s
[opt-env-conf-test] - ", ",
1962.14 s
[opt-env-conf-test] - functionChunk "switch",
1962.14 s
[opt-env-conf-test] - ", ",
1962.14 s
[opt-env-conf-test] - functionChunk "option",
1962.14 s
[opt-env-conf-test] - ", ",
1962.14 s
[opt-env-conf-test] - functionChunk "env",
1962.14 s
[opt-env-conf-test] - ", ",
1962.14 s
[opt-env-conf-test] - functionChunk "conf",
1962.14 s
[opt-env-conf-test] - ", or ",
1962.14 s
[opt-env-conf-test] - functionChunk "value",
1962.14 s
[opt-env-conf-test] - "."
1962.14 s
[opt-env-conf-test] - ]
1962.14 s
[opt-env-conf-test] - ]
1962.14 s
[opt-env-conf-test] - ]
1962.14 s
[opt-env-conf-test] - LintErrorDashInShort ->
1962.14 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1962.14 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1962.14 s
[opt-env-conf-test] - ]
1962.14 s
[opt-env-conf-test] - LintErrorDashInLong s ->
1962.14 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1962.14 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1962.14 s
[opt-env-conf-test] - [ "Try ",
1962.14 s
[opt-env-conf-test] - functionChunk "long",
1962.14 s
[opt-env-conf-test] - " ",
1962.14 s
[opt-env-conf-test] - chunk $
1962.14 s
[opt-env-conf-test] - T.pack $
1962.14 s
[opt-env-conf-test] - show $
1962.14 s
[opt-env-conf-test] - let go = \case
1962.14 s
[opt-env-conf-test] - [] -> []
1962.14 s
[opt-env-conf-test] - '-' : cs -> go cs
1962.14 s
[opt-env-conf-test] - c : cs -> c : cs
1962.14 s
[opt-env-conf-test] - in go $ NE.toList s,
1962.14 s
[opt-env-conf-test] - " instead."
1962.14 s
[opt-env-conf-test] - ]
1962.14 s
[opt-env-conf-test] - ]
1962.14 s
[opt-env-conf-test] - LintErrorNoReaderForArgument ->
1962.14 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1962.14 s
[opt-env-conf-test] - " has no ",
1962.14 s
[opt-env-conf-test] - functionChunk "reader",
1962.14 s
[opt-env-conf-test] - "."
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - LintErrorNoMetavarForArgument ->
1962.15 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1962.15 s
[opt-env-conf-test] - " has no ",
1962.15 s
[opt-env-conf-test] - functionChunk "metavar",
1962.15 s
[opt-env-conf-test] - "."
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - LintErrorNoReaderForOption ->
1962.15 s
[opt-env-conf-test] - [ [ functionChunk "option",
1962.15 s
[opt-env-conf-test] - " or ",
1962.15 s
[opt-env-conf-test] - functionChunk "name",
1962.15 s
[opt-env-conf-test] - " has no ",
1962.15 s
[opt-env-conf-test] - functionChunk "reader",
1962.15 s
[opt-env-conf-test] - "."
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - LintErrorNoDashedForOption ->
1962.15 s
[opt-env-conf-test] - [ [ functionChunk "option",
1962.15 s
[opt-env-conf-test] - " has no ",
1962.15 s
[opt-env-conf-test] - functionChunk "long",
1962.15 s
[opt-env-conf-test] - " or ",
1962.15 s
[opt-env-conf-test] - functionChunk "short",
1962.15 s
[opt-env-conf-test] - "."
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - LintErrorNoMetavarForOption ->
1962.15 s
[opt-env-conf-test] - [ [ functionChunk "option",
1962.15 s
[opt-env-conf-test] - " or ",
1962.15 s
[opt-env-conf-test] - functionChunk "name",
1962.15 s
[opt-env-conf-test] - " has no ",
1962.15 s
[opt-env-conf-test] - functionChunk "metavar",
1962.15 s
[opt-env-conf-test] - "."
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - LintErrorNoDashedForSwitch ->
1962.15 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1962.15 s
[opt-env-conf-test] - " has no ",
1962.15 s
[opt-env-conf-test] - functionChunk "long",
1962.15 s
[opt-env-conf-test] - " or ",
1962.15 s
[opt-env-conf-test] - functionChunk "short",
1962.15 s
[opt-env-conf-test] - "."
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - ]
1962.15 s
[opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
1962.15 s
[opt-env-conf-test] - [ [ functionChunk "long",
1962.16 s
[opt-env-conf-test] - " or ",
1962.16 s
[opt-env-conf-test] - functionChunk "short",
1962.16 s
[opt-env-conf-test] - " has no ",
1962.16 s
[opt-env-conf-test] - functionChunk "option",
1962.16 s
[opt-env-conf-test] - " or ",
1962.16 s
[opt-env-conf-test] - functionChunk "switch",
1962.16 s
[opt-env-conf-test] - "."
1962.16 s
[opt-env-conf-test] - ]
1962.16 s
[opt-env-conf-test] - ]
1962.16 s
[opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
1962.16 s
[opt-env-conf-test] - [ [ functionChunk "env",
1962.16 s
[opt-env-conf-test] - " or ",
1962.16 s
[opt-env-conf-test] - functionChunk "name",
1962.16 s
[opt-env-conf-test] - " has no ",
1962.16 s
[opt-env-conf-test] - functionChunk "reader",
1962.16 s
[opt-env-conf-test] - "."
1962.16 s
[opt-env-conf-test] - ]
1962.16 s
[opt-env-conf-test] - ]
1962.16 s
[opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
1962.16 s
[opt-env-conf-test] - [ [ functionChunk "env",
1962.16 s
[opt-env-conf-test] - " or ",
1962.16 s
[opt-env-conf-test] - functionChunk "name",
1962.16 s
[opt-env-conf-test] - " has no ",
1962.16 s
[opt-env-conf-test] - functionChunk "metavar",
1962.16 s
[opt-env-conf-test] - "."
1962.16 s
[opt-env-conf-test] - ]
1962.16 s
[opt-env-conf-test] - ]
1962.16 s
[opt-env-conf-test] - LintErrorNoCommands ->
1962.16 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1962.16 s
[opt-env-conf-test] - " was called with an empty list."
1962.16 s
[opt-env-conf-test] - ]
1962.16 s
[opt-env-conf-test] - ]
1962.16 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
1962.16 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1962.16 s
[opt-env-conf-test] - " was called with an unknown command: ",
1962.16 s
[opt-env-conf-test] - commandChunk c
1962.16 s
[opt-env-conf-test] - ]
1962.16 s
[opt-env-conf-test] - ]
1962.16 s
[opt-env-conf-test] - LintErrorUnreadableExample e ->
1962.16 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1962.16 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1962.16 s
[opt-env-conf-test] - ]
1962.16 s
[opt-env-conf-test] - LintErrorConfigWithoutLoad ->
1962.16 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1962.16 s
[opt-env-conf-test] - " or ",
1962.16 s
[opt-env-conf-test] - functionChunk "name",
1962.16 s
[opt-env-conf-test] - " was called with no way to load configuration."
1962.16 s
[opt-env-conf-test] - ],
1962.16 s
[opt-env-conf-test] - [ "You can load configuration with ",
1962.16 s
[opt-env-conf-test] - functionChunk "withConfig",
1963.35 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1963.35 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1963.35 s
[opt-env-conf-test] - "."
1963.35 s
[opt-env-conf-test] - ]
1963.35 s
[opt-env-conf-test] - ]
1963.36 s
[opt-env-conf-test] - LintErrorManyInfinite ->
1963.36 s
[opt-env-conf-test] - [ [ functionChunk "many",
1963.36 s
[opt-env-conf-test] - " or ",
1963.36 s
[opt-env-conf-test] - functionChunk "some",
1963.36 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1963.36 s
[opt-env-conf-test] - ],
1963.36 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1963.36 s
[opt-env-conf-test] - ],
1963.36 s
[opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1963.36 s
[opt-env-conf-test] ]
1963.36 s
[opt-env-conf-test]
1963.36 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1963.36 s
[opt-env-conf-test] lintParser =
1963.36 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1963.36 s
[opt-env-conf-test] @@ -65,171 +65,170 @@
1963.36 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1963.36 s
[opt-env-conf-test] renderLintError LintError {..} =
1963.36 s
[opt-env-conf-test] concat
1963.36 s
[opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
1963.36 s
[opt-env-conf-test] case lintErrorMessage of
1963.36 s
[opt-env-conf-test] LintErrorUndocumented ->
1963.36 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1963.36 s
[opt-env-conf-test] LintErrorEmptySetting ->
1963.36 s
[opt-env-conf-test] concat
1963.36 s
[opt-env-conf-test] [ [ [ "This ",
1963.36 s
[opt-env-conf-test] functionChunk "setting",
1963.36 s
[opt-env-conf-test] " parses nothing."
1963.36 s
[opt-env-conf-test] ]
1963.36 s
[opt-env-conf-test] ],
1963.36 s
[opt-env-conf-test] [ [ "Add an ",
1963.36 s
[opt-env-conf-test] functionChunk "argument",
1963.36 s
[opt-env-conf-test] ", ",
1963.36 s
[opt-env-conf-test] functionChunk "switch",
1963.36 s
[opt-env-conf-test] ", ",
1963.36 s
[opt-env-conf-test] functionChunk "option",
1963.36 s
[opt-env-conf-test] ", ",
1963.36 s
[opt-env-conf-test] functionChunk "env",
1963.36 s
[opt-env-conf-test] ", ",
1963.36 s
[opt-env-conf-test] functionChunk "conf",
1963.36 s
[opt-env-conf-test] ", or ",
1963.36 s
[opt-env-conf-test] functionChunk "value",
1963.36 s
[opt-env-conf-test] "."
1963.36 s
[opt-env-conf-test] ]
1963.36 s
[opt-env-conf-test] ]
1963.36 s
[opt-env-conf-test] ]
1963.36 s
[opt-env-conf-test] LintErrorDashInShort ->
1963.36 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1963.36 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1963.36 s
[opt-env-conf-test] ]
1963.36 s
[opt-env-conf-test] LintErrorDashInLong s ->
1963.36 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1963.36 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1963.36 s
[opt-env-conf-test] [ "Try ",
1963.36 s
[opt-env-conf-test] functionChunk "long",
1963.37 s
[opt-env-conf-test] " ",
1963.37 s
[opt-env-conf-test] chunk $
1963.37 s
[opt-env-conf-test] T.pack $
1963.37 s
[opt-env-conf-test] show $
1963.37 s
[opt-env-conf-test] let go = \case
1963.37 s
[opt-env-conf-test] [] -> []
1963.37 s
[opt-env-conf-test] '-' : cs -> go cs
1963.37 s
[opt-env-conf-test] c : cs -> c : cs
1963.37 s
[opt-env-conf-test] in go $ NE.toList s,
1963.37 s
[opt-env-conf-test] " instead."
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1963.37 s
[opt-env-conf-test] [ [ functionChunk "argument",
1963.37 s
[opt-env-conf-test] " has no ",
1963.37 s
[opt-env-conf-test] functionChunk "reader",
1963.37 s
[opt-env-conf-test] "."
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1963.37 s
[opt-env-conf-test] [ [ functionChunk "argument",
1963.37 s
[opt-env-conf-test] " has no ",
1963.37 s
[opt-env-conf-test] functionChunk "metavar",
1963.37 s
[opt-env-conf-test] "."
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1963.37 s
[opt-env-conf-test] [ [ functionChunk "option",
1963.37 s
[opt-env-conf-test] " or ",
1963.37 s
[opt-env-conf-test] functionChunk "name",
1963.37 s
[opt-env-conf-test] " has no ",
1963.37 s
[opt-env-conf-test] functionChunk "reader",
1963.37 s
[opt-env-conf-test] "."
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1963.37 s
[opt-env-conf-test] [ [ functionChunk "option",
1963.37 s
[opt-env-conf-test] " has no ",
1963.37 s
[opt-env-conf-test] functionChunk "long",
1963.37 s
[opt-env-conf-test] " or ",
1963.37 s
[opt-env-conf-test] functionChunk "short",
1963.37 s
[opt-env-conf-test] "."
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1963.37 s
[opt-env-conf-test] [ [ functionChunk "option",
1963.37 s
[opt-env-conf-test] " or ",
1963.37 s
[opt-env-conf-test] functionChunk "name",
1963.37 s
[opt-env-conf-test] " has no ",
1963.37 s
[opt-env-conf-test] functionChunk "metavar",
1963.37 s
[opt-env-conf-test] "."
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1963.37 s
[opt-env-conf-test] [ [ functionChunk "switch",
1963.37 s
[opt-env-conf-test] " has no ",
1963.37 s
[opt-env-conf-test] functionChunk "long",
1963.37 s
[opt-env-conf-test] " or ",
1963.37 s
[opt-env-conf-test] functionChunk "short",
1963.37 s
[opt-env-conf-test] "."
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] ]
1963.37 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1963.37 s
[opt-env-conf-test] [ [ functionChunk "long",
1963.37 s
[opt-env-conf-test] " or ",
1963.38 s
[opt-env-conf-test] functionChunk "short",
1963.38 s
[opt-env-conf-test] " has no ",
1963.38 s
[opt-env-conf-test] functionChunk "option",
1963.38 s
[opt-env-conf-test] " or ",
1963.38 s
[opt-env-conf-test] functionChunk "switch",
1963.38 s
[opt-env-conf-test] "."
1963.38 s
[opt-env-conf-test] ]
1963.38 s
[opt-env-conf-test] ]
1963.38 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1963.38 s
[opt-env-conf-test] [ [ functionChunk "env",
1963.38 s
[opt-env-conf-test] " or ",
1963.38 s
[opt-env-conf-test] functionChunk "name",
1963.38 s
[opt-env-conf-test] " has no ",
1963.38 s
[opt-env-conf-test] functionChunk "reader",
1963.38 s
[opt-env-conf-test] "."
1963.38 s
[opt-env-conf-test] ]
1963.38 s
[opt-env-conf-test] ]
1963.38 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1963.38 s
[opt-env-conf-test] [ [ functionChunk "env",
1963.38 s
[opt-env-conf-test] " or ",
1963.38 s
[opt-env-conf-test] functionChunk "name",
1963.38 s
[opt-env-conf-test] " has no ",
1963.38 s
[opt-env-conf-test] functionChunk "metavar",
1963.38 s
[opt-env-conf-test] "."
1963.38 s
[opt-env-conf-test] ]
1963.38 s
[opt-env-conf-test] ]
1963.38 s
[opt-env-conf-test] LintErrorNoCommands ->
1963.38 s
[opt-env-conf-test] [ [ functionChunk "commands",
1964.62 s
[opt-env-conf-test] " was called with an empty list."
1964.62 s
[opt-env-conf-test] ]
1964.62 s
[opt-env-conf-test] ]
1964.62 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1964.62 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1964.62 s
[opt-env-conf-test] " was called with an unknown command: ",
1964.62 s
[opt-env-conf-test] commandChunk c
1964.62 s
[opt-env-conf-test] ]
1964.62 s
[opt-env-conf-test] ]
1964.62 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1964.62 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1964.62 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1964.62 s
[opt-env-conf-test] ]
1964.62 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1964.62 s
[opt-env-conf-test] [ [ functionChunk "conf",
1964.62 s
[opt-env-conf-test] " or ",
1964.62 s
[opt-env-conf-test] functionChunk "name",
1964.62 s
[opt-env-conf-test] " was called with no way to load configuration."
1964.62 s
[opt-env-conf-test] ],
1964.62 s
[opt-env-conf-test] [ "You can load configuration with ",
1964.62 s
[opt-env-conf-test] functionChunk "withConfig",
1964.62 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1964.62 s
[opt-env-conf-test] functionChunk "withoutConfig",
1964.62 s
[opt-env-conf-test] "."
1964.62 s
[opt-env-conf-test] ]
1964.62 s
[opt-env-conf-test] ]
1964.62 s
[opt-env-conf-test] LintErrorManyInfinite ->
1964.62 s
[opt-env-conf-test] [ [ functionChunk "many",
1964.63 s
[opt-env-conf-test] " or ",
1964.63 s
[opt-env-conf-test] functionChunk "some",
1964.63 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1964.63 s
[opt-env-conf-test] ],
1964.63 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1964.63 s
[opt-env-conf-test] ],
1964.63 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test]
1964.63 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1964.63 s
[opt-env-conf-test] lintParser =
1964.63 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1964.63 s
[opt-env-conf-test] @@ -65,171 +65,170 @@
1964.63 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1964.63 s
[opt-env-conf-test] renderLintError LintError {..} =
1964.63 s
[opt-env-conf-test] concat
1964.63 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1964.63 s
[opt-env-conf-test] case lintErrorMessage of
1964.63 s
[opt-env-conf-test] LintErrorUndocumented ->
1964.63 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1964.63 s
[opt-env-conf-test] LintErrorEmptySetting ->
1964.63 s
[opt-env-conf-test] concat
1964.63 s
[opt-env-conf-test] [ [ [ "This ",
1964.63 s
[opt-env-conf-test] functionChunk "setting",
1964.63 s
[opt-env-conf-test] " parses nothing."
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] ],
1964.63 s
[opt-env-conf-test] [ [ "Add an ",
1964.63 s
[opt-env-conf-test] functionChunk "argument",
1964.63 s
[opt-env-conf-test] ", ",
1964.63 s
[opt-env-conf-test] functionChunk "switch",
1964.63 s
[opt-env-conf-test] ", ",
1964.63 s
[opt-env-conf-test] functionChunk "option",
1964.63 s
[opt-env-conf-test] ", ",
1964.63 s
[opt-env-conf-test] functionChunk "env",
1964.63 s
[opt-env-conf-test] ", ",
1964.63 s
[opt-env-conf-test] functionChunk "conf",
1964.63 s
[opt-env-conf-test] ", or ",
1964.63 s
[opt-env-conf-test] functionChunk "value",
1964.63 s
[opt-env-conf-test] "."
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] LintErrorDashInShort ->
1964.63 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1964.63 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] LintErrorDashInLong s ->
1964.63 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1964.63 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1964.63 s
[opt-env-conf-test] [ "Try ",
1964.63 s
[opt-env-conf-test] functionChunk "long",
1964.63 s
[opt-env-conf-test] " ",
1964.63 s
[opt-env-conf-test] chunk $
1964.63 s
[opt-env-conf-test] T.pack $
1964.63 s
[opt-env-conf-test] show $
1964.63 s
[opt-env-conf-test] let go = \case
1964.63 s
[opt-env-conf-test] [] -> []
1964.63 s
[opt-env-conf-test] '-' : cs -> go cs
1964.63 s
[opt-env-conf-test] c : cs -> c : cs
1964.63 s
[opt-env-conf-test] in go $ NE.toList s,
1964.63 s
[opt-env-conf-test] " instead."
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1964.63 s
[opt-env-conf-test] [ [ functionChunk "argument",
1964.63 s
[opt-env-conf-test] " has no ",
1964.63 s
[opt-env-conf-test] functionChunk "reader",
1964.63 s
[opt-env-conf-test] "."
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1964.63 s
[opt-env-conf-test] [ [ functionChunk "argument",
1964.63 s
[opt-env-conf-test] " has no ",
1964.63 s
[opt-env-conf-test] functionChunk "metavar",
1964.63 s
[opt-env-conf-test] "."
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1964.63 s
[opt-env-conf-test] [ [ functionChunk "option",
1964.63 s
[opt-env-conf-test] " or ",
1964.63 s
[opt-env-conf-test] functionChunk "name",
1964.63 s
[opt-env-conf-test] " has no ",
1964.63 s
[opt-env-conf-test] functionChunk "reader",
1964.63 s
[opt-env-conf-test] "."
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1964.63 s
[opt-env-conf-test] [ [ functionChunk "option",
1964.63 s
[opt-env-conf-test] " has no ",
1964.63 s
[opt-env-conf-test] functionChunk "long",
1964.63 s
[opt-env-conf-test] " or ",
1964.63 s
[opt-env-conf-test] functionChunk "short",
1964.63 s
[opt-env-conf-test] "."
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1964.63 s
[opt-env-conf-test] [ [ functionChunk "option",
1964.63 s
[opt-env-conf-test] " or ",
1964.63 s
[opt-env-conf-test] functionChunk "name",
1964.63 s
[opt-env-conf-test] " has no ",
1964.63 s
[opt-env-conf-test] functionChunk "metavar",
1964.63 s
[opt-env-conf-test] "."
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1964.63 s
[opt-env-conf-test] [ [ functionChunk "switch",
1964.63 s
[opt-env-conf-test] " has no ",
1964.63 s
[opt-env-conf-test] functionChunk "long",
1964.63 s
[opt-env-conf-test] " or ",
1964.63 s
[opt-env-conf-test] functionChunk "short",
1964.63 s
[opt-env-conf-test] "."
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] ]
1964.63 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1964.63 s
[opt-env-conf-test] [ [ functionChunk "long",
1964.63 s
[opt-env-conf-test] " or ",
1964.63 s
[opt-env-conf-test] functionChunk "short",
1964.64 s
[opt-env-conf-test] " has no ",
1964.64 s
[opt-env-conf-test] functionChunk "option",
1964.64 s
[opt-env-conf-test] " or ",
1964.64 s
[opt-env-conf-test] functionChunk "switch",
1964.64 s
[opt-env-conf-test] "."
1964.64 s
[opt-env-conf-test] ]
1964.64 s
[opt-env-conf-test] ]
1964.64 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1964.64 s
[opt-env-conf-test] [ [ functionChunk "env",
1964.64 s
[opt-env-conf-test] " or ",
1964.64 s
[opt-env-conf-test] functionChunk "name",
1964.64 s
[opt-env-conf-test] " has no ",
1964.64 s
[opt-env-conf-test] functionChunk "reader",
1964.64 s
[opt-env-conf-test] "."
1964.64 s
[opt-env-conf-test] ]
1964.64 s
[opt-env-conf-test] ]
1964.64 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1964.64 s
[opt-env-conf-test] [ [ functionChunk "env",
1964.64 s
[opt-env-conf-test] " or ",
1964.64 s
[opt-env-conf-test] functionChunk "name",
1964.64 s
[opt-env-conf-test] " has no ",
1964.64 s
[opt-env-conf-test] functionChunk "metavar",
1964.64 s
[opt-env-conf-test] "."
1964.64 s
[opt-env-conf-test] ]
1964.64 s
[opt-env-conf-test] ]
1964.64 s
[opt-env-conf-test] LintErrorNoCommands ->
1964.64 s
[opt-env-conf-test] [ [ functionChunk "commands",
1971.55 s
[opt-env-conf-test] " was called with an empty list."
1971.55 s
[opt-env-conf-test] ]
1971.56 s
[opt-env-conf-test] ]
1971.58 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1971.58 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1971.58 s
[opt-env-conf-test] " was called with an unknown command: ",
1971.58 s
[opt-env-conf-test] commandChunk c
1971.58 s
[opt-env-conf-test] ]
1971.58 s
[opt-env-conf-test] ]
1971.58 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1971.58 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1971.58 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1971.58 s
[opt-env-conf-test] ]
1971.58 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1971.58 s
[opt-env-conf-test] [ [ functionChunk "conf",
1971.59 s
[opt-env-conf-test] " or ",
1971.59 s
[opt-env-conf-test] functionChunk "name",
1971.59 s
[opt-env-conf-test] " was called with no way to load configuration."
1971.59 s
[opt-env-conf-test] ],
1971.59 s
[opt-env-conf-test] [ "You can load configuration with ",
1971.59 s
[opt-env-conf-test] functionChunk "withConfig",
1971.59 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1971.59 s
[opt-env-conf-test] functionChunk "withoutConfig",
1971.59 s
[opt-env-conf-test] "."
1971.59 s
[opt-env-conf-test] ]
1971.59 s
[opt-env-conf-test] ]
1971.59 s
[opt-env-conf-test] LintErrorManyInfinite ->
1971.59 s
[opt-env-conf-test] [ [ functionChunk "many",
1971.59 s
[opt-env-conf-test] " or ",
1971.59 s
[opt-env-conf-test] functionChunk "some",
1971.59 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1971.59 s
[opt-env-conf-test] ],
1971.59 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1971.59 s
[opt-env-conf-test] ],
1971.59 s
[opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1971.59 s
[opt-env-conf-test] ]
1971.59 s
[opt-env-conf-test]
1971.59 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1971.59 s
[opt-env-conf-test] lintParser =
1971.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
1971.59 s
[opt-env-conf-test] @@ -75,9 +75,8 @@
1971.59 s
[opt-env-conf-test]
1971.59 s
[opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
1971.59 s
[opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
1971.59 s
[opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
1971.59 s
[opt-env-conf-test] - Nothing -> Left $ "Unparseable value: " <> show s
1971.59 s
[opt-env-conf-test] Just a -> Right a
1971.59 s
[opt-env-conf-test]
1971.59 s
[opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
1971.59 s
[opt-env-conf-test] --
1971.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
1971.59 s
[opt-env-conf-test] @@ -75,9 +75,8 @@
1971.59 s
[opt-env-conf-test]
1971.59 s
[opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
1971.60 s
[opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
1971.60 s
[opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
1971.60 s
[opt-env-conf-test] Nothing -> Left $ "Unparseable value: " <> show s
1971.60 s
[opt-env-conf-test] - Just a -> Right a
1971.60 s
[opt-env-conf-test]
1971.60 s
[opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
1971.60 s
[opt-env-conf-test] --
1971.60 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Reader.hs:70:32-36
1971.60 s
[opt-env-conf-test] @@ -67,7 +67,7 @@
1971.60 s
[opt-env-conf-test] --
1971.60 s
[opt-env-conf-test] -- > exists = Reader $ const $ pure True
1971.60 s
[opt-env-conf-test] exists :: Reader Bool
1971.60 s
[opt-env-conf-test] - exists = Reader $ const $ pure Tr u e
1971.60 s
[opt-env-conf-test] + exists = Reader $ const $ pure F a ls e
1971.60 s
[opt-env-conf-test]
1971.60 s
[opt-env-conf-test] -- | Read a value as if it were specified as a 'String' and parsed via the given 'Codec'.
1971.60 s
[opt-env-conf-test] viaStringCodec :: (HasCodec a) => Reader a
1971.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
1971.60 s
[opt-env-conf-test] @@ -59,9 +59,8 @@
1971.60 s
[opt-env-conf-test] --
1971.60 s
[opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
1971.60 s
[opt-env-conf-test] auto :: (Read a) => Reader a
1971.60 s
[opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
1971.60 s
[opt-env-conf-test] - Nothing -> Left $ "Un-Read-able value: " <> show s
1971.60 s
[opt-env-conf-test] Just a -> Right a
1971.60 s
[opt-env-conf-test]
1971.60 s
[opt-env-conf-test] -- | Always return True
1971.60 s
[opt-env-conf-test] --
1971.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
1971.60 s
[opt-env-conf-test] @@ -59,9 +59,8 @@
1971.60 s
[opt-env-conf-test] --
1971.60 s
[opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
1971.60 s
[opt-env-conf-test] auto :: (Read a) => Reader a
1971.60 s
[opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
1971.60 s
[opt-env-conf-test] Nothing -> Left $ "Un-Read-able value: " <> show s
1971.60 s
[opt-env-conf-test] - Just a -> Right a
1971.60 s
[opt-env-conf-test]
1971.60 s
[opt-env-conf-test] -- | Always return True
1971.60 s
[opt-env-conf-test] --
1971.60 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
1971.60 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1971.60 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1971.60 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1971.60 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1971.60 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1971.61 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1971.61 s
[opt-env-conf-test] goCommand = go . commandParser
1971.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
1971.61 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1971.61 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1971.61 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1971.61 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1971.61 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1971.61 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1971.61 s
[opt-env-conf-test] goCommand = go . commandParser
1971.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1971.61 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1971.61 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1971.61 s
[opt-env-conf-test]
1971.61 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1971.61 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1971.61 s
[opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1971.61 s
[opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
1971.61 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1971.61 s
[opt-env-conf-test] goCommand = go . commandParser
1971.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1971.61 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1971.61 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1971.61 s
[opt-env-conf-test]
1971.61 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1971.61 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1971.61 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1971.61 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1971.61 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1971.61 s
[opt-env-conf-test] goCommand = go . commandParser
1971.61 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:90:47-55
1971.61 s
[opt-env-conf-test] @@ -87,7 +87,7 @@
1971.61 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1971.61 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1971.61 s
[opt-env-conf-test] (Nothing, _) -> o2
1971.61 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = J u st ot 1 }
1971.61 s
[opt-env-conf-test] + (Just ot1, Nothing) -> o2 {optionType = N ot hin g }
1971.61 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1971.61 s
[opt-env-conf-test]
1971.61 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1971.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1971.61 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1971.61 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1971.61 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1971.61 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1971.61 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1971.61 s
[opt-env-conf-test] - (Nothing, _) -> o2
1971.61 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1971.61 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1971.61 s
[opt-env-conf-test]
1971.61 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1971.61 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1971.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1971.62 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1971.62 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1971.62 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1971.62 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1971.62 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1971.62 s
[opt-env-conf-test] (Nothing, _) -> o2
1971.62 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1971.62 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1971.62 s
[opt-env-conf-test]
1971.62 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1971.62 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1971.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1971.62 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1971.62 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1971.62 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1971.62 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1971.62 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1971.62 s
[opt-env-conf-test] (Nothing, _) -> o2
1971.62 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1971.62 s
[opt-env-conf-test] - (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1971.62 s
[opt-env-conf-test]
1971.62 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1971.62 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1975.71 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:85:69-97
1975.71 s
[opt-env-conf-test] @@ -82,7 +82,7 @@
1975.71 s
[opt-env-conf-test] in objectCodecNixOptions oc
1975.71 s
[opt-env-conf-test] Just rest ->
1975.71 s
[opt-env-conf-test] let m = go' rest
1975.71 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 ) }
1975.71 s
[opt-env-conf-test] + in M.singleton p $ emptyOption {optionType = N o t h i n g }
1975.71 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1975.71 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1975.71 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1975.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
1975.72 s
[opt-env-conf-test] @@ -72,17 +72,10 @@
1975.72 s
[opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
1975.72 s
[opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
1975.72 s
[opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
1975.72 s
[opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
1975.72 s
[opt-env-conf-test] - Nothing ->
1975.72 s
[opt-env-conf-test] - let oc =
1975.72 s
[opt-env-conf-test] - maybe
1975.72 s
[opt-env-conf-test] - (optionalFieldWith' p configValSettingCodec)
1975.72 s
[opt-env-conf-test] - (optionalFieldWith p configValSettingCodec)
1975.72 s
[opt-env-conf-test] - (T.pack <$> settingHelp s)
1975.72 s
[opt-env-conf-test] - in objectCodecNixOptions oc
1975.72 s
[opt-env-conf-test] Just rest ->
1975.72 s
[opt-env-conf-test] let m = go' rest
1975.72 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1975.72 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1975.72 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1975.72 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1975.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
1975.72 s
[opt-env-conf-test] @@ -72,17 +72,14 @@
1975.72 s
[opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
1975.72 s
[opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
1975.72 s
[opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
1975.72 s
[opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
1975.72 s
[opt-env-conf-test] Nothing ->
1975.72 s
[opt-env-conf-test] let oc =
1975.72 s
[opt-env-conf-test] maybe
1975.72 s
[opt-env-conf-test] (optionalFieldWith' p configValSettingCodec)
1975.72 s
[opt-env-conf-test] (optionalFieldWith p configValSettingCodec)
1975.72 s
[opt-env-conf-test] (T.pack <$> settingHelp s)
1975.72 s
[opt-env-conf-test] in objectCodecNixOptions oc
1975.72 s
[opt-env-conf-test] - Just rest ->
1975.72 s
[opt-env-conf-test] - let m = go' rest
1975.72 s
[opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1975.72 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1975.72 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1975.72 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1975.72 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
1975.73 s
[opt-env-conf-test] @@ -35,7 +35,6 @@
1975.73 s
[opt-env-conf-test] ("# " <>)
1975.73 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1975.73 s
[opt-env-conf-test] "This file was generated by running",
1975.73 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1975.73 s
[opt-env-conf-test] T.unpack content
1975.73 s
[opt-env-conf-test] ]
1975.73 s
[opt-env-conf-test]
1975.73 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
1975.73 s
[opt-env-conf-test] @@ -35,7 +35,6 @@
1975.73 s
[opt-env-conf-test] ("# " <>)
1975.73 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1975.73 s
[opt-env-conf-test] "This file was generated by running",
1975.73 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1975.73 s
[opt-env-conf-test] T.unpack content
1975.73 s
[opt-env-conf-test] ]
1975.73 s
[opt-env-conf-test]
1975.73 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1975.73 s
[opt-env-conf-test] @@ -33,11 +33,7 @@
1975.73 s
[opt-env-conf-test] unlines $
1975.73 s
[opt-env-conf-test] map
1975.73 s
[opt-env-conf-test] ("# " <>)
1975.73 s
[opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
1975.73 s
[opt-env-conf-test] - "This file was generated by running",
1975.73 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1975.73 s
[opt-env-conf-test] - T.unpack content
1975.73 s
[opt-env-conf-test] ]
1975.73 s
[opt-env-conf-test]
1975.73 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1975.73 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1975.73 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1975.73 s
[opt-env-conf-test] @@ -33,11 +33,10 @@
1975.73 s
[opt-env-conf-test] unlines $
1975.73 s
[opt-env-conf-test] map
1975.73 s
[opt-env-conf-test] ("# " <>)
1975.73 s
[opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
1975.73 s
[opt-env-conf-test] "This file was generated by running",
1975.73 s
[opt-env-conf-test] unwords [progname, "--render-nix-options"],
1975.73 s
[opt-env-conf-test] T.unpack content
1975.73 s
[opt-env-conf-test] ]
1975.74 s
[opt-env-conf-test]
1975.74 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1975.74 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1975.74 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1975.74 s
[opt-env-conf-test] @@ -33,11 +33,10 @@
1975.74 s
[opt-env-conf-test] unlines $
1975.74 s
[opt-env-conf-test] map
1975.74 s
[opt-env-conf-test] ("# " <>)
1975.74 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1975.74 s
[opt-env-conf-test] "This file was generated by running",
1975.74 s
[opt-env-conf-test] unwords [progname, "--render-nix-options"],
1975.74 s
[opt-env-conf-test] - T.unpack content
1975.74 s
[opt-env-conf-test] ]
1975.74 s
[opt-env-conf-test]
1975.74 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1975.74 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1975.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
1975.74 s
[opt-env-conf-test] @@ -78,9 +78,8 @@
1975.74 s
[opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
1975.74 s
[opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
1975.74 s
[opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
1975.74 s
[opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
1975.74 s
[opt-env-conf-test] - Left a -> f a
1975.74 s
[opt-env-conf-test] Right b -> b
1975.74 s
[opt-env-conf-test]
1975.74 s
[opt-env-conf-test] validationFailure :: e -> Validation e a
1975.74 s
[opt-env-conf-test] validationFailure e = Failure (e :| [])
1975.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
1975.74 s
[opt-env-conf-test] @@ -78,9 +78,8 @@
1975.74 s
[opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
1975.74 s
[opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
1975.74 s
[opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
1975.74 s
[opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
1975.74 s
[opt-env-conf-test] Left a -> f a
1975.74 s
[opt-env-conf-test] - Right b -> b
1975.74 s
[opt-env-conf-test]
1975.74 s
[opt-env-conf-test] validationFailure :: e -> Validation e a
1975.74 s
[opt-env-conf-test] validationFailure e = Failure (e :| [])
1975.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
1975.74 s
[opt-env-conf-test] @@ -66,9 +66,8 @@
1975.74 s
[opt-env-conf-test]
1975.74 s
[opt-env-conf-test] instance Applicative (Validation e) where
1975.74 s
[opt-env-conf-test] pure = Success
1975.74 s
[opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
1975.74 s
[opt-env-conf-test] - Failure e2 -> e1 `NE.append` e2
1975.74 s
[opt-env-conf-test] Success _ -> e1
1975.74 s
[opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
1975.74 s
[opt-env-conf-test] Success f <*> Success a = Success (f a)
1975.74 s
[opt-env-conf-test]
1975.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
1975.74 s
[opt-env-conf-test] @@ -66,9 +66,8 @@
1975.74 s
[opt-env-conf-test]
1975.74 s
[opt-env-conf-test] instance Applicative (Validation e) where
1975.74 s
[opt-env-conf-test] pure = Success
1975.74 s
[opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
1975.74 s
[opt-env-conf-test] Failure e2 -> e1 `NE.append` e2
1975.74 s
[opt-env-conf-test] - Success _ -> e1
1975.75 s
[opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
1975.75 s
[opt-env-conf-test] Success f <*> Success a = Success (f a)
1975.75 s
[opt-env-conf-test]
1975.75 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1975.75 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1975.75 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1975.75 s
[opt-env-conf-test]
1975.75 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1975.75 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1975.75 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1975.75 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1975.75 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1975.75 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1975.75 s
[opt-env-conf-test]
1975.75 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1975.75 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1975.75 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1975.75 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1975.75 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1975.75 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1975.75 s
[opt-env-conf-test]
1975.75 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1975.75 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1975.75 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1975.75 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Output.hs:112:34-39
1975.75 s
[opt-env-conf-test] @@ -109,7 +109,7 @@
1975.75 s
[opt-env-conf-test] cleanPackage pkg =
1975.75 s
[opt-env-conf-test] T.unpack $
1975.75 s
[opt-env-conf-test] T.intercalate "-" $
1975.75 s
[opt-env-conf-test] - takeWhile (not . maybe F al s e (Char.isDigit . fst) . T.uncons) $
1975.75 s
[opt-env-conf-test] + takeWhile (not . maybe T ru e (Char.isDigit . fst) . T.uncons) $
1975.75 s
[opt-env-conf-test] T.splitOn "-" (T.pack pkg)
1975.75 s
[opt-env-conf-test]
1975.75 s
[opt-env-conf-test] indent :: [[Chunk]] -> [[Chunk]]
1975.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
1975.75 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
1975.75 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1975.75 s
[opt-env-conf-test]
1986.22 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
1986.22 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
1986.25 s
[opt-env-conf-test] - [] -> []
1986.25 s
[opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
1986.25 s
[opt-env-conf-test]
1986.25 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
1986.25 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
1986.25 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
1986.25 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
1986.25 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1986.25 s
[opt-env-conf-test]
1986.25 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
1986.25 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
1986.25 s
[opt-env-conf-test] [] -> []
1986.25 s
[opt-env-conf-test] - cs -> intersperse ", " (map capabilityChunk cs)
1986.25 s
[opt-env-conf-test]
1986.25 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
1986.25 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
1986.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
1986.25 s
[opt-env-conf-test] @@ -78,7 +78,6 @@
1986.25 s
[opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
1986.25 s
[opt-env-conf-test]
1986.26 s
[opt-env-conf-test] headerChunks :: Text -> [Chunk]
1986.26 s
[opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
1986.26 s
[opt-env-conf-test]
1986.26 s
[opt-env-conf-test] syntaxChunk :: String -> Chunk
1986.26 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1986.26 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
1986.26 s
[opt-env-conf-test] @@ -78,7 +78,6 @@
1986.26 s
[opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
1986.26 s
[opt-env-conf-test]
1986.26 s
[opt-env-conf-test] headerChunks :: Text -> [Chunk]
1986.26 s
[opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
1986.26 s
[opt-env-conf-test]
1986.26 s
[opt-env-conf-test] syntaxChunk :: String -> Chunk
1986.26 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1986.26 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
1986.26 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1986.26 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1986.26 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1986.26 s
[opt-env-conf-test] [] -> []
1986.26 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1986.26 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1986.26 s
[opt-env-conf-test]
1986.26 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1986.26 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
1986.26 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1986.26 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1986.26 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1986.26 s
[opt-env-conf-test] [] -> []
1986.26 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1986.26 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1986.26 s
[opt-env-conf-test]
1986.26 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1986.26 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
1986.26 s
[opt-env-conf-test] @@ -69,7 +69,6 @@
1986.26 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1986.26 s
[opt-env-conf-test] [] -> []
1986.26 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1986.26 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1986.26 s
[opt-env-conf-test]
1986.26 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1986.26 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1986.26 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
1986.26 s
[opt-env-conf-test] @@ -69,7 +69,6 @@
1986.26 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1986.26 s
[opt-env-conf-test] [] -> []
1986.26 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1986.26 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1986.26 s
[opt-env-conf-test]
1986.26 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1986.26 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1986.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1986.26 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1986.26 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1986.26 s
[opt-env-conf-test]
1986.26 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1986.26 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1986.26 s
[opt-env-conf-test] - [] -> []
1986.26 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1986.27 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1986.27 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1986.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1986.27 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1986.27 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1986.27 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1986.27 s
[opt-env-conf-test] [] -> []
1986.27 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1986.27 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1986.27 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1986.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1986.27 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1986.27 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1986.27 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1986.27 s
[opt-env-conf-test] [] -> []
1986.27 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1986.27 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1986.27 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1986.27 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
1986.27 s
[opt-env-conf-test] @@ -63,7 +63,6 @@
1986.27 s
[opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
1986.27 s
[opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1986.27 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1986.27 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
1986.27 s
[opt-env-conf-test] @@ -63,7 +63,6 @@
1986.27 s
[opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
1986.27 s
[opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1986.27 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1986.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
1986.27 s
[opt-env-conf-test] @@ -269,9 +269,8 @@
1986.27 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1986.27 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1986.27 s
[opt-env-conf-test] applyComponent d ".." = parent d
1986.27 s
[opt-env-conf-test] applyComponent d c = case parseRelDir c of
1986.27 s
[opt-env-conf-test] - Nothing -> d
1986.27 s
[opt-env-conf-test] Just rd -> d </> rd
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
1986.27 s
[opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
1986.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
1986.27 s
[opt-env-conf-test] @@ -269,9 +269,8 @@
1986.27 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1986.27 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1986.27 s
[opt-env-conf-test] applyComponent d ".." = parent d
1986.27 s
[opt-env-conf-test] applyComponent d c = case parseRelDir c of
1986.27 s
[opt-env-conf-test] Nothing -> d
1986.27 s
[opt-env-conf-test] - Just rd -> d </> rd
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
1986.27 s
[opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
1986.27 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:27-35
1986.27 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1986.27 s
[opt-env-conf-test] splitOnSlash s =
1986.27 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1986.27 s
[opt-env-conf-test] in case rest of
1986.27 s
[opt-env-conf-test] - [] -> [seg | not ( n u l l s e g )]
1986.27 s
[opt-env-conf-test] + [] -> [seg | not ( T r u e )]
1986.27 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1986.27 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:27-35
1986.27 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1986.27 s
[opt-env-conf-test] splitOnSlash s =
1986.27 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1986.27 s
[opt-env-conf-test] in case rest of
1986.27 s
[opt-env-conf-test] - [] -> [seg | not (null seg) ]
1986.27 s
[opt-env-conf-test] + [] -> [seg | n o t ( not (null seg) ) ]
1986.27 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1986.27 s
[opt-env-conf-test]
1986.27 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1986.27 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:26-36
1986.27 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1986.27 s
[opt-env-conf-test] splitOnSlash s =
1986.27 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1986.27 s
[opt-env-conf-test] in case rest of
1986.27 s
[opt-env-conf-test] - [] -> [seg | not ( n u l l s e g ) ]
1986.27 s
[opt-env-conf-test] + [] -> [seg | not T r u e ]
1986.27 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1986.28 s
[opt-env-conf-test]
1986.28 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1986.28 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:26-36
1986.28 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1986.28 s
[opt-env-conf-test] splitOnSlash s =
1986.28 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1986.28 s
[opt-env-conf-test] in case rest of
1986.28 s
[opt-env-conf-test] - [] -> [seg | not ( null seg) ]
1986.28 s
[opt-env-conf-test] + [] -> [seg | n o t not ( ( null seg) ) ]
1986.28 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1986.28 s
[opt-env-conf-test]
1986.28 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1986.28 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:22-36
1986.28 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1992.31 s
[opt-env-conf-test] splitOnSlash s =
1992.31 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1992.31 s
[opt-env-conf-test] in case rest of
1992.33 s
[opt-env-conf-test] - [] -> [seg | n o t (n u l l s e g ) ]
1992.33 s
[opt-env-conf-test] + [] -> [seg | T r u e ]
1992.33 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1992.33 s
[opt-env-conf-test]
1992.33 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1992.33 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:22-36
1992.33 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1992.33 s
[opt-env-conf-test] splitOnSlash s =
1992.33 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1992.33 s
[opt-env-conf-test] in case rest of
1992.33 s
[opt-env-conf-test] - [] -> [seg | not (null seg) ]
1992.33 s
[opt-env-conf-test] + [] -> [seg | n o t ( not (null seg) ) ]
1992.33 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1992.33 s
[opt-env-conf-test]
1992.33 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1992.33 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:266:15-37
1992.33 s
[opt-env-conf-test] @@ -263,7 +263,6 @@
1992.33 s
[opt-env-conf-test] splitOnSlash s =
1992.33 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1992.33 s
[opt-env-conf-test] in case rest of
1992.34 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1992.34 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1992.34 s
[opt-env-conf-test]
1992.34 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1992.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:34-42
1992.34 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1992.34 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1992.34 s
[opt-env-conf-test] in case rest of
1992.34 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1992.34 s
[opt-env-conf-test] - _ : rest' -> [seg | not ( n u l l s e g )] <> splitOnSlash rest'
1992.34 s
[opt-env-conf-test] + _ : rest' -> [seg | not ( T r u e )] <> splitOnSlash rest'
1992.34 s
[opt-env-conf-test]
1992.34 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1992.34 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1992.34 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:34-42
1992.34 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1992.34 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1992.34 s
[opt-env-conf-test] in case rest of
1992.34 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1992.34 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg) ] <> splitOnSlash rest'
1992.34 s
[opt-env-conf-test] + _ : rest' -> [seg | n o t ( not (null seg) ) ] <> splitOnSlash rest'
1992.34 s
[opt-env-conf-test]
1992.34 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1992.34 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1992.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:33-43
1992.34 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1992.34 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1992.34 s
[opt-env-conf-test] in case rest of
1992.34 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1992.34 s
[opt-env-conf-test] - _ : rest' -> [seg | not ( n u l l s e g ) ] <> splitOnSlash rest'
1992.34 s
[opt-env-conf-test] + _ : rest' -> [seg | not T r u e ] <> splitOnSlash rest'
1992.34 s
[opt-env-conf-test]
1992.34 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1992.34 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1992.34 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:33-43
1992.34 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1992.34 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1992.34 s
[opt-env-conf-test] in case rest of
1992.34 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1992.35 s
[opt-env-conf-test] - _ : rest' -> [seg | not ( null seg) ] <> splitOnSlash rest'
1992.35 s
[opt-env-conf-test] + _ : rest' -> [seg | n o t not ( ( null seg) ) ] <> splitOnSlash rest'
1992.35 s
[opt-env-conf-test]
1992.35 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1992.35 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1992.35 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:29-43
1992.35 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1992.35 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1992.35 s
[opt-env-conf-test] in case rest of
1992.35 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1992.35 s
[opt-env-conf-test] - _ : rest' -> [seg | n o t (n u l l s e g ) ] <> splitOnSlash rest'
1992.35 s
[opt-env-conf-test] + _ : rest' -> [seg | T r u e ] <> splitOnSlash rest'
1992.35 s
[opt-env-conf-test]
1992.35 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1992.35 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1992.35 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:29-43
1992.35 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1992.35 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1992.35 s
[opt-env-conf-test] in case rest of
1992.35 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1992.35 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg) ] <> splitOnSlash rest'
1992.35 s
[opt-env-conf-test] + _ : rest' -> [seg | n o t ( not (null seg) ) ] <> splitOnSlash rest'
1992.35 s
[opt-env-conf-test]
1992.35 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1992.35 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1992.35 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:267:22-44
1992.35 s
[opt-env-conf-test] @@ -264,7 +264,6 @@
1992.35 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1992.35 s
[opt-env-conf-test] in case rest of
1992.35 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1992.35 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1992.35 s
[opt-env-conf-test]
1992.35 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1992.35 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1992.35 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
1992.35 s
[opt-env-conf-test] @@ -262,9 +262,8 @@
1992.35 s
[opt-env-conf-test] splitOnSlash [] = []
1992.35 s
[opt-env-conf-test] splitOnSlash s =
1992.35 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1992.35 s
[opt-env-conf-test] in case rest of
1992.35 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1992.35 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1992.35 s
[opt-env-conf-test]
1992.35 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1992.35 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1992.35 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1992.35 s
[opt-env-conf-test] @@ -114,11 +114,10 @@
1992.35 s
[opt-env-conf-test] ]
1992.35 s
[opt-env-conf-test] ]
1992.36 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1992.36 s
[opt-env-conf-test] [ [ functionChunk "argument",
1992.36 s
[opt-env-conf-test] " has no ",
1992.36 s
[opt-env-conf-test] functionChunk "reader",
1992.36 s
[opt-env-conf-test] - "."
1992.36 s
[opt-env-conf-test] ]
1992.36 s
[opt-env-conf-test] ]
1992.36 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1992.36 s
[opt-env-conf-test] [ [ functionChunk "argument",
1992.36 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1992.36 s
[opt-env-conf-test] @@ -114,11 +114,10 @@
1992.36 s
[opt-env-conf-test] ]
1992.36 s
[opt-env-conf-test] ]
1992.36 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1992.36 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1992.36 s
[opt-env-conf-test] " has no ",
1992.36 s
[opt-env-conf-test] functionChunk "reader",
1992.36 s
[opt-env-conf-test] "."
1992.36 s
[opt-env-conf-test] ]
1992.36 s
[opt-env-conf-test] ]
1992.36 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1992.36 s
[opt-env-conf-test] [ [ functionChunk "argument",
1992.36 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1992.36 s
[opt-env-conf-test] @@ -114,11 +114,7 @@
1992.36 s
[opt-env-conf-test] ]
1992.36 s
[opt-env-conf-test] ]
1992.36 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1992.36 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1992.36 s
[opt-env-conf-test] - " has no ",
1992.36 s
[opt-env-conf-test] - functionChunk "reader",
1992.37 s
[opt-env-conf-test] - "."
1992.37 s
[opt-env-conf-test] ]
1992.37 s
[opt-env-conf-test] ]
1992.37 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1992.37 s
[opt-env-conf-test] [ [ functionChunk "argument",
1992.37 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1992.37 s
[opt-env-conf-test] @@ -184,13 +184,12 @@
1992.37 s
[opt-env-conf-test] ]
1992.37 s
[opt-env-conf-test] ]
1992.37 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1992.37 s
[opt-env-conf-test] [ [ functionChunk "env",
1992.37 s
[opt-env-conf-test] " or ",
1992.37 s
[opt-env-conf-test] functionChunk "name",
1992.37 s
[opt-env-conf-test] " has no ",
1992.37 s
[opt-env-conf-test] functionChunk "metavar",
1992.37 s
[opt-env-conf-test] - "."
1992.37 s
[opt-env-conf-test] ]
1992.37 s
[opt-env-conf-test] ]
1992.37 s
[opt-env-conf-test] LintErrorNoCommands ->
1992.37 s
[opt-env-conf-test] [ [ functionChunk "commands",
1992.37 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1992.37 s
[opt-env-conf-test] @@ -198,10 +198,7 @@
1992.37 s
[opt-env-conf-test] ]
1992.37 s
[opt-env-conf-test] ]
1992.37 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1992.37 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1992.37 s
[opt-env-conf-test] - " was called with an unknown command: ",
1992.37 s
[opt-env-conf-test] - commandChunk c
1992.37 s
[opt-env-conf-test] ]
1992.38 s
[opt-env-conf-test] ]
1992.38 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1992.38 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1992.38 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1992.38 s
[opt-env-conf-test] @@ -175,13 +175,12 @@
1992.38 s
[opt-env-conf-test] ]
1992.38 s
[opt-env-conf-test] ]
1992.38 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1992.38 s
[opt-env-conf-test] [ [ functionChunk "env",
1992.38 s
[opt-env-conf-test] " or ",
1992.38 s
[opt-env-conf-test] functionChunk "name",
1992.38 s
[opt-env-conf-test] " has no ",
1992.38 s
[opt-env-conf-test] functionChunk "reader",
1992.38 s
[opt-env-conf-test] - "."
1997.49 s
[opt-env-conf-test] ]
1997.49 s
[opt-env-conf-test] ]
1997.49 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1997.52 s
[opt-env-conf-test] [ [ functionChunk "env",
1997.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1997.52 s
[opt-env-conf-test] @@ -164,15 +164,14 @@
1997.52 s
[opt-env-conf-test] ]
1997.52 s
[opt-env-conf-test] ]
1997.52 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1997.52 s
[opt-env-conf-test] [ [ functionChunk "long",
1997.52 s
[opt-env-conf-test] " or ",
1997.52 s
[opt-env-conf-test] functionChunk "short",
1997.52 s
[opt-env-conf-test] " has no ",
1997.52 s
[opt-env-conf-test] functionChunk "option",
1997.52 s
[opt-env-conf-test] " or ",
1997.52 s
[opt-env-conf-test] functionChunk "switch",
1997.52 s
[opt-env-conf-test] - "."
1997.52 s
[opt-env-conf-test] ]
1997.52 s
[opt-env-conf-test] ]
1997.52 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1997.52 s
[opt-env-conf-test] [ [ functionChunk "env",
1997.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1997.52 s
[opt-env-conf-test] @@ -128,13 +128,12 @@
1997.52 s
[opt-env-conf-test] ]
1997.52 s
[opt-env-conf-test] ]
1997.52 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1997.52 s
[opt-env-conf-test] - [ [ functionChunk "option",
1997.53 s
[opt-env-conf-test] " or ",
1997.53 s
[opt-env-conf-test] functionChunk "name",
1997.53 s
[opt-env-conf-test] " has no ",
1997.53 s
[opt-env-conf-test] functionChunk "reader",
1997.53 s
[opt-env-conf-test] "."
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1997.53 s
[opt-env-conf-test] [ [ functionChunk "option",
1997.53 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1997.53 s
[opt-env-conf-test] @@ -128,13 +128,12 @@
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1997.53 s
[opt-env-conf-test] [ [ functionChunk "option",
1997.53 s
[opt-env-conf-test] " or ",
1997.53 s
[opt-env-conf-test] functionChunk "name",
1997.53 s
[opt-env-conf-test] " has no ",
1997.53 s
[opt-env-conf-test] functionChunk "reader",
1997.53 s
[opt-env-conf-test] - "."
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1997.53 s
[opt-env-conf-test] [ [ functionChunk "option",
1997.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1997.53 s
[opt-env-conf-test] @@ -66,168 +66,157 @@
1997.53 s
[opt-env-conf-test] renderLintError LintError {..} =
1997.53 s
[opt-env-conf-test] concat
1997.53 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1997.53 s
[opt-env-conf-test] case lintErrorMessage of
1997.53 s
[opt-env-conf-test] LintErrorUndocumented ->
1997.53 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1997.53 s
[opt-env-conf-test] LintErrorEmptySetting ->
1997.53 s
[opt-env-conf-test] concat
1997.53 s
[opt-env-conf-test] [ [ [ "This ",
1997.53 s
[opt-env-conf-test] functionChunk "setting",
1997.53 s
[opt-env-conf-test] " parses nothing."
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] ],
1997.53 s
[opt-env-conf-test] [ [ "Add an ",
1997.53 s
[opt-env-conf-test] functionChunk "argument",
1997.53 s
[opt-env-conf-test] ", ",
1997.53 s
[opt-env-conf-test] functionChunk "switch",
1997.53 s
[opt-env-conf-test] ", ",
1997.53 s
[opt-env-conf-test] functionChunk "option",
1997.53 s
[opt-env-conf-test] ", ",
1997.53 s
[opt-env-conf-test] functionChunk "env",
1997.53 s
[opt-env-conf-test] ", ",
1997.53 s
[opt-env-conf-test] functionChunk "conf",
1997.53 s
[opt-env-conf-test] ", or ",
1997.53 s
[opt-env-conf-test] functionChunk "value",
1997.53 s
[opt-env-conf-test] "."
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] LintErrorDashInShort ->
1997.53 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1997.53 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] LintErrorDashInLong s ->
1997.53 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1997.53 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1997.53 s
[opt-env-conf-test] [ "Try ",
1997.53 s
[opt-env-conf-test] functionChunk "long",
1997.53 s
[opt-env-conf-test] " ",
1997.53 s
[opt-env-conf-test] chunk $
1997.53 s
[opt-env-conf-test] T.pack $
1997.53 s
[opt-env-conf-test] show $
1997.53 s
[opt-env-conf-test] let go = \case
1997.53 s
[opt-env-conf-test] [] -> []
1997.53 s
[opt-env-conf-test] '-' : cs -> go cs
1997.53 s
[opt-env-conf-test] c : cs -> c : cs
1997.53 s
[opt-env-conf-test] in go $ NE.toList s,
1997.53 s
[opt-env-conf-test] " instead."
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1997.53 s
[opt-env-conf-test] [ [ functionChunk "argument",
1997.53 s
[opt-env-conf-test] " has no ",
1997.53 s
[opt-env-conf-test] functionChunk "reader",
1997.53 s
[opt-env-conf-test] "."
1997.53 s
[opt-env-conf-test] ]
1997.53 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1997.54 s
[opt-env-conf-test] [ [ functionChunk "argument",
1997.54 s
[opt-env-conf-test] " has no ",
1997.54 s
[opt-env-conf-test] functionChunk "metavar",
1997.54 s
[opt-env-conf-test] "."
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1997.54 s
[opt-env-conf-test] [ [ functionChunk "option",
1997.54 s
[opt-env-conf-test] " or ",
1997.54 s
[opt-env-conf-test] functionChunk "name",
1997.54 s
[opt-env-conf-test] " has no ",
1997.54 s
[opt-env-conf-test] functionChunk "reader",
1997.54 s
[opt-env-conf-test] "."
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1997.54 s
[opt-env-conf-test] [ [ functionChunk "option",
1997.54 s
[opt-env-conf-test] " has no ",
1997.54 s
[opt-env-conf-test] functionChunk "long",
1997.54 s
[opt-env-conf-test] " or ",
1997.54 s
[opt-env-conf-test] functionChunk "short",
1997.54 s
[opt-env-conf-test] "."
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1997.54 s
[opt-env-conf-test] [ [ functionChunk "option",
1997.54 s
[opt-env-conf-test] " or ",
1997.54 s
[opt-env-conf-test] functionChunk "name",
1997.54 s
[opt-env-conf-test] " has no ",
1997.54 s
[opt-env-conf-test] functionChunk "metavar",
1997.54 s
[opt-env-conf-test] "."
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1997.54 s
[opt-env-conf-test] [ [ functionChunk "switch",
1997.54 s
[opt-env-conf-test] " has no ",
1997.54 s
[opt-env-conf-test] functionChunk "long",
1997.54 s
[opt-env-conf-test] " or ",
1997.54 s
[opt-env-conf-test] functionChunk "short",
1997.54 s
[opt-env-conf-test] "."
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
1997.54 s
[opt-env-conf-test] - [ [ functionChunk "long",
1997.54 s
[opt-env-conf-test] - " or ",
1997.54 s
[opt-env-conf-test] - functionChunk "short",
1997.54 s
[opt-env-conf-test] - " has no ",
1997.54 s
[opt-env-conf-test] - functionChunk "option",
1997.54 s
[opt-env-conf-test] - " or ",
1997.54 s
[opt-env-conf-test] - functionChunk "switch",
1997.54 s
[opt-env-conf-test] - "."
1997.54 s
[opt-env-conf-test] - ]
1997.54 s
[opt-env-conf-test] - ]
1997.54 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1997.54 s
[opt-env-conf-test] [ [ functionChunk "env",
1997.54 s
[opt-env-conf-test] " or ",
1997.54 s
[opt-env-conf-test] functionChunk "name",
1997.54 s
[opt-env-conf-test] " has no ",
1997.54 s
[opt-env-conf-test] functionChunk "reader",
1997.54 s
[opt-env-conf-test] "."
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1997.54 s
[opt-env-conf-test] [ [ functionChunk "env",
1997.54 s
[opt-env-conf-test] " or ",
1997.54 s
[opt-env-conf-test] functionChunk "name",
1997.54 s
[opt-env-conf-test] " has no ",
1997.54 s
[opt-env-conf-test] functionChunk "metavar",
1997.54 s
[opt-env-conf-test] "."
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] ]
1997.54 s
[opt-env-conf-test] LintErrorNoCommands ->
2003.03 s
[opt-env-conf-test] [ [ functionChunk "commands",
2003.06 s
[opt-env-conf-test] " was called with an empty list."
2003.06 s
[opt-env-conf-test] ]
2003.06 s
[opt-env-conf-test] ]
2003.06 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
2003.06 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
2003.06 s
[opt-env-conf-test] " was called with an unknown command: ",
2003.06 s
[opt-env-conf-test] commandChunk c
2003.06 s
[opt-env-conf-test] ]
2003.06 s
[opt-env-conf-test] ]
2003.06 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
2003.06 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
2003.06 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
2003.06 s
[opt-env-conf-test] ]
2003.06 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
2003.06 s
[opt-env-conf-test] [ [ functionChunk "conf",
2003.06 s
[opt-env-conf-test] " or ",
2003.06 s
[opt-env-conf-test] functionChunk "name",
2003.06 s
[opt-env-conf-test] " was called with no way to load configuration."
2003.06 s
[opt-env-conf-test] ],
2003.06 s
[opt-env-conf-test] [ "You can load configuration with ",
2003.06 s
[opt-env-conf-test] functionChunk "withConfig",
2003.06 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
2003.06 s
[opt-env-conf-test] functionChunk "withoutConfig",
2003.06 s
[opt-env-conf-test] "."
2003.07 s
[opt-env-conf-test] ]
2003.07 s
[opt-env-conf-test] ]
2003.07 s
[opt-env-conf-test] LintErrorManyInfinite ->
2003.07 s
[opt-env-conf-test] [ [ functionChunk "many",
2003.07 s
[opt-env-conf-test] " or ",
2003.07 s
[opt-env-conf-test] functionChunk "some",
2003.07 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
2003.07 s
[opt-env-conf-test] ],
2003.07 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
2003.07 s
[opt-env-conf-test] ],
2003.07 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
2003.07 s
[opt-env-conf-test] ]
2003.07 s
[opt-env-conf-test]
2003.07 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
2003.07 s
[opt-env-conf-test] @@ -193,9 +193,7 @@
2003.07 s
[opt-env-conf-test] ]
2003.07 s
[opt-env-conf-test] ]
2003.07 s
[opt-env-conf-test] LintErrorNoCommands ->
2003.07 s
[opt-env-conf-test] - [ [ functionChunk "commands",
2003.07 s
[opt-env-conf-test] - " was called with an empty list."
2003.07 s
[opt-env-conf-test] ]
2003.07 s
[opt-env-conf-test] ]
2003.07 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
2003.07 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
2003.07 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
2003.07 s
[opt-env-conf-test] @@ -128,13 +128,7 @@
2003.07 s
[opt-env-conf-test] ]
2003.07 s
[opt-env-conf-test] ]
2003.07 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
2003.07 s
[opt-env-conf-test] - [ [ functionChunk "option",
2003.07 s
[opt-env-conf-test] - " or ",
2003.07 s
[opt-env-conf-test] - functionChunk "name",
2003.07 s
[opt-env-conf-test] - " has no ",
2003.07 s
[opt-env-conf-test] - functionChunk "reader",
2003.07 s
[opt-env-conf-test] - "."
2003.07 s
[opt-env-conf-test] ]
2003.07 s
[opt-env-conf-test] ]
2003.07 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
2003.07 s
[opt-env-conf-test] [ [ functionChunk "option",
2003.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
2003.08 s
[opt-env-conf-test] @@ -121,11 +121,7 @@
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
2003.08 s
[opt-env-conf-test] - [ [ functionChunk "argument",
2003.08 s
[opt-env-conf-test] - " has no ",
2003.08 s
[opt-env-conf-test] - functionChunk "metavar",
2003.08 s
[opt-env-conf-test] - "."
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
2003.08 s
[opt-env-conf-test] [ [ functionChunk "option",
2003.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
2003.08 s
[opt-env-conf-test] @@ -121,11 +121,10 @@
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
2003.08 s
[opt-env-conf-test] [ [ functionChunk "argument",
2003.08 s
[opt-env-conf-test] " has no ",
2003.08 s
[opt-env-conf-test] functionChunk "metavar",
2003.08 s
[opt-env-conf-test] - "."
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
2003.08 s
[opt-env-conf-test] [ [ functionChunk "option",
2003.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
2003.08 s
[opt-env-conf-test] @@ -175,13 +175,7 @@
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
2003.08 s
[opt-env-conf-test] - [ [ functionChunk "env",
2003.08 s
[opt-env-conf-test] - " or ",
2003.08 s
[opt-env-conf-test] - functionChunk "name",
2003.08 s
[opt-env-conf-test] - " has no ",
2003.08 s
[opt-env-conf-test] - functionChunk "reader",
2003.08 s
[opt-env-conf-test] - "."
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] ]
2003.08 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
2003.08 s
[opt-env-conf-test] [ [ functionChunk "env",
2003.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
2003.08 s
[opt-env-conf-test] @@ -121,11 +121,10 @@
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
2003.09 s
[opt-env-conf-test] - [ [ functionChunk "argument",
2003.09 s
[opt-env-conf-test] " has no ",
2003.09 s
[opt-env-conf-test] functionChunk "metavar",
2003.09 s
[opt-env-conf-test] "."
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
2003.09 s
[opt-env-conf-test] [ [ functionChunk "option",
2003.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
2003.09 s
[opt-env-conf-test] @@ -184,13 +184,7 @@
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
2003.09 s
[opt-env-conf-test] - [ [ functionChunk "env",
2003.09 s
[opt-env-conf-test] - " or ",
2003.09 s
[opt-env-conf-test] - functionChunk "name",
2003.09 s
[opt-env-conf-test] - " has no ",
2003.09 s
[opt-env-conf-test] - functionChunk "metavar",
2003.09 s
[opt-env-conf-test] - "."
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] LintErrorNoCommands ->
2003.09 s
[opt-env-conf-test] [ [ functionChunk "commands",
2003.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
2003.09 s
[opt-env-conf-test] @@ -184,13 +184,12 @@
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
2003.09 s
[opt-env-conf-test] - [ [ functionChunk "env",
2003.09 s
[opt-env-conf-test] " or ",
2003.09 s
[opt-env-conf-test] functionChunk "name",
2003.09 s
[opt-env-conf-test] " has no ",
2003.09 s
[opt-env-conf-test] functionChunk "metavar",
2003.09 s
[opt-env-conf-test] "."
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] LintErrorNoCommands ->
2003.09 s
[opt-env-conf-test] [ [ functionChunk "commands",
2003.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
2003.09 s
[opt-env-conf-test] @@ -193,9 +193,8 @@
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] LintErrorNoCommands ->
2003.09 s
[opt-env-conf-test] - [ [ functionChunk "commands",
2003.09 s
[opt-env-conf-test] " was called with an empty list."
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
2003.09 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
2003.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
2003.09 s
[opt-env-conf-test] @@ -198,10 +198,9 @@
2003.09 s
[opt-env-conf-test] ]
2003.09 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
2003.10 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
2003.10 s
[opt-env-conf-test] " was called with an unknown command: ",
2003.10 s
[opt-env-conf-test] commandChunk c
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
2003.10 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
2003.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
2003.10 s
[opt-env-conf-test] @@ -175,13 +175,12 @@
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
2003.10 s
[opt-env-conf-test] - [ [ functionChunk "env",
2003.10 s
[opt-env-conf-test] " or ",
2003.10 s
[opt-env-conf-test] functionChunk "name",
2003.10 s
[opt-env-conf-test] " has no ",
2003.10 s
[opt-env-conf-test] functionChunk "reader",
2003.10 s
[opt-env-conf-test] "."
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
2003.10 s
[opt-env-conf-test] [ [ functionChunk "env",
2003.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
2003.10 s
[opt-env-conf-test] @@ -146,13 +146,12 @@
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
2003.10 s
[opt-env-conf-test] - [ [ functionChunk "option",
2003.10 s
[opt-env-conf-test] " or ",
2003.10 s
[opt-env-conf-test] functionChunk "name",
2003.10 s
[opt-env-conf-test] " has no ",
2003.10 s
[opt-env-conf-test] functionChunk "metavar",
2003.10 s
[opt-env-conf-test] "."
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
2003.10 s
[opt-env-conf-test] [ [ functionChunk "switch",
2003.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
2003.10 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] LintErrorDashInLong s ->
2003.10 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
2003.10 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
2003.10 s
[opt-env-conf-test] [ "Try ",
2003.10 s
[opt-env-conf-test] functionChunk "long",
2003.10 s
[opt-env-conf-test] " ",
2003.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
2003.10 s
[opt-env-conf-test] @@ -164,15 +164,14 @@
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] ]
2003.10 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
2003.10 s
[opt-env-conf-test] - [ [ functionChunk "long",
2003.10 s
[opt-env-conf-test] " or ",
2003.10 s
[opt-env-conf-test] functionChunk "short",
2003.10 s
[opt-env-conf-test] " has no ",
2003.11 s
[opt-env-conf-test] functionChunk "option",
2003.11 s
[opt-env-conf-test] " or ",
2003.11 s
[opt-env-conf-test] functionChunk "switch",
2003.11 s
[opt-env-conf-test] "."
2003.11 s
[opt-env-conf-test] ]
2003.11 s
[opt-env-conf-test] ]
2003.11 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
2003.11 s
[opt-env-conf-test] [ [ functionChunk "env",
2003.11 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
2003.11 s
[opt-env-conf-test] @@ -164,15 +164,7 @@
2003.11 s
[opt-env-conf-test] ]
2003.11 s
[opt-env-conf-test] ]
2003.11 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
2003.11 s
[opt-env-conf-test] - [ [ functionChunk "long",
2003.11 s
[opt-env-conf-test] - " or ",
2003.11 s
[opt-env-conf-test] - functionChunk "short",
2003.11 s
[opt-env-conf-test] - " has no ",
2003.11 s
[opt-env-conf-test] - functionChunk "option",
2003.11 s
[opt-env-conf-test] - " or ",
2003.11 s
[opt-env-conf-test] - functionChunk "switch",
2003.11 s
[opt-env-conf-test] - "."
2003.11 s
[opt-env-conf-test] ]
2003.11 s
[opt-env-conf-test] ]
2014.20 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
2014.22 s
[opt-env-conf-test] [ [ functionChunk "env",
2014.22 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:244:15-16
2014.23 s
[opt-env-conf-test] @@ -241,7 +241,7 @@
2014.23 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
2014.23 s
[opt-env-conf-test] -- Find the index after the last "../" component
2014.23 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
2014.23 s
[opt-env-conf-test] - [] -> 0
2014.23 s
[opt-env-conf-test] + [] -> 1
2014.23 s
[opt-env-conf-test] ixs -> maximum ixs
2014.23 s
[opt-env-conf-test] in if lastDotDotIdx == 0
2014.23 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
2014.23 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:243:28-76
2014.23 s
[opt-env-conf-test] @@ -240,7 +240,6 @@
2014.23 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
2014.23 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
2014.23 s
[opt-env-conf-test] -- Find the index after the last "../" component
2014.23 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
2014.23 s
[opt-env-conf-test] [] -> 0
2014.23 s
[opt-env-conf-test] ixs -> maximum ixs
2014.23 s
[opt-env-conf-test] in if lastDotDotIdx == 0
2014.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:54-78
2014.23 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
2014.23 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
2014.23 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
2014.23 s
[opt-env-conf-test] trailingSlash
2014.23 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
2014.23 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, n o t ( not (null remainderComponents) ) = "/"
2014.23 s
[opt-env-conf-test] | otherwise = ""
2014.23 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
2014.23 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
2014.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:19-47
2014.23 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
2014.23 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
2014.23 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
2014.24 s
[opt-env-conf-test] trailingSlash
2014.24 s
[opt-env-conf-test] - | " /" `i sSuffix Of ` a fte r C u r Di r , not (null remainderComponents) = "/"
2014.24 s
[opt-env-conf-test] + | T r u e , not (null remainderComponents) = "/"
2014.24 s
[opt-env-conf-test] | otherwise = ""
2014.24 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
2014.24 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
2014.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
2014.24 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
2014.24 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
2014.24 s
[opt-env-conf-test] [] -> 0
2014.24 s
[opt-env-conf-test] ixs -> maximum ixs
2014.24 s
[opt-env-conf-test] - in if l a s tD o t Do tIdx == 0
2014.24 s
[opt-env-conf-test] + in if F a l s e
2014.24 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
2014.24 s
[opt-env-conf-test] else
2014.24 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
2014.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
2014.24 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
2014.24 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
2014.24 s
[opt-env-conf-test] [] -> 0
2014.24 s
[opt-env-conf-test] ixs -> maximum ixs
2014.24 s
[opt-env-conf-test] - in if l a stD otDot Idx = = 0
2014.24 s
[opt-env-conf-test] + in if Tru e
2014.24 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
2014.24 s
[opt-env-conf-test] else
2014.24 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
2014.24 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:246:27-28
2014.24 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
2014.24 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
2014.24 s
[opt-env-conf-test] [] -> 0
2014.24 s
[opt-env-conf-test] ixs -> maximum ixs
2014.25 s
[opt-env-conf-test] - in if lastDotDotIdx == 0
2014.25 s
[opt-env-conf-test] + in if lastDotDotIdx == 1
2014.25 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
2014.25 s
[opt-env-conf-test] else
2014.25 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
2014.25 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
2014.25 s
[opt-env-conf-test] @@ -240,9 +240,8 @@
2014.25 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
2014.25 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
2014.25 s
[opt-env-conf-test] -- Find the index after the last "../" component
2014.25 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
2014.25 s
[opt-env-conf-test] - [] -> 0
2014.25 s
[opt-env-conf-test] ixs -> maximum ixs
2014.25 s
[opt-env-conf-test] in if lastDotDotIdx == 0
2014.25 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
2014.25 s
[opt-env-conf-test] else
2014.25 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:243:66-75
2014.25 s
[opt-env-conf-test] @@ -240,7 +240,7 @@
2014.25 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
2014.25 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
2014.25 s
[opt-env-conf-test] -- Find the index after the last "../" component
2014.25 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".." ] of
2014.25 s
[opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, n o t ( c == ".." ) ] of
2014.25 s
[opt-env-conf-test] [] -> 0
2014.25 s
[opt-env-conf-test] ixs -> maximum ixs
2014.25 s
[opt-env-conf-test] in if lastDotDotIdx == 0
2014.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
2014.25 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
2014.25 s
[opt-env-conf-test] }
2014.25 s
[opt-env-conf-test]
2014.25 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
2014.25 s
[opt-env-conf-test] - hiddenRel p = case toFilePath p of
2014.25 s
[opt-env-conf-test] + hiddenRel p = T ru e = case toFilePath p of
2014.25 s
[opt-env-conf-test] ('.' : _) -> True
2014.25 s
[opt-env-conf-test] _ -> False
2014.25 s
[opt-env-conf-test]
2014.26 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
2014.26 s
[opt-env-conf-test] stripCurDir = \case
2014.26 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:53-79
2014.26 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
2014.26 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
2014.26 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
2014.26 s
[opt-env-conf-test] trailingSlash
2014.26 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not ( n ul l r emaind e r C omp on e n ts ) = "/"
2014.26 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not T r u e = "/"
2014.26 s
[opt-env-conf-test] | otherwise = ""
2014.26 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
2014.26 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
2014.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
2014.26 s
[opt-env-conf-test] @@ -211,9 +211,8 @@
2014.26 s
[opt-env-conf-test] }
2014.26 s
[opt-env-conf-test]
2014.26 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
2014.26 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
2014.26 s
[opt-env-conf-test] ('.' : _) -> True
2014.26 s
[opt-env-conf-test] - _ -> False
2014.26 s
[opt-env-conf-test]
2014.26 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
2014.26 s
[opt-env-conf-test] stripCurDir = \case
2014.26 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:216:8-13
2014.26 s
[opt-env-conf-test] @@ -213,7 +213,7 @@
2014.26 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
2014.26 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
2014.27 s
[opt-env-conf-test] ('.' : _) -> True
2014.27 s
[opt-env-conf-test] - _ -> F al s e
2014.27 s
[opt-env-conf-test] + _ -> T ru e
2014.27 s
[opt-env-conf-test]
2014.27 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
2014.27 s
[opt-env-conf-test] stripCurDir = \case
2014.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
2014.27 s
[opt-env-conf-test] @@ -262,9 +262,8 @@
2014.27 s
[opt-env-conf-test] splitOnSlash [] = []
2014.27 s
[opt-env-conf-test] splitOnSlash s =
2014.27 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
2014.27 s
[opt-env-conf-test] in case rest of
2014.27 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
2014.27 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
2014.27 s
[opt-env-conf-test]
2014.27 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
2014.27 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
2014.27 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:243:66-75
2014.27 s
[opt-env-conf-test] @@ -240,7 +240,7 @@
2014.27 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
2014.27 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
2014.27 s
[opt-env-conf-test] -- Find the index after the last "../" component
2014.27 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c = = " .. " ] of
2014.27 s
[opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, T r ue ] of
2014.27 s
[opt-env-conf-test] [] -> 0
2014.27 s
[opt-env-conf-test] ixs -> maximum ixs
2014.27 s
[opt-env-conf-test] in if lastDotDotIdx == 0
2014.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
2014.27 s
[opt-env-conf-test] @@ -240,9 +240,8 @@
2014.27 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
2014.27 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
2017.47 s
[opt-env-conf-test] -- Find the index after the last "../" component
2017.47 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
2017.47 s
[opt-env-conf-test] [] -> 0
2017.47 s
[opt-env-conf-test] - ixs -> maximum ixs
2017.47 s
[opt-env-conf-test] in if lastDotDotIdx == 0
2017.48 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
2017.48 s
[opt-env-conf-test] else
2017.48 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:214:15-13
2017.48 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
2017.48 s
[opt-env-conf-test] }
2017.48 s
[opt-env-conf-test]
2017.48 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
2017.48 s
[opt-env-conf-test] - hiddenRel p = case toFilePath p of
2017.48 s
[opt-env-conf-test] + hiddenRel p = n o t ( case toFilePath p of
2017.48 s
[opt-env-conf-test] ('.' : _) -> True
2017.48 s
[opt-env-conf-test] - _ -> False
2017.48 s
[opt-env-conf-test] + _ -> False )
2017.48 s
[opt-env-conf-test]
2017.48 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
2017.48 s
[opt-env-conf-test] stripCurDir = \case
2017.48 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
2017.48 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
2017.48 s
[opt-env-conf-test] }
2017.48 s
[opt-env-conf-test]
2017.48 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
2017.48 s
[opt-env-conf-test] - hiddenRel p = case toFilePath p of
2017.48 s
[opt-env-conf-test] + hiddenRel p = F a ls e= case toFilePath p of
2017.48 s
[opt-env-conf-test] ('.' : _) -> True
2017.48 s
[opt-env-conf-test] _ -> False
2017.48 s
[opt-env-conf-test]
2017.48 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
2017.48 s
[opt-env-conf-test] stripCurDir = \case
2017.48 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
2017.48 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
2017.48 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
2017.48 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2017.48 s
[opt-env-conf-test] Just (Rel rf) ->
2017.48 s
[opt-env-conf-test] - if fp == "."
2017.48 s
[opt-env-conf-test] + if T r ue
2017.48 s
[opt-env-conf-test] then do
2017.48 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2017.49 s
[opt-env-conf-test] pure (map fromRelDir ds)
2017.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
2017.49 s
[opt-env-conf-test] @@ -154,19 +154,15 @@
2017.49 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
2017.49 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
2017.49 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2017.49 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
2017.49 s
[opt-env-conf-test] Nothing -> case fp of
2017.49 s
[opt-env-conf-test] [] -> do
2017.49 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2017.49 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
2017.49 s
[opt-env-conf-test] _ -> pure []
2017.49 s
[opt-env-conf-test] Just (Abs ad) -> do
2017.49 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2017.49 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
2017.49 s
[opt-env-conf-test] - Just (Rel rd) -> do
2017.49 s
[opt-env-conf-test] - let ad = baseDir </> rd
2017.49 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
2017.49 s
[opt-env-conf-test] - pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2017.49 s
[opt-env-conf-test]
2017.49 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2017.49 s
[opt-env-conf-test] Nothing -> pure []
2017.49 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:175:31-53
2017.49 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
2017.49 s
[opt-env-conf-test] Nothing -> pure []
2017.49 s
[opt-env-conf-test] Just (Abs af) -> do
2017.49 s
[opt-env-conf-test] let dir = parent af
2017.49 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
2017.49 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel (dirname af) ) then id else filter (not . hiddenRel)
2017.49 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
2017.49 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2017.49 s
[opt-env-conf-test] Just (Rel rf) ->
2017.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
2017.49 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
2017.49 s
[opt-env-conf-test] Nothing -> pure []
2017.49 s
[opt-env-conf-test] Just (Abs af) -> do
2017.49 s
[opt-env-conf-test] let dir = parent af
2017.49 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)
2017.49 s
[opt-env-conf-test] + let filterHidden = if F a l s e then id else filter (not . hiddenRel)
2017.49 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
2017.49 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2017.49 s
[opt-env-conf-test] Just (Rel rf) ->
2017.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
2017.49 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
2017.49 s
[opt-env-conf-test] Nothing -> pure []
2017.49 s
[opt-env-conf-test] Just (Abs af) -> do
2017.49 s
[opt-env-conf-test] let dir = parent af
2017.49 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)
2017.49 s
[opt-env-conf-test] + let filterHidden = if T r u e then id else filter (not . hiddenRel)
2017.49 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
2017.49 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2017.49 s
[opt-env-conf-test] Just (Rel rf) ->
2017.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
2017.49 s
[opt-env-conf-test] @@ -155,11 +155,10 @@
2017.49 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
2017.49 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2017.49 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
2017.49 s
[opt-env-conf-test] Nothing -> case fp of
2017.49 s
[opt-env-conf-test] [] -> do
2017.49 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2017.49 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
2017.49 s
[opt-env-conf-test] - _ -> pure []
2017.49 s
[opt-env-conf-test] Just (Abs ad) -> do
2017.49 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2017.49 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
2017.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
2017.49 s
[opt-env-conf-test] @@ -154,19 +154,16 @@
2017.49 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
2017.49 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
2017.50 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2017.50 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
2017.50 s
[opt-env-conf-test] Nothing -> case fp of
2017.50 s
[opt-env-conf-test] [] -> do
2017.50 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2017.50 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
2017.50 s
[opt-env-conf-test] _ -> pure []
2017.50 s
[opt-env-conf-test] - Just (Abs ad) -> do
2017.50 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
2017.50 s
[opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
2017.50 s
[opt-env-conf-test] Just (Rel rd) -> do
2017.50 s
[opt-env-conf-test] let ad = baseDir </> rd
2017.50 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2017.50 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2017.50 s
[opt-env-conf-test]
2017.50 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2017.50 s
[opt-env-conf-test] Nothing -> pure []
2017.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
2017.50 s
[opt-env-conf-test] @@ -155,11 +155,8 @@
2017.50 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
2017.50 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2017.50 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
2017.50 s
[opt-env-conf-test] Nothing -> case fp of
2017.50 s
[opt-env-conf-test] - [] -> do
2017.50 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
2017.50 s
[opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
2017.50 s
[opt-env-conf-test] _ -> pure []
2017.50 s
[opt-env-conf-test] Just (Abs ad) -> do
2017.50 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2017.50 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
2017.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
2017.50 s
[opt-env-conf-test] @@ -154,19 +154,14 @@
2017.50 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
2017.50 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
2017.50 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2017.50 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
2017.50 s
[opt-env-conf-test] - Nothing -> case fp of
2017.50 s
[opt-env-conf-test] - [] -> do
2017.50 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
2017.50 s
[opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
2017.50 s
[opt-env-conf-test] - _ -> pure []
2017.50 s
[opt-env-conf-test] Just (Abs ad) -> do
2017.50 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2017.50 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
2017.50 s
[opt-env-conf-test] Just (Rel rd) -> do
2017.50 s
[opt-env-conf-test] let ad = baseDir </> rd
2017.50 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2017.50 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2017.50 s
[opt-env-conf-test]
2017.50 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2017.50 s
[opt-env-conf-test] Nothing -> pure []
2017.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
2017.50 s
[opt-env-conf-test] @@ -211,9 +211,8 @@
2017.50 s
[opt-env-conf-test] }
2017.50 s
[opt-env-conf-test]
2017.50 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
2017.50 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
2017.50 s
[opt-env-conf-test] - ('.' : _) -> True
2017.50 s
[opt-env-conf-test] _ -> False
2017.50 s
[opt-env-conf-test]
2017.50 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
2017.50 s
[opt-env-conf-test] stripCurDir = \case
2017.50 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:53-79
2017.50 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
2017.50 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
2022.06 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
2022.14 s
[opt-env-conf-test] trailingSlash
2022.14 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not ( null remainderComponents) = "/"
2022.14 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, n o t not ( ( null remainderComponents) ) = "/"
2022.14 s
[opt-env-conf-test] | otherwise = ""
2022.14 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
2022.14 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
2022.14 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:215:16-20
2022.14 s
[opt-env-conf-test] @@ -212,7 +212,7 @@
2022.14 s
[opt-env-conf-test]
2022.14 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
2022.14 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
2022.14 s
[opt-env-conf-test] - ('.' : _) -> Tr u e
2022.14 s
[opt-env-conf-test] + ('.' : _) -> F a ls e
2022.14 s
[opt-env-conf-test] _ -> False
2022.14 s
[opt-env-conf-test]
2022.14 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
2022.14 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:49-79
2022.14 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
2022.14 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
2022.14 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
2022.15 s
[opt-env-conf-test] trailingSlash
2022.15 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
2022.15 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, n o t ( not (null remainderComponents) ) = "/"
2022.15 s
[opt-env-conf-test] | otherwise = ""
2022.15 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
2022.15 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
2022.15 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
2022.15 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
2022.15 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
2022.15 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2022.15 s
[opt-env-conf-test] Just (Rel rf) ->
2022.15 s
[opt-env-conf-test] - i f f p = = " . "
2022.15 s
[opt-env-conf-test] + i f Fals e
2022.15 s
[opt-env-conf-test] then do
2022.15 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2022.15 s
[opt-env-conf-test] pure (map fromRelDir ds)
2022.15 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:186:35-47
2022.15 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2022.15 s
[opt-env-conf-test] else do
2022.15 s
[opt-env-conf-test] let dir = parent rf
2022.15 s
[opt-env-conf-test] let ad = baseDir </> dir
2022.15 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2022.15 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
2022.15 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2022.15 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2022.15 s
[opt-env-conf-test]
2022.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
2022.15 s
[opt-env-conf-test] @@ -168,24 +168,19 @@
2022.15 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2022.15 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2022.15 s
[opt-env-conf-test]
2022.15 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2022.15 s
[opt-env-conf-test] Nothing -> pure []
2022.15 s
[opt-env-conf-test] - Just (Abs af) -> do
2022.16 s
[opt-env-conf-test] - let dir = parent af
2022.16 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
2022.16 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving dir
2022.16 s
[opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2022.16 s
[opt-env-conf-test] Just (Rel rf) ->
2022.16 s
[opt-env-conf-test] if fp == "."
2022.16 s
[opt-env-conf-test] then do
2022.16 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2022.16 s
[opt-env-conf-test] pure (map fromRelDir ds)
2022.16 s
[opt-env-conf-test] else do
2022.16 s
[opt-env-conf-test] let dir = parent rf
2022.16 s
[opt-env-conf-test] let ad = baseDir </> dir
2022.16 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2022.16 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2022.16 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2022.16 s
[opt-env-conf-test]
2022.16 s
[opt-env-conf-test] pure $
2022.16 s
[opt-env-conf-test] concat
2022.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
2022.16 s
[opt-env-conf-test] @@ -168,24 +168,13 @@
2022.16 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2022.16 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2022.16 s
[opt-env-conf-test]
2022.16 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2022.16 s
[opt-env-conf-test] Nothing -> pure []
2022.16 s
[opt-env-conf-test] Just (Abs af) -> do
2022.16 s
[opt-env-conf-test] let dir = parent af
2022.16 s
[opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
2022.16 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
2022.16 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2022.16 s
[opt-env-conf-test] - Just (Rel rf) ->
2022.16 s
[opt-env-conf-test] - if fp == "."
2022.16 s
[opt-env-conf-test] - then do
2022.16 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
2022.16 s
[opt-env-conf-test] - pure (map fromRelDir ds)
2022.16 s
[opt-env-conf-test] - else do
2022.16 s
[opt-env-conf-test] - let dir = parent rf
2022.16 s
[opt-env-conf-test] - let ad = baseDir </> dir
2022.16 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2022.16 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
2022.16 s
[opt-env-conf-test] - pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2022.16 s
[opt-env-conf-test]
2022.16 s
[opt-env-conf-test] pure $
2022.16 s
[opt-env-conf-test] concat
2022.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
2022.17 s
[opt-env-conf-test] @@ -70,28 +70,20 @@
2022.17 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
2022.17 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
2022.17 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2022.17 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
2022.17 s
[opt-env-conf-test] - Nothing -> case fp of
2022.17 s
[opt-env-conf-test] - [] -> do
2022.17 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
2022.17 s
[opt-env-conf-test] - pure
2022.17 s
[opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
2022.17 s
[opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
2022.17 s
[opt-env-conf-test] - )
2022.17 s
[opt-env-conf-test] - _ -> pure ([], [])
2022.17 s
[opt-env-conf-test] Just (Abs ad) -> do
2022.17 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2022.17 s
[opt-env-conf-test] pure
2022.17 s
[opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
2022.17 s
[opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
2022.17 s
[opt-env-conf-test] )
2022.17 s
[opt-env-conf-test] Just (Rel rd) -> do
2022.17 s
[opt-env-conf-test] let ad = baseDir </> rd
2022.17 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2022.17 s
[opt-env-conf-test] pure
2022.17 s
[opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
2022.17 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
2022.17 s
[opt-env-conf-test] )
2022.17 s
[opt-env-conf-test]
2022.17 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
2022.17 s
[opt-env-conf-test] Nothing ->
2022.17 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
2022.17 s
[opt-env-conf-test] @@ -189,9 +189,8 @@
2022.17 s
[opt-env-conf-test]
2022.17 s
[opt-env-conf-test] pure $
2022.17 s
[opt-env-conf-test] concat
2022.17 s
[opt-env-conf-test] - [ dirsFromPartialListing,
2022.17 s
[opt-env-conf-test] dirsFromParentListing
2022.17 s
[opt-env-conf-test] ]
2022.17 s
[opt-env-conf-test] where
2022.17 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
2022.17 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
2022.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
2022.17 s
[opt-env-conf-test] @@ -71,14 +71,8 @@
2022.17 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
2022.17 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2022.17 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
2022.17 s
[opt-env-conf-test] Nothing -> case fp of
2022.17 s
[opt-env-conf-test] - [] -> do
2022.17 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
2022.17 s
[opt-env-conf-test] - pure
2022.17 s
[opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
2022.17 s
[opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
2022.17 s
[opt-env-conf-test] - )
2022.17 s
[opt-env-conf-test] _ -> pure ([], [])
2022.17 s
[opt-env-conf-test] Just (Abs ad) -> do
2022.18 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2022.18 s
[opt-env-conf-test] pure
2022.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
2022.18 s
[opt-env-conf-test] @@ -71,14 +71,13 @@
2022.18 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
2022.18 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2022.18 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
2022.18 s
[opt-env-conf-test] Nothing -> case fp of
2022.18 s
[opt-env-conf-test] [] -> do
2022.18 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
2022.18 s
[opt-env-conf-test] pure
2022.18 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
2022.18 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
2022.18 s
[opt-env-conf-test] )
2022.18 s
[opt-env-conf-test] - _ -> pure ([], [])
2022.18 s
[opt-env-conf-test] Just (Abs ad) -> do
2022.18 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2022.18 s
[opt-env-conf-test] pure
2022.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
2022.18 s
[opt-env-conf-test] @@ -168,24 +168,23 @@
2022.18 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2029.58 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2029.60 s
[opt-env-conf-test]
2029.60 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2029.60 s
[opt-env-conf-test] - Nothing -> pure []
2029.60 s
[opt-env-conf-test] Just (Abs af) -> do
2029.61 s
[opt-env-conf-test] let dir = parent af
2029.61 s
[opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
2029.61 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
2029.61 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2029.61 s
[opt-env-conf-test] Just (Rel rf) ->
2029.61 s
[opt-env-conf-test] if fp == "."
2029.61 s
[opt-env-conf-test] then do
2029.61 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2029.61 s
[opt-env-conf-test] pure (map fromRelDir ds)
2029.61 s
[opt-env-conf-test] else do
2029.61 s
[opt-env-conf-test] let dir = parent rf
2029.61 s
[opt-env-conf-test] let ad = baseDir </> dir
2029.61 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2029.61 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2029.61 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2029.61 s
[opt-env-conf-test]
2029.61 s
[opt-env-conf-test] pure $
2029.61 s
[opt-env-conf-test] concat
2029.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
2029.61 s
[opt-env-conf-test] @@ -189,9 +189,7 @@
2029.61 s
[opt-env-conf-test]
2029.61 s
[opt-env-conf-test] pure $
2029.61 s
[opt-env-conf-test] concat
2029.61 s
[opt-env-conf-test] - [ dirsFromPartialListing,
2029.61 s
[opt-env-conf-test] - dirsFromParentListing
2029.61 s
[opt-env-conf-test] ]
2029.61 s
[opt-env-conf-test] where
2029.61 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
2029.61 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
2029.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
2029.61 s
[opt-env-conf-test] @@ -70,28 +70,21 @@
2029.61 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
2029.61 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
2029.61 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2029.61 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
2029.61 s
[opt-env-conf-test] Nothing -> case fp of
2029.61 s
[opt-env-conf-test] [] -> do
2029.61 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
2029.62 s
[opt-env-conf-test] pure
2029.62 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
2029.62 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
2029.62 s
[opt-env-conf-test] )
2029.62 s
[opt-env-conf-test] _ -> pure ([], [])
2029.62 s
[opt-env-conf-test] Just (Abs ad) -> do
2029.62 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2029.62 s
[opt-env-conf-test] pure
2029.62 s
[opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
2029.62 s
[opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
2029.62 s
[opt-env-conf-test] )
2029.62 s
[opt-env-conf-test] - Just (Rel rd) -> do
2029.62 s
[opt-env-conf-test] - let ad = baseDir </> rd
2029.62 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
2029.62 s
[opt-env-conf-test] - pure
2029.62 s
[opt-env-conf-test] - ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
2029.62 s
[opt-env-conf-test] - map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
2029.62 s
[opt-env-conf-test] - )
2029.62 s
[opt-env-conf-test]
2029.62 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
2029.62 s
[opt-env-conf-test] Nothing ->
2029.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
2029.62 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
2029.62 s
[opt-env-conf-test]
2029.62 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
2029.62 s
[opt-env-conf-test] Nothing ->
2029.62 s
[opt-env-conf-test] - if fp == "."
2029.62 s
[opt-env-conf-test] + if T r ue
2029.62 s
[opt-env-conf-test] then do
2029.62 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
2029.62 s
[opt-env-conf-test] pure
2029.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
2029.62 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
2029.62 s
[opt-env-conf-test] else pure ([], [])
2029.62 s
[opt-env-conf-test] Just (Abs af) -> do
2029.62 s
[opt-env-conf-test] let dir = parent af
2029.62 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)
2029.62 s
[opt-env-conf-test] + let filterHidden = if F a ls e then id else filter (not . hiddenRel)
2029.62 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
2029.62 s
[opt-env-conf-test] pure
2029.62 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
2029.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
2029.62 s
[opt-env-conf-test] @@ -70,28 +70,22 @@
2029.63 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
2029.63 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
2029.63 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2029.63 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
2029.63 s
[opt-env-conf-test] Nothing -> case fp of
2029.63 s
[opt-env-conf-test] [] -> do
2029.63 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
2029.63 s
[opt-env-conf-test] pure
2029.63 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
2029.63 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
2029.63 s
[opt-env-conf-test] )
2029.63 s
[opt-env-conf-test] _ -> pure ([], [])
2029.63 s
[opt-env-conf-test] - Just (Abs ad) -> do
2029.63 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
2029.63 s
[opt-env-conf-test] - pure
2029.63 s
[opt-env-conf-test] - ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
2029.63 s
[opt-env-conf-test] - map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
2029.63 s
[opt-env-conf-test] - )
2029.63 s
[opt-env-conf-test] Just (Rel rd) -> do
2029.63 s
[opt-env-conf-test] let ad = baseDir </> rd
2029.63 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2029.63 s
[opt-env-conf-test] pure
2029.63 s
[opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
2029.63 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
2029.63 s
[opt-env-conf-test] )
2029.63 s
[opt-env-conf-test]
2029.63 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
2029.63 s
[opt-env-conf-test] Nothing ->
2029.63 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:108:31-54
2029.63 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
2029.63 s
[opt-env-conf-test] else pure ([], [])
2029.63 s
[opt-env-conf-test] Just (Abs af) -> do
2029.63 s
[opt-env-conf-test] let dir = parent af
2029.63 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
2029.63 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel (filename af) ) then id else filter (not . hiddenRel)
2029.63 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
2029.63 s
[opt-env-conf-test] pure
2029.63 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
2029.63 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:98:12-21
2029.63 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
2029.63 s
[opt-env-conf-test]
2029.63 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
2029.63 s
[opt-env-conf-test] Nothing ->
2029.63 s
[opt-env-conf-test] - if fp == "."
2029.63 s
[opt-env-conf-test] + if n o t ( fp == "." )
2029.63 s
[opt-env-conf-test] then do
2029.63 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
2029.63 s
[opt-env-conf-test] pure
2029.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
2029.64 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
2029.64 s
[opt-env-conf-test]
2029.64 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
2029.64 s
[opt-env-conf-test] Nothing ->
2029.64 s
[opt-env-conf-test] - i f f p = = " . "
2029.64 s
[opt-env-conf-test] + i f Fals e
2029.64 s
[opt-env-conf-test] then do
2029.64 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
2029.64 s
[opt-env-conf-test] pure
2029.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
2029.64 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
2029.64 s
[opt-env-conf-test] else pure ([], [])
2029.64 s
[opt-env-conf-test] Just (Abs af) -> do
2029.64 s
[opt-env-conf-test] let dir = parent af
2029.64 s
[opt-env-conf-test] - let filterHidden = if h idd e nRe l ( f ilenam e a f) then id else filter (not . hiddenRel)
2029.64 s
[opt-env-conf-test] + let filterHidden = if T ru e then id else filter (not . hiddenRel)
2029.64 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
2029.64 s
[opt-env-conf-test] pure
2029.64 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
2029.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
2029.64 s
[opt-env-conf-test] @@ -123,11 +123,10 @@
2029.64 s
[opt-env-conf-test]
2029.64 s
[opt-env-conf-test] pure $
2029.64 s
[opt-env-conf-test] concat
2029.64 s
[opt-env-conf-test] [ map fileResult filesFromPartialListing,
2029.64 s
[opt-env-conf-test] map fileResult filesFromParentListing,
2029.64 s
[opt-env-conf-test] map dirResult dirsFromPartialListing,
2029.64 s
[opt-env-conf-test] - map dirResult dirsFromParentListing
2029.64 s
[opt-env-conf-test] ]
2029.64 s
[opt-env-conf-test] where
2029.64 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
2029.64 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
2029.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
2029.64 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
2029.64 s
[opt-env-conf-test] where
2029.64 s
[opt-env-conf-test] matchesExtension cr
2029.64 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
2029.64 s
[opt-env-conf-test] - | otherwise = a n y (` isSuff ixOf` com p l e tionRe s ultVa lu e cr) exts
2029.64 s
[opt-env-conf-test] + | otherwise = F a l s e
2029.64 s
[opt-env-conf-test]
2029.64 s
[opt-env-conf-test] directoryPath :: Completer
2029.64 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
2029.64 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:145:21-69
2029.64 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
2029.64 s
[opt-env-conf-test] where
2035.19 s
[opt-env-conf-test] matchesExtension cr
2035.19 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
2035.22 s
[opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
2035.22 s
[opt-env-conf-test] + | otherwise = n o t ( any (`isSuffixOf` completionResultValue cr) exts )
2035.22 s
[opt-env-conf-test]
2035.22 s
[opt-env-conf-test] directoryPath :: Completer
2035.22 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
2035.22 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Check.hs:80:42-56
2035.22 s
[opt-env-conf-test] @@ -77,7 +77,7 @@
2035.22 s
[opt-env-conf-test] Maybe JSON.Object ->
2035.22 s
[opt-env-conf-test] IO (CheckResult a)
2035.22 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
2035.22 s
[opt-env-conf-test] - errOrSets <- runParserOn capabilities ( J us t debu g Mo d e ) p args envVars mConfig
2035.22 s
[opt-env-conf-test] + errOrSets <- runParserOn capabilities ( N o t h in g ) p args envVars mConfig
2035.22 s
[opt-env-conf-test] pure $ case errOrSets of
2035.22 s
[opt-env-conf-test] Right a -> CheckSucceeded a
2035.22 s
[opt-env-conf-test] Left errs ->
2035.22 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
2035.22 s
[opt-env-conf-test] @@ -92,6 +92,5 @@
2035.22 s
[opt-env-conf-test] _ -> Nothing
2035.22 s
[opt-env-conf-test] )
2035.22 s
[opt-env-conf-test] errs
2035.22 s
[opt-env-conf-test] in case mMissingCaps of
2035.22 s
[opt-env-conf-test] - Just ne -> CheckIncapable ne
2035.22 s
[opt-env-conf-test] Nothing -> CheckFailed errs
2035.22 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
2035.22 s
[opt-env-conf-test] @@ -78,20 +78,19 @@
2035.22 s
[opt-env-conf-test] IO (CheckResult a)
2035.22 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
2035.22 s
[opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
2035.22 s
[opt-env-conf-test] pure $ case errOrSets of
2035.22 s
[opt-env-conf-test] - Right a -> CheckSucceeded a
2035.22 s
[opt-env-conf-test] Left errs ->
2035.22 s
[opt-env-conf-test] -- If all the errors are missing capability errors, return
2035.22 s
[opt-env-conf-test] -- CheckIncapable, otherwise CheckFailed
2035.22 s
[opt-env-conf-test] let mMissingCaps =
2035.22 s
[opt-env-conf-test] -- This MUST be mapM instead of mapMaybe because we need to ensure
2035.22 s
[opt-env-conf-test] -- ALL errors are missing capability errors
2035.23 s
[opt-env-conf-test] mapM
2035.23 s
[opt-env-conf-test] ( \case
2035.23 s
[opt-env-conf-test] ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
2035.23 s
[opt-env-conf-test] _ -> Nothing
2035.23 s
[opt-env-conf-test] )
2035.23 s
[opt-env-conf-test] errs
2035.23 s
[opt-env-conf-test] in case mMissingCaps of
2035.23 s
[opt-env-conf-test] Just ne -> CheckIncapable ne
2035.23 s
[opt-env-conf-test] Nothing -> CheckFailed errs
2035.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
2035.23 s
[opt-env-conf-test] @@ -92,6 +92,5 @@
2035.23 s
[opt-env-conf-test] _ -> Nothing
2035.23 s
[opt-env-conf-test] )
2035.23 s
[opt-env-conf-test] errs
2035.23 s
[opt-env-conf-test] in case mMissingCaps of
2035.23 s
[opt-env-conf-test] Just ne -> CheckIncapable ne
2035.23 s
[opt-env-conf-test] - Nothing -> CheckFailed errs
2035.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
2035.23 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2035.23 s
[opt-env-conf-test] Just (Rel rf) -> do
2035.23 s
[opt-env-conf-test] let dir = parent rf
2035.23 s
[opt-env-conf-test] let ad = baseDir </> dir
2035.23 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
2035.23 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
2035.23 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2035.23 s
[opt-env-conf-test] pure
2035.23 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2035.23 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Check.hs:91:72-105
2035.23 s
[opt-env-conf-test] @@ -88,7 +88,7 @@
2035.23 s
[opt-env-conf-test] -- ALL errors are missing capability errors
2035.23 s
[opt-env-conf-test] mapM
2035.23 s
[opt-env-conf-test] ( \case
2035.23 s
[opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> J u s t (M is s ing Capa bility mLoc cap)
2035.23 s
[opt-env-conf-test] + ParseError mLoc (ParseErrorMissingCapability cap) -> N o t h ing
2035.23 s
[opt-env-conf-test] _ -> Nothing
2035.23 s
[opt-env-conf-test] )
2035.23 s
[opt-env-conf-test] errs
2035.23 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:418:26-32
2035.23 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
2035.23 s
[opt-env-conf-test] shortDasheds =
2035.23 s
[opt-env-conf-test] mapMaybe
2035.23 s
[opt-env-conf-test] ( \case
2035.23 s
[opt-env-conf-test] - DashedShort c -> J u s t c
2035.23 s
[opt-env-conf-test] + DashedShort c -> No t h ing
2035.23 s
[opt-env-conf-test] DashedLong _ -> Nothing
2035.23 s
[opt-env-conf-test] )
2035.23 s
[opt-env-conf-test]
2035.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
2035.23 s
[opt-env-conf-test] @@ -78,20 +78,5 @@
2035.23 s
[opt-env-conf-test] IO (CheckResult a)
2035.23 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
2035.23 s
[opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
2035.23 s
[opt-env-conf-test] pure $ case errOrSets of
2035.23 s
[opt-env-conf-test] Right a -> CheckSucceeded a
2035.23 s
[opt-env-conf-test] - Left errs ->
2035.23 s
[opt-env-conf-test] - -- If all the errors are missing capability errors, return
2035.23 s
[opt-env-conf-test] - -- CheckIncapable, otherwise CheckFailed
2035.23 s
[opt-env-conf-test] - let mMissingCaps =
2035.23 s
[opt-env-conf-test] - -- This MUST be mapM instead of mapMaybe because we need to ensure
2035.23 s
[opt-env-conf-test] - -- ALL errors are missing capability errors
2035.23 s
[opt-env-conf-test] - mapM
2035.23 s
[opt-env-conf-test] - ( \case
2035.23 s
[opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
2035.23 s
[opt-env-conf-test] - _ -> Nothing
2035.23 s
[opt-env-conf-test] - )
2035.23 s
[opt-env-conf-test] - errs
2035.23 s
[opt-env-conf-test] - in case mMissingCaps of
2035.23 s
[opt-env-conf-test] - Just ne -> CheckIncapable ne
2035.23 s
[opt-env-conf-test] - Nothing -> CheckFailed errs
2035.23 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:426:25-31
2035.23 s
[opt-env-conf-test] @@ -423,6 +423,6 @@
2035.23 s
[opt-env-conf-test] longDasheds =
2035.23 s
[opt-env-conf-test] mapMaybe
2035.23 s
[opt-env-conf-test] ( \case
2035.23 s
[opt-env-conf-test] - DashedLong l -> J u s t l
2035.23 s
[opt-env-conf-test] + DashedLong l -> No t h ing
2035.23 s
[opt-env-conf-test] DashedShort _ -> Nothing
2035.23 s
[opt-env-conf-test] )
2035.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
2035.23 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2035.23 s
[opt-env-conf-test] else do
2035.23 s
[opt-env-conf-test] let dir = parent rf
2035.23 s
[opt-env-conf-test] let ad = baseDir </> dir
2035.24 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
2035.24 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
2035.24 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2035.24 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2035.24 s
[opt-env-conf-test]
2035.24 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:44:7-71
2035.24 s
[opt-env-conf-test] @@ -41,7 +41,6 @@
2035.24 s
[opt-env-conf-test] exitSuccess
2035.24 s
[opt-env-conf-test] CheckSucceeded _ -> do
2035.24 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2035.24 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Settings parsed successfully."]
2035.24 s
[opt-env-conf-test] exitSuccess
2035.24 s
[opt-env-conf-test]
2035.24 s
[opt-env-conf-test] renderMissingCapabilities :: NonEmpty MissingCapability -> [Chunk]
2035.24 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:40:7-83
2035.24 s
[opt-env-conf-test] @@ -37,7 +37,6 @@
2035.24 s
[opt-env-conf-test] CheckIncapable missingCaps -> do
2035.24 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2035.24 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
2035.24 s
[opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderMissingCapabilities missingCaps
2035.24 s
[opt-env-conf-test] exitSuccess
2035.24 s
[opt-env-conf-test] CheckSucceeded _ -> do
2035.24 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2035.24 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:39:7-143
2035.24 s
[opt-env-conf-test] @@ -36,7 +36,6 @@
2035.24 s
[opt-env-conf-test] exitFailure
2035.24 s
[opt-env-conf-test] CheckIncapable missingCaps -> do
2035.24 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2035.24 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
2035.24 s
[opt-env-conf-test] hPutChunksLocaleWith stderrTc stderr $ renderMissingCapabilities missingCaps
2035.24 s
[opt-env-conf-test] exitSuccess
2035.24 s
[opt-env-conf-test] CheckSucceeded _ -> do
2035.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
2035.24 s
[opt-env-conf-test] @@ -403,7 +403,6 @@
2035.24 s
[opt-env-conf-test]
2035.24 s
[opt-env-conf-test] renderDashed :: Dashed -> String
2035.24 s
[opt-env-conf-test] renderDashed = \case
2035.24 s
[opt-env-conf-test] - DashedShort c -> ['-', c]
2035.24 s
[opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
2035.24 s
[opt-env-conf-test]
2035.24 s
[opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
2035.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
2035.24 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
2035.24 s
[opt-env-conf-test] where
2035.24 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
2035.24 s
[opt-env-conf-test] go (c :| rest) =
2035.24 s
[opt-env-conf-test] - if c ` e l em` cs
2035.24 s
[opt-env-conf-test] + if T ru e
2035.24 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
2035.24 s
[opt-env-conf-test] else do
2035.24 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
2044.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
2044.20 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2044.22 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
2044.22 s
[opt-env-conf-test] go (c :| rest) =
2044.22 s
[opt-env-conf-test] if c `elem` cs
2044.22 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n u ll r e s t )) <$> NE.nonEmpty rest
2044.22 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, T r u e )) <$> NE.nonEmpty rest
2044.22 s
[opt-env-conf-test] else do
2044.22 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
2044.22 s
[opt-env-conf-test] new <- go rest'
2044.22 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:352:6-12
2044.22 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
2044.22 s
[opt-env-conf-test] NonEmpty Char ->
2044.22 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
2044.22 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
2044.23 s
[opt-env-conf-test] - if isLong
2044.23 s
[opt-env-conf-test] + if n o t ( isLong )
2044.23 s
[opt-env-conf-test] then
2044.23 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
2044.23 s
[opt-env-conf-test] then Just Nothing
2044.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
2044.23 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
2044.23 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
2044.23 s
[opt-env-conf-test] if isLong
2044.23 s
[opt-env-conf-test] then
2044.23 s
[opt-env-conf-test] - if D as hedL ong cs `ele m` da s h e d s
2044.23 s
[opt-env-conf-test] + if Tr u e
2044.23 s
[opt-env-conf-test] then Just Nothing
2044.23 s
[opt-env-conf-test] else Nothing
2044.23 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
2044.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
2044.23 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
2044.23 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
2044.23 s
[opt-env-conf-test] if isLong
2044.23 s
[opt-env-conf-test] then
2044.23 s
[opt-env-conf-test] - if D a sh edL ong cs `e l em` da s h e d s
2044.23 s
[opt-env-conf-test] + if F a l s e
2044.23 s
[opt-env-conf-test] then Just Nothing
2044.23 s
[opt-env-conf-test] else Nothing
2044.23 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
2044.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:354:10-38
2044.23 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
2044.23 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
2044.23 s
[opt-env-conf-test] if isLong
2044.23 s
[opt-env-conf-test] then
2044.23 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
2044.23 s
[opt-env-conf-test] + if n o t ( DashedLong cs `elem` dasheds )
2044.23 s
[opt-env-conf-test] then Just Nothing
2044.23 s
[opt-env-conf-test] else Nothing
2044.23 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
2044.23 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:372:27-31
2044.23 s
[opt-env-conf-test] @@ -369,7 +369,7 @@
2044.23 s
[opt-env-conf-test] pure $
2044.23 s
[opt-env-conf-test] Just $
2044.23 s
[opt-env-conf-test] maybe
2044.23 s
[opt-env-conf-test] - (c :| [], Tr u e)
2044.23 s
[opt-env-conf-test] + (c :| [], F a ls e)
2044.23 s
[opt-env-conf-test] (first (c NE.<|))
2044.23 s
[opt-env-conf-test] new
2044.23 s
[opt-env-conf-test]
2044.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:365:34-43
2044.24 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2044.24 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
2044.24 s
[opt-env-conf-test] go (c :| rest) =
2044.24 s
[opt-env-conf-test] if c `elem` cs
2044.24 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
2044.24 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, n o t ( null rest)) ) <$> NE.nonEmpty rest
2044.24 s
[opt-env-conf-test] else do
2044.24 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
2044.24 s
[opt-env-conf-test] new <- go rest'
2044.24 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:355:14-26
2044.24 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2044.24 s
[opt-env-conf-test] if isLong
2044.24 s
[opt-env-conf-test] then
2044.24 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
2044.24 s
[opt-env-conf-test] - then J u s t Nothing
2044.24 s
[opt-env-conf-test] + then Nothing
2044.24 s
[opt-env-conf-test] else Nothing
2044.24 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
2044.24 s
[opt-env-conf-test]
2044.24 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
2044.24 s
[opt-env-conf-test] @@ -321,9 +321,8 @@
2044.24 s
[opt-env-conf-test] consumeSwitch dasheds as = do
2044.24 s
[opt-env-conf-test] case go (argsBefore as) of
2044.24 s
[opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
2044.24 s
[opt-env-conf-test] Nothing -> case go (argsAfter as) of
2044.24 s
[opt-env-conf-test] - Just newAfters -> Just $ as {argsAfter = newAfters}
2044.24 s
[opt-env-conf-test] Nothing -> Nothing
2044.24 s
[opt-env-conf-test] where
2044.24 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
2044.24 s
[opt-env-conf-test] go = \case
2044.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
2044.24 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
2044.24 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
2044.24 s
[opt-env-conf-test] (Live o : rest) -> case o of
2044.24 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2044.24 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds i s Lo n g cs of
2044.24 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds F a l s e cs of
2044.24 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
2044.24 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2044.24 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2044.24 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:334:65-71
2044.24 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
2044.24 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
2044.24 s
[opt-env-conf-test] (Live o : rest) -> case o of
2044.24 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2044.24 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
2044.24 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds n o t ( isLong ) cs of
2044.24 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
2044.24 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2044.24 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2044.24 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
2044.24 s
[opt-env-conf-test] @@ -321,9 +321,8 @@
2044.24 s
[opt-env-conf-test] consumeSwitch dasheds as = do
2044.25 s
[opt-env-conf-test] case go (argsBefore as) of
2044.25 s
[opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
2044.25 s
[opt-env-conf-test] Nothing -> case go (argsAfter as) of
2044.25 s
[opt-env-conf-test] Just newAfters -> Just $ as {argsAfter = newAfters}
2044.25 s
[opt-env-conf-test] - Nothing -> Nothing
2044.25 s
[opt-env-conf-test] where
2044.25 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
2044.25 s
[opt-env-conf-test] go = \case
2044.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
2044.25 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
2044.25 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
2044.25 s
[opt-env-conf-test] (Live o : rest) -> case o of
2044.25 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2044.25 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds i s L on g cs of
2044.25 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds Tru e cs of
2044.25 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
2044.25 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2044.25 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2044.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
2044.25 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
2044.25 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
2044.25 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2044.25 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2044.25 s
[opt-env-conf-test] - let rest' = if n e ed Tom b s to n e then Dead : rest else rest
2044.25 s
[opt-env-conf-test] + let rest' = if F al s e then Dead : rest else rest
2044.25 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
2044.25 s
[opt-env-conf-test] _ -> do
2044.25 s
[opt-env-conf-test] os <- go rest
2044.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
2044.25 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
2044.25 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
2044.25 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2044.25 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2044.25 s
[opt-env-conf-test] - let rest' = if n e ed T o mbs to n e then Dead : rest else rest
2044.25 s
[opt-env-conf-test] + let rest' = if T ru e then Dead : rest else rest
2044.25 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
2044.25 s
[opt-env-conf-test] _ -> do
2044.25 s
[opt-env-conf-test] os <- go rest
2044.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
2044.25 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2044.25 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2044.25 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2044.25 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
2044.25 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s L on g cs') : rest'
2044.25 s
[opt-env-conf-test] + in Just $ Live (ArgDashed Tru e cs') : rest'
2044.25 s
[opt-env-conf-test] _ -> do
2044.25 s
[opt-env-conf-test] os <- go rest
2044.25 s
[opt-env-conf-test] pure $ Live o : os
2044.25 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:338:28-41
2044.25 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
2044.25 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
2049.04 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2049.04 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2049.04 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
2049.04 s
[opt-env-conf-test] + let rest' = if n o t ( needTombstone ) then Dead : rest else rest
2049.04 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
2049.04 s
[opt-env-conf-test] _ -> do
2049.04 s
[opt-env-conf-test] os <- go rest
2049.04 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:339:40-46
2049.04 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2049.05 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2049.05 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2049.05 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
2049.05 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
2049.05 s
[opt-env-conf-test] + in Just $ Live (ArgDashed n o t ( isLong ) cs') : rest'
2049.05 s
[opt-env-conf-test] _ -> do
2049.05 s
[opt-env-conf-test] os <- go rest
2049.05 s
[opt-env-conf-test] pure $ Live o : os
2049.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
2049.05 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2049.05 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2049.05 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2049.05 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
2049.05 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s Lo n g cs') : rest'
2049.05 s
[opt-env-conf-test] + in Just $ Live (ArgDashed F a l s e cs') : rest'
2049.05 s
[opt-env-conf-test] _ -> do
2049.05 s
[opt-env-conf-test] os <- go rest
2049.05 s
[opt-env-conf-test] pure $ Live o : os
2049.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
2049.05 s
[opt-env-conf-test] @@ -331,12 +331,11 @@
2049.05 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
2049.05 s
[opt-env-conf-test] (Live o : rest) -> case o of
2049.05 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2049.05 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
2049.05 s
[opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
2049.05 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2049.05 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2049.05 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
2049.05 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
2049.05 s
[opt-env-conf-test] _ -> do
2049.05 s
[opt-env-conf-test] os <- go rest
2049.05 s
[opt-env-conf-test] pure $ Live o : os
2049.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
2049.05 s
[opt-env-conf-test] @@ -331,12 +331,11 @@
2049.05 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
2049.05 s
[opt-env-conf-test] (Live o : rest) -> case o of
2049.05 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2049.05 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
2049.06 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
2049.06 s
[opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
2049.06 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2049.06 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
2049.06 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
2049.06 s
[opt-env-conf-test] _ -> do
2049.06 s
[opt-env-conf-test] os <- go rest
2049.06 s
[opt-env-conf-test] pure $ Live o : os
2049.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
2049.06 s
[opt-env-conf-test] @@ -329,17 +329,11 @@
2049.06 s
[opt-env-conf-test] go = \case
2049.06 s
[opt-env-conf-test] [] -> Nothing
2049.06 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
2049.06 s
[opt-env-conf-test] (Live o : rest) -> case o of
2049.06 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2049.06 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
2049.06 s
[opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
2049.06 s
[opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
2049.06 s
[opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
2049.06 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
2049.06 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
2049.06 s
[opt-env-conf-test] _ -> do
2049.06 s
[opt-env-conf-test] os <- go rest
2049.06 s
[opt-env-conf-test] pure $ Live o : os
2049.06 s
[opt-env-conf-test]
2049.06 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
2049.06 s
[opt-env-conf-test] -- character because then we need a tombstone.
2049.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
2049.06 s
[opt-env-conf-test] @@ -329,17 +329,14 @@
2049.06 s
[opt-env-conf-test] go = \case
2049.06 s
[opt-env-conf-test] [] -> Nothing
2049.06 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
2049.06 s
[opt-env-conf-test] (Live o : rest) -> case o of
2049.06 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2049.06 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
2049.06 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
2049.06 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2049.06 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2049.06 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
2049.06 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
2049.06 s
[opt-env-conf-test] - _ -> do
2049.06 s
[opt-env-conf-test] - os <- go rest
2049.06 s
[opt-env-conf-test] - pure $ Live o : os
2049.06 s
[opt-env-conf-test]
2049.06 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
2049.06 s
[opt-env-conf-test] -- character because then we need a tombstone.
2049.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
2049.06 s
[opt-env-conf-test] @@ -329,17 +329,16 @@
2049.06 s
[opt-env-conf-test] go = \case
2049.06 s
[opt-env-conf-test] [] -> Nothing
2049.06 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
2049.06 s
[opt-env-conf-test] (Live o : rest) -> case o of
2049.06 s
[opt-env-conf-test] - ArgBareDoubleDash -> Nothing
2049.06 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
2049.06 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
2049.06 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2049.06 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2049.06 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
2049.06 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
2049.06 s
[opt-env-conf-test] _ -> do
2049.06 s
[opt-env-conf-test] os <- go rest
2049.06 s
[opt-env-conf-test] pure $ Live o : os
2049.06 s
[opt-env-conf-test]
2049.06 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
2049.06 s
[opt-env-conf-test] -- character because then we need a tombstone.
2049.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
2049.06 s
[opt-env-conf-test] @@ -331,12 +331,9 @@
2049.06 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
2049.06 s
[opt-env-conf-test] (Live o : rest) -> case o of
2049.06 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2049.06 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
2049.06 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
2049.06 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2049.06 s
[opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
2049.06 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
2049.07 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
2049.07 s
[opt-env-conf-test] _ -> do
2049.07 s
[opt-env-conf-test] os <- go rest
2049.07 s
[opt-env-conf-test] pure $ Live o : os
2049.07 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
2049.07 s
[opt-env-conf-test] @@ -123,11 +123,10 @@
2049.07 s
[opt-env-conf-test]
2049.07 s
[opt-env-conf-test] pure $
2049.07 s
[opt-env-conf-test] concat
2049.07 s
[opt-env-conf-test] - [ map fileResult filesFromPartialListing,
2049.07 s
[opt-env-conf-test] map fileResult filesFromParentListing,
2049.07 s
[opt-env-conf-test] map dirResult dirsFromPartialListing,
2049.07 s
[opt-env-conf-test] map dirResult dirsFromParentListing
2049.07 s
[opt-env-conf-test] ]
2049.07 s
[opt-env-conf-test] where
2049.07 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
2049.07 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
2049.07 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
2049.07 s
[opt-env-conf-test] @@ -123,11 +123,7 @@
2049.07 s
[opt-env-conf-test]
2049.07 s
[opt-env-conf-test] pure $
2049.07 s
[opt-env-conf-test] concat
2049.07 s
[opt-env-conf-test] - [ map fileResult filesFromPartialListing,
2049.07 s
[opt-env-conf-test] - map fileResult filesFromParentListing,
2049.07 s
[opt-env-conf-test] - map dirResult dirsFromPartialListing,
2049.07 s
[opt-env-conf-test] - map dirResult dirsFromParentListing
2049.07 s
[opt-env-conf-test] ]
2049.07 s
[opt-env-conf-test] where
2049.07 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
2049.07 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
2049.07 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
2049.07 s
[opt-env-conf-test] @@ -93,33 +93,24 @@
2049.07 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
2049.07 s
[opt-env-conf-test] )
2049.07 s
[opt-env-conf-test]
2049.07 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
2049.07 s
[opt-env-conf-test] Nothing ->
2049.07 s
[opt-env-conf-test] if fp == "."
2049.07 s
[opt-env-conf-test] then do
2049.07 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
2049.07 s
[opt-env-conf-test] pure
2049.07 s
[opt-env-conf-test] ( map fromRelDir ds,
2049.07 s
[opt-env-conf-test] map fromRelFile fs
2049.07 s
[opt-env-conf-test] )
2049.07 s
[opt-env-conf-test] else pure ([], [])
2049.07 s
[opt-env-conf-test] Just (Abs af) -> do
2049.07 s
[opt-env-conf-test] let dir = parent af
2049.07 s
[opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
2049.07 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
2049.07 s
[opt-env-conf-test] pure
2049.07 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
2049.07 s
[opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
2049.07 s
[opt-env-conf-test] )
2049.07 s
[opt-env-conf-test] - Just (Rel rf) -> do
2049.07 s
[opt-env-conf-test] - let dir = parent rf
2049.07 s
[opt-env-conf-test] - let ad = baseDir </> dir
2049.07 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2049.07 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
2049.07 s
[opt-env-conf-test] - pure
2057.70 s
[opt-env-conf-test] - ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2057.72 s
[opt-env-conf-test] - map (fromRelFile . (dir </>)) $ filterHidden fs
2057.72 s
[opt-env-conf-test] - )
2057.72 s
[opt-env-conf-test]
2057.72 s
[opt-env-conf-test] pure $
2057.72 s
[opt-env-conf-test] concat
2057.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
2057.72 s
[opt-env-conf-test] @@ -306,9 +306,8 @@
2057.72 s
[opt-env-conf-test] where
2057.72 s
[opt-env-conf-test] go acc ne =
2057.72 s
[opt-env-conf-test] let (a, mRest) = NE.uncons ne
2057.72 s
[opt-env-conf-test] in case mRest of
2057.72 s
[opt-env-conf-test] - Nothing -> (NE.nonEmpty $ reverse acc, a)
2057.72 s
[opt-env-conf-test] Just rest -> go (a : acc) rest
2057.72 s
[opt-env-conf-test]
2057.72 s
[opt-env-conf-test] -- | Consume a switch.
2057.73 s
[opt-env-conf-test] --
2057.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
2057.73 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
2057.73 s
[opt-env-conf-test] NonEmpty Char ->
2057.73 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
2057.73 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
2057.73 s
[opt-env-conf-test] - if i s Long
2057.73 s
[opt-env-conf-test] + if F a l s e
2057.73 s
[opt-env-conf-test] then
2057.73 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
2057.73 s
[opt-env-conf-test] then Just Nothing
2057.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
2057.73 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
2057.73 s
[opt-env-conf-test] NonEmpty Char ->
2057.73 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
2057.73 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
2057.73 s
[opt-env-conf-test] - if i s L on g
2057.73 s
[opt-env-conf-test] + if Tru e
2057.73 s
[opt-env-conf-test] then
2057.73 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
2057.73 s
[opt-env-conf-test] then Just Nothing
2057.73 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
2057.73 s
[opt-env-conf-test] @@ -93,33 +93,25 @@
2057.73 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
2057.73 s
[opt-env-conf-test] )
2057.73 s
[opt-env-conf-test]
2057.73 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
2057.73 s
[opt-env-conf-test] Nothing ->
2057.73 s
[opt-env-conf-test] if fp == "."
2057.73 s
[opt-env-conf-test] then do
2057.73 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
2057.73 s
[opt-env-conf-test] pure
2057.73 s
[opt-env-conf-test] ( map fromRelDir ds,
2057.73 s
[opt-env-conf-test] map fromRelFile fs
2057.74 s
[opt-env-conf-test] )
2057.74 s
[opt-env-conf-test] else pure ([], [])
2057.74 s
[opt-env-conf-test] - Just (Abs af) -> do
2057.74 s
[opt-env-conf-test] - let dir = parent af
2057.74 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
2057.74 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving dir
2057.74 s
[opt-env-conf-test] - pure
2057.74 s
[opt-env-conf-test] - ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
2057.74 s
[opt-env-conf-test] - map (fromAbsFile . (dir </>)) $ filterHidden fs
2057.74 s
[opt-env-conf-test] - )
2057.74 s
[opt-env-conf-test] Just (Rel rf) -> do
2057.74 s
[opt-env-conf-test] let dir = parent rf
2057.74 s
[opt-env-conf-test] let ad = baseDir </> dir
2057.74 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2057.74 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2057.74 s
[opt-env-conf-test] pure
2057.74 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2057.74 s
[opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
2057.74 s
[opt-env-conf-test] )
2057.74 s
[opt-env-conf-test]
2057.74 s
[opt-env-conf-test] pure $
2057.74 s
[opt-env-conf-test] concat
2057.74 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:293:6-12
2057.74 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
2057.74 s
[opt-env-conf-test] NonEmpty Char ->
2057.74 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
2057.74 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
2057.74 s
[opt-env-conf-test] - if isLong
2057.74 s
[opt-env-conf-test] + if n o t ( isLong )
2057.74 s
[opt-env-conf-test] then
2057.74 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
2057.74 s
[opt-env-conf-test] then Just Nothing
2057.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
2057.74 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
2057.74 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
2057.74 s
[opt-env-conf-test] if isLong
2057.74 s
[opt-env-conf-test] then
2057.74 s
[opt-env-conf-test] - if D as hedL ong cs `ele m` da s h e d s
2057.74 s
[opt-env-conf-test] + if Tr u e
2057.74 s
[opt-env-conf-test] then Just Nothing
2057.74 s
[opt-env-conf-test] else Nothing
2057.74 s
[opt-env-conf-test] else
2057.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
2057.74 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
2057.74 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
2057.74 s
[opt-env-conf-test] if isLong
2057.74 s
[opt-env-conf-test] then
2057.74 s
[opt-env-conf-test] - if D a sh edL ong cs `e l em` da s h e d s
2057.74 s
[opt-env-conf-test] + if F a l s e
2057.74 s
[opt-env-conf-test] then Just Nothing
2057.75 s
[opt-env-conf-test] else Nothing
2057.75 s
[opt-env-conf-test] else
2057.75 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:117:31-43
2057.75 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2057.75 s
[opt-env-conf-test] Just (Rel rf) -> do
2057.75 s
[opt-env-conf-test] let dir = parent rf
2057.75 s
[opt-env-conf-test] let ad = baseDir </> dir
2057.75 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2057.75 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
2057.75 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2057.75 s
[opt-env-conf-test] pure
2057.75 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2057.75 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:295:10-38
2057.75 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
2057.75 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
2057.75 s
[opt-env-conf-test] if isLong
2057.75 s
[opt-env-conf-test] then
2057.75 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
2057.75 s
[opt-env-conf-test] + if n o t ( DashedLong cs `elem` dasheds )
2057.75 s
[opt-env-conf-test] then Just Nothing
2057.75 s
[opt-env-conf-test] else Nothing
2057.75 s
[opt-env-conf-test] else
2057.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
2057.75 s
[opt-env-conf-test] @@ -93,33 +93,24 @@
2057.75 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
2057.75 s
[opt-env-conf-test] )
2057.75 s
[opt-env-conf-test]
2057.75 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
2057.75 s
[opt-env-conf-test] - Nothing ->
2057.75 s
[opt-env-conf-test] - if fp == "."
2057.75 s
[opt-env-conf-test] - then do
2057.75 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
2057.75 s
[opt-env-conf-test] - pure
2057.75 s
[opt-env-conf-test] - ( map fromRelDir ds,
2057.75 s
[opt-env-conf-test] - map fromRelFile fs
2057.75 s
[opt-env-conf-test] - )
2057.75 s
[opt-env-conf-test] - else pure ([], [])
2057.75 s
[opt-env-conf-test] Just (Abs af) -> do
2057.75 s
[opt-env-conf-test] let dir = parent af
2057.75 s
[opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
2057.76 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
2057.76 s
[opt-env-conf-test] pure
2057.76 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
2057.76 s
[opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
2057.76 s
[opt-env-conf-test] )
2057.76 s
[opt-env-conf-test] Just (Rel rf) -> do
2057.76 s
[opt-env-conf-test] let dir = parent rf
2057.76 s
[opt-env-conf-test] let ad = baseDir </> dir
2057.76 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2057.76 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2057.76 s
[opt-env-conf-test] pure
2057.76 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2057.76 s
[opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
2057.76 s
[opt-env-conf-test] )
2057.76 s
[opt-env-conf-test]
2057.76 s
[opt-env-conf-test] pure $
2057.76 s
[opt-env-conf-test] concat
2057.76 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
2057.76 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
2057.76 s
[opt-env-conf-test] else Nothing
2057.76 s
[opt-env-conf-test] else
2057.76 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
2057.76 s
[opt-env-conf-test] - in if D a sh edS hort c `e l em` da s h e d s
2057.76 s
[opt-env-conf-test] + in if F a l s e
2057.76 s
[opt-env-conf-test] then Just mRest
2057.76 s
[opt-env-conf-test] else Nothing
2057.76 s
[opt-env-conf-test]
2057.76 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:296:14-26
2057.76 s
[opt-env-conf-test] @@ -293,7 +293,7 @@
2057.76 s
[opt-env-conf-test] if isLong
2057.76 s
[opt-env-conf-test] then
2057.76 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
2057.76 s
[opt-env-conf-test] - then J u s t Nothing
2057.76 s
[opt-env-conf-test] + then Nothing
2057.76 s
[opt-env-conf-test] else Nothing
2057.76 s
[opt-env-conf-test] else
2057.76 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
2057.76 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
2057.76 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
2057.76 s
[opt-env-conf-test] else Nothing
2057.77 s
[opt-env-conf-test] else
2057.77 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
2057.77 s
[opt-env-conf-test] - in if D a sh edS ho r t c `elem` da s h e d s
2057.77 s
[opt-env-conf-test] + in if T r u e
2057.77 s
[opt-env-conf-test] then Just mRest
2057.77 s
[opt-env-conf-test] else Nothing
2057.77 s
[opt-env-conf-test]
2057.77 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
2057.77 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2057.77 s
[opt-env-conf-test] Just (Rel rf) -> do
2057.77 s
[opt-env-conf-test] let dir = parent rf
2057.77 s
[opt-env-conf-test] let ad = baseDir </> dir
2057.77 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
2057.77 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
2057.77 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2057.77 s
[opt-env-conf-test] pure
2057.77 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2057.77 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:300:14-42
2057.77 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
2057.77 s
[opt-env-conf-test] else Nothing
2057.77 s
[opt-env-conf-test] else
2057.77 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
2063.11 s
[opt-env-conf-test] - in if DashedShort c `elem` dasheds
2063.14 s
[opt-env-conf-test] + in if n o t ( DashedShort c `elem` dasheds )
2063.14 s
[opt-env-conf-test] then Just mRest
2063.14 s
[opt-env-conf-test] else Nothing
2063.14 s
[opt-env-conf-test]
2063.14 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-23
2063.14 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
2063.14 s
[opt-env-conf-test] Maybe String
2063.14 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2063.14 s
[opt-env-conf-test] (c :| rest)
2063.14 s
[opt-env-conf-test] - | c `e lem` da sh e d s && not (null rest) ->
2063.14 s
[opt-env-conf-test] + | Tru e && not (null rest) ->
2063.14 s
[opt-env-conf-test] Just rest
2063.14 s
[opt-env-conf-test] _ -> Nothing
2063.14 s
[opt-env-conf-test]
2063.14 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-23
2063.14 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
2063.14 s
[opt-env-conf-test] Maybe String
2063.14 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2063.14 s
[opt-env-conf-test] (c :| rest)
2063.14 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
2063.14 s
[opt-env-conf-test] + | n o t ( c `elem` dasheds ) && not (null rest) ->
2063.14 s
[opt-env-conf-test] Just rest
2063.14 s
[opt-env-conf-test] _ -> Nothing
2063.15 s
[opt-env-conf-test]
2063.15 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:301:18-28
2063.15 s
[opt-env-conf-test] @@ -298,7 +298,7 @@
2063.15 s
[opt-env-conf-test] else
2063.15 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
2063.15 s
[opt-env-conf-test] in if DashedShort c `elem` dasheds
2063.15 s
[opt-env-conf-test] - then J u s t m R est
2063.15 s
[opt-env-conf-test] + then N o t h in g
2063.15 s
[opt-env-conf-test] else Nothing
2063.15 s
[opt-env-conf-test]
2063.15 s
[opt-env-conf-test] unsnocNE :: NonEmpty a -> (Maybe (NonEmpty a), a)
2063.15 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:32-41
2063.15 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
2063.15 s
[opt-env-conf-test] Maybe String
2063.15 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2063.15 s
[opt-env-conf-test] (c :| rest)
2063.15 s
[opt-env-conf-test] - | c `elem` dasheds && not ( n u ll r e s t ) ->
2063.15 s
[opt-env-conf-test] + | c `elem` dasheds && not ( T r u e ) ->
2063.15 s
[opt-env-conf-test] Just rest
2063.15 s
[opt-env-conf-test] _ -> Nothing
2063.15 s
[opt-env-conf-test]
2063.15 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:32-41
2063.15 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
2063.15 s
[opt-env-conf-test] Maybe String
2063.15 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2063.15 s
[opt-env-conf-test] (c :| rest)
2063.15 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
2063.15 s
[opt-env-conf-test] + | c `elem` dasheds && n o t ( not (null rest) ) ->
2063.15 s
[opt-env-conf-test] Just rest
2063.15 s
[opt-env-conf-test] _ -> Nothing
2063.15 s
[opt-env-conf-test]
2063.15 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:54-78
2063.15 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
2063.15 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
2063.15 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
2063.15 s
[opt-env-conf-test] trailingSlash
2063.15 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not ( n u l l r emaind e r C omp o n e nt s ) = "/"
2063.15 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not ( T r u e ) = "/"
2063.15 s
[opt-env-conf-test] | otherwise = ""
2063.15 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
2063.15 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
2063.16 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:19-47
2063.16 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
2063.16 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
2063.16 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
2063.16 s
[opt-env-conf-test] trailingSlash
2063.16 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir , not (null remainderComponents) = "/"
2063.16 s
[opt-env-conf-test] + | n o t ( "/" `isSuffixOf` afterCurDir ) , not (null remainderComponents) = "/"
2063.16 s
[opt-env-conf-test] | otherwise = ""
2063.16 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
2063.16 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
2063.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
2063.16 s
[opt-env-conf-test] @@ -306,9 +306,8 @@
2063.16 s
[opt-env-conf-test] where
2063.16 s
[opt-env-conf-test] go acc ne =
2063.16 s
[opt-env-conf-test] let (a, mRest) = NE.uncons ne
2063.16 s
[opt-env-conf-test] in case mRest of
2063.16 s
[opt-env-conf-test] Nothing -> (NE.nonEmpty $ reverse acc, a)
2063.16 s
[opt-env-conf-test] - Just rest -> go (a : acc) rest
2063.16 s
[opt-env-conf-test]
2063.16 s
[opt-env-conf-test] -- | Consume a switch.
2063.16 s
[opt-env-conf-test] --
2063.16 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:49-79
2063.16 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
2063.16 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
2063.16 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
2063.16 s
[opt-env-conf-test] trailingSlash
2063.16 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, n ot (nul l remai nd e r Co m po n e n ts ) = "/"
2063.16 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, T r u e = "/"
2063.16 s
[opt-env-conf-test] | otherwise = ""
2063.16 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
2063.16 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
2063.16 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:246:10-28
2063.16 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
2063.16 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
2063.16 s
[opt-env-conf-test] [] -> 0
2063.16 s
[opt-env-conf-test] ixs -> maximum ixs
2063.16 s
[opt-env-conf-test] - in if lastDotDotIdx == 0
2063.16 s
[opt-env-conf-test] + in if n o t ( lastDotDotIdx == 0 )
2063.16 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
2063.16 s
[opt-env-conf-test] else
2063.16 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
2063.16 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
2063.17 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2063.17 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
2063.17 s
[opt-env-conf-test] go (c :| rest) =
2063.17 s
[opt-env-conf-test] if c `elem` cs
2063.17 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n ul l r e s t )) <$> NE.nonEmpty rest
2063.17 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, F a l s e )) <$> NE.nonEmpty rest
2063.17 s
[opt-env-conf-test] else do
2063.17 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
2063.17 s
[opt-env-conf-test] new <- go rest'
2063.17 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:364:10-21
2063.17 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
2063.17 s
[opt-env-conf-test] where
2063.17 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
2063.17 s
[opt-env-conf-test] go (c :| rest) =
2063.17 s
[opt-env-conf-test] - if c `elem` cs
2063.17 s
[opt-env-conf-test] + if n o t ( c `elem` cs )
2063.17 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
2063.17 s
[opt-env-conf-test] else do
2063.17 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
2063.17 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
2063.17 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
2063.17 s
[opt-env-conf-test] where
2063.17 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
2063.17 s
[opt-env-conf-test] go (c :| rest) =
2063.17 s
[opt-env-conf-test] - if c ` e l em` c s
2063.17 s
[opt-env-conf-test] + if Fa l s e
2063.17 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
2063.17 s
[opt-env-conf-test] else do
2063.17 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
2063.17 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
2063.17 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
2063.17 s
[opt-env-conf-test] NonEmpty Char ->
2063.17 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
2063.17 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
2063.17 s
[opt-env-conf-test] - if i s Long
2063.17 s
[opt-env-conf-test] + if F a l s e
2063.17 s
[opt-env-conf-test] then
2063.17 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
2063.17 s
[opt-env-conf-test] then Just Nothing
2063.17 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:31-42
2063.17 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
2063.17 s
[opt-env-conf-test] Maybe String
2063.17 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2063.17 s
[opt-env-conf-test] (c :| rest)
2063.17 s
[opt-env-conf-test] - | c `elem` dasheds && not ( n u l l r e s t ) ->
2063.17 s
[opt-env-conf-test] + | c `elem` dasheds && not T r u e ->
2063.18 s
[opt-env-conf-test] Just rest
2063.18 s
[opt-env-conf-test] _ -> Nothing
2063.18 s
[opt-env-conf-test]
2063.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-42
2063.18 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
2063.18 s
[opt-env-conf-test] Maybe String
2063.18 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2063.18 s
[opt-env-conf-test] (c :| rest)
2072.48 s
[opt-env-conf-test] - | c `e lem` d as heds && not ( n u l l r e s t ) ->
2072.51 s
[opt-env-conf-test] + | Tr u e ->
2072.51 s
[opt-env-conf-test] Just rest
2072.51 s
[opt-env-conf-test] _ -> Nothing
2072.51 s
[opt-env-conf-test]
2072.51 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:31-42
2072.51 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
2072.51 s
[opt-env-conf-test] Maybe String
2072.51 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2072.51 s
[opt-env-conf-test] (c :| rest)
2072.51 s
[opt-env-conf-test] - | c `elem` dasheds && not ( null rest) ->
2072.51 s
[opt-env-conf-test] + | c `elem` dasheds && n o t not ( ( null rest) ) ->
2072.51 s
[opt-env-conf-test] Just rest
2072.51 s
[opt-env-conf-test] _ -> Nothing
2072.51 s
[opt-env-conf-test]
2072.51 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:27-42
2072.51 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
2072.51 s
[opt-env-conf-test] Maybe String
2072.51 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2072.51 s
[opt-env-conf-test] (c :| rest)
2072.51 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
2072.51 s
[opt-env-conf-test] + | c `elem` dasheds && n o t ( not (null rest) ) ->
2072.51 s
[opt-env-conf-test] Just rest
2072.51 s
[opt-env-conf-test] _ -> Nothing
2072.51 s
[opt-env-conf-test]
2072.51 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
2072.51 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
2072.51 s
[opt-env-conf-test] NonEmpty Char ->
2072.51 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
2072.51 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
2072.51 s
[opt-env-conf-test] - if i s L on g
2072.51 s
[opt-env-conf-test] + if Tru e
2072.51 s
[opt-env-conf-test] then
2072.52 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
2072.52 s
[opt-env-conf-test] then Just Nothing
2072.52 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:34:25-18
2072.52 s
[opt-env-conf-test] @@ -31,9 +31,8 @@
2072.52 s
[opt-env-conf-test] stderrTc <- getTerminalCapabilitiesFromHandle stderr
2072.52 s
[opt-env-conf-test] errOrSets <- runSettingsCheckOn capabilities stderrTc p args envVars mConfig
2072.52 s
[opt-env-conf-test] case errOrSets of
2072.52 s
[opt-env-conf-test] CheckFailed errs -> do
2072.52 s
[opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderErrors errs
2072.52 s
[opt-env-conf-test] exitFailure
2072.52 s
[opt-env-conf-test] CheckIncapable missingCaps -> do
2072.52 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2072.52 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
2072.52 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:144:53-57
2072.52 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2072.52 s
[opt-env-conf-test] pure $ filter matchesExtension results
2072.52 s
[opt-env-conf-test] where
2072.52 s
[opt-env-conf-test] matchesExtension cr
2072.52 s
[opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = Tr u e
2072.52 s
[opt-env-conf-test] + | "/" `isSuffixOf` completionResultValue cr = F a ls e
2072.52 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
2072.52 s
[opt-env-conf-test]
2072.52 s
[opt-env-conf-test] directoryPath :: Completer
2072.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
2072.52 s
[opt-env-conf-test] @@ -403,7 +403,6 @@
2072.52 s
[opt-env-conf-test]
2072.52 s
[opt-env-conf-test] renderDashed :: Dashed -> String
2072.52 s
[opt-env-conf-test] renderDashed = \case
2072.52 s
[opt-env-conf-test] - DashedShort c -> ['-', c]
2072.52 s
[opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
2072.52 s
[opt-env-conf-test]
2072.52 s
[opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
2072.52 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:144:9-50
2072.52 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2072.52 s
[opt-env-conf-test] pure $ filter matchesExtension results
2072.52 s
[opt-env-conf-test] where
2072.52 s
[opt-env-conf-test] matchesExtension cr
2072.52 s
[opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
2072.52 s
[opt-env-conf-test] + | n o t ( "/" `isSuffixOf` completionResultValue cr ) = True
2072.52 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
2072.52 s
[opt-env-conf-test]
2072.52 s
[opt-env-conf-test] directoryPath :: Completer
2072.52 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:144:9-50
2072.52 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2072.52 s
[opt-env-conf-test] pure $ filter matchesExtension results
2072.52 s
[opt-env-conf-test] where
2072.52 s
[opt-env-conf-test] matchesExtension cr
2072.52 s
[opt-env-conf-test] - | " / " `is S u f fixOf` com pletionRes ultVa lu e c r = True
2072.53 s
[opt-env-conf-test] + | T r u e = True
2072.53 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
2072.53 s
[opt-env-conf-test]
2072.53 s
[opt-env-conf-test] directoryPath :: Completer
2072.53 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
2072.53 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
2072.53 s
[opt-env-conf-test] where
2072.53 s
[opt-env-conf-test] matchesExtension cr
2072.53 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
2072.53 s
[opt-env-conf-test] - | otherwise = a n y ( `isSuf fixOf` compl etionResultV alu e c r ) e xts
2072.53 s
[opt-env-conf-test] + | otherwise = T r u e
2072.53 s
[opt-env-conf-test]
2072.53 s
[opt-env-conf-test] directoryPath :: Completer
2072.53 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
2072.53 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
2072.53 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2072.53 s
[opt-env-conf-test] else do
2072.53 s
[opt-env-conf-test] let dir = parent rf
2072.53 s
[opt-env-conf-test] let ad = baseDir </> dir
2072.53 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
2072.53 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
2072.53 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2072.53 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2072.53 s
[opt-env-conf-test]
2072.53 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:179:12-21
2072.53 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
2072.53 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
2072.53 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2072.53 s
[opt-env-conf-test] Just (Rel rf) ->
2072.53 s
[opt-env-conf-test] - if fp == "."
2072.53 s
[opt-env-conf-test] + if n o t ( fp == "." )
2072.53 s
[opt-env-conf-test] then do
2072.53 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2072.53 s
[opt-env-conf-test] pure (map fromRelDir ds)
2072.53 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:27-42
2072.53 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
2072.53 s
[opt-env-conf-test] Maybe String
2072.53 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2072.53 s
[opt-env-conf-test] (c :| rest)
2072.53 s
[opt-env-conf-test] - | c `elem` dasheds && n ot (n u ll r e st ) ->
2072.53 s
[opt-env-conf-test] + | c `elem` dasheds && Tr u e ->
2072.53 s
[opt-env-conf-test] Just rest
2072.53 s
[opt-env-conf-test] _ -> Nothing
2072.53 s
[opt-env-conf-test]
2072.53 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Args.hs:282:7-42
2072.53 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
2072.53 s
[opt-env-conf-test] Maybe String
2072.53 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2072.53 s
[opt-env-conf-test] (c :| rest)
2072.53 s
[opt-env-conf-test] - | c `elem` dasheds & & not (null rest) ->
2072.53 s
[opt-env-conf-test] + | c `elem` dasheds | | not (null rest) ->
2072.53 s
[opt-env-conf-test] Just rest
2072.54 s
[opt-env-conf-test] _ -> Nothing
2072.54 s
[opt-env-conf-test]
2072.54 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
2072.54 s
[opt-env-conf-test] @@ -130,10 +130,9 @@
2072.54 s
[opt-env-conf-test] -- things like a default command.
2072.54 s
[opt-env-conf-test] let addConsumeNothing = \case
2072.54 s
[opt-env-conf-test] [] -> [(Nothing, as)]
2072.54 s
[opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
2072.54 s
[opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
2072.54 s
[opt-env-conf-test] - Nothing -> r
2072.54 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
2072.54 s
[opt-env-conf-test]
2072.54 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
2072.54 s
[opt-env-conf-test] [] -> []
2072.54 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
2072.54 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
2072.54 s
[opt-env-conf-test] NonEmpty Char ->
2072.54 s
[opt-env-conf-test] Maybe String
2072.54 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
2072.54 s
[opt-env-conf-test] - if i s Long
2072.54 s
[opt-env-conf-test] + if F a l s e
2072.54 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
2072.54 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
2072.54 s
[opt-env-conf-test]
2072.54 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
2072.54 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
2072.54 s
[opt-env-conf-test] NonEmpty Char ->
2072.54 s
[opt-env-conf-test] Maybe String
2072.54 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
2072.54 s
[opt-env-conf-test] - if i s L on g
2072.54 s
[opt-env-conf-test] + if Tru e
2072.54 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
2072.54 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
2072.54 s
[opt-env-conf-test]
2072.54 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:150:32-40
2072.54 s
[opt-env-conf-test] @@ -147,7 +147,7 @@
2072.54 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2072.54 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2072.54 s
[opt-env-conf-test] -- A single dash is always an argument
2072.54 s
[opt-env-conf-test] - ArgBareDash -> [( J u s t "- " , consumed)]
2073.32 s
[opt-env-conf-test] + ArgBareDash -> [( No t h i ng , consumed)]
2073.32 s
[opt-env-conf-test] -- Bare double-dash
2073.32 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2073.32 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2073.32 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:283:9-18
2073.32 s
[opt-env-conf-test] @@ -280,7 +280,7 @@
2073.32 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2073.32 s
[opt-env-conf-test] (c :| rest)
2073.32 s
[opt-env-conf-test] | c `elem` dasheds && not (null rest) ->
2073.32 s
[opt-env-conf-test] - J u st re s t
2073.32 s
[opt-env-conf-test] + N o t h ing
2073.32 s
[opt-env-conf-test] _ -> Nothing
2073.32 s
[opt-env-conf-test]
2073.33 s
[opt-env-conf-test] -- Can consume only the last in a folded dashed
2073.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
2073.33 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
2073.33 s
[opt-env-conf-test] -- A single dash is always an argument
2073.33 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2073.33 s
[opt-env-conf-test] -- Bare double-dash
2073.33 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2073.33 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2073.33 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2073.33 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2073.33 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2073.33 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2073.33 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2073.33 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
2073.33 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2073.33 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2073.33 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2073.33 s
[opt-env-conf-test] -- pop the args as they come.
2073.33 s
[opt-env-conf-test] _ ->
2073.33 s
[opt-env-conf-test] let go = \case
2073.33 s
[opt-env-conf-test] [] -> Nothing
2073.33 s
[opt-env-conf-test] (Dead : rest) -> go rest
2073.33 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2073.33 s
[opt-env-conf-test] in case go afters of
2073.33 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2073.33 s
[opt-env-conf-test] Just (firstLive, rest) ->
2073.33 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2073.33 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2073.33 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2073.33 s
[opt-env-conf-test] -- arguments.
2073.33 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2073.33 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2073.33 s
[opt-env-conf-test] )
2073.33 s
[opt-env-conf-test] ]
2073.33 s
[opt-env-conf-test] ArgDashed {} ->
2077.08 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2077.08 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2077.08 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:201:39-57
2077.08 s
[opt-env-conf-test] @@ -198,7 +198,7 @@
2077.08 s
[opt-env-conf-test] ( case a' of
2077.08 s
[opt-env-conf-test] ArgDashed {} ->
2077.08 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2077.08 s
[opt-env-conf-test] - ++ [ ( J us t (r e n d e rA r g a ) , consumed)
2077.09 s
[opt-env-conf-test] + ++ [ ( N o t hi n g , consumed)
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] _ ->
2077.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2077.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
2077.09 s
[opt-env-conf-test] @@ -201,7 +201,6 @@
2077.09 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] _ ->
2077.09 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2077.09 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2077.09 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
2077.09 s
[opt-env-conf-test] @@ -201,7 +201,6 @@
2077.09 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] _ ->
2077.09 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2077.09 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2077.09 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
2077.09 s
[opt-env-conf-test] @@ -202,7 +202,6 @@
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] _ ->
2077.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2077.09 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2077.09 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] )
2077.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
2077.09 s
[opt-env-conf-test] @@ -202,7 +202,6 @@
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] _ ->
2077.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2077.09 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2077.09 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] )
2077.09 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:206:39-57
2077.09 s
[opt-env-conf-test] @@ -203,7 +203,7 @@
2077.09 s
[opt-env-conf-test] _ ->
2077.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2077.09 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2077.09 s
[opt-env-conf-test] - ( J us t (r e n d e rA r g a ) , consumed)
2077.09 s
[opt-env-conf-test] + ( N o t hi n g , consumed)
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] )
2077.09 s
[opt-env-conf-test]
2077.09 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:205:39-58
2077.09 s
[opt-env-conf-test] @@ -202,7 +202,7 @@
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] _ ->
2077.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2077.09 s
[opt-env-conf-test] - ++ [ ( J us t ( re n d e rA r g a ' ) , Args (befores ++ [Live a, Dead]) rest),
2077.09 s
[opt-env-conf-test] + ++ [ ( N o t h i n g , Args (befores ++ [Live a, Dead]) rest),
2077.09 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2077.09 s
[opt-env-conf-test] ]
2077.09 s
[opt-env-conf-test] )
2077.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
2077.09 s
[opt-env-conf-test] @@ -140,72 +140,9 @@
2077.09 s
[opt-env-conf-test] (firstArg : afters) ->
2077.09 s
[opt-env-conf-test] let befores = argsBefore as
2077.10 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
2077.10 s
[opt-env-conf-test] in case firstArg of
2077.10 s
[opt-env-conf-test] -- Skip any dead argument
2077.10 s
[opt-env-conf-test] Dead -> consumeArgument consumed
2077.10 s
[opt-env-conf-test] - Live a -> case a of
2077.10 s
[opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
2077.10 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
2077.10 s
[opt-env-conf-test] - -- A single dash is always an argument
2077.10 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
2077.10 s
[opt-env-conf-test] - -- Bare double-dash
2077.10 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
2077.10 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
2077.10 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
2077.10 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
2077.10 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
2077.10 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
2077.10 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2077.10 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
2077.10 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
2077.10 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
2077.10 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
2077.10 s
[opt-env-conf-test] - -- pop the args as they come.
2077.10 s
[opt-env-conf-test] - _ ->
2077.10 s
[opt-env-conf-test] - let go = \case
2077.10 s
[opt-env-conf-test] - [] -> Nothing
2077.10 s
[opt-env-conf-test] - (Dead : rest) -> go rest
2077.10 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
2077.10 s
[opt-env-conf-test] - in case go afters of
2077.10 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
2077.10 s
[opt-env-conf-test] - Just (firstLive, rest) ->
2077.10 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
2077.10 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
2077.10 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
2077.10 s
[opt-env-conf-test] - -- arguments.
2077.10 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
2077.10 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
2077.10 s
[opt-env-conf-test] - )
2077.10 s
[opt-env-conf-test] - ]
2077.10 s
[opt-env-conf-test] - ArgDashed {} ->
2077.10 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
2077.10 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
2077.10 s
[opt-env-conf-test] - -- * The dashed is an argument
2077.10 s
[opt-env-conf-test] - -- TODO we need to continue looking too
2077.10 s
[opt-env-conf-test] - let switchCase =
2077.10 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
2077.10 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2077.10 s
[opt-env-conf-test] - ]
2077.10 s
[opt-env-conf-test] - in case afters of
2077.10 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
2077.10 s
[opt-env-conf-test] - [] -> switchCase
2077.10 s
[opt-env-conf-test] - (Dead : _) -> switchCase
2077.10 s
[opt-env-conf-test] - (Live a' : rest) ->
2077.10 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
2077.10 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
2077.10 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
2077.10 s
[opt-env-conf-test] - -- * The dashed is an argument
2077.10 s
[opt-env-conf-test] - ( case a' of
2077.10 s
[opt-env-conf-test] - ArgDashed {} ->
2077.10 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
2077.19 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2077.19 s
[opt-env-conf-test] - ]
2077.19 s
[opt-env-conf-test] - _ ->
2077.19 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2077.19 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2077.19 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2077.19 s
[opt-env-conf-test] - ]
2077.19 s
[opt-env-conf-test] - )
2077.19 s
[opt-env-conf-test]
2077.19 s
[opt-env-conf-test] -- | Consume an option.
2077.19 s
[opt-env-conf-test] --
2077.19 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
2077.19 s
[opt-env-conf-test] @@ -202,9 +202,7 @@
2077.19 s
[opt-env-conf-test] ]
2077.19 s
[opt-env-conf-test] _ ->
2077.19 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2077.19 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2077.19 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2077.19 s
[opt-env-conf-test] ]
2077.20 s
[opt-env-conf-test] )
2077.20 s
[opt-env-conf-test]
2077.20 s
[opt-env-conf-test] -- | Consume an option.
2077.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
2077.20 s
[opt-env-conf-test] @@ -186,26 +186,25 @@
2077.20 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2077.20 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2077.20 s
[opt-env-conf-test] ]
2077.20 s
[opt-env-conf-test] in case afters of
2077.20 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2077.20 s
[opt-env-conf-test] [] -> switchCase
2077.20 s
[opt-env-conf-test] - (Dead : _) -> switchCase
2077.20 s
[opt-env-conf-test] (Live a' : rest) ->
2077.20 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
2077.20 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2077.20 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2077.20 s
[opt-env-conf-test] -- * The dashed is an argument
2077.20 s
[opt-env-conf-test] ( case a' of
2077.20 s
[opt-env-conf-test] ArgDashed {} ->
2077.20 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2077.20 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2077.20 s
[opt-env-conf-test] ]
2077.20 s
[opt-env-conf-test] _ ->
2077.20 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2077.20 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2077.20 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2077.20 s
[opt-env-conf-test] ]
2077.20 s
[opt-env-conf-test] )
2077.20 s
[opt-env-conf-test]
2077.20 s
[opt-env-conf-test] -- | Consume an option.
2077.20 s
[opt-env-conf-test] --
2077.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
2077.20 s
[opt-env-conf-test] @@ -135,77 +135,76 @@
2077.20 s
[opt-env-conf-test] Nothing -> r
2077.20 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
2077.20 s
[opt-env-conf-test]
2077.20 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
2077.20 s
[opt-env-conf-test] - [] -> []
2077.20 s
[opt-env-conf-test] (firstArg : afters) ->
2077.20 s
[opt-env-conf-test] let befores = argsBefore as
2077.20 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
2077.20 s
[opt-env-conf-test] in case firstArg of
2077.20 s
[opt-env-conf-test] -- Skip any dead argument
2077.20 s
[opt-env-conf-test] Dead -> consumeArgument consumed
2077.20 s
[opt-env-conf-test] Live a -> case a of
2077.20 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2077.20 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2077.20 s
[opt-env-conf-test] -- A single dash is always an argument
2077.20 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2077.20 s
[opt-env-conf-test] -- Bare double-dash
2077.20 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2077.20 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2077.20 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2077.20 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2077.20 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2077.20 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2077.20 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2077.20 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2077.20 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2077.20 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2077.20 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2077.21 s
[opt-env-conf-test] -- pop the args as they come.
2077.21 s
[opt-env-conf-test] _ ->
2077.21 s
[opt-env-conf-test] let go = \case
2077.21 s
[opt-env-conf-test] [] -> Nothing
2077.21 s
[opt-env-conf-test] (Dead : rest) -> go rest
2077.21 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2077.21 s
[opt-env-conf-test] in case go afters of
2077.21 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2077.21 s
[opt-env-conf-test] Just (firstLive, rest) ->
2077.21 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2077.21 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2077.21 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2077.21 s
[opt-env-conf-test] -- arguments.
2077.21 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2077.21 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2077.21 s
[opt-env-conf-test] )
2077.21 s
[opt-env-conf-test] ]
2077.21 s
[opt-env-conf-test] ArgDashed {} ->
2077.21 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2077.21 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2077.21 s
[opt-env-conf-test] -- * The dashed is an argument
2077.21 s
[opt-env-conf-test] -- TODO we need to continue looking too
2077.21 s
[opt-env-conf-test] let switchCase =
2077.21 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2077.21 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2077.21 s
[opt-env-conf-test] ]
2077.21 s
[opt-env-conf-test] in case afters of
2077.21 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2077.21 s
[opt-env-conf-test] [] -> switchCase
2077.21 s
[opt-env-conf-test] (Dead : _) -> switchCase
2077.21 s
[opt-env-conf-test] (Live a' : rest) ->
2077.21 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
2077.21 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2077.21 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2077.21 s
[opt-env-conf-test] -- * The dashed is an argument
2077.21 s
[opt-env-conf-test] ( case a' of
2077.21 s
[opt-env-conf-test] ArgDashed {} ->
2077.21 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2077.21 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2077.21 s
[opt-env-conf-test] ]
2077.21 s
[opt-env-conf-test] _ ->
2077.21 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2077.21 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2078.65 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2078.73 s
[opt-env-conf-test] ]
2078.73 s
[opt-env-conf-test] )
2078.73 s
[opt-env-conf-test]
2078.73 s
[opt-env-conf-test] -- | Consume an option.
2078.73 s
[opt-env-conf-test] --
2078.73 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
2078.73 s
[opt-env-conf-test] @@ -186,26 +186,25 @@
2078.73 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2078.74 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2078.74 s
[opt-env-conf-test] ]
2078.74 s
[opt-env-conf-test] in case afters of
2078.74 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2078.74 s
[opt-env-conf-test] - [] -> switchCase
2078.74 s
[opt-env-conf-test] (Dead : _) -> switchCase
2078.74 s
[opt-env-conf-test] (Live a' : rest) ->
2078.74 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
2078.74 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2078.74 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2078.74 s
[opt-env-conf-test] -- * The dashed is an argument
2078.74 s
[opt-env-conf-test] ( case a' of
2078.74 s
[opt-env-conf-test] ArgDashed {} ->
2078.74 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2078.74 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2078.74 s
[opt-env-conf-test] ]
2078.74 s
[opt-env-conf-test] _ ->
2078.74 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2078.74 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2078.74 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2078.74 s
[opt-env-conf-test] ]
2078.74 s
[opt-env-conf-test] )
2078.74 s
[opt-env-conf-test]
2078.74 s
[opt-env-conf-test] -- | Consume an option.
2078.74 s
[opt-env-conf-test] --
2078.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
2078.74 s
[opt-env-conf-test] @@ -195,16 +195,11 @@
2078.74 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2078.74 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2078.74 s
[opt-env-conf-test] -- * The dashed is an argument
2078.74 s
[opt-env-conf-test] ( case a' of
2078.74 s
[opt-env-conf-test] ArgDashed {} ->
2078.74 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2078.74 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2078.74 s
[opt-env-conf-test] ]
2078.74 s
[opt-env-conf-test] - _ ->
2078.74 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2078.74 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2078.74 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2078.75 s
[opt-env-conf-test] - ]
2078.75 s
[opt-env-conf-test] )
2078.75 s
[opt-env-conf-test]
2078.75 s
[opt-env-conf-test] -- | Consume an option.
2078.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
2078.75 s
[opt-env-conf-test] @@ -135,77 +135,8 @@
2078.75 s
[opt-env-conf-test] Nothing -> r
2078.75 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
2078.75 s
[opt-env-conf-test]
2078.75 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
2078.75 s
[opt-env-conf-test] [] -> []
2078.75 s
[opt-env-conf-test] - (firstArg : afters) ->
2078.75 s
[opt-env-conf-test] - let befores = argsBefore as
2078.75 s
[opt-env-conf-test] - consumed = Args (befores ++ [Dead]) afters
2078.75 s
[opt-env-conf-test] - in case firstArg of
2078.75 s
[opt-env-conf-test] - -- Skip any dead argument
2078.75 s
[opt-env-conf-test] - Dead -> consumeArgument consumed
2078.75 s
[opt-env-conf-test] - Live a -> case a of
2078.75 s
[opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
2078.75 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
2078.75 s
[opt-env-conf-test] - -- A single dash is always an argument
2078.75 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
2078.75 s
[opt-env-conf-test] - -- Bare double-dash
2078.75 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
2078.75 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
2078.75 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
2078.75 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
2078.75 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
2078.75 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
2078.75 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2078.75 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
2078.75 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
2078.75 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
2078.75 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
2078.75 s
[opt-env-conf-test] - -- pop the args as they come.
2078.75 s
[opt-env-conf-test] - _ ->
2078.75 s
[opt-env-conf-test] - let go = \case
2078.75 s
[opt-env-conf-test] - [] -> Nothing
2078.75 s
[opt-env-conf-test] - (Dead : rest) -> go rest
2078.75 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
2078.75 s
[opt-env-conf-test] - in case go afters of
2078.75 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
2078.75 s
[opt-env-conf-test] - Just (firstLive, rest) ->
2078.75 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
2078.75 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
2078.75 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
2078.75 s
[opt-env-conf-test] - -- arguments.
2078.75 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
2078.75 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
2078.75 s
[opt-env-conf-test] - )
2078.76 s
[opt-env-conf-test] - ]
2078.76 s
[opt-env-conf-test] - ArgDashed {} ->
2078.76 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
2078.76 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
2078.76 s
[opt-env-conf-test] - -- * The dashed is an argument
2078.76 s
[opt-env-conf-test] - -- TODO we need to continue looking too
2078.76 s
[opt-env-conf-test] - let switchCase =
2078.76 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
2078.76 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2078.76 s
[opt-env-conf-test] - ]
2078.76 s
[opt-env-conf-test] - in case afters of
2078.76 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
2078.76 s
[opt-env-conf-test] - [] -> switchCase
2078.76 s
[opt-env-conf-test] - (Dead : _) -> switchCase
2078.76 s
[opt-env-conf-test] - (Live a' : rest) ->
2078.76 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
2078.76 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
2078.76 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
2078.76 s
[opt-env-conf-test] - -- * The dashed is an argument
2078.76 s
[opt-env-conf-test] - ( case a' of
2081.03 s
[opt-env-conf-test] - ArgDashed {} ->
2081.03 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
2081.04 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2081.04 s
[opt-env-conf-test] - ]
2081.04 s
[opt-env-conf-test] - _ ->
2081.04 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2081.04 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2081.04 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2081.04 s
[opt-env-conf-test] - ]
2081.04 s
[opt-env-conf-test] - )
2081.04 s
[opt-env-conf-test]
2081.04 s
[opt-env-conf-test] -- | Consume an option.
2081.04 s
[opt-env-conf-test] --
2081.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
2081.04 s
[opt-env-conf-test] @@ -143,69 +143,41 @@
2081.04 s
[opt-env-conf-test] in case firstArg of
2081.04 s
[opt-env-conf-test] -- Skip any dead argument
2081.04 s
[opt-env-conf-test] Dead -> consumeArgument consumed
2081.04 s
[opt-env-conf-test] Live a -> case a of
2081.04 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2081.04 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2081.04 s
[opt-env-conf-test] -- A single dash is always an argument
2081.04 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2081.04 s
[opt-env-conf-test] -- Bare double-dash
2081.04 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
2081.04 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
2081.04 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
2081.04 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
2081.05 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
2081.05 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
2081.05 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2081.05 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
2081.05 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
2081.05 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
2081.05 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
2081.05 s
[opt-env-conf-test] - -- pop the args as they come.
2081.05 s
[opt-env-conf-test] - _ ->
2081.05 s
[opt-env-conf-test] - let go = \case
2081.05 s
[opt-env-conf-test] - [] -> Nothing
2081.05 s
[opt-env-conf-test] - (Dead : rest) -> go rest
2081.05 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
2081.05 s
[opt-env-conf-test] - in case go afters of
2081.05 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
2081.05 s
[opt-env-conf-test] - Just (firstLive, rest) ->
2081.05 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
2081.05 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
2081.05 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
2081.05 s
[opt-env-conf-test] - -- arguments.
2081.05 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
2081.05 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
2081.05 s
[opt-env-conf-test] - )
2081.05 s
[opt-env-conf-test] - ]
2081.05 s
[opt-env-conf-test] ArgDashed {} ->
2081.05 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2081.05 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2081.05 s
[opt-env-conf-test] -- * The dashed is an argument
2081.05 s
[opt-env-conf-test] -- TODO we need to continue looking too
2081.05 s
[opt-env-conf-test] let switchCase =
2081.05 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2081.05 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2081.05 s
[opt-env-conf-test] ]
2081.05 s
[opt-env-conf-test] in case afters of
2081.05 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2081.05 s
[opt-env-conf-test] [] -> switchCase
2081.05 s
[opt-env-conf-test] (Dead : _) -> switchCase
2081.05 s
[opt-env-conf-test] (Live a' : rest) ->
2081.05 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
2081.05 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2081.06 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2081.06 s
[opt-env-conf-test] -- * The dashed is an argument
2081.06 s
[opt-env-conf-test] ( case a' of
2081.06 s
[opt-env-conf-test] ArgDashed {} ->
2081.06 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2081.06 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2081.06 s
[opt-env-conf-test] ]
2081.06 s
[opt-env-conf-test] _ ->
2081.06 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2081.06 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2081.06 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2082.46 s
[opt-env-conf-test] ]
2082.47 s
[opt-env-conf-test] )
2082.47 s
[opt-env-conf-test]
2082.47 s
[opt-env-conf-test] -- | Consume an option.
2082.47 s
[opt-env-conf-test] --
2082.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
2082.47 s
[opt-env-conf-test] @@ -143,69 +143,40 @@
2082.47 s
[opt-env-conf-test] in case firstArg of
2082.47 s
[opt-env-conf-test] -- Skip any dead argument
2082.47 s
[opt-env-conf-test] Dead -> consumeArgument consumed
2082.47 s
[opt-env-conf-test] Live a -> case a of
2082.47 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2082.47 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2082.47 s
[opt-env-conf-test] -- A single dash is always an argument
2082.47 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2082.47 s
[opt-env-conf-test] -- Bare double-dash
2082.47 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2082.47 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2082.47 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2082.47 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2082.47 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2082.47 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2082.47 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2082.47 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2082.47 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2082.47 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2082.47 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2082.47 s
[opt-env-conf-test] -- pop the args as they come.
2082.47 s
[opt-env-conf-test] _ ->
2082.47 s
[opt-env-conf-test] let go = \case
2082.47 s
[opt-env-conf-test] [] -> Nothing
2082.47 s
[opt-env-conf-test] (Dead : rest) -> go rest
2082.47 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2082.47 s
[opt-env-conf-test] in case go afters of
2082.47 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2082.47 s
[opt-env-conf-test] Just (firstLive, rest) ->
2082.47 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2082.47 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2082.47 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2082.47 s
[opt-env-conf-test] -- arguments.
2082.47 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2082.47 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2082.47 s
[opt-env-conf-test] )
2082.47 s
[opt-env-conf-test] ]
2082.47 s
[opt-env-conf-test] - ArgDashed {} ->
2082.47 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
2082.48 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
2082.48 s
[opt-env-conf-test] - -- * The dashed is an argument
2082.48 s
[opt-env-conf-test] - -- TODO we need to continue looking too
2082.48 s
[opt-env-conf-test] - let switchCase =
2082.48 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
2082.48 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2082.48 s
[opt-env-conf-test] - ]
2082.48 s
[opt-env-conf-test] - in case afters of
2082.48 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
2082.48 s
[opt-env-conf-test] - [] -> switchCase
2082.48 s
[opt-env-conf-test] - (Dead : _) -> switchCase
2082.48 s
[opt-env-conf-test] - (Live a' : rest) ->
2082.48 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
2082.48 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
2082.48 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
2082.48 s
[opt-env-conf-test] - -- * The dashed is an argument
2082.48 s
[opt-env-conf-test] - ( case a' of
2082.48 s
[opt-env-conf-test] - ArgDashed {} ->
2082.48 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
2082.48 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2082.48 s
[opt-env-conf-test] - ]
2082.48 s
[opt-env-conf-test] - _ ->
2082.48 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2082.48 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2082.48 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2083.79 s
[opt-env-conf-test] - ]
2083.79 s
[opt-env-conf-test] - )
2083.79 s
[opt-env-conf-test]
2083.87 s
[opt-env-conf-test] -- | Consume an option.
2083.87 s
[opt-env-conf-test] --
2083.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
2083.88 s
[opt-env-conf-test] @@ -143,69 +143,68 @@
2083.88 s
[opt-env-conf-test] in case firstArg of
2083.88 s
[opt-env-conf-test] -- Skip any dead argument
2083.88 s
[opt-env-conf-test] Dead -> consumeArgument consumed
2083.88 s
[opt-env-conf-test] Live a -> case a of
2083.88 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2083.88 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2083.88 s
[opt-env-conf-test] -- A single dash is always an argument
2083.88 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
2083.88 s
[opt-env-conf-test] -- Bare double-dash
2083.88 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2083.88 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2083.88 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2083.88 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2083.88 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2083.88 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2083.88 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2083.88 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2083.88 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2083.88 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2083.88 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2083.88 s
[opt-env-conf-test] -- pop the args as they come.
2083.88 s
[opt-env-conf-test] _ ->
2083.88 s
[opt-env-conf-test] let go = \case
2083.88 s
[opt-env-conf-test] [] -> Nothing
2083.88 s
[opt-env-conf-test] (Dead : rest) -> go rest
2083.88 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2083.88 s
[opt-env-conf-test] in case go afters of
2083.88 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2083.88 s
[opt-env-conf-test] Just (firstLive, rest) ->
2083.88 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2083.88 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2083.88 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2083.88 s
[opt-env-conf-test] -- arguments.
2083.90 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2083.90 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2083.90 s
[opt-env-conf-test] )
2083.90 s
[opt-env-conf-test] ]
2083.90 s
[opt-env-conf-test] ArgDashed {} ->
2083.90 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2083.90 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2083.90 s
[opt-env-conf-test] -- * The dashed is an argument
2083.90 s
[opt-env-conf-test] -- TODO we need to continue looking too
2083.90 s
[opt-env-conf-test] let switchCase =
2083.90 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2083.90 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2083.90 s
[opt-env-conf-test] ]
2083.90 s
[opt-env-conf-test] in case afters of
2083.90 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2083.90 s
[opt-env-conf-test] [] -> switchCase
2083.90 s
[opt-env-conf-test] (Dead : _) -> switchCase
2083.90 s
[opt-env-conf-test] (Live a' : rest) ->
2083.91 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
2083.91 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2083.91 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2083.91 s
[opt-env-conf-test] -- * The dashed is an argument
2083.91 s
[opt-env-conf-test] ( case a' of
2083.91 s
[opt-env-conf-test] ArgDashed {} ->
2083.91 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2083.91 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2083.91 s
[opt-env-conf-test] ]
2083.91 s
[opt-env-conf-test] _ ->
2083.91 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2083.91 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2083.91 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2083.91 s
[opt-env-conf-test] ]
2083.91 s
[opt-env-conf-test] )
2083.91 s
[opt-env-conf-test]
2083.91 s
[opt-env-conf-test] -- | Consume an option.
2083.91 s
[opt-env-conf-test] --
2083.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
2083.91 s
[opt-env-conf-test] @@ -140,72 +140,71 @@
2083.91 s
[opt-env-conf-test] (firstArg : afters) ->
2083.91 s
[opt-env-conf-test] let befores = argsBefore as
2083.91 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
2083.91 s
[opt-env-conf-test] in case firstArg of
2083.91 s
[opt-env-conf-test] -- Skip any dead argument
2083.91 s
[opt-env-conf-test] - Dead -> consumeArgument consumed
2083.91 s
[opt-env-conf-test] Live a -> case a of
2083.91 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2083.91 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2083.91 s
[opt-env-conf-test] -- A single dash is always an argument
2083.91 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2083.91 s
[opt-env-conf-test] -- Bare double-dash
2083.91 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2083.91 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2083.91 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2083.91 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2083.91 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2083.91 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2083.91 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2083.91 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2083.91 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2083.91 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2083.91 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2083.91 s
[opt-env-conf-test] -- pop the args as they come.
2083.91 s
[opt-env-conf-test] _ ->
2083.91 s
[opt-env-conf-test] let go = \case
2083.91 s
[opt-env-conf-test] [] -> Nothing
2083.92 s
[opt-env-conf-test] (Dead : rest) -> go rest
2083.92 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2083.92 s
[opt-env-conf-test] in case go afters of
2083.92 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2083.92 s
[opt-env-conf-test] Just (firstLive, rest) ->
2083.92 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2083.92 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2084.06 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2084.06 s
[opt-env-conf-test] -- arguments.
2084.06 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2084.06 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2084.06 s
[opt-env-conf-test] )
2084.06 s
[opt-env-conf-test] ]
2084.06 s
[opt-env-conf-test] ArgDashed {} ->
2084.06 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2084.06 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2084.06 s
[opt-env-conf-test] -- * The dashed is an argument
2084.06 s
[opt-env-conf-test] -- TODO we need to continue looking too
2084.06 s
[opt-env-conf-test] let switchCase =
2084.06 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2084.06 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2084.06 s
[opt-env-conf-test] ]
2084.06 s
[opt-env-conf-test] in case afters of
2084.06 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2084.06 s
[opt-env-conf-test] [] -> switchCase
2084.07 s
[opt-env-conf-test] (Dead : _) -> switchCase
2084.07 s
[opt-env-conf-test] (Live a' : rest) ->
2084.07 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
2084.07 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2084.07 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2084.07 s
[opt-env-conf-test] -- * The dashed is an argument
2084.07 s
[opt-env-conf-test] ( case a' of
2084.07 s
[opt-env-conf-test] ArgDashed {} ->
2084.07 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2084.07 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2084.07 s
[opt-env-conf-test] ]
2084.07 s
[opt-env-conf-test] _ ->
2084.07 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2084.07 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2084.07 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2084.07 s
[opt-env-conf-test] ]
2084.07 s
[opt-env-conf-test] )
2084.07 s
[opt-env-conf-test]
2084.07 s
[opt-env-conf-test] -- | Consume an option.
2084.07 s
[opt-env-conf-test] --
2084.07 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
2084.07 s
[opt-env-conf-test] @@ -143,69 +143,68 @@
2084.07 s
[opt-env-conf-test] in case firstArg of
2084.07 s
[opt-env-conf-test] -- Skip any dead argument
2084.07 s
[opt-env-conf-test] Dead -> consumeArgument consumed
2084.07 s
[opt-env-conf-test] Live a -> case a of
2084.07 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2084.07 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
2084.07 s
[opt-env-conf-test] -- A single dash is always an argument
2084.07 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2084.07 s
[opt-env-conf-test] -- Bare double-dash
2084.07 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2084.07 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2084.07 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2084.07 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2084.07 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2084.07 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2084.07 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2084.07 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2084.07 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2084.07 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2084.07 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2084.08 s
[opt-env-conf-test] -- pop the args as they come.
2084.08 s
[opt-env-conf-test] _ ->
2084.08 s
[opt-env-conf-test] let go = \case
2084.08 s
[opt-env-conf-test] [] -> Nothing
2084.08 s
[opt-env-conf-test] (Dead : rest) -> go rest
2084.08 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2084.08 s
[opt-env-conf-test] in case go afters of
2084.08 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2084.08 s
[opt-env-conf-test] Just (firstLive, rest) ->
2084.08 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2084.08 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2084.08 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2084.08 s
[opt-env-conf-test] -- arguments.
2085.22 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2085.22 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2085.22 s
[opt-env-conf-test] )
2085.22 s
[opt-env-conf-test] ]
2085.22 s
[opt-env-conf-test] ArgDashed {} ->
2085.22 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2085.22 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2085.22 s
[opt-env-conf-test] -- * The dashed is an argument
2085.22 s
[opt-env-conf-test] -- TODO we need to continue looking too
2085.22 s
[opt-env-conf-test] let switchCase =
2085.22 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2085.22 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2085.22 s
[opt-env-conf-test] ]
2085.22 s
[opt-env-conf-test] in case afters of
2085.22 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2085.22 s
[opt-env-conf-test] [] -> switchCase
2085.22 s
[opt-env-conf-test] (Dead : _) -> switchCase
2085.22 s
[opt-env-conf-test] (Live a' : rest) ->
2085.22 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
2085.22 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2085.22 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2085.22 s
[opt-env-conf-test] -- * The dashed is an argument
2085.22 s
[opt-env-conf-test] ( case a' of
2085.22 s
[opt-env-conf-test] ArgDashed {} ->
2085.22 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
2085.22 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2085.22 s
[opt-env-conf-test] ]
2085.22 s
[opt-env-conf-test] _ ->
2085.22 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2085.22 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2085.22 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2085.22 s
[opt-env-conf-test] ]
2085.22 s
[opt-env-conf-test] )
2085.22 s
[opt-env-conf-test]
2085.23 s
[opt-env-conf-test] -- | Consume an option.
2085.23 s
[opt-env-conf-test] --
2085.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
2085.23 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
2085.23 s
[opt-env-conf-test] -- A single dash is always an argument
2085.23 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2085.23 s
[opt-env-conf-test] -- Bare double-dash
2085.23 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2085.23 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2085.23 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
2085.23 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2085.23 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2085.23 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2085.23 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2085.23 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2085.23 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2085.23 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2085.23 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2085.23 s
[opt-env-conf-test] -- pop the args as they come.
2085.23 s
[opt-env-conf-test] _ ->
2085.23 s
[opt-env-conf-test] let go = \case
2085.23 s
[opt-env-conf-test] [] -> Nothing
2085.23 s
[opt-env-conf-test] (Dead : rest) -> go rest
2085.23 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2085.23 s
[opt-env-conf-test] in case go afters of
2085.23 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2085.23 s
[opt-env-conf-test] Just (firstLive, rest) ->
2085.23 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2085.23 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2085.23 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2085.23 s
[opt-env-conf-test] -- arguments.
2085.23 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2085.23 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2085.23 s
[opt-env-conf-test] )
2085.23 s
[opt-env-conf-test] ]
2085.23 s
[opt-env-conf-test] ArgDashed {} ->
2089.91 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2089.96 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2089.96 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-42
2089.96 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
2089.96 s
[opt-env-conf-test] Maybe String
2089.96 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
2089.97 s
[opt-env-conf-test] (c :| rest)
2089.97 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
2089.97 s
[opt-env-conf-test] + | n o t ( c `elem` dasheds && not (null rest) ) ->
2089.97 s
[opt-env-conf-test] Just rest
2089.97 s
[opt-env-conf-test] _ -> Nothing
2089.97 s
[opt-env-conf-test]
2089.97 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
2089.97 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
2089.97 s
[opt-env-conf-test] renderArg = \case
2089.97 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
2089.97 s
[opt-env-conf-test] ArgBareDash -> "-"
2089.97 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
2089.97 s
[opt-env-conf-test] + ArgDashed l cs -> (if T r u e then "--" else "-") <> NE.toList cs
2089.97 s
[opt-env-conf-test] ArgPlain a -> a
2089.97 s
[opt-env-conf-test]
2089.97 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
2089.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
2089.97 s
[opt-env-conf-test] @@ -166,17 +166,16 @@
2089.97 s
[opt-env-conf-test] [] -> Nothing
2089.97 s
[opt-env-conf-test] (Dead : rest) -> go rest
2089.97 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2089.97 s
[opt-env-conf-test] in case go afters of
2089.97 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
2089.97 s
[opt-env-conf-test] Just (firstLive, rest) ->
2089.97 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2089.97 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2089.97 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2089.97 s
[opt-env-conf-test] -- arguments.
2089.97 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2089.97 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2089.97 s
[opt-env-conf-test] )
2089.97 s
[opt-env-conf-test] ]
2089.97 s
[opt-env-conf-test] ArgDashed {} ->
2089.97 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2089.97 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2089.97 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:154:25-34
2089.97 s
[opt-env-conf-test] @@ -151,7 +151,7 @@
2089.97 s
[opt-env-conf-test] -- Bare double-dash
2089.97 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2089.97 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2089.97 s
[opt-env-conf-test] - [] -> [( J u s t " -- " , consumed)]
2089.97 s
[opt-env-conf-test] + [] -> [( No t hing , consumed)]
2089.97 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2089.97 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2089.97 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2089.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
2089.97 s
[opt-env-conf-test] @@ -166,17 +166,8 @@
2089.97 s
[opt-env-conf-test] [] -> Nothing
2089.98 s
[opt-env-conf-test] (Dead : rest) -> go rest
2089.98 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2089.98 s
[opt-env-conf-test] in case go afters of
2089.98 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2089.98 s
[opt-env-conf-test] - Just (firstLive, rest) ->
2089.98 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
2089.98 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
2089.98 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
2089.98 s
[opt-env-conf-test] - -- arguments.
2089.98 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
2089.98 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
2089.98 s
[opt-env-conf-test] - )
2089.98 s
[opt-env-conf-test] - ]
2089.98 s
[opt-env-conf-test] ArgDashed {} ->
2089.98 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2089.98 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2089.98 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:258:6-12
2089.98 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
2089.98 s
[opt-env-conf-test] NonEmpty Char ->
2089.98 s
[opt-env-conf-test] Maybe String
2089.98 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
2089.98 s
[opt-env-conf-test] - if isLong
2089.98 s
[opt-env-conf-test] + if n o t ( isLong )
2089.98 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
2089.98 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
2089.98 s
[opt-env-conf-test]
2089.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
2089.98 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
2089.98 s
[opt-env-conf-test] renderArg = \case
2089.98 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
2089.98 s
[opt-env-conf-test] ArgBareDash -> "-"
2089.98 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
2089.98 s
[opt-env-conf-test] + ArgDashed l cs -> (if F a l s e then "--" else "-") <> NE.toList cs
2089.98 s
[opt-env-conf-test] ArgPlain a -> a
2089.98 s
[opt-env-conf-test]
2089.98 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
2089.98 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:168:45-60
2089.98 s
[opt-env-conf-test] @@ -165,7 +165,7 @@
2089.98 s
[opt-env-conf-test] let go = \case
2089.98 s
[opt-env-conf-test] [] -> Nothing
2089.98 s
[opt-env-conf-test] (Dead : rest) -> go rest
2089.98 s
[opt-env-conf-test] - (Live a' : rest) -> J u st (a', r es t )
2089.98 s
[opt-env-conf-test] + (Live a' : rest) -> No t hin g
2089.98 s
[opt-env-conf-test] in case go afters of
2089.98 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2089.98 s
[opt-env-conf-test] Just (firstLive, rest) ->
2089.98 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:148:35-45
2089.98 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
2089.98 s
[opt-env-conf-test] Dead -> consumeArgument consumed
2089.98 s
[opt-env-conf-test] Live a -> case a of
2089.98 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2089.98 s
[opt-env-conf-test] - ArgPlain plain -> [( J u s t pl a in , consumed)]
2089.98 s
[opt-env-conf-test] + ArgPlain plain -> [( No t h in g , consumed)]
2089.98 s
[opt-env-conf-test] -- A single dash is always an argument
2089.98 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2089.98 s
[opt-env-conf-test] -- Bare double-dash
2089.98 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:187:31-49
2089.98 s
[opt-env-conf-test] @@ -184,7 +184,7 @@
2089.98 s
[opt-env-conf-test] -- TODO we need to continue looking too
2089.98 s
[opt-env-conf-test] let switchCase =
2089.99 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2089.99 s
[opt-env-conf-test] - ++ [ ( J us t (r e n d e rA r g a ) , consumed)
2089.99 s
[opt-env-conf-test] + ++ [ ( N o t hi n g , consumed)
2089.99 s
[opt-env-conf-test] ]
2089.99 s
[opt-env-conf-test] in case afters of
2089.99 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2089.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
2089.99 s
[opt-env-conf-test] @@ -186,26 +186,10 @@
2089.99 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
2089.99 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
2089.99 s
[opt-env-conf-test] ]
2089.99 s
[opt-env-conf-test] in case afters of
2089.99 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
2089.99 s
[opt-env-conf-test] [] -> switchCase
2089.99 s
[opt-env-conf-test] (Dead : _) -> switchCase
2089.99 s
[opt-env-conf-test] - (Live a' : rest) ->
2089.99 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
2089.99 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
2089.99 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
2089.99 s
[opt-env-conf-test] - -- * The dashed is an argument
2089.99 s
[opt-env-conf-test] - ( case a' of
2089.99 s
[opt-env-conf-test] - ArgDashed {} ->
2089.99 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
2089.99 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2089.99 s
[opt-env-conf-test] - ]
2089.99 s
[opt-env-conf-test] - _ ->
2096.60 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2096.62 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2096.62 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
2096.62 s
[opt-env-conf-test] - ]
2096.62 s
[opt-env-conf-test] - )
2096.62 s
[opt-env-conf-test]
2096.62 s
[opt-env-conf-test] -- | Consume an option.
2096.62 s
[opt-env-conf-test] --
2096.62 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:89:25-26
2096.62 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
2096.62 s
[opt-env-conf-test] renderArg = \case
2096.62 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
2096.62 s
[opt-env-conf-test] ArgBareDash -> "-"
2096.63 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
2096.63 s
[opt-env-conf-test] + ArgDashed l cs -> (if n o t ( l ) then "--" else "-") <> NE.toList cs
2096.63 s
[opt-env-conf-test] ArgPlain a -> a
2096.63 s
[opt-env-conf-test]
2096.63 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
2096.63 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
2096.63 s
[opt-env-conf-test] @@ -130,10 +130,9 @@
2096.63 s
[opt-env-conf-test] -- things like a default command.
2096.63 s
[opt-env-conf-test] let addConsumeNothing = \case
2096.63 s
[opt-env-conf-test] [] -> [(Nothing, as)]
2096.63 s
[opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
2096.63 s
[opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
2096.63 s
[opt-env-conf-test] Nothing -> r
2096.63 s
[opt-env-conf-test] - Just _ -> t : addConsumeNothing rest
2096.63 s
[opt-env-conf-test]
2096.63 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
2096.63 s
[opt-env-conf-test] [] -> []
2096.63 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:226:34-72
2096.63 s
[opt-env-conf-test] @@ -223,7 +223,7 @@
2096.63 s
[opt-env-conf-test] Nothing ->
2096.63 s
[opt-env-conf-test] -- TODO option value on the border
2096.63 s
[opt-env-conf-test] case go (argsAfter as) of
2096.63 s
[opt-env-conf-test] - Just (val, newAfters) -> J u s t (v al, as {ar g sAfter = newAfters})
2096.63 s
[opt-env-conf-test] + Just (val, newAfters) -> No t h in g
2096.63 s
[opt-env-conf-test] Nothing -> Nothing
2096.63 s
[opt-env-conf-test] where
2096.63 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
2096.63 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
2096.63 s
[opt-env-conf-test] @@ -195,16 +195,12 @@
2096.63 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
2096.63 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
2096.63 s
[opt-env-conf-test] -- * The dashed is an argument
2096.63 s
[opt-env-conf-test] ( case a' of
2096.63 s
[opt-env-conf-test] - ArgDashed {} ->
2096.63 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
2096.63 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
2096.63 s
[opt-env-conf-test] - ]
2096.63 s
[opt-env-conf-test] _ ->
2096.63 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2096.63 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2096.63 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2096.63 s
[opt-env-conf-test] ]
2096.63 s
[opt-env-conf-test] )
2096.63 s
[opt-env-conf-test]
2096.63 s
[opt-env-conf-test] -- | Consume an option.
2096.63 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
2096.63 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
2096.63 s
[opt-env-conf-test] Nothing ->
2096.63 s
[opt-env-conf-test] case rest of
2096.63 s
[opt-env-conf-test] (Live v : rest') ->
2096.63 s
[opt-env-conf-test] - case consumeDashedOption dasheds i s Lo n g cs of
2096.63 s
[opt-env-conf-test] + case consumeDashedOption dasheds F a l s e cs of
2096.63 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2096.63 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2096.63 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2096.63 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
2096.63 s
[opt-env-conf-test] @@ -202,9 +202,8 @@
2096.63 s
[opt-env-conf-test] ]
2096.63 s
[opt-env-conf-test] _ ->
2096.63 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
2096.63 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
2096.63 s
[opt-env-conf-test] (Just (renderArg a), consumed)
2096.63 s
[opt-env-conf-test] ]
2096.63 s
[opt-env-conf-test] )
2096.63 s
[opt-env-conf-test]
2096.63 s
[opt-env-conf-test] -- | Consume an option.
2096.63 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:222:31-71
2096.63 s
[opt-env-conf-test] @@ -219,7 +219,7 @@
2096.63 s
[opt-env-conf-test] consumeOption :: [Dashed] -> Args -> Maybe (String, Args)
2096.63 s
[opt-env-conf-test] consumeOption dasheds as = do
2096.63 s
[opt-env-conf-test] case go (argsBefore as) of
2096.63 s
[opt-env-conf-test] - Just (val, newBefores) -> J u s t (val, as {a r g s Before = newBefores})
2096.64 s
[opt-env-conf-test] + Just (val, newBefores) -> No t hin g
2096.64 s
[opt-env-conf-test] Nothing ->
2096.64 s
[opt-env-conf-test] -- TODO option value on the border
2096.64 s
[opt-env-conf-test] case go (argsAfter as) of
2096.64 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:245:54-60
2096.64 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
2096.64 s
[opt-env-conf-test] Nothing ->
2096.64 s
[opt-env-conf-test] case rest of
2096.64 s
[opt-env-conf-test] (Live v : rest') ->
2096.64 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
2096.64 s
[opt-env-conf-test] + case consumeDashedOption dasheds n o t ( isLong ) cs of
2096.64 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2096.64 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2096.64 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2096.64 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:241:25-46
2096.64 s
[opt-env-conf-test] @@ -238,7 +238,7 @@
2096.64 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2096.64 s
[opt-env-conf-test] ArgDashed isLong cs ->
2096.64 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2096.64 s
[opt-env-conf-test] - Just v -> J us t ( v, Dea d : re s t )
2096.64 s
[opt-env-conf-test] + Just v -> No t h ing
2096.64 s
[opt-env-conf-test] Nothing ->
2096.64 s
[opt-env-conf-test] case rest of
2096.64 s
[opt-env-conf-test] (Live v : rest') ->
2096.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
2096.64 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
2096.64 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2096.64 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2096.64 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2096.64 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s L on g cs') : Dead : rest')
2096.64 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed Tru e cs') : Dead : rest')
2096.64 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2096.64 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2096.64 s
[opt-env-conf-test]
2096.64 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:248:77-83
2096.64 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
2096.64 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2096.64 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2096.64 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2096.64 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2096.64 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed n o t ( isLong ) cs') : Dead : rest')
2096.64 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2096.64 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2096.64 s
[opt-env-conf-test]
2096.64 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:248:42-104
2096.64 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
2096.64 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2096.64 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2096.64 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2096.64 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')
2096.64 s
[opt-env-conf-test] + Just (Just cs') -> N o t h i ng
2096.64 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2096.64 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2096.64 s
[opt-env-conf-test]
2096.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
2096.64 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
2097.09 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2097.09 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2097.09 s
[opt-env-conf-test] ArgDashed isLong cs ->
2097.09 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds i s Lo n g cs of
2097.09 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds F a l s e cs of
2097.10 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2097.10 s
[opt-env-conf-test] Nothing ->
2097.10 s
[opt-env-conf-test] case rest of
2097.10 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
2097.10 s
[opt-env-conf-test] @@ -149,34 +149,18 @@
2097.10 s
[opt-env-conf-test] -- A single dash is always an argument
2097.10 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2097.10 s
[opt-env-conf-test] -- Bare double-dash
2097.10 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2097.10 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2097.10 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2097.10 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2097.10 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2097.10 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2097.10 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2097.10 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
2097.10 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2097.10 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2097.10 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2097.10 s
[opt-env-conf-test] -- pop the args as they come.
2097.10 s
[opt-env-conf-test] - _ ->
2097.10 s
[opt-env-conf-test] - let go = \case
2097.10 s
[opt-env-conf-test] - [] -> Nothing
2097.10 s
[opt-env-conf-test] - (Dead : rest) -> go rest
2097.10 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
2097.10 s
[opt-env-conf-test] - in case go afters of
2097.10 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
2097.10 s
[opt-env-conf-test] - Just (firstLive, rest) ->
2097.10 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
2097.10 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
2097.10 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
2097.10 s
[opt-env-conf-test] - -- arguments.
2097.10 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
2097.10 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
2097.10 s
[opt-env-conf-test] - )
2100.15 s
[opt-env-conf-test] - ]
2100.15 s
[opt-env-conf-test] ArgDashed {} ->
2100.15 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2100.15 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2100.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
2100.15 s
[opt-env-conf-test] @@ -237,16 +237,15 @@
2100.15 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2100.15 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2100.15 s
[opt-env-conf-test] ArgDashed isLong cs ->
2100.15 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2100.15 s
[opt-env-conf-test] - Just v -> Just (v, Dead : rest)
2100.15 s
[opt-env-conf-test] Nothing ->
2100.15 s
[opt-env-conf-test] case rest of
2100.15 s
[opt-env-conf-test] (Live v : rest') ->
2100.15 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2100.15 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2100.15 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2100.15 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2100.15 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2100.15 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2100.15 s
[opt-env-conf-test]
2100.15 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2100.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
2100.15 s
[opt-env-conf-test] @@ -237,16 +237,8 @@
2100.15 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2100.15 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2100.15 s
[opt-env-conf-test] ArgDashed isLong cs ->
2100.15 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2100.15 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2100.15 s
[opt-env-conf-test] - Nothing ->
2100.15 s
[opt-env-conf-test] - case rest of
2100.15 s
[opt-env-conf-test] - (Live v : rest') ->
2100.15 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
2100.15 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
2100.15 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
2100.16 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2100.16 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
2100.16 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2100.16 s
[opt-env-conf-test]
2100.16 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2100.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
2100.16 s
[opt-env-conf-test] @@ -240,13 +240,12 @@
2100.16 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2100.16 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2100.16 s
[opt-env-conf-test] Nothing ->
2100.16 s
[opt-env-conf-test] case rest of
2100.16 s
[opt-env-conf-test] (Live v : rest') ->
2100.16 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2100.16 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2100.16 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2100.16 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2100.16 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
2100.16 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2100.16 s
[opt-env-conf-test]
2100.16 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2100.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
2100.16 s
[opt-env-conf-test] @@ -233,21 +233,10 @@
2100.16 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
2100.16 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
2100.16 s
[opt-env-conf-test] (Live k : rest) ->
2100.16 s
[opt-env-conf-test] case k of
2100.16 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2100.16 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2100.16 s
[opt-env-conf-test] - ArgDashed isLong cs ->
2100.16 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
2100.16 s
[opt-env-conf-test] - Just v -> Just (v, Dead : rest)
2100.16 s
[opt-env-conf-test] - Nothing ->
2100.16 s
[opt-env-conf-test] - case rest of
2100.16 s
[opt-env-conf-test] - (Live v : rest') ->
2100.16 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
2100.16 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
2100.16 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
2100.16 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2100.16 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
2100.16 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2100.16 s
[opt-env-conf-test]
2100.16 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2100.16 s
[opt-env-conf-test] [Dashed] ->
2100.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
2100.16 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
2100.16 s
[opt-env-conf-test] instance Validity Dashed
2100.16 s
[opt-env-conf-test]
2100.16 s
[opt-env-conf-test] instance IsString Dashed where
2100.16 s
[opt-env-conf-test] fromString s = case fromString s of
2100.16 s
[opt-env-conf-test] - ArgDashed True cs -> DashedLong cs
2100.16 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
2100.16 s
[opt-env-conf-test] _ -> error "Invalid dashed"
2100.16 s
[opt-env-conf-test]
2100.16 s
[opt-env-conf-test] renderDashed :: Dashed -> String
2100.16 s
[opt-env-conf-test] renderDashed = \case
2100.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
2100.16 s
[opt-env-conf-test] @@ -74,9 +74,8 @@
2100.16 s
[opt-env-conf-test]
2100.16 s
[opt-env-conf-test] parseArg :: String -> Arg
2100.16 s
[opt-env-conf-test] parseArg = \case
2100.16 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
2100.16 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
2100.16 s
[opt-env-conf-test] - Just ne -> ArgDashed True ne
2100.16 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2100.16 s
[opt-env-conf-test] Nothing -> ArgBareDash
2100.16 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
2100.16 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:82:26-31
2100.16 s
[opt-env-conf-test] @@ -79,7 +79,7 @@
2100.16 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
2100.16 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2100.16 s
[opt-env-conf-test] Nothing -> ArgBareDash
2100.16 s
[opt-env-conf-test] - Just ne -> ArgDashed F al s e ne
2100.16 s
[opt-env-conf-test] + Just ne -> ArgDashed T ru e ne
2100.16 s
[opt-env-conf-test] s -> ArgPlain s
2100.16 s
[opt-env-conf-test]
2100.16 s
[opt-env-conf-test] renderArg :: Arg -> String
2100.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
2100.17 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
2100.17 s
[opt-env-conf-test] instance Validity Dashed
2100.17 s
[opt-env-conf-test]
2100.17 s
[opt-env-conf-test] instance IsString Dashed where
2100.17 s
[opt-env-conf-test] fromString s = case fromString s of
2100.17 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
2100.17 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
2100.17 s
[opt-env-conf-test] - _ -> error "Invalid dashed"
2100.17 s
[opt-env-conf-test]
2100.17 s
[opt-env-conf-test] renderDashed :: Dashed -> String
2100.17 s
[opt-env-conf-test] renderDashed = \case
2100.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
2100.17 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
2100.17 s
[opt-env-conf-test] instance Validity Dashed
2100.17 s
[opt-env-conf-test]
2100.17 s
[opt-env-conf-test] instance IsString Dashed where
2100.17 s
[opt-env-conf-test] fromString s = case fromString s of
2100.17 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
2100.17 s
[opt-env-conf-test] - ArgDashed False (c :| []) -> DashedShort c
2100.17 s
[opt-env-conf-test] _ -> error "Invalid dashed"
2100.17 s
[opt-env-conf-test]
2100.17 s
[opt-env-conf-test] renderDashed :: Dashed -> String
2100.17 s
[opt-env-conf-test] renderDashed = \case
2100.17 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:387:23-41
2100.17 s
[opt-env-conf-test] @@ -384,7 +384,7 @@
2100.17 s
[opt-env-conf-test] live =
2100.17 s
[opt-env-conf-test] mapMaybe
2100.17 s
[opt-env-conf-test] ( \case
2100.17 s
[opt-env-conf-test] - Live a -> J us t (r e n d e rA r g a)
2100.17 s
[opt-env-conf-test] + Live a -> N o t hi n g
2100.17 s
[opt-env-conf-test] Dead -> Nothing
2100.17 s
[opt-env-conf-test] )
2100.17 s
[opt-env-conf-test]
2100.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
2100.17 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
2100.17 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
2100.17 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
2100.17 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
2100.17 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2100.17 s
[opt-env-conf-test] - Nothing -> ArgBareDash
2100.17 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
2100.17 s
[opt-env-conf-test] s -> ArgPlain s
2100.17 s
[opt-env-conf-test]
2100.17 s
[opt-env-conf-test] renderArg :: Arg -> String
2100.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
2100.17 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
2100.17 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
2100.17 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
2100.17 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
2100.17 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2100.17 s
[opt-env-conf-test] Nothing -> ArgBareDash
2100.17 s
[opt-env-conf-test] - Just ne -> ArgDashed False ne
2100.17 s
[opt-env-conf-test] s -> ArgPlain s
2100.17 s
[opt-env-conf-test]
2100.17 s
[opt-env-conf-test] renderArg :: Arg -> String
2100.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
2100.17 s
[opt-env-conf-test] @@ -233,21 +233,20 @@
2100.17 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
2100.17 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
2100.17 s
[opt-env-conf-test] (Live k : rest) ->
2100.17 s
[opt-env-conf-test] case k of
2100.17 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2100.17 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2100.17 s
[opt-env-conf-test] ArgDashed isLong cs ->
2100.17 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2100.17 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2100.17 s
[opt-env-conf-test] Nothing ->
2100.17 s
[opt-env-conf-test] case rest of
2100.17 s
[opt-env-conf-test] (Live v : rest') ->
2100.17 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2100.17 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2100.17 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2100.17 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2100.17 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2100.17 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
2100.17 s
[opt-env-conf-test]
2100.17 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2100.17 s
[opt-env-conf-test] [Dashed] ->
2100.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
2100.17 s
[opt-env-conf-test] @@ -74,9 +74,8 @@
2100.17 s
[opt-env-conf-test]
2103.99 s
[opt-env-conf-test] parseArg :: String -> Arg
2103.99 s
[opt-env-conf-test] parseArg = \case
2103.99 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
2104.06 s
[opt-env-conf-test] - Nothing -> ArgBareDoubleDash
2104.06 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
2104.06 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2104.06 s
[opt-env-conf-test] Nothing -> ArgBareDash
2104.06 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
2104.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
2104.06 s
[opt-env-conf-test] @@ -233,21 +233,20 @@
2104.06 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
2104.06 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
2104.06 s
[opt-env-conf-test] (Live k : rest) ->
2104.06 s
[opt-env-conf-test] case k of
2104.06 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2104.06 s
[opt-env-conf-test] - ArgBareDoubleDash -> Nothing
2104.06 s
[opt-env-conf-test] ArgDashed isLong cs ->
2104.06 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2104.06 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2104.06 s
[opt-env-conf-test] Nothing ->
2104.06 s
[opt-env-conf-test] case rest of
2104.06 s
[opt-env-conf-test] (Live v : rest') ->
2104.06 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2104.06 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2104.06 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2104.07 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2104.07 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2104.07 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2104.07 s
[opt-env-conf-test]
2104.07 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2104.07 s
[opt-env-conf-test] [Dashed] ->
2104.07 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
2104.07 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2104.07 s
[opt-env-conf-test] mconcat
2104.07 s
[opt-env-conf-test] [ genericValidate arg,
2104.07 s
[opt-env-conf-test] case arg of
2104.07 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2104.07 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ F a ls e
2104.07 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2104.07 s
[opt-env-conf-test] ('-' : _) -> False
2104.07 s
[opt-env-conf-test] _ -> True
2104.07 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:67:26-31
2104.07 s
[opt-env-conf-test] @@ -64,7 +64,7 @@
2104.07 s
[opt-env-conf-test] case arg of
2104.07 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2104.07 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2104.07 s
[opt-env-conf-test] - ('-' : _) -> F al s e
2104.07 s
[opt-env-conf-test] + ('-' : _) -> T ru e
2104.07 s
[opt-env-conf-test] _ -> True
2104.07 s
[opt-env-conf-test] _ -> valid
2104.07 s
[opt-env-conf-test] ]
2104.07 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:79:26-30
2104.07 s
[opt-env-conf-test] @@ -76,7 +76,7 @@
2104.07 s
[opt-env-conf-test] parseArg = \case
2104.07 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
2104.07 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
2104.07 s
[opt-env-conf-test] - Just ne -> ArgDashed Tr u e ne
2104.07 s
[opt-env-conf-test] + Just ne -> ArgDashed F a ls e ne
2104.07 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
2104.07 s
[opt-env-conf-test] Nothing -> ArgBareDash
2104.07 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
2104.07 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:65:103-111
2104.07 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2104.07 s
[opt-env-conf-test] mconcat
2104.07 s
[opt-env-conf-test] [ genericValidate arg,
2104.07 s
[opt-env-conf-test] case arg of
2104.07 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2104.07 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ n o t ( c /= '-' )
2104.07 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2104.07 s
[opt-env-conf-test] ('-' : _) -> False
2104.07 s
[opt-env-conf-test] _ -> True
2104.07 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:68:18-22
2104.07 s
[opt-env-conf-test] @@ -65,7 +65,7 @@
2104.07 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2104.07 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2104.07 s
[opt-env-conf-test] ('-' : _) -> False
2104.07 s
[opt-env-conf-test] - _ -> Tr u e
2104.07 s
[opt-env-conf-test] + _ -> F a ls e
2104.07 s
[opt-env-conf-test] _ -> valid
2104.07 s
[opt-env-conf-test] ]
2104.08 s
[opt-env-conf-test]
2104.08 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
2104.08 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2104.08 s
[opt-env-conf-test] mconcat
2104.08 s
[opt-env-conf-test] [ genericValidate arg,
2104.08 s
[opt-env-conf-test] case arg of
2104.08 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= ' - '
2104.08 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ T rue
2104.08 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2104.08 s
[opt-env-conf-test] ('-' : _) -> False
2104.08 s
[opt-env-conf-test] _ -> True
2104.08 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
2104.08 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
2104.08 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2104.08 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2104.08 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2104.08 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s Lo n g cs') : Dead : rest')
2104.08 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed F a l s e cs') : Dead : rest')
2104.08 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2104.08 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2104.08 s
[opt-env-conf-test]
2104.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
2104.08 s
[opt-env-conf-test] @@ -90,7 +90,6 @@
2104.08 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2104.08 s
[opt-env-conf-test] ]
2104.08 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2104.08 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
2104.08 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2104.08 s
[opt-env-conf-test] [ "Missing argument: "
2104.08 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2104.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
2104.08 s
[opt-env-conf-test] @@ -90,7 +90,6 @@
2104.08 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2104.08 s
[opt-env-conf-test] ]
2104.08 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2104.08 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
2104.08 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2104.08 s
[opt-env-conf-test] [ "Missing argument: "
2104.08 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2104.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
2104.08 s
[opt-env-conf-test] @@ -124,7 +124,6 @@
2104.08 s
[opt-env-conf-test] ["Missing command, available commands:"]
2104.08 s
[opt-env-conf-test] : availableCommandsLines cs
2104.08 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2104.08 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2104.08 s
[opt-env-conf-test] [fore blue "available commands:"]
2104.08 s
[opt-env-conf-test] ]
2104.08 s
[opt-env-conf-test] ++ availableCommandsLines cs
2104.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
2104.08 s
[opt-env-conf-test] @@ -124,7 +124,6 @@
2104.08 s
[opt-env-conf-test] ["Missing command, available commands:"]
2104.08 s
[opt-env-conf-test] : availableCommandsLines cs
2104.08 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2104.08 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2104.08 s
[opt-env-conf-test] [fore blue "available commands:"]
2104.08 s
[opt-env-conf-test] ]
2104.08 s
[opt-env-conf-test] ++ availableCommandsLines cs
2104.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
2104.08 s
[opt-env-conf-test] @@ -124,9 +124,7 @@
2104.08 s
[opt-env-conf-test] ["Missing command, available commands:"]
2104.08 s
[opt-env-conf-test] : availableCommandsLines cs
2104.08 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2104.08 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2104.08 s
[opt-env-conf-test] - [fore blue "available commands:"]
2104.08 s
[opt-env-conf-test] ]
2104.08 s
[opt-env-conf-test] ++ availableCommandsLines cs
2104.08 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2104.08 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."],
2104.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
2104.08 s
[opt-env-conf-test] @@ -124,9 +124,8 @@
2104.08 s
[opt-env-conf-test] ["Missing command, available commands:"]
2104.08 s
[opt-env-conf-test] : availableCommandsLines cs
2104.08 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2104.08 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2104.08 s
[opt-env-conf-test] [fore blue "available commands:"]
2104.08 s
[opt-env-conf-test] ]
2104.08 s
[opt-env-conf-test] ++ availableCommandsLines cs
2104.08 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2105.15 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."],
2105.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
2105.15 s
[opt-env-conf-test] @@ -129,9 +129,7 @@
2105.15 s
[opt-env-conf-test] ]
2105.15 s
[opt-env-conf-test] ++ availableCommandsLines cs
2105.15 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2105.15 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."],
2105.15 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
2105.15 s
[opt-env-conf-test] ]
2105.15 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2105.15 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2105.15 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2105.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
2105.15 s
[opt-env-conf-test] @@ -129,9 +129,8 @@
2105.15 s
[opt-env-conf-test] ]
2105.15 s
[opt-env-conf-test] ++ availableCommandsLines cs
2105.15 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2105.15 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."],
2105.15 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2105.15 s
[opt-env-conf-test] ]
2105.15 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2105.15 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2105.15 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2105.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2105.15 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2105.15 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2105.15 s
[opt-env-conf-test] renderError ParseError {..} =
2105.15 s
[opt-env-conf-test] concat
2105.15 s
[opt-env-conf-test] [ case parseErrorMessage of
2105.15 s
[opt-env-conf-test] - ParseErrorEmpty ->
2105.15 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
2105.15 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2105.15 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2105.15 s
[opt-env-conf-test] ParseErrorNoReaders ->
2105.15 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2105.15 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2105.15 s
[opt-env-conf-test] ]
2105.16 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2105.16 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2105.16 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2105.16 s
[opt-env-conf-test] [ "Missing argument: "
2105.16 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2105.16 s
[opt-env-conf-test] ]
2105.16 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2105.16 s
[opt-env-conf-test] ["Failed to read argument: "]
2105.16 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.16 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.16 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2105.16 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.16 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2105.16 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.16 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2105.16 s
[opt-env-conf-test] ["Failed to read option: "]
2105.16 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.16 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.16 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2105.16 s
[opt-env-conf-test] ["Missing env var: "]
2105.16 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.16 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2105.16 s
[opt-env-conf-test] ["Failed to read env var: "]
2105.16 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.16 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.16 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2105.16 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2105.16 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2105.16 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2105.16 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2105.16 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2105.16 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2105.16 s
[opt-env-conf-test] ["Missing command, available commands:"]
2105.16 s
[opt-env-conf-test] : availableCommandsLines cs
2105.16 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2105.16 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2105.16 s
[opt-env-conf-test] [fore blue "available commands:"]
2105.16 s
[opt-env-conf-test] ]
2105.16 s
[opt-env-conf-test] ++ availableCommandsLines cs
2105.16 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2105.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."],
2105.16 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2105.16 s
[opt-env-conf-test] ]
2105.16 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2105.16 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2105.16 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2105.16 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2105.16 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2105.16 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2105.16 s
[opt-env-conf-test] ]
2105.16 s
[opt-env-conf-test]
2105.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2105.16 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2105.16 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2105.16 s
[opt-env-conf-test] renderError ParseError {..} =
2105.16 s
[opt-env-conf-test] concat
2105.16 s
[opt-env-conf-test] [ case parseErrorMessage of
2105.16 s
[opt-env-conf-test] ParseErrorEmpty ->
2105.16 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2105.16 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2105.16 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2105.16 s
[opt-env-conf-test] - ParseErrorNoReaders ->
2105.16 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2105.16 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
2105.16 s
[opt-env-conf-test] - ]
2105.16 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2105.16 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2105.16 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2105.16 s
[opt-env-conf-test] [ "Missing argument: "
2105.16 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2105.16 s
[opt-env-conf-test] ]
2105.16 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2105.16 s
[opt-env-conf-test] ["Failed to read argument: "]
2105.16 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.16 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.16 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2105.16 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.16 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2105.16 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.16 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2105.16 s
[opt-env-conf-test] ["Failed to read option: "]
2105.16 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.16 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.17 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2105.17 s
[opt-env-conf-test] ["Missing env var: "]
2105.17 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.17 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2105.17 s
[opt-env-conf-test] ["Failed to read env var: "]
2105.17 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.17 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.17 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2105.17 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2105.17 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2105.18 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2105.18 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2105.18 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2105.18 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2105.18 s
[opt-env-conf-test] ["Missing command, available commands:"]
2105.18 s
[opt-env-conf-test] : availableCommandsLines cs
2105.18 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2105.18 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2105.18 s
[opt-env-conf-test] [fore blue "available commands:"]
2105.18 s
[opt-env-conf-test] ]
2105.18 s
[opt-env-conf-test] ++ availableCommandsLines cs
2105.18 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2105.18 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."],
2105.18 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2105.18 s
[opt-env-conf-test] ]
2105.18 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2105.18 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2105.18 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2105.18 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2105.18 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2105.18 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2105.18 s
[opt-env-conf-test] ]
2105.18 s
[opt-env-conf-test]
2105.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2105.18 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2105.18 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2105.18 s
[opt-env-conf-test] renderError ParseError {..} =
2105.18 s
[opt-env-conf-test] concat
2105.18 s
[opt-env-conf-test] [ case parseErrorMessage of
2105.18 s
[opt-env-conf-test] ParseErrorEmpty ->
2105.18 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2105.18 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2105.18 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2105.18 s
[opt-env-conf-test] ParseErrorNoReaders ->
2105.18 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2105.18 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2105.18 s
[opt-env-conf-test] ]
2105.18 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
2105.18 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
2105.18 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2105.18 s
[opt-env-conf-test] [ "Missing argument: "
2105.18 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2105.18 s
[opt-env-conf-test] ]
2105.19 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2105.19 s
[opt-env-conf-test] ["Failed to read argument: "]
2105.19 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.19 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.19 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2105.19 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.19 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2105.19 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.19 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2105.19 s
[opt-env-conf-test] ["Failed to read option: "]
2105.19 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.19 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.19 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2105.19 s
[opt-env-conf-test] ["Missing env var: "]
2105.19 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.19 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2105.19 s
[opt-env-conf-test] ["Failed to read env var: "]
2105.19 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.19 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.19 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2105.19 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2105.19 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2105.19 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2105.19 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2105.19 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2105.19 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2105.19 s
[opt-env-conf-test] ["Missing command, available commands:"]
2105.19 s
[opt-env-conf-test] : availableCommandsLines cs
2105.19 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2105.19 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2105.19 s
[opt-env-conf-test] [fore blue "available commands:"]
2105.19 s
[opt-env-conf-test] ]
2105.19 s
[opt-env-conf-test] ++ availableCommandsLines cs
2105.19 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2105.19 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."],
2105.19 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2105.19 s
[opt-env-conf-test] ]
2105.19 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2105.19 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2105.19 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2105.19 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2105.19 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2105.19 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2105.19 s
[opt-env-conf-test] ]
2105.19 s
[opt-env-conf-test]
2105.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2105.19 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2105.19 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2105.19 s
[opt-env-conf-test] renderError ParseError {..} =
2105.19 s
[opt-env-conf-test] concat
2105.19 s
[opt-env-conf-test] [ case parseErrorMessage of
2105.19 s
[opt-env-conf-test] ParseErrorEmpty ->
2105.19 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2105.19 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2105.19 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2105.19 s
[opt-env-conf-test] ParseErrorNoReaders ->
2105.19 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2105.19 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2105.19 s
[opt-env-conf-test] ]
2105.19 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2105.19 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2105.19 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
2105.19 s
[opt-env-conf-test] - [ "Missing argument: "
2105.19 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
2105.20 s
[opt-env-conf-test] - ]
2105.20 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2105.20 s
[opt-env-conf-test] ["Failed to read argument: "]
2105.20 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.20 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.20 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2105.20 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.20 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2105.20 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.20 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2105.20 s
[opt-env-conf-test] ["Failed to read option: "]
2105.20 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.20 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.20 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2105.20 s
[opt-env-conf-test] ["Missing env var: "]
2105.20 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.20 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2105.20 s
[opt-env-conf-test] ["Failed to read env var: "]
2105.20 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.20 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.20 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2105.20 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2105.20 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2105.27 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2105.27 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2105.27 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2105.27 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2105.27 s
[opt-env-conf-test] ["Missing command, available commands:"]
2105.27 s
[opt-env-conf-test] : availableCommandsLines cs
2105.27 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2105.27 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2105.27 s
[opt-env-conf-test] [fore blue "available commands:"]
2105.27 s
[opt-env-conf-test] ]
2105.27 s
[opt-env-conf-test] ++ availableCommandsLines cs
2105.27 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2105.27 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."],
2105.27 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2105.27 s
[opt-env-conf-test] ]
2105.27 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2105.27 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2105.27 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2105.27 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2105.27 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2105.27 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2105.27 s
[opt-env-conf-test] ]
2105.27 s
[opt-env-conf-test]
2105.27 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
2105.27 s
[opt-env-conf-test] @@ -86,9 +86,8 @@
2105.27 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2105.27 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2105.27 s
[opt-env-conf-test] ParseErrorNoReaders ->
2105.27 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2105.27 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2105.27 s
[opt-env-conf-test] ]
2105.27 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2105.27 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2105.27 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2105.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2105.27 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2105.27 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2105.27 s
[opt-env-conf-test] renderError ParseError {..} =
2105.27 s
[opt-env-conf-test] concat
2105.27 s
[opt-env-conf-test] [ case parseErrorMessage of
2105.27 s
[opt-env-conf-test] ParseErrorEmpty ->
2105.27 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2105.27 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2105.27 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2105.27 s
[opt-env-conf-test] ParseErrorNoReaders ->
2105.27 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2105.27 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2105.27 s
[opt-env-conf-test] ]
2105.27 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2105.27 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2105.27 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2105.27 s
[opt-env-conf-test] [ "Missing argument: "
2105.27 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2105.28 s
[opt-env-conf-test] ]
2105.28 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
2105.28 s
[opt-env-conf-test] - ["Failed to read argument: "]
2105.28 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2105.28 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.28 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2105.28 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.28 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2105.28 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.28 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2105.28 s
[opt-env-conf-test] ["Failed to read option: "]
2105.28 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.28 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.28 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2105.28 s
[opt-env-conf-test] ["Missing env var: "]
2105.28 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.28 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2105.28 s
[opt-env-conf-test] ["Failed to read env var: "]
2105.28 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.28 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.28 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2105.28 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2105.28 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2105.79 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2105.79 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2105.79 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2105.79 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2105.79 s
[opt-env-conf-test] ["Missing command, available commands:"]
2105.79 s
[opt-env-conf-test] : availableCommandsLines cs
2105.79 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2105.79 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2105.79 s
[opt-env-conf-test] [fore blue "available commands:"]
2105.79 s
[opt-env-conf-test] ]
2105.79 s
[opt-env-conf-test] ++ availableCommandsLines cs
2105.79 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2105.79 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2105.79 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2105.79 s
[opt-env-conf-test] ]
2105.79 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2105.79 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2105.79 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2105.79 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2105.79 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2105.79 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2105.79 s
[opt-env-conf-test] ]
2105.79 s
[opt-env-conf-test]
2105.79 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2105.79 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2105.80 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2105.80 s
[opt-env-conf-test] renderError ParseError {..} =
2105.80 s
[opt-env-conf-test] concat
2105.80 s
[opt-env-conf-test] [ case parseErrorMessage of
2105.80 s
[opt-env-conf-test] ParseErrorEmpty ->
2105.80 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2105.80 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2105.80 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2105.80 s
[opt-env-conf-test] ParseErrorNoReaders ->
2105.80 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2105.80 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2105.80 s
[opt-env-conf-test] ]
2105.80 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2105.80 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2105.80 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2105.80 s
[opt-env-conf-test] [ "Missing argument: "
2105.80 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2105.80 s
[opt-env-conf-test] ]
2105.80 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2105.80 s
[opt-env-conf-test] ["Failed to read argument: "]
2105.80 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.80 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.80 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
2105.80 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.80 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2105.80 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.80 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2105.80 s
[opt-env-conf-test] ["Failed to read option: "]
2105.80 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.80 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.80 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2105.80 s
[opt-env-conf-test] ["Missing env var: "]
2105.80 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.80 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2105.80 s
[opt-env-conf-test] ["Failed to read env var: "]
2105.80 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.80 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.80 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2105.80 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2105.80 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2105.85 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2105.85 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2105.85 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2105.85 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2105.85 s
[opt-env-conf-test] ["Missing command, available commands:"]
2105.85 s
[opt-env-conf-test] : availableCommandsLines cs
2105.85 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2105.85 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2105.85 s
[opt-env-conf-test] [fore blue "available commands:"]
2105.85 s
[opt-env-conf-test] ]
2105.85 s
[opt-env-conf-test] ++ availableCommandsLines cs
2105.85 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2105.85 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."],
2105.85 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2105.85 s
[opt-env-conf-test] ]
2105.85 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2105.85 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2105.85 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2105.85 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2105.85 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2105.85 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2105.85 s
[opt-env-conf-test] ]
2105.85 s
[opt-env-conf-test]
2105.85 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
2105.85 s
[opt-env-conf-test] @@ -86,9 +86,7 @@
2105.85 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2105.85 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2105.85 s
[opt-env-conf-test] ParseErrorNoReaders ->
2105.85 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2105.85 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
2105.85 s
[opt-env-conf-test] ]
2105.85 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2105.85 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2105.85 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2105.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2105.85 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2105.85 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2105.85 s
[opt-env-conf-test] renderError ParseError {..} =
2105.85 s
[opt-env-conf-test] concat
2105.85 s
[opt-env-conf-test] [ case parseErrorMessage of
2105.85 s
[opt-env-conf-test] ParseErrorEmpty ->
2105.85 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2105.85 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2105.85 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2105.85 s
[opt-env-conf-test] ParseErrorNoReaders ->
2105.86 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2105.86 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2105.86 s
[opt-env-conf-test] ]
2105.86 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2105.86 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2105.86 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2105.86 s
[opt-env-conf-test] [ "Missing argument: "
2105.86 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2105.86 s
[opt-env-conf-test] ]
2105.86 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2105.86 s
[opt-env-conf-test] ["Failed to read argument: "]
2105.86 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.86 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.86 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2105.86 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.86 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2105.86 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.86 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
2105.86 s
[opt-env-conf-test] - ["Failed to read option: "]
2105.86 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2105.86 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.86 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2105.86 s
[opt-env-conf-test] ["Missing env var: "]
2105.86 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.86 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2105.86 s
[opt-env-conf-test] ["Failed to read env var: "]
2105.86 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.86 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.86 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2105.86 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2105.86 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2105.93 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2105.93 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2105.93 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2105.93 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2105.93 s
[opt-env-conf-test] ["Missing command, available commands:"]
2105.93 s
[opt-env-conf-test] : availableCommandsLines cs
2105.93 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2105.93 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2105.93 s
[opt-env-conf-test] [fore blue "available commands:"]
2105.93 s
[opt-env-conf-test] ]
2105.93 s
[opt-env-conf-test] ++ availableCommandsLines cs
2105.93 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2105.93 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."],
2105.93 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2105.93 s
[opt-env-conf-test] ]
2105.93 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2105.93 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2105.93 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2105.93 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2105.93 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2105.93 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2105.93 s
[opt-env-conf-test] ]
2105.93 s
[opt-env-conf-test]
2105.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2105.93 s
[opt-env-conf-test] @@ -80,63 +80,60 @@
2105.93 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2105.93 s
[opt-env-conf-test] renderError ParseError {..} =
2105.93 s
[opt-env-conf-test] concat
2105.93 s
[opt-env-conf-test] [ case parseErrorMessage of
2105.93 s
[opt-env-conf-test] ParseErrorEmpty ->
2105.93 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2105.93 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2105.93 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2105.93 s
[opt-env-conf-test] ParseErrorNoReaders ->
2105.93 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2105.93 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2105.93 s
[opt-env-conf-test] ]
2105.93 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2105.93 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2105.94 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2105.94 s
[opt-env-conf-test] [ "Missing argument: "
2105.94 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2105.94 s
[opt-env-conf-test] ]
2105.94 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2105.94 s
[opt-env-conf-test] ["Failed to read argument: "]
2105.94 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.94 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.94 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2105.94 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.94 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2105.94 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2105.94 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2105.94 s
[opt-env-conf-test] ["Failed to read option: "]
2105.94 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2105.94 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.94 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
2105.94 s
[opt-env-conf-test] - ["Missing env var: "]
2105.94 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2105.94 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2105.94 s
[opt-env-conf-test] ["Failed to read env var: "]
2105.94 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2105.94 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2105.94 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2105.94 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2105.94 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2106.05 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2106.05 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2106.05 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2106.05 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2106.05 s
[opt-env-conf-test] ["Missing command, available commands:"]
2106.05 s
[opt-env-conf-test] : availableCommandsLines cs
2106.05 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2106.05 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2106.05 s
[opt-env-conf-test] [fore blue "available commands:"]
2106.05 s
[opt-env-conf-test] ]
2106.05 s
[opt-env-conf-test] ++ availableCommandsLines cs
2106.05 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2106.05 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."],
2106.05 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2106.05 s
[opt-env-conf-test] ]
2106.05 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2106.05 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2106.05 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2106.05 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2106.05 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2106.05 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2106.05 s
[opt-env-conf-test] ]
2106.05 s
[opt-env-conf-test]
2106.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2106.05 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2106.05 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2106.05 s
[opt-env-conf-test] renderError ParseError {..} =
2106.05 s
[opt-env-conf-test] concat
2106.05 s
[opt-env-conf-test] [ case parseErrorMessage of
2106.05 s
[opt-env-conf-test] ParseErrorEmpty ->
2106.05 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2106.05 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2106.05 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2106.05 s
[opt-env-conf-test] ParseErrorNoReaders ->
2106.05 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2106.05 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2106.05 s
[opt-env-conf-test] ]
2106.05 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2106.05 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2106.05 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2106.05 s
[opt-env-conf-test] [ "Missing argument: "
2106.05 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2106.05 s
[opt-env-conf-test] ]
2106.05 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2106.05 s
[opt-env-conf-test] ["Failed to read argument: "]
2106.05 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2106.05 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.05 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2106.05 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2106.05 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2106.05 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2106.05 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2106.05 s
[opt-env-conf-test] ["Failed to read option: "]
2106.05 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2106.05 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.06 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2106.06 s
[opt-env-conf-test] ["Missing env var: "]
2106.06 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2106.06 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
2106.06 s
[opt-env-conf-test] - ["Failed to read env var: "]
2106.06 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2106.06 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.06 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2106.06 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2106.06 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2106.73 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2106.73 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2106.73 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2106.73 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2106.73 s
[opt-env-conf-test] ["Missing command, available commands:"]
2106.73 s
[opt-env-conf-test] : availableCommandsLines cs
2106.73 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2106.73 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2106.73 s
[opt-env-conf-test] [fore blue "available commands:"]
2106.73 s
[opt-env-conf-test] ]
2106.73 s
[opt-env-conf-test] ++ availableCommandsLines cs
2106.73 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2106.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."],
2106.73 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2106.73 s
[opt-env-conf-test] ]
2106.73 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2106.74 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2106.74 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2106.74 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2106.74 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2106.74 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2106.74 s
[opt-env-conf-test] ]
2106.74 s
[opt-env-conf-test]
2106.74 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
2106.74 s
[opt-env-conf-test] @@ -142,7 +142,6 @@
2106.74 s
[opt-env-conf-test]
2106.74 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
2106.74 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
2106.74 s
[opt-env-conf-test] - [ commandChunk commandDocArgument,
2106.74 s
[opt-env-conf-test] ": ",
2106.74 s
[opt-env-conf-test] helpChunk commandDocHelp
2106.74 s
[opt-env-conf-test] ]
2106.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2106.74 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2106.74 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2106.74 s
[opt-env-conf-test] renderError ParseError {..} =
2106.74 s
[opt-env-conf-test] concat
2106.74 s
[opt-env-conf-test] [ case parseErrorMessage of
2106.74 s
[opt-env-conf-test] ParseErrorEmpty ->
2106.74 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2106.74 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2106.74 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2106.74 s
[opt-env-conf-test] ParseErrorNoReaders ->
2106.74 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2106.74 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2106.74 s
[opt-env-conf-test] ]
2106.74 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2106.74 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2106.74 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2106.74 s
[opt-env-conf-test] [ "Missing argument: "
2106.74 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2106.74 s
[opt-env-conf-test] ]
2106.74 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2106.74 s
[opt-env-conf-test] ["Failed to read argument: "]
2106.74 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2106.74 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.74 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2106.74 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2106.74 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2106.74 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2106.74 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2106.74 s
[opt-env-conf-test] ["Failed to read option: "]
2106.74 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2106.74 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.74 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2106.74 s
[opt-env-conf-test] ["Missing env var: "]
2106.74 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2106.74 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2106.74 s
[opt-env-conf-test] ["Failed to read env var: "]
2106.74 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2106.74 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.74 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2106.74 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2106.74 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
2106.82 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
2106.82 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
2106.82 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
2106.82 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2106.82 s
[opt-env-conf-test] ["Missing command, available commands:"]
2106.82 s
[opt-env-conf-test] : availableCommandsLines cs
2106.82 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2106.82 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2106.82 s
[opt-env-conf-test] [fore blue "available commands:"]
2106.82 s
[opt-env-conf-test] ]
2106.82 s
[opt-env-conf-test] ++ availableCommandsLines cs
2106.82 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2106.82 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2106.82 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2106.82 s
[opt-env-conf-test] ]
2106.82 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2106.82 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2106.82 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2106.82 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2106.82 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2106.82 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2106.82 s
[opt-env-conf-test] ]
2106.82 s
[opt-env-conf-test]
2106.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2106.82 s
[opt-env-conf-test] @@ -80,63 +80,60 @@
2106.82 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2106.82 s
[opt-env-conf-test] renderError ParseError {..} =
2106.82 s
[opt-env-conf-test] concat
2106.82 s
[opt-env-conf-test] [ case parseErrorMessage of
2106.82 s
[opt-env-conf-test] ParseErrorEmpty ->
2106.82 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2106.82 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2106.82 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2106.82 s
[opt-env-conf-test] ParseErrorNoReaders ->
2106.82 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2106.82 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2106.82 s
[opt-env-conf-test] ]
2106.82 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2106.82 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2106.82 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2106.82 s
[opt-env-conf-test] [ "Missing argument: "
2106.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2106.83 s
[opt-env-conf-test] ]
2106.83 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2106.83 s
[opt-env-conf-test] ["Failed to read argument: "]
2106.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2106.83 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.83 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2106.83 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2106.83 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2106.83 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2106.83 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2106.83 s
[opt-env-conf-test] ["Failed to read option: "]
2106.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2106.83 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.83 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2106.83 s
[opt-env-conf-test] ["Missing env var: "]
2106.83 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2106.83 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2106.83 s
[opt-env-conf-test] ["Failed to read env var: "]
2106.83 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2106.83 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.83 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2106.83 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2106.83 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2106.83 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2106.93 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2106.93 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2106.93 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
2106.93 s
[opt-env-conf-test] - ["Missing command, available commands:"]
2106.93 s
[opt-env-conf-test] - : availableCommandsLines cs
2106.93 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2106.93 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2106.93 s
[opt-env-conf-test] [fore blue "available commands:"]
2106.93 s
[opt-env-conf-test] ]
2106.93 s
[opt-env-conf-test] ++ availableCommandsLines cs
2106.93 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2106.93 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."],
2106.93 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2106.93 s
[opt-env-conf-test] ]
2106.93 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2106.93 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2106.93 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2106.93 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2106.93 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2106.94 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2106.94 s
[opt-env-conf-test] ]
2106.94 s
[opt-env-conf-test]
2106.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2106.94 s
[opt-env-conf-test] @@ -80,63 +80,58 @@
2106.94 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2106.94 s
[opt-env-conf-test] renderError ParseError {..} =
2106.94 s
[opt-env-conf-test] concat
2106.94 s
[opt-env-conf-test] [ case parseErrorMessage of
2106.94 s
[opt-env-conf-test] ParseErrorEmpty ->
2106.94 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2106.94 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2106.94 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2106.94 s
[opt-env-conf-test] ParseErrorNoReaders ->
2106.94 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2106.94 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2106.94 s
[opt-env-conf-test] ]
2106.94 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2106.94 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2106.94 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2106.94 s
[opt-env-conf-test] [ "Missing argument: "
2106.94 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2106.94 s
[opt-env-conf-test] ]
2106.94 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2106.94 s
[opt-env-conf-test] ["Failed to read argument: "]
2106.94 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2106.94 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.94 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2106.94 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2106.94 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2106.94 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2106.94 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2106.94 s
[opt-env-conf-test] ["Failed to read option: "]
2106.94 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2106.94 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.94 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2106.94 s
[opt-env-conf-test] ["Missing env var: "]
2106.94 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2106.94 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2106.94 s
[opt-env-conf-test] ["Failed to read env var: "]
2106.94 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2106.94 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2106.94 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2106.94 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2106.94 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2106.94 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2107.53 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2107.53 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2107.53 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2107.53 s
[opt-env-conf-test] ["Missing command, available commands:"]
2107.53 s
[opt-env-conf-test] : availableCommandsLines cs
2107.53 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
2107.53 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2107.53 s
[opt-env-conf-test] - [fore blue "available commands:"]
2107.53 s
[opt-env-conf-test] - ]
2107.53 s
[opt-env-conf-test] - ++ availableCommandsLines cs
2107.53 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2107.53 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2107.53 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2107.53 s
[opt-env-conf-test] ]
2107.53 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2107.54 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2107.54 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2107.54 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2107.54 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2107.54 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2107.54 s
[opt-env-conf-test] ]
2107.54 s
[opt-env-conf-test]
2107.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
2107.54 s
[opt-env-conf-test] @@ -142,7 +142,4 @@
2107.54 s
[opt-env-conf-test]
2107.54 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
2107.54 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
2107.54 s
[opt-env-conf-test] - [ commandChunk commandDocArgument,
2107.54 s
[opt-env-conf-test] - ": ",
2107.54 s
[opt-env-conf-test] - helpChunk commandDocHelp
2107.54 s
[opt-env-conf-test] ]
2107.54 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2107.54 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2107.54 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2107.54 s
[opt-env-conf-test] renderError ParseError {..} =
2107.54 s
[opt-env-conf-test] concat
2107.54 s
[opt-env-conf-test] [ case parseErrorMessage of
2107.54 s
[opt-env-conf-test] ParseErrorEmpty ->
2107.54 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2107.54 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2107.54 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2107.54 s
[opt-env-conf-test] ParseErrorNoReaders ->
2107.54 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2107.54 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2107.54 s
[opt-env-conf-test] ]
2107.54 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2107.54 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2107.54 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2107.54 s
[opt-env-conf-test] [ "Missing argument: "
2107.54 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2107.54 s
[opt-env-conf-test] ]
2107.54 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2107.54 s
[opt-env-conf-test] ["Failed to read argument: "]
2107.54 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2107.54 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2107.54 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2107.54 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2107.54 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2107.54 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2107.54 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2107.54 s
[opt-env-conf-test] ["Failed to read option: "]
2107.54 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2107.54 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2107.54 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2107.54 s
[opt-env-conf-test] ["Missing env var: "]
2107.54 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2107.54 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2107.54 s
[opt-env-conf-test] ["Failed to read env var: "]
2107.54 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2107.54 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2107.54 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2107.54 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2107.54 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2107.54 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2107.95 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2107.96 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2107.96 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2107.96 s
[opt-env-conf-test] ["Missing command, available commands:"]
2107.96 s
[opt-env-conf-test] : availableCommandsLines cs
2107.96 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2107.96 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2107.96 s
[opt-env-conf-test] [fore blue "available commands:"]
2107.96 s
[opt-env-conf-test] ]
2107.96 s
[opt-env-conf-test] ++ availableCommandsLines cs
2107.96 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2107.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."],
2107.96 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2107.96 s
[opt-env-conf-test] ]
2107.96 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2107.96 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
2107.96 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2107.96 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2107.96 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2107.96 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2107.96 s
[opt-env-conf-test] ]
2107.96 s
[opt-env-conf-test]
2107.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
2107.96 s
[opt-env-conf-test] @@ -60,14 +60,13 @@
2107.96 s
[opt-env-conf-test] instance Validity Arg where
2107.96 s
[opt-env-conf-test] validate arg =
2107.96 s
[opt-env-conf-test] mconcat
2107.96 s
[opt-env-conf-test] - [ genericValidate arg,
2107.96 s
[opt-env-conf-test] case arg of
2107.96 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2107.96 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2107.96 s
[opt-env-conf-test] ('-' : _) -> False
2107.96 s
[opt-env-conf-test] _ -> True
2107.96 s
[opt-env-conf-test] _ -> valid
2107.96 s
[opt-env-conf-test] ]
2107.96 s
[opt-env-conf-test]
2107.96 s
[opt-env-conf-test] instance IsString Arg where
2107.96 s
[opt-env-conf-test] fromString = parseArg
2107.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
2107.96 s
[opt-env-conf-test] @@ -80,65 +80,7 @@
2107.96 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2107.96 s
[opt-env-conf-test] renderError ParseError {..} =
2107.96 s
[opt-env-conf-test] concat
2107.96 s
[opt-env-conf-test] - [ case parseErrorMessage of
2107.96 s
[opt-env-conf-test] - ParseErrorEmpty ->
2107.96 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
2107.96 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
2107.96 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
2107.96 s
[opt-env-conf-test] - ParseErrorNoReaders ->
2107.96 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2107.96 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
2107.96 s
[opt-env-conf-test] - ]
2107.96 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
2107.96 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
2107.96 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
2107.96 s
[opt-env-conf-test] - [ "Missing argument: "
2107.96 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
2107.96 s
[opt-env-conf-test] - ]
2107.96 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
2107.96 s
[opt-env-conf-test] - ["Failed to read argument: "]
2107.96 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2107.96 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2107.97 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
2107.97 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2107.97 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
2107.97 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2107.97 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
2107.97 s
[opt-env-conf-test] - ["Failed to read option: "]
2107.97 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2107.97 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2107.97 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
2107.97 s
[opt-env-conf-test] - ["Missing env var: "]
2107.97 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2107.97 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
2107.97 s
[opt-env-conf-test] - ["Failed to read env var: "]
2107.97 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2108.06 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2108.07 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
2108.07 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
2108.07 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
2108.07 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
2108.07 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
2108.07 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
2108.07 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
2108.07 s
[opt-env-conf-test] - ["Missing command, available commands:"]
2108.07 s
[opt-env-conf-test] - : availableCommandsLines cs
2108.07 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
2108.07 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2108.07 s
[opt-env-conf-test] - [fore blue "available commands:"]
2108.07 s
[opt-env-conf-test] - ]
2108.07 s
[opt-env-conf-test] - ++ availableCommandsLines cs
2108.07 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
2108.07 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."],
2108.07 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
2108.07 s
[opt-env-conf-test] - ]
2108.07 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
2108.07 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
2108.07 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2108.07 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
2108.07 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
2108.07 s
[opt-env-conf-test] - maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2108.07 s
[opt-env-conf-test] ]
2108.07 s
[opt-env-conf-test]
2108.07 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
2108.07 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
2108.07 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
2108.07 s
[opt-env-conf-test] @@ -80,65 +80,8 @@
2108.07 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2108.07 s
[opt-env-conf-test] renderError ParseError {..} =
2108.07 s
[opt-env-conf-test] concat
2108.07 s
[opt-env-conf-test] - [ case parseErrorMessage of
2108.07 s
[opt-env-conf-test] - ParseErrorEmpty ->
2108.07 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
2108.07 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
2108.07 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
2108.07 s
[opt-env-conf-test] - ParseErrorNoReaders ->
2108.07 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2108.07 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
2108.07 s
[opt-env-conf-test] - ]
2108.07 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
2108.07 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
2108.07 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
2108.07 s
[opt-env-conf-test] - [ "Missing argument: "
2108.07 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
2108.08 s
[opt-env-conf-test] - ]
2108.08 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
2108.08 s
[opt-env-conf-test] - ["Failed to read argument: "]
2108.08 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2108.08 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2108.08 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
2108.08 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2108.08 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
2108.08 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2108.08 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
2108.08 s
[opt-env-conf-test] - ["Failed to read option: "]
2108.08 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
2108.08 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2108.08 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
2108.08 s
[opt-env-conf-test] - ["Missing env var: "]
2108.08 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2108.08 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
2108.08 s
[opt-env-conf-test] - ["Failed to read env var: "]
2108.08 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
2108.38 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2108.38 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
2108.38 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
2108.38 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
2108.38 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
2108.38 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
2108.38 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
2108.39 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
2108.39 s
[opt-env-conf-test] - ["Missing command, available commands:"]
2108.39 s
[opt-env-conf-test] - : availableCommandsLines cs
2108.39 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
2108.39 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2108.39 s
[opt-env-conf-test] - [fore blue "available commands:"]
2108.39 s
[opt-env-conf-test] - ]
2108.39 s
[opt-env-conf-test] - ++ availableCommandsLines cs
2108.39 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
2108.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."],
2108.39 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
2108.39 s
[opt-env-conf-test] - ]
2108.39 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
2108.39 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
2108.39 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2108.39 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
2108.39 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
2108.39 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2108.39 s
[opt-env-conf-test] ]
2108.39 s
[opt-env-conf-test]
2108.39 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
2108.39 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
2108.39 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:52:22-26
2108.39 s
[opt-env-conf-test] @@ -49,7 +49,7 @@
2108.39 s
[opt-env-conf-test]
2108.39 s
[opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
2108.39 s
[opt-env-conf-test] errorMessageIsForgivable = \case
2108.39 s
[opt-env-conf-test] - ParseErrorEmpty -> Tr u e
2108.39 s
[opt-env-conf-test] + ParseErrorEmpty -> F a ls e
2108.39 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2108.39 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2108.39 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2108.39 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:53:29-34
2108.39 s
[opt-env-conf-test] @@ -50,7 +50,7 @@
2108.39 s
[opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
2108.39 s
[opt-env-conf-test] errorMessageIsForgivable = \case
2108.39 s
[opt-env-conf-test] ParseErrorEmpty -> True
2108.39 s
[opt-env-conf-test] - ParseErrorEmptySetting -> F al s e
2108.39 s
[opt-env-conf-test] + ParseErrorEmptySetting -> T ru e
2108.39 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2108.39 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2108.39 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2108.39 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:54:26-31
2108.39 s
[opt-env-conf-test] @@ -51,7 +51,7 @@
2108.39 s
[opt-env-conf-test] errorMessageIsForgivable = \case
2108.39 s
[opt-env-conf-test] ParseErrorEmpty -> True
2108.39 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2108.39 s
[opt-env-conf-test] - ParseErrorNoReaders -> F al s e
2108.39 s
[opt-env-conf-test] + ParseErrorNoReaders -> T ru e
2108.39 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2108.39 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2108.39 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2108.39 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
2108.39 s
[opt-env-conf-test] @@ -60,14 +60,7 @@
2108.39 s
[opt-env-conf-test] instance Validity Arg where
2108.39 s
[opt-env-conf-test] validate arg =
2108.39 s
[opt-env-conf-test] mconcat
2108.39 s
[opt-env-conf-test] - [ genericValidate arg,
2108.39 s
[opt-env-conf-test] - case arg of
2108.39 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2108.39 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2108.39 s
[opt-env-conf-test] - ('-' : _) -> False
2108.39 s
[opt-env-conf-test] - _ -> True
2108.39 s
[opt-env-conf-test] - _ -> valid
2108.39 s
[opt-env-conf-test] ]
2108.39 s
[opt-env-conf-test]
2108.39 s
[opt-env-conf-test] instance IsString Arg where
2108.39 s
[opt-env-conf-test] fromString = parseArg
2108.39 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2108.39 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
2108.39 s
[opt-env-conf-test] validate arg =
2108.39 s
[opt-env-conf-test] mconcat
2108.39 s
[opt-env-conf-test] [ genericValidate arg,
2108.39 s
[opt-env-conf-test] case arg of
2108.39 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2108.39 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2108.39 s
[opt-env-conf-test] ('-' : _) -> False
2108.39 s
[opt-env-conf-test] _ -> True
2108.39 s
[opt-env-conf-test] - _ -> valid
2108.39 s
[opt-env-conf-test] ]
2108.39 s
[opt-env-conf-test]
2108.39 s
[opt-env-conf-test] instance IsString Arg where
2108.39 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:55:41-51
2108.39 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
2108.39 s
[opt-env-conf-test] ParseErrorEmpty -> True
2108.39 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2108.39 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2108.39 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
2108.39 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> n o t ( forgivable )
2108.39 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2108.39 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2108.39 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2108.39 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:56:34-38
2108.39 s
[opt-env-conf-test] @@ -53,7 +53,7 @@
2108.39 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2108.39 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2108.39 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2108.39 s
[opt-env-conf-test] - ParseErrorMissingArgument _ -> Tr u e
2108.39 s
[opt-env-conf-test] + ParseErrorMissingArgument _ -> F a ls e
2108.39 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2108.39 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2108.39 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2108.39 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
2108.39 s
[opt-env-conf-test] @@ -142,7 +142,6 @@
2108.39 s
[opt-env-conf-test]
2108.39 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
2108.39 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
2108.39 s
[opt-env-conf-test] [ commandChunk commandDocArgument,
2108.39 s
[opt-env-conf-test] ": ",
2108.40 s
[opt-env-conf-test] - helpChunk commandDocHelp
2108.40 s
[opt-env-conf-test] ]
2108.40 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:57:33-38
2108.40 s
[opt-env-conf-test] @@ -54,7 +54,7 @@
2108.40 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2108.40 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2108.40 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2108.40 s
[opt-env-conf-test] - ParseErrorArgumentRead _ _ -> F al s e
2108.40 s
[opt-env-conf-test] + ParseErrorArgumentRead _ _ -> T ru e
2108.40 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2108.40 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2108.40 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:59:31-36
2108.40 s
[opt-env-conf-test] @@ -56,7 +56,7 @@
2108.40 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2108.40 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2108.40 s
[opt-env-conf-test] - ParseErrorOptionRead _ _ -> F al s e
2108.40 s
[opt-env-conf-test] + ParseErrorOptionRead _ _ -> T ru e
2108.40 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2108.40 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:60:32-36
2108.40 s
[opt-env-conf-test] @@ -57,7 +57,7 @@
2108.40 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2108.40 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2108.40 s
[opt-env-conf-test] - ParseErrorMissingOption _ -> Tr u e
2108.40 s
[opt-env-conf-test] + ParseErrorMissingOption _ -> F a ls e
2108.40 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2108.40 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2108.40 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:61:32-36
2108.40 s
[opt-env-conf-test] @@ -58,7 +58,7 @@
2108.40 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2108.40 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2108.40 s
[opt-env-conf-test] - ParseErrorMissingEnvVar _ -> Tr u e
2108.40 s
[opt-env-conf-test] + ParseErrorMissingEnvVar _ -> F a ls e
2108.40 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2108.40 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2108.40 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:62:28-33
2108.40 s
[opt-env-conf-test] @@ -59,7 +59,7 @@
2108.40 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2108.40 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2108.40 s
[opt-env-conf-test] - ParseErrorEnvRead _ _ -> F al s e
2108.40 s
[opt-env-conf-test] + ParseErrorEnvRead _ _ -> T ru e
2108.40 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2108.40 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2108.40 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:63:33-37
2108.40 s
[opt-env-conf-test] @@ -60,7 +60,7 @@
2108.40 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2108.40 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2108.40 s
[opt-env-conf-test] - ParseErrorMissingConfVal _ -> Tr u e
2108.40 s
[opt-env-conf-test] + ParseErrorMissingConfVal _ -> F a ls e
2108.40 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2112.23 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2112.23 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2112.37 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:64:31-36
2112.37 s
[opt-env-conf-test] @@ -61,7 +61,7 @@
2112.37 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2112.37 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2112.37 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2112.37 s
[opt-env-conf-test] - ParseErrorConfigRead _ _ -> F al s e
2112.37 s
[opt-env-conf-test] + ParseErrorConfigRead _ _ -> T ru e
2112.37 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2112.38 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2112.38 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
2112.38 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2112.38 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2112.38 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2112.38 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l cs
2112.38 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ T r u e
2112.38 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2112.38 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
2112.38 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2112.38 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2112.38 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2112.38 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l c s
2112.38 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ F a l s e
2112.38 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2112.38 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
2112.38 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
2112.38 s
[opt-env-conf-test] ParseErrorEmpty -> True
2112.38 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2112.38 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2112.38 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> f o r gi v a b l e
2112.38 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> T r u e
2112.38 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2112.38 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2112.38 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
2112.38 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
2112.38 s
[opt-env-conf-test] ParseErrorEmpty -> True
2112.38 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2112.38 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2112.38 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> f o rg iv a b l e
2112.38 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> F a l s e
2112.38 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2112.38 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2112.38 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:58:32-36
2112.38 s
[opt-env-conf-test] @@ -55,7 +55,7 @@
2112.38 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
2112.38 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2112.38 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2112.38 s
[opt-env-conf-test] - ParseErrorMissingSwitch _ -> Tr u e
2112.38 s
[opt-env-conf-test] + ParseErrorMissingSwitch _ -> F a ls e
2112.38 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
2112.38 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
2112.38 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
2112.38 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2112.38 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2112.38 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2112.38 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n ot $ n u l l cs
2112.38 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> Tr u e
2112.38 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2112.38 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2112.38 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:40-47
2112.39 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2112.39 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2112.39 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2112.39 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2112.39 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
2112.39 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ n o t ( null cs )
2112.39 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2112.39 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2112.39 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2112.39 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
2112.39 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2112.39 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2112.39 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2112.39 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2112.39 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n o t $ n ul l c s
2112.39 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> F a l s e
2112.39 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2112.39 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2112.39 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2112.39 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:34-47
2112.39 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2112.39 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2112.39 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2112.39 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2112.39 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
2112.39 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> n o t ( not $ null cs )
2112.39 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2112.39 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2112.39 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2112.39 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2112.39 s
[opt-env-conf-test] @@ -61,12 +61,9 @@
2112.39 s
[opt-env-conf-test] validate arg =
2112.39 s
[opt-env-conf-test] mconcat
2112.39 s
[opt-env-conf-test] [ genericValidate arg,
2112.39 s
[opt-env-conf-test] case arg of
2112.39 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2112.39 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2112.39 s
[opt-env-conf-test] - ('-' : _) -> False
2112.39 s
[opt-env-conf-test] - _ -> True
2112.39 s
[opt-env-conf-test] _ -> valid
2112.39 s
[opt-env-conf-test] ]
2112.39 s
[opt-env-conf-test]
2112.39 s
[opt-env-conf-test] instance IsString Arg where
2112.39 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/NonDet.hs:74:24-42
2112.39 s
[opt-env-conf-test] @@ -71,7 +71,7 @@
2112.39 s
[opt-env-conf-test] runListTLazy = fmap g . unListT
2112.39 s
[opt-env-conf-test] where
2112.39 s
[opt-env-conf-test] g MNil = Nothing
2112.39 s
[opt-env-conf-test] - g (x `MCons` xs) = J u s t (x, L i s t T x s)
2112.39 s
[opt-env-conf-test] + g (x `MCons` xs) = No t h i ng
2112.39 s
[opt-env-conf-test]
2112.39 s
[opt-env-conf-test] runListTComplete :: (Monad m) => ListT m a -> m [a]
2112.39 s
[opt-env-conf-test] runListTComplete = unListT >=> go
2112.39 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2112.39 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2112.39 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2112.39 s
[opt-env-conf-test] renderError ParseError {..} =
2112.39 s
[opt-env-conf-test] concat
2112.39 s
[opt-env-conf-test] [ case parseErrorMessage of
2112.39 s
[opt-env-conf-test] ParseErrorEmpty ->
2112.39 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2112.39 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2112.39 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2112.39 s
[opt-env-conf-test] ParseErrorNoReaders ->
2112.39 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2112.39 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2112.39 s
[opt-env-conf-test] ]
2112.39 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2112.39 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2112.39 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2112.39 s
[opt-env-conf-test] [ "Missing argument: "
2112.39 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2112.40 s
[opt-env-conf-test] ]
2112.40 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2112.40 s
[opt-env-conf-test] ["Failed to read argument: "]
2112.40 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.40 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.40 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2112.40 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.40 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2112.40 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.40 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2112.40 s
[opt-env-conf-test] ["Failed to read option: "]
2112.40 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.40 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.40 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2112.40 s
[opt-env-conf-test] ["Missing env var: "]
2112.40 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.40 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2112.40 s
[opt-env-conf-test] ["Failed to read env var: "]
2112.40 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.40 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.40 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2112.40 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2112.40 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2112.40 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2112.40 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2112.40 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2112.40 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2112.40 s
[opt-env-conf-test] ["Missing command, available commands:"]
2112.40 s
[opt-env-conf-test] : availableCommandsLines cs
2112.40 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2112.40 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2112.40 s
[opt-env-conf-test] [fore blue "available commands:"]
2112.40 s
[opt-env-conf-test] ]
2112.40 s
[opt-env-conf-test] ++ availableCommandsLines cs
2112.40 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2112.40 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2112.40 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2112.40 s
[opt-env-conf-test] ]
2112.40 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2112.40 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2112.40 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2112.40 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
2112.40 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
2112.40 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2112.40 s
[opt-env-conf-test] ]
2112.40 s
[opt-env-conf-test]
2112.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2112.40 s
[opt-env-conf-test] @@ -80,63 +80,58 @@
2112.40 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2112.40 s
[opt-env-conf-test] renderError ParseError {..} =
2112.40 s
[opt-env-conf-test] concat
2112.40 s
[opt-env-conf-test] [ case parseErrorMessage of
2112.40 s
[opt-env-conf-test] ParseErrorEmpty ->
2112.40 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2112.40 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2112.40 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2112.40 s
[opt-env-conf-test] ParseErrorNoReaders ->
2112.40 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2112.40 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2112.40 s
[opt-env-conf-test] ]
2112.40 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2112.40 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2112.40 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2112.40 s
[opt-env-conf-test] [ "Missing argument: "
2112.40 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2112.40 s
[opt-env-conf-test] ]
2112.40 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2112.40 s
[opt-env-conf-test] ["Failed to read argument: "]
2112.40 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.40 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.40 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2112.40 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.40 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2112.40 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.40 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2112.40 s
[opt-env-conf-test] ["Failed to read option: "]
2112.40 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.40 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.40 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2112.40 s
[opt-env-conf-test] ["Missing env var: "]
2112.40 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.40 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2112.40 s
[opt-env-conf-test] ["Failed to read env var: "]
2112.40 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.40 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.40 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2112.40 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2112.40 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2112.40 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2112.40 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2112.40 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2112.40 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2112.40 s
[opt-env-conf-test] ["Missing command, available commands:"]
2112.40 s
[opt-env-conf-test] : availableCommandsLines cs
2112.40 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2112.40 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2112.40 s
[opt-env-conf-test] [fore blue "available commands:"]
2112.40 s
[opt-env-conf-test] ]
2112.40 s
[opt-env-conf-test] ++ availableCommandsLines cs
2112.40 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
2112.40 s
[opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2112.41 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
2112.41 s
[opt-env-conf-test] - ]
2112.41 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
2112.41 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2112.41 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2112.41 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2112.41 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2112.41 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2112.41 s
[opt-env-conf-test] ]
2112.41 s
[opt-env-conf-test]
2112.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2112.41 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2112.41 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2112.41 s
[opt-env-conf-test] renderError ParseError {..} =
2112.41 s
[opt-env-conf-test] concat
2112.41 s
[opt-env-conf-test] [ case parseErrorMessage of
2112.41 s
[opt-env-conf-test] ParseErrorEmpty ->
2112.41 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2112.41 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2112.41 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2112.41 s
[opt-env-conf-test] ParseErrorNoReaders ->
2112.41 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2112.41 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2112.41 s
[opt-env-conf-test] ]
2112.41 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2112.41 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2112.41 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2112.41 s
[opt-env-conf-test] [ "Missing argument: "
2112.41 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2112.41 s
[opt-env-conf-test] ]
2112.41 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2112.41 s
[opt-env-conf-test] ["Failed to read argument: "]
2112.41 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.41 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.41 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2112.41 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.41 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2112.41 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.41 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2112.41 s
[opt-env-conf-test] ["Failed to read option: "]
2112.41 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.41 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.41 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2112.41 s
[opt-env-conf-test] ["Missing env var: "]
2112.41 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.41 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2112.41 s
[opt-env-conf-test] ["Failed to read env var: "]
2112.41 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.41 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.41 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
2112.41 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
2112.41 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2112.88 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2112.88 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2112.88 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2112.88 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2112.89 s
[opt-env-conf-test] ["Missing command, available commands:"]
2112.89 s
[opt-env-conf-test] : availableCommandsLines cs
2112.89 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2112.89 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2112.89 s
[opt-env-conf-test] [fore blue "available commands:"]
2112.89 s
[opt-env-conf-test] ]
2112.89 s
[opt-env-conf-test] ++ availableCommandsLines cs
2112.89 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2112.89 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."],
2112.89 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2112.89 s
[opt-env-conf-test] ]
2112.89 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2112.89 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2112.89 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2112.89 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2112.89 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2112.89 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2112.89 s
[opt-env-conf-test] ]
2112.89 s
[opt-env-conf-test]
2112.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2112.89 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2112.89 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2112.89 s
[opt-env-conf-test] renderError ParseError {..} =
2112.89 s
[opt-env-conf-test] concat
2112.89 s
[opt-env-conf-test] [ case parseErrorMessage of
2112.89 s
[opt-env-conf-test] ParseErrorEmpty ->
2112.89 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2112.89 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2112.89 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2112.89 s
[opt-env-conf-test] ParseErrorNoReaders ->
2112.89 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2112.89 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2112.89 s
[opt-env-conf-test] ]
2112.89 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2112.89 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2112.89 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2112.89 s
[opt-env-conf-test] [ "Missing argument: "
2112.89 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2112.89 s
[opt-env-conf-test] ]
2112.89 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2112.89 s
[opt-env-conf-test] ["Failed to read argument: "]
2112.89 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.89 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.89 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2112.89 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.89 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
2112.89 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.89 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2112.89 s
[opt-env-conf-test] ["Failed to read option: "]
2112.89 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.89 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.89 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2112.89 s
[opt-env-conf-test] ["Missing env var: "]
2112.89 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.89 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2112.89 s
[opt-env-conf-test] ["Failed to read env var: "]
2112.89 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.89 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.89 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2112.89 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2112.89 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2115.04 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2115.04 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2115.04 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2115.04 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2115.04 s
[opt-env-conf-test] ["Missing command, available commands:"]
2115.04 s
[opt-env-conf-test] : availableCommandsLines cs
2115.04 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2115.04 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2115.04 s
[opt-env-conf-test] [fore blue "available commands:"]
2115.04 s
[opt-env-conf-test] ]
2115.04 s
[opt-env-conf-test] ++ availableCommandsLines cs
2115.04 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2115.04 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."],
2115.04 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2115.04 s
[opt-env-conf-test] ]
2115.04 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2115.04 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2115.04 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2115.05 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2115.05 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2115.05 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2115.05 s
[opt-env-conf-test] ]
2115.05 s
[opt-env-conf-test]
2115.05 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:247:39-71
2115.05 s
[opt-env-conf-test] @@ -244,7 +244,7 @@
2115.05 s
[opt-env-conf-test] (Live v : rest') ->
2115.05 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2115.05 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2115.05 s
[opt-env-conf-test] - Just Nothing -> J us t ( re n de rA r g v, Dead : rest')
2115.05 s
[opt-env-conf-test] + Just Nothing -> N o t hi n g
2115.05 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2115.05 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2115.05 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2115.05 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:66:40-45
2115.05 s
[opt-env-conf-test] @@ -63,7 +63,7 @@
2115.05 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2115.05 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2115.05 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2115.05 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> F al s e
2115.05 s
[opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> T ru e
2115.05 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2115.05 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2115.05 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
2115.05 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:69:36-41
2115.05 s
[opt-env-conf-test] @@ -66,7 +66,7 @@
2115.05 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2115.05 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2115.05 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2115.05 s
[opt-env-conf-test] - ParseErrorMissingCapability _ -> F al s e
2115.05 s
[opt-env-conf-test] + ParseErrorMissingCapability _ -> T ru e
2115.05 s
[opt-env-conf-test]
2115.05 s
[opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
2115.05 s
[opt-env-conf-test] eraseErrorSrcLocs = fmap eraseErrorSrcLoc
2115.05 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:67:31-36
2115.05 s
[opt-env-conf-test] @@ -64,7 +64,7 @@
2115.05 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2115.05 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2115.05 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2115.05 s
[opt-env-conf-test] - ParseErrorAllOrNothing _ -> F al s e
2115.05 s
[opt-env-conf-test] + ParseErrorAllOrNothing _ -> T ru e
2115.05 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2115.05 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
2115.05 s
[opt-env-conf-test]
2115.05 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:68:31-36
2115.05 s
[opt-env-conf-test] @@ -65,7 +65,7 @@
2115.05 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2115.05 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2115.05 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2115.05 s
[opt-env-conf-test] - ParseErrorUnrecognised _ -> F al s e
2115.05 s
[opt-env-conf-test] + ParseErrorUnrecognised _ -> T ru e
2115.05 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
2115.05 s
[opt-env-conf-test]
2115.05 s
[opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
2115.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
2115.05 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
2115.05 s
[opt-env-conf-test] [ genericValidate arg,
2115.05 s
[opt-env-conf-test] case arg of
2115.05 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2115.05 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2115.05 s
[opt-env-conf-test] ('-' : _) -> False
2115.05 s
[opt-env-conf-test] - _ -> True
2115.05 s
[opt-env-conf-test] _ -> valid
2115.05 s
[opt-env-conf-test] ]
2115.05 s
[opt-env-conf-test]
2115.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
2115.05 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
2115.05 s
[opt-env-conf-test] [ genericValidate arg,
2115.05 s
[opt-env-conf-test] case arg of
2115.05 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2115.05 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2115.05 s
[opt-env-conf-test] - ('-' : _) -> False
2115.05 s
[opt-env-conf-test] _ -> True
2115.05 s
[opt-env-conf-test] _ -> valid
2115.05 s
[opt-env-conf-test] ]
2115.05 s
[opt-env-conf-test]
2115.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2115.05 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
2115.05 s
[opt-env-conf-test] validate arg =
2115.05 s
[opt-env-conf-test] mconcat
2115.05 s
[opt-env-conf-test] [ genericValidate arg,
2115.05 s
[opt-env-conf-test] case arg of
2115.05 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2115.05 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2115.05 s
[opt-env-conf-test] ('-' : _) -> False
2115.05 s
[opt-env-conf-test] _ -> True
2115.05 s
[opt-env-conf-test] _ -> valid
2115.05 s
[opt-env-conf-test] ]
2115.05 s
[opt-env-conf-test]
2115.05 s
[opt-env-conf-test] instance IsString Arg where
2115.05 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:66:64-22
2115.05 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
2115.05 s
[opt-env-conf-test] [ genericValidate arg,
2115.05 s
[opt-env-conf-test] case arg of
2115.05 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2115.05 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2115.05 s
[opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ n o t ( case s of
2115.05 s
[opt-env-conf-test] ('-' : _) -> False
2115.05 s
[opt-env-conf-test] - _ -> True
2115.05 s
[opt-env-conf-test] + _ -> True )
2115.05 s
[opt-env-conf-test] _ -> valid
2115.05 s
[opt-env-conf-test] ]
2115.05 s
[opt-env-conf-test]
2115.05 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
2115.05 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
2115.05 s
[opt-env-conf-test] [ genericValidate arg,
2115.05 s
[opt-env-conf-test] case arg of
2115.05 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2115.05 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ c a s e s of
2115.05 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
2115.06 s
[opt-env-conf-test] ('-' : _) -> False
2115.06 s
[opt-env-conf-test] _ -> True
2115.06 s
[opt-env-conf-test] _ -> valid
2115.06 s
[opt-env-conf-test] ]
2115.06 s
[opt-env-conf-test]
2115.06 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
2115.06 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
2115.06 s
[opt-env-conf-test] [ genericValidate arg,
2115.06 s
[opt-env-conf-test] case arg of
2115.06 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2115.06 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2115.06 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
2115.06 s
[opt-env-conf-test] ('-' : _) -> False
2115.06 s
[opt-env-conf-test] _ -> True
2115.06 s
[opt-env-conf-test] _ -> valid
2115.06 s
[opt-env-conf-test] ]
2115.06 s
[opt-env-conf-test]
2115.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2115.06 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2115.06 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2115.06 s
[opt-env-conf-test] renderError ParseError {..} =
2115.06 s
[opt-env-conf-test] concat
2115.06 s
[opt-env-conf-test] [ case parseErrorMessage of
2115.06 s
[opt-env-conf-test] ParseErrorEmpty ->
2115.06 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2115.06 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
2115.06 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
2115.06 s
[opt-env-conf-test] ParseErrorNoReaders ->
2115.06 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2115.06 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2115.06 s
[opt-env-conf-test] ]
2115.06 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2115.06 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2115.06 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2115.06 s
[opt-env-conf-test] [ "Missing argument: "
2115.06 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2115.06 s
[opt-env-conf-test] ]
2115.06 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2115.06 s
[opt-env-conf-test] ["Failed to read argument: "]
2115.06 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2115.06 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2115.06 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2115.06 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2115.06 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2115.06 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2115.06 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2115.06 s
[opt-env-conf-test] ["Failed to read option: "]
2115.06 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2115.06 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2115.06 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2115.06 s
[opt-env-conf-test] ["Missing env var: "]
2115.06 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2115.06 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2115.06 s
[opt-env-conf-test] ["Failed to read env var: "]
2115.06 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2115.06 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2115.06 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2115.06 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2115.06 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2121.12 s
[opt-env-conf-test] ["Failed to parse configuraKilled: 1235
2121.14 s
[opt-env-conf-test] (of which timed out: 1 )
2121.14 s
[opt-env-conf-test] Survived: 294
2121.14 s
[opt-env-conf-test] Uncovered: 381
2121.14 s
[opt-env-conf-test]
2121.14 s
[opt-env-conf-test] Timed-out mutations:
2121.14 s
[opt-env-conf-test]
2121.14 s
[opt-env-conf-test] [timed out after 30.214398 s]
2121.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:272:14-29
2121.14 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
2121.14 s
[opt-env-conf-test] Nothing -> pure Nothing
2121.14 s
[opt-env-conf-test] Just os -> do
2121.14 s
[opt-env-conf-test] after <- get
2121.14 s
[opt-env-conf-test] - if a f te r == bef or e
2121.14 s
[opt-env-conf-test] + if F a l s e
2121.14 s
[opt-env-conf-test] then -- State did not advance; return these completions.
2121.14 s
[opt-env-conf-test] pure $ Just os
2121.14 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
2121.14 s
[opt-env-conf-test]
2121.14 s
[opt-env-conf-test] Surviving mutations:
2121.14 s
[opt-env-conf-test]
2121.14 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Error.hs:66:40-45
2121.14 s
[opt-env-conf-test] @@ -63,7 +63,7 @@
2121.14 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2121.14 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2121.14 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2121.14 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> F al s e
2121.14 s
[opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> T ru e
2121.14 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2121.14 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2121.14 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
2121.14 s
[opt-env-conf-test]
2121.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:34-47
2121.14 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2121.14 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2121.14 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2121.14 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2121.14 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n ot $ n u l l cs
2121.14 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> Tr u e
2121.14 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2121.14 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2121.14 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2121.14 s
[opt-env-conf-test]
2121.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:40-47
2121.14 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2121.14 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2121.14 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2121.14 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2121.14 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l c s
2121.14 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ F a l s e
2121.14 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2121.14 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2121.14 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2121.14 s
[opt-env-conf-test]
2121.14 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2121.14 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2121.14 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2121.14 s
[opt-env-conf-test] renderError ParseError {..} =
2121.14 s
[opt-env-conf-test] concat
2121.14 s
[opt-env-conf-test] [ case parseErrorMessage of
2121.14 s
[opt-env-conf-test] ParseErrorEmpty ->
2121.14 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2121.14 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2121.14 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2121.14 s
[opt-env-conf-test] ParseErrorNoReaders ->
2121.14 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2121.14 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2121.14 s
[opt-env-conf-test] ]
2121.14 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2121.14 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2121.14 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2121.14 s
[opt-env-conf-test] [ "Missing argument: "
2121.14 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2121.14 s
[opt-env-conf-test] ]
2121.14 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2121.14 s
[opt-env-conf-test] ["Failed to read argument: "]
2121.14 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.14 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.14 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2121.14 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.14 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2121.14 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.14 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2121.14 s
[opt-env-conf-test] ["Failed to read option: "]
2121.14 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.14 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.14 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2121.14 s
[opt-env-conf-test] ["Missing env var: "]
2121.14 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.14 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2121.14 s
[opt-env-conf-test] ["Failed to read env var: "]
2121.14 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.14 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.14 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2121.14 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2121.14 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2121.14 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2121.14 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2121.14 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2121.14 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2121.14 s
[opt-env-conf-test] ["Missing command, available commands:"]
2121.14 s
[opt-env-conf-test] : availableCommandsLines cs
2121.14 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2121.14 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2121.14 s
[opt-env-conf-test] [fore blue "available commands:"]
2121.14 s
[opt-env-conf-test] ]
2121.14 s
[opt-env-conf-test] ++ availableCommandsLines cs
2121.14 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2121.14 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."],
2121.14 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2121.14 s
[opt-env-conf-test] ]
2121.14 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2121.14 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2121.14 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2121.14 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
2121.14 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
2121.15 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2121.15 s
[opt-env-conf-test] ]
2121.15 s
[opt-env-conf-test]
2121.15 s
[opt-env-conf-test]
2121.15 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2121.15 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2121.15 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2121.15 s
[opt-env-conf-test] renderError ParseError {..} =
2121.15 s
[opt-env-conf-test] concat
2121.15 s
[opt-env-conf-test] [ case parseErrorMessage of
2121.15 s
[opt-env-conf-test] ParseErrorEmpty ->
2121.15 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2121.15 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2121.15 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2121.15 s
[opt-env-conf-test] ParseErrorNoReaders ->
2121.15 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2121.15 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2121.15 s
[opt-env-conf-test] ]
2121.15 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2121.15 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2121.15 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2121.15 s
[opt-env-conf-test] [ "Missing argument: "
2121.15 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2121.15 s
[opt-env-conf-test] ]
2121.15 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2121.15 s
[opt-env-conf-test] ["Failed to read argument: "]
2121.15 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.15 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.15 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2121.15 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.15 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2121.15 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.15 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2121.15 s
[opt-env-conf-test] ["Failed to read option: "]
2121.15 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.15 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.15 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2121.15 s
[opt-env-conf-test] ["Missing env var: "]
2121.15 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.15 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2121.15 s
[opt-env-conf-test] ["Failed to read env var: "]
2121.15 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.15 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.15 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2121.15 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2121.15 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
2121.15 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
2121.15 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
2121.15 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
2121.15 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2121.15 s
[opt-env-conf-test] ["Missing command, available commands:"]
2121.15 s
[opt-env-conf-test] : availableCommandsLines cs
2121.15 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2121.15 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2121.15 s
[opt-env-conf-test] [fore blue "available commands:"]
2121.15 s
[opt-env-conf-test] ]
2121.15 s
[opt-env-conf-test] ++ availableCommandsLines cs
2121.15 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2121.15 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."],
2121.15 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2121.15 s
[opt-env-conf-test] ]
2121.15 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2121.15 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2121.15 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2121.15 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2121.15 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2121.15 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2121.15 s
[opt-env-conf-test] ]
2121.15 s
[opt-env-conf-test]
2121.15 s
[opt-env-conf-test]
2121.15 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2121.15 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2121.15 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2121.15 s
[opt-env-conf-test] renderError ParseError {..} =
2121.15 s
[opt-env-conf-test] concat
2121.15 s
[opt-env-conf-test] [ case parseErrorMessage of
2121.15 s
[opt-env-conf-test] ParseErrorEmpty ->
2121.15 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2121.15 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2121.15 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2121.15 s
[opt-env-conf-test] ParseErrorNoReaders ->
2121.15 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2121.15 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2121.15 s
[opt-env-conf-test] ]
2121.15 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2121.15 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2121.15 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2121.15 s
[opt-env-conf-test] [ "Missing argument: "
2121.15 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2121.15 s
[opt-env-conf-test] ]
2121.15 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2121.15 s
[opt-env-conf-test] ["Failed to read argument: "]
2121.15 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.15 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.15 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2121.15 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.15 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2121.15 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.15 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2121.15 s
[opt-env-conf-test] ["Failed to read option: "]
2121.15 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.15 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.15 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2121.15 s
[opt-env-conf-test] ["Missing env var: "]
2121.15 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.15 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2121.15 s
[opt-env-conf-test] ["Failed to read env var: "]
2121.15 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.15 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.15 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
2121.15 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
2121.15 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2121.15 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2121.15 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2121.15 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2121.15 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2121.15 s
[opt-env-conf-test] ["Missing command, available commands:"]
2121.15 s
[opt-env-conf-test] : availableCommandsLines cs
2121.15 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2121.15 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2121.15 s
[opt-env-conf-test] [fore blue "available commands:"]
2121.15 s
[opt-env-conf-test] ]
2121.15 s
[opt-env-conf-test] ++ availableCommandsLines cs
2121.15 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2121.15 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."],
2121.15 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2121.15 s
[opt-env-conf-test] ]
2121.15 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2121.15 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2121.15 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2121.15 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2121.15 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2121.15 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2121.15 s
[opt-env-conf-test] ]
2121.15 s
[opt-env-conf-test]
2121.16 s
[opt-env-conf-test]
2121.16 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2121.16 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2121.16 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2121.16 s
[opt-env-conf-test] renderError ParseError {..} =
2121.16 s
[opt-env-conf-test] concat
2121.16 s
[opt-env-conf-test] [ case parseErrorMessage of
2121.16 s
[opt-env-conf-test] ParseErrorEmpty ->
2121.16 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2121.16 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2121.16 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2121.16 s
[opt-env-conf-test] ParseErrorNoReaders ->
2121.16 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2121.16 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2121.16 s
[opt-env-conf-test] ]
2121.16 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2121.16 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2121.16 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2121.16 s
[opt-env-conf-test] [ "Missing argument: "
2121.16 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2121.16 s
[opt-env-conf-test] ]
2121.16 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2121.16 s
[opt-env-conf-test] ["Failed to read argument: "]
2121.16 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.16 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.16 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2121.16 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.16 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
2121.16 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.16 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2121.16 s
[opt-env-conf-test] ["Failed to read option: "]
2121.16 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.16 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.16 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2121.16 s
[opt-env-conf-test] ["Missing env var: "]
2121.16 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.16 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2121.16 s
[opt-env-conf-test] ["Failed to read env var: "]
2121.16 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.16 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.16 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2121.16 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2121.16 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2121.16 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2121.16 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2121.16 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2121.16 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2121.16 s
[opt-env-conf-test] ["Missing command, available commands:"]
2121.16 s
[opt-env-conf-test] : availableCommandsLines cs
2121.16 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2121.16 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2121.16 s
[opt-env-conf-test] [fore blue "available commands:"]
2121.16 s
[opt-env-conf-test] ]
2121.16 s
[opt-env-conf-test] ++ availableCommandsLines cs
2121.16 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2121.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."],
2121.16 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2121.16 s
[opt-env-conf-test] ]
2121.16 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2121.16 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2121.16 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2121.16 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2121.16 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2121.16 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2121.16 s
[opt-env-conf-test] ]
2121.16 s
[opt-env-conf-test]
2121.16 s
[opt-env-conf-test]
2121.16 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2121.16 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2121.16 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2121.16 s
[opt-env-conf-test] renderError ParseError {..} =
2121.16 s
[opt-env-conf-test] concat
2121.16 s
[opt-env-conf-test] [ case parseErrorMessage of
2121.16 s
[opt-env-conf-test] ParseErrorEmpty ->
2121.16 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2121.16 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2121.16 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2121.16 s
[opt-env-conf-test] - ParseErrorNoReaders ->
2121.17 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2121.17 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
2121.17 s
[opt-env-conf-test] - ]
2121.17 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2121.17 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2121.17 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2121.17 s
[opt-env-conf-test] [ "Missing argument: "
2121.17 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2121.17 s
[opt-env-conf-test] ]
2121.17 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2121.17 s
[opt-env-conf-test] ["Failed to read argument: "]
2121.17 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.17 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.17 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2121.17 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.17 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2121.17 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.17 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2121.17 s
[opt-env-conf-test] ["Failed to read option: "]
2121.17 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.17 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.17 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2121.17 s
[opt-env-conf-test] ["Missing env var: "]
2121.17 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.17 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2121.17 s
[opt-env-conf-test] ["Failed to read env var: "]
2121.17 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.17 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.17 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2121.17 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2121.17 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2121.17 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2121.17 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2121.17 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2121.17 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2121.17 s
[opt-env-conf-test] ["Missing command, available commands:"]
2121.17 s
[opt-env-conf-test] : availableCommandsLines cs
2121.17 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2121.17 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2121.17 s
[opt-env-conf-test] [fore blue "available commands:"]
2121.17 s
[opt-env-conf-test] ]
2121.17 s
[opt-env-conf-test] ++ availableCommandsLines cs
2121.17 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2121.17 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."],
2121.17 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2121.17 s
[opt-env-conf-test] ]
2121.17 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2121.17 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2121.17 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2121.17 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2121.17 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2121.17 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2121.17 s
[opt-env-conf-test] ]
2121.17 s
[opt-env-conf-test]
2121.17 s
[opt-env-conf-test]
2121.17 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2121.17 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2121.17 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2121.17 s
[opt-env-conf-test] renderError ParseError {..} =
2121.17 s
[opt-env-conf-test] concat
2121.17 s
[opt-env-conf-test] [ case parseErrorMessage of
2121.17 s
[opt-env-conf-test] ParseErrorEmpty ->
2121.17 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2121.17 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
2121.17 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
2121.17 s
[opt-env-conf-test] ParseErrorNoReaders ->
2121.17 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2121.17 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2121.17 s
[opt-env-conf-test] ]
2121.17 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2121.17 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2121.17 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2121.17 s
[opt-env-conf-test] [ "Missing argument: "
2121.17 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2121.17 s
[opt-env-conf-test] ]
2121.17 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2121.17 s
[opt-env-conf-test] ["Failed to read argument: "]
2121.17 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.17 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.17 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2121.17 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.17 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2121.17 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2121.17 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2121.17 s
[opt-env-conf-test] ["Failed to read option: "]
2121.17 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2121.17 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.17 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2121.17 s
[opt-env-conf-test] ["Missing env var: "]
2121.17 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.17 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2121.17 s
[opt-env-conf-test] ["Failed to read env var: "]
2121.17 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2121.17 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2121.17 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2121.17 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2121.17 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2121.17 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2121.17 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2121.17 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2121.17 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2121.17 s
[opt-env-conf-test] ["Missing command, available commands:"]
2121.17 s
[opt-env-conf-test] : availableCommandsLines cs
2121.17 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2121.17 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2121.17 s
[opt-env-conf-test] [fore blue "available commands:"]
2121.17 s
[opt-env-conf-test] ]
2121.17 s
[opt-env-conf-test] ++ availableCommandsLines cs
2121.17 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2121.17 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."],
2121.17 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2121.17 s
[opt-env-conf-test] ]
2121.17 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2121.17 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2121.17 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2121.17 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2121.17 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2121.17 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2121.17 s
[opt-env-conf-test] ]
2121.17 s
[opt-env-conf-test]
2121.17 s
[opt-env-conf-test]
2121.17 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
2121.17 s
[opt-env-conf-test] @@ -60,14 +60,13 @@
2121.17 s
[opt-env-conf-test] instance Validity Arg where
2121.17 s
[opt-env-conf-test] validate arg =
2121.17 s
[opt-env-conf-test] mconcat
2121.17 s
[opt-env-conf-test] - [ genericValidate arg,
2121.17 s
[opt-env-conf-test] case arg of
2121.17 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2121.17 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2121.17 s
[opt-env-conf-test] ('-' : _) -> False
2121.17 s
[opt-env-conf-test] _ -> True
2121.17 s
[opt-env-conf-test] _ -> valid
2121.17 s
[opt-env-conf-test] ]
2121.17 s
[opt-env-conf-test]
2121.17 s
[opt-env-conf-test] instance IsString Arg where
2121.17 s
[opt-env-conf-test] fromString = parseArg
2121.17 s
[opt-env-conf-test]
2121.17 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
2121.17 s
[opt-env-conf-test] @@ -60,14 +60,7 @@
2121.17 s
[opt-env-conf-test] instance Validity Arg where
2121.17 s
[opt-env-conf-test] validate arg =
2121.17 s
[opt-env-conf-test] mconcat
2121.17 s
[opt-env-conf-test] - [ genericValidate arg,
2121.17 s
[opt-env-conf-test] - case arg of
2121.17 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2121.18 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2121.18 s
[opt-env-conf-test] - ('-' : _) -> False
2121.18 s
[opt-env-conf-test] - _ -> True
2121.18 s
[opt-env-conf-test] - _ -> valid
2121.18 s
[opt-env-conf-test] ]
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] instance IsString Arg where
2121.18 s
[opt-env-conf-test] fromString = parseArg
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2121.18 s
[opt-env-conf-test] @@ -61,12 +61,9 @@
2121.18 s
[opt-env-conf-test] validate arg =
2121.18 s
[opt-env-conf-test] mconcat
2121.18 s
[opt-env-conf-test] [ genericValidate arg,
2121.18 s
[opt-env-conf-test] case arg of
2121.18 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2121.18 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2121.18 s
[opt-env-conf-test] - ('-' : _) -> False
2121.18 s
[opt-env-conf-test] - _ -> True
2121.18 s
[opt-env-conf-test] _ -> valid
2121.18 s
[opt-env-conf-test] ]
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] instance IsString Arg where
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2121.18 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
2121.18 s
[opt-env-conf-test] validate arg =
2121.18 s
[opt-env-conf-test] mconcat
2121.18 s
[opt-env-conf-test] [ genericValidate arg,
2121.18 s
[opt-env-conf-test] case arg of
2121.18 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2121.18 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2121.18 s
[opt-env-conf-test] ('-' : _) -> False
2121.18 s
[opt-env-conf-test] _ -> True
2121.18 s
[opt-env-conf-test] _ -> valid
2121.18 s
[opt-env-conf-test] ]
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] instance IsString Arg where
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:66:64-22
2121.18 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
2121.18 s
[opt-env-conf-test] [ genericValidate arg,
2121.18 s
[opt-env-conf-test] case arg of
2121.18 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2121.18 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2121.18 s
[opt-env-conf-test] - ('-' : _) -> False
2121.18 s
[opt-env-conf-test] _ -> True
2121.18 s
[opt-env-conf-test] _ -> valid
2121.18 s
[opt-env-conf-test] ]
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:66:64-22
2121.18 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
2121.18 s
[opt-env-conf-test] [ genericValidate arg,
2121.18 s
[opt-env-conf-test] case arg of
2121.18 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2121.18 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2121.18 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
2121.18 s
[opt-env-conf-test] ('-' : _) -> False
2121.18 s
[opt-env-conf-test] _ -> True
2121.18 s
[opt-env-conf-test] _ -> valid
2121.18 s
[opt-env-conf-test] ]
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:65:103-111
2121.18 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2121.18 s
[opt-env-conf-test] mconcat
2121.18 s
[opt-env-conf-test] [ genericValidate arg,
2121.18 s
[opt-env-conf-test] case arg of
2121.18 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= ' - '
2121.18 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ T rue
2121.18 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2121.18 s
[opt-env-conf-test] ('-' : _) -> False
2121.18 s
[opt-env-conf-test] _ -> True
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:399:18-32
2121.18 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
2121.18 s
[opt-env-conf-test] instance Validity Dashed
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] instance IsString Dashed where
2121.18 s
[opt-env-conf-test] fromString s = case fromString s of
2121.18 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
2121.18 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
2121.18 s
[opt-env-conf-test] - _ -> error "Invalid dashed"
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] renderDashed :: Dashed -> String
2121.18 s
[opt-env-conf-test] renderDashed = \case
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:248:77-83
2121.18 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
2121.18 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2121.18 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2121.18 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2121.18 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s Lo n g cs') : Dead : rest')
2121.18 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed F a l s e cs') : Dead : rest')
2121.18 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2121.18 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:152:36-28
2121.18 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
2121.18 s
[opt-env-conf-test] -- A single dash is always an argument
2121.18 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2121.18 s
[opt-env-conf-test] -- Bare double-dash
2121.18 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2121.18 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2121.18 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2121.18 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2121.18 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2121.18 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2121.18 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2121.18 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
2121.18 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2121.18 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2121.18 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2121.18 s
[opt-env-conf-test] -- pop the args as they come.
2121.18 s
[opt-env-conf-test] _ ->
2121.18 s
[opt-env-conf-test] let go = \case
2121.18 s
[opt-env-conf-test] [] -> Nothing
2121.18 s
[opt-env-conf-test] (Dead : rest) -> go rest
2121.18 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2121.18 s
[opt-env-conf-test] in case go afters of
2121.18 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2121.18 s
[opt-env-conf-test] Just (firstLive, rest) ->
2121.18 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2121.18 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2121.18 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2121.18 s
[opt-env-conf-test] -- arguments.
2121.18 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2121.18 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2121.18 s
[opt-env-conf-test] )
2121.18 s
[opt-env-conf-test] ]
2121.18 s
[opt-env-conf-test] ArgDashed {} ->
2121.18 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2121.18 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2121.18 s
[opt-env-conf-test]
2121.18 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:169:23-28
2121.18 s
[opt-env-conf-test] @@ -166,17 +166,16 @@
2121.18 s
[opt-env-conf-test] [] -> Nothing
2121.18 s
[opt-env-conf-test] (Dead : rest) -> go rest
2121.18 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2121.18 s
[opt-env-conf-test] in case go afters of
2121.18 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
2121.18 s
[opt-env-conf-test] Just (firstLive, rest) ->
2121.18 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2121.18 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2121.18 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2121.18 s
[opt-env-conf-test] -- arguments.
2121.18 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2121.18 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2121.18 s
[opt-env-conf-test] )
2121.18 s
[opt-env-conf-test] ]
2121.19 s
[opt-env-conf-test] ArgDashed {} ->
2121.19 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2121.19 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Args.hs:150:32-40
2121.19 s
[opt-env-conf-test] @@ -147,7 +147,7 @@
2121.19 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2121.19 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2121.19 s
[opt-env-conf-test] -- A single dash is always an argument
2121.19 s
[opt-env-conf-test] - ArgBareDash -> [( J u s t "- " , consumed)]
2121.19 s
[opt-env-conf-test] + ArgBareDash -> [( No t h i ng , consumed)]
2121.19 s
[opt-env-conf-test] -- Bare double-dash
2121.19 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2121.19 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:339:40-46
2121.19 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2121.19 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2121.19 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2121.19 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
2121.19 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s Lo n g cs') : rest'
2121.19 s
[opt-env-conf-test] + in Just $ Live (ArgDashed F a l s e cs') : rest'
2121.19 s
[opt-env-conf-test] _ -> do
2121.19 s
[opt-env-conf-test] os <- go rest
2121.19 s
[opt-env-conf-test] pure $ Live o : os
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:365:34-43
2121.19 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.19 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
2121.19 s
[opt-env-conf-test] go (c :| rest) =
2121.19 s
[opt-env-conf-test] if c `elem` cs
2121.19 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n ul l r e s t )) <$> NE.nonEmpty rest
2121.19 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, F a l s e )) <$> NE.nonEmpty rest
2121.19 s
[opt-env-conf-test] else do
2121.19 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
2121.19 s
[opt-env-conf-test] new <- go rest'
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Check.hs:44:7-71
2121.19 s
[opt-env-conf-test] @@ -41,7 +41,6 @@
2121.19 s
[opt-env-conf-test] exitSuccess
2121.19 s
[opt-env-conf-test] CheckSucceeded _ -> do
2121.19 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.19 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Settings parsed successfully."]
2121.19 s
[opt-env-conf-test] exitSuccess
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] renderMissingCapabilities :: NonEmpty MissingCapability -> [Chunk]
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Check.hs:80:42-56
2121.19 s
[opt-env-conf-test] @@ -77,7 +77,7 @@
2121.19 s
[opt-env-conf-test] Maybe JSON.Object ->
2121.19 s
[opt-env-conf-test] IO (CheckResult a)
2121.19 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
2121.19 s
[opt-env-conf-test] - errOrSets <- runParserOn capabilities ( J us t debu g Mo d e ) p args envVars mConfig
2121.19 s
[opt-env-conf-test] + errOrSets <- runParserOn capabilities ( N o t h in g ) p args envVars mConfig
2121.19 s
[opt-env-conf-test] pure $ case errOrSets of
2121.19 s
[opt-env-conf-test] Right a -> CheckSucceeded a
2121.19 s
[opt-env-conf-test] Left errs ->
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:117:31-43
2121.19 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2121.19 s
[opt-env-conf-test] Just (Rel rf) -> do
2121.19 s
[opt-env-conf-test] let dir = parent rf
2121.19 s
[opt-env-conf-test] let ad = baseDir </> dir
2121.19 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2121.19 s
[opt-env-conf-test] pure
2121.19 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
2121.19 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2121.19 s
[opt-env-conf-test] Just (Rel rf) -> do
2121.19 s
[opt-env-conf-test] let dir = parent rf
2121.19 s
[opt-env-conf-test] let ad = baseDir </> dir
2121.19 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2121.19 s
[opt-env-conf-test] pure
2121.19 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
2121.19 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2121.19 s
[opt-env-conf-test] Just (Rel rf) -> do
2121.19 s
[opt-env-conf-test] let dir = parent rf
2121.19 s
[opt-env-conf-test] let ad = baseDir </> dir
2121.19 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2121.19 s
[opt-env-conf-test] pure
2121.19 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
2121.19 s
[opt-env-conf-test] @@ -168,24 +168,19 @@
2121.19 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2121.19 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2121.19 s
[opt-env-conf-test] Nothing -> pure []
2121.19 s
[opt-env-conf-test] - Just (Abs af) -> do
2121.19 s
[opt-env-conf-test] - let dir = parent af
2121.19 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving dir
2121.19 s
[opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2121.19 s
[opt-env-conf-test] Just (Rel rf) ->
2121.19 s
[opt-env-conf-test] if fp == "."
2121.19 s
[opt-env-conf-test] then do
2121.19 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2121.19 s
[opt-env-conf-test] pure (map fromRelDir ds)
2121.19 s
[opt-env-conf-test] else do
2121.19 s
[opt-env-conf-test] let dir = parent rf
2121.19 s
[opt-env-conf-test] let ad = baseDir </> dir
2121.19 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2121.19 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] pure $
2121.19 s
[opt-env-conf-test] concat
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:186:35-47
2121.19 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2121.19 s
[opt-env-conf-test] else do
2121.19 s
[opt-env-conf-test] let dir = parent rf
2121.19 s
[opt-env-conf-test] let ad = baseDir </> dir
2121.19 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2121.19 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test]
2121.19 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
2121.19 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2121.19 s
[opt-env-conf-test] else do
2121.19 s
[opt-env-conf-test] let dir = parent rf
2121.19 s
[opt-env-conf-test] let ad = baseDir </> dir
2121.19 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
2121.19 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2121.19 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
2121.20 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2121.20 s
[opt-env-conf-test] else do
2121.20 s
[opt-env-conf-test] let dir = parent rf
2121.20 s
[opt-env-conf-test] let ad = baseDir </> dir
2121.20 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
2121.20 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
2121.20 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2121.20 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:179:12-21
2121.20 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
2121.20 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
2121.20 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2121.20 s
[opt-env-conf-test] Just (Rel rf) ->
2121.20 s
[opt-env-conf-test] - i f f p = = " . "
2121.20 s
[opt-env-conf-test] + i f Fals e
2121.20 s
[opt-env-conf-test] then do
2121.20 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2121.20 s
[opt-env-conf-test] pure (map fromRelDir ds)
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
2121.20 s
[opt-env-conf-test] @@ -154,19 +154,16 @@
2121.20 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
2121.20 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
2121.20 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2121.20 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
2121.20 s
[opt-env-conf-test] Nothing -> case fp of
2121.20 s
[opt-env-conf-test] [] -> do
2121.20 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2121.20 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
2121.20 s
[opt-env-conf-test] _ -> pure []
2121.20 s
[opt-env-conf-test] - Just (Abs ad) -> do
2121.20 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
2121.20 s
[opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
2121.20 s
[opt-env-conf-test] Just (Rel rd) -> do
2121.20 s
[opt-env-conf-test] let ad = baseDir </> rd
2121.20 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2121.20 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2121.20 s
[opt-env-conf-test] Nothing -> pure []
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
2121.20 s
[opt-env-conf-test] @@ -155,11 +155,10 @@
2121.20 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
2121.20 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2121.20 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
2121.20 s
[opt-env-conf-test] Nothing -> case fp of
2121.20 s
[opt-env-conf-test] [] -> do
2121.20 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2121.20 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
2121.20 s
[opt-env-conf-test] - _ -> pure []
2121.20 s
[opt-env-conf-test] Just (Abs ad) -> do
2121.20 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2121.20 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
2121.20 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
2121.20 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
2121.20 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
2121.20 s
[opt-env-conf-test] [] -> []
2121.20 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
2121.20 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
2121.20 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
2121.20 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
2121.20 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
2121.20 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
2121.20 s
[opt-env-conf-test] - [] -> []
2121.20 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
2121.20 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
2121.20 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:87:27-50
2121.20 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
2121.20 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
2121.20 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
2121.20 s
[opt-env-conf-test] - [] -> []
2121.20 s
[opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
2121.20 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
2121.20 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
2121.20 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
2121.20 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
2121.20 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
2121.20 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
2121.20 s
[opt-env-conf-test] (Nothing, _) -> o2
2121.20 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
2121.20 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2121.20 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
2121.20 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
2121.20 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
2121.20 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
2121.20 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
2121.20 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
2121.20 s
[opt-env-conf-test] - (Nothing, _) -> o2
2121.20 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
2121.20 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2121.20 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
2121.20 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
2121.20 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2121.20 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2121.20 s
[opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
2121.20 s
[opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
2121.20 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
2121.20 s
[opt-env-conf-test] goCommand = go . commandParser
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Nix.hs:96:28-38
2121.20 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
2121.20 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2121.20 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2121.20 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
2121.20 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
2121.20 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
2121.20 s
[opt-env-conf-test] goCommand = go . commandParser
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
2121.20 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
2121.20 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2121.20 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2121.20 s
[opt-env-conf-test] and
2121.20 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2121.20 s
[opt-env-conf-test] null settingEnvVars,
2121.20 s
[opt-env-conf-test] - null settingConfigVals
2121.20 s
[opt-env-conf-test] ]
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
2121.20 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
2121.20 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2121.20 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2121.20 s
[opt-env-conf-test] and
2121.20 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2121.20 s
[opt-env-conf-test] null settingEnvVars,
2121.20 s
[opt-env-conf-test] null settingConfigVals
2121.20 s
[opt-env-conf-test] ]
2121.20 s
[opt-env-conf-test]
2121.20 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:342:15-37
2121.20 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
2121.21 s
[opt-env-conf-test] and
2121.21 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2121.21 s
[opt-env-conf-test] null settingEnvVars,
2121.21 s
[opt-env-conf-test] - n u ll s e t t in gConfigVals
2121.21 s
[opt-env-conf-test] + T r u e
2121.21 s
[opt-env-conf-test] ]
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:341:15-34
2121.21 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
2121.21 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2121.21 s
[opt-env-conf-test] and
2121.21 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2121.21 s
[opt-env-conf-test] - n u ll s e t ti ngEnv Va r s ,
2121.21 s
[opt-env-conf-test] + T r u e ,
2121.21 s
[opt-env-conf-test] null settingConfigVals
2121.21 s
[opt-env-conf-test] ]
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-82
2121.21 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2121.21 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2121.21 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2121.21 s
[opt-env-conf-test] and
2121.21 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 ,
2121.21 s
[opt-env-conf-test] + [ T r u e ,
2121.21 s
[opt-env-conf-test] null settingEnvVars,
2121.21 s
[opt-env-conf-test] null settingConfigVals
2121.21 s
[opt-env-conf-test] ]
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-82
2121.21 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2121.21 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2121.21 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2121.21 s
[opt-env-conf-test] and
2121.21 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,
2121.21 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e,
2121.21 s
[opt-env-conf-test] null settingEnvVars,
2121.21 s
[opt-env-conf-test] null settingConfigVals
2121.21 s
[opt-env-conf-test] ]
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:57-82
2121.21 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2121.21 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2121.21 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2121.21 s
[opt-env-conf-test] and
2121.21 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s J u s t s e t tin gSwitc hVa lu e ,
2121.21 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || Tr u e ,
2121.21 s
[opt-env-conf-test] null settingEnvVars,
2121.21 s
[opt-env-conf-test] null settingConfigVals
2121.21 s
[opt-env-conf-test] ]
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:340:37-53
2121.21 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2121.21 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2121.21 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2121.21 s
[opt-env-conf-test] and
2121.21 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2121.21 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption ) || isJust settingSwitchValue,
2121.21 s
[opt-env-conf-test] null settingEnvVars,
2121.21 s
[opt-env-conf-test] null settingConfigVals
2121.21 s
[opt-env-conf-test] ]
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
2121.21 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2121.21 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2121.21 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2121.21 s
[opt-env-conf-test] and
2121.21 s
[opt-env-conf-test] - [ settingTryArgument || se tt ingT ryOp ti o n || isJust settingSwitchValue,
2121.21 s
[opt-env-conf-test] + [ settingTryArgument || F a l se || isJust settingSwitchValue,
2121.21 s
[opt-env-conf-test] null settingEnvVars,
2121.21 s
[opt-env-conf-test] null settingConfigVals
2121.21 s
[opt-env-conf-test] ]
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
2121.21 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2121.21 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2121.21 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2121.21 s
[opt-env-conf-test] and
2121.21 s
[opt-env-conf-test] - [ settingTryArgument || s e tt in g Tr y Opti on || isJust settingSwitchValue,
2121.21 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e || isJust settingSwitchValue,
2121.21 s
[opt-env-conf-test] null settingEnvVars,
2121.21 s
[opt-env-conf-test] null settingConfigVals
2121.21 s
[opt-env-conf-test] ]
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-33
2121.21 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2121.21 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2121.21 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2121.21 s
[opt-env-conf-test] and
2121.21 s
[opt-env-conf-test] - [ s e tt ing T ry A r g u m e n t || settingTryOption || isJust settingSwitchValue,
2121.21 s
[opt-env-conf-test] + [ T r u e || settingTryOption || isJust settingSwitchValue,
2121.21 s
[opt-env-conf-test] null settingEnvVars,
2121.21 s
[opt-env-conf-test] null settingConfigVals
2121.21 s
[opt-env-conf-test] ]
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-24
2121.21 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2121.21 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2121.21 s
[opt-env-conf-test] c1 <- go p1
2121.21 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2121.21 s
[opt-env-conf-test] - pure $ c1 || c2
2121.21 s
[opt-env-conf-test] + pure $ n o t ( c1 || c2 )
2121.21 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2121.21 s
[opt-env-conf-test] case settingHelp of
2121.21 s
[opt-env-conf-test] Nothing ->
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:288:16-24
2121.21 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2121.21 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2121.21 s
[opt-env-conf-test] c1 <- go p1
2121.21 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2121.21 s
[opt-env-conf-test] - pure $ c1 | | c2
2121.21 s
[opt-env-conf-test] + pure $ c1 & & c2
2121.21 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2121.21 s
[opt-env-conf-test] case settingHelp of
2121.21 s
[opt-env-conf-test] Nothing ->
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
2121.21 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2121.21 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2121.21 s
[opt-env-conf-test] c1 <- go p1
2121.21 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2121.21 s
[opt-env-conf-test] - pure $ c 1 || c2
2121.21 s
[opt-env-conf-test] + pure $ F a ls e
2121.21 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2121.21 s
[opt-env-conf-test] case settingHelp of
2121.21 s
[opt-env-conf-test] Nothing ->
2121.21 s
[opt-env-conf-test]
2121.21 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
2121.21 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2121.21 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2121.21 s
[opt-env-conf-test] c1 <- go p1
2121.21 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2121.21 s
[opt-env-conf-test] - pure $ c 1 || c 2
2121.21 s
[opt-env-conf-test] + pure $ T rue
2121.22 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2121.22 s
[opt-env-conf-test] case settingHelp of
2121.22 s
[opt-env-conf-test] Nothing ->
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:22-24
2121.22 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2121.22 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2121.22 s
[opt-env-conf-test] - pure $ c1 || c2
2121.22 s
[opt-env-conf-test] + pure $ c1 || n o t ( c2 )
2121.22 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2121.22 s
[opt-env-conf-test] case settingHelp of
2121.22 s
[opt-env-conf-test] Nothing ->
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
2121.22 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2121.22 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2121.22 s
[opt-env-conf-test] - pure $ c1 || c 2
2121.22 s
[opt-env-conf-test] + pure $ c1 || F a ls e
2121.22 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2121.22 s
[opt-env-conf-test] case settingHelp of
2121.22 s
[opt-env-conf-test] Nothing ->
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
2121.22 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2121.22 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2121.22 s
[opt-env-conf-test] - pure $ c1 || c 2
2121.22 s
[opt-env-conf-test] + pure $ c1 || T rue
2121.22 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2121.22 s
[opt-env-conf-test] case settingHelp of
2121.22 s
[opt-env-conf-test] Nothing ->
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-18
2121.22 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2121.22 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2121.22 s
[opt-env-conf-test] - pure $ c1 || c2
2121.22 s
[opt-env-conf-test] + pure $ n o t ( c1 ) || c2
2121.22 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2121.22 s
[opt-env-conf-test] case settingHelp of
2121.22 s
[opt-env-conf-test] Nothing ->
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
2121.22 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2121.22 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2121.22 s
[opt-env-conf-test] - pure $ c 1 || c2
2121.22 s
[opt-env-conf-test] + pure $ F a ls e || c2
2121.22 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2121.22 s
[opt-env-conf-test] case settingHelp of
2121.22 s
[opt-env-conf-test] Nothing ->
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
2121.22 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2121.22 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2121.22 s
[opt-env-conf-test] - pure $ c 1 || c2
2121.22 s
[opt-env-conf-test] + pure $ T ru e || c2
2121.22 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2121.22 s
[opt-env-conf-test] case settingHelp of
2121.22 s
[opt-env-conf-test] Nothing ->
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:14-24
2121.22 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.22 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- go p2
2121.22 s
[opt-env-conf-test] - pure ( c1 && c2) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] + pure n o t ( ( c1 && c2) ) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.22 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.22 s
[opt-env-conf-test] c <- go p
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
2121.22 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.22 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- go p2
2121.22 s
[opt-env-conf-test] - pure ( c 1 && c 2) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] + pure F alse -- TODO: is this right?
2121.22 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.22 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.22 s
[opt-env-conf-test] c <- go p
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
2121.22 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.22 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- go p2
2121.22 s
[opt-env-conf-test] - pure ( c1 && c2 ) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] + pure True -- TODO: is this right?
2121.22 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.22 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.22 s
[opt-env-conf-test] c <- go p
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-23
2121.22 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.22 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- go p2
2121.22 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] + pure ( n ot (c1 && c2) ) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.22 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.22 s
[opt-env-conf-test] c <- go p
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:259:15-23
2121.22 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.22 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- go p2
2121.22 s
[opt-env-conf-test] - pure (c1 & & c2) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] + pure (c1 | | c2) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.22 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.22 s
[opt-env-conf-test] c <- go p
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
2121.22 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.22 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- go p2
2121.22 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] + pure ( F a ls e ) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.22 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.22 s
[opt-env-conf-test] c <- go p
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
2121.22 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.22 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- go p2
2121.22 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] + pure ( T ru e ) -- TODO: is this right?
2121.22 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.22 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.22 s
[opt-env-conf-test] c <- go p
2121.22 s
[opt-env-conf-test]
2121.22 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:21-23
2121.22 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.22 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.22 s
[opt-env-conf-test] c1 <- go p1
2121.22 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] + pure (c1 && n o t ( c2) ) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.23 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.23 s
[opt-env-conf-test] c <- go p
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
2121.23 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.23 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] + pure (c1 && F a ls e ) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.23 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.23 s
[opt-env-conf-test] c <- go p
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
2121.23 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.23 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] + pure (c1 && T ru e ) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.23 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.23 s
[opt-env-conf-test] c <- go p
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-17
2121.23 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.23 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] + pure ( n ot (c1 ) && c2) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.23 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.23 s
[opt-env-conf-test] c <- go p
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
2121.23 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.23 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] + pure ( F a ls e && c2) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.23 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.23 s
[opt-env-conf-test] c <- go p
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
2121.23 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2121.23 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] + pure ( T ru e && c2) -- TODO: is this right?
2121.23 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2121.23 s
[opt-env-conf-test] ParserMany mLoc p -> do
2121.23 s
[opt-env-conf-test] c <- go p
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:14-24
2121.23 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.23 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure ( c1 || c2)
2121.23 s
[opt-env-conf-test] + pure n o t ( ( c1 || c2) )
2121.23 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
2121.23 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.23 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure ( c 1 || c2)
2121.23 s
[opt-env-conf-test] + pure F alse
2121.23 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
2121.23 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.23 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure ( c1 || c2)
2121.23 s
[opt-env-conf-test] + pure True
2121.23 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-23
2121.23 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.23 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure (c1 || c2)
2121.23 s
[opt-env-conf-test] + pure ( n ot (c1 || c2) )
2121.23 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:250:15-23
2121.23 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.23 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure (c1 | | c2)
2121.23 s
[opt-env-conf-test] + pure (c1 & & c2)
2121.23 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
2121.23 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.23 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
2121.23 s
[opt-env-conf-test] + pure ( F a ls e )
2121.23 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
2121.23 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.23 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
2121.23 s
[opt-env-conf-test] + pure ( T ru e )
2121.23 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test]
2121.23 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:21-23
2121.23 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.23 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.23 s
[opt-env-conf-test] - pure (c1 || c2)
2121.23 s
[opt-env-conf-test] + pure (c1 || n o t ( c2) )
2121.23 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.23 s
[opt-env-conf-test] c1 <- go p1
2121.23 s
[opt-env-conf-test] c2 <- go p2
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
2121.24 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.24 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.24 s
[opt-env-conf-test] c1 <- go p1
2121.24 s
[opt-env-conf-test] c2 <- go p2
2121.24 s
[opt-env-conf-test] - pure (c1 || c 2 )
2121.24 s
[opt-env-conf-test] + pure (c1 || F a ls e )
2121.24 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.24 s
[opt-env-conf-test] c1 <- go p1
2121.24 s
[opt-env-conf-test] c2 <- go p2
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
2121.24 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.24 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.24 s
[opt-env-conf-test] c1 <- go p1
2121.24 s
[opt-env-conf-test] c2 <- go p2
2121.24 s
[opt-env-conf-test] - pure (c1 || c 2 )
2121.24 s
[opt-env-conf-test] + pure (c1 || T ru e )
2121.24 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.24 s
[opt-env-conf-test] c1 <- go p1
2121.24 s
[opt-env-conf-test] c2 <- go p2
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-17
2121.24 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.24 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.24 s
[opt-env-conf-test] c1 <- go p1
2121.24 s
[opt-env-conf-test] c2 <- go p2
2121.24 s
[opt-env-conf-test] - pure (c1 || c2)
2121.24 s
[opt-env-conf-test] + pure ( n ot (c1 ) || c2)
2121.24 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.24 s
[opt-env-conf-test] c1 <- go p1
2121.24 s
[opt-env-conf-test] c2 <- go p2
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
2121.24 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.24 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.24 s
[opt-env-conf-test] c1 <- go p1
2121.24 s
[opt-env-conf-test] c2 <- go p2
2121.24 s
[opt-env-conf-test] - pure ( c 1 || c2)
2121.24 s
[opt-env-conf-test] + pure ( F a ls e || c2)
2121.24 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.24 s
[opt-env-conf-test] c1 <- go p1
2121.24 s
[opt-env-conf-test] c2 <- go p2
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
2121.24 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2121.24 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2121.24 s
[opt-env-conf-test] c1 <- go p1
2121.24 s
[opt-env-conf-test] c2 <- go p2
2121.24 s
[opt-env-conf-test] - pure ( c 1 || c2)
2121.24 s
[opt-env-conf-test] + pure ( T ru e || c2)
2121.24 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2121.24 s
[opt-env-conf-test] c1 <- go p1
2121.24 s
[opt-env-conf-test] c2 <- go p2
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
2121.24 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test] instance Applicative Parser where
2121.24 s
[opt-env-conf-test] pure = ParserPure
2121.24 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
2121.24 s
[opt-env-conf-test] -- Homomorphism law for applicative
2121.24 s
[opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
2121.24 s
[opt-env-conf-test] _ -> ParserAp p1 p2
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test] instance Selective Parser where
2121.24 s
[opt-env-conf-test] select = ParserSelect
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2121.24 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2121.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2121.24 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2121.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
2121.24 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2121.24 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2121.24 s
[opt-env-conf-test] (True, False) -> p2
2121.24 s
[opt-env-conf-test] - (False, True) -> p1
2121.24 s
[opt-env-conf-test] (False, False) ->
2121.24 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2121.24 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2121.24 s
[opt-env-conf-test] -- alts to always be right-leaning
2121.24 s
[opt-env-conf-test] --
2121.24 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2121.24 s
[opt-env-conf-test] -- p
2121.24 s
[opt-env-conf-test] -- / \
2121.24 s
[opt-env-conf-test] -- p1 p2
2121.24 s
[opt-env-conf-test] -- / \
2121.24 s
[opt-env-conf-test] -- p3 p4
2121.24 s
[opt-env-conf-test] --
2121.24 s
[opt-env-conf-test] -- We need to rearrange it to
2121.24 s
[opt-env-conf-test] -- p
2121.24 s
[opt-env-conf-test] -- / \
2121.24 s
[opt-env-conf-test] -- p1 ++ p3 p4
2121.24 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2121.24 s
[opt-env-conf-test] go (go p1' p3') p4'
2121.24 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2121.24 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2121.24 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2121.24 s
[opt-env-conf-test] in go p1 p2
2121.24 s
[opt-env-conf-test] many = ParserMany Nothing
2121.24 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2121.24 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2121.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2121.24 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2121.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
2121.24 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2121.24 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2121.24 s
[opt-env-conf-test] - (True, False) -> p2
2121.24 s
[opt-env-conf-test] (False, True) -> p1
2121.24 s
[opt-env-conf-test] (False, False) ->
2121.24 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2121.24 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2121.24 s
[opt-env-conf-test] -- alts to always be right-leaning
2121.24 s
[opt-env-conf-test] --
2121.24 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2121.24 s
[opt-env-conf-test] -- p
2121.24 s
[opt-env-conf-test] -- / \
2121.24 s
[opt-env-conf-test] -- p1 p2
2121.24 s
[opt-env-conf-test] -- / \
2121.24 s
[opt-env-conf-test] -- p3 p4
2121.24 s
[opt-env-conf-test] --
2121.24 s
[opt-env-conf-test] -- We need to rearrange it to
2121.24 s
[opt-env-conf-test] -- p
2121.24 s
[opt-env-conf-test] -- / \
2121.24 s
[opt-env-conf-test] -- p1 ++ p3 p4
2121.24 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2121.24 s
[opt-env-conf-test] go (go p1' p3') p4'
2121.24 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2121.24 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2121.24 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2121.24 s
[opt-env-conf-test] in go p1 p2
2121.24 s
[opt-env-conf-test] many = ParserMany Nothing
2121.24 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test]
2121.24 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2121.24 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2121.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2121.24 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2121.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
2121.24 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2121.24 s
[opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
2121.24 s
[opt-env-conf-test] (True, False) -> p2
2121.24 s
[opt-env-conf-test] (False, True) -> p1
2121.24 s
[opt-env-conf-test] (False, False) ->
2121.24 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2121.25 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2121.25 s
[opt-env-conf-test] -- alts to always be right-leaning
2121.25 s
[opt-env-conf-test] --
2121.25 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2121.25 s
[opt-env-conf-test] -- p
2121.25 s
[opt-env-conf-test] -- / \
2121.25 s
[opt-env-conf-test] -- p1 p2
2121.25 s
[opt-env-conf-test] -- / \
2121.25 s
[opt-env-conf-test] -- p3 p4
2121.25 s
[opt-env-conf-test] --
2121.25 s
[opt-env-conf-test] -- We need to rearrange it to
2121.25 s
[opt-env-conf-test] -- p
2121.25 s
[opt-env-conf-test] -- / \
2121.25 s
[opt-env-conf-test] -- p1 ++ p3 p4
2121.25 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2121.25 s
[opt-env-conf-test] go (go p1' p3') p4'
2121.25 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2121.25 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2121.25 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2121.25 s
[opt-env-conf-test] in go p1 p2
2121.25 s
[opt-env-conf-test] many = ParserMany Nothing
2121.25 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2121.25 s
[opt-env-conf-test]
2121.25 s
[opt-env-conf-test]
2121.25 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
2121.25 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
2121.25 s
[opt-env-conf-test] (True, False) -> p2
2121.25 s
[opt-env-conf-test] (False, True) -> p1
2121.25 s
[opt-env-conf-test] (False, False) ->
2121.25 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2121.25 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2121.25 s
[opt-env-conf-test] -- alts to always be right-leaning
2121.25 s
[opt-env-conf-test] --
2121.25 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2121.25 s
[opt-env-conf-test] -- p
2121.25 s
[opt-env-conf-test] -- / \
2121.25 s
[opt-env-conf-test] -- p1 p2
2121.25 s
[opt-env-conf-test] -- / \
2121.25 s
[opt-env-conf-test] -- p3 p4
2121.25 s
[opt-env-conf-test] --
2121.25 s
[opt-env-conf-test] -- We need to rearrange it to
2121.25 s
[opt-env-conf-test] -- p
2121.25 s
[opt-env-conf-test] -- / \
2121.25 s
[opt-env-conf-test] -- p1 ++ p3 p4
2121.25 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2121.25 s
[opt-env-conf-test] go (go p1' p3') p4'
2121.25 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2121.25 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2121.25 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2121.25 s
[opt-env-conf-test] in go p1 p2
2121.25 s
[opt-env-conf-test] many = ParserMany Nothing
2121.25 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2121.25 s
[opt-env-conf-test]
2121.25 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
2121.25 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
2121.25 s
[opt-env-conf-test] (True, False) -> p2
2121.25 s
[opt-env-conf-test] (False, True) -> p1
2121.25 s
[opt-env-conf-test] (False, False) ->
2121.25 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2121.25 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2121.25 s
[opt-env-conf-test] -- alts to always be right-leaning
2121.25 s
[opt-env-conf-test] --
2121.25 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2121.25 s
[opt-env-conf-test] -- p
2121.25 s
[opt-env-conf-test] -- / \
2121.25 s
[opt-env-conf-test] -- p1 p2
2121.25 s
[opt-env-conf-test] -- / \
2121.25 s
[opt-env-conf-test] -- p3 p4
2121.25 s
[opt-env-conf-test] --
2121.25 s
[opt-env-conf-test] -- We need to rearrange it to
2121.25 s
[opt-env-conf-test] -- p
2121.25 s
[opt-env-conf-test] -- / \
2121.25 s
[opt-env-conf-test] -- p1 ++ p3 p4
2121.25 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
2121.25 s
[opt-env-conf-test] - go (go p1' p3') p4'
2121.25 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2121.25 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2121.25 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2121.25 s
[opt-env-conf-test] in go p1 p2
2121.25 s
[opt-env-conf-test] many = ParserMany Nothing
2121.25 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2121.25 s
[opt-env-conf-test]
2121.25 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:27-37
2121.25 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2121.25 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2121.25 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2121.25 s
[opt-env-conf-test] ParserSetting _ _ -> False
2121.25 s
[opt-env-conf-test] - in case (isEmpty p1, i s E m pty p 2 ) of
2121.25 s
[opt-env-conf-test] + in case (isEmpty p1, F al s e ) of
2121.25 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2121.25 s
[opt-env-conf-test] (True, False) -> p2
2121.25 s
[opt-env-conf-test] (False, True) -> p1
2121.25 s
[opt-env-conf-test]
2121.25 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:15-25
2121.25 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2121.25 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2121.25 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2121.25 s
[opt-env-conf-test] ParserSetting _ _ -> False
2121.25 s
[opt-env-conf-test] - in case ( i s E m pty p 1 , isEmpty p2) of
2121.25 s
[opt-env-conf-test] + in case ( F al s e , isEmpty p2) of
2121.25 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2121.25 s
[opt-env-conf-test] (True, False) -> p2
2121.25 s
[opt-env-conf-test] (False, True) -> p1
2121.25 s
[opt-env-conf-test]
2121.25 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:264:36-43
2121.25 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
2121.25 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l c s
2121.25 s
[opt-env-conf-test] + ParserCommands _ _ cs -> F a l s e
2121.25 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2121.25 s
[opt-env-conf-test] ParserSetting _ _ -> False
2121.25 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2121.25 s
[opt-env-conf-test]
2121.25 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:263:36-45
2121.25 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
2121.25 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> i s E m pty p
2121.25 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> F a l s e
2121.25 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2121.25 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2121.25 s
[opt-env-conf-test] ParserSetting _ _ -> False
2121.25 s
[opt-env-conf-test]
2121.25 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:262:37-46
2121.25 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
2121.25 s
[opt-env-conf-test] ParserAlt _ _ -> False
2121.25 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> i s E m pty p
2121.25 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> F a l s e
2121.25 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2121.25 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2121.25 s
[opt-env-conf-test]
2121.25 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:260:29-38
2121.25 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
2121.25 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2121.25 s
[opt-env-conf-test] ParserEmpty _ -> True
2121.25 s
[opt-env-conf-test] ParserAlt _ _ -> False
2121.25 s
[opt-env-conf-test] - ParserMany _ p -> i s E m pty p
2121.25 s
[opt-env-conf-test] + ParserMany _ p -> F a l s e
2121.25 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2121.25 s
[opt-env-conf-test]
2121.25 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Parser.hs:258:28-32
2121.25 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
2121.25 s
[opt-env-conf-test] ParserPure _ -> False
2121.25 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2121.25 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2121.25 s
[opt-env-conf-test] - ParserEmpty _ -> Tr u e
2121.25 s
[opt-env-conf-test] + ParserEmpty _ -> F a ls e
2121.25 s
[opt-env-conf-test] ParserAlt _ _ -> False
2121.25 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2121.25 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2121.25 s
[opt-env-conf-test]
2121.25 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Parser.hs:256:29-53
2121.25 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2121.25 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2121.25 s
[opt-env-conf-test] isEmpty = \case
2121.25 s
[opt-env-conf-test] ParserPure _ -> False
2121.25 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf & & isEmpty pa
2121.25 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf | | isEmpty pa
2121.25 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2121.25 s
[opt-env-conf-test] ParserEmpty _ -> True
2121.26 s
[opt-env-conf-test] ParserAlt _ _ -> False
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-53
2121.26 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2121.26 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2121.26 s
[opt-env-conf-test] isEmpty = \case
2121.26 s
[opt-env-conf-test] ParserPure _ -> False
2121.26 s
[opt-env-conf-test] - ParserAp pf pa -> i s Emp ty pf && isEmpty pa
2121.26 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e
2121.26 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2121.26 s
[opt-env-conf-test] ParserEmpty _ -> True
2121.26 s
[opt-env-conf-test] ParserAlt _ _ -> False
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:43-53
2121.26 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2121.26 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2121.26 s
[opt-env-conf-test] isEmpty = \case
2121.26 s
[opt-env-conf-test] ParserPure _ -> False
2121.26 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
2121.26 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && n o t ( isEmpty pa )
2121.26 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2121.26 s
[opt-env-conf-test] ParserEmpty _ -> True
2121.26 s
[opt-env-conf-test] ParserAlt _ _ -> False
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
2121.26 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2121.26 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2121.26 s
[opt-env-conf-test] isEmpty = \case
2121.26 s
[opt-env-conf-test] ParserPure _ -> False
2121.26 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i s E m pty pa
2121.26 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && F al s e
2121.26 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2121.26 s
[opt-env-conf-test] ParserEmpty _ -> True
2121.26 s
[opt-env-conf-test] ParserAlt _ _ -> False
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
2121.26 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2121.26 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2121.26 s
[opt-env-conf-test] isEmpty = \case
2121.26 s
[opt-env-conf-test] ParserPure _ -> False
2121.26 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i sE mpt y p a
2121.26 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && T ru e
2121.26 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2121.26 s
[opt-env-conf-test] ParserEmpty _ -> True
2121.26 s
[opt-env-conf-test] ParserAlt _ _ -> False
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:29-39
2121.26 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2121.26 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2121.26 s
[opt-env-conf-test] isEmpty = \case
2121.26 s
[opt-env-conf-test] ParserPure _ -> False
2121.26 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
2121.26 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf ) && isEmpty pa
2121.26 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2121.26 s
[opt-env-conf-test] ParserEmpty _ -> True
2121.26 s
[opt-env-conf-test] ParserAlt _ _ -> False
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
2121.26 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2121.26 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2121.26 s
[opt-env-conf-test] isEmpty = \case
2121.26 s
[opt-env-conf-test] ParserPure _ -> False
2121.26 s
[opt-env-conf-test] - ParserAp pf pa -> i s E m pty p f && isEmpty pa
2121.26 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e && isEmpty pa
2121.26 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2121.26 s
[opt-env-conf-test] ParserEmpty _ -> True
2121.26 s
[opt-env-conf-test] ParserAlt _ _ -> False
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
2121.26 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2121.26 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2121.26 s
[opt-env-conf-test] isEmpty = \case
2121.26 s
[opt-env-conf-test] ParserPure _ -> False
2121.26 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y p f && isEmpty pa
2121.26 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e && isEmpty pa
2121.26 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2121.26 s
[opt-env-conf-test] ParserEmpty _ -> True
2121.26 s
[opt-env-conf-test] ParserAlt _ _ -> False
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:297:39-40
2121.26 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
2121.26 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] showParserABit :: Parser a -> String
2121.26 s
[opt-env-conf-test] - showParserABit = flip (showParserPrec 0 ) ""
2121.26 s
[opt-env-conf-test] + showParserABit = flip (showParserPrec 1 ) ""
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
2121.26 s
[opt-env-conf-test] showParserPrec = go
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:19-27
2121.26 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test] . go 11 p2
2121.26 s
[opt-env-conf-test] ParserSetting mLoc p ->
2121.26 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.26 s
[opt-env-conf-test] + showParen T ru e $
2121.26 s
[opt-env-conf-test] showString "Setting "
2121.26 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:20-26
2121.26 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test] . go 11 p2
2121.26 s
[opt-env-conf-test] ParserSetting mLoc p ->
2121.26 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.26 s
[opt-env-conf-test] + showParen ( Tru e ) $
2121.26 s
[opt-env-conf-test] showString "Setting "
2121.26 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:373:20-26
2121.26 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test] . go 11 p2
2121.26 s
[opt-env-conf-test] ParserSetting mLoc p ->
2121.26 s
[opt-env-conf-test] - showParen (d > 10) $
2121.26 s
[opt-env-conf-test] + showParen (d > = 10) $
2121.26 s
[opt-env-conf-test] showString "Setting "
2121.26 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
2121.26 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test] . go 11 p2
2121.26 s
[opt-env-conf-test] ParserSetting mLoc p ->
2121.26 s
[opt-env-conf-test] - showParen (d > 10) $
2121.26 s
[opt-env-conf-test] + showParen (d > - 10) $
2121.26 s
[opt-env-conf-test] showString "Setting "
2121.26 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
2121.26 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test] . go 11 p2
2121.26 s
[opt-env-conf-test] ParserSetting mLoc p ->
2121.26 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2121.26 s
[opt-env-conf-test] + showParen (d > 1 ) $
2121.26 s
[opt-env-conf-test] showString "Setting "
2121.26 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
2121.26 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test] . go 11 p2
2121.26 s
[opt-env-conf-test] ParserSetting mLoc p ->
2121.26 s
[opt-env-conf-test] - showParen (d > 1 0) $
2121.26 s
[opt-env-conf-test] + showParen (d > 0) $
2121.26 s
[opt-env-conf-test] showString "Setting "
2121.26 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.26 s
[opt-env-conf-test] . showString " "
2121.26 s
[opt-env-conf-test]
2121.26 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:19-27
2121.26 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.26 s
[opt-env-conf-test] showCommandABit
2121.26 s
[opt-env-conf-test] cs
2121.26 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.26 s
[opt-env-conf-test] - showPare n ( d > 10) $
2121.26 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2121.26 s
[opt-env-conf-test] showString "WithConfig _ "
2121.26 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.26 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
2121.27 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.27 s
[opt-env-conf-test] showCommandABit
2121.27 s
[opt-env-conf-test] cs
2121.27 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.27 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2121.27 s
[opt-env-conf-test] + showParen F a ls e $
2121.27 s
[opt-env-conf-test] showString "WithConfig _ "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
2121.27 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.27 s
[opt-env-conf-test] showCommandABit
2121.27 s
[opt-env-conf-test] cs
2121.27 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.27 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.27 s
[opt-env-conf-test] + showParen T ru e $
2121.27 s
[opt-env-conf-test] showString "WithConfig _ "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:20-26
2121.27 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.27 s
[opt-env-conf-test] showCommandABit
2121.27 s
[opt-env-conf-test] cs
2121.27 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.27 s
[opt-env-conf-test] - showPare n (d > 10) $
2121.27 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2121.27 s
[opt-env-conf-test] showString "WithConfig _ "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
2121.27 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.27 s
[opt-env-conf-test] showCommandABit
2121.27 s
[opt-env-conf-test] cs
2121.27 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.27 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.27 s
[opt-env-conf-test] + showParen ( F a lse ) $
2121.27 s
[opt-env-conf-test] showString "WithConfig _ "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
2121.27 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.27 s
[opt-env-conf-test] showCommandABit
2121.27 s
[opt-env-conf-test] cs
2121.27 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.27 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.27 s
[opt-env-conf-test] + showParen ( Tru e ) $
2121.27 s
[opt-env-conf-test] showString "WithConfig _ "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
2121.27 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.27 s
[opt-env-conf-test] showCommandABit
2121.27 s
[opt-env-conf-test] cs
2121.27 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.27 s
[opt-env-conf-test] - showParen (d > 10) $
2121.27 s
[opt-env-conf-test] + showParen (d > = 10) $
2121.27 s
[opt-env-conf-test] showString "WithConfig _ "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
2121.27 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.27 s
[opt-env-conf-test] showCommandABit
2121.27 s
[opt-env-conf-test] cs
2121.27 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.27 s
[opt-env-conf-test] - showParen (d > 10) $
2121.27 s
[opt-env-conf-test] + showParen (d < = 10) $
2121.27 s
[opt-env-conf-test] showString "WithConfig _ "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
2121.27 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.27 s
[opt-env-conf-test] showCommandABit
2121.27 s
[opt-env-conf-test] cs
2121.27 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.27 s
[opt-env-conf-test] - showParen (d > 10) $
2121.27 s
[opt-env-conf-test] + showParen (d < 10) $
2121.27 s
[opt-env-conf-test] showString "WithConfig _ "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
2121.27 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.27 s
[opt-env-conf-test] showCommandABit
2121.27 s
[opt-env-conf-test] cs
2121.27 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.27 s
[opt-env-conf-test] - showParen (d > 10) $
2121.27 s
[opt-env-conf-test] + showParen (d > - 10) $
2121.27 s
[opt-env-conf-test] showString "WithConfig _ "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
2121.27 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.27 s
[opt-env-conf-test] showCommandABit
2121.27 s
[opt-env-conf-test] cs
2121.27 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.27 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2121.27 s
[opt-env-conf-test] + showParen (d > 1 ) $
2121.27 s
[opt-env-conf-test] showString "WithConfig _ "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
2121.27 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2121.27 s
[opt-env-conf-test] showCommandABit
2121.27 s
[opt-env-conf-test] cs
2121.27 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2121.27 s
[opt-env-conf-test] - showParen (d > 1 0) $
2121.27 s
[opt-env-conf-test] + showParen (d > 0) $
2121.27 s
[opt-env-conf-test] showString "WithConfig _ "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:19-27
2121.27 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2121.27 s
[opt-env-conf-test] . showString " _ "
2121.27 s
[opt-env-conf-test] . go 11 p
2121.27 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2121.27 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.27 s
[opt-env-conf-test] + showParen T ru e $
2121.27 s
[opt-env-conf-test] showString "Commands "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:20-26
2121.27 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2121.27 s
[opt-env-conf-test] . showString " _ "
2121.27 s
[opt-env-conf-test] . go 11 p
2121.27 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2121.27 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.27 s
[opt-env-conf-test] + showParen ( Tru e ) $
2121.27 s
[opt-env-conf-test] showString "Commands "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:355:20-26
2121.27 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2121.27 s
[opt-env-conf-test] . showString " _ "
2121.27 s
[opt-env-conf-test] . go 11 p
2121.27 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2121.27 s
[opt-env-conf-test] - showParen (d > 10) $
2121.27 s
[opt-env-conf-test] + showParen (d > = 10) $
2121.27 s
[opt-env-conf-test] showString "Commands "
2121.27 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.27 s
[opt-env-conf-test] . showString " "
2121.27 s
[opt-env-conf-test]
2121.27 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
2121.28 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2121.28 s
[opt-env-conf-test] . showString " _ "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2121.28 s
[opt-env-conf-test] - showParen (d > 10) $
2121.28 s
[opt-env-conf-test] + showParen (d > - 10) $
2121.28 s
[opt-env-conf-test] showString "Commands "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
2121.28 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2121.28 s
[opt-env-conf-test] . showString " _ "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2121.28 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2121.28 s
[opt-env-conf-test] + showParen (d > 1 ) $
2121.28 s
[opt-env-conf-test] showString "Commands "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
2121.28 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2121.28 s
[opt-env-conf-test] . showString " _ "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2121.28 s
[opt-env-conf-test] - showParen (d > 1 0) $
2121.28 s
[opt-env-conf-test] + showParen (d > 0) $
2121.28 s
[opt-env-conf-test] showString "Commands "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:19-27
2121.28 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2121.28 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.28 s
[opt-env-conf-test] + showParen T ru e $
2121.28 s
[opt-env-conf-test] showString "Check "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:20-26
2121.28 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2121.28 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.28 s
[opt-env-conf-test] + showParen ( Tru e ) $
2121.28 s
[opt-env-conf-test] showString "Check "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:345:20-26
2121.28 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2121.28 s
[opt-env-conf-test] - showParen (d > 10) $
2121.28 s
[opt-env-conf-test] + showParen (d > = 10) $
2121.28 s
[opt-env-conf-test] showString "Check "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
2121.28 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2121.28 s
[opt-env-conf-test] - showParen (d > 10) $
2121.28 s
[opt-env-conf-test] + showParen (d > - 10) $
2121.28 s
[opt-env-conf-test] showString "Check "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
2121.28 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2121.28 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2121.28 s
[opt-env-conf-test] + showParen (d > 1 ) $
2121.28 s
[opt-env-conf-test] showString "Check "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
2121.28 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2121.28 s
[opt-env-conf-test] - showParen (d > 1 0) $
2121.28 s
[opt-env-conf-test] + showParen (d > 0) $
2121.28 s
[opt-env-conf-test] showString "Check "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:19-27
2121.28 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserSome mLoc p ->
2121.28 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.28 s
[opt-env-conf-test] + showParen T ru e $
2121.28 s
[opt-env-conf-test] showString "Some "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:20-26
2121.28 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserSome mLoc p ->
2121.28 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.28 s
[opt-env-conf-test] + showParen ( Tru e ) $
2121.28 s
[opt-env-conf-test] showString "Some "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:333:20-26
2121.28 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserSome mLoc p ->
2121.28 s
[opt-env-conf-test] - showParen (d > 10) $
2121.28 s
[opt-env-conf-test] + showParen (d > = 10) $
2121.28 s
[opt-env-conf-test] showString "Some "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
2121.28 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.28 s
[opt-env-conf-test] ParserSome mLoc p ->
2121.28 s
[opt-env-conf-test] - showParen (d > 10) $
2121.28 s
[opt-env-conf-test] + showParen (d > - 10) $
2121.28 s
[opt-env-conf-test] showString "Some "
2121.28 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test]
2121.28 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
2121.28 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2121.28 s
[opt-env-conf-test] . showString " "
2121.28 s
[opt-env-conf-test] . go 11 p
2121.29 s
[opt-env-conf-test] ParserSome mLoc p ->
2121.29 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2121.29 s
[opt-env-conf-test] + showParen (d > 1 ) $
2121.29 s
[opt-env-conf-test] showString "Some "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
2121.29 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test] . go 11 p
2121.29 s
[opt-env-conf-test] ParserSome mLoc p ->
2121.29 s
[opt-env-conf-test] - showParen (d > 1 0) $
2121.29 s
[opt-env-conf-test] + showParen (d > 0) $
2121.29 s
[opt-env-conf-test] showString "Some "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:19-27
2121.29 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test] . go 11 p2
2121.29 s
[opt-env-conf-test] ParserMany mLoc p ->
2121.29 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.29 s
[opt-env-conf-test] + showParen T ru e $
2121.29 s
[opt-env-conf-test] showString "Many "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:20-26
2121.29 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test] . go 11 p2
2121.29 s
[opt-env-conf-test] ParserMany mLoc p ->
2121.29 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.29 s
[opt-env-conf-test] + showParen ( Tru e ) $
2121.29 s
[opt-env-conf-test] showString "Many "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:327:20-26
2121.29 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test] . go 11 p2
2121.29 s
[opt-env-conf-test] ParserMany mLoc p ->
2121.29 s
[opt-env-conf-test] - showParen (d > 10) $
2121.29 s
[opt-env-conf-test] + showParen (d > = 10) $
2121.29 s
[opt-env-conf-test] showString "Many "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
2121.29 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test] . go 11 p2
2121.29 s
[opt-env-conf-test] ParserMany mLoc p ->
2121.29 s
[opt-env-conf-test] - showParen (d > 10) $
2121.29 s
[opt-env-conf-test] + showParen (d > - 10) $
2121.29 s
[opt-env-conf-test] showString "Many "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
2121.29 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test] . go 11 p2
2121.29 s
[opt-env-conf-test] ParserMany mLoc p ->
2121.29 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2121.29 s
[opt-env-conf-test] + showParen (d > 1 ) $
2121.29 s
[opt-env-conf-test] showString "Many "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
2121.29 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test] . go 11 p2
2121.29 s
[opt-env-conf-test] ParserMany mLoc p ->
2121.29 s
[opt-env-conf-test] - showParen (d > 1 0) $
2121.29 s
[opt-env-conf-test] + showParen (d > 0) $
2121.29 s
[opt-env-conf-test] showString "Many "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:19-27
2121.29 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2121.29 s
[opt-env-conf-test] showString "Empty "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2121.29 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.29 s
[opt-env-conf-test] + showParen T ru e $
2121.29 s
[opt-env-conf-test] showString "Alt "
2121.29 s
[opt-env-conf-test] . go 11 p1
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:20-26
2121.29 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2121.29 s
[opt-env-conf-test] showString "Empty "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2121.29 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.29 s
[opt-env-conf-test] + showParen ( Tru e ) $
2121.29 s
[opt-env-conf-test] showString "Alt "
2121.29 s
[opt-env-conf-test] . go 11 p1
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:321:20-26
2121.29 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2121.29 s
[opt-env-conf-test] showString "Empty "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2121.29 s
[opt-env-conf-test] - showParen (d > 10) $
2121.29 s
[opt-env-conf-test] + showParen (d > = 10) $
2121.29 s
[opt-env-conf-test] showString "Alt "
2121.29 s
[opt-env-conf-test] . go 11 p1
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
2121.29 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2121.29 s
[opt-env-conf-test] showString "Empty "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2121.29 s
[opt-env-conf-test] - showParen (d > 10) $
2121.29 s
[opt-env-conf-test] + showParen (d > - 10) $
2121.29 s
[opt-env-conf-test] showString "Alt "
2121.29 s
[opt-env-conf-test] . go 11 p1
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
2121.29 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2121.29 s
[opt-env-conf-test] showString "Empty "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2121.29 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2121.29 s
[opt-env-conf-test] + showParen (d > 1 ) $
2121.29 s
[opt-env-conf-test] showString "Alt "
2121.29 s
[opt-env-conf-test] . go 11 p1
2121.29 s
[opt-env-conf-test] . showString " "
2121.29 s
[opt-env-conf-test]
2121.29 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
2121.29 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2121.29 s
[opt-env-conf-test] showString "Empty "
2121.29 s
[opt-env-conf-test] . showsPrec 11 mLoc
2121.29 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2121.29 s
[opt-env-conf-test] - showParen (d > 1 0) $
2121.29 s
[opt-env-conf-test] + showParen (d > 0) $
2121.30 s
[opt-env-conf-test] showString "Alt "
2121.30 s
[opt-env-conf-test] . go 11 p1
2121.30 s
[opt-env-conf-test] . showString " "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:19-27
2121.30 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.30 s
[opt-env-conf-test] + showParen T ru e $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test] . go 11 pf
2121.30 s
[opt-env-conf-test] . showString " "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:20-26
2121.30 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2121.30 s
[opt-env-conf-test] + showParen ( Tru e ) $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test] . go 11 pf
2121.30 s
[opt-env-conf-test] . showString " "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:306:20-26
2121.30 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] - showParen (d > 10) $
2121.30 s
[opt-env-conf-test] + showParen (d > = 10) $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test] . go 11 pf
2121.30 s
[opt-env-conf-test] . showString " "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
2121.30 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] - showParen (d > 10) $
2121.30 s
[opt-env-conf-test] + showParen (d > - 10) $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test] . go 11 pf
2121.30 s
[opt-env-conf-test] . showString " "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
2121.30 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2121.30 s
[opt-env-conf-test] + showParen (d > 1 ) $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test] . go 11 pf
2121.30 s
[opt-env-conf-test] . showString " "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
2121.30 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] - showParen (d > 1 0) $
2121.30 s
[opt-env-conf-test] + showParen (d > 0) $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test] . go 11 pf
2121.30 s
[opt-env-conf-test] . showString " "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:33-41
2121.30 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2121.30 s
[opt-env-conf-test] where
2121.30 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] + ParserPure _ -> showParen T ru e $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] showParen (d > 10) $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:34-40
2121.30 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2121.30 s
[opt-env-conf-test] where
2121.30 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] + ParserPure _ -> showParen ( Tru e ) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] showParen (d > 10) $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:304:34-40
2121.30 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2121.30 s
[opt-env-conf-test] where
2121.30 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > = 10) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] showParen (d > 10) $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
2121.30 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2121.30 s
[opt-env-conf-test] where
2121.30 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > - 10) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] showParen (d > 10) $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
2121.30 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2121.30 s
[opt-env-conf-test] where
2121.30 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0 ) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 1 ) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] showParen (d > 10) $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
2121.30 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2121.30 s
[opt-env-conf-test] where
2121.30 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2121.30 s
[opt-env-conf-test] go d = \case
2121.30 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
2121.30 s
[opt-env-conf-test] ParserAp pf pa ->
2121.30 s
[opt-env-conf-test] showParen (d > 10) $
2121.30 s
[opt-env-conf-test] showString "Ap "
2121.30 s
[opt-env-conf-test]
2121.30 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2121.30 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2121.30 s
[opt-env-conf-test] where
2121.30 s
[opt-env-conf-test] go p =
2121.30 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2121.30 s
[opt-env-conf-test] in case p of
2121.30 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2121.30 s
[opt-env-conf-test] ParserAp {} -> p'
2121.30 s
[opt-env-conf-test] ParserSelect {} -> p'
2121.30 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2121.30 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2121.31 s
[opt-env-conf-test] ParserMany {} -> p'
2121.31 s
[opt-env-conf-test] ParserSome {} -> p'
2121.31 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2121.31 s
[opt-env-conf-test] ParserCheck {} -> p'
2121.31 s
[opt-env-conf-test] ParserCommands {} -> p'
2121.31 s
[opt-env-conf-test] - ParserWithConfig {} -> p'
2121.31 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2121.31 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2121.31 s
[opt-env-conf-test] Just _ -> p
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] -- | Try a list of parsers in order
2121.31 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2121.31 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2121.31 s
[opt-env-conf-test] where
2121.31 s
[opt-env-conf-test] go p =
2121.31 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2121.31 s
[opt-env-conf-test] in case p of
2121.31 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2121.31 s
[opt-env-conf-test] ParserAp {} -> p'
2121.31 s
[opt-env-conf-test] ParserSelect {} -> p'
2121.31 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2121.31 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2121.31 s
[opt-env-conf-test] ParserMany {} -> p'
2121.31 s
[opt-env-conf-test] ParserSome {} -> p'
2121.31 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2121.31 s
[opt-env-conf-test] ParserCheck {} -> p'
2121.31 s
[opt-env-conf-test] - ParserCommands {} -> p'
2121.31 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2121.31 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2121.31 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2121.31 s
[opt-env-conf-test] Just _ -> p
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] -- | Try a list of parsers in order
2121.31 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2121.31 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2121.31 s
[opt-env-conf-test] where
2121.31 s
[opt-env-conf-test] go p =
2121.31 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2121.31 s
[opt-env-conf-test] in case p of
2121.31 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2121.31 s
[opt-env-conf-test] ParserAp {} -> p'
2121.31 s
[opt-env-conf-test] ParserSelect {} -> p'
2121.31 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2121.31 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2121.31 s
[opt-env-conf-test] ParserMany {} -> p'
2121.31 s
[opt-env-conf-test] ParserSome {} -> p'
2121.31 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2121.31 s
[opt-env-conf-test] - ParserCheck {} -> p'
2121.31 s
[opt-env-conf-test] ParserCommands {} -> p'
2121.31 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2121.31 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2121.31 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2121.31 s
[opt-env-conf-test] Just _ -> p
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] -- | Try a list of parsers in order
2121.31 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2121.31 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2121.31 s
[opt-env-conf-test] where
2121.31 s
[opt-env-conf-test] go p =
2121.31 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2121.31 s
[opt-env-conf-test] in case p of
2121.31 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2121.31 s
[opt-env-conf-test] ParserAp {} -> p'
2121.31 s
[opt-env-conf-test] ParserSelect {} -> p'
2121.31 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2121.31 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2121.31 s
[opt-env-conf-test] ParserMany {} -> p'
2121.31 s
[opt-env-conf-test] ParserSome {} -> p'
2121.31 s
[opt-env-conf-test] - ParserAllOrNothing {} -> p'
2121.31 s
[opt-env-conf-test] ParserCheck {} -> p'
2121.31 s
[opt-env-conf-test] ParserCommands {} -> p'
2121.31 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2121.31 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2121.31 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2121.31 s
[opt-env-conf-test] Just _ -> p
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] -- | Try a list of parsers in order
2121.31 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2121.31 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2121.31 s
[opt-env-conf-test] where
2121.31 s
[opt-env-conf-test] go p =
2121.31 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2121.31 s
[opt-env-conf-test] in case p of
2121.31 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2121.31 s
[opt-env-conf-test] ParserAp {} -> p'
2121.31 s
[opt-env-conf-test] ParserSelect {} -> p'
2121.31 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2121.31 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2121.31 s
[opt-env-conf-test] ParserMany {} -> p'
2121.31 s
[opt-env-conf-test] - ParserSome {} -> p'
2121.31 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2121.31 s
[opt-env-conf-test] ParserCheck {} -> p'
2121.31 s
[opt-env-conf-test] ParserCommands {} -> p'
2121.31 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2121.31 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2121.31 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2121.31 s
[opt-env-conf-test] Just _ -> p
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] -- | Try a list of parsers in order
2121.31 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2121.31 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2121.31 s
[opt-env-conf-test] where
2121.31 s
[opt-env-conf-test] go p =
2121.31 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2121.31 s
[opt-env-conf-test] in case p of
2121.31 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2121.31 s
[opt-env-conf-test] ParserAp {} -> p'
2121.31 s
[opt-env-conf-test] ParserSelect {} -> p'
2121.31 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2121.31 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2121.31 s
[opt-env-conf-test] - ParserMany {} -> p'
2121.31 s
[opt-env-conf-test] ParserSome {} -> p'
2121.31 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2121.31 s
[opt-env-conf-test] ParserCheck {} -> p'
2121.31 s
[opt-env-conf-test] ParserCommands {} -> p'
2121.31 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2121.31 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2121.31 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2121.31 s
[opt-env-conf-test] Just _ -> p
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] -- | Try a list of parsers in order
2121.31 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2121.31 s
[opt-env-conf-test]
2121.31 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2121.31 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2121.31 s
[opt-env-conf-test] where
2121.31 s
[opt-env-conf-test] go p =
2121.31 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2121.31 s
[opt-env-conf-test] in case p of
2121.31 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2121.31 s
[opt-env-conf-test] ParserAp {} -> p'
2121.31 s
[opt-env-conf-test] ParserSelect {} -> p'
2121.31 s
[opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
2121.31 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2121.31 s
[opt-env-conf-test] ParserMany {} -> p'
2121.31 s
[opt-env-conf-test] ParserSome {} -> p'
2121.32 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2121.32 s
[opt-env-conf-test] ParserCheck {} -> p'
2121.32 s
[opt-env-conf-test] ParserCommands {} -> p'
2121.32 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2121.32 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2121.32 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2121.32 s
[opt-env-conf-test] Just _ -> p
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] -- | Try a list of parsers in order
2121.32 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2121.32 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2121.32 s
[opt-env-conf-test] where
2121.32 s
[opt-env-conf-test] go p =
2121.32 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2121.32 s
[opt-env-conf-test] in case p of
2121.32 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2121.32 s
[opt-env-conf-test] ParserAp {} -> p'
2121.32 s
[opt-env-conf-test] - ParserSelect {} -> p'
2121.32 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2121.32 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2121.32 s
[opt-env-conf-test] ParserMany {} -> p'
2121.32 s
[opt-env-conf-test] ParserSome {} -> p'
2121.32 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2121.32 s
[opt-env-conf-test] ParserCheck {} -> p'
2121.32 s
[opt-env-conf-test] ParserCommands {} -> p'
2121.32 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2121.32 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2121.32 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2121.32 s
[opt-env-conf-test] Just _ -> p
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] -- | Try a list of parsers in order
2121.32 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2121.32 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2121.32 s
[opt-env-conf-test] where
2121.32 s
[opt-env-conf-test] go p =
2121.32 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2121.32 s
[opt-env-conf-test] in case p of
2121.32 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2121.32 s
[opt-env-conf-test] - ParserAp {} -> p'
2121.32 s
[opt-env-conf-test] ParserSelect {} -> p'
2121.32 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2121.32 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2121.32 s
[opt-env-conf-test] ParserMany {} -> p'
2121.32 s
[opt-env-conf-test] ParserSome {} -> p'
2121.32 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2121.32 s
[opt-env-conf-test] ParserCheck {} -> p'
2121.32 s
[opt-env-conf-test] ParserCommands {} -> p'
2121.32 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2121.32 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2121.32 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2121.32 s
[opt-env-conf-test] Just _ -> p
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] -- | Try a list of parsers in order
2121.32 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2121.32 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2121.32 s
[opt-env-conf-test] where
2121.32 s
[opt-env-conf-test] go p =
2121.32 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2121.32 s
[opt-env-conf-test] in case p of
2121.32 s
[opt-env-conf-test] - ParserPure a -> ParserPure a
2121.32 s
[opt-env-conf-test] ParserAp {} -> p'
2121.32 s
[opt-env-conf-test] ParserSelect {} -> p'
2121.32 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2121.32 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2121.32 s
[opt-env-conf-test] ParserMany {} -> p'
2121.32 s
[opt-env-conf-test] ParserSome {} -> p'
2121.32 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2121.32 s
[opt-env-conf-test] ParserCheck {} -> p'
2121.32 s
[opt-env-conf-test] ParserCommands {} -> p'
2121.32 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2121.32 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2121.32 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2121.32 s
[opt-env-conf-test] Just _ -> p
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] -- | Try a list of parsers in order
2121.32 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
2121.32 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
2121.32 s
[opt-env-conf-test] ParserCheck {} -> p'
2121.32 s
[opt-env-conf-test] ParserCommands {} -> p'
2121.32 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2121.32 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2121.32 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2121.32 s
[opt-env-conf-test] - Just _ -> p
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] -- | Try a list of parsers in order
2121.32 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
2121.32 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
2121.32 s
[opt-env-conf-test] checkMapMaybe func p =
2121.32 s
[opt-env-conf-test] withFrozenCallStack $
2121.32 s
[opt-env-conf-test] checkMapEither
2121.32 s
[opt-env-conf-test] ( \a -> case func a of
2121.32 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
2121.32 s
[opt-env-conf-test] - Just b -> Right b
2121.32 s
[opt-env-conf-test] )
2121.32 s
[opt-env-conf-test] p
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:453:24-40
2121.32 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
2121.32 s
[opt-env-conf-test] put as'
2121.32 s
[opt-env-conf-test] pure $ Just []
2121.32 s
[opt-env-conf-test] else do
2121.32 s
[opt-env-conf-test] - if s e tt in g Tr y Opti on
2121.32 s
[opt-env-conf-test] + if Tr ue
2121.32 s
[opt-env-conf-test] then do
2121.32 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
2121.32 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
2121.32 s
[opt-env-conf-test] @@ -432,11 +432,10 @@
2121.32 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
2121.32 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
2121.32 s
[opt-env-conf-test] -- completer if we are at the end.
2121.32 s
[opt-env-conf-test] case possibilities of
2121.32 s
[opt-env-conf-test] - [] -> completeWithCompleterAtEnd
2121.32 s
[opt-env-conf-test] (_, as') : _ -> do
2121.32 s
[opt-env-conf-test] put as'
2121.32 s
[opt-env-conf-test] completeWithCompleterAtEnd
2121.32 s
[opt-env-conf-test] else
2121.32 s
[opt-env-conf-test] if isJust settingSwitchValue
2121.32 s
[opt-env-conf-test] then do
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
2121.32 s
[opt-env-conf-test] @@ -434,9 +434,8 @@
2121.32 s
[opt-env-conf-test] -- completer if we are at the end.
2121.32 s
[opt-env-conf-test] case possibilities of
2121.32 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
2121.32 s
[opt-env-conf-test] (_, as') : _ -> do
2121.32 s
[opt-env-conf-test] - put as'
2121.32 s
[opt-env-conf-test] completeWithCompleterAtEnd
2121.32 s
[opt-env-conf-test] else
2121.32 s
[opt-env-conf-test] if isJust settingSwitchValue
2121.32 s
[opt-env-conf-test] then do
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
2121.32 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
2121.32 s
[opt-env-conf-test] pure Completion {..}
2121.32 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
2121.32 s
[opt-env-conf-test] as <- get
2121.32 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ J u s t [ ]
2121.32 s
[opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ No t h ing
2121.32 s
[opt-env-conf-test] let completeWithDasheds = do
2121.32 s
[opt-env-conf-test] let isLong = \case
2121.32 s
[opt-env-conf-test] DashedLong _ -> True
2121.32 s
[opt-env-conf-test]
2121.32 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
2121.32 s
[opt-env-conf-test] @@ -251,9 +251,8 @@
2121.32 s
[opt-env-conf-test] before <- get
2121.32 s
[opt-env-conf-test] mA <- func
2121.33 s
[opt-env-conf-test] case mA of
2121.33 s
[opt-env-conf-test] Nothing -> do
2121.33 s
[opt-env-conf-test] - put before
2121.33 s
[opt-env-conf-test] pure Nothing
2121.33 s
[opt-env-conf-test] Just a -> pure (Just a)
2121.33 s
[opt-env-conf-test]
2121.33 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
2121.33 s
[opt-env-conf-test]
2121.33 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2121.33 s
[opt-env-conf-test] @@ -125,42 +125,41 @@
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2121.33 s
[opt-env-conf-test] exitFailure
2121.33 s
[opt-env-conf-test] Right i -> case i of
2121.33 s
[opt-env-conf-test] ShowVersion -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] RenderMan -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] RenderDocumentation -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] RenderNixosOptions -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2121.33 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] - ParsedNormally a -> pure a
2121.33 s
[opt-env-conf-test]
2121.33 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.
2121.33 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2121.33 s
[opt-env-conf-test]
2121.33 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2121.33 s
[opt-env-conf-test] @@ -125,42 +125,39 @@
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2121.33 s
[opt-env-conf-test] exitFailure
2121.33 s
[opt-env-conf-test] Right i -> case i of
2121.33 s
[opt-env-conf-test] ShowVersion -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] RenderMan -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] RenderDocumentation -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] RenderNixosOptions -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] - CompletionQuery enriched index ws -> do
2121.33 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
2121.33 s
[opt-env-conf-test] - exitSuccess
2121.33 s
[opt-env-conf-test] ParsedNormally a -> pure a
2121.33 s
[opt-env-conf-test]
2121.33 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.
2121.33 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2121.33 s
[opt-env-conf-test]
2121.33 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2121.33 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2121.33 s
[opt-env-conf-test] exitFailure
2121.33 s
[opt-env-conf-test] Right i -> case i of
2121.33 s
[opt-env-conf-test] ShowVersion -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] RenderMan -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] RenderDocumentation -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] RenderNixosOptions -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2121.33 s
[opt-env-conf-test] - exitSuccess
2121.33 s
[opt-env-conf-test] - FishCompletionScript progPath -> do
2121.33 s
[opt-env-conf-test] - progname <- getProgName
2121.33 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2121.33 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] ParsedNormally a -> pure a
2121.33 s
[opt-env-conf-test]
2121.33 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.
2121.33 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2121.33 s
[opt-env-conf-test]
2121.33 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2121.33 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2121.33 s
[opt-env-conf-test] exitFailure
2121.33 s
[opt-env-conf-test] Right i -> case i of
2121.33 s
[opt-env-conf-test] ShowVersion -> do
2121.33 s
[opt-env-conf-test] progname <- getProgName
2121.33 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.33 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2121.33 s
[opt-env-conf-test] exitSuccess
2121.33 s
[opt-env-conf-test] RenderMan -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] RenderDocumentation -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] RenderNixosOptions -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] - exitSuccess
2121.34 s
[opt-env-conf-test] - ZshCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] - progname <- getProgName
2121.34 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2121.34 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] ParsedNormally a -> pure a
2121.34 s
[opt-env-conf-test]
2121.34 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.
2121.34 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2121.34 s
[opt-env-conf-test]
2121.34 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2121.34 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2121.34 s
[opt-env-conf-test] exitFailure
2121.34 s
[opt-env-conf-test] Right i -> case i of
2121.34 s
[opt-env-conf-test] ShowVersion -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] RenderMan -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] RenderDocumentation -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] RenderNixosOptions -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2121.34 s
[opt-env-conf-test] - exitSuccess
2121.34 s
[opt-env-conf-test] - BashCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] - progname <- getProgName
2121.34 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2121.34 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] ParsedNormally a -> pure a
2121.34 s
[opt-env-conf-test]
2121.34 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.
2121.34 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2121.34 s
[opt-env-conf-test]
2121.34 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2121.34 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2121.34 s
[opt-env-conf-test] exitFailure
2121.34 s
[opt-env-conf-test] Right i -> case i of
2121.34 s
[opt-env-conf-test] ShowVersion -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] RenderMan -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] RenderDocumentation -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2121.34 s
[opt-env-conf-test] - exitSuccess
2121.34 s
[opt-env-conf-test] - RenderNixosOptions -> do
2121.34 s
[opt-env-conf-test] - progname <- getProgName
2121.34 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2121.34 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] ParsedNormally a -> pure a
2121.34 s
[opt-env-conf-test]
2121.34 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.
2121.34 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2121.34 s
[opt-env-conf-test]
2121.34 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2121.34 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2121.34 s
[opt-env-conf-test] exitFailure
2121.34 s
[opt-env-conf-test] Right i -> case i of
2121.34 s
[opt-env-conf-test] ShowVersion -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] RenderMan -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.34 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] - RenderDocumentation -> do
2121.34 s
[opt-env-conf-test] - progname <- getProgName
2121.34 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
2121.34 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2121.34 s
[opt-env-conf-test] - exitSuccess
2121.34 s
[opt-env-conf-test] RenderNixosOptions -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2121.34 s
[opt-env-conf-test] progname <- getProgName
2121.34 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2121.34 s
[opt-env-conf-test] exitSuccess
2121.34 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2121.34 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2121.35 s
[opt-env-conf-test] exitSuccess
2121.35 s
[opt-env-conf-test] ParsedNormally a -> pure a
2121.35 s
[opt-env-conf-test]
2121.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.
2121.35 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2121.35 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
2121.35 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2121.35 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2121.35 s
[opt-env-conf-test] exitFailure
2121.35 s
[opt-env-conf-test] Right i -> case i of
2121.35 s
[opt-env-conf-test] ShowVersion -> do
2121.35 s
[opt-env-conf-test] progname <- getProgName
2121.35 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.35 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2121.35 s
[opt-env-conf-test] exitSuccess
2121.35 s
[opt-env-conf-test] - RenderMan -> do
2121.35 s
[opt-env-conf-test] - progname <- getProgName
2121.35 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
2121.35 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2121.35 s
[opt-env-conf-test] - exitSuccess
2121.35 s
[opt-env-conf-test] RenderDocumentation -> do
2121.35 s
[opt-env-conf-test] progname <- getProgName
2121.35 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.35 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2121.35 s
[opt-env-conf-test] exitSuccess
2121.35 s
[opt-env-conf-test] RenderNixosOptions -> do
2121.35 s
[opt-env-conf-test] progname <- getProgName
2121.35 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2121.35 s
[opt-env-conf-test] exitSuccess
2121.35 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2121.35 s
[opt-env-conf-test] progname <- getProgName
2121.35 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2121.35 s
[opt-env-conf-test] exitSuccess
2121.35 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2121.35 s
[opt-env-conf-test] progname <- getProgName
2121.35 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2121.35 s
[opt-env-conf-test] exitSuccess
2121.35 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2121.35 s
[opt-env-conf-test] progname <- getProgName
2121.35 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2121.35 s
[opt-env-conf-test] exitSuccess
2121.35 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2121.35 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2121.35 s
[opt-env-conf-test] exitSuccess
2121.35 s
[opt-env-conf-test] ParsedNormally a -> pure a
2121.35 s
[opt-env-conf-test]
2121.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.
2121.35 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:132:21-88
2121.35 s
[opt-env-conf-test] @@ -129,7 +129,6 @@
2121.35 s
[opt-env-conf-test] ShowVersion -> do
2121.35 s
[opt-env-conf-test] progname <- getProgName
2121.35 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.35 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2121.35 s
[opt-env-conf-test] exitSuccess
2121.35 s
[opt-env-conf-test] RenderMan -> do
2121.35 s
[opt-env-conf-test] progname <- getProgName
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:126:19-69
2121.35 s
[opt-env-conf-test] @@ -123,7 +123,6 @@
2121.35 s
[opt-env-conf-test] case errOrResult of
2121.35 s
[opt-env-conf-test] Left errs -> do
2121.35 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2121.35 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderErrors errs
2121.35 s
[opt-env-conf-test] exitFailure
2121.35 s
[opt-env-conf-test] Right i -> case i of
2121.35 s
[opt-env-conf-test] ShowVersion -> do
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:100:15-78
2121.35 s
[opt-env-conf-test] @@ -97,9 +97,6 @@
2121.35 s
[opt-env-conf-test] exitFailure
2121.35 s
[opt-env-conf-test] Right mCommandDoc -> do
2121.35 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.35 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ case mCommandDoc of
2121.35 s
[opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
2121.35 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
2121.35 s
[opt-env-conf-test] exitSuccess
2121.35 s
[opt-env-conf-test] else do
2121.35 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:100:48-78
2121.35 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
2121.35 s
[opt-env-conf-test] exitFailure
2121.35 s
[opt-env-conf-test] Right mCommandDoc -> do
2121.35 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2121.35 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
2121.35 s
[opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
2121.35 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
2121.35 s
[opt-env-conf-test] exitSuccess
2121.35 s
[opt-env-conf-test] else do
2121.35 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:83:12-21
2121.35 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
2121.35 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] mDebugMode <-
2121.35 s
[opt-env-conf-test] - if debugMode
2121.35 s
[opt-env-conf-test] + if n o t ( debugMode )
2121.35 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
2121.35 s
[opt-env-conf-test] else pure Nothing
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
2121.35 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
2121.35 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] mDebugMode <-
2121.35 s
[opt-env-conf-test] - if d e b ugM o d e
2121.35 s
[opt-env-conf-test] + if F al s e
2121.35 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
2121.35 s
[opt-env-conf-test] else pure Nothing
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
2121.35 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
2121.35 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] mDebugMode <-
2121.35 s
[opt-env-conf-test] - if d eb u gM o d e
2121.35 s
[opt-env-conf-test] + if T r u e
2121.35 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
2121.35 s
[opt-env-conf-test] else pure Nothing
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:175:18-23
2121.35 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
2121.35 s
[opt-env-conf-test] | x == arg -> (True, xs)
2121.35 s
[opt-env-conf-test] | otherwise ->
2121.35 s
[opt-env-conf-test] let (found, rest) = go xs
2121.35 s
[opt-env-conf-test] - i n (found , x : rest)
2121.35 s
[opt-env-conf-test] + i n ( n ot (found ) , x : rest)
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
2121.35 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:175:18-23
2121.35 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
2121.35 s
[opt-env-conf-test] | x == arg -> (True, xs)
2121.35 s
[opt-env-conf-test] | otherwise ->
2121.35 s
[opt-env-conf-test] let (found, rest) = go xs
2121.35 s
[opt-env-conf-test] - in ( f o u nd , x : rest)
2121.35 s
[opt-env-conf-test] + in ( Fal s e , x : rest)
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
2121.35 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:199:13-44
2121.35 s
[opt-env-conf-test] @@ -196,13 +196,12 @@
2121.35 s
[opt-env-conf-test] [] -> (caps, [])
2121.35 s
[opt-env-conf-test] (x : xs) ->
2121.35 s
[opt-env-conf-test] let t = T.pack x
2121.35 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
2121.35 s
[opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
2121.35 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
2121.35 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
2121.35 s
[opt-env-conf-test] Nothing ->
2121.35 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
2121.35 s
[opt-env-conf-test] in (finalCaps, x : rest)
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
2121.35 s
[opt-env-conf-test] -- is supposed to.
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:201:26-44
2121.35 s
[opt-env-conf-test] @@ -198,11 +198,10 @@
2121.35 s
[opt-env-conf-test] let t = T.pack x
2121.35 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
2121.35 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
2121.35 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
2121.35 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
2121.35 s
[opt-env-conf-test] Nothing ->
2121.35 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
2121.35 s
[opt-env-conf-test] in (finalCaps, x : rest)
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
2121.35 s
[opt-env-conf-test] -- is supposed to.
2121.35 s
[opt-env-conf-test]
2121.35 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:440:44-42
2121.35 s
[opt-env-conf-test] @@ -437,21 +437,20 @@
2121.35 s
[opt-env-conf-test] Just (a, _) -> do
2121.35 s
[opt-env-conf-test] debug ["set to default value"]
2121.35 s
[opt-env-conf-test] pure a -- Don't mark as parsed
2121.35 s
[opt-env-conf-test] Nothing -> do
2121.35 s
[opt-env-conf-test] let parseResultError e res = case res of
2121.35 s
[opt-env-conf-test] NotRun -> Nothing
2121.35 s
[opt-env-conf-test] NotFound -> Just e
2121.35 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
2121.35 s
[opt-env-conf-test] - debug ["not found"]
2121.35 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
2121.35 s
[opt-env-conf-test] NE.nonEmpty $
2121.35 s
[opt-env-conf-test] catMaybes
2121.35 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
2121.35 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
2121.36 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
2121.36 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
2121.36 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
2121.36 s
[opt-env-conf-test] ]
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] withCapabilities ::
2121.36 s
[opt-env-conf-test] Maybe SrcLoc ->
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:441:64-59
2121.36 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
2121.36 s
[opt-env-conf-test] debug ["set to default value"]
2121.36 s
[opt-env-conf-test] pure a -- Don't mark as parsed
2121.36 s
[opt-env-conf-test] Nothing -> do
2121.36 s
[opt-env-conf-test] let parseResultError e res = case res of
2121.36 s
[opt-env-conf-test] NotRun -> Nothing
2121.36 s
[opt-env-conf-test] NotFound -> Just e
2121.36 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
2121.36 s
[opt-env-conf-test] debug ["not found"]
2121.36 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
2121.36 s
[opt-env-conf-test] NE.nonEmpty $
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:396:41-64
2121.36 s
[opt-env-conf-test] @@ -393,30 +393,29 @@
2121.36 s
[opt-env-conf-test] case mO' of
2121.36 s
[opt-env-conf-test] Nothing -> pure Nothing
2121.36 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
2121.36 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
2121.36 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2121.36 s
[opt-env-conf-test] Right mV -> case mV of
2121.36 s
[opt-env-conf-test] Nothing -> do
2121.36 s
[opt-env-conf-test] debug
2121.36 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
2121.36 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2121.36 s
[opt-env-conf-test] ]
2121.36 s
[opt-env-conf-test] pure Nothing
2121.36 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
2121.36 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2121.36 s
[opt-env-conf-test] Right mA -> case mA of
2121.36 s
[opt-env-conf-test] Nothing -> do
2121.36 s
[opt-env-conf-test] debug
2121.36 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
2121.36 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2121.36 s
[opt-env-conf-test] ]
2121.36 s
[opt-env-conf-test] pure Nothing
2121.36 s
[opt-env-conf-test] Just a -> do
2121.36 s
[opt-env-conf-test] debug
2121.36 s
[opt-env-conf-test] [ "set based on config value: ",
2121.36 s
[opt-env-conf-test] chunk $ T.pack $ show v
2121.36 s
[opt-env-conf-test] ]
2121.36 s
[opt-env-conf-test] pure $ Just a
2121.36 s
[opt-env-conf-test] let toRes = \case
2121.36 s
[opt-env-conf-test] Nothing -> NotFound
2121.36 s
[opt-env-conf-test] Just a -> Found a
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:405:55-64
2121.36 s
[opt-env-conf-test] @@ -402,21 +402,20 @@
2121.36 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2121.36 s
[opt-env-conf-test] ]
2121.36 s
[opt-env-conf-test] pure Nothing
2121.36 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
2121.36 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2121.36 s
[opt-env-conf-test] Right mA -> case mA of
2121.36 s
[opt-env-conf-test] Nothing -> do
2121.36 s
[opt-env-conf-test] debug
2121.36 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
2121.36 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2121.36 s
[opt-env-conf-test] ]
2121.36 s
[opt-env-conf-test] pure Nothing
2121.36 s
[opt-env-conf-test] Just a -> do
2121.36 s
[opt-env-conf-test] debug
2121.36 s
[opt-env-conf-test] [ "set based on config value: ",
2121.36 s
[opt-env-conf-test] chunk $ T.pack $ show v
2121.36 s
[opt-env-conf-test] ]
2121.36 s
[opt-env-conf-test] pure $ Just a
2121.36 s
[opt-env-conf-test] let toRes = \case
2121.36 s
[opt-env-conf-test] Nothing -> NotFound
2121.36 s
[opt-env-conf-test] Just a -> Found a
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:393:49-82
2121.36 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
2121.36 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
2121.36 s
[opt-env-conf-test] Just neRest -> do
2121.36 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
2121.36 s
[opt-env-conf-test] case mO' of
2121.36 s
[opt-env-conf-test] - Nothing -> pure Nothing
2121.36 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
2121.36 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
2121.36 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2121.36 s
[opt-env-conf-test] Right mV -> case mV of
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:224:38-20
2121.36 s
[opt-env-conf-test] @@ -221,15 +221,14 @@
2121.36 s
[opt-env-conf-test] Just c -> do
2121.36 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
2121.36 s
[opt-env-conf-test] go $ commandParser c
2121.36 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2121.36 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2121.36 s
[opt-env-conf-test] ppIndent $ do
2121.36 s
[opt-env-conf-test] debug ["loading config"]
2121.36 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
2121.36 s
[opt-env-conf-test] debug ["with loaded config"]
2121.36 s
[opt-env-conf-test] ppIndent $
2121.36 s
[opt-env-conf-test] local (\e -> e {ppEnvConf = mNewConfig}) $
2121.36 s
[opt-env-conf-test] go pa
2121.36 s
[opt-env-conf-test] ParserSetting mLoc set@Setting {..} -> do
2121.36 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
2121.36 s
[opt-env-conf-test] when (not (Set.null settingRequiredCapabilities)) $
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:221:27-39
2121.36 s
[opt-env-conf-test] @@ -218,9 +218,8 @@
2121.36 s
[opt-env-conf-test] Just s -> do
2121.36 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
2121.36 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
2121.36 s
[opt-env-conf-test] Just c -> do
2121.36 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
2121.36 s
[opt-env-conf-test] go $ commandParser c
2121.36 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2121.36 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2121.36 s
[opt-env-conf-test] ppIndent $ do
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:215:28-40
2121.36 s
[opt-env-conf-test] @@ -212,9 +212,8 @@
2121.36 s
[opt-env-conf-test] find ((== d) . commandArg) cs
2121.36 s
[opt-env-conf-test] case mDefaultCommand of
2121.36 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
2121.36 s
[opt-env-conf-test] Just dc -> do
2121.36 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
2121.36 s
[opt-env-conf-test] go $ commandParser dc
2121.36 s
[opt-env-conf-test] Just s -> do
2121.36 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
2121.36 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:195:29-70
2121.36 s
[opt-env-conf-test] @@ -192,9 +192,8 @@
2121.36 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
2121.36 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2121.36 s
[opt-env-conf-test] case errOrB of
2121.36 s
[opt-env-conf-test] Left err -> do
2121.36 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2121.36 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2121.36 s
[opt-env-conf-test] Right b -> do
2121.36 s
[opt-env-conf-test] debug ["succeeded"]
2121.36 s
[opt-env-conf-test] pure b
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:197:56-66
2121.36 s
[opt-env-conf-test] @@ -194,7 +194,7 @@
2121.36 s
[opt-env-conf-test] case errOrB of
2121.36 s
[opt-env-conf-test] Left err -> do
2121.36 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2121.36 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed f o rg iv a b l e err
2121.36 s
[opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed F a l s e err
2121.36 s
[opt-env-conf-test] Right b -> do
2121.36 s
[opt-env-conf-test] debug ["succeeded"]
2121.36 s
[opt-env-conf-test] pure b
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
2121.36 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
2121.36 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2121.36 s
[opt-env-conf-test] case errOrB of
2121.36 s
[opt-env-conf-test] Left err -> do
2121.36 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2121.36 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2121.36 s
[opt-env-conf-test] Right b -> do
2121.36 s
[opt-env-conf-test] debug ["succeeded"]
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
2121.36 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
2121.36 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2121.36 s
[opt-env-conf-test] case errOrB of
2121.36 s
[opt-env-conf-test] Left err -> do
2121.36 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2121.36 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2121.36 s
[opt-env-conf-test] Right b -> do
2121.36 s
[opt-env-conf-test] debug ["succeeded"]
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] Negate at src/OptEnvConf/Run.hs:196:72-82
2121.36 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
2121.36 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2121.36 s
[opt-env-conf-test] case errOrB of
2121.36 s
[opt-env-conf-test] Left err -> do
2121.36 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable ]
2121.36 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show n o t ( forgivable ) ]
2121.36 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2121.36 s
[opt-env-conf-test] Right b -> do
2121.36 s
[opt-env-conf-test] debug ["succeeded"]
2121.36 s
[opt-env-conf-test]
2121.36 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:196:72-82
2121.36 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
2121.36 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2121.36 s
[opt-env-conf-test] case errOrB of
2121.36 s
[opt-env-conf-test] Left err -> do
2121.36 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show f o r gi v a b l e]
2121.36 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show T r u e]
2121.36 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2121.36 s
[opt-env-conf-test] Right b -> do
2121.36 s
[opt-env-conf-test] debug ["succeeded"]
2121.36 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:150:37-112
2121.37 s
[opt-env-conf-test] @@ -147,34 +147,33 @@
2121.37 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
2121.37 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2121.37 s
[opt-env-conf-test] pure (a :| as)
2121.37 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2121.37 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test] e <- ask
2121.37 s
[opt-env-conf-test] s <- get
2121.37 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
2121.37 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
2121.37 s
[opt-env-conf-test] put s'
2121.37 s
[opt-env-conf-test] case result of
2121.37 s
[opt-env-conf-test] Success a -> pure a
2121.37 s
[opt-env-conf-test] Failure errs -> do
2121.37 s
[opt-env-conf-test] if not $ all errorIsForgivable errs
2121.37 s
[opt-env-conf-test] then ppErrors' errs
2121.37 s
[opt-env-conf-test] else do
2121.37 s
[opt-env-conf-test] -- Settings available below
2121.37 s
[opt-env-conf-test] let settingsMap = parserSettingsMap p'
2121.37 s
[opt-env-conf-test] -- Settings that have been parsed
2121.37 s
[opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
2121.37 s
[opt-env-conf-test] -- Settings that have been parsed below
2121.37 s
[opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
2121.37 s
[opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
2121.37 s
[opt-env-conf-test] -- (this is the case because we're in the failure branch)
2121.37 s
[opt-env-conf-test] -- with only forgivable errors
2121.37 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
2121.37 s
[opt-env-conf-test] -- then this should be an unforgivable error.
2121.37 s
[opt-env-conf-test] if null parsedSettingsMap
2121.37 s
[opt-env-conf-test] then ppErrors' errs
2121.37 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
2121.37 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:18-50
2121.37 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
2121.37 s
[opt-env-conf-test] case result of
2121.37 s
[opt-env-conf-test] Success a -> pure a
2121.37 s
[opt-env-conf-test] Failure errs -> do
2121.37 s
[opt-env-conf-test] - if n ot $ al l errorI s Forgiva bl e e rrs
2121.37 s
[opt-env-conf-test] + if F al s e
2121.37 s
[opt-env-conf-test] then ppErrors' errs
2121.37 s
[opt-env-conf-test] else do
2121.37 s
[opt-env-conf-test] -- Settings available below
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:24-50
2121.37 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
2121.37 s
[opt-env-conf-test] case result of
2121.37 s
[opt-env-conf-test] Success a -> pure a
2121.37 s
[opt-env-conf-test] Failure errs -> do
2121.37 s
[opt-env-conf-test] - if not $ a l l err orIsFo r g i vab le e rrs
2121.37 s
[opt-env-conf-test] + if not $ T r u e
2121.37 s
[opt-env-conf-test] then ppErrors' errs
2121.37 s
[opt-env-conf-test] else do
2121.37 s
[opt-env-conf-test] -- Settings available below
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:143:29-25
2121.37 s
[opt-env-conf-test] @@ -140,13 +140,12 @@
2121.37 s
[opt-env-conf-test] Just a -> do
2121.37 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2121.37 s
[opt-env-conf-test] pure (a : as)
2121.37 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2121.37 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test] a <- go p'
2121.37 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
2121.37 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2121.37 s
[opt-env-conf-test] pure (a :| as)
2121.37 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:134:29-28
2121.37 s
[opt-env-conf-test] @@ -131,15 +131,14 @@
2121.37 s
[opt-env-conf-test] Nothing -> do
2121.37 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2121.37 s
[opt-env-conf-test] ppIndent $ go p2
2121.37 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2121.37 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test] eor <- tryPP $ go p'
2121.37 s
[opt-env-conf-test] case eor of
2121.37 s
[opt-env-conf-test] Nothing -> pure []
2121.37 s
[opt-env-conf-test] Just a -> do
2121.37 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2121.37 s
[opt-env-conf-test] pure (a : as)
2121.37 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
2121.37 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
2121.37 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2121.37 s
[opt-env-conf-test] ppIndent $ go p2
2121.37 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2121.37 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test] eor <- tryPP $ go p'
2121.37 s
[opt-env-conf-test] case eor of
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
2121.37 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
2121.37 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2121.37 s
[opt-env-conf-test] ppIndent $ go p2
2121.37 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2121.37 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test] eor <- tryPP $ go p'
2121.37 s
[opt-env-conf-test] case eor of
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
2121.37 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
2121.37 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2121.37 s
[opt-env-conf-test] ppIndent $ go p2
2121.37 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2121.37 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test] eor <- tryPP $ go p'
2121.37 s
[opt-env-conf-test] case eor of
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:122:26-31
2121.37 s
[opt-env-conf-test] @@ -119,18 +119,17 @@
2121.37 s
[opt-env-conf-test] ParserSelect fe ff -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
2121.37 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
2121.37 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.37 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test] debug ["Trying left side."]
2121.37 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
2121.37 s
[opt-env-conf-test] case eor of
2121.37 s
[opt-env-conf-test] Just a -> do
2121.37 s
[opt-env-conf-test] debug ["Left side succeeded."]
2121.37 s
[opt-env-conf-test] pure a
2121.37 s
[opt-env-conf-test] Nothing -> do
2121.37 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2121.37 s
[opt-env-conf-test] ppIndent $ go p2
2121.37 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:131:24-31
2121.37 s
[opt-env-conf-test] @@ -128,9 +128,8 @@
2121.37 s
[opt-env-conf-test] Just a -> do
2121.37 s
[opt-env-conf-test] debug ["Left side succeeded."]
2121.37 s
[opt-env-conf-test] pure a
2121.37 s
[opt-env-conf-test] Nothing -> do
2121.37 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
2121.37 s
[opt-env-conf-test] ppIndent $ go p2
2121.37 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:119:29-42
2121.37 s
[opt-env-conf-test] @@ -116,9 +116,8 @@
2121.37 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
2121.37 s
[opt-env-conf-test] ParserSelect fe ff -> do
2121.37 s
[opt-env-conf-test] - debug [syntaxChunk "Select"]
2121.37 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
2121.37 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "Alt"]
2121.37 s
[opt-env-conf-test] ppIndent $ do
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:116:27-37
2121.37 s
[opt-env-conf-test] @@ -113,9 +113,8 @@
2121.37 s
[opt-env-conf-test] ParserAp ff fa -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
2121.37 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
2121.37 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2121.37 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
2121.37 s
[opt-env-conf-test] ParserSelect fe ff -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
2121.37 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:113:25-35
2121.37 s
[opt-env-conf-test] @@ -110,9 +110,8 @@
2121.37 s
[opt-env-conf-test] ParserPure a -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
2121.37 s
[opt-env-conf-test] pure a
2121.37 s
[opt-env-conf-test] ParserAp ff fa -> do
2121.37 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
2121.37 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
2121.37 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2121.37 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2121.37 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
2121.37 s
[opt-env-conf-test]
2121.37 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:84:3-26
2121.37 s
[opt-env-conf-test] @@ -81,27 +81,26 @@
2121.37 s
[opt-env-conf-test] Nothing -> pure result
2121.37 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
2121.37 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
2121.37 s
[opt-env-conf-test] case mTup of
2121.37 s
[opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
2121.37 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
2121.37 s
[opt-env-conf-test] Success a -> pure (Right a)
2121.37 s
[opt-env-conf-test] Failure firstErrors ->
2121.37 s
[opt-env-conf-test] let goNexts ns = do
2121.37 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
2121.37 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
2121.37 s
[opt-env-conf-test] case mNext of
2121.37 s
[opt-env-conf-test] Nothing ->
2121.37 s
[opt-env-conf-test] pure $
2121.37 s
[opt-env-conf-test] Left $
2121.37 s
[opt-env-conf-test] -- Only show source locations in debug mode.
2121.37 s
[opt-env-conf-test] let f = case mDebugMode of
2121.37 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
2121.37 s
[opt-env-conf-test] Just _ -> id
2121.37 s
[opt-env-conf-test] in f firstErrors
2121.37 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
2121.37 s
[opt-env-conf-test] Success a -> pure (Right a)
2121.37 s
[opt-env-conf-test] Failure _ -> goNexts ns'
2121.37 s
[opt-env-conf-test] in goNexts nexts
2121.37 s
[opt-env-conf-test] where
2121.37 s
[opt-env-conf-test] go ::
2121.37 s
[opt-env-conf-test] Parser a ->
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:464:22-66
2121.38 s
[opt-env-conf-test] @@ -461,11 +461,8 @@
2121.38 s
[opt-env-conf-test] PP a
2121.38 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
2121.38 s
[opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
2121.38 s
[opt-env-conf-test] Just missings -> do
2121.38 s
[opt-env-conf-test] - debug $
2121.38 s
[opt-env-conf-test] - "Missing capabilities: "
2121.38 s
[opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
2121.38 s
[opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
2121.38 s
[opt-env-conf-test] Nothing -> func
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] data ParseResult a
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:477:21-21
2121.38 s
[opt-env-conf-test] @@ -474,9 +474,8 @@
2121.38 s
[opt-env-conf-test] | Found a
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
2121.38 s
[opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
2121.38 s
[opt-env-conf-test] - Nothing -> ppError Nothing ParseErrorNoReaders
2121.38 s
[opt-env-conf-test] Just ne -> pure ne
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] -- Try the readers in order
2121.38 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:568:44-43
2121.38 s
[opt-env-conf-test] @@ -565,12 +565,11 @@
2121.38 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
2121.38 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] ppIndent $ go p'
2121.38 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2121.38 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] ppIndent $ do
2121.38 s
[opt-env-conf-test] mNewConfig <- go pc
2121.38 s
[opt-env-conf-test] mRes <- go pa
2121.38 s
[opt-env-conf-test] pure $ mRes <|> mNewConfig -- Reverse order
2121.38 s
[opt-env-conf-test] ParserSetting mLoc _ -> do
2121.38 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] pure Nothing
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:565:42-31
2121.38 s
[opt-env-conf-test] @@ -562,9 +562,8 @@
2121.38 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2121.38 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] ppIndent $ go p'
2121.38 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
2121.38 s
[opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] ppIndent $ go p'
2121.38 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2121.38 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] ppIndent $ do
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:562:43-31
2121.38 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
2121.38 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2121.38 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] ppIndent $ go p'
2121.38 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2121.38 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] ppIndent $ go p'
2121.38 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
2121.38 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] ppIndent $ go p'
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:544:32-37
2121.38 s
[opt-env-conf-test] @@ -541,18 +541,17 @@
2121.38 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2121.38 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] pure Nothing
2121.38 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2121.38 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
2121.38 s
[opt-env-conf-test] ppIndent $ do
2121.38 s
[opt-env-conf-test] debug ["Trying left side."]
2121.38 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
2121.38 s
[opt-env-conf-test] case eor of
2121.38 s
[opt-env-conf-test] Just a -> do
2121.38 s
[opt-env-conf-test] debug ["Left side succeeded."]
2121.38 s
[opt-env-conf-test] pure a
2121.38 s
[opt-env-conf-test] Nothing -> do
2121.38 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2121.38 s
[opt-env-conf-test] ppIndent $ go p2
2121.38 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2121.38 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] ppIndent $ go p'
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:549:17-37
2121.38 s
[opt-env-conf-test] @@ -546,13 +546,10 @@
2121.38 s
[opt-env-conf-test] ppIndent $ do
2121.38 s
[opt-env-conf-test] debug ["Trying left side."]
2121.38 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
2121.38 s
[opt-env-conf-test] case eor of
2121.38 s
[opt-env-conf-test] Just a -> do
2121.38 s
[opt-env-conf-test] debug ["Left side succeeded."]
2121.38 s
[opt-env-conf-test] pure a
2121.38 s
[opt-env-conf-test] - Nothing -> do
2121.38 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
2121.38 s
[opt-env-conf-test] - ppIndent $ go p2
2121.38 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2121.38 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2121.38 s
[opt-env-conf-test] ppIndent $ go p'
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:529:31-33
2121.38 s
[opt-env-conf-test] @@ -526,12 +526,11 @@
2121.38 s
[opt-env-conf-test] ParserPure _ -> do
2121.38 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
2121.38 s
[opt-env-conf-test] pure Nothing
2121.38 s
[opt-env-conf-test] ParserAp ff fa -> do
2121.38 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
2121.38 s
[opt-env-conf-test] ppIndent $ do
2121.38 s
[opt-env-conf-test] mf <- go ff
2121.38 s
[opt-env-conf-test] ma <- go fa
2121.38 s
[opt-env-conf-test] pure $ ma <|> mf -- Reverse order
2121.38 s
[opt-env-conf-test] ParserSelect fe ff -> do
2121.38 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
2121.38 s
[opt-env-conf-test] ppIndent $ do
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:514:3-35
2121.38 s
[opt-env-conf-test] @@ -511,11 +511,10 @@
2121.38 s
[opt-env-conf-test] ppEnvIndent = 0
2121.38 s
[opt-env-conf-test] }
2121.38 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
2121.38 s
[opt-env-conf-test] case mResOrNext of
2121.38 s
[opt-env-conf-test] - Nothing -> pure $ Right Nothing
2121.38 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
2121.38 s
[opt-env-conf-test] Failure errs -> Left errs
2121.38 s
[opt-env-conf-test] Success mDocs -> Right mDocs
2121.38 s
[opt-env-conf-test] where
2121.38 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
2121.38 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:516:37-35
2121.38 s
[opt-env-conf-test] @@ -513,9 +513,8 @@
2121.38 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
2121.38 s
[opt-env-conf-test] case mResOrNext of
2121.38 s
[opt-env-conf-test] Nothing -> pure $ Right Nothing
2121.38 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
2121.38 s
[opt-env-conf-test] - Failure errs -> Left errs
2121.38 s
[opt-env-conf-test] Success mDocs -> Right mDocs
2121.38 s
[opt-env-conf-test] where
2121.38 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
2121.38 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Run.hs:511:27-28
2121.38 s
[opt-env-conf-test] @@ -508,7 +508,7 @@
2121.38 s
[opt-env-conf-test] { ppEnvEnv = EnvMap.empty,
2121.38 s
[opt-env-conf-test] ppEnvConf = Nothing,
2121.38 s
[opt-env-conf-test] ppEnvDebug = mDebugMode,
2121.38 s
[opt-env-conf-test] - ppEnvIndent = 0
2121.38 s
[opt-env-conf-test] + ppEnvIndent = 1
2121.38 s
[opt-env-conf-test] }
2121.38 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
2121.38 s
[opt-env-conf-test] case mResOrNext of
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:370:15-16
2121.38 s
[opt-env-conf-test] @@ -367,11 +367,10 @@
2121.38 s
[opt-env-conf-test] | not (null commandDocs)
2121.38 s
[opt-env-conf-test] ],
2121.38 s
[opt-env-conf-test] concat
2121.38 s
[opt-env-conf-test] [ [ headerChunks "Options",
2121.38 s
[opt-env-conf-test] renderLongOptDocs optDocs
2121.38 s
[opt-env-conf-test] ]
2121.38 s
[opt-env-conf-test] - | not (nullDocs optDocs)
2121.38 s
[opt-env-conf-test] ],
2121.38 s
[opt-env-conf-test] concat
2121.38 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
2121.38 s
[opt-env-conf-test] renderEnvDocs envDocs
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:373:17-39
2121.38 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2121.38 s
[opt-env-conf-test] [ [ headerChunks "Options",
2121.38 s
[opt-env-conf-test] renderLongOptDocs optDocs
2121.38 s
[opt-env-conf-test] ]
2121.38 s
[opt-env-conf-test] - | n o t ( n u l lDo cs opt Doc s )
2121.38 s
[opt-env-conf-test] + | Tr u e
2121.38 s
[opt-env-conf-test] ],
2121.38 s
[opt-env-conf-test] concat
2121.38 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:329:15-16
2121.38 s
[opt-env-conf-test] @@ -326,11 +326,10 @@
2121.38 s
[opt-env-conf-test] | not (null commandDocs)
2121.38 s
[opt-env-conf-test] ],
2121.38 s
[opt-env-conf-test] concat
2121.38 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
2121.38 s
[opt-env-conf-test] renderLongOptDocs optDocs
2121.38 s
[opt-env-conf-test] ]
2121.38 s
[opt-env-conf-test] - | not (nullDocs optDocs)
2121.38 s
[opt-env-conf-test] ],
2121.38 s
[opt-env-conf-test] concat
2121.38 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
2121.38 s
[opt-env-conf-test] renderEnvDocs envDocs
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:332:17-39
2121.38 s
[opt-env-conf-test] @@ -329,7 +329,7 @@
2121.38 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
2121.38 s
[opt-env-conf-test] renderLongOptDocs optDocs
2121.38 s
[opt-env-conf-test] ]
2121.38 s
[opt-env-conf-test] - | n o t ( n u l lDo cs opt Doc s )
2121.38 s
[opt-env-conf-test] + | Tr u e
2121.38 s
[opt-env-conf-test] ],
2121.38 s
[opt-env-conf-test] concat
2121.38 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
2121.38 s
[opt-env-conf-test]
2121.38 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:568:9-20
2121.38 s
[opt-env-conf-test] @@ -565,21 +565,20 @@
2121.38 s
[opt-env-conf-test] [] -> []
2121.39 s
[opt-env-conf-test] [d] -> go isTopLevel d
2121.39 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2121.39 s
[opt-env-conf-test] case setDocHelp d of
2121.39 s
[opt-env-conf-test] - Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
2121.39 s
[opt-env-conf-test] Just h ->
2121.39 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
2121.39 s
[opt-env-conf-test] in concat
2121.39 s
[opt-env-conf-test] [ concat
2121.39 s
[opt-env-conf-test] [ concat
2121.39 s
[opt-env-conf-test] [ indent $ renderSetDocHeader (Just h),
2121.39 s
[opt-env-conf-test] indent $ concatMap renderSetDocWithoutHeader $ d : sds,
2121.39 s
[opt-env-conf-test] [[]]
2121.39 s
[opt-env-conf-test] ]
2121.39 s
[opt-env-conf-test] | not isTopLevel
2121.39 s
[opt-env-conf-test] ],
2121.39 s
[opt-env-conf-test] goOr isTopLevel rest
2121.39 s
[opt-env-conf-test] ]
2121.39 s
[opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
2121.39 s
[opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
2121.39 s
[opt-env-conf-test] goSameHelp h = \case
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:581:26-36
2121.39 s
[opt-env-conf-test] @@ -578,7 +578,7 @@
2121.39 s
[opt-env-conf-test] ]
2121.39 s
[opt-env-conf-test] | not isTopLevel
2121.39 s
[opt-env-conf-test] ],
2121.39 s
[opt-env-conf-test] - goOr i s T o pL e v e l rest
2121.39 s
[opt-env-conf-test] + goOr T ru e rest
2121.39 s
[opt-env-conf-test] ]
2121.39 s
[opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
2121.39 s
[opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] Negate at src/OptEnvConf/Doc.hs:566:17-27
2121.39 s
[opt-env-conf-test] @@ -563,7 +563,7 @@
2121.39 s
[opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
2121.39 s
[opt-env-conf-test] goOr isTopLevel = \case
2121.39 s
[opt-env-conf-test] [] -> []
2121.39 s
[opt-env-conf-test] - [d] -> g o isTopLevel d
2121.39 s
[opt-env-conf-test] + [d] -> g o n o t ( isTopLevel ) d
2121.39 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2121.39 s
[opt-env-conf-test] case setDocHelp d of
2121.39 s
[opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:566:17-27
2121.39 s
[opt-env-conf-test] @@ -563,7 +563,7 @@
2121.39 s
[opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
2121.39 s
[opt-env-conf-test] goOr isTopLevel = \case
2121.39 s
[opt-env-conf-test] [] -> []
2121.39 s
[opt-env-conf-test] - [d] -> go i s T o pL e v e l d
2121.39 s
[opt-env-conf-test] + [d] -> go T ru e d
2121.39 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2121.39 s
[opt-env-conf-test] case setDocHelp d of
2121.39 s
[opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:588:12-34
2121.39 s
[opt-env-conf-test] @@ -585,7 +585,7 @@
2121.39 s
[opt-env-conf-test] goSameHelp h = \case
2121.39 s
[opt-env-conf-test] [] -> ([], [])
2121.39 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2121.39 s
[opt-env-conf-test] - if s e tDo cHelp d = = J u s t h
2121.39 s
[opt-env-conf-test] + if T r u e
2121.39 s
[opt-env-conf-test] then
2121.39 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
2121.39 s
[opt-env-conf-test] in (d : sds, rest)
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:532:13-50
2121.39 s
[opt-env-conf-test] @@ -529,12 +529,11 @@
2121.39 s
[opt-env-conf-test] [] -> []
2121.39 s
[opt-env-conf-test] [d] -> [go' d]
2121.39 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2121.39 s
[opt-env-conf-test] case setDocHelp d of
2121.39 s
[opt-env-conf-test] - Nothing -> go' (AnyDocsSingle d) : goOr' ds
2121.39 s
[opt-env-conf-test] Just h ->
2121.39 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
2121.39 s
[opt-env-conf-test] ne = d :| sds
2121.39 s
[opt-env-conf-test] in AnyDocsSingle ne : goOr' rest
2121.39 s
[opt-env-conf-test] (d : ds) -> go' d : goOr' ds
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] renderCommandDocs :: AnyDocs (Maybe SetDoc) -> [Chunk]
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:259:17-26
2121.39 s
[opt-env-conf-test] @@ -256,18 +256,16 @@
2121.39 s
[opt-env-conf-test] concat
2121.39 s
[opt-env-conf-test] [ concatMap
2121.39 s
[opt-env-conf-test] ( \(key, schema) ->
2121.39 s
[opt-env-conf-test] case jsonSchemaChunkLines schema of
2121.39 s
[opt-env-conf-test] - [line] ->
2121.39 s
[opt-env-conf-test] - [["config: ", confValChunk key, ": "] ++ line]
2121.39 s
[opt-env-conf-test] ls ->
2121.39 s
[opt-env-conf-test] ["config:"]
2121.39 s
[opt-env-conf-test] : indent
2121.39 s
[opt-env-conf-test] ( case ls of
2121.39 s
[opt-env-conf-test] [] -> [["TODO"]]
2121.39 s
[opt-env-conf-test] (l : ll) ->
2121.39 s
[opt-env-conf-test] ([confValChunk key, ": "] ++ l)
2121.39 s
[opt-env-conf-test] : indent ll
2121.39 s
[opt-env-conf-test] )
2121.39 s
[opt-env-conf-test] )
2121.39 s
[opt-env-conf-test] (NE.toList confs)
2121.39 s
[opt-env-conf-test] | confs <- maybeToList setDocConfKeys
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:265:27-44
2121.39 s
[opt-env-conf-test] @@ -262,11 +262,10 @@
2121.39 s
[opt-env-conf-test] ls ->
2121.39 s
[opt-env-conf-test] ["config:"]
2121.39 s
[opt-env-conf-test] : indent
2121.39 s
[opt-env-conf-test] ( case ls of
2121.39 s
[opt-env-conf-test] - [] -> [["TODO"]]
2121.39 s
[opt-env-conf-test] (l : ll) ->
2121.39 s
[opt-env-conf-test] ([confValChunk key, ": "] ++ l)
2121.39 s
[opt-env-conf-test] : indent ll
2121.39 s
[opt-env-conf-test] )
2121.39 s
[opt-env-conf-test] )
2121.39 s
[opt-env-conf-test] (NE.toList confs)
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:661:30-18
2121.39 s
[opt-env-conf-test] @@ -658,29 +658,28 @@
2121.39 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2121.39 s
[opt-env-conf-test] [] -> Nothing
2121.39 s
[opt-env-conf-test] cs -> Just $ bracketise $ unwordsChunks $ intersperse [orChunk] cs
2121.39 s
[opt-env-conf-test] AnyDocsSingle mOd -> case mOd of
2121.39 s
[opt-env-conf-test] - Nothing -> Nothing
2121.39 s
[opt-env-conf-test] Just OptDoc {..} ->
2121.39 s
[opt-env-conf-test] Just
2121.39 s
[opt-env-conf-test] $ ( if isJust optDocDefault
2121.39 s
[opt-env-conf-test] then bracketise
2121.39 s
[opt-env-conf-test] else id
2121.39 s
[opt-env-conf-test] )
2121.39 s
[opt-env-conf-test] $ unwordsChunks
2121.39 s
[opt-env-conf-test] $ concat
2121.39 s
[opt-env-conf-test] [ [ [mMetavarChunk optDocMetavar]
2121.39 s
[opt-env-conf-test] | optDocTryArgument
2121.39 s
[opt-env-conf-test] ],
2121.39 s
[opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds
2121.39 s
[opt-env-conf-test] | optDocTrySwitch
2121.39 s
[opt-env-conf-test] ],
2121.39 s
[opt-env-conf-test] [ concat
2121.39 s
[opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds,
2121.39 s
[opt-env-conf-test] [" ", mMetavarChunk optDocMetavar]
2121.39 s
[opt-env-conf-test] ]
2121.39 s
[opt-env-conf-test] | optDocTryOption
2121.39 s
[opt-env-conf-test] ]
2121.39 s
[opt-env-conf-test] ]
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] orChunk :: Chunk
2121.39 s
[opt-env-conf-test] orChunk = fore cyan "|"
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
2121.39 s
[opt-env-conf-test] @@ -650,10 +650,9 @@
2121.39 s
[opt-env-conf-test] Nothing -> Just ["COMMAND"]
2121.39 s
[opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
2121.39 s
[opt-env-conf-test] AnyDocsAnd ds ->
2121.39 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2121.39 s
[opt-env-conf-test] [] -> Nothing
2121.39 s
[opt-env-conf-test] - [c] -> Just c
2121.39 s
[opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
2121.39 s
[opt-env-conf-test] AnyDocsOr ds ->
2121.39 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2121.39 s
[opt-env-conf-test] [] -> Nothing
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
2121.39 s
[opt-env-conf-test] @@ -650,10 +650,9 @@
2121.39 s
[opt-env-conf-test] Nothing -> Just ["COMMAND"]
2121.39 s
[opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
2121.39 s
[opt-env-conf-test] AnyDocsAnd ds ->
2121.39 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2121.39 s
[opt-env-conf-test] - [] -> Nothing
2121.39 s
[opt-env-conf-test] [c] -> Just c
2121.39 s
[opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
2121.39 s
[opt-env-conf-test] AnyDocsOr ds ->
2121.39 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2121.39 s
[opt-env-conf-test] [] -> Nothing
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:656:30-31
2121.39 s
[opt-env-conf-test] @@ -653,7 +653,7 @@
2121.39 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2121.39 s
[opt-env-conf-test] [] -> Nothing
2121.39 s
[opt-env-conf-test] [c] -> Just c
2121.39 s
[opt-env-conf-test] - cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
2121.39 s
[opt-env-conf-test] + cs -> Just $ (if F a ls e then parenthesise else id) $ unwordsChunks cs
2121.39 s
[opt-env-conf-test] AnyDocsOr ds ->
2121.39 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2121.39 s
[opt-env-conf-test] [] -> Nothing
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Doc.hs:637:38-43
2121.39 s
[opt-env-conf-test] @@ -634,7 +634,7 @@
2121.39 s
[opt-env-conf-test] withoutNothings =
2121.39 s
[opt-env-conf-test] filter
2121.39 s
[opt-env-conf-test] ( \case
2121.39 s
[opt-env-conf-test] - AnyDocsSingle Nothing -> F al s e
2121.39 s
[opt-env-conf-test] + AnyDocsSingle Nothing -> T ru e
2121.39 s
[opt-env-conf-test] AnyDocsAnd [] -> False
2121.39 s
[opt-env-conf-test] AnyDocsOr [] -> False
2121.39 s
[opt-env-conf-test] _ -> True
2121.39 s
[opt-env-conf-test]
2121.39 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:822:13-52
2121.39 s
[opt-env-conf-test] @@ -819,11 +819,9 @@
2121.40 s
[opt-env-conf-test] [exampleValuesChunks confDocExamples | not (null confDocExamples)],
2121.40 s
[opt-env-conf-test] concatMap
2121.40 s
[opt-env-conf-test] ( \(key, schema) ->
2121.40 s
[opt-env-conf-test] case jsonSchemaChunkLines schema of
2121.40 s
[opt-env-conf-test] - [line] ->
2121.40 s
[opt-env-conf-test] - [[confValChunk key, ": "] ++ line]
2121.40 s
[opt-env-conf-test] ls ->
2121.40 s
[opt-env-conf-test] [confValChunk key, ":"] : indent ls
2121.40 s
[opt-env-conf-test] )
2121.40 s
[opt-env-conf-test] (NE.toList confDocKeys)
2121.40 s
[opt-env-conf-test] ]
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:144:22-46
2121.40 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2121.40 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
2121.40 s
[opt-env-conf-test] salt
2121.40 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
2121.40 s
[opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
2121.40 s
[opt-env-conf-test] + `hashWithSalt` n o t ( envVarSettingAllowPrefix )
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2121.40 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
2121.40 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2121.40 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
2121.40 s
[opt-env-conf-test] salt
2121.40 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
2121.40 s
[opt-env-conf-test] - `hashWithSalt` e n v V a r Settin gAl l o w Pr e f ix
2121.40 s
[opt-env-conf-test] + `hashWithSalt` F a l s e
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2121.40 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
2121.40 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2121.40 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
2121.40 s
[opt-env-conf-test] salt
2121.40 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
2121.40 s
[opt-env-conf-test] - `hashWithSalt` e n v Var Settin gAllow P r e fix
2121.40 s
[opt-env-conf-test] + `hashWithSalt` T r u e
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2121.40 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:136:5-29
2121.40 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] data EnvVarSetting = EnvVarSetting
2121.40 s
[opt-env-conf-test] { envVarSettingVar :: !String,
2121.40 s
[opt-env-conf-test] - e n v Var Settin gAllow P r e fi x :: !Bool
2121.40 s
[opt-env-conf-test] + T r u e :: !Bool
2121.40 s
[opt-env-conf-test] }
2121.40 s
[opt-env-conf-test] deriving (Show, Eq)
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:159:5-32
2121.40 s
[opt-env-conf-test] @@ -156,7 +156,7 @@
2121.40 s
[opt-env-conf-test] = forall void.
2121.40 s
[opt-env-conf-test] ConfigValSetting
2121.40 s
[opt-env-conf-test] { configValSettingPath :: !(NonEmpty String),
2121.40 s
[opt-env-conf-test] - c o nf igV al S ett ingAllo wP r e fi x :: !Bool,
2121.40 s
[opt-env-conf-test] + T r u e :: !Bool,
2121.40 s
[opt-env-conf-test] configValSettingCodec :: !(ValueCodec void (Maybe a))
2121.40 s
[opt-env-conf-test] }
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:128:24-40
2121.40 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2121.40 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2121.40 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2121.40 s
[opt-env-conf-test] - `hashWithSalt` settingTryOption
2121.40 s
[opt-env-conf-test] + `hashWithSalt` n o t ( settingTryOption )
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2121.40 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2121.40 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
2121.40 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2121.40 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2121.40 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2121.40 s
[opt-env-conf-test] - `hashWithSalt` se tt ingT ryOption
2121.40 s
[opt-env-conf-test] + `hashWithSalt` F a l se
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2121.40 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2121.40 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
2121.40 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2121.40 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2121.40 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2121.40 s
[opt-env-conf-test] - `hashWithSalt` s e tt in g Tr y Opti on
2121.40 s
[opt-env-conf-test] + `hashWithSalt` Tr ue
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2121.40 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2121.40 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:127:24-49
2121.40 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
2121.40 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2121.40 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2121.40 s
[opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
2121.40 s
[opt-env-conf-test] + `hashWithSalt` n o t ( isJust settingSwitchValue )
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2121.40 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
2121.40 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
2121.40 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2121.40 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2121.40 s
[opt-env-conf-test] - `hashWithSalt` i s Jus t s e tti ngSwit chV al u e
2121.40 s
[opt-env-conf-test] + `hashWithSalt` F al s e
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2121.40 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
2121.40 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
2121.40 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2121.40 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2121.40 s
[opt-env-conf-test] - `hashWithSalt` i s J u s t s e t tin gSwitchValue
2121.40 s
[opt-env-conf-test] + `hashWithSalt` Tr u e
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2121.40 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:125:24-42
2121.40 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
2121.40 s
[opt-env-conf-test] SettingHash
2121.40 s
[opt-env-conf-test] ( 42
2121.40 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2121.40 s
[opt-env-conf-test] - `hashWithSalt` settingTryArgument
2121.40 s
[opt-env-conf-test] + `hashWithSalt` n o t ( settingTryArgument )
2121.40 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2121.40 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
2121.40 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
2121.40 s
[opt-env-conf-test] SettingHash
2121.40 s
[opt-env-conf-test] ( 42
2121.40 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2121.40 s
[opt-env-conf-test] - `hashWithSalt` se tt ingTr yArgument
2121.40 s
[opt-env-conf-test] + `hashWithSalt` F a l se
2121.40 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2121.40 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2121.40 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setttion: "]
2121.40 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2121.40 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2121.40 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2121.40 s
[opt-env-conf-test] ["Missing command, available commands:"]
2121.40 s
[opt-env-conf-test] : availableCommandsLines cs
2121.40 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2121.40 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2121.40 s
[opt-env-conf-test] [fore blue "available commands:"]
2121.40 s
[opt-env-conf-test] ]
2121.40 s
[opt-env-conf-test] ++ availableCommandsLines cs
2121.40 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2121.40 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2121.40 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2121.40 s
[opt-env-conf-test] ]
2121.40 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2121.40 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2121.40 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2121.40 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2121.40 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2121.40 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2121.40 s
[opt-env-conf-test] ]
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
2121.40 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
2121.40 s
[opt-env-conf-test] Nothing ->
2121.40 s
[opt-env-conf-test] case rest of
2121.40 s
[opt-env-conf-test] (Live v : rest') ->
2121.40 s
[opt-env-conf-test] - case consumeDashedOption dasheds i s L on g cs of
2121.40 s
[opt-env-conf-test] + case consumeDashedOption dasheds Tru e cs of
2121.40 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2121.40 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2121.40 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2121.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
2121.40 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
2121.40 s
[opt-env-conf-test] Nothing ->
2121.40 s
[opt-env-conf-test] case rest of
2121.40 s
[opt-env-conf-test] (Live v : rest') ->
2121.40 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2121.40 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2121.40 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2121.40 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2121.40 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2121.40 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2121.40 s
[opt-env-conf-test]
2121.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
2121.40 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
2121.40 s
[opt-env-conf-test] Nothing ->
2121.40 s
[opt-env-conf-test] case rest of
2121.40 s
[opt-env-conf-test] (Live v : rest') ->
2121.40 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2121.40 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2121.40 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
2121.41 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2121.41 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2121.41 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
2121.41 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
2121.41 s
[opt-env-conf-test] Nothing ->
2121.41 s
[opt-env-conf-test] case rest of
2121.41 s
[opt-env-conf-test] (Live v : rest') ->
2121.41 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2121.41 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
2121.41 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2121.41 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2121.41 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2121.41 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
2121.41 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
2121.41 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2121.41 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2121.41 s
[opt-env-conf-test] ArgDashed isLong cs ->
2121.41 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds i s L on g cs of
2121.41 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds Tru e cs of
2121.41 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2121.41 s
[opt-env-conf-test] Nothing ->
2121.41 s
[opt-env-conf-test] case rest of
2121.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
2121.41 s
[opt-env-conf-test] @@ -222,9 +222,8 @@
2121.41 s
[opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
2121.41 s
[opt-env-conf-test] Nothing ->
2121.41 s
[opt-env-conf-test] -- TODO option value on the border
2121.41 s
[opt-env-conf-test] case go (argsAfter as) of
2121.41 s
[opt-env-conf-test] Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
2121.41 s
[opt-env-conf-test] - Nothing -> Nothing
2121.41 s
[opt-env-conf-test] where
2121.41 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
2121.41 s
[opt-env-conf-test] go = \case
2121.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
2121.41 s
[opt-env-conf-test] @@ -240,13 +240,8 @@
2121.41 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
2121.41 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2121.41 s
[opt-env-conf-test] Nothing ->
2121.41 s
[opt-env-conf-test] case rest of
2121.41 s
[opt-env-conf-test] - (Live v : rest') ->
2121.41 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
2121.41 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
2121.41 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
2121.41 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
2121.41 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2121.41 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] consumeDashedShorthandOption ::
2121.41 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:240:55-61
2121.41 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
2121.41 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
2121.41 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
2121.41 s
[opt-env-conf-test] ArgDashed isLong cs ->
2121.41 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
2121.41 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds n o t ( isLong ) cs of
2121.41 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
2121.41 s
[opt-env-conf-test] Nothing ->
2121.41 s
[opt-env-conf-test] case rest of
2121.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
2121.41 s
[opt-env-conf-test] @@ -222,9 +222,8 @@
2121.41 s
[opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
2121.41 s
[opt-env-conf-test] Nothing ->
2121.41 s
[opt-env-conf-test] -- TODO option value on the border
2121.41 s
[opt-env-conf-test] case go (argsAfter as) of
2121.41 s
[opt-env-conf-test] - Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
2121.41 s
[opt-env-conf-test] Nothing -> Nothing
2121.41 s
[opt-env-conf-test] where
2121.41 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
2121.41 s
[opt-env-conf-test] go = \case
2121.41 s
[opt-env-conf-test] ing.hs:125:24-42
2121.41 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
2121.41 s
[opt-env-conf-test] SettingHash
2121.41 s
[opt-env-conf-test] ( 42
2121.41 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2121.41 s
[opt-env-conf-test] - `hashWithSalt` s e tt ing T ry A r g u m e n t
2121.41 s
[opt-env-conf-test] + `hashWithSalt` T r u e
2121.41 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2121.41 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2121.41 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:148:6-32
2121.41 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2121.41 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2121.41 s
[opt-env-conf-test] - if e n vV arS etting Al l owP r efi x e
2121.41 s
[opt-env-conf-test] + if T r u e
2121.41 s
[opt-env-conf-test] then e {envVarSettingVar = prefix <> envVarSettingVar e}
2121.41 s
[opt-env-conf-test] else e
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:165:6-35
2121.41 s
[opt-env-conf-test] @@ -162,7 +162,7 @@
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] prefixConfigValSetting :: String -> ConfigValSetting a -> ConfigValSetting a
2121.41 s
[opt-env-conf-test] prefixConfigValSetting prefix c =
2121.41 s
[opt-env-conf-test] - if c o nf ig V alSetti ngAllow P r e fi x c
2121.41 s
[opt-env-conf-test] + if T r u e
2121.41 s
[opt-env-conf-test] then c {configValSettingPath = prefix NE.<| configValSettingPath c}
2121.41 s
[opt-env-conf-test] else c
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Setting.hs:173:30-39
2121.41 s
[opt-env-conf-test] @@ -170,9 +170,8 @@
2121.41 s
[opt-env-conf-test] suffixConfigValSettingKey suffix c = c {configValSettingPath = suffixPath $ configValSettingPath c}
2121.41 s
[opt-env-conf-test] where
2121.41 s
[opt-env-conf-test] suffixPath :: NonEmpty String -> NonEmpty String
2121.41 s
[opt-env-conf-test] suffixPath (f :| rest) = case NE.nonEmpty rest of
2121.41 s
[opt-env-conf-test] Nothing -> (f <> suffix) :| []
2121.41 s
[opt-env-conf-test] - Just ne -> f NE.<| suffixPath ne
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] -- | A 'mempty' 'Setting' to build up a setting from.
2121.41 s
[opt-env-conf-test] emptySetting :: Setting a
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:67:3-96
2121.41 s
[opt-env-conf-test] @@ -64,10 +64,8 @@
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] parserLintTest :: Parser a -> IO ()
2121.41 s
[opt-env-conf-test] parserLintTest parser =
2121.41 s
[opt-env-conf-test] case lintParser parser of
2121.41 s
[opt-env-conf-test] Nothing -> pure ()
2121.41 s
[opt-env-conf-test] - Just errs ->
2121.41 s
[opt-env-conf-test] - expectationFailure $ T.unpack $ renderChunksText With24BitColours $ renderLintErrors errs
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] settingsParserArgsTest :: (Show a, Eq a, HasParser a) => [String] -> a -> IO ()
2121.41 s
[opt-env-conf-test] settingsParserArgsTest = parserArgsTest settingsParser
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:149:13-24
2121.41 s
[opt-env-conf-test] @@ -146,14 +146,13 @@
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] generatedFileComment :: CallStack -> T.Text
2121.41 s
[opt-env-conf-test] generatedFileComment cs =
2121.41 s
[opt-env-conf-test] let loc = case getCallStack cs of
2121.41 s
[opt-env-conf-test] (_, srcLoc) : _ ->
2121.41 s
[opt-env-conf-test] packageName (Stack.srcLocPackage srcLoc)
2121.41 s
[opt-env-conf-test] <> ":"
2121.41 s
[opt-env-conf-test] <> Stack.srcLocFile srcLoc
2121.41 s
[opt-env-conf-test] <> ":"
2121.41 s
[opt-env-conf-test] <> show (Stack.srcLocStartLine srcLoc)
2121.41 s
[opt-env-conf-test] - [] -> "unknown"
2121.41 s
[opt-env-conf-test] in T.pack $
2121.41 s
[opt-env-conf-test] unlines $
2121.41 s
[opt-env-conf-test] map
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:19-84
2121.41 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2121.41 s
[opt-env-conf-test] where
2121.41 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2121.41 s
[opt-env-conf-test] go (c : rest) = c : go rest
2121.41 s
[opt-env-conf-test] - isVersion v = not (null v) & & elem '.' v && all (\c -> isDigit c || c == '.') v
2121.41 s
[opt-env-conf-test] + isVersion v = not (null v) | | elem '.' v && all (\c -> isDigit c || c == '.') v
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:35-84
2121.41 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2121.41 s
[opt-env-conf-test] where
2121.41 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2121.41 s
[opt-env-conf-test] go (c : rest) = c : go rest
2121.41 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v & & all (\c -> isDigit c || c == '.') v
2121.41 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v | | all (\c -> isDigit c || c == '.') v
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-84
2121.41 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2121.41 s
[opt-env-conf-test] where
2121.41 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2121.41 s
[opt-env-conf-test] go (c : rest) = c : go rest
2121.41 s
[opt-env-conf-test] - isVersion v = not (null v) && e l em '.' v && all (\c -> isDigit c || c == '.') v
2121.41 s
[opt-env-conf-test] + isVersion v = not (null v) && T r u e
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:49-84
2121.41 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2121.41 s
[opt-env-conf-test] where
2121.41 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2121.41 s
[opt-env-conf-test] go (c : rest) = c : go rest
2121.41 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && a l l (\c - > i s Di g it c || c == '.') v
2121.41 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && Tru e
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-81
2121.41 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2121.41 s
[opt-env-conf-test] where
2121.41 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2121.41 s
[opt-env-conf-test] go (c : rest) = c : go rest
2121.41 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isD igit c || c == '. ' ) v
2121.41 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> T r ue ) v
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:73-81
2121.41 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2121.41 s
[opt-env-conf-test] where
2121.41 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2121.41 s
[opt-env-conf-test] go (c : rest) = c : go rest
2121.41 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == ' . ' ) v
2121.41 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || T ru e ) v
2121.41 s
[opt-env-conf-test]
2121.41 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-69
2121.41 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2121.42 s
[opt-env-conf-test] where
2121.42 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2121.42 s
[opt-env-conf-test] go (c : rest) = c : go rest
2121.42 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isD igi t c || c == '.') v
2121.42 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> T r ue || c == '.') v
2121.42 s
[opt-env-conf-test]
2121.42 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-45
2121.42 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2121.42 s
[opt-env-conf-test] where
2121.42 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2121.42 s
[opt-env-conf-test] go (c : rest) = c : go rest
2121.42 s
[opt-env-conf-test] - isVersion v = not (null v) && e l e m '. ' v && all (\c -> isDigit c || c == '.') v
2121.42 s
[opt-env-conf-test] + isVersion v = not (null v) && T ru e && all (\c -> isDigit c || c == '.') v
2121.42 s
[opt-env-conf-test]
2121.42 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:19-31
2121.42 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2121.42 s
[opt-env-conf-test] where
2121.42 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2121.42 s
[opt-env-conf-test] go (c : rest) = c : go rest
2121.42 s
[opt-env-conf-test] - isVersion v = n o t (n u l l v) && elem '.' v && all (\c -> isDigit c || c == '.') v
2121.42 s
[opt-env-conf-test] + isVersion v = T r u e && elem '.' v && all (\c -> isDigit c || c == '.') v
2121.42 s
[opt-env-conf-test]
2121.42 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:23-31
2121.42 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2121.42 s
[opt-env-conf-test] where
2121.42 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2121.42 s
[opt-env-conf-test] go (c : rest) = c : go rest
2121.42 s
[opt-env-conf-test] - isVersion v = not ( n u l l v ) && elem '.' v && all (\c -> isDigit c || c == '.') v
2121.42 s
[opt-env-conf-test] + isVersion v = not Fa l s e && elem '.' v && all (\c -> isDigit c || c == '.') v
2121.42 s
[opt-env-conf-test]
2121.42 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:24-30
2121.42 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2121.42 s
[opt-env-conf-test] where
2121.42 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2121.42 s
[opt-env-conf-test] go (c : rest) = c : go rest
2121.42 s
[opt-env-conf-test] - isVersion v = not ( n u l l v ) && elem '.' v && all (\c -> isDigit c || c == '.') v
2121.42 s
[opt-env-conf-test] + isVersion v = not ( F a l s e ) && elem '.' v && all (\c -> isDigit c || c == '.') v
2121.42 s
[opt-env-conf-test] checkPhase completed in 27 minutes 30 seconds
2121.42 s
[opt-env-conf-test] Phase: haddockPhase
2121.42 s
[opt-env-conf-test] Phase: installPhase
2121.42 s
[opt-env-conf-test] Installing library in /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-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
2121.67 s
[opt-env-conf-test] Phase: fixupPhase
2121.69 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4
2121.69 s
[opt-env-conf-test] shrinking /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-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
2121.73 s
[opt-env-conf-test] shrinking /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4/bin/opt-env-conf-test
2121.76 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4...
2121.79 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4
2121.80 s
[opt-env-conf-test] stripping (with command strip and flags -S -p) in /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4/lib /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4/bin
2121.88 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest
2121.89 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest...
2121.90 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest
2121.90 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report
2121.97 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report...
2122.06 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report
2122.23 s
[post-build-hook] Uploading to cachix cache "sydtest": /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4
2122.79 s
[post-build-hook] Pushing 3 paths (268 are already present) using zstd to cache sydtest ⏳
2122.79 s
[post-build-hook]
2123.14 s
[post-build-hook] Pushing /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report (2.88 MiB)
2123.17 s
[post-build-hook] Pushing /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4 (15.01 MiB)
2123.22 s
[post-build-hook] Pushing /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest (33.58 KiB)
2124.77 s
[post-build-hook]
2124.77 s
[post-build-hook] All done.
2124.79 s
[post-build-hook] Uploading to the NixCI staging cache: /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4
2124.84 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
2125.14 s
[post-build-hook] copying 3 paths...
2125.14 s
[post-build-hook] copying path '/nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4' to 'https://cache.staging.nix-ci.com'...
2125.14 s
[post-build-hook] copying path '/nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report' to 'https://cache.staging.nix-ci.com'...
2125.14 s
[post-build-hook] copying path '/nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest' to 'https://cache.staging.nix-ci.com'...
2129.18 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
2129.41 s
[post-build-hook] copying 1 paths...
2129.79 s
[post-build-hook] copying path '/nix/store/pz2pjcgdf2ic1xwf63jg8370vacdza09-opt-env-conf-test-0.0.0.4.drv' to 'https://cache.staging.nix-ci.com'...
2129.79 s
Progress: 10 of 11 built