1499.38 s
[opt-env-conf-test] -- result.
1499.38 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1499.38 s
[opt-env-conf-test] case tryReaders rs varStr of
1499.38 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1499.38 s
[opt-env-conf-test] Right a -> do
1499.38 s
[opt-env-conf-test] debug
1499.38 s
[opt-env-conf-test] [ "set based on env: ",
1499.38 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1499.38 s
[opt-env-conf-test] ]
1499.38 s
[opt-env-conf-test] pure a
1499.38 s
[opt-env-conf-test] case listToMaybe results of
1499.38 s
[opt-env-conf-test] Nothing -> do
1499.38 s
[opt-env-conf-test] debug
1499.38 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1499.38 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1499.38 s
[opt-env-conf-test] ]
1499.38 s
[opt-env-conf-test] pure NotFound
1499.38 s
[opt-env-conf-test] Just a -> pure $ Found a
1499.39 s
[opt-env-conf-test]
1499.39 s
[opt-env-conf-test] case mEnv of
1499.39 s
[opt-env-conf-test] Found a -> do
1499.39 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
1499.39 s
[opt-env-conf-test] @@ -357,14 +357,13 @@
1499.39 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1499.39 s
[opt-env-conf-test] ]
1499.39 s
[opt-env-conf-test] pure a
1499.39 s
[opt-env-conf-test] case listToMaybe results of
1499.39 s
[opt-env-conf-test] Nothing -> do
1499.39 s
[opt-env-conf-test] debug
1499.39 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1499.39 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1499.39 s
[opt-env-conf-test] ]
1504.31 s
[opt-env-conf-test] pure NotFound
1504.31 s
[opt-env-conf-test] - Just a -> pure $ Found a
1504.31 s
[opt-env-conf-test]
1504.31 s
[opt-env-conf-test] case mEnv of
1504.31 s
[opt-env-conf-test] Found a -> do
1504.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
1504.31 s
[opt-env-conf-test] @@ -349,14 +349,8 @@
1504.31 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1504.31 s
[opt-env-conf-test] -- result.
1504.31 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1504.31 s
[opt-env-conf-test] case tryReaders rs varStr of
1504.31 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1504.31 s
[opt-env-conf-test] - Right a -> do
1504.31 s
[opt-env-conf-test] - debug
1504.31 s
[opt-env-conf-test] - [ "set based on env: ",
1504.32 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1504.32 s
[opt-env-conf-test] - ]
1504.32 s
[opt-env-conf-test] - pure a
1504.32 s
[opt-env-conf-test] case listToMaybe results of
1504.32 s
[opt-env-conf-test] Nothing -> do
1504.32 s
[opt-env-conf-test] debug
1504.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
1504.32 s
[opt-env-conf-test] @@ -357,14 +357,8 @@
1504.32 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1504.32 s
[opt-env-conf-test] ]
1504.32 s
[opt-env-conf-test] pure a
1504.32 s
[opt-env-conf-test] case listToMaybe results of
1504.32 s
[opt-env-conf-test] - Nothing -> do
1504.32 s
[opt-env-conf-test] - debug
1504.32 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1504.32 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1504.32 s
[opt-env-conf-test] - ]
1504.32 s
[opt-env-conf-test] - pure NotFound
1504.32 s
[opt-env-conf-test] Just a -> pure $ Found a
1504.32 s
[opt-env-conf-test]
1504.32 s
[opt-env-conf-test] case mEnv of
1504.32 s
[opt-env-conf-test] Found a -> do
1504.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:315:25-47
1504.32 s
[opt-env-conf-test] @@ -312,22 +312,13 @@
1504.32 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1504.32 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1504.32 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1504.33 s
[opt-env-conf-test] case mS of
1504.33 s
[opt-env-conf-test] Nothing -> do
1504.33 s
[opt-env-conf-test] debug
1504.33 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1504.33 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1504.33 s
[opt-env-conf-test] ]
1504.33 s
[opt-env-conf-test] pure NotFound
1504.33 s
[opt-env-conf-test] - Just optionStr -> cap $
1504.33 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1504.33 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1504.33 s
[opt-env-conf-test] - Right a -> do
1504.33 s
[opt-env-conf-test] - debug
1504.33 s
[opt-env-conf-test] - [ "set based on option: ",
1504.33 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1504.33 s
[opt-env-conf-test] - ]
1504.33 s
[opt-env-conf-test] - pure $ Found a
1504.33 s
[opt-env-conf-test] else pure NotRun
1504.33 s
[opt-env-conf-test]
1504.33 s
[opt-env-conf-test] case mOpt of
1504.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
1504.33 s
[opt-env-conf-test] @@ -385,9 +385,8 @@
1504.38 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1504.38 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1504.38 s
[opt-env-conf-test] Nothing -> do
1504.38 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1504.38 s
[opt-env-conf-test] - Nothing -> pure Nothing
1504.38 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1504.38 s
[opt-env-conf-test] Just neRest -> do
1504.38 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1504.38 s
[opt-env-conf-test] case mO' of
1504.39 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
1504.39 s
[opt-env-conf-test] @@ -383,16 +383,12 @@
1504.39 s
[opt-env-conf-test] Just obj -> do
1504.39 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1504.39 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1504.39 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1504.39 s
[opt-env-conf-test] - Nothing -> do
1504.39 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1504.39 s
[opt-env-conf-test] - Nothing -> pure Nothing
1504.39 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1504.39 s
[opt-env-conf-test] Just neRest -> do
1504.39 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1504.39 s
[opt-env-conf-test] case mO' of
1504.39 s
[opt-env-conf-test] Nothing -> pure Nothing
1504.39 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1504.39 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1504.39 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1504.39 s
[opt-env-conf-test] Right mV -> case mV of
1504.39 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
1504.39 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
1504.39 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1504.39 s
[opt-env-conf-test] Just neRest -> do
1504.39 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1504.39 s
[opt-env-conf-test] case mO' of
1504.39 s
[opt-env-conf-test] Nothing -> pure Nothing
1504.39 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1504.39 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1504.39 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1504.39 s
[opt-env-conf-test] Right mV -> case mV of
1504.39 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
1504.39 s
[opt-env-conf-test] @@ -383,16 +383,11 @@
1504.39 s
[opt-env-conf-test] Just obj -> do
1504.39 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1504.39 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1504.39 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1504.39 s
[opt-env-conf-test] Nothing -> do
1504.39 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1504.39 s
[opt-env-conf-test] Nothing -> pure Nothing
1504.39 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1504.40 s
[opt-env-conf-test] - Just neRest -> do
1504.40 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1504.40 s
[opt-env-conf-test] - case mO' of
1504.40 s
[opt-env-conf-test] - Nothing -> pure Nothing
1504.40 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1504.40 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1504.40 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1504.40 s
[opt-env-conf-test] Right mV -> case mV of
1504.40 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:419:58-64
1504.40 s
[opt-env-conf-test] @@ -416,7 +416,7 @@
1504.40 s
[opt-env-conf-test] [ "set based on config value: ",
1504.40 s
[opt-env-conf-test] chunk $ T.pack $ show v
1504.40 s
[opt-env-conf-test] ]
1504.40 s
[opt-env-conf-test] - pure $ J u s t a
1504.40 s
[opt-env-conf-test] + pure $ No t h ing
1507.84 s
[opt-env-conf-test] let toRes = \case
1507.84 s
[opt-env-conf-test] Nothing -> NotFound
1507.84 s
[opt-env-conf-test] Just a -> Found a
1507.84 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
1507.84 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
1507.84 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1507.84 s
[opt-env-conf-test] Just neRest -> do
1507.85 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1507.85 s
[opt-env-conf-test] case mO' of
1507.85 s
[opt-env-conf-test] - Nothing -> pure Nothing
1507.85 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1507.85 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1507.85 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1507.85 s
[opt-env-conf-test] Right mV -> case mV of
1507.85 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:196:72-82
1507.85 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
1507.85 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1507.85 s
[opt-env-conf-test] case errOrB of
1507.85 s
[opt-env-conf-test] Left err -> do
1507.85 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable ]
1507.85 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show n o t ( forgivable ) ]
1507.85 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1507.85 s
[opt-env-conf-test] Right b -> do
1507.85 s
[opt-env-conf-test] debug ["succeeded"]
1507.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
1507.85 s
[opt-env-conf-test] @@ -404,19 +404,13 @@
1507.85 s
[opt-env-conf-test] pure Nothing
1507.85 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1507.85 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1507.85 s
[opt-env-conf-test] Right mA -> case mA of
1507.85 s
[opt-env-conf-test] Nothing -> do
1507.85 s
[opt-env-conf-test] debug
1507.85 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1507.85 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1507.85 s
[opt-env-conf-test] ]
1507.85 s
[opt-env-conf-test] pure Nothing
1507.85 s
[opt-env-conf-test] - Just a -> do
1507.85 s
[opt-env-conf-test] - debug
1507.85 s
[opt-env-conf-test] - [ "set based on config value: ",
1507.85 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1507.85 s
[opt-env-conf-test] - ]
1507.85 s
[opt-env-conf-test] - pure $ Just a
1507.86 s
[opt-env-conf-test] let toRes = \case
1507.86 s
[opt-env-conf-test] Nothing -> NotFound
1507.86 s
[opt-env-conf-test] Just a -> Found a
1507.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
1507.86 s
[opt-env-conf-test] @@ -404,19 +404,13 @@
1507.86 s
[opt-env-conf-test] pure Nothing
1507.86 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1507.86 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1507.86 s
[opt-env-conf-test] Right mA -> case mA of
1507.86 s
[opt-env-conf-test] - Nothing -> do
1507.86 s
[opt-env-conf-test] - debug
1507.86 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1507.86 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1507.86 s
[opt-env-conf-test] - ]
1507.86 s
[opt-env-conf-test] - pure Nothing
1507.86 s
[opt-env-conf-test] Just a -> do
1507.86 s
[opt-env-conf-test] debug
1507.86 s
[opt-env-conf-test] [ "set based on config value: ",
1507.86 s
[opt-env-conf-test] chunk $ T.pack $ show v
1507.86 s
[opt-env-conf-test] ]
1507.86 s
[opt-env-conf-test] pure $ Just a
1507.86 s
[opt-env-conf-test] let toRes = \case
1507.86 s
[opt-env-conf-test] Nothing -> NotFound
1507.86 s
[opt-env-conf-test] Just a -> Found a
1507.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1507.86 s
[opt-env-conf-test] @@ -402,21 +402,20 @@
1507.86 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1507.86 s
[opt-env-conf-test] ]
1507.86 s
[opt-env-conf-test] pure Nothing
1507.86 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1507.86 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1507.86 s
[opt-env-conf-test] Right mA -> case mA of
1507.86 s
[opt-env-conf-test] Nothing -> do
1507.86 s
[opt-env-conf-test] debug
1507.86 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1507.86 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1507.86 s
[opt-env-conf-test] ]
1507.86 s
[opt-env-conf-test] pure Nothing
1507.86 s
[opt-env-conf-test] Just a -> do
1507.86 s
[opt-env-conf-test] debug
1507.86 s
[opt-env-conf-test] [ "set based on config value: ",
1507.86 s
[opt-env-conf-test] chunk $ T.pack $ show v
1507.86 s
[opt-env-conf-test] ]
1507.86 s
[opt-env-conf-test] pure $ Just a
1507.86 s
[opt-env-conf-test] let toRes = \case
1507.86 s
[opt-env-conf-test] Nothing -> NotFound
1507.86 s
[opt-env-conf-test] Just a -> Found a
1507.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1507.86 s
[opt-env-conf-test] @@ -402,21 +402,8 @@
1507.87 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1507.87 s
[opt-env-conf-test] ]
1507.87 s
[opt-env-conf-test] pure Nothing
1507.87 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1507.87 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1507.87 s
[opt-env-conf-test] - Right mA -> case mA of
1507.87 s
[opt-env-conf-test] - Nothing -> do
1507.87 s
[opt-env-conf-test] - debug
1507.87 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1507.87 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1507.87 s
[opt-env-conf-test] - ]
1507.87 s
[opt-env-conf-test] - pure Nothing
1507.87 s
[opt-env-conf-test] - Just a -> do
1507.87 s
[opt-env-conf-test] - debug
1507.87 s
[opt-env-conf-test] - [ "set based on config value: ",
1507.87 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1507.87 s
[opt-env-conf-test] - ]
1507.87 s
[opt-env-conf-test] - pure $ Just a
1507.87 s
[opt-env-conf-test] let toRes = \case
1507.87 s
[opt-env-conf-test] Nothing -> NotFound
1507.87 s
[opt-env-conf-test] Just a -> Found a
1507.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
1507.87 s
[opt-env-conf-test] @@ -395,28 +395,22 @@
1507.87 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1507.87 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1507.87 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1507.87 s
[opt-env-conf-test] Right mV -> case mV of
1507.87 s
[opt-env-conf-test] - Nothing -> do
1507.87 s
[opt-env-conf-test] - debug
1507.87 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1507.87 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1507.87 s
[opt-env-conf-test] - ]
1507.87 s
[opt-env-conf-test] - pure Nothing
1507.87 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1507.87 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1507.87 s
[opt-env-conf-test] Right mA -> case mA of
1507.87 s
[opt-env-conf-test] Nothing -> do
1507.87 s
[opt-env-conf-test] debug
1507.87 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1507.87 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1507.87 s
[opt-env-conf-test] ]
1507.87 s
[opt-env-conf-test] pure Nothing
1507.87 s
[opt-env-conf-test] Just a -> do
1507.87 s
[opt-env-conf-test] debug
1507.87 s
[opt-env-conf-test] [ "set based on config value: ",
1507.87 s
[opt-env-conf-test] chunk $ T.pack $ show v
1507.87 s
[opt-env-conf-test] ]
1508.40 s
[opt-env-conf-test] pure $ Just a
1508.40 s
[opt-env-conf-test] let toRes = \case
1508.40 s
[opt-env-conf-test] Nothing -> NotFound
1508.40 s
[opt-env-conf-test] Just a -> Found a
1508.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
1508.41 s
[opt-env-conf-test] @@ -395,28 +395,13 @@
1508.41 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1508.41 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1508.41 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1508.41 s
[opt-env-conf-test] Right mV -> case mV of
1508.41 s
[opt-env-conf-test] Nothing -> do
1508.41 s
[opt-env-conf-test] debug
1508.41 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1508.41 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1508.41 s
[opt-env-conf-test] ]
1508.41 s
[opt-env-conf-test] pure Nothing
1508.41 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1508.41 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1508.41 s
[opt-env-conf-test] - Right mA -> case mA of
1508.41 s
[opt-env-conf-test] - Nothing -> do
1508.41 s
[opt-env-conf-test] - debug
1508.41 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1508.41 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1508.41 s
[opt-env-conf-test] - ]
1508.41 s
[opt-env-conf-test] - pure Nothing
1508.41 s
[opt-env-conf-test] - Just a -> do
1508.41 s
[opt-env-conf-test] - debug
1508.41 s
[opt-env-conf-test] - [ "set based on config value: ",
1508.41 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1509.00 s
[opt-env-conf-test] - ]
1509.00 s
[opt-env-conf-test] - pure $ Just a
1509.01 s
[opt-env-conf-test] let toRes = \case
1509.01 s
[opt-env-conf-test] Nothing -> NotFound
1509.01 s
[opt-env-conf-test] Just a -> Found a
1509.01 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:222:25-73
1509.01 s
[opt-env-conf-test] @@ -219,7 +219,6 @@
1509.01 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1509.01 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1509.01 s
[opt-env-conf-test] Just c -> do
1509.01 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1509.01 s
[opt-env-conf-test] go $ commandParser c
1509.01 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1509.01 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1509.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1509.01 s
[opt-env-conf-test] @@ -393,30 +393,8 @@
1509.01 s
[opt-env-conf-test] case mO' of
1509.01 s
[opt-env-conf-test] Nothing -> pure Nothing
1509.01 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1509.01 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1509.01 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1509.01 s
[opt-env-conf-test] - Right mV -> case mV of
1509.01 s
[opt-env-conf-test] - Nothing -> do
1509.01 s
[opt-env-conf-test] - debug
1509.01 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1509.01 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1509.01 s
[opt-env-conf-test] - ]
1509.01 s
[opt-env-conf-test] - pure Nothing
1509.01 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1509.01 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1509.01 s
[opt-env-conf-test] - Right mA -> case mA of
1509.02 s
[opt-env-conf-test] - Nothing -> do
1509.02 s
[opt-env-conf-test] - debug
1509.02 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1509.02 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1509.02 s
[opt-env-conf-test] - ]
1509.02 s
[opt-env-conf-test] - pure Nothing
1509.02 s
[opt-env-conf-test] - Just a -> do
1509.12 s
[opt-env-conf-test] - debug
1509.12 s
[opt-env-conf-test] - [ "set based on config value: ",
1509.12 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1509.12 s
[opt-env-conf-test] - ]
1509.12 s
[opt-env-conf-test] - pure $ Just a
1509.12 s
[opt-env-conf-test] let toRes = \case
1509.12 s
[opt-env-conf-test] Nothing -> NotFound
1509.12 s
[opt-env-conf-test] Just a -> Found a
1509.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1509.12 s
[opt-env-conf-test] @@ -393,30 +393,29 @@
1509.12 s
[opt-env-conf-test] case mO' of
1509.12 s
[opt-env-conf-test] Nothing -> pure Nothing
1509.12 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1509.12 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1509.12 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1509.12 s
[opt-env-conf-test] Right mV -> case mV of
1509.12 s
[opt-env-conf-test] Nothing -> do
1509.12 s
[opt-env-conf-test] debug
1509.12 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1509.12 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1509.12 s
[opt-env-conf-test] ]
1509.12 s
[opt-env-conf-test] pure Nothing
1509.12 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1509.12 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1509.12 s
[opt-env-conf-test] Right mA -> case mA of
1509.12 s
[opt-env-conf-test] Nothing -> do
1509.12 s
[opt-env-conf-test] debug
1509.12 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1509.13 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1509.13 s
[opt-env-conf-test] ]
1509.13 s
[opt-env-conf-test] pure Nothing
1509.13 s
[opt-env-conf-test] Just a -> do
1509.13 s
[opt-env-conf-test] debug
1509.13 s
[opt-env-conf-test] [ "set based on config value: ",
1510.32 s
[opt-env-conf-test] chunk $ T.pack $ show v
1510.32 s
[opt-env-conf-test] ]
1510.38 s
[opt-env-conf-test] pure $ Just a
1510.38 s
[opt-env-conf-test] let toRes = \case
1510.38 s
[opt-env-conf-test] Nothing -> NotFound
1510.38 s
[opt-env-conf-test] Just a -> Found a
1510.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
1510.38 s
[opt-env-conf-test] @@ -420,13 +420,8 @@
1510.39 s
[opt-env-conf-test] let toRes = \case
1510.39 s
[opt-env-conf-test] Nothing -> NotFound
1510.39 s
[opt-env-conf-test] Just a -> Found a
1510.39 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1510.39 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1510.39 s
[opt-env-conf-test] - Just ne -> do
1510.39 s
[opt-env-conf-test] - res <- goConfSet confSet
1510.39 s
[opt-env-conf-test] - case res of
1510.39 s
[opt-env-conf-test] - Just a -> pure $ Found a
1510.39 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1510.39 s
[opt-env-conf-test] goConfSets confSets
1510.39 s
[opt-env-conf-test] case mConf of
1510.39 s
[opt-env-conf-test] Found a -> do
1510.39 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
1510.39 s
[opt-env-conf-test] @@ -376,58 +376,55 @@
1510.39 s
[opt-env-conf-test] Nothing -> pure NotRun
1510.39 s
[opt-env-conf-test] Just confSets -> do
1510.39 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1510.39 s
[opt-env-conf-test] case mObj of
1510.39 s
[opt-env-conf-test] - Nothing -> do
1510.39 s
[opt-env-conf-test] - debug ["no config object to set from"]
1510.39 s
[opt-env-conf-test] - pure NotFound
1510.39 s
[opt-env-conf-test] Just obj -> do
1510.39 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1510.39 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1510.39 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1510.39 s
[opt-env-conf-test] Nothing -> do
1510.39 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1510.39 s
[opt-env-conf-test] Nothing -> pure Nothing
1510.39 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1510.39 s
[opt-env-conf-test] Just neRest -> do
1510.39 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1510.39 s
[opt-env-conf-test] case mO' of
1510.39 s
[opt-env-conf-test] Nothing -> pure Nothing
1510.39 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1510.39 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1510.39 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1510.39 s
[opt-env-conf-test] Right mV -> case mV of
1510.39 s
[opt-env-conf-test] Nothing -> do
1510.39 s
[opt-env-conf-test] debug
1510.39 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1510.39 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1510.39 s
[opt-env-conf-test] ]
1510.39 s
[opt-env-conf-test] pure Nothing
1510.39 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1510.39 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1510.39 s
[opt-env-conf-test] Right mA -> case mA of
1510.40 s
[opt-env-conf-test] Nothing -> do
1510.40 s
[opt-env-conf-test] debug
1510.40 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1510.40 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1510.40 s
[opt-env-conf-test] ]
1510.40 s
[opt-env-conf-test] pure Nothing
1510.40 s
[opt-env-conf-test] Just a -> do
1510.40 s
[opt-env-conf-test] debug
1510.40 s
[opt-env-conf-test] [ "set based on config value: ",
1510.40 s
[opt-env-conf-test] chunk $ T.pack $ show v
1510.40 s
[opt-env-conf-test] ]
1510.40 s
[opt-env-conf-test] pure $ Just a
1510.40 s
[opt-env-conf-test] let toRes = \case
1510.40 s
[opt-env-conf-test] Nothing -> NotFound
1510.40 s
[opt-env-conf-test] Just a -> Found a
1510.40 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1510.40 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1510.40 s
[opt-env-conf-test] Just ne -> do
1510.40 s
[opt-env-conf-test] res <- goConfSet confSet
1510.40 s
[opt-env-conf-test] case res of
1510.40 s
[opt-env-conf-test] Just a -> pure $ Found a
1510.40 s
[opt-env-conf-test] Nothing -> goConfSets ne
1510.40 s
[opt-env-conf-test] goConfSets confSets
1510.40 s
[opt-env-conf-test] case mConf of
1510.40 s
[opt-env-conf-test] Found a -> do
1510.40 s
[opt-env-conf-test] markParsed
1510.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
1510.40 s
[opt-env-conf-test] @@ -376,58 +376,10 @@
1510.40 s
[opt-env-conf-test] Nothing -> pure NotRun
1510.40 s
[opt-env-conf-test] Just confSets -> do
1510.40 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1510.40 s
[opt-env-conf-test] case mObj of
1510.40 s
[opt-env-conf-test] Nothing -> do
1510.40 s
[opt-env-conf-test] debug ["no config object to set from"]
1510.40 s
[opt-env-conf-test] pure NotFound
1510.40 s
[opt-env-conf-test] - Just obj -> do
1510.40 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1510.40 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1510.40 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1510.40 s
[opt-env-conf-test] - Nothing -> do
1510.40 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1510.40 s
[opt-env-conf-test] - Nothing -> pure Nothing
1510.40 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1510.40 s
[opt-env-conf-test] - Just neRest -> do
1510.40 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1510.40 s
[opt-env-conf-test] - case mO' of
1510.40 s
[opt-env-conf-test] - Nothing -> pure Nothing
1510.40 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1510.40 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1510.40 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1510.40 s
[opt-env-conf-test] - Right mV -> case mV of
1510.40 s
[opt-env-conf-test] - Nothing -> do
1510.40 s
[opt-env-conf-test] - debug
1510.40 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1510.40 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1510.40 s
[opt-env-conf-test] - ]
1510.40 s
[opt-env-conf-test] - pure Nothing
1510.40 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1510.40 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1510.40 s
[opt-env-conf-test] - Right mA -> case mA of
1510.41 s
[opt-env-conf-test] - Nothing -> do
1510.41 s
[opt-env-conf-test] - debug
1510.41 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1510.41 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1510.41 s
[opt-env-conf-test] - ]
1510.41 s
[opt-env-conf-test] - pure Nothing
1510.41 s
[opt-env-conf-test] - Just a -> do
1510.41 s
[opt-env-conf-test] - debug
1510.41 s
[opt-env-conf-test] - [ "set based on config value: ",
1510.41 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1510.41 s
[opt-env-conf-test] - ]
1510.41 s
[opt-env-conf-test] - pure $ Just a
1510.41 s
[opt-env-conf-test] - let toRes = \case
1510.41 s
[opt-env-conf-test] - Nothing -> NotFound
1510.41 s
[opt-env-conf-test] - Just a -> Found a
1510.41 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1510.41 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1513.68 s
[opt-env-conf-test] - Just ne -> do
1513.68 s
[opt-env-conf-test] - res <- goConfSet confSet
1513.68 s
[opt-env-conf-test] - case res of
1513.68 s
[opt-env-conf-test] - Just a -> pure $ Found a
1513.69 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1513.69 s
[opt-env-conf-test] - goConfSets confSets
1513.69 s
[opt-env-conf-test] case mConf of
1513.69 s
[opt-env-conf-test] Found a -> do
1513.69 s
[opt-env-conf-test] markParsed
1513.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
1513.69 s
[opt-env-conf-test] @@ -420,13 +420,12 @@
1513.69 s
[opt-env-conf-test] let toRes = \case
1513.69 s
[opt-env-conf-test] Nothing -> NotFound
1513.69 s
[opt-env-conf-test] Just a -> Found a
1513.69 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1513.69 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1513.69 s
[opt-env-conf-test] Just ne -> do
1513.69 s
[opt-env-conf-test] res <- goConfSet confSet
1513.69 s
[opt-env-conf-test] case res of
1513.69 s
[opt-env-conf-test] Just a -> pure $ Found a
1513.69 s
[opt-env-conf-test] Nothing -> goConfSets ne
1513.69 s
[opt-env-conf-test] goConfSets confSets
1513.69 s
[opt-env-conf-test] case mConf of
1513.69 s
[opt-env-conf-test] Found a -> do
1513.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
1513.69 s
[opt-env-conf-test] @@ -424,9 +424,8 @@
1513.69 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1513.69 s
[opt-env-conf-test] Just ne -> do
1513.69 s
[opt-env-conf-test] res <- goConfSet confSet
1513.69 s
[opt-env-conf-test] case res of
1513.69 s
[opt-env-conf-test] Just a -> pure $ Found a
1513.69 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1513.69 s
[opt-env-conf-test] goConfSets confSets
1513.69 s
[opt-env-conf-test] case mConf of
1513.69 s
[opt-env-conf-test] Found a -> do
1513.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
1513.69 s
[opt-env-conf-test] @@ -424,9 +424,8 @@
1513.69 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1513.69 s
[opt-env-conf-test] Just ne -> do
1513.69 s
[opt-env-conf-test] res <- goConfSet confSet
1513.69 s
[opt-env-conf-test] case res of
1513.69 s
[opt-env-conf-test] - Just a -> pure $ Found a
1513.69 s
[opt-env-conf-test] Nothing -> goConfSets ne
1513.69 s
[opt-env-conf-test] goConfSets confSets
1513.70 s
[opt-env-conf-test] case mConf of
1513.70 s
[opt-env-conf-test] Found a -> do
1513.70 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
1513.70 s
[opt-env-conf-test] @@ -385,9 +385,8 @@
1513.70 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1513.70 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1513.70 s
[opt-env-conf-test] Nothing -> do
1513.70 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1513.70 s
[opt-env-conf-test] Nothing -> pure Nothing
1513.70 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1513.70 s
[opt-env-conf-test] Just neRest -> do
1513.70 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1513.70 s
[opt-env-conf-test] case mO' of
1513.70 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
1513.70 s
[opt-env-conf-test] @@ -372,62 +372,61 @@
1513.70 s
[opt-env-conf-test] pure a
1513.70 s
[opt-env-conf-test] _ -> do
1513.70 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1513.70 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1513.70 s
[opt-env-conf-test] - Nothing -> pure NotRun
1513.70 s
[opt-env-conf-test] Just confSets -> do
1513.70 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1513.70 s
[opt-env-conf-test] case mObj of
1513.70 s
[opt-env-conf-test] Nothing -> do
1513.70 s
[opt-env-conf-test] debug ["no config object to set from"]
1513.70 s
[opt-env-conf-test] pure NotFound
1513.70 s
[opt-env-conf-test] Just obj -> do
1513.70 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1513.70 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1513.70 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1513.70 s
[opt-env-conf-test] Nothing -> do
1513.70 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1513.70 s
[opt-env-conf-test] Nothing -> pure Nothing
1513.70 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1513.70 s
[opt-env-conf-test] Just neRest -> do
1513.70 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1513.70 s
[opt-env-conf-test] case mO' of
1513.70 s
[opt-env-conf-test] Nothing -> pure Nothing
1513.70 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1513.70 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1513.70 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1513.70 s
[opt-env-conf-test] Right mV -> case mV of
1513.70 s
[opt-env-conf-test] Nothing -> do
1513.70 s
[opt-env-conf-test] debug
1513.70 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1513.70 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1513.70 s
[opt-env-conf-test] ]
1513.71 s
[opt-env-conf-test] pure Nothing
1513.71 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1513.71 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1513.71 s
[opt-env-conf-test] Right mA -> case mA of
1513.71 s
[opt-env-conf-test] Nothing -> do
1513.71 s
[opt-env-conf-test] debug
1513.71 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1513.71 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1513.71 s
[opt-env-conf-test] ]
1513.71 s
[opt-env-conf-test] pure Nothing
1513.71 s
[opt-env-conf-test] Just a -> do
1513.71 s
[opt-env-conf-test] debug
1513.71 s
[opt-env-conf-test] [ "set based on config value: ",
1513.71 s
[opt-env-conf-test] chunk $ T.pack $ show v
1513.71 s
[opt-env-conf-test] ]
1513.71 s
[opt-env-conf-test] pure $ Just a
1513.71 s
[opt-env-conf-test] let toRes = \case
1513.71 s
[opt-env-conf-test] Nothing -> NotFound
1513.71 s
[opt-env-conf-test] Just a -> Found a
1513.71 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1513.71 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1513.71 s
[opt-env-conf-test] Just ne -> do
1513.71 s
[opt-env-conf-test] res <- goConfSet confSet
1513.71 s
[opt-env-conf-test] case res of
1517.40 s
[opt-env-conf-test] Just a -> pure $ Found a
1517.46 s
[opt-env-conf-test] Nothing -> goConfSets ne
1517.46 s
[opt-env-conf-test] goConfSets confSets
1517.46 s
[opt-env-conf-test] case mConf of
1517.46 s
[opt-env-conf-test] Found a -> do
1517.46 s
[opt-env-conf-test] markParsed
1517.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1517.46 s
[opt-env-conf-test] @@ -446,12 +446,11 @@
1517.46 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1517.46 s
[opt-env-conf-test] NE.nonEmpty $
1517.46 s
[opt-env-conf-test] catMaybes
1517.46 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1517.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1517.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1517.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1517.46 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1517.46 s
[opt-env-conf-test] ]
1517.46 s
[opt-env-conf-test]
1517.46 s
[opt-env-conf-test] withCapabilities ::
1517.46 s
[opt-env-conf-test] Maybe SrcLoc ->
1517.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1517.46 s
[opt-env-conf-test] @@ -446,12 +446,7 @@
1517.46 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1517.46 s
[opt-env-conf-test] NE.nonEmpty $
1517.46 s
[opt-env-conf-test] catMaybes
1517.46 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1517.46 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1517.46 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1517.46 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1517.46 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1517.46 s
[opt-env-conf-test] ]
1517.46 s
[opt-env-conf-test]
1517.46 s
[opt-env-conf-test] withCapabilities ::
1517.46 s
[opt-env-conf-test] Maybe SrcLoc ->
1517.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1517.46 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1517.46 s
[opt-env-conf-test] debug ["set to default value"]
1517.46 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1517.46 s
[opt-env-conf-test] Nothing -> do
1517.46 s
[opt-env-conf-test] let parseResultError e res = case res of
1517.47 s
[opt-env-conf-test] NotRun -> Nothing
1517.47 s
[opt-env-conf-test] - NotFound -> Just e
1517.47 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1517.47 s
[opt-env-conf-test] debug ["not found"]
1517.47 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1517.47 s
[opt-env-conf-test] NE.nonEmpty $
1517.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
1517.47 s
[opt-env-conf-test] @@ -433,25 +433,10 @@
1517.47 s
[opt-env-conf-test] markParsed
1517.47 s
[opt-env-conf-test] pure a
1517.47 s
[opt-env-conf-test] _ ->
1517.47 s
[opt-env-conf-test] case settingDefaultValue of
1517.47 s
[opt-env-conf-test] Just (a, _) -> do
1517.47 s
[opt-env-conf-test] debug ["set to default value"]
1517.47 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1517.47 s
[opt-env-conf-test] - Nothing -> do
1517.47 s
[opt-env-conf-test] - let parseResultError e res = case res of
1517.47 s
[opt-env-conf-test] - NotRun -> Nothing
1517.47 s
[opt-env-conf-test] - NotFound -> Just e
1517.47 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1517.47 s
[opt-env-conf-test] - debug ["not found"]
1517.47 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1517.47 s
[opt-env-conf-test] - NE.nonEmpty $
1517.47 s
[opt-env-conf-test] - catMaybes
1517.47 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1517.47 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1517.47 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1517.47 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1517.47 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1517.47 s
[opt-env-conf-test] - ]
1517.47 s
[opt-env-conf-test]
1517.47 s
[opt-env-conf-test] withCapabilities ::
1517.47 s
[opt-env-conf-test] Maybe SrcLoc ->
1517.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
1517.47 s
[opt-env-conf-test] @@ -428,30 +428,27 @@
1517.47 s
[opt-env-conf-test] Just a -> pure $ Found a
1517.47 s
[opt-env-conf-test] Nothing -> goConfSets ne
1517.47 s
[opt-env-conf-test] goConfSets confSets
1517.47 s
[opt-env-conf-test] case mConf of
1517.47 s
[opt-env-conf-test] - Found a -> do
1517.47 s
[opt-env-conf-test] - markParsed
1517.47 s
[opt-env-conf-test] - pure a
1517.47 s
[opt-env-conf-test] _ ->
1517.47 s
[opt-env-conf-test] case settingDefaultValue of
1517.47 s
[opt-env-conf-test] Just (a, _) -> do
1517.47 s
[opt-env-conf-test] debug ["set to default value"]
1517.47 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1517.47 s
[opt-env-conf-test] Nothing -> do
1517.47 s
[opt-env-conf-test] let parseResultError e res = case res of
1517.47 s
[opt-env-conf-test] NotRun -> Nothing
1517.47 s
[opt-env-conf-test] NotFound -> Just e
1517.47 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1517.47 s
[opt-env-conf-test] debug ["not found"]
1517.47 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1517.47 s
[opt-env-conf-test] NE.nonEmpty $
1517.47 s
[opt-env-conf-test] catMaybes
1517.48 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1517.48 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1517.48 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1517.48 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1517.48 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1517.48 s
[opt-env-conf-test] ]
1517.48 s
[opt-env-conf-test]
1517.48 s
[opt-env-conf-test] withCapabilities ::
1517.48 s
[opt-env-conf-test] Maybe SrcLoc ->
1517.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
1517.48 s
[opt-env-conf-test] @@ -433,25 +433,22 @@
1517.48 s
[opt-env-conf-test] markParsed
1517.48 s
[opt-env-conf-test] pure a
1517.48 s
[opt-env-conf-test] _ ->
1517.48 s
[opt-env-conf-test] case settingDefaultValue of
1517.48 s
[opt-env-conf-test] - Just (a, _) -> do
1517.48 s
[opt-env-conf-test] - debug ["set to default value"]
1517.48 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1517.48 s
[opt-env-conf-test] Nothing -> do
1517.48 s
[opt-env-conf-test] let parseResultError e res = case res of
1517.48 s
[opt-env-conf-test] NotRun -> Nothing
1517.48 s
[opt-env-conf-test] NotFound -> Just e
1517.48 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1517.48 s
[opt-env-conf-test] debug ["not found"]
1517.48 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1517.48 s
[opt-env-conf-test] NE.nonEmpty $
1517.48 s
[opt-env-conf-test] catMaybes
1517.48 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1517.48 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1517.48 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1517.48 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1517.48 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1517.48 s
[opt-env-conf-test] ]
1517.48 s
[opt-env-conf-test]
1517.48 s
[opt-env-conf-test] withCapabilities ::
1517.48 s
[opt-env-conf-test] Maybe SrcLoc ->
1517.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
1517.48 s
[opt-env-conf-test] @@ -330,128 +330,125 @@
1517.48 s
[opt-env-conf-test] pure $ Found a
1517.48 s
[opt-env-conf-test] else pure NotRun
1517.48 s
[opt-env-conf-test]
1517.48 s
[opt-env-conf-test] case mOpt of
1517.48 s
[opt-env-conf-test] - Found a -> do
1517.48 s
[opt-env-conf-test] - markParsed
1517.48 s
[opt-env-conf-test] - pure a
1517.48 s
[opt-env-conf-test] _ -> do
1517.48 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1517.48 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1517.48 s
[opt-env-conf-test] Nothing -> pure NotRun
1517.48 s
[opt-env-conf-test] Just ne -> do
1517.48 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1517.48 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1517.48 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1517.48 s
[opt-env-conf-test] es <- asks ppEnvEnv
1517.48 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1517.48 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1517.48 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1517.48 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1517.48 s
[opt-env-conf-test] -- result.
1517.48 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1517.48 s
[opt-env-conf-test] case tryReaders rs varStr of
1517.48 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1517.48 s
[opt-env-conf-test] Right a -> do
1517.48 s
[opt-env-conf-test] debug
1517.48 s
[opt-env-conf-test] [ "set based on env: ",
1517.48 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1517.49 s
[opt-env-conf-test] ]
1517.49 s
[opt-env-conf-test] pure a
1517.49 s
[opt-env-conf-test] case listToMaybe results of
1517.49 s
[opt-env-conf-test] Nothing -> do
1517.49 s
[opt-env-conf-test] debug
1517.49 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1517.49 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1517.49 s
[opt-env-conf-test] ]
1517.49 s
[opt-env-conf-test] pure NotFound
1517.49 s
[opt-env-conf-test] Just a -> pure $ Found a
1517.49 s
[opt-env-conf-test]
1517.49 s
[opt-env-conf-test] case mEnv of
1517.49 s
[opt-env-conf-test] Found a -> do
1517.49 s
[opt-env-conf-test] markParsed
1517.49 s
[opt-env-conf-test] pure a
1517.49 s
[opt-env-conf-test] _ -> do
1517.49 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1517.49 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1517.49 s
[opt-env-conf-test] Nothing -> pure NotRun
1517.49 s
[opt-env-conf-test] Just confSets -> do
1517.49 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1517.49 s
[opt-env-conf-test] case mObj of
1517.49 s
[opt-env-conf-test] Nothing -> do
1517.49 s
[opt-env-conf-test] debug ["no config object to set from"]
1517.49 s
[opt-env-conf-test] pure NotFound
1517.49 s
[opt-env-conf-test] Just obj -> do
1517.49 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1517.49 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1517.49 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1517.49 s
[opt-env-conf-test] Nothing -> do
1517.49 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1517.49 s
[opt-env-conf-test] Nothing -> pure Nothing
1517.49 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1517.49 s
[opt-env-conf-test] Just neRest -> do
1517.49 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1517.49 s
[opt-env-conf-test] case mO' of
1517.49 s
[opt-env-conf-test] Nothing -> pure Nothing
1517.49 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1517.49 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1517.49 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1517.49 s
[opt-env-conf-test] Right mV -> case mV of
1517.49 s
[opt-env-conf-test] Nothing -> do
1517.49 s
[opt-env-conf-test] debug
1517.49 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1517.49 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1517.49 s
[opt-env-conf-test] ]
1517.49 s
[opt-env-conf-test] pure Nothing
1517.49 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1517.49 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1517.49 s
[opt-env-conf-test] Right mA -> case mA of
1517.49 s
[opt-env-conf-test] Nothing -> do
1517.49 s
[opt-env-conf-test] debug
1517.49 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1517.49 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1517.49 s
[opt-env-conf-test] ]
1517.49 s
[opt-env-conf-test] pure Nothing
1517.49 s
[opt-env-conf-test] Just a -> do
1517.49 s
[opt-env-conf-test] debug
1517.49 s
[opt-env-conf-test] [ "set based on config value: ",
1517.49 s
[opt-env-conf-test] chunk $ T.pack $ show v
1517.49 s
[opt-env-conf-test] ]
1517.49 s
[opt-env-conf-test] pure $ Just a
1517.49 s
[opt-env-conf-test] let toRes = \case
1517.49 s
[opt-env-conf-test] Nothing -> NotFound
1517.49 s
[opt-env-conf-test] Just a -> Found a
1517.49 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1517.49 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1517.50 s
[opt-env-conf-test] Just ne -> do
1517.50 s
[opt-env-conf-test] res <- goConfSet confSet
1517.50 s
[opt-env-conf-test] case res of
1517.50 s
[opt-env-conf-test] Just a -> pure $ Found a
1517.50 s
[opt-env-conf-test] Nothing -> goConfSets ne
1517.50 s
[opt-env-conf-test] goConfSets confSets
1517.50 s
[opt-env-conf-test] case mConf of
1517.50 s
[opt-env-conf-test] Found a -> do
1517.50 s
[opt-env-conf-test] markParsed
1517.50 s
[opt-env-conf-test] pure a
1517.50 s
[opt-env-conf-test] _ ->
1517.50 s
[opt-env-conf-test] case settingDefaultValue of
1517.50 s
[opt-env-conf-test] Just (a, _) -> do
1517.50 s
[opt-env-conf-test] debug ["set to default value"]
1517.50 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1517.50 s
[opt-env-conf-test] Nothing -> do
1517.50 s
[opt-env-conf-test] let parseResultError e res = case res of
1517.50 s
[opt-env-conf-test] NotRun -> Nothing
1517.50 s
[opt-env-conf-test] NotFound -> Just e
1517.50 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1517.50 s
[opt-env-conf-test] debug ["not found"]
1517.50 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1517.50 s
[opt-env-conf-test] NE.nonEmpty $
1517.50 s
[opt-env-conf-test] catMaybes
1517.50 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1517.50 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1517.50 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1517.50 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1517.50 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1517.50 s
[opt-env-conf-test] ]
1517.50 s
[opt-env-conf-test]
1517.50 s
[opt-env-conf-test] withCapabilities ::
1517.50 s
[opt-env-conf-test] Maybe SrcLoc ->
1517.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
1517.50 s
[opt-env-conf-test] @@ -366,92 +366,10 @@
1517.50 s
[opt-env-conf-test] pure NotFound
1517.50 s
[opt-env-conf-test] Just a -> pure $ Found a
1517.50 s
[opt-env-conf-test]
1517.50 s
[opt-env-conf-test] case mEnv of
1517.50 s
[opt-env-conf-test] Found a -> do
1517.50 s
[opt-env-conf-test] markParsed
1517.50 s
[opt-env-conf-test] pure a
1517.50 s
[opt-env-conf-test] - _ -> do
1517.50 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1517.50 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1517.50 s
[opt-env-conf-test] - Nothing -> pure NotRun
1517.50 s
[opt-env-conf-test] - Just confSets -> do
1517.50 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1517.50 s
[opt-env-conf-test] - case mObj of
1517.50 s
[opt-env-conf-test] - Nothing -> do
1517.50 s
[opt-env-conf-test] - debug ["no config object to set from"]
1517.50 s
[opt-env-conf-test] - pure NotFound
1517.50 s
[opt-env-conf-test] - Just obj -> do
1517.50 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1517.50 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1517.50 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1517.50 s
[opt-env-conf-test] - Nothing -> do
1517.50 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1517.50 s
[opt-env-conf-test] - Nothing -> pure Nothing
1517.50 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1517.50 s
[opt-env-conf-test] - Just neRest -> do
1517.50 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1517.50 s
[opt-env-conf-test] - case mO' of
1517.50 s
[opt-env-conf-test] - Nothing -> pure Nothing
1517.50 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1517.50 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1517.50 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1517.50 s
[opt-env-conf-test] - Right mV -> case mV of
1517.50 s
[opt-env-conf-test] - Nothing -> do
1517.50 s
[opt-env-conf-test] - debug
1517.50 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1517.50 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1517.50 s
[opt-env-conf-test] - ]
1517.50 s
[opt-env-conf-test] - pure Nothing
1517.50 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1517.50 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1517.50 s
[opt-env-conf-test] - Right mA -> case mA of
1517.50 s
[opt-env-conf-test] - Nothing -> do
1517.50 s
[opt-env-conf-test] - debug
1517.50 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1517.50 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1517.50 s
[opt-env-conf-test] - ]
1517.50 s
[opt-env-conf-test] - pure Nothing
1517.50 s
[opt-env-conf-test] - Just a -> do
1517.50 s
[opt-env-conf-test] - debug
1517.51 s
[opt-env-conf-test] - [ "set based on config value: ",
1517.51 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1517.51 s
[opt-env-conf-test] - ]
1517.51 s
[opt-env-conf-test] - pure $ Just a
1517.51 s
[opt-env-conf-test] - let toRes = \case
1517.51 s
[opt-env-conf-test] - Nothing -> NotFound
1517.51 s
[opt-env-conf-test] - Just a -> Found a
1517.51 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1517.51 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1517.51 s
[opt-env-conf-test] - Just ne -> do
1517.51 s
[opt-env-conf-test] - res <- goConfSet confSet
1517.51 s
[opt-env-conf-test] - case res of
1517.51 s
[opt-env-conf-test] - Just a -> pure $ Found a
1517.51 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1517.51 s
[opt-env-conf-test] - goConfSets confSets
1517.51 s
[opt-env-conf-test] - case mConf of
1517.51 s
[opt-env-conf-test] - Found a -> do
1517.51 s
[opt-env-conf-test] - markParsed
1517.51 s
[opt-env-conf-test] - pure a
1517.51 s
[opt-env-conf-test] - _ ->
1517.51 s
[opt-env-conf-test] - case settingDefaultValue of
1517.51 s
[opt-env-conf-test] - Just (a, _) -> do
1517.51 s
[opt-env-conf-test] - debug ["set to default value"]
1517.51 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1517.51 s
[opt-env-conf-test] - Nothing -> do
1517.51 s
[opt-env-conf-test] - let parseResultError e res = case res of
1517.51 s
[opt-env-conf-test] - NotRun -> Nothing
1517.51 s
[opt-env-conf-test] - NotFound -> Just e
1517.51 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1517.51 s
[opt-env-conf-test] - debug ["not found"]
1517.51 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1517.51 s
[opt-env-conf-test] - NE.nonEmpty $
1517.51 s
[opt-env-conf-test] - catMaybes
1517.53 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1517.53 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1517.53 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1517.53 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1517.53 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1517.53 s
[opt-env-conf-test] - ]
1517.53 s
[opt-env-conf-test]
1517.53 s
[opt-env-conf-test] withCapabilities ::
1517.53 s
[opt-env-conf-test] Maybe SrcLoc ->
1517.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
1517.53 s
[opt-env-conf-test] @@ -280,178 +280,175 @@
1517.53 s
[opt-env-conf-test] pure $ Found a
1517.53 s
[opt-env-conf-test] else pure NotRun
1517.53 s
[opt-env-conf-test]
1517.53 s
[opt-env-conf-test] case mArg of
1517.54 s
[opt-env-conf-test] - Found a -> do
1517.54 s
[opt-env-conf-test] - markParsed
1517.54 s
[opt-env-conf-test] - pure a
1517.54 s
[opt-env-conf-test] _ -> do
1517.54 s
[opt-env-conf-test] mSwitch <- case settingSwitchValue of
1517.54 s
[opt-env-conf-test] Nothing -> pure NotRun
1517.54 s
[opt-env-conf-test] Just a -> do
1517.54 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1517.54 s
[opt-env-conf-test] case mS of
1517.54 s
[opt-env-conf-test] Nothing -> do
1517.54 s
[opt-env-conf-test] debug
1517.54 s
[opt-env-conf-test] [ "could not set based on switch, no switch: ",
1517.54 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1517.54 s
[opt-env-conf-test] ]
1517.54 s
[opt-env-conf-test] pure NotFound
1517.54 s
[opt-env-conf-test] Just () -> cap $ do
1517.54 s
[opt-env-conf-test] debug ["set based on switch."]
1517.54 s
[opt-env-conf-test] pure $ Found a
1517.54 s
[opt-env-conf-test]
1517.54 s
[opt-env-conf-test] case mSwitch of
1517.54 s
[opt-env-conf-test] Found a -> do
1517.54 s
[opt-env-conf-test] markParsed
1517.54 s
[opt-env-conf-test] pure a
1517.54 s
[opt-env-conf-test] _ -> do
1517.54 s
[opt-env-conf-test] mOpt <-
1517.54 s
[opt-env-conf-test] if settingTryOption
1517.54 s
[opt-env-conf-test] then do
1517.54 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1517.54 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1517.54 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1517.54 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1517.54 s
[opt-env-conf-test] case mS of
1517.54 s
[opt-env-conf-test] Nothing -> do
1517.54 s
[opt-env-conf-test] debug
1517.54 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1517.54 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1517.54 s
[opt-env-conf-test] ]
1517.54 s
[opt-env-conf-test] pure NotFound
1517.54 s
[opt-env-conf-test] Just optionStr -> cap $
1517.54 s
[opt-env-conf-test] case tryReaders rs optionStr of
1517.54 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1517.54 s
[opt-env-conf-test] Right a -> do
1517.54 s
[opt-env-conf-test] debug
1517.54 s
[opt-env-conf-test] [ "set based on option: ",
1517.54 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1517.54 s
[opt-env-conf-test] ]
1517.55 s
[opt-env-conf-test] pure $ Found a
1517.55 s
[opt-env-conf-test] else pure NotRun
1517.55 s
[opt-env-conf-test]
1517.55 s
[opt-env-conf-test] case mOpt of
1517.55 s
[opt-env-conf-test] Found a -> do
1517.55 s
[opt-env-conf-test] markParsed
1517.55 s
[opt-env-conf-test] pure a
1517.55 s
[opt-env-conf-test] _ -> do
1517.55 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1517.55 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1517.55 s
[opt-env-conf-test] Nothing -> pure NotRun
1517.55 s
[opt-env-conf-test] Just ne -> do
1517.55 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1517.55 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1517.55 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1517.55 s
[opt-env-conf-test] es <- asks ppEnvEnv
1517.55 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1517.55 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1517.55 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1517.55 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1517.55 s
[opt-env-conf-test] -- result.
1517.55 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1517.55 s
[opt-env-conf-test] case tryReaders rs varStr of
1517.55 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1517.55 s
[opt-env-conf-test] Right a -> do
1517.55 s
[opt-env-conf-test] debug
1517.55 s
[opt-env-conf-test] [ "set based on env: ",
1517.55 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1517.55 s
[opt-env-conf-test] ]
1517.55 s
[opt-env-conf-test] pure a
1517.55 s
[opt-env-conf-test] case listToMaybe results of
1517.55 s
[opt-env-conf-test] Nothing -> do
1517.55 s
[opt-env-conf-test] debug
1517.55 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1517.56 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1517.56 s
[opt-env-conf-test] ]
1517.56 s
[opt-env-conf-test] pure NotFound
1517.56 s
[opt-env-conf-test] Just a -> pure $ Found a
1517.56 s
[opt-env-conf-test]
1517.56 s
[opt-env-conf-test] case mEnv of
1517.56 s
[opt-env-conf-test] Found a -> do
1517.56 s
[opt-env-conf-test] markParsed
1517.56 s
[opt-env-conf-test] pure a
1517.56 s
[opt-env-conf-test] _ -> do
1517.56 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1517.56 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1517.56 s
[opt-env-conf-test] Nothing -> pure NotRun
1517.56 s
[opt-env-conf-test] Just confSets -> do
1517.56 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1517.56 s
[opt-env-conf-test] case mObj of
1517.56 s
[opt-env-conf-test] Nothing -> do
1517.56 s
[opt-env-conf-test] debug ["no config object to set from"]
1517.56 s
[opt-env-conf-test] pure NotFound
1517.56 s
[opt-env-conf-test] Just obj -> do
1517.56 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1517.56 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1517.56 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1517.56 s
[opt-env-conf-test] Nothing -> do
1517.56 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1517.56 s
[opt-env-conf-test] Nothing -> pure Nothing
1517.56 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1517.56 s
[opt-env-conf-test] Just neRest -> do
1517.56 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1517.56 s
[opt-env-conf-test] case mO' of
1517.56 s
[opt-env-conf-test] Nothing -> pure Nothing
1517.56 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1517.56 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1517.56 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1517.56 s
[opt-env-conf-test] Right mV -> case mV of
1517.56 s
[opt-env-conf-test] Nothing -> do
1517.56 s
[opt-env-conf-test] debug
1517.56 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1517.56 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1517.56 s
[opt-env-conf-test] ]
1517.56 s
[opt-env-conf-test] pure Nothing
1517.56 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1517.56 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1517.56 s
[opt-env-conf-test] Right mA -> case mA of
1517.56 s
[opt-env-conf-test] Nothing -> do
1517.56 s
[opt-env-conf-test] debug
1517.56 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1517.56 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1517.57 s
[opt-env-conf-test] ]
1517.57 s
[opt-env-conf-test] pure Nothing
1517.57 s
[opt-env-conf-test] Just a -> do
1517.57 s
[opt-env-conf-test] debug
1517.57 s
[opt-env-conf-test] [ "set based on config value: ",
1517.57 s
[opt-env-conf-test] chunk $ T.pack $ show v
1517.57 s
[opt-env-conf-test] ]
1517.57 s
[opt-env-conf-test] pure $ Just a
1517.57 s
[opt-env-conf-test] let toRes = \case
1517.57 s
[opt-env-conf-test] Nothing -> NotFound
1517.57 s
[opt-env-conf-test] Just a -> Found a
1517.57 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1519.83 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1519.83 s
[opt-env-conf-test] Just ne -> do
1519.83 s
[opt-env-conf-test] res <- goConfSet confSet
1519.83 s
[opt-env-conf-test] case res of
1519.83 s
[opt-env-conf-test] Just a -> pure $ Found a
1519.83 s
[opt-env-conf-test] Nothing -> goConfSets ne
1519.83 s
[opt-env-conf-test] goConfSets confSets
1519.84 s
[opt-env-conf-test] case mConf of
1519.84 s
[opt-env-conf-test] Found a -> do
1519.84 s
[opt-env-conf-test] markParsed
1519.84 s
[opt-env-conf-test] pure a
1519.84 s
[opt-env-conf-test] _ ->
1519.84 s
[opt-env-conf-test] case settingDefaultValue of
1519.84 s
[opt-env-conf-test] Just (a, _) -> do
1519.84 s
[opt-env-conf-test] debug ["set to default value"]
1519.84 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1519.84 s
[opt-env-conf-test] Nothing -> do
1519.84 s
[opt-env-conf-test] let parseResultError e res = case res of
1519.84 s
[opt-env-conf-test] NotRun -> Nothing
1519.84 s
[opt-env-conf-test] NotFound -> Just e
1519.84 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1519.84 s
[opt-env-conf-test] debug ["not found"]
1519.84 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1519.84 s
[opt-env-conf-test] NE.nonEmpty $
1519.84 s
[opt-env-conf-test] catMaybes
1519.84 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1519.84 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1519.84 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1519.84 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1519.84 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1519.84 s
[opt-env-conf-test] ]
1519.84 s
[opt-env-conf-test]
1519.84 s
[opt-env-conf-test] withCapabilities ::
1519.84 s
[opt-env-conf-test] Maybe SrcLoc ->
1519.84 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:440:44-42
1519.84 s
[opt-env-conf-test] @@ -437,21 +437,20 @@
1519.84 s
[opt-env-conf-test] Just (a, _) -> do
1519.84 s
[opt-env-conf-test] debug ["set to default value"]
1519.85 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1519.85 s
[opt-env-conf-test] Nothing -> do
1519.85 s
[opt-env-conf-test] let parseResultError e res = case res of
1519.85 s
[opt-env-conf-test] NotRun -> Nothing
1519.85 s
[opt-env-conf-test] NotFound -> Just e
1519.85 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1519.85 s
[opt-env-conf-test] - debug ["not found"]
1519.85 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1519.85 s
[opt-env-conf-test] NE.nonEmpty $
1519.85 s
[opt-env-conf-test] catMaybes
1519.85 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1519.85 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1519.85 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1519.85 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1519.85 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1519.85 s
[opt-env-conf-test] ]
1519.85 s
[opt-env-conf-test]
1519.85 s
[opt-env-conf-test] withCapabilities ::
1519.85 s
[opt-env-conf-test] Maybe SrcLoc ->
1519.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1519.85 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1519.85 s
[opt-env-conf-test] debug ["set to default value"]
1519.85 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1519.85 s
[opt-env-conf-test] Nothing -> do
1519.85 s
[opt-env-conf-test] let parseResultError e res = case res of
1519.85 s
[opt-env-conf-test] NotRun -> Nothing
1519.85 s
[opt-env-conf-test] NotFound -> Just e
1519.85 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1519.85 s
[opt-env-conf-test] debug ["not found"]
1519.86 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1519.86 s
[opt-env-conf-test] NE.nonEmpty $
1519.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:18-50
1519.86 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1519.86 s
[opt-env-conf-test] case result of
1519.86 s
[opt-env-conf-test] Success a -> pure a
1519.86 s
[opt-env-conf-test] Failure errs -> do
1519.86 s
[opt-env-conf-test] - if n ot $ a ll er rorI sF o r giva ble e r rs
1519.86 s
[opt-env-conf-test] + if T r u e
1519.86 s
[opt-env-conf-test] then ppErrors' errs
1519.86 s
[opt-env-conf-test] else do
1519.86 s
[opt-env-conf-test] -- Settings available below
1519.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
1519.86 s
[opt-env-conf-test] @@ -336,35 +336,8 @@
1519.86 s
[opt-env-conf-test] pure a
1519.86 s
[opt-env-conf-test] _ -> do
1519.86 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1519.86 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1519.86 s
[opt-env-conf-test] Nothing -> pure NotRun
1519.86 s
[opt-env-conf-test] - Just ne -> do
1519.86 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1519.86 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1519.86 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1519.86 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1519.86 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1519.86 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1519.86 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1519.86 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1519.86 s
[opt-env-conf-test] - -- result.
1519.86 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1519.86 s
[opt-env-conf-test] - case tryReaders rs varStr of
1519.86 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1519.86 s
[opt-env-conf-test] - Right a -> do
1519.86 s
[opt-env-conf-test] - debug
1519.87 s
[opt-env-conf-test] - [ "set based on env: ",
1519.87 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1519.87 s
[opt-env-conf-test] - ]
1519.87 s
[opt-env-conf-test] - pure a
1519.87 s
[opt-env-conf-test] - case listToMaybe results of
1519.87 s
[opt-env-conf-test] - Nothing -> do
1519.87 s
[opt-env-conf-test] - debug
1519.87 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1519.87 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1519.87 s
[opt-env-conf-test] - ]
1519.87 s
[opt-env-conf-test] - pure NotFound
1519.87 s
[opt-env-conf-test] - Just a -> pure $ Found a
1519.87 s
[opt-env-conf-test]
1519.87 s
[opt-env-conf-test] case mEnv of
1519.87 s
[opt-env-conf-test] Found a -> do
1519.87 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:151:15-68
1519.87 s
[opt-env-conf-test] @@ -148,7 +148,6 @@
1519.87 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1519.87 s
[opt-env-conf-test] pure (a :| as)
1519.87 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1519.88 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1519.88 s
[opt-env-conf-test] ppIndent $ do
1519.88 s
[opt-env-conf-test] e <- ask
1519.88 s
[opt-env-conf-test] s <- get
1519.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
1519.88 s
[opt-env-conf-test] @@ -428,30 +428,10 @@
1519.88 s
[opt-env-conf-test] Just a -> pure $ Found a
1519.88 s
[opt-env-conf-test] Nothing -> goConfSets ne
1519.88 s
[opt-env-conf-test] goConfSets confSets
1519.88 s
[opt-env-conf-test] case mConf of
1519.88 s
[opt-env-conf-test] Found a -> do
1519.88 s
[opt-env-conf-test] markParsed
1519.88 s
[opt-env-conf-test] pure a
1519.88 s
[opt-env-conf-test] - _ ->
1519.88 s
[opt-env-conf-test] - case settingDefaultValue of
1519.88 s
[opt-env-conf-test] - Just (a, _) -> do
1519.88 s
[opt-env-conf-test] - debug ["set to default value"]
1519.88 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1519.88 s
[opt-env-conf-test] - Nothing -> do
1519.88 s
[opt-env-conf-test] - let parseResultError e res = case res of
1519.88 s
[opt-env-conf-test] - NotRun -> Nothing
1519.88 s
[opt-env-conf-test] - NotFound -> Just e
1519.88 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1519.88 s
[opt-env-conf-test] - debug ["not found"]
1519.88 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1519.88 s
[opt-env-conf-test] - NE.nonEmpty $
1519.88 s
[opt-env-conf-test] - catMaybes
1519.88 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1519.88 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1519.88 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1519.88 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1519.88 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1519.88 s
[opt-env-conf-test] - ]
1519.88 s
[opt-env-conf-test]
1519.88 s
[opt-env-conf-test] withCapabilities ::
1523.80 s
[opt-env-conf-test] Maybe SrcLoc ->
1523.80 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:194:15-25
1523.88 s
[opt-env-conf-test] @@ -191,13 +191,10 @@
1523.88 s
[opt-env-conf-test] ppIndent $
1523.88 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
1523.88 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1523.88 s
[opt-env-conf-test] case errOrB of
1523.88 s
[opt-env-conf-test] Left err -> do
1523.88 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1523.88 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1523.88 s
[opt-env-conf-test] - Right b -> do
1523.88 s
[opt-env-conf-test] - debug ["succeeded"]
1523.88 s
[opt-env-conf-test] - pure b
1523.88 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1523.89 s
[opt-env-conf-test] debug [syntaxChunk "Commands", ": ", mSrcLocChunk mLoc]
1523.89 s
[opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
1523.89 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
1523.89 s
[opt-env-conf-test] @@ -114,7 +114,6 @@
1523.89 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
1523.89 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1523.89 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1523.89 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1523.89 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1523.89 s
[opt-env-conf-test] ParserSelect fe ff -> do
1523.89 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1523.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1523.89 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1523.89 s
[opt-env-conf-test] debug ["set to default value"]
1523.89 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1523.89 s
[opt-env-conf-test] Nothing -> do
1523.89 s
[opt-env-conf-test] let parseResultError e res = case res of
1523.89 s
[opt-env-conf-test] - NotRun -> Nothing
1523.89 s
[opt-env-conf-test] NotFound -> Just e
1523.89 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1523.89 s
[opt-env-conf-test] debug ["not found"]
1523.89 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1523.89 s
[opt-env-conf-test] NE.nonEmpty $
1523.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:161:18-50
1523.89 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1523.89 s
[opt-env-conf-test] case result of
1523.89 s
[opt-env-conf-test] Success a -> pure a
1523.89 s
[opt-env-conf-test] Failure errs -> do
1523.89 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
1523.89 s
[opt-env-conf-test] + if n o t ( not $ all errorIsForgivable errs )
1523.90 s
[opt-env-conf-test] then ppErrors' errs
1523.90 s
[opt-env-conf-test] else do
1523.90 s
[opt-env-conf-test] -- Settings available below
1523.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
1523.90 s
[opt-env-conf-test] @@ -330,128 +330,10 @@
1523.90 s
[opt-env-conf-test] pure $ Found a
1523.90 s
[opt-env-conf-test] else pure NotRun
1523.90 s
[opt-env-conf-test]
1523.90 s
[opt-env-conf-test] case mOpt of
1523.90 s
[opt-env-conf-test] Found a -> do
1523.90 s
[opt-env-conf-test] markParsed
1523.90 s
[opt-env-conf-test] pure a
1523.90 s
[opt-env-conf-test] - _ -> do
1523.90 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1523.90 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1523.90 s
[opt-env-conf-test] - Nothing -> pure NotRun
1523.90 s
[opt-env-conf-test] - Just ne -> do
1523.90 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1523.90 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1523.90 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1523.90 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1523.90 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1523.90 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1523.90 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1523.90 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1523.90 s
[opt-env-conf-test] - -- result.
1523.90 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1523.90 s
[opt-env-conf-test] - case tryReaders rs varStr of
1523.90 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1523.90 s
[opt-env-conf-test] - Right a -> do
1523.90 s
[opt-env-conf-test] - debug
1523.90 s
[opt-env-conf-test] - [ "set based on env: ",
1523.90 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1523.90 s
[opt-env-conf-test] - ]
1523.90 s
[opt-env-conf-test] - pure a
1523.91 s
[opt-env-conf-test] - case listToMaybe results of
1523.91 s
[opt-env-conf-test] - Nothing -> do
1523.91 s
[opt-env-conf-test] - debug
1523.91 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1523.91 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1523.91 s
[opt-env-conf-test] - ]
1523.91 s
[opt-env-conf-test] - pure NotFound
1523.91 s
[opt-env-conf-test] - Just a -> pure $ Found a
1523.91 s
[opt-env-conf-test] -
1523.91 s
[opt-env-conf-test] - case mEnv of
1523.91 s
[opt-env-conf-test] - Found a -> do
1523.91 s
[opt-env-conf-test] - markParsed
1523.91 s
[opt-env-conf-test] - pure a
1523.91 s
[opt-env-conf-test] - _ -> do
1523.91 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1523.91 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1523.91 s
[opt-env-conf-test] - Nothing -> pure NotRun
1523.91 s
[opt-env-conf-test] - Just confSets -> do
1523.91 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1523.91 s
[opt-env-conf-test] - case mObj of
1523.91 s
[opt-env-conf-test] - Nothing -> do
1523.91 s
[opt-env-conf-test] - debug ["no config object to set from"]
1523.91 s
[opt-env-conf-test] - pure NotFound
1523.91 s
[opt-env-conf-test] - Just obj -> do
1523.91 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1523.91 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1523.91 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1523.91 s
[opt-env-conf-test] - Nothing -> do
1523.91 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1523.91 s
[opt-env-conf-test] - Nothing -> pure Nothing
1523.91 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1523.91 s
[opt-env-conf-test] - Just neRest -> do
1523.91 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1523.91 s
[opt-env-conf-test] - case mO' of
1523.91 s
[opt-env-conf-test] - Nothing -> pure Nothing
1523.91 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1523.92 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1523.92 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1523.92 s
[opt-env-conf-test] - Right mV -> case mV of
1523.92 s
[opt-env-conf-test] - Nothing -> do
1523.92 s
[opt-env-conf-test] - debug
1523.92 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1523.92 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1523.92 s
[opt-env-conf-test] - ]
1523.92 s
[opt-env-conf-test] - pure Nothing
1523.92 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1523.92 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1523.92 s
[opt-env-conf-test] - Right mA -> case mA of
1523.92 s
[opt-env-conf-test] - Nothing -> do
1523.92 s
[opt-env-conf-test] - debug
1523.92 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1523.92 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1523.92 s
[opt-env-conf-test] - ]
1523.92 s
[opt-env-conf-test] - pure Nothing
1523.92 s
[opt-env-conf-test] - Just a -> do
1523.92 s
[opt-env-conf-test] - debug
1523.92 s
[opt-env-conf-test] - [ "set based on config value: ",
1523.92 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1523.92 s
[opt-env-conf-test] - ]
1523.92 s
[opt-env-conf-test] - pure $ Just a
1523.92 s
[opt-env-conf-test] - let toRes = \case
1523.92 s
[opt-env-conf-test] - Nothing -> NotFound
1523.92 s
[opt-env-conf-test] - Just a -> Found a
1523.92 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1523.92 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1523.92 s
[opt-env-conf-test] - Just ne -> do
1523.92 s
[opt-env-conf-test] - res <- goConfSet confSet
1523.92 s
[opt-env-conf-test] - case res of
1523.92 s
[opt-env-conf-test] - Just a -> pure $ Found a
1523.92 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1523.92 s
[opt-env-conf-test] - goConfSets confSets
1523.92 s
[opt-env-conf-test] - case mConf of
1523.92 s
[opt-env-conf-test] - Found a -> do
1523.92 s
[opt-env-conf-test] - markParsed
1523.92 s
[opt-env-conf-test] - pure a
1523.92 s
[opt-env-conf-test] - _ ->
1523.92 s
[opt-env-conf-test] - case settingDefaultValue of
1523.92 s
[opt-env-conf-test] - Just (a, _) -> do
1523.92 s
[opt-env-conf-test] - debug ["set to default value"]
1523.93 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1523.93 s
[opt-env-conf-test] - Nothing -> do
1523.93 s
[opt-env-conf-test] - let parseResultError e res = case res of
1523.93 s
[opt-env-conf-test] - NotRun -> Nothing
1523.93 s
[opt-env-conf-test] - NotFound -> Just e
1523.93 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1523.93 s
[opt-env-conf-test] - debug ["not found"]
1524.11 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1524.12 s
[opt-env-conf-test] - NE.nonEmpty $
1524.12 s
[opt-env-conf-test] - catMaybes
1524.12 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1524.12 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1524.12 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1524.12 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1524.12 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1524.12 s
[opt-env-conf-test] - ]
1524.12 s
[opt-env-conf-test]
1524.12 s
[opt-env-conf-test] withCapabilities ::
1524.12 s
[opt-env-conf-test] Maybe SrcLoc ->
1524.12 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
1524.12 s
[opt-env-conf-test] @@ -141,7 +141,6 @@
1524.12 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1524.12 s
[opt-env-conf-test] pure (a : as)
1524.12 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1524.12 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1524.12 s
[opt-env-conf-test] ppIndent $ do
1524.12 s
[opt-env-conf-test] a <- go p'
1524.12 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1524.12 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
1524.12 s
[opt-env-conf-test] @@ -141,7 +141,6 @@
1524.12 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1524.12 s
[opt-env-conf-test] pure (a : as)
1524.12 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1524.12 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1524.12 s
[opt-env-conf-test] ppIndent $ do
1524.12 s
[opt-env-conf-test] a <- go p'
1524.12 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1524.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
1524.12 s
[opt-env-conf-test] @@ -372,62 +372,8 @@
1524.12 s
[opt-env-conf-test] pure a
1524.12 s
[opt-env-conf-test] _ -> do
1524.12 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1524.12 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1524.12 s
[opt-env-conf-test] Nothing -> pure NotRun
1524.13 s
[opt-env-conf-test] - Just confSets -> do
1524.13 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1524.13 s
[opt-env-conf-test] - case mObj of
1524.13 s
[opt-env-conf-test] - Nothing -> do
1524.13 s
[opt-env-conf-test] - debug ["no config object to set from"]
1524.13 s
[opt-env-conf-test] - pure NotFound
1524.13 s
[opt-env-conf-test] - Just obj -> do
1524.13 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1524.13 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1524.13 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1524.13 s
[opt-env-conf-test] - Nothing -> do
1524.13 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1524.13 s
[opt-env-conf-test] - Nothing -> pure Nothing
1524.13 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1524.13 s
[opt-env-conf-test] - Just neRest -> do
1524.13 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1524.13 s
[opt-env-conf-test] - case mO' of
1524.13 s
[opt-env-conf-test] - Nothing -> pure Nothing
1524.13 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1524.13 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1524.13 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1524.13 s
[opt-env-conf-test] - Right mV -> case mV of
1524.13 s
[opt-env-conf-test] - Nothing -> do
1524.13 s
[opt-env-conf-test] - debug
1524.13 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1524.13 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1524.13 s
[opt-env-conf-test] - ]
1524.13 s
[opt-env-conf-test] - pure Nothing
1524.13 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1524.13 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1524.13 s
[opt-env-conf-test] - Right mA -> case mA of
1524.13 s
[opt-env-conf-test] - Nothing -> do
1524.13 s
[opt-env-conf-test] - debug
1524.13 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1524.13 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1524.13 s
[opt-env-conf-test] - ]
1524.13 s
[opt-env-conf-test] - pure Nothing
1524.13 s
[opt-env-conf-test] - Just a -> do
1524.14 s
[opt-env-conf-test] - debug
1524.14 s
[opt-env-conf-test] - [ "set based on config value: ",
1524.14 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1524.14 s
[opt-env-conf-test] - ]
1524.14 s
[opt-env-conf-test] - pure $ Just a
1524.14 s
[opt-env-conf-test] - let toRes = \case
1524.14 s
[opt-env-conf-test] - Nothing -> NotFound
1524.14 s
[opt-env-conf-test] - Just a -> Found a
1524.88 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1524.88 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1524.88 s
[opt-env-conf-test] - Just ne -> do
1524.88 s
[opt-env-conf-test] - res <- goConfSet confSet
1524.88 s
[opt-env-conf-test] - case res of
1524.88 s
[opt-env-conf-test] - Just a -> pure $ Found a
1524.88 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1524.88 s
[opt-env-conf-test] - goConfSets confSets
1524.88 s
[opt-env-conf-test] case mConf of
1524.88 s
[opt-env-conf-test] Found a -> do
1524.88 s
[opt-env-conf-test] markParsed
1524.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
1524.88 s
[opt-env-conf-test] @@ -300,158 +300,10 @@
1524.88 s
[opt-env-conf-test] debug ["set based on switch."]
1524.88 s
[opt-env-conf-test] pure $ Found a
1524.88 s
[opt-env-conf-test]
1524.88 s
[opt-env-conf-test] case mSwitch of
1524.88 s
[opt-env-conf-test] Found a -> do
1524.88 s
[opt-env-conf-test] markParsed
1524.88 s
[opt-env-conf-test] pure a
1524.88 s
[opt-env-conf-test] - _ -> do
1524.89 s
[opt-env-conf-test] - mOpt <-
1524.89 s
[opt-env-conf-test] - if settingTryOption
1524.89 s
[opt-env-conf-test] - then do
1524.89 s
[opt-env-conf-test] - -- Require readers before finding the option so the parser
1524.89 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1524.89 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1524.89 s
[opt-env-conf-test] - mS <- ppOpt settingDasheds
1524.89 s
[opt-env-conf-test] - case mS of
1524.89 s
[opt-env-conf-test] - Nothing -> do
1524.89 s
[opt-env-conf-test] - debug
1524.89 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1524.89 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1524.89 s
[opt-env-conf-test] - ]
1524.89 s
[opt-env-conf-test] - pure NotFound
1524.89 s
[opt-env-conf-test] - Just optionStr -> cap $
1524.89 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1524.89 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1524.89 s
[opt-env-conf-test] - Right a -> do
1524.89 s
[opt-env-conf-test] - debug
1524.89 s
[opt-env-conf-test] - [ "set based on option: ",
1524.89 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1524.89 s
[opt-env-conf-test] - ]
1524.89 s
[opt-env-conf-test] - pure $ Found a
1524.89 s
[opt-env-conf-test] - else pure NotRun
1524.89 s
[opt-env-conf-test] -
1524.89 s
[opt-env-conf-test] - case mOpt of
1524.89 s
[opt-env-conf-test] - Found a -> do
1524.89 s
[opt-env-conf-test] - markParsed
1524.89 s
[opt-env-conf-test] - pure a
1524.89 s
[opt-env-conf-test] - _ -> do
1524.89 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1524.89 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1524.89 s
[opt-env-conf-test] - Nothing -> pure NotRun
1524.89 s
[opt-env-conf-test] - Just ne -> do
1524.89 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1524.89 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1524.89 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1524.89 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1524.89 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1524.89 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1524.89 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1524.89 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1524.89 s
[opt-env-conf-test] - -- result.
1524.89 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1524.89 s
[opt-env-conf-test] - case tryReaders rs varStr of
1524.89 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1524.89 s
[opt-env-conf-test] - Right a -> do
1524.89 s
[opt-env-conf-test] - debug
1524.89 s
[opt-env-conf-test] - [ "set based on env: ",
1524.89 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1524.89 s
[opt-env-conf-test] - ]
1524.89 s
[opt-env-conf-test] - pure a
1524.89 s
[opt-env-conf-test] - case listToMaybe results of
1524.89 s
[opt-env-conf-test] - Nothing -> do
1524.89 s
[opt-env-conf-test] - debug
1524.89 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1524.89 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1524.89 s
[opt-env-conf-test] - ]
1524.89 s
[opt-env-conf-test] - pure NotFound
1524.89 s
[opt-env-conf-test] - Just a -> pure $ Found a
1524.89 s
[opt-env-conf-test] -
1524.89 s
[opt-env-conf-test] - case mEnv of
1524.90 s
[opt-env-conf-test] - Found a -> do
1524.90 s
[opt-env-conf-test] - markParsed
1524.90 s
[opt-env-conf-test] - pure a
1524.90 s
[opt-env-conf-test] - _ -> do
1524.90 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1524.90 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1524.90 s
[opt-env-conf-test] - Nothing -> pure NotRun
1524.90 s
[opt-env-conf-test] - Just confSets -> do
1524.90 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1524.90 s
[opt-env-conf-test] - case mObj of
1524.90 s
[opt-env-conf-test] - Nothing -> do
1524.90 s
[opt-env-conf-test] - debug ["no config object to set from"]
1524.90 s
[opt-env-conf-test] - pure NotFound
1524.90 s
[opt-env-conf-test] - Just obj -> do
1524.90 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1524.90 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1524.90 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1524.90 s
[opt-env-conf-test] - Nothing -> do
1524.90 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1524.90 s
[opt-env-conf-test] - Nothing -> pure Nothing
1524.90 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1524.90 s
[opt-env-conf-test] - Just neRest -> do
1524.90 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1524.90 s
[opt-env-conf-test] - case mO' of
1524.90 s
[opt-env-conf-test] - Nothing -> pure Nothing
1524.90 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1524.90 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1524.90 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1524.90 s
[opt-env-conf-test] - Right mV -> case mV of
1524.90 s
[opt-env-conf-test] - Nothing -> do
1524.90 s
[opt-env-conf-test] - debug
1524.90 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1524.90 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1524.90 s
[opt-env-conf-test] - ]
1524.90 s
[opt-env-conf-test] - pure Nothing
1524.90 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1524.90 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1524.90 s
[opt-env-conf-test] - Right mA -> case mA of
1524.90 s
[opt-env-conf-test] - Nothing -> do
1524.90 s
[opt-env-conf-test] - debug
1524.90 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1524.90 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1524.90 s
[opt-env-conf-test] - ]
1524.90 s
[opt-env-conf-test] - pure Nothing
1524.90 s
[opt-env-conf-test] - Just a -> do
1524.90 s
[opt-env-conf-test] - debug
1524.90 s
[opt-env-conf-test] - [ "set based on config value: ",
1524.90 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1524.90 s
[opt-env-conf-test] - ]
1524.90 s
[opt-env-conf-test] - pure $ Just a
1524.90 s
[opt-env-conf-test] - let toRes = \case
1524.90 s
[opt-env-conf-test] - Nothing -> NotFound
1524.90 s
[opt-env-conf-test] - Just a -> Found a
1524.90 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1524.90 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1524.90 s
[opt-env-conf-test] - Just ne -> do
1524.90 s
[opt-env-conf-test] - res <- goConfSet confSet
1524.90 s
[opt-env-conf-test] - case res of
1524.90 s
[opt-env-conf-test] - Just a -> pure $ Found a
1524.90 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1524.90 s
[opt-env-conf-test] - goConfSets confSets
1524.91 s
[opt-env-conf-test] - case mConf of
1524.91 s
[opt-env-conf-test] - Found a -> do
1524.91 s
[opt-env-conf-test] - markParsed
1524.91 s
[opt-env-conf-test] - pure a
1524.91 s
[opt-env-conf-test] - _ ->
1524.91 s
[opt-env-conf-test] - case settingDefaultValue of
1524.91 s
[opt-env-conf-test] - Just (a, _) -> do
1524.91 s
[opt-env-conf-test] - debug ["set to default value"]
1524.91 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1524.91 s
[opt-env-conf-test] - Nothing -> do
1524.91 s
[opt-env-conf-test] - let parseResultError e res = case res of
1524.91 s
[opt-env-conf-test] - NotRun -> Nothing
1524.91 s
[opt-env-conf-test] - NotFound -> Just e
1524.91 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1524.91 s
[opt-env-conf-test] - debug ["not found"]
1524.91 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1524.91 s
[opt-env-conf-test] - NE.nonEmpty $
1524.91 s
[opt-env-conf-test] - catMaybes
1524.91 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1524.91 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1525.12 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1525.12 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1525.12 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1525.12 s
[opt-env-conf-test] - ]
1525.12 s
[opt-env-conf-test]
1525.13 s
[opt-env-conf-test] withCapabilities ::
1525.13 s
[opt-env-conf-test] Maybe SrcLoc ->
1525.13 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
1525.13 s
[opt-env-conf-test] @@ -300,158 +300,155 @@
1525.13 s
[opt-env-conf-test] debug ["set based on switch."]
1525.13 s
[opt-env-conf-test] pure $ Found a
1525.13 s
[opt-env-conf-test]
1525.13 s
[opt-env-conf-test] case mSwitch of
1525.13 s
[opt-env-conf-test] - Found a -> do
1525.13 s
[opt-env-conf-test] - markParsed
1525.13 s
[opt-env-conf-test] - pure a
1525.13 s
[opt-env-conf-test] _ -> do
1525.13 s
[opt-env-conf-test] mOpt <-
1525.13 s
[opt-env-conf-test] if settingTryOption
1525.13 s
[opt-env-conf-test] then do
1525.13 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1525.13 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1525.13 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1525.13 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1525.13 s
[opt-env-conf-test] case mS of
1525.13 s
[opt-env-conf-test] Nothing -> do
1525.13 s
[opt-env-conf-test] debug
1525.13 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1525.13 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1525.13 s
[opt-env-conf-test] ]
1525.13 s
[opt-env-conf-test] pure NotFound
1525.13 s
[opt-env-conf-test] Just optionStr -> cap $
1525.13 s
[opt-env-conf-test] case tryReaders rs optionStr of
1525.13 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1525.13 s
[opt-env-conf-test] Right a -> do
1525.13 s
[opt-env-conf-test] debug
1525.13 s
[opt-env-conf-test] [ "set based on option: ",
1525.13 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1525.13 s
[opt-env-conf-test] ]
1525.13 s
[opt-env-conf-test] pure $ Found a
1525.13 s
[opt-env-conf-test] else pure NotRun
1525.14 s
[opt-env-conf-test]
1525.14 s
[opt-env-conf-test] case mOpt of
1525.14 s
[opt-env-conf-test] Found a -> do
1525.14 s
[opt-env-conf-test] markParsed
1525.14 s
[opt-env-conf-test] pure a
1525.14 s
[opt-env-conf-test] _ -> do
1525.14 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1525.14 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1525.14 s
[opt-env-conf-test] Nothing -> pure NotRun
1525.14 s
[opt-env-conf-test] Just ne -> do
1525.14 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1525.14 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1525.14 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1525.14 s
[opt-env-conf-test] es <- asks ppEnvEnv
1525.14 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1525.14 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1525.14 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1525.14 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1525.14 s
[opt-env-conf-test] -- result.
1525.14 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1525.14 s
[opt-env-conf-test] case tryReaders rs varStr of
1525.14 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1525.14 s
[opt-env-conf-test] Right a -> do
1525.14 s
[opt-env-conf-test] debug
1525.14 s
[opt-env-conf-test] [ "set based on env: ",
1525.14 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1525.14 s
[opt-env-conf-test] ]
1525.14 s
[opt-env-conf-test] pure a
1525.14 s
[opt-env-conf-test] case listToMaybe results of
1525.14 s
[opt-env-conf-test] Nothing -> do
1525.14 s
[opt-env-conf-test] debug
1525.14 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1525.14 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1525.14 s
[opt-env-conf-test] ]
1525.14 s
[opt-env-conf-test] pure NotFound
1525.14 s
[opt-env-conf-test] Just a -> pure $ Found a
1525.14 s
[opt-env-conf-test]
1525.14 s
[opt-env-conf-test] case mEnv of
1525.14 s
[opt-env-conf-test] Found a -> do
1525.14 s
[opt-env-conf-test] markParsed
1525.14 s
[opt-env-conf-test] pure a
1525.14 s
[opt-env-conf-test] _ -> do
1525.14 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1525.14 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1525.14 s
[opt-env-conf-test] Nothing -> pure NotRun
1525.14 s
[opt-env-conf-test] Just confSets -> do
1525.14 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1525.14 s
[opt-env-conf-test] case mObj of
1525.14 s
[opt-env-conf-test] Nothing -> do
1525.14 s
[opt-env-conf-test] debug ["no config object to set from"]
1525.14 s
[opt-env-conf-test] pure NotFound
1525.14 s
[opt-env-conf-test] Just obj -> do
1525.14 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1525.14 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1525.14 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1525.14 s
[opt-env-conf-test] Nothing -> do
1525.14 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1525.14 s
[opt-env-conf-test] Nothing -> pure Nothing
1525.14 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1525.14 s
[opt-env-conf-test] Just neRest -> do
1525.14 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1525.14 s
[opt-env-conf-test] case mO' of
1525.14 s
[opt-env-conf-test] Nothing -> pure Nothing
1525.14 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1525.14 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1525.14 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1525.14 s
[opt-env-conf-test] Right mV -> case mV of
1525.14 s
[opt-env-conf-test] Nothing -> do
1525.14 s
[opt-env-conf-test] debug
1525.15 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1525.15 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1525.15 s
[opt-env-conf-test] ]
1525.15 s
[opt-env-conf-test] pure Nothing
1525.15 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1525.15 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1525.15 s
[opt-env-conf-test] Right mA -> case mA of
1525.15 s
[opt-env-conf-test] Nothing -> do
1525.15 s
[opt-env-conf-test] debug
1525.15 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1525.15 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1525.15 s
[opt-env-conf-test] ]
1525.15 s
[opt-env-conf-test] pure Nothing
1525.15 s
[opt-env-conf-test] Just a -> do
1525.15 s
[opt-env-conf-test] debug
1525.15 s
[opt-env-conf-test] [ "set based on config value: ",
1525.15 s
[opt-env-conf-test] chunk $ T.pack $ show v
1525.15 s
[opt-env-conf-test] ]
1525.15 s
[opt-env-conf-test] pure $ Just a
1525.15 s
[opt-env-conf-test] let toRes = \case
1525.15 s
[opt-env-conf-test] Nothing -> NotFound
1525.15 s
[opt-env-conf-test] Just a -> Found a
1525.15 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1525.15 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1525.15 s
[opt-env-conf-test] Just ne -> do
1525.15 s
[opt-env-conf-test] res <- goConfSet confSet
1525.15 s
[opt-env-conf-test] case res of
1525.15 s
[opt-env-conf-test] Just a -> pure $ Found a
1525.15 s
[opt-env-conf-test] Nothing -> goConfSets ne
1525.15 s
[opt-env-conf-test] goConfSets confSets
1525.15 s
[opt-env-conf-test] case mConf of
1525.15 s
[opt-env-conf-test] Found a -> do
1525.15 s
[opt-env-conf-test] markParsed
1525.15 s
[opt-env-conf-test] pure a
1525.15 s
[opt-env-conf-test] _ ->
1525.15 s
[opt-env-conf-test] case settingDefaultValue of
1525.15 s
[opt-env-conf-test] Just (a, _) -> do
1527.00 s
[opt-env-conf-test] debug ["set to default value"]
1527.00 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1527.00 s
[opt-env-conf-test] Nothing -> do
1527.00 s
[opt-env-conf-test] let parseResultError e res = case res of
1527.00 s
[opt-env-conf-test] NotRun -> Nothing
1527.00 s
[opt-env-conf-test] NotFound -> Just e
1527.00 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1527.00 s
[opt-env-conf-test] debug ["not found"]
1527.00 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1527.00 s
[opt-env-conf-test] NE.nonEmpty $
1527.00 s
[opt-env-conf-test] catMaybes
1527.00 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1527.00 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1527.00 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1527.00 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1527.00 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1527.00 s
[opt-env-conf-test] ]
1527.00 s
[opt-env-conf-test]
1527.00 s
[opt-env-conf-test] withCapabilities ::
1527.00 s
[opt-env-conf-test] Maybe SrcLoc ->
1527.00 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:443:53-59
1527.00 s
[opt-env-conf-test] @@ -440,7 +440,7 @@
1527.00 s
[opt-env-conf-test] Nothing -> do
1527.00 s
[opt-env-conf-test] let parseResultError e res = case res of
1527.00 s
[opt-env-conf-test] NotRun -> Nothing
1527.00 s
[opt-env-conf-test] - NotFound -> J u s t e
1527.00 s
[opt-env-conf-test] + NotFound -> No t h ing
1527.00 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1527.00 s
[opt-env-conf-test] debug ["not found"]
1527.00 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1527.01 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1527.01 s
[opt-env-conf-test] @@ -446,12 +446,11 @@
1527.01 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1527.01 s
[opt-env-conf-test] NE.nonEmpty $
1527.01 s
[opt-env-conf-test] catMaybes
1527.01 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1527.01 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1527.01 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1527.01 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1527.01 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1527.01 s
[opt-env-conf-test] ]
1527.01 s
[opt-env-conf-test]
1527.01 s
[opt-env-conf-test] withCapabilities ::
1527.01 s
[opt-env-conf-test] Maybe SrcLoc ->
1527.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
1527.01 s
[opt-env-conf-test] @@ -366,92 +366,89 @@
1527.01 s
[opt-env-conf-test] pure NotFound
1527.01 s
[opt-env-conf-test] Just a -> pure $ Found a
1527.01 s
[opt-env-conf-test]
1527.01 s
[opt-env-conf-test] case mEnv of
1527.01 s
[opt-env-conf-test] - Found a -> do
1527.01 s
[opt-env-conf-test] - markParsed
1527.01 s
[opt-env-conf-test] - pure a
1527.01 s
[opt-env-conf-test] _ -> do
1527.01 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1527.01 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1527.01 s
[opt-env-conf-test] Nothing -> pure NotRun
1527.01 s
[opt-env-conf-test] Just confSets -> do
1527.01 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1527.01 s
[opt-env-conf-test] case mObj of
1527.01 s
[opt-env-conf-test] Nothing -> do
1527.01 s
[opt-env-conf-test] debug ["no config object to set from"]
1527.01 s
[opt-env-conf-test] pure NotFound
1527.01 s
[opt-env-conf-test] Just obj -> do
1527.01 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1527.01 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1527.01 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1527.01 s
[opt-env-conf-test] Nothing -> do
1527.01 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1527.01 s
[opt-env-conf-test] Nothing -> pure Nothing
1527.01 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1527.01 s
[opt-env-conf-test] Just neRest -> do
1527.01 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1527.01 s
[opt-env-conf-test] case mO' of
1527.01 s
[opt-env-conf-test] Nothing -> pure Nothing
1527.01 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1527.01 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1527.01 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1527.01 s
[opt-env-conf-test] Right mV -> case mV of
1527.01 s
[opt-env-conf-test] Nothing -> do
1527.01 s
[opt-env-conf-test] debug
1527.01 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1527.01 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1527.01 s
[opt-env-conf-test] ]
1527.01 s
[opt-env-conf-test] pure Nothing
1527.01 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1527.01 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1527.01 s
[opt-env-conf-test] Right mA -> case mA of
1527.01 s
[opt-env-conf-test] Nothing -> do
1527.01 s
[opt-env-conf-test] debug
1527.01 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1527.01 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1527.02 s
[opt-env-conf-test] ]
1527.02 s
[opt-env-conf-test] pure Nothing
1527.02 s
[opt-env-conf-test] Just a -> do
1527.02 s
[opt-env-conf-test] debug
1527.02 s
[opt-env-conf-test] [ "set based on config value: ",
1527.02 s
[opt-env-conf-test] chunk $ T.pack $ show v
1527.02 s
[opt-env-conf-test] ]
1527.02 s
[opt-env-conf-test] pure $ Just a
1527.02 s
[opt-env-conf-test] let toRes = \case
1527.02 s
[opt-env-conf-test] Nothing -> NotFound
1527.02 s
[opt-env-conf-test] Just a -> Found a
1527.02 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1527.56 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1527.57 s
[opt-env-conf-test] Just ne -> do
1527.57 s
[opt-env-conf-test] res <- goConfSet confSet
1527.57 s
[opt-env-conf-test] case res of
1527.57 s
[opt-env-conf-test] Just a -> pure $ Found a
1527.57 s
[opt-env-conf-test] Nothing -> goConfSets ne
1527.57 s
[opt-env-conf-test] goConfSets confSets
1527.57 s
[opt-env-conf-test] case mConf of
1527.57 s
[opt-env-conf-test] Found a -> do
1527.57 s
[opt-env-conf-test] markParsed
1527.57 s
[opt-env-conf-test] pure a
1527.57 s
[opt-env-conf-test] _ ->
1527.57 s
[opt-env-conf-test] case settingDefaultValue of
1527.57 s
[opt-env-conf-test] Just (a, _) -> do
1527.57 s
[opt-env-conf-test] debug ["set to default value"]
1527.57 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1527.57 s
[opt-env-conf-test] Nothing -> do
1527.57 s
[opt-env-conf-test] let parseResultError e res = case res of
1527.57 s
[opt-env-conf-test] NotRun -> Nothing
1527.57 s
[opt-env-conf-test] NotFound -> Just e
1527.57 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1527.57 s
[opt-env-conf-test] debug ["not found"]
1527.58 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1527.58 s
[opt-env-conf-test] NE.nonEmpty $
1527.58 s
[opt-env-conf-test] catMaybes
1527.58 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1527.58 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1527.58 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1527.58 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1527.58 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1527.58 s
[opt-env-conf-test] ]
1527.58 s
[opt-env-conf-test]
1527.58 s
[opt-env-conf-test] withCapabilities ::
1527.58 s
[opt-env-conf-test] Maybe SrcLoc ->
1527.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1527.58 s
[opt-env-conf-test] @@ -227,10 +227,7 @@
1527.58 s
[opt-env-conf-test] internalParser p =
1527.58 s
[opt-env-conf-test] choice
1527.58 s
[opt-env-conf-test] [ setting
1527.58 s
[opt-env-conf-test] - [ switch ShowVersion,
1527.58 s
[opt-env-conf-test] - long "version",
1527.58 s
[opt-env-conf-test] - hidden
1527.58 s
[opt-env-conf-test] ],
1527.58 s
[opt-env-conf-test] setting
1527.58 s
[opt-env-conf-test] [ switch RenderMan,
1527.58 s
[opt-env-conf-test] long "render-man-page",
1527.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1527.58 s
[opt-env-conf-test] @@ -227,10 +227,9 @@
1527.58 s
[opt-env-conf-test] internalParser p =
1527.58 s
[opt-env-conf-test] choice
1527.58 s
[opt-env-conf-test] [ setting
1527.58 s
[opt-env-conf-test] [ switch ShowVersion,
1527.58 s
[opt-env-conf-test] long "version",
1527.58 s
[opt-env-conf-test] - hidden
1527.58 s
[opt-env-conf-test] ],
1527.58 s
[opt-env-conf-test] setting
1527.58 s
[opt-env-conf-test] [ switch RenderMan,
1527.58 s
[opt-env-conf-test] long "render-man-page",
1527.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1527.58 s
[opt-env-conf-test] @@ -232,11 +232,10 @@
1527.58 s
[opt-env-conf-test] hidden
1527.58 s
[opt-env-conf-test] ],
1527.58 s
[opt-env-conf-test] setting
1527.58 s
[opt-env-conf-test] [ switch RenderMan,
1527.58 s
[opt-env-conf-test] long "render-man-page",
1527.59 s
[opt-env-conf-test] hidden,
1527.59 s
[opt-env-conf-test] - help "Render a manpage"
1527.59 s
[opt-env-conf-test] ],
1527.59 s
[opt-env-conf-test] setting
1527.59 s
[opt-env-conf-test] [ switch RenderDocumentation,
1527.59 s
[opt-env-conf-test] long "render-reference-documentation",
1527.59 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1527.59 s
[opt-env-conf-test] @@ -238,11 +238,7 @@
1527.59 s
[opt-env-conf-test] help "Render a manpage"
1527.59 s
[opt-env-conf-test] ],
1527.59 s
[opt-env-conf-test] setting
1527.59 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1527.59 s
[opt-env-conf-test] - long "render-reference-documentation",
1527.59 s
[opt-env-conf-test] - hidden,
1527.59 s
[opt-env-conf-test] - help "Render reference documentation"
1527.59 s
[opt-env-conf-test] ],
1527.59 s
[opt-env-conf-test] setting
1527.59 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1527.59 s
[opt-env-conf-test] long "render-nix-options",
1527.59 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1527.59 s
[opt-env-conf-test] @@ -232,11 +232,7 @@
1527.59 s
[opt-env-conf-test] hidden
1527.59 s
[opt-env-conf-test] ],
1527.59 s
[opt-env-conf-test] setting
1527.59 s
[opt-env-conf-test] - [ switch RenderMan,
1527.59 s
[opt-env-conf-test] - long "render-man-page",
1527.59 s
[opt-env-conf-test] - hidden,
1527.59 s
[opt-env-conf-test] - help "Render a manpage"
1527.59 s
[opt-env-conf-test] ],
1527.59 s
[opt-env-conf-test] setting
1527.59 s
[opt-env-conf-test] [ switch RenderDocumentation,
1527.59 s
[opt-env-conf-test] long "render-reference-documentation",
1527.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
1527.59 s
[opt-env-conf-test] @@ -280,178 +280,10 @@
1527.59 s
[opt-env-conf-test] pure $ Found a
1527.59 s
[opt-env-conf-test] else pure NotRun
1527.59 s
[opt-env-conf-test]
1527.60 s
[opt-env-conf-test] case mArg of
1527.60 s
[opt-env-conf-test] Found a -> do
1527.60 s
[opt-env-conf-test] markParsed
1527.60 s
[opt-env-conf-test] pure a
1527.60 s
[opt-env-conf-test] - _ -> do
1527.60 s
[opt-env-conf-test] - mSwitch <- case settingSwitchValue of
1527.60 s
[opt-env-conf-test] - Nothing -> pure NotRun
1527.60 s
[opt-env-conf-test] - Just a -> do
1527.60 s
[opt-env-conf-test] - mS <- ppSwitch settingDasheds
1527.60 s
[opt-env-conf-test] - case mS of
1527.60 s
[opt-env-conf-test] - Nothing -> do
1527.60 s
[opt-env-conf-test] - debug
1527.60 s
[opt-env-conf-test] - [ "could not set based on switch, no switch: ",
1527.60 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1527.60 s
[opt-env-conf-test] - ]
1527.60 s
[opt-env-conf-test] - pure NotFound
1527.60 s
[opt-env-conf-test] - Just () -> cap $ do
1527.60 s
[opt-env-conf-test] - debug ["set based on switch."]
1527.60 s
[opt-env-conf-test] - pure $ Found a
1527.60 s
[opt-env-conf-test] -
1527.60 s
[opt-env-conf-test] - case mSwitch of
1527.60 s
[opt-env-conf-test] - Found a -> do
1527.60 s
[opt-env-conf-test] - markParsed
1527.60 s
[opt-env-conf-test] - pure a
1527.60 s
[opt-env-conf-test] - _ -> do
1527.60 s
[opt-env-conf-test] - mOpt <-
1527.60 s
[opt-env-conf-test] - if settingTryOption
1527.60 s
[opt-env-conf-test] - then do
1527.60 s
[opt-env-conf-test] - -- Require readers before finding the option so the parser
1527.60 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1527.60 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1527.60 s
[opt-env-conf-test] - mS <- ppOpt settingDasheds
1527.60 s
[opt-env-conf-test] - case mS of
1527.60 s
[opt-env-conf-test] - Nothing -> do
1527.60 s
[opt-env-conf-test] - debug
1527.60 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1527.60 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1527.60 s
[opt-env-conf-test] - ]
1527.60 s
[opt-env-conf-test] - pure NotFound
1527.60 s
[opt-env-conf-test] - Just optionStr -> cap $
1527.60 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1527.60 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1527.60 s
[opt-env-conf-test] - Right a -> do
1527.60 s
[opt-env-conf-test] - debug
1527.60 s
[opt-env-conf-test] - [ "set based on option: ",
1527.60 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1527.61 s
[opt-env-conf-test] - ]
1527.61 s
[opt-env-conf-test] - pure $ Found a
1527.61 s
[opt-env-conf-test] - else pure NotRun
1527.61 s
[opt-env-conf-test] -
1527.61 s
[opt-env-conf-test] - case mOpt of
1527.61 s
[opt-env-conf-test] - Found a -> do
1527.61 s
[opt-env-conf-test] - markParsed
1527.61 s
[opt-env-conf-test] - pure a
1527.61 s
[opt-env-conf-test] - _ -> do
1527.61 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1527.61 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1527.61 s
[opt-env-conf-test] - Nothing -> pure NotRun
1527.61 s
[opt-env-conf-test] - Just ne -> do
1527.61 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1527.61 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1527.61 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1527.61 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1527.61 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1527.61 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1527.61 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1527.61 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1527.61 s
[opt-env-conf-test] - -- result.
1527.61 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1527.61 s
[opt-env-conf-test] - case tryReaders rs varStr of
1527.61 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1527.61 s
[opt-env-conf-test] - Right a -> do
1527.61 s
[opt-env-conf-test] - debug
1527.61 s
[opt-env-conf-test] - [ "set based on env: ",
1527.61 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1527.61 s
[opt-env-conf-test] - ]
1527.61 s
[opt-env-conf-test] - pure a
1527.61 s
[opt-env-conf-test] - case listToMaybe results of
1527.61 s
[opt-env-conf-test] - Nothing -> do
1527.61 s
[opt-env-conf-test] - debug
1527.61 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1527.61 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1527.61 s
[opt-env-conf-test] - ]
1527.61 s
[opt-env-conf-test] - pure NotFound
1527.61 s
[opt-env-conf-test] - Just a -> pure $ Found a
1527.61 s
[opt-env-conf-test] -
1527.61 s
[opt-env-conf-test] - case mEnv of
1527.61 s
[opt-env-conf-test] - Found a -> do
1527.61 s
[opt-env-conf-test] - markParsed
1527.61 s
[opt-env-conf-test] - pure a
1527.61 s
[opt-env-conf-test] - _ -> do
1527.61 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1527.61 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1527.61 s
[opt-env-conf-test] - Nothing -> pure NotRun
1527.61 s
[opt-env-conf-test] - Just confSets -> do
1527.61 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1527.61 s
[opt-env-conf-test] - case mObj of
1527.61 s
[opt-env-conf-test] - Nothing -> do
1527.61 s
[opt-env-conf-test] - debug ["no config object to set from"]
1527.61 s
[opt-env-conf-test] - pure NotFound
1527.61 s
[opt-env-conf-test] - Just obj -> do
1527.61 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1527.61 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1527.61 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1527.61 s
[opt-env-conf-test] - Nothing -> do
1527.62 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1527.62 s
[opt-env-conf-test] - Nothing -> pure Nothing
1527.62 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1527.62 s
[opt-env-conf-test] - Just neRest -> do
1527.62 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1527.62 s
[opt-env-conf-test] - case mO' of
1527.62 s
[opt-env-conf-test] - Nothing -> pure Nothing
1527.62 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1527.62 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1527.62 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1527.62 s
[opt-env-conf-test] - Right mV -> case mV of
1527.62 s
[opt-env-conf-test] - Nothing -> do
1527.62 s
[opt-env-conf-test] - debug
1527.62 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1527.62 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1527.62 s
[opt-env-conf-test] - ]
1527.62 s
[opt-env-conf-test] - pure Nothing
1527.62 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1527.62 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1527.62 s
[opt-env-conf-test] - Right mA -> case mA of
1527.62 s
[opt-env-conf-test] - Nothing -> do
1527.62 s
[opt-env-conf-test] - debug
1527.62 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1527.62 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1527.62 s
[opt-env-conf-test] - ]
1527.62 s
[opt-env-conf-test] - pure Nothing
1527.62 s
[opt-env-conf-test] - Just a -> do
1527.62 s
[opt-env-conf-test] - debug
1527.62 s
[opt-env-conf-test] - [ "set based on config value: ",
1527.62 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1527.62 s
[opt-env-conf-test] - ]
1527.62 s
[opt-env-conf-test] - pure $ Just a
1527.62 s
[opt-env-conf-test] - let toRes = \case
1527.62 s
[opt-env-conf-test] - Nothing -> NotFound
1527.62 s
[opt-env-conf-test] - Just a -> Found a
1527.62 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1527.62 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1527.62 s
[opt-env-conf-test] - Just ne -> do
1527.62 s
[opt-env-conf-test] - res <- goConfSet confSet
1527.62 s
[opt-env-conf-test] - case res of
1527.62 s
[opt-env-conf-test] - Just a -> pure $ Found a
1527.62 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1527.62 s
[opt-env-conf-test] - goConfSets confSets
1527.62 s
[opt-env-conf-test] - case mConf of
1527.62 s
[opt-env-conf-test] - Found a -> do
1527.62 s
[opt-env-conf-test] - markParsed
1527.62 s
[opt-env-conf-test] - pure a
1527.62 s
[opt-env-conf-test] - _ ->
1527.62 s
[opt-env-conf-test] - case settingDefaultValue of
1527.62 s
[opt-env-conf-test] - Just (a, _) -> do
1527.62 s
[opt-env-conf-test] - debug ["set to default value"]
1527.63 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1527.65 s
[opt-env-conf-test] - Nothing -> do
1527.65 s
[opt-env-conf-test] - let parseResultError e res = case res of
1527.65 s
[opt-env-conf-test] - NotRun -> Nothing
1527.65 s
[opt-env-conf-test] - NotFound -> Just e
1527.65 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1527.65 s
[opt-env-conf-test] - debug ["not found"]
1527.65 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1527.65 s
[opt-env-conf-test] - NE.nonEmpty $
1527.65 s
[opt-env-conf-test] - catMaybes
1527.65 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1527.65 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1527.65 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1527.66 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1527.66 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1527.66 s
[opt-env-conf-test] - ]
1527.66 s
[opt-env-conf-test]
1527.66 s
[opt-env-conf-test] withCapabilities ::
1527.66 s
[opt-env-conf-test] Maybe SrcLoc ->
1527.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1527.66 s
[opt-env-conf-test] @@ -244,11 +244,7 @@
1527.66 s
[opt-env-conf-test] help "Render reference documentation"
1527.66 s
[opt-env-conf-test] ],
1527.66 s
[opt-env-conf-test] setting
1527.66 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1527.66 s
[opt-env-conf-test] - long "render-nix-options",
1527.66 s
[opt-env-conf-test] - hidden,
1527.66 s
[opt-env-conf-test] - help "Render Nix options"
1527.66 s
[opt-env-conf-test] ],
1527.66 s
[opt-env-conf-test] BashCompletionScript
1527.66 s
[opt-env-conf-test] <$> setting
1527.66 s
[opt-env-conf-test] [ option,
1527.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1527.66 s
[opt-env-conf-test] @@ -238,11 +238,10 @@
1527.66 s
[opt-env-conf-test] help "Render a manpage"
1527.66 s
[opt-env-conf-test] ],
1527.66 s
[opt-env-conf-test] setting
1527.66 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1527.66 s
[opt-env-conf-test] long "render-reference-documentation",
1527.66 s
[opt-env-conf-test] hidden,
1527.66 s
[opt-env-conf-test] help "Render reference documentation"
1527.66 s
[opt-env-conf-test] ],
1527.66 s
[opt-env-conf-test] setting
1527.66 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1527.66 s
[opt-env-conf-test] long "render-nix-options",
1527.66 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
1527.66 s
[opt-env-conf-test] @@ -227,10 +227,9 @@
1527.66 s
[opt-env-conf-test] internalParser p =
1527.66 s
[opt-env-conf-test] choice
1527.66 s
[opt-env-conf-test] [ setting
1527.66 s
[opt-env-conf-test] - [ switch ShowVersion,
1527.66 s
[opt-env-conf-test] long "version",
1527.66 s
[opt-env-conf-test] hidden
1527.67 s
[opt-env-conf-test] ],
1527.67 s
[opt-env-conf-test] setting
1527.67 s
[opt-env-conf-test] [ switch RenderMan,
1527.67 s
[opt-env-conf-test] long "render-man-page",
1527.67 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
1527.67 s
[opt-env-conf-test] @@ -232,11 +232,10 @@
1527.67 s
[opt-env-conf-test] hidden
1527.67 s
[opt-env-conf-test] ],
1527.67 s
[opt-env-conf-test] setting
1527.67 s
[opt-env-conf-test] - [ switch RenderMan,
1527.67 s
[opt-env-conf-test] long "render-man-page",
1527.67 s
[opt-env-conf-test] hidden,
1527.67 s
[opt-env-conf-test] help "Render a manpage"
1527.67 s
[opt-env-conf-test] ],
1527.67 s
[opt-env-conf-test] setting
1527.67 s
[opt-env-conf-test] [ switch RenderDocumentation,
1527.67 s
[opt-env-conf-test] long "render-reference-documentation",
1527.67 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
1527.67 s
[opt-env-conf-test] @@ -238,11 +238,10 @@
1527.67 s
[opt-env-conf-test] help "Render a manpage"
1527.67 s
[opt-env-conf-test] ],
1527.67 s
[opt-env-conf-test] setting
1527.67 s
[opt-env-conf-test] [ switch RenderDocumentation,
1527.67 s
[opt-env-conf-test] long "render-reference-documentation",
1527.67 s
[opt-env-conf-test] hidden,
1527.67 s
[opt-env-conf-test] - help "Render reference documentation"
1527.67 s
[opt-env-conf-test] ],
1527.67 s
[opt-env-conf-test] setting
1527.67 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1527.68 s
[opt-env-conf-test] long "render-nix-options",
1527.68 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1527.68 s
[opt-env-conf-test] @@ -244,11 +244,10 @@
1527.68 s
[opt-env-conf-test] help "Render reference documentation"
1527.68 s
[opt-env-conf-test] ],
1527.68 s
[opt-env-conf-test] setting
1527.68 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1527.68 s
[opt-env-conf-test] long "render-nix-options",
1527.68 s
[opt-env-conf-test] hidden,
1527.68 s
[opt-env-conf-test] - help "Render Nix options"
1527.68 s
[opt-env-conf-test] ],
1527.68 s
[opt-env-conf-test] BashCompletionScript
1527.68 s
[opt-env-conf-test] <$> setting
1527.68 s
[opt-env-conf-test] [ option,
1527.68 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
1527.68 s
[opt-env-conf-test] @@ -244,11 +244,10 @@
1527.68 s
[opt-env-conf-test] help "Render reference documentation"
1527.68 s
[opt-env-conf-test] ],
1527.68 s
[opt-env-conf-test] setting
1527.68 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1527.68 s
[opt-env-conf-test] long "render-nix-options",
1527.68 s
[opt-env-conf-test] hidden,
1527.68 s
[opt-env-conf-test] help "Render Nix options"
1527.68 s
[opt-env-conf-test] ],
1527.68 s
[opt-env-conf-test] BashCompletionScript
1527.68 s
[opt-env-conf-test] <$> setting
1527.68 s
[opt-env-conf-test] [ option,
1527.68 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1527.68 s
[opt-env-conf-test] @@ -251,12 +251,11 @@
1527.68 s
[opt-env-conf-test] ],
1527.68 s
[opt-env-conf-test] BashCompletionScript
1527.68 s
[opt-env-conf-test] <$> setting
1527.68 s
[opt-env-conf-test] - [ option,
1527.68 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1527.68 s
[opt-env-conf-test] long "bash-completion-script",
1527.68 s
[opt-env-conf-test] hidden,
1527.68 s
[opt-env-conf-test] help "Render the bash completion script"
1527.68 s
[opt-env-conf-test] ],
1527.68 s
[opt-env-conf-test] ZshCompletionScript
1527.68 s
[opt-env-conf-test] <$> setting
1527.68 s
[opt-env-conf-test] [ option,
1527.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1527.69 s
[opt-env-conf-test] @@ -251,12 +251,11 @@
1527.69 s
[opt-env-conf-test] ],
1527.69 s
[opt-env-conf-test] BashCompletionScript
1527.69 s
[opt-env-conf-test] <$> setting
1527.69 s
[opt-env-conf-test] [ option,
1527.69 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1527.69 s
[opt-env-conf-test] long "bash-completion-script",
1527.69 s
[opt-env-conf-test] hidden,
1527.69 s
[opt-env-conf-test] - help "Render the bash completion script"
1527.69 s
[opt-env-conf-test] ],
1527.69 s
[opt-env-conf-test] ZshCompletionScript
1527.69 s
[opt-env-conf-test] <$> setting
1527.69 s
[opt-env-conf-test] [ option,
1527.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1527.69 s
[opt-env-conf-test] @@ -259,12 +259,11 @@
1527.69 s
[opt-env-conf-test] ],
1527.69 s
[opt-env-conf-test] ZshCompletionScript
1527.69 s
[opt-env-conf-test] <$> setting
1527.69 s
[opt-env-conf-test] - [ option,
1527.69 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1527.69 s
[opt-env-conf-test] long "zsh-completion-script",
1527.69 s
[opt-env-conf-test] hidden,
1527.69 s
[opt-env-conf-test] help "Render the zsh completion script"
1527.69 s
[opt-env-conf-test] ],
1527.69 s
[opt-env-conf-test] ZshCompletionScript
1527.69 s
[opt-env-conf-test] <$> setting
1527.69 s
[opt-env-conf-test] [ option,
1527.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1527.69 s
[opt-env-conf-test] @@ -259,12 +259,11 @@
1527.69 s
[opt-env-conf-test] ],
1527.69 s
[opt-env-conf-test] ZshCompletionScript
1527.69 s
[opt-env-conf-test] <$> setting
1527.69 s
[opt-env-conf-test] [ option,
1527.69 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1527.69 s
[opt-env-conf-test] long "zsh-completion-script",
1527.69 s
[opt-env-conf-test] hidden,
1527.69 s
[opt-env-conf-test] - help "Render the zsh completion script"
1527.69 s
[opt-env-conf-test] ],
1527.69 s
[opt-env-conf-test] ZshCompletionScript
1527.69 s
[opt-env-conf-test] <$> setting
1527.69 s
[opt-env-conf-test] [ option,
1527.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1527.69 s
[opt-env-conf-test] @@ -267,12 +267,7 @@
1527.69 s
[opt-env-conf-test] ],
1527.69 s
[opt-env-conf-test] ZshCompletionScript
1527.69 s
[opt-env-conf-test] <$> setting
1527.69 s
[opt-env-conf-test] - [ option,
1527.69 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1527.69 s
[opt-env-conf-test] - long "fish-completion-script",
1527.69 s
[opt-env-conf-test] - hidden,
1527.69 s
[opt-env-conf-test] - help "Render the fish completion script"
1527.70 s
[opt-env-conf-test] ],
1527.70 s
[opt-env-conf-test] setting
1527.70 s
[opt-env-conf-test] [ help "Query completion",
1527.70 s
[opt-env-conf-test] switch CompletionQuery,
1527.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1527.70 s
[opt-env-conf-test] @@ -267,12 +267,11 @@
1527.70 s
[opt-env-conf-test] ],
1527.70 s
[opt-env-conf-test] ZshCompletionScript
1527.70 s
[opt-env-conf-test] <$> setting
1527.70 s
[opt-env-conf-test] - [ option,
1527.70 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1527.70 s
[opt-env-conf-test] long "fish-completion-script",
1527.70 s
[opt-env-conf-test] hidden,
1527.70 s
[opt-env-conf-test] help "Render the fish completion script"
1527.70 s
[opt-env-conf-test] ],
1527.70 s
[opt-env-conf-test] setting
1527.70 s
[opt-env-conf-test] [ help "Query completion",
1527.70 s
[opt-env-conf-test] switch CompletionQuery,
1527.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
1527.70 s
[opt-env-conf-test] @@ -267,12 +267,11 @@
1527.70 s
[opt-env-conf-test] ],
1527.70 s
[opt-env-conf-test] ZshCompletionScript
1527.70 s
[opt-env-conf-test] <$> setting
1527.70 s
[opt-env-conf-test] [ option,
1527.70 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1527.70 s
[opt-env-conf-test] long "fish-completion-script",
1527.70 s
[opt-env-conf-test] hidden,
1527.70 s
[opt-env-conf-test] - help "Render the fish completion script"
1527.70 s
[opt-env-conf-test] ],
1527.70 s
[opt-env-conf-test] setting
1527.70 s
[opt-env-conf-test] [ help "Query completion",
1527.70 s
[opt-env-conf-test] switch CompletionQuery,
1527.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1527.70 s
[opt-env-conf-test] @@ -274,12 +274,8 @@
1527.70 s
[opt-env-conf-test] help "Render the fish completion script"
1527.70 s
[opt-env-conf-test] ],
1527.70 s
[opt-env-conf-test] setting
1527.70 s
[opt-env-conf-test] - [ help "Query completion",
1527.70 s
[opt-env-conf-test] - switch CompletionQuery,
1527.70 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1527.70 s
[opt-env-conf-test] - long "query-opt-env-conf-completion",
1527.70 s
[opt-env-conf-test] - hidden
1527.70 s
[opt-env-conf-test] ]
1527.70 s
[opt-env-conf-test] <*> setting
1527.70 s
[opt-env-conf-test] [ switch True,
1527.70 s
[opt-env-conf-test] long "completion-enriched",
1527.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1527.70 s
[opt-env-conf-test] @@ -274,12 +274,11 @@
1527.70 s
[opt-env-conf-test] help "Render the fish completion script"
1527.70 s
[opt-env-conf-test] ],
1527.70 s
[opt-env-conf-test] setting
1527.70 s
[opt-env-conf-test] - [ help "Query completion",
1527.70 s
[opt-env-conf-test] switch CompletionQuery,
1527.70 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1527.70 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1527.70 s
[opt-env-conf-test] hidden
1527.70 s
[opt-env-conf-test] ]
1527.70 s
[opt-env-conf-test] <*> setting
1527.70 s
[opt-env-conf-test] [ switch True,
1527.70 s
[opt-env-conf-test] long "completion-enriched",
1527.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1527.70 s
[opt-env-conf-test] @@ -274,12 +274,11 @@
1527.70 s
[opt-env-conf-test] help "Render the fish completion script"
1527.70 s
[opt-env-conf-test] ],
1527.70 s
[opt-env-conf-test] setting
1527.70 s
[opt-env-conf-test] [ help "Query completion",
1527.70 s
[opt-env-conf-test] switch CompletionQuery,
1527.70 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1527.70 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1527.70 s
[opt-env-conf-test] - hidden
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] <*> setting
1527.71 s
[opt-env-conf-test] [ switch True,
1527.71 s
[opt-env-conf-test] long "completion-enriched",
1527.71 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:284:20-24
1527.71 s
[opt-env-conf-test] @@ -281,7 +281,7 @@
1527.71 s
[opt-env-conf-test] hidden
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] <*> setting
1527.71 s
[opt-env-conf-test] - [ switch Tr u e,
1527.71 s
[opt-env-conf-test] + [ switch F a ls e,
1527.71 s
[opt-env-conf-test] long "completion-enriched",
1527.71 s
[opt-env-conf-test] value False,
1527.71 s
[opt-env-conf-test] hidden,
1527.71 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:286:19-24
1527.71 s
[opt-env-conf-test] @@ -283,7 +283,7 @@
1527.71 s
[opt-env-conf-test] <*> setting
1527.71 s
[opt-env-conf-test] [ switch True,
1527.71 s
[opt-env-conf-test] long "completion-enriched",
1527.71 s
[opt-env-conf-test] - value F al s e,
1527.71 s
[opt-env-conf-test] + value T ru e,
1527.71 s
[opt-env-conf-test] hidden,
1527.71 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1527.71 s
[opt-env-conf-test] @@ -281,12 +281,11 @@
1527.71 s
[opt-env-conf-test] hidden
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] <*> setting
1527.71 s
[opt-env-conf-test] [ switch True,
1527.71 s
[opt-env-conf-test] long "completion-enriched",
1527.71 s
[opt-env-conf-test] value False,
1527.71 s
[opt-env-conf-test] hidden,
1527.71 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] <*> setting
1527.71 s
[opt-env-conf-test] [ option,
1527.71 s
[opt-env-conf-test] reader auto,
1527.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1527.71 s
[opt-env-conf-test] @@ -288,12 +288,7 @@
1527.71 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] <*> setting
1527.71 s
[opt-env-conf-test] - [ option,
1527.71 s
[opt-env-conf-test] - reader auto,
1527.71 s
[opt-env-conf-test] - long "completion-index",
1527.71 s
[opt-env-conf-test] - hidden,
1527.71 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] <*> many
1527.71 s
[opt-env-conf-test] ( setting
1527.71 s
[opt-env-conf-test] [ option,
1527.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1527.71 s
[opt-env-conf-test] @@ -288,12 +288,11 @@
1527.71 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] <*> setting
1527.71 s
[opt-env-conf-test] - [ option,
1527.71 s
[opt-env-conf-test] reader auto,
1527.71 s
[opt-env-conf-test] long "completion-index",
1527.71 s
[opt-env-conf-test] hidden,
1527.71 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] <*> many
1527.71 s
[opt-env-conf-test] ( setting
1527.71 s
[opt-env-conf-test] [ option,
1527.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1527.71 s
[opt-env-conf-test] @@ -281,12 +281,7 @@
1527.71 s
[opt-env-conf-test] hidden
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] <*> setting
1527.71 s
[opt-env-conf-test] - [ switch True,
1527.71 s
[opt-env-conf-test] - long "completion-enriched",
1527.71 s
[opt-env-conf-test] - value False,
1527.71 s
[opt-env-conf-test] - hidden,
1527.71 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] <*> setting
1527.71 s
[opt-env-conf-test] [ option,
1527.71 s
[opt-env-conf-test] reader auto,
1527.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1527.71 s
[opt-env-conf-test] @@ -281,12 +281,11 @@
1527.71 s
[opt-env-conf-test] hidden
1527.71 s
[opt-env-conf-test] ]
1527.71 s
[opt-env-conf-test] <*> setting
1527.71 s
[opt-env-conf-test] - [ switch True,
1527.71 s
[opt-env-conf-test] long "completion-enriched",
1527.71 s
[opt-env-conf-test] value False,
1527.71 s
[opt-env-conf-test] hidden,
1527.71 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1527.71 s
[opt-env-conf-test] ]
1527.72 s
[opt-env-conf-test] <*> setting
1527.72 s
[opt-env-conf-test] [ option,
1527.72 s
[opt-env-conf-test] reader auto,
1527.72 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1527.72 s
[opt-env-conf-test] @@ -226,82 +226,81 @@
1527.72 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1527.72 s
[opt-env-conf-test] internalParser p =
1527.72 s
[opt-env-conf-test] choice
1527.72 s
[opt-env-conf-test] [ setting
1527.72 s
[opt-env-conf-test] [ switch ShowVersion,
1527.72 s
[opt-env-conf-test] long "version",
1527.72 s
[opt-env-conf-test] hidden
1527.72 s
[opt-env-conf-test] ],
1527.72 s
[opt-env-conf-test] setting
1527.72 s
[opt-env-conf-test] [ switch RenderMan,
1527.72 s
[opt-env-conf-test] long "render-man-page",
1527.72 s
[opt-env-conf-test] hidden,
1527.72 s
[opt-env-conf-test] help "Render a manpage"
1527.72 s
[opt-env-conf-test] ],
1527.72 s
[opt-env-conf-test] setting
1527.72 s
[opt-env-conf-test] [ switch RenderDocumentation,
1527.72 s
[opt-env-conf-test] long "render-reference-documentation",
1527.72 s
[opt-env-conf-test] hidden,
1527.72 s
[opt-env-conf-test] help "Render reference documentation"
1527.72 s
[opt-env-conf-test] ],
1527.72 s
[opt-env-conf-test] setting
1527.72 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1527.72 s
[opt-env-conf-test] long "render-nix-options",
1527.72 s
[opt-env-conf-test] hidden,
1527.72 s
[opt-env-conf-test] help "Render Nix options"
1527.72 s
[opt-env-conf-test] ],
1527.72 s
[opt-env-conf-test] BashCompletionScript
1527.72 s
[opt-env-conf-test] <$> setting
1527.72 s
[opt-env-conf-test] [ option,
1527.72 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1527.72 s
[opt-env-conf-test] long "bash-completion-script",
1527.72 s
[opt-env-conf-test] hidden,
1527.72 s
[opt-env-conf-test] help "Render the bash completion script"
1527.72 s
[opt-env-conf-test] ],
1527.72 s
[opt-env-conf-test] ZshCompletionScript
1527.72 s
[opt-env-conf-test] <$> setting
1527.72 s
[opt-env-conf-test] [ option,
1527.72 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1527.72 s
[opt-env-conf-test] long "zsh-completion-script",
1527.72 s
[opt-env-conf-test] hidden,
1527.72 s
[opt-env-conf-test] help "Render the zsh completion script"
1527.72 s
[opt-env-conf-test] ],
1527.72 s
[opt-env-conf-test] ZshCompletionScript
1527.72 s
[opt-env-conf-test] <$> setting
1527.72 s
[opt-env-conf-test] [ option,
1527.72 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1527.72 s
[opt-env-conf-test] long "fish-completion-script",
1527.72 s
[opt-env-conf-test] hidden,
1527.72 s
[opt-env-conf-test] help "Render the fish completion script"
1527.72 s
[opt-env-conf-test] ],
1527.72 s
[opt-env-conf-test] setting
1527.72 s
[opt-env-conf-test] [ help "Query completion",
1527.72 s
[opt-env-conf-test] switch CompletionQuery,
1527.72 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1527.72 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1527.72 s
[opt-env-conf-test] hidden
1527.72 s
[opt-env-conf-test] ]
1527.72 s
[opt-env-conf-test] <*> setting
1527.72 s
[opt-env-conf-test] [ switch True,
1527.72 s
[opt-env-conf-test] long "completion-enriched",
1527.72 s
[opt-env-conf-test] value False,
1527.72 s
[opt-env-conf-test] hidden,
1527.72 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1527.72 s
[opt-env-conf-test] ]
1527.72 s
[opt-env-conf-test] <*> setting
1527.72 s
[opt-env-conf-test] [ option,
1527.72 s
[opt-env-conf-test] reader auto,
1528.74 s
[opt-env-conf-test] long "completion-index",
1528.74 s
[opt-env-conf-test] hidden,
1528.74 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1528.75 s
[opt-env-conf-test] ]
1528.75 s
[opt-env-conf-test] <*> many
1528.75 s
[opt-env-conf-test] ( setting
1528.75 s
[opt-env-conf-test] [ option,
1528.75 s
[opt-env-conf-test] reader str,
1528.75 s
[opt-env-conf-test] long "completion-word",
1528.75 s
[opt-env-conf-test] hidden,
1528.75 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1528.75 s
[opt-env-conf-test] ]
1528.75 s
[opt-env-conf-test] ),
1528.75 s
[opt-env-conf-test] - ParsedNormally <$> p
1528.75 s
[opt-env-conf-test] ]
1528.75 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1528.75 s
[opt-env-conf-test] @@ -226,82 +226,4 @@
1528.75 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1528.75 s
[opt-env-conf-test] internalParser p =
1528.75 s
[opt-env-conf-test] choice
1528.75 s
[opt-env-conf-test] - [ setting
1528.75 s
[opt-env-conf-test] - [ switch ShowVersion,
1528.75 s
[opt-env-conf-test] - long "version",
1528.75 s
[opt-env-conf-test] - hidden
1528.75 s
[opt-env-conf-test] - ],
1528.75 s
[opt-env-conf-test] - setting
1528.75 s
[opt-env-conf-test] - [ switch RenderMan,
1528.75 s
[opt-env-conf-test] - long "render-man-page",
1528.75 s
[opt-env-conf-test] - hidden,
1528.75 s
[opt-env-conf-test] - help "Render a manpage"
1528.75 s
[opt-env-conf-test] - ],
1528.75 s
[opt-env-conf-test] - setting
1528.75 s
[opt-env-conf-test] - [ switch RenderDocumentation,
1528.75 s
[opt-env-conf-test] - long "render-reference-documentation",
1528.75 s
[opt-env-conf-test] - hidden,
1528.75 s
[opt-env-conf-test] - help "Render reference documentation"
1528.75 s
[opt-env-conf-test] - ],
1528.75 s
[opt-env-conf-test] - setting
1528.75 s
[opt-env-conf-test] - [ switch RenderNixosOptions,
1528.75 s
[opt-env-conf-test] - long "render-nix-options",
1528.75 s
[opt-env-conf-test] - hidden,
1528.75 s
[opt-env-conf-test] - help "Render Nix options"
1528.75 s
[opt-env-conf-test] - ],
1528.75 s
[opt-env-conf-test] - BashCompletionScript
1528.75 s
[opt-env-conf-test] - <$> setting
1528.75 s
[opt-env-conf-test] - [ option,
1528.75 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1528.75 s
[opt-env-conf-test] - long "bash-completion-script",
1528.75 s
[opt-env-conf-test] - hidden,
1528.75 s
[opt-env-conf-test] - help "Render the bash completion script"
1528.75 s
[opt-env-conf-test] - ],
1528.75 s
[opt-env-conf-test] - ZshCompletionScript
1528.75 s
[opt-env-conf-test] - <$> setting
1528.75 s
[opt-env-conf-test] - [ option,
1528.75 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1528.75 s
[opt-env-conf-test] - long "zsh-completion-script",
1528.75 s
[opt-env-conf-test] - hidden,
1528.76 s
[opt-env-conf-test] - help "Render the zsh completion script"
1528.76 s
[opt-env-conf-test] - ],
1528.76 s
[opt-env-conf-test] - ZshCompletionScript
1528.76 s
[opt-env-conf-test] - <$> setting
1528.76 s
[opt-env-conf-test] - [ option,
1528.76 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1528.76 s
[opt-env-conf-test] - long "fish-completion-script",
1528.76 s
[opt-env-conf-test] - hidden,
1528.76 s
[opt-env-conf-test] - help "Render the fish completion script"
1528.76 s
[opt-env-conf-test] - ],
1528.76 s
[opt-env-conf-test] - setting
1528.76 s
[opt-env-conf-test] - [ help "Query completion",
1528.76 s
[opt-env-conf-test] - switch CompletionQuery,
1529.29 s
[opt-env-conf-test] - -- Long string that no normal user would ever use.
1529.44 s
[opt-env-conf-test] - long "query-opt-env-conf-completion",
1529.44 s
[opt-env-conf-test] - hidden
1529.44 s
[opt-env-conf-test] - ]
1529.45 s
[opt-env-conf-test] - <*> setting
1529.45 s
[opt-env-conf-test] - [ switch True,
1529.45 s
[opt-env-conf-test] - long "completion-enriched",
1529.45 s
[opt-env-conf-test] - value False,
1529.45 s
[opt-env-conf-test] - hidden,
1529.45 s
[opt-env-conf-test] - help "Whether to enable enriched completion"
1529.45 s
[opt-env-conf-test] - ]
1529.45 s
[opt-env-conf-test] - <*> setting
1529.45 s
[opt-env-conf-test] - [ option,
1529.45 s
[opt-env-conf-test] - reader auto,
1529.45 s
[opt-env-conf-test] - long "completion-index",
1529.45 s
[opt-env-conf-test] - hidden,
1529.45 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1529.45 s
[opt-env-conf-test] - ]
1529.45 s
[opt-env-conf-test] - <*> many
1529.45 s
[opt-env-conf-test] - ( setting
1529.45 s
[opt-env-conf-test] - [ option,
1529.45 s
[opt-env-conf-test] - reader str,
1529.45 s
[opt-env-conf-test] - long "completion-word",
1529.45 s
[opt-env-conf-test] - hidden,
1529.45 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1529.45 s
[opt-env-conf-test] - ]
1529.45 s
[opt-env-conf-test] - ),
1529.45 s
[opt-env-conf-test] - ParsedNormally <$> p
1529.45 s
[opt-env-conf-test] ]
1529.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
1529.45 s
[opt-env-conf-test] @@ -226,82 +226,77 @@
1529.46 s
[opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
1529.46 s
[opt-env-conf-test] internalParser p =
1529.46 s
[opt-env-conf-test] choice
1529.46 s
[opt-env-conf-test] - [ setting
1529.46 s
[opt-env-conf-test] - [ switch ShowVersion,
1529.46 s
[opt-env-conf-test] - long "version",
1529.46 s
[opt-env-conf-test] - hidden
1529.46 s
[opt-env-conf-test] - ],
1529.46 s
[opt-env-conf-test] setting
1529.46 s
[opt-env-conf-test] [ switch RenderMan,
1529.46 s
[opt-env-conf-test] long "render-man-page",
1529.46 s
[opt-env-conf-test] hidden,
1529.46 s
[opt-env-conf-test] help "Render a manpage"
1529.46 s
[opt-env-conf-test] ],
1529.46 s
[opt-env-conf-test] setting
1529.46 s
[opt-env-conf-test] [ switch RenderDocumentation,
1529.46 s
[opt-env-conf-test] long "render-reference-documentation",
1529.46 s
[opt-env-conf-test] hidden,
1529.46 s
[opt-env-conf-test] help "Render reference documentation"
1529.46 s
[opt-env-conf-test] ],
1529.46 s
[opt-env-conf-test] setting
1529.46 s
[opt-env-conf-test] [ switch RenderNixosOptions,
1529.46 s
[opt-env-conf-test] long "render-nix-options",
1529.46 s
[opt-env-conf-test] hidden,
1529.46 s
[opt-env-conf-test] help "Render Nix options"
1529.46 s
[opt-env-conf-test] ],
1529.46 s
[opt-env-conf-test] BashCompletionScript
1529.46 s
[opt-env-conf-test] <$> setting
1529.46 s
[opt-env-conf-test] [ option,
1529.46 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1529.46 s
[opt-env-conf-test] long "bash-completion-script",
1529.46 s
[opt-env-conf-test] hidden,
1529.46 s
[opt-env-conf-test] help "Render the bash completion script"
1529.46 s
[opt-env-conf-test] ],
1529.46 s
[opt-env-conf-test] ZshCompletionScript
1529.47 s
[opt-env-conf-test] <$> setting
1529.47 s
[opt-env-conf-test] [ option,
1529.47 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1529.47 s
[opt-env-conf-test] long "zsh-completion-script",
1529.47 s
[opt-env-conf-test] hidden,
1529.47 s
[opt-env-conf-test] help "Render the zsh completion script"
1529.47 s
[opt-env-conf-test] ],
1529.47 s
[opt-env-conf-test] ZshCompletionScript
1529.47 s
[opt-env-conf-test] <$> setting
1529.47 s
[opt-env-conf-test] [ option,
1529.47 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1529.47 s
[opt-env-conf-test] long "fish-completion-script",
1529.47 s
[opt-env-conf-test] hidden,
1529.47 s
[opt-env-conf-test] help "Render the fish completion script"
1529.47 s
[opt-env-conf-test] ],
1529.47 s
[opt-env-conf-test] setting
1529.47 s
[opt-env-conf-test] [ help "Query completion",
1529.47 s
[opt-env-conf-test] switch CompletionQuery,
1529.47 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1529.47 s
[opt-env-conf-test] long "query-opt-env-conf-completion",
1529.47 s
[opt-env-conf-test] hidden
1529.47 s
[opt-env-conf-test] ]
1529.47 s
[opt-env-conf-test] <*> setting
1529.47 s
[opt-env-conf-test] [ switch True,
1529.47 s
[opt-env-conf-test] long "completion-enriched",
1529.47 s
[opt-env-conf-test] value False,
1529.47 s
[opt-env-conf-test] hidden,
1529.47 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1529.47 s
[opt-env-conf-test] ]
1529.47 s
[opt-env-conf-test] <*> setting
1529.47 s
[opt-env-conf-test] [ option,
1533.13 s
[opt-env-conf-test] reader auto,
1533.13 s
[opt-env-conf-test] long "completion-index",
1533.13 s
[opt-env-conf-test] hidden,
1533.13 s
[opt-env-conf-test] help "The index between the arguments where completion was invoked."
1533.13 s
[opt-env-conf-test] ]
1533.13 s
[opt-env-conf-test] <*> many
1533.13 s
[opt-env-conf-test] ( setting
1533.13 s
[opt-env-conf-test] [ option,
1533.13 s
[opt-env-conf-test] reader str,
1533.13 s
[opt-env-conf-test] long "completion-word",
1533.13 s
[opt-env-conf-test] hidden,
1533.13 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1533.13 s
[opt-env-conf-test] ]
1533.13 s
[opt-env-conf-test] ),
1533.13 s
[opt-env-conf-test] ParsedNormally <$> p
1533.13 s
[opt-env-conf-test] ]
1533.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1533.13 s
[opt-env-conf-test] @@ -296,12 +296,7 @@
1533.13 s
[opt-env-conf-test] ]
1533.13 s
[opt-env-conf-test] <*> many
1533.13 s
[opt-env-conf-test] ( setting
1533.13 s
[opt-env-conf-test] - [ option,
1533.13 s
[opt-env-conf-test] - reader str,
1533.13 s
[opt-env-conf-test] - long "completion-word",
1533.13 s
[opt-env-conf-test] - hidden,
1533.13 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1533.13 s
[opt-env-conf-test] ]
1533.13 s
[opt-env-conf-test] ),
1533.14 s
[opt-env-conf-test] ParsedNormally <$> p
1533.14 s
[opt-env-conf-test] ]
1533.14 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
1533.14 s
[opt-env-conf-test] @@ -198,11 +198,10 @@
1533.14 s
[opt-env-conf-test] let t = T.pack x
1533.14 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1533.14 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1533.14 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1533.14 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
1533.14 s
[opt-env-conf-test] Nothing ->
1533.14 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1533.14 s
[opt-env-conf-test] in (finalCaps, x : rest)
1533.14 s
[opt-env-conf-test]
1533.14 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1533.14 s
[opt-env-conf-test] -- is supposed to.
1533.14 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
1533.14 s
[opt-env-conf-test] @@ -198,11 +198,8 @@
1533.14 s
[opt-env-conf-test] let t = T.pack x
1533.14 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1533.14 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1533.14 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1533.14 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
1533.14 s
[opt-env-conf-test] - Nothing ->
1533.14 s
[opt-env-conf-test] - let (finalCaps, rest) = go caps xs
1533.14 s
[opt-env-conf-test] - in (finalCaps, x : rest)
1533.14 s
[opt-env-conf-test]
1533.14 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1533.14 s
[opt-env-conf-test] -- is supposed to.
1533.14 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
1533.14 s
[opt-env-conf-test] @@ -196,13 +196,12 @@
1533.14 s
[opt-env-conf-test] [] -> (caps, [])
1533.14 s
[opt-env-conf-test] (x : xs) ->
1533.14 s
[opt-env-conf-test] let t = T.pack x
1533.14 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1533.14 s
[opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
1533.14 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1533.14 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
1533.14 s
[opt-env-conf-test] Nothing ->
1533.14 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1533.14 s
[opt-env-conf-test] in (finalCaps, x : rest)
1533.14 s
[opt-env-conf-test]
1533.14 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1533.14 s
[opt-env-conf-test] -- is supposed to.
1533.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1533.14 s
[opt-env-conf-test] @@ -296,12 +296,11 @@
1533.14 s
[opt-env-conf-test] ]
1533.15 s
[opt-env-conf-test] <*> many
1533.15 s
[opt-env-conf-test] ( setting
1533.15 s
[opt-env-conf-test] [ option,
1533.15 s
[opt-env-conf-test] reader str,
1533.15 s
[opt-env-conf-test] long "completion-word",
1533.15 s
[opt-env-conf-test] hidden,
1533.15 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1533.15 s
[opt-env-conf-test] ]
1533.15 s
[opt-env-conf-test] ),
1533.15 s
[opt-env-conf-test] ParsedNormally <$> p
1533.15 s
[opt-env-conf-test] ]
1533.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
1533.15 s
[opt-env-conf-test] @@ -196,13 +196,8 @@
1533.15 s
[opt-env-conf-test] [] -> (caps, [])
1533.15 s
[opt-env-conf-test] (x : xs) ->
1533.15 s
[opt-env-conf-test] let t = T.pack x
1533.15 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1533.15 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1533.15 s
[opt-env-conf-test] - Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1533.15 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
1533.15 s
[opt-env-conf-test] - Nothing ->
1533.15 s
[opt-env-conf-test] - let (finalCaps, rest) = go caps xs
1533.15 s
[opt-env-conf-test] - in (finalCaps, x : rest)
1533.15 s
[opt-env-conf-test]
1533.15 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1533.15 s
[opt-env-conf-test] -- is supposed to.
1533.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1533.15 s
[opt-env-conf-test] @@ -296,12 +296,11 @@
1533.15 s
[opt-env-conf-test] ]
1533.15 s
[opt-env-conf-test] <*> many
1533.15 s
[opt-env-conf-test] ( setting
1533.15 s
[opt-env-conf-test] - [ option,
1533.15 s
[opt-env-conf-test] reader str,
1533.15 s
[opt-env-conf-test] long "completion-word",
1533.15 s
[opt-env-conf-test] hidden,
1533.15 s
[opt-env-conf-test] help "The words (arguments) that have already been typed"
1533.15 s
[opt-env-conf-test] ]
1533.15 s
[opt-env-conf-test] ),
1533.15 s
[opt-env-conf-test] ParsedNormally <$> p
1533.15 s
[opt-env-conf-test] ]
1533.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
1533.15 s
[opt-env-conf-test] @@ -251,12 +251,7 @@
1533.15 s
[opt-env-conf-test] ],
1533.15 s
[opt-env-conf-test] BashCompletionScript
1533.15 s
[opt-env-conf-test] <$> setting
1533.15 s
[opt-env-conf-test] - [ option,
1533.16 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1533.16 s
[opt-env-conf-test] - long "bash-completion-script",
1533.16 s
[opt-env-conf-test] - hidden,
1533.16 s
[opt-env-conf-test] - help "Render the bash completion script"
1533.16 s
[opt-env-conf-test] ],
1533.16 s
[opt-env-conf-test] ZshCompletionScript
1533.16 s
[opt-env-conf-test] <$> setting
1533.16 s
[opt-env-conf-test] [ option,
1533.16 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
1533.16 s
[opt-env-conf-test] @@ -288,12 +288,11 @@
1533.16 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1533.16 s
[opt-env-conf-test] ]
1533.16 s
[opt-env-conf-test] <*> setting
1533.16 s
[opt-env-conf-test] [ option,
1533.16 s
[opt-env-conf-test] reader auto,
1533.16 s
[opt-env-conf-test] long "completion-index",
1533.16 s
[opt-env-conf-test] hidden,
1533.16 s
[opt-env-conf-test] - help "The index between the arguments where completion was invoked."
1533.16 s
[opt-env-conf-test] ]
1533.16 s
[opt-env-conf-test] <*> many
1533.16 s
[opt-env-conf-test] ( setting
1533.16 s
[opt-env-conf-test] [ option,
1533.16 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1533.16 s
[opt-env-conf-test] @@ -259,12 +259,7 @@
1533.16 s
[opt-env-conf-test] ],
1533.16 s
[opt-env-conf-test] ZshCompletionScript
1533.16 s
[opt-env-conf-test] <$> setting
1533.16 s
[opt-env-conf-test] - [ option,
1533.16 s
[opt-env-conf-test] - reader $ maybeReader parseAbsFile,
1533.16 s
[opt-env-conf-test] - long "zsh-completion-script",
1533.16 s
[opt-env-conf-test] - hidden,
1533.16 s
[opt-env-conf-test] - help "Render the zsh completion script"
1533.16 s
[opt-env-conf-test] ],
1533.16 s
[opt-env-conf-test] ZshCompletionScript
1533.16 s
[opt-env-conf-test] <$> setting
1533.16 s
[opt-env-conf-test] [ option,
1533.16 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:172:24-28
1533.16 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1533.16 s
[opt-env-conf-test] go = \case
1533.16 s
[opt-env-conf-test] [] -> (False, [])
1533.16 s
[opt-env-conf-test] (x : xs)
1533.16 s
[opt-env-conf-test] - | x == arg -> ( Tr u e, xs)
1533.16 s
[opt-env-conf-test] + | x == arg -> ( F a ls e, xs)
1533.16 s
[opt-env-conf-test] | otherwise ->
1533.16 s
[opt-env-conf-test] let (found, rest) = go xs
1533.16 s
[opt-env-conf-test] in (found, x : rest)
1533.16 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:175:18-23
1533.16 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1533.16 s
[opt-env-conf-test] | x == arg -> (True, xs)
1533.16 s
[opt-env-conf-test] | otherwise ->
1533.16 s
[opt-env-conf-test] let (found, rest) = go xs
1533.16 s
[opt-env-conf-test] - i n (found , x : rest)
1533.16 s
[opt-env-conf-test] + i n ( n ot (found ) , x : rest)
1533.17 s
[opt-env-conf-test]
1533.17 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1533.17 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1533.17 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
1533.17 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1533.17 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1533.17 s
[opt-env-conf-test] consumeHelpMode as =
1533.17 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1533.17 s
[opt-env-conf-test] - in if f o u n d
1533.17 s
[opt-env-conf-test] + in if Tr u e
1533.17 s
[opt-env-conf-test] then (True, as')
1533.17 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1533.17 s
[opt-env-conf-test]
1533.17 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:184:10-15
1533.17 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1533.17 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1533.17 s
[opt-env-conf-test] consumeHelpMode as =
1533.17 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1533.17 s
[opt-env-conf-test] - in if found
1533.17 s
[opt-env-conf-test] + in if n o t ( found )
1533.17 s
[opt-env-conf-test] then (True, as')
1533.17 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1533.17 s
[opt-env-conf-test]
1533.17 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:74:7-61
1533.17 s
[opt-env-conf-test] @@ -71,7 +71,6 @@
1533.17 s
[opt-env-conf-test] case lintParser p of
1533.17 s
[opt-env-conf-test] Just errs -> do
1533.17 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1533.17 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderLintErrors errs
1533.17 s
[opt-env-conf-test] exitFailure
1533.17 s
[opt-env-conf-test] Nothing -> do
1533.17 s
[opt-env-conf-test] let docs = parserDocs p
1533.17 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:185:15-19
1533.17 s
[opt-env-conf-test] @@ -182,7 +182,7 @@
1533.17 s
[opt-env-conf-test] consumeHelpMode as =
1533.17 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1533.17 s
[opt-env-conf-test] in if found
1533.17 s
[opt-env-conf-test] - then ( Tr u e, as')
1542.68 s
[opt-env-conf-test] + then ( F a ls e, as')
1542.68 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1542.71 s
[opt-env-conf-test]
1542.71 s
[opt-env-conf-test] consumeCheckMode :: [String] -> (Bool, [String])
1542.71 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
1542.71 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1542.71 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1542.71 s
[opt-env-conf-test]
1542.71 s
[opt-env-conf-test] mDebugMode <-
1542.71 s
[opt-env-conf-test] - if d eb u gM o d e
1542.71 s
[opt-env-conf-test] + if T r u e
1542.71 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1542.71 s
[opt-env-conf-test] else pure Nothing
1542.71 s
[opt-env-conf-test]
1542.71 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
1542.71 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1542.71 s
[opt-env-conf-test]
1542.71 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1542.71 s
[opt-env-conf-test]
1542.71 s
[opt-env-conf-test] - if h e l pM o d e
1542.71 s
[opt-env-conf-test] + if Tru e
1542.71 s
[opt-env-conf-test] then do
1542.71 s
[opt-env-conf-test] progname <- getProgName
1542.71 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1542.71 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
1542.71 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1542.71 s
[opt-env-conf-test]
1542.71 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1542.71 s
[opt-env-conf-test]
1542.71 s
[opt-env-conf-test] - if h e l pM o d e
1542.71 s
[opt-env-conf-test] + if F a l s e
1542.71 s
[opt-env-conf-test] then do
1542.71 s
[opt-env-conf-test] progname <- getProgName
1542.72 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1542.72 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:89:10-18
1542.72 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1542.72 s
[opt-env-conf-test]
1542.72 s
[opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
1542.72 s
[opt-env-conf-test]
1542.72 s
[opt-env-conf-test] - if helpMode
1542.72 s
[opt-env-conf-test] + if n o t ( helpMode )
1542.72 s
[opt-env-conf-test] then do
1542.72 s
[opt-env-conf-test] progname <- getProgName
1542.72 s
[opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
1542.72 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:96:15-71
1542.72 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1542.72 s
[opt-env-conf-test] case errOrDocs of
1542.72 s
[opt-env-conf-test] Left errs -> do
1542.72 s
[opt-env-conf-test] stderrTc <- getTerminalCapabilitiesFromHandle stderr
1542.72 s
[opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderErrors errs
1542.72 s
[opt-env-conf-test] exitFailure
1542.72 s
[opt-env-conf-test] Right mCommandDoc -> do
1542.72 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1542.72 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
1542.72 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1542.72 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1542.72 s
[opt-env-conf-test]
1542.72 s
[opt-env-conf-test] mDebugMode <-
1542.72 s
[opt-env-conf-test] - if d e b ugM o d e
1542.72 s
[opt-env-conf-test] + if F al s e
1542.72 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1542.72 s
[opt-env-conf-test] else pure Nothing
1542.72 s
[opt-env-conf-test]
1542.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
1542.72 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
1542.72 s
[opt-env-conf-test] exitFailure
1542.72 s
[opt-env-conf-test] Right mCommandDoc -> do
1542.72 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1542.72 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1542.72 s
[opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
1542.72 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1542.72 s
[opt-env-conf-test] exitSuccess
1542.72 s
[opt-env-conf-test] else do
1542.72 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1542.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
1542.72 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
1542.72 s
[opt-env-conf-test] exitFailure
1542.72 s
[opt-env-conf-test] Right mCommandDoc -> do
1542.72 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1542.72 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1542.72 s
[opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
1542.72 s
[opt-env-conf-test] Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1542.72 s
[opt-env-conf-test] exitSuccess
1542.72 s
[opt-env-conf-test] else do
1542.72 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1542.72 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
1542.72 s
[opt-env-conf-test] @@ -181,7 +181,7 @@
1542.72 s
[opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
1542.72 s
[opt-env-conf-test] consumeHelpMode as =
1542.73 s
[opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
1542.73 s
[opt-env-conf-test] - in if f o u nd
1542.73 s
[opt-env-conf-test] + in if False
1542.73 s
[opt-env-conf-test] then (True, as')
1542.73 s
[opt-env-conf-test] else consumeExactArg "-h" as'
1542.73 s
[opt-env-conf-test]
1542.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
1542.73 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1542.73 s
[opt-env-conf-test] | x == arg -> (True, xs)
1542.73 s
[opt-env-conf-test] | otherwise ->
1542.73 s
[opt-env-conf-test] let (found, rest) = go xs
1542.73 s
[opt-env-conf-test] - in ( f o u n d , x : rest)
1542.73 s
[opt-env-conf-test] + in ( Tr u e , x : rest)
1542.73 s
[opt-env-conf-test]
1542.73 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1542.73 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1542.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:172:11-19
1542.73 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1542.73 s
[opt-env-conf-test] go = \case
1542.73 s
[opt-env-conf-test] [] -> (False, [])
1542.73 s
[opt-env-conf-test] (x : xs)
1542.73 s
[opt-env-conf-test] - | x == a r g -> (True, xs)
1542.73 s
[opt-env-conf-test] + | T r u e -> (True, xs)
1542.73 s
[opt-env-conf-test] | otherwise ->
1542.73 s
[opt-env-conf-test] let (found, rest) = go xs
1542.73 s
[opt-env-conf-test] in (found, x : rest)
1542.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
1542.73 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1542.73 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1542.73 s
[opt-env-conf-test]
1542.73 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1542.73 s
[opt-env-conf-test] - if c h e ckM o d e
1542.73 s
[opt-env-conf-test] + if F al s e
1542.73 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1542.73 s
[opt-env-conf-test] else do
1542.73 s
[opt-env-conf-test] let p' = internalParser p
1542.73 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:111:14-23
1542.73 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1542.73 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1542.73 s
[opt-env-conf-test]
1542.73 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1542.73 s
[opt-env-conf-test] - if checkMode
1542.73 s
[opt-env-conf-test] + if n o t ( checkMode )
1542.73 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1542.73 s
[opt-env-conf-test] else do
1542.73 s
[opt-env-conf-test] let p' = internalParser p
1542.73 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:126:19-69
1542.73 s
[opt-env-conf-test] @@ -123,7 +123,6 @@
1542.73 s
[opt-env-conf-test] case errOrResult of
1542.73 s
[opt-env-conf-test] Left errs -> do
1542.73 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1542.73 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderErrors errs
1542.73 s
[opt-env-conf-test] exitFailure
1542.73 s
[opt-env-conf-test] Right i -> case i of
1542.73 s
[opt-env-conf-test] ShowVersion -> do
1542.73 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:132:21-88
1542.73 s
[opt-env-conf-test] @@ -129,7 +129,6 @@
1542.73 s
[opt-env-conf-test] ShowVersion -> do
1542.73 s
[opt-env-conf-test] progname <- getProgName
1542.73 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1542.73 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1542.73 s
[opt-env-conf-test] exitSuccess
1542.73 s
[opt-env-conf-test] RenderMan -> do
1542.73 s
[opt-env-conf-test] progname <- getProgName
1542.73 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:137:21-98
1542.74 s
[opt-env-conf-test] @@ -134,7 +134,6 @@
1542.74 s
[opt-env-conf-test] RenderMan -> do
1542.74 s
[opt-env-conf-test] progname <- getProgName
1542.74 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1542.74 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1542.74 s
[opt-env-conf-test] exitSuccess
1542.74 s
[opt-env-conf-test] RenderDocumentation -> do
1542.74 s
[opt-env-conf-test] progname <- getProgName
1542.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
1542.74 s
[opt-env-conf-test] @@ -108,7 +108,7 @@
1542.74 s
[opt-env-conf-test] let readyArgs = Args.parseArgs args'''
1542.74 s
[opt-env-conf-test]
1542.74 s
[opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
1542.74 s
[opt-env-conf-test] - if c h e c kMode
1542.74 s
[opt-env-conf-test] + if T ru e
1542.74 s
[opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
1542.74 s
[opt-env-conf-test] else do
1542.74 s
[opt-env-conf-test] let p' = internalParser p
1542.74 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:100:15-78
1542.74 s
[opt-env-conf-test] @@ -97,9 +97,6 @@
1542.74 s
[opt-env-conf-test] exitFailure
1542.74 s
[opt-env-conf-test] Right mCommandDoc -> do
1542.74 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1543.76 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1543.77 s
[opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
1543.77 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1543.77 s
[opt-env-conf-test] exitSuccess
1543.77 s
[opt-env-conf-test] else do
1543.77 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1543.77 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:146:21-97
1543.77 s
[opt-env-conf-test] @@ -143,7 +143,6 @@
1543.77 s
[opt-env-conf-test] exitSuccess
1543.77 s
[opt-env-conf-test] RenderNixosOptions -> do
1543.77 s
[opt-env-conf-test] progname <- getProgName
1543.77 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1543.77 s
[opt-env-conf-test] exitSuccess
1543.77 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1543.77 s
[opt-env-conf-test] progname <- getProgName
1543.77 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:150:21-67
1543.77 s
[opt-env-conf-test] @@ -147,7 +147,6 @@
1543.77 s
[opt-env-conf-test] exitSuccess
1543.77 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1543.77 s
[opt-env-conf-test] progname <- getProgName
1543.77 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
1543.77 s
[opt-env-conf-test] exitSuccess
1543.77 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1543.77 s
[opt-env-conf-test] progname <- getProgName
1543.77 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:142:21-96
1543.77 s
[opt-env-conf-test] @@ -139,7 +139,6 @@
1543.77 s
[opt-env-conf-test] RenderDocumentation -> do
1543.77 s
[opt-env-conf-test] progname <- getProgName
1543.77 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1543.77 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1543.77 s
[opt-env-conf-test] exitSuccess
1543.77 s
[opt-env-conf-test] RenderNixosOptions -> do
1543.77 s
[opt-env-conf-test] progname <- getProgName
1543.77 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:160:56-32
1543.77 s
[opt-env-conf-test] @@ -157,9 +157,8 @@
1543.78 s
[opt-env-conf-test] progname <- getProgName
1543.78 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1543.78 s
[opt-env-conf-test] exitSuccess
1543.78 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1543.78 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1543.78 s
[opt-env-conf-test] exitSuccess
1543.78 s
[opt-env-conf-test] ParsedNormally a -> pure a
1543.78 s
[opt-env-conf-test]
1543.78 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.
1543.78 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:161:43-51
1543.78 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1543.78 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1543.78 s
[opt-env-conf-test] exitSuccess
1543.78 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1543.78 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1543.78 s
[opt-env-conf-test] + runCompletionQuery p' n o t ( enriched ) index ws
1543.78 s
[opt-env-conf-test] exitSuccess
1543.78 s
[opt-env-conf-test] ParsedNormally a -> pure a
1543.78 s
[opt-env-conf-test]
1543.78 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
1543.78 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1543.78 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1543.78 s
[opt-env-conf-test] exitSuccess
1543.78 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1543.78 s
[opt-env-conf-test] - runCompletionQuery p' e n r i ch e d index ws
1543.78 s
[opt-env-conf-test] + runCompletionQuery p' T r u e index ws
1543.78 s
[opt-env-conf-test] exitSuccess
1543.78 s
[opt-env-conf-test] ParsedNormally a -> pure a
1543.78 s
[opt-env-conf-test]
1543.78 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1543.78 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1543.78 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1543.78 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1543.78 s
[opt-env-conf-test] exitFailure
1543.78 s
[opt-env-conf-test] Right i -> case i of
1543.78 s
[opt-env-conf-test] ShowVersion -> do
1543.78 s
[opt-env-conf-test] progname <- getProgName
1543.78 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1543.78 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1543.78 s
[opt-env-conf-test] exitSuccess
1543.78 s
[opt-env-conf-test] - RenderMan -> do
1543.78 s
[opt-env-conf-test] - progname <- getProgName
1543.78 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1543.78 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1543.78 s
[opt-env-conf-test] - exitSuccess
1543.78 s
[opt-env-conf-test] RenderDocumentation -> do
1543.78 s
[opt-env-conf-test] progname <- getProgName
1543.78 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1543.78 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1543.79 s
[opt-env-conf-test] exitSuccess
1543.79 s
[opt-env-conf-test] RenderNixosOptions -> do
1543.79 s
[opt-env-conf-test] progname <- getProgName
1543.79 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1543.79 s
[opt-env-conf-test] exitSuccess
1543.79 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1543.79 s
[opt-env-conf-test] progname <- getProgName
1543.79 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1543.79 s
[opt-env-conf-test] exitSuccess
1543.79 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1543.79 s
[opt-env-conf-test] progname <- getProgName
1543.79 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1543.79 s
[opt-env-conf-test] exitSuccess
1543.79 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1543.79 s
[opt-env-conf-test] progname <- getProgName
1543.79 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1543.79 s
[opt-env-conf-test] exitSuccess
1543.93 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1543.93 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1543.93 s
[opt-env-conf-test] exitSuccess
1543.93 s
[opt-env-conf-test] ParsedNormally a -> pure a
1543.93 s
[opt-env-conf-test]
1543.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.
1543.93 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1543.94 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:158:21-67
1543.94 s
[opt-env-conf-test] @@ -155,7 +155,6 @@
1543.94 s
[opt-env-conf-test] exitSuccess
1543.94 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1543.94 s
[opt-env-conf-test] progname <- getProgName
1543.94 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
1543.94 s
[opt-env-conf-test] exitSuccess
1543.94 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1543.94 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1543.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1543.94 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1543.94 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1543.94 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1543.94 s
[opt-env-conf-test] exitFailure
1543.94 s
[opt-env-conf-test] Right i -> case i of
1543.94 s
[opt-env-conf-test] ShowVersion -> do
1543.94 s
[opt-env-conf-test] progname <- getProgName
1543.94 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1543.94 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1543.94 s
[opt-env-conf-test] exitSuccess
1543.94 s
[opt-env-conf-test] RenderMan -> do
1543.94 s
[opt-env-conf-test] progname <- getProgName
1543.94 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1543.94 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1543.94 s
[opt-env-conf-test] exitSuccess
1543.94 s
[opt-env-conf-test] - RenderDocumentation -> do
1543.94 s
[opt-env-conf-test] - progname <- getProgName
1543.94 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1543.94 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1543.94 s
[opt-env-conf-test] - exitSuccess
1543.94 s
[opt-env-conf-test] RenderNixosOptions -> do
1543.94 s
[opt-env-conf-test] progname <- getProgName
1543.94 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1543.94 s
[opt-env-conf-test] exitSuccess
1543.94 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1543.94 s
[opt-env-conf-test] progname <- getProgName
1543.95 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1543.95 s
[opt-env-conf-test] exitSuccess
1543.95 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1543.95 s
[opt-env-conf-test] progname <- getProgName
1543.95 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1543.95 s
[opt-env-conf-test] exitSuccess
1543.95 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1543.95 s
[opt-env-conf-test] progname <- getProgName
1543.95 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1543.95 s
[opt-env-conf-test] exitSuccess
1544.11 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1544.11 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1544.11 s
[opt-env-conf-test] exitSuccess
1544.11 s
[opt-env-conf-test] ParsedNormally a -> pure a
1544.11 s
[opt-env-conf-test]
1544.12 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1544.12 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1544.12 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:83:12-21
1544.12 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1544.12 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1544.12 s
[opt-env-conf-test]
1544.12 s
[opt-env-conf-test] mDebugMode <-
1544.12 s
[opt-env-conf-test] - if debugMode
1544.12 s
[opt-env-conf-test] + if n o t ( debugMode )
1544.12 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1544.12 s
[opt-env-conf-test] else pure Nothing
1544.12 s
[opt-env-conf-test]
1544.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1544.12 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1544.12 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1544.12 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1544.12 s
[opt-env-conf-test] exitFailure
1544.12 s
[opt-env-conf-test] Right i -> case i of
1544.12 s
[opt-env-conf-test] ShowVersion -> do
1544.12 s
[opt-env-conf-test] progname <- getProgName
1544.12 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1544.12 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1544.12 s
[opt-env-conf-test] exitSuccess
1544.12 s
[opt-env-conf-test] RenderMan -> do
1544.12 s
[opt-env-conf-test] progname <- getProgName
1544.12 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1544.12 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1544.12 s
[opt-env-conf-test] exitSuccess
1544.12 s
[opt-env-conf-test] RenderDocumentation -> do
1544.12 s
[opt-env-conf-test] progname <- getProgName
1544.12 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1544.12 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1544.12 s
[opt-env-conf-test] - exitSuccess
1544.12 s
[opt-env-conf-test] - RenderNixosOptions -> do
1544.12 s
[opt-env-conf-test] - progname <- getProgName
1544.13 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1544.13 s
[opt-env-conf-test] exitSuccess
1544.13 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1544.13 s
[opt-env-conf-test] progname <- getProgName
1544.13 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1544.13 s
[opt-env-conf-test] exitSuccess
1544.13 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1544.13 s
[opt-env-conf-test] progname <- getProgName
1544.13 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1544.13 s
[opt-env-conf-test] exitSuccess
1544.13 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1544.13 s
[opt-env-conf-test] progname <- getProgName
1544.13 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1544.13 s
[opt-env-conf-test] exitSuccess
1545.30 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1545.30 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1545.30 s
[opt-env-conf-test] exitSuccess
1545.31 s
[opt-env-conf-test] ParsedNormally a -> pure a
1545.31 s
[opt-env-conf-test]
1545.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.
1545.31 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1545.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1545.31 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1545.31 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1545.31 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1545.31 s
[opt-env-conf-test] exitFailure
1545.31 s
[opt-env-conf-test] Right i -> case i of
1545.31 s
[opt-env-conf-test] ShowVersion -> do
1545.31 s
[opt-env-conf-test] progname <- getProgName
1545.31 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1545.31 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1545.31 s
[opt-env-conf-test] exitSuccess
1545.31 s
[opt-env-conf-test] RenderMan -> do
1545.31 s
[opt-env-conf-test] progname <- getProgName
1545.31 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1545.31 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1545.31 s
[opt-env-conf-test] exitSuccess
1545.31 s
[opt-env-conf-test] RenderDocumentation -> do
1545.31 s
[opt-env-conf-test] progname <- getProgName
1545.31 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1545.31 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1545.31 s
[opt-env-conf-test] exitSuccess
1545.31 s
[opt-env-conf-test] RenderNixosOptions -> do
1545.31 s
[opt-env-conf-test] progname <- getProgName
1545.31 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1545.31 s
[opt-env-conf-test] - exitSuccess
1545.31 s
[opt-env-conf-test] - BashCompletionScript progPath -> do
1545.31 s
[opt-env-conf-test] - progname <- getProgName
1545.31 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
1545.31 s
[opt-env-conf-test] exitSuccess
1545.32 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1545.32 s
[opt-env-conf-test] progname <- getProgName
1545.32 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1545.32 s
[opt-env-conf-test] exitSuccess
1545.32 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1545.32 s
[opt-env-conf-test] progname <- getProgName
1545.32 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1545.32 s
[opt-env-conf-test] exitSuccess
1545.35 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1545.35 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1545.35 s
[opt-env-conf-test] exitSuccess
1545.35 s
[opt-env-conf-test] ParsedNormally a -> pure a
1545.35 s
[opt-env-conf-test]
1545.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.
1545.35 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1545.35 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:170:14-19
1545.35 s
[opt-env-conf-test] @@ -167,7 +167,7 @@
1545.35 s
[opt-env-conf-test] consumeExactArg arg = go
1545.35 s
[opt-env-conf-test] where
1545.35 s
[opt-env-conf-test] go = \case
1545.35 s
[opt-env-conf-test] - [] -> ( F al s e, [])
1545.35 s
[opt-env-conf-test] + [] -> ( T ru e, [])
1545.35 s
[opt-env-conf-test] (x : xs)
1545.35 s
[opt-env-conf-test] | x == arg -> (True, xs)
1545.35 s
[opt-env-conf-test] | otherwise ->
1545.35 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1545.35 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1545.35 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1545.35 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1545.35 s
[opt-env-conf-test] exitFailure
1545.35 s
[opt-env-conf-test] Right i -> case i of
1545.35 s
[opt-env-conf-test] - ShowVersion -> do
1545.35 s
[opt-env-conf-test] - progname <- getProgName
1545.35 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1545.35 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1545.35 s
[opt-env-conf-test] - exitSuccess
1545.36 s
[opt-env-conf-test] RenderMan -> do
1545.36 s
[opt-env-conf-test] progname <- getProgName
1545.36 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1545.36 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1545.36 s
[opt-env-conf-test] exitSuccess
1545.36 s
[opt-env-conf-test] RenderDocumentation -> do
1545.36 s
[opt-env-conf-test] progname <- getProgName
1545.36 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1545.36 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1545.36 s
[opt-env-conf-test] exitSuccess
1545.36 s
[opt-env-conf-test] RenderNixosOptions -> do
1545.36 s
[opt-env-conf-test] progname <- getProgName
1545.36 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1545.36 s
[opt-env-conf-test] exitSuccess
1545.36 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1545.36 s
[opt-env-conf-test] progname <- getProgName
1545.36 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1545.36 s
[opt-env-conf-test] exitSuccess
1545.36 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1545.36 s
[opt-env-conf-test] progname <- getProgName
1545.36 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1545.36 s
[opt-env-conf-test] exitSuccess
1545.36 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1545.36 s
[opt-env-conf-test] progname <- getProgName
1545.36 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1545.36 s
[opt-env-conf-test] exitSuccess
1546.45 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1546.45 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1546.45 s
[opt-env-conf-test] exitSuccess
1546.45 s
[opt-env-conf-test] ParsedNormally a -> pure a
1546.45 s
[opt-env-conf-test]
1546.45 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.
1546.45 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1546.45 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1546.45 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1546.45 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1546.45 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1546.45 s
[opt-env-conf-test] exitFailure
1546.45 s
[opt-env-conf-test] Right i -> case i of
1546.45 s
[opt-env-conf-test] ShowVersion -> do
1546.45 s
[opt-env-conf-test] progname <- getProgName
1546.45 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1546.45 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1546.45 s
[opt-env-conf-test] exitSuccess
1546.45 s
[opt-env-conf-test] RenderMan -> do
1546.45 s
[opt-env-conf-test] progname <- getProgName
1546.45 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1546.45 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1546.45 s
[opt-env-conf-test] exitSuccess
1546.45 s
[opt-env-conf-test] RenderDocumentation -> do
1546.45 s
[opt-env-conf-test] progname <- getProgName
1546.45 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1546.45 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1546.45 s
[opt-env-conf-test] exitSuccess
1546.45 s
[opt-env-conf-test] RenderNixosOptions -> do
1546.45 s
[opt-env-conf-test] progname <- getProgName
1546.45 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1546.45 s
[opt-env-conf-test] exitSuccess
1546.45 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1546.45 s
[opt-env-conf-test] progname <- getProgName
1546.46 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1546.46 s
[opt-env-conf-test] - exitSuccess
1546.46 s
[opt-env-conf-test] - ZshCompletionScript progPath -> do
1546.46 s
[opt-env-conf-test] - progname <- getProgName
1546.46 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
1546.46 s
[opt-env-conf-test] exitSuccess
1546.46 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1546.46 s
[opt-env-conf-test] progname <- getProgName
1546.46 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1546.46 s
[opt-env-conf-test] exitSuccess
1546.70 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1546.70 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1546.70 s
[opt-env-conf-test] exitSuccess
1546.70 s
[opt-env-conf-test] ParsedNormally a -> pure a
1546.70 s
[opt-env-conf-test]
1546.70 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1546.70 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1546.70 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:172:11-19
1546.70 s
[opt-env-conf-test] @@ -169,7 +169,7 @@
1546.70 s
[opt-env-conf-test] go = \case
1546.70 s
[opt-env-conf-test] [] -> (False, [])
1546.71 s
[opt-env-conf-test] (x : xs)
1546.71 s
[opt-env-conf-test] - | x == arg -> (True, xs)
1546.71 s
[opt-env-conf-test] + | n o t ( x == arg ) -> (True, xs)
1546.71 s
[opt-env-conf-test] | otherwise ->
1546.71 s
[opt-env-conf-test] let (found, rest) = go xs
1546.71 s
[opt-env-conf-test] in (found, x : rest)
1546.71 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1546.71 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1546.71 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1546.71 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1546.71 s
[opt-env-conf-test] exitFailure
1546.71 s
[opt-env-conf-test] Right i -> case i of
1546.71 s
[opt-env-conf-test] ShowVersion -> do
1546.71 s
[opt-env-conf-test] progname <- getProgName
1546.71 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1546.71 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1546.71 s
[opt-env-conf-test] exitSuccess
1546.71 s
[opt-env-conf-test] RenderMan -> do
1546.71 s
[opt-env-conf-test] progname <- getProgName
1546.71 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1546.71 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1546.71 s
[opt-env-conf-test] exitSuccess
1546.71 s
[opt-env-conf-test] RenderDocumentation -> do
1546.71 s
[opt-env-conf-test] progname <- getProgName
1546.71 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1546.71 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1546.71 s
[opt-env-conf-test] exitSuccess
1546.71 s
[opt-env-conf-test] RenderNixosOptions -> do
1546.71 s
[opt-env-conf-test] progname <- getProgName
1546.71 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1546.71 s
[opt-env-conf-test] exitSuccess
1546.71 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1546.71 s
[opt-env-conf-test] progname <- getProgName
1546.71 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1546.71 s
[opt-env-conf-test] exitSuccess
1546.71 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1546.71 s
[opt-env-conf-test] progname <- getProgName
1546.71 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1546.71 s
[opt-env-conf-test] - exitSuccess
1546.71 s
[opt-env-conf-test] - FishCompletionScript progPath -> do
1546.71 s
[opt-env-conf-test] - progname <- getProgName
1546.72 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
1546.72 s
[opt-env-conf-test] exitSuccess
1546.72 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1546.72 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1546.72 s
[opt-env-conf-test] exitSuccess
1546.72 s
[opt-env-conf-test] ParsedNormally a -> pure a
1546.72 s
[opt-env-conf-test]
1546.72 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.
1546.72 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1546.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1546.72 s
[opt-env-conf-test] @@ -125,42 +125,39 @@
1546.72 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1546.72 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1546.72 s
[opt-env-conf-test] exitFailure
1546.72 s
[opt-env-conf-test] Right i -> case i of
1546.72 s
[opt-env-conf-test] ShowVersion -> do
1546.72 s
[opt-env-conf-test] progname <- getProgName
1546.72 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1546.72 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1546.72 s
[opt-env-conf-test] exitSuccess
1546.72 s
[opt-env-conf-test] RenderMan -> do
1546.72 s
[opt-env-conf-test] progname <- getProgName
1546.72 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1546.72 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1546.72 s
[opt-env-conf-test] exitSuccess
1546.72 s
[opt-env-conf-test] RenderDocumentation -> do
1546.72 s
[opt-env-conf-test] progname <- getProgName
1546.72 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1546.72 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1546.72 s
[opt-env-conf-test] exitSuccess
1546.72 s
[opt-env-conf-test] RenderNixosOptions -> do
1546.72 s
[opt-env-conf-test] progname <- getProgName
1546.72 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1546.72 s
[opt-env-conf-test] exitSuccess
1546.72 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1546.72 s
[opt-env-conf-test] progname <- getProgName
1546.72 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1546.72 s
[opt-env-conf-test] exitSuccess
1546.72 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1546.72 s
[opt-env-conf-test] progname <- getProgName
1546.72 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1546.72 s
[opt-env-conf-test] exitSuccess
1546.72 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1546.72 s
[opt-env-conf-test] progname <- getProgName
1546.72 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1546.72 s
[opt-env-conf-test] exitSuccess
1546.72 s
[opt-env-conf-test] - CompletionQuery enriched index ws -> do
1548.08 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1548.19 s
[opt-env-conf-test] - exitSuccess
1548.19 s
[opt-env-conf-test] ParsedNormally a -> pure a
1548.19 s
[opt-env-conf-test]
1548.19 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.
1548.19 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1548.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1548.19 s
[opt-env-conf-test] @@ -125,42 +125,41 @@
1548.19 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1548.19 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1548.19 s
[opt-env-conf-test] exitFailure
1548.19 s
[opt-env-conf-test] Right i -> case i of
1548.19 s
[opt-env-conf-test] ShowVersion -> do
1548.19 s
[opt-env-conf-test] progname <- getProgName
1548.19 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1548.19 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1548.19 s
[opt-env-conf-test] exitSuccess
1548.19 s
[opt-env-conf-test] RenderMan -> do
1548.19 s
[opt-env-conf-test] progname <- getProgName
1548.19 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1548.19 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1548.19 s
[opt-env-conf-test] exitSuccess
1548.19 s
[opt-env-conf-test] RenderDocumentation -> do
1548.19 s
[opt-env-conf-test] progname <- getProgName
1548.19 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1548.19 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1548.19 s
[opt-env-conf-test] exitSuccess
1548.19 s
[opt-env-conf-test] RenderNixosOptions -> do
1548.19 s
[opt-env-conf-test] progname <- getProgName
1548.19 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1548.19 s
[opt-env-conf-test] exitSuccess
1548.19 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1548.19 s
[opt-env-conf-test] progname <- getProgName
1548.19 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1548.19 s
[opt-env-conf-test] exitSuccess
1548.19 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1548.19 s
[opt-env-conf-test] progname <- getProgName
1548.19 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1548.19 s
[opt-env-conf-test] exitSuccess
1548.20 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1548.20 s
[opt-env-conf-test] progname <- getProgName
1548.20 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1548.20 s
[opt-env-conf-test] exitSuccess
1548.20 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1555.52 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1555.55 s
[opt-env-conf-test] exitSuccess
1555.55 s
[opt-env-conf-test] - ParsedNormally a -> pure a
1555.55 s
[opt-env-conf-test]
1555.55 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1555.55 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1555.55 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
1555.55 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1555.55 s
[opt-env-conf-test] | x == arg -> (True, xs)
1555.55 s
[opt-env-conf-test] | otherwise ->
1555.55 s
[opt-env-conf-test] let (found, rest) = go xs
1555.55 s
[opt-env-conf-test] - in ( f o u nd , x : rest)
1555.55 s
[opt-env-conf-test] + in ( Fal s e , x : rest)
1555.55 s
[opt-env-conf-test]
1555.55 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1555.55 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1555.55 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:257:25-31
1555.55 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1555.55 s
[opt-env-conf-test] Nothing -> do
1555.55 s
[opt-env-conf-test] put before
1555.55 s
[opt-env-conf-test] pure Nothing
1555.55 s
[opt-env-conf-test] - Just a -> pure ( J u s t a )
1555.55 s
[opt-env-conf-test] + Just a -> pure ( No t h ing )
1555.55 s
[opt-env-conf-test]
1555.55 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
1555.55 s
[opt-env-conf-test] -- Each iteration either advances the args state (consuming input)
1555.56 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
1555.56 s
[opt-env-conf-test] @@ -304,9 +304,8 @@
1555.56 s
[opt-env-conf-test] Nothing -> pure Nothing
1555.56 s
[opt-env-conf-test] Just cs1 -> do
1555.56 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1555.56 s
[opt-env-conf-test] pure $ case p2s of
1555.56 s
[opt-env-conf-test] - Nothing -> Nothing
1555.56 s
[opt-env-conf-test] Just cs2 -> pure $ cs1 ++ cs2
1555.56 s
[opt-env-conf-test]
1555.56 s
[opt-env-conf-test] -- Nothing means "this branch was not valid"
1555.56 s
[opt-env-conf-test] -- Just [] means "no completions"
1555.56 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
1555.56 s
[opt-env-conf-test] @@ -251,9 +251,8 @@
1555.56 s
[opt-env-conf-test] before <- get
1555.56 s
[opt-env-conf-test] mA <- func
1555.56 s
[opt-env-conf-test] case mA of
1555.56 s
[opt-env-conf-test] Nothing -> do
1555.56 s
[opt-env-conf-test] - put before
1555.56 s
[opt-env-conf-test] pure Nothing
1555.56 s
[opt-env-conf-test] Just a -> pure (Just a)
1555.56 s
[opt-env-conf-test]
1555.56 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
1555.56 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1555.56 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1555.56 s
[opt-env-conf-test] orCompletions p1 p2 = do
1555.56 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1555.56 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1555.56 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1555.56 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1555.56 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1555.56 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1555.56 s
[opt-env-conf-test] - (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1555.56 s
[opt-env-conf-test]
1555.56 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1555.56 s
[opt-env-conf-test] andCompletions p1 p2 = do
1555.56 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:274:22-29
1555.56 s
[opt-env-conf-test] @@ -271,7 +271,7 @@
1555.56 s
[opt-env-conf-test] after <- get
1555.56 s
[opt-env-conf-test] if after == before
1555.57 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1555.57 s
[opt-env-conf-test] - pure $ J u st o s
1555.57 s
[opt-env-conf-test] + pure $ N o th ing
1555.57 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1555.57 s
[opt-env-conf-test] -- next iteration. Its completions supersede ours
1555.57 s
[opt-env-conf-test] -- only if it also has a valid result.
1555.57 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:281:37-44
1555.57 s
[opt-env-conf-test] @@ -278,7 +278,7 @@
1555.57 s
[opt-env-conf-test] do
1555.57 s
[opt-env-conf-test] mMore <- manyCompletions p
1555.57 s
[opt-env-conf-test] case mMore of
1555.57 s
[opt-env-conf-test] - Nothing -> pure $ J u st o s
1555.57 s
[opt-env-conf-test] + Nothing -> pure $ N o th ing
1555.57 s
[opt-env-conf-test] Just more
1555.57 s
[opt-env-conf-test] -- If the next iteration only produced stale
1555.57 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1555.57 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1555.57 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1555.57 s
[opt-env-conf-test] orCompletions p1 p2 = do
1555.57 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1555.57 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1555.57 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1555.57 s
[opt-env-conf-test] - (Nothing, Nothing) -> Nothing
1555.57 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1555.57 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1555.57 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1555.57 s
[opt-env-conf-test]
1555.57 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1555.57 s
[opt-env-conf-test] andCompletions p1 p2 = do
1555.57 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1555.57 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1555.57 s
[opt-env-conf-test] orCompletions p1 p2 = do
1555.57 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1555.57 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1555.57 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1555.57 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1555.57 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1555.57 s
[opt-env-conf-test] - (Nothing, Just cs) -> Just cs
1555.57 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1555.57 s
[opt-env-conf-test]
1555.57 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1555.57 s
[opt-env-conf-test] andCompletions p1 p2 = do
1555.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:287:23-30
1555.57 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1555.57 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1555.57 s
[opt-env-conf-test] -- further), prefer our completions which came
1555.57 s
[opt-env-conf-test] -- from the advancing iteration.
1555.57 s
[opt-env-conf-test] - | n u l l o s -> pure $ Just more
1555.58 s
[opt-env-conf-test] + | T r u e -> pure $ Just more
1555.58 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1555.58 s
[opt-env-conf-test]
1555.58 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1555.58 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:297:31-38
1555.58 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
1555.58 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1555.58 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1555.58 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1555.58 s
[opt-env-conf-test] - (Nothing, Just cs) -> J u s t c s
1555.58 s
[opt-env-conf-test] + (Nothing, Just cs) -> No t h ing
1555.58 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1555.58 s
[opt-env-conf-test]
1555.58 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1555.58 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:287:23-30
1555.58 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1555.58 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1555.58 s
[opt-env-conf-test] -- further), prefer our completions which came
1555.58 s
[opt-env-conf-test] -- from the advancing iteration.
1555.58 s
[opt-env-conf-test] - | null os -> pure $ Just more
1555.58 s
[opt-env-conf-test] + | n o t ( null os ) -> pure $ Just more
1555.58 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1555.58 s
[opt-env-conf-test]
1555.58 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1555.58 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:287:41-50
1555.58 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1555.58 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1555.58 s
[opt-env-conf-test] -- further), prefer our completions which came
1555.58 s
[opt-env-conf-test] -- from the advancing iteration.
1555.58 s
[opt-env-conf-test] - | null os -> pure $ J u s t m o r e
1555.58 s
[opt-env-conf-test] + | null os -> pure $ N o thin g
1555.58 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1555.58 s
[opt-env-conf-test]
1555.58 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1555.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
1555.58 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1555.58 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1555.58 s
[opt-env-conf-test] case mArg of
1555.58 s
[opt-env-conf-test] Nothing -> do
1555.59 s
[opt-env-conf-test] - if a rg sAt En d r e s t
1555.59 s
[opt-env-conf-test] + if T r u e
1555.59 s
[opt-env-conf-test] then do
1555.59 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1555.59 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1555.59 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:272:14-29
1555.59 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1555.59 s
[opt-env-conf-test] Nothing -> pure Nothing
1555.59 s
[opt-env-conf-test] Just os -> do
1555.59 s
[opt-env-conf-test] after <- get
1555.59 s
[opt-env-conf-test] - if after == before
1561.76 s
[opt-env-conf-test] + if n o t ( after == before )
1561.79 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1561.79 s
[opt-env-conf-test] pure $ Just os
1561.79 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1561.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
1561.79 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1561.79 s
[opt-env-conf-test] Nothing -> pure Nothing
1561.79 s
[opt-env-conf-test] Just os -> do
1561.79 s
[opt-env-conf-test] after <- get
1561.79 s
[opt-env-conf-test] - if a f te r == bef or e
1561.79 s
[opt-env-conf-test] + if F a l s e
1561.79 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1561.79 s
[opt-env-conf-test] pure $ Just os
1561.79 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1561.80 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1561.80 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1561.80 s
[opt-env-conf-test] orCompletions p1 p2 = do
1561.80 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1561.80 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1561.80 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1561.80 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1561.80 s
[opt-env-conf-test] - (Just cs, Nothing) -> Just cs
1561.80 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1561.80 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1561.80 s
[opt-env-conf-test]
1561.80 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1561.80 s
[opt-env-conf-test] andCompletions p1 p2 = do
1561.80 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:288:43-50
1561.80 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1561.80 s
[opt-env-conf-test] -- further), prefer our completions which came
1561.80 s
[opt-env-conf-test] -- from the advancing iteration.
1561.80 s
[opt-env-conf-test] | null os -> pure $ Just more
1561.80 s
[opt-env-conf-test] - | otherwise -> pure $ J u st o s
1561.80 s
[opt-env-conf-test] + | otherwise -> pure $ N o th ing
1561.80 s
[opt-env-conf-test]
1561.80 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1561.80 s
[opt-env-conf-test] orCompletions p1 p2 = do
1561.80 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:315:30-37
1561.80 s
[opt-env-conf-test] @@ -312,7 +312,7 @@
1561.80 s
[opt-env-conf-test] -- Just [] means "no completions"
1561.80 s
[opt-env-conf-test] go :: Parser a -> State Args (Maybe [Completion Suggestion])
1561.80 s
[opt-env-conf-test] go = \case
1561.80 s
[opt-env-conf-test] - ParserPure _ -> pure $ J u s t [ ]
1561.80 s
[opt-env-conf-test] + ParserPure _ -> pure $ No t h ing
1561.80 s
[opt-env-conf-test] -- Parse both and combine the result
1561.80 s
[opt-env-conf-test] ParserAp p1 p2 -> andCompletions p1 p2
1561.80 s
[opt-env-conf-test] -- Parse either: either completions are valid
1561.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
1561.80 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1561.80 s
[opt-env-conf-test] Nothing -> pure Nothing
1561.80 s
[opt-env-conf-test] Just os -> do
1561.80 s
[opt-env-conf-test] after <- get
1561.81 s
[opt-env-conf-test] - if a f te r = = b e f ore
1561.81 s
[opt-env-conf-test] + if T r u e
1561.81 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1561.81 s
[opt-env-conf-test] pure $ Just os
1561.81 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1561.81 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:340:20-34
1561.81 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1561.81 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1561.81 s
[opt-env-conf-test] case mArg of
1561.81 s
[opt-env-conf-test] Nothing -> do
1561.81 s
[opt-env-conf-test] - if argsAtEnd rest
1561.81 s
[opt-env-conf-test] + if n o t ( argsAtEnd rest )
1561.81 s
[opt-env-conf-test] then do
1561.81 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1561.81 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1561.81 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:361:29-32
1561.81 s
[opt-env-conf-test] @@ -358,9 +358,8 @@
1561.81 s
[opt-env-conf-test] pure Nothing
1561.81 s
[opt-env-conf-test] Just arg ->
1561.81 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1561.81 s
[opt-env-conf-test] Just c -> do
1561.81 s
[opt-env-conf-test] - put rest
1561.81 s
[opt-env-conf-test] goCommand c
1561.81 s
[opt-env-conf-test] Nothing -> pure Nothing
1561.81 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1561.81 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1561.81 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
1561.81 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1561.81 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1561.81 s
[opt-env-conf-test] case mArg of
1561.81 s
[opt-env-conf-test] Nothing -> do
1561.81 s
[opt-env-conf-test] - if a r g s AtE nd r e s t
1561.81 s
[opt-env-conf-test] + if F a l s e
1561.81 s
[opt-env-conf-test] then do
1561.81 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1561.81 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1561.82 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:350:59-75
1561.82 s
[opt-env-conf-test] @@ -347,7 +347,7 @@
1561.82 s
[opt-env-conf-test] ( \Command {..} ->
1561.82 s
[opt-env-conf-test] Completion
1561.82 s
[opt-env-conf-test] { completionSuggestion = SuggestionBare commandArg,
1561.82 s
[opt-env-conf-test] - completionDescription = J u st c o mma n d Help
1561.82 s
[opt-env-conf-test] + completionDescription = N o t hi n g
1561.82 s
[opt-env-conf-test] }
1561.82 s
[opt-env-conf-test] )
1561.82 s
[opt-env-conf-test] matchingCommands
1561.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
1561.82 s
[opt-env-conf-test] @@ -357,11 +357,8 @@
1561.82 s
[opt-env-conf-test] -- name then the remaining args have nowhere to go.
1561.82 s
[opt-env-conf-test] pure Nothing
1561.82 s
[opt-env-conf-test] Just arg ->
1561.82 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1561.82 s
[opt-env-conf-test] - Just c -> do
1561.82 s
[opt-env-conf-test] - put rest
1561.82 s
[opt-env-conf-test] - goCommand c
1561.82 s
[opt-env-conf-test] Nothing -> pure Nothing
1561.82 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1561.82 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1561.82 s
[opt-env-conf-test] -- if the user provides no command.
1561.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
1561.82 s
[opt-env-conf-test] @@ -357,11 +357,10 @@
1561.82 s
[opt-env-conf-test] -- name then the remaining args have nowhere to go.
1561.82 s
[opt-env-conf-test] pure Nothing
1561.82 s
[opt-env-conf-test] Just arg ->
1561.82 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1561.82 s
[opt-env-conf-test] Just c -> do
1561.82 s
[opt-env-conf-test] put rest
1561.82 s
[opt-env-conf-test] goCommand c
1561.82 s
[opt-env-conf-test] - Nothing -> pure Nothing
1561.82 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1561.82 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1561.82 s
[opt-env-conf-test] -- if the user provides no command.
1561.82 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:378:19-31
1561.82 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1561.82 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1561.82 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1561.82 s
[opt-env-conf-test] -- command's completions.
1561.82 s
[opt-env-conf-test] - | a r gs AtE nd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1561.82 s
[opt-env-conf-test] + | T r ue -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1561.82 s
[opt-env-conf-test] | otherwise -> do
1561.82 s
[opt-env-conf-test] -- The default command consumed args, so its
1561.82 s
[opt-env-conf-test] -- completions are valid. But we must restore
1561.82 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:378:86-94
1561.82 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1561.82 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1561.82 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1561.82 s
[opt-env-conf-test] -- command's completions.
1561.82 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, J u s t dc s ]
1561.82 s
[opt-env-conf-test] + | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, No t h i ng ]
1561.83 s
[opt-env-conf-test] | otherwise -> do
1561.83 s
[opt-env-conf-test] -- The default command consumed args, so its
1561.83 s
[opt-env-conf-test] -- completions are valid. But we must restore
1569.16 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
1569.19 s
[opt-env-conf-test] @@ -375,7 +375,6 @@
1569.19 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1569.19 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1569.19 s
[opt-env-conf-test] -- command's completions.
1569.19 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1569.19 s
[opt-env-conf-test] | otherwise -> do
1569.20 s
[opt-env-conf-test] -- The default command consumed args, so its
1569.20 s
[opt-env-conf-test] -- completions are valid. But we must restore
1569.20 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
1569.20 s
[opt-env-conf-test] @@ -375,7 +375,6 @@
1569.20 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1569.20 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1569.20 s
[opt-env-conf-test] -- command's completions.
1569.20 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1569.20 s
[opt-env-conf-test] | otherwise -> do
1569.20 s
[opt-env-conf-test] -- The default command consumed args, so its
1569.20 s
[opt-env-conf-test] -- completions are valid. But we must restore
1569.20 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:388:28-36
1569.20 s
[opt-env-conf-test] @@ -385,7 +385,7 @@
1569.20 s
[opt-env-conf-test] -- --archive-dir that the default command
1569.20 s
[opt-env-conf-test] -- swallowed as a positional argument.
1569.20 s
[opt-env-conf-test] put as
1569.20 s
[opt-env-conf-test] - pure $ J u s t dc s
1569.20 s
[opt-env-conf-test] + pure $ No t h i ng
1569.20 s
[opt-env-conf-test] ParserSetting _ Setting {..} -> do
1569.20 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1569.20 s
[opt-env-conf-test] let completionDescription = settingHelp
1569.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
1569.20 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1569.20 s
[opt-env-conf-test] pure Completion {..}
1569.20 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1569.20 s
[opt-env-conf-test] as <- get
1569.20 s
[opt-env-conf-test] - if a r gs AtE nd as then completeWithCompleter else pure $ Just []
1569.20 s
[opt-env-conf-test] + if T r ue then completeWithCompleter else pure $ Just []
1569.20 s
[opt-env-conf-test] let completeWithDasheds = do
1569.20 s
[opt-env-conf-test] let isLong = \case
1569.21 s
[opt-env-conf-test] DashedLong _ -> True
1569.21 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:379:32-36
1569.21 s
[opt-env-conf-test] @@ -376,16 +376,15 @@
1569.21 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1569.21 s
[opt-env-conf-test] -- command's completions.
1569.21 s
[opt-env-conf-test] | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1569.21 s
[opt-env-conf-test] | otherwise -> do
1569.21 s
[opt-env-conf-test] -- The default command consumed args, so its
1569.21 s
[opt-env-conf-test] -- completions are valid. But we must restore
1569.21 s
[opt-env-conf-test] -- the state: the consumed args may also be
1569.21 s
[opt-env-conf-test] -- intended for sibling parsers in an
1569.21 s
[opt-env-conf-test] -- applicative (<*>), e.g. an option like
1569.21 s
[opt-env-conf-test] -- --archive-dir that the default command
1569.21 s
[opt-env-conf-test] -- swallowed as a positional argument.
1569.21 s
[opt-env-conf-test] - put as
1569.21 s
[opt-env-conf-test] pure $ Just dcs
1569.21 s
[opt-env-conf-test] ParserSetting _ Setting {..} -> do
1569.21 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1569.21 s
[opt-env-conf-test] let completionDescription = settingHelp
1569.21 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:398:18-30
1569.21 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1569.21 s
[opt-env-conf-test] pure Completion {..}
1569.21 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1569.21 s
[opt-env-conf-test] as <- get
1569.21 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
1569.21 s
[opt-env-conf-test] + if n o t ( argsAtEnd as ) then completeWithCompleter else pure $ Just []
1569.21 s
[opt-env-conf-test] let completeWithDasheds = do
1569.21 s
[opt-env-conf-test] let isLong = \case
1569.21 s
[opt-env-conf-test] DashedLong _ -> True
1569.21 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
1569.21 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1569.21 s
[opt-env-conf-test] pure Completion {..}
1569.21 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1569.21 s
[opt-env-conf-test] as <- get
1569.21 s
[opt-env-conf-test] - if a r g s A t End a s then completeWithCompleter else pure $ Just []
1569.21 s
[opt-env-conf-test] + if F a l s e then completeWithCompleter else pure $ Just []
1569.21 s
[opt-env-conf-test] let completeWithDasheds = do
1569.21 s
[opt-env-conf-test] let isLong = \case
1569.21 s
[opt-env-conf-test] DashedLong _ -> True
1569.21 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
1569.21 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1569.21 s
[opt-env-conf-test] let isLong = \case
1569.21 s
[opt-env-conf-test] DashedLong _ -> True
1569.22 s
[opt-env-conf-test] DashedShort _ -> False
1569.22 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
1569.22 s
[opt-env-conf-test] + let favorableDasheds = if Tru e then filter isLong settingDasheds else settingDasheds
1569.22 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1569.22 s
[opt-env-conf-test] let completions =
1569.22 s
[opt-env-conf-test] map
1569.22 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:402:38-43
1569.22 s
[opt-env-conf-test] @@ -399,7 +399,7 @@
1569.22 s
[opt-env-conf-test] let completeWithDasheds = do
1569.22 s
[opt-env-conf-test] let isLong = \case
1569.22 s
[opt-env-conf-test] DashedLong _ -> True
1569.22 s
[opt-env-conf-test] - DashedShort _ -> F al s e
1569.22 s
[opt-env-conf-test] + DashedShort _ -> T ru e
1569.22 s
[opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1569.22 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1569.22 s
[opt-env-conf-test] let completions =
1569.22 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:401:37-41
1569.22 s
[opt-env-conf-test] @@ -398,7 +398,7 @@
1569.22 s
[opt-env-conf-test] if argsAtEnd as then completeWithCompleter else pure $ Just []
1569.22 s
[opt-env-conf-test] let completeWithDasheds = do
1569.22 s
[opt-env-conf-test] let isLong = \case
1569.22 s
[opt-env-conf-test] - DashedLong _ -> Tr u e
1569.22 s
[opt-env-conf-test] + DashedLong _ -> F a ls e
1569.22 s
[opt-env-conf-test] DashedShort _ -> False
1569.22 s
[opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1569.22 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1569.22 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:296:31-38
1569.22 s
[opt-env-conf-test] @@ -293,7 +293,7 @@
1569.22 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1569.22 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1569.22 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1569.22 s
[opt-env-conf-test] - (Just cs, Nothing) -> J u s t c s
1569.22 s
[opt-env-conf-test] + (Just cs, Nothing) -> No t h ing
1569.22 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1569.22 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1569.22 s
[opt-env-conf-test]
1569.22 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:378:19-31
1569.22 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1569.22 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1569.22 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1569.22 s
[opt-env-conf-test] -- command's completions.
1569.22 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1569.22 s
[opt-env-conf-test] + | n o t ( argsAtEnd as ) -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1569.22 s
[opt-env-conf-test] | otherwise -> do
1569.22 s
[opt-env-conf-test] -- The default command consumed args, so its
1569.22 s
[opt-env-conf-test] -- completions are valid. But we must restore
1569.22 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
1569.22 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1569.22 s
[opt-env-conf-test] pure Completion {..}
1569.22 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1569.22 s
[opt-env-conf-test] as <- get
1575.65 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ J u s t [ ]
1575.67 s
[opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ No t h ing
1575.67 s
[opt-env-conf-test] let completeWithDasheds = do
1575.67 s
[opt-env-conf-test] let isLong = \case
1575.67 s
[opt-env-conf-test] DashedLong _ -> True
1575.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
1575.67 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1575.68 s
[opt-env-conf-test] )
1575.68 s
[opt-env-conf-test] suggestions
1575.68 s
[opt-env-conf-test] pure $ Just completions
1575.68 s
[opt-env-conf-test] - if s e ttin gHidden
1575.68 s
[opt-env-conf-test] + if T ru e
1575.68 s
[opt-env-conf-test] then pure $ Just []
1575.68 s
[opt-env-conf-test] else do
1575.68 s
[opt-env-conf-test] as <- get
1575.68 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:413:22-38
1575.68 s
[opt-env-conf-test] @@ -410,7 +410,7 @@
1575.68 s
[opt-env-conf-test] . SuggestionBare
1575.68 s
[opt-env-conf-test] )
1575.68 s
[opt-env-conf-test] suggestions
1575.68 s
[opt-env-conf-test] - pure $ J us t c o m pl e t i o n s
1575.68 s
[opt-env-conf-test] + pure $ N o t h i n g
1575.68 s
[opt-env-conf-test] if settingHidden
1575.68 s
[opt-env-conf-test] then pure $ Just []
1575.68 s
[opt-env-conf-test] else do
1575.68 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:403:41-66
1575.68 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1575.68 s
[opt-env-conf-test] let isLong = \case
1575.68 s
[opt-env-conf-test] DashedLong _ -> True
1575.68 s
[opt-env-conf-test] DashedShort _ -> False
1575.68 s
[opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1575.68 s
[opt-env-conf-test] + let favorableDasheds = if n o t ( any isLong settingDasheds ) then filter isLong settingDasheds else settingDasheds
1575.68 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1575.68 s
[opt-env-conf-test] let completions =
1575.68 s
[opt-env-conf-test] map
1575.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
1575.68 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1575.68 s
[opt-env-conf-test] then pure $ Just []
1575.68 s
[opt-env-conf-test] else do
1575.68 s
[opt-env-conf-test] as <- get
1575.68 s
[opt-env-conf-test] - if se tt ingTr yArgument
1575.68 s
[opt-env-conf-test] + if F a l se
1575.68 s
[opt-env-conf-test] then do
1575.68 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1575.68 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1575.68 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:428:28-35
1575.68 s
[opt-env-conf-test] @@ -425,7 +425,7 @@
1575.68 s
[opt-env-conf-test] case filter (isJust . fst) possibilities of
1575.68 s
[opt-env-conf-test] (_, as') : _ -> do
1575.68 s
[opt-env-conf-test] put as'
1575.68 s
[opt-env-conf-test] - pure $ J u s t [ ]
1575.69 s
[opt-env-conf-test] + pure $ No t h ing
1575.69 s
[opt-env-conf-test] [] ->
1575.69 s
[opt-env-conf-test] -- No possibility consumed a value. This is either
1575.69 s
[opt-env-conf-test] -- because there are no args at all (the [] case from
1575.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
1575.69 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1575.69 s
[opt-env-conf-test] then pure $ Just []
1575.69 s
[opt-env-conf-test] else do
1575.69 s
[opt-env-conf-test] as <- get
1575.69 s
[opt-env-conf-test] - if s e tt ing T ry A r g u m e n t
1575.69 s
[opt-env-conf-test] + if T r u e
1575.69 s
[opt-env-conf-test] then do
1575.69 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1575.69 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1575.69 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
1575.69 s
[opt-env-conf-test] @@ -434,9 +434,8 @@
1575.69 s
[opt-env-conf-test] -- completer if we are at the end.
1575.69 s
[opt-env-conf-test] case possibilities of
1575.69 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
1575.69 s
[opt-env-conf-test] (_, as') : _ -> do
1575.69 s
[opt-env-conf-test] - put as'
1575.69 s
[opt-env-conf-test] completeWithCompleterAtEnd
1575.69 s
[opt-env-conf-test] else
1575.69 s
[opt-env-conf-test] if isJust settingSwitchValue
1575.69 s
[opt-env-conf-test] then do
1575.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1575.69 s
[opt-env-conf-test] @@ -432,11 +432,10 @@
1575.69 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1575.69 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1575.69 s
[opt-env-conf-test] -- completer if we are at the end.
1575.69 s
[opt-env-conf-test] case possibilities of
1575.69 s
[opt-env-conf-test] - [] -> completeWithCompleterAtEnd
1575.69 s
[opt-env-conf-test] (_, as') : _ -> do
1575.69 s
[opt-env-conf-test] put as'
1575.69 s
[opt-env-conf-test] completeWithCompleterAtEnd
1575.69 s
[opt-env-conf-test] else
1575.69 s
[opt-env-conf-test] if isJust settingSwitchValue
1575.69 s
[opt-env-conf-test] then do
1575.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
1575.69 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1575.69 s
[opt-env-conf-test] put as'
1575.69 s
[opt-env-conf-test] completeWithCompleterAtEnd
1575.69 s
[opt-env-conf-test] else
1575.69 s
[opt-env-conf-test] - if i s J u s t s e t tin gSwitchValue
1575.69 s
[opt-env-conf-test] + if Tr u e
1575.69 s
[opt-env-conf-test] then do
1575.69 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1575.69 s
[opt-env-conf-test] -- it's already been parsed.
1575.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
1575.69 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1575.69 s
[opt-env-conf-test] put as'
1575.69 s
[opt-env-conf-test] completeWithCompleterAtEnd
1575.69 s
[opt-env-conf-test] else
1575.69 s
[opt-env-conf-test] - if i s Jus t s e tti ngSwit chV al u e
1575.69 s
[opt-env-conf-test] + if F al s e
1575.69 s
[opt-env-conf-test] then do
1575.69 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1575.69 s
[opt-env-conf-test] -- it's already been parsed.
1575.69 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:418:16-34
1575.69 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1575.69 s
[opt-env-conf-test] then pure $ Just []
1575.69 s
[opt-env-conf-test] else do
1575.69 s
[opt-env-conf-test] as <- get
1575.69 s
[opt-env-conf-test] - if settingTryArgument
1575.70 s
[opt-env-conf-test] + if n o t ( settingTryArgument )
1575.70 s
[opt-env-conf-test] then do
1575.70 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1575.70 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1575.70 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:426:35-35
1575.70 s
[opt-env-conf-test] @@ -423,9 +423,8 @@
1575.70 s
[opt-env-conf-test] -- that over the "don't consume" fallback, because a
1575.70 s
[opt-env-conf-test] -- consumed value means the user already provided input.
1575.70 s
[opt-env-conf-test] case filter (isJust . fst) possibilities of
1575.70 s
[opt-env-conf-test] (_, as') : _ -> do
1575.70 s
[opt-env-conf-test] - put as'
1575.70 s
[opt-env-conf-test] pure $ Just []
1575.70 s
[opt-env-conf-test] [] ->
1575.70 s
[opt-env-conf-test] -- No possibility consumed a value. This is either
1575.70 s
[opt-env-conf-test] -- because there are no args at all (the [] case from
1575.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
1575.70 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1575.70 s
[opt-env-conf-test] )
1575.70 s
[opt-env-conf-test] suggestions
1575.70 s
[opt-env-conf-test] pure $ Just completions
1575.70 s
[opt-env-conf-test] - if s e tti ngHi dd e n
1575.70 s
[opt-env-conf-test] + if F a l s e
1575.70 s
[opt-env-conf-test] then pure $ Just []
1575.70 s
[opt-env-conf-test] else do
1575.70 s
[opt-env-conf-test] as <- get
1575.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
1575.70 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1575.70 s
[opt-env-conf-test] let isLong = \case
1575.70 s
[opt-env-conf-test] DashedLong _ -> True
1575.71 s
[opt-env-conf-test] DashedShort _ -> False
1575.71 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
1575.71 s
[opt-env-conf-test] + let favorableDasheds = if F a l s e then filter isLong settingDasheds else settingDasheds
1582.75 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1582.75 s
[opt-env-conf-test] let completions =
1582.78 s
[opt-env-conf-test] map
1582.78 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1582.78 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1582.78 s
[opt-env-conf-test] put as'
1582.78 s
[opt-env-conf-test] pure $ Just []
1582.78 s
[opt-env-conf-test] else do
1582.78 s
[opt-env-conf-test] - if se tt ingT ryOption
1582.78 s
[opt-env-conf-test] + if F a l se
1582.78 s
[opt-env-conf-test] then do
1582.78 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1582.78 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1582.78 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:453:24-40
1582.78 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1582.78 s
[opt-env-conf-test] put as'
1582.78 s
[opt-env-conf-test] pure $ Just []
1582.78 s
[opt-env-conf-test] else do
1582.78 s
[opt-env-conf-test] - if settingTryOption
1582.78 s
[opt-env-conf-test] + if n o t ( settingTryOption )
1582.78 s
[opt-env-conf-test] then do
1582.78 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1582.78 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1582.78 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:459:36-43
1582.78 s
[opt-env-conf-test] @@ -456,7 +456,7 @@
1582.78 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1582.78 s
[opt-env-conf-test] Just (_, as') -> do
1582.78 s
[opt-env-conf-test] put as'
1582.78 s
[opt-env-conf-test] - pure $ J u s t [ ]
1582.78 s
[opt-env-conf-test] + pure $ No t h ing
1582.78 s
[opt-env-conf-test] Nothing -> do
1582.78 s
[opt-env-conf-test] if argsAtEnd as
1582.79 s
[opt-env-conf-test] then completeWithDasheds
1582.79 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:457:44-43
1582.79 s
[opt-env-conf-test] @@ -454,9 +454,8 @@
1582.79 s
[opt-env-conf-test] then do
1582.79 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1582.79 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1582.79 s
[opt-env-conf-test] Just (_, as') -> do
1582.79 s
[opt-env-conf-test] - put as'
1582.79 s
[opt-env-conf-test] pure $ Just []
1582.79 s
[opt-env-conf-test] Nothing -> do
1582.79 s
[opt-env-conf-test] if argsAtEnd as
1582.79 s
[opt-env-conf-test] then completeWithDasheds
1582.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
1582.79 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1582.79 s
[opt-env-conf-test] put as'
1582.79 s
[opt-env-conf-test] pure $ Just []
1582.79 s
[opt-env-conf-test] Nothing -> do
1582.79 s
[opt-env-conf-test] - if a r g s A t End as
1582.79 s
[opt-env-conf-test] + if F a l s e
1582.79 s
[opt-env-conf-test] then completeWithDasheds
1582.79 s
[opt-env-conf-test] else do
1582.79 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1582.79 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:461:32-44
1582.79 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1582.79 s
[opt-env-conf-test] put as'
1582.79 s
[opt-env-conf-test] pure $ Just []
1582.79 s
[opt-env-conf-test] Nothing -> do
1582.79 s
[opt-env-conf-test] - if argsAtEnd as
1582.79 s
[opt-env-conf-test] + if n o t ( argsAtEnd as )
1582.79 s
[opt-env-conf-test] then completeWithDasheds
1582.79 s
[opt-env-conf-test] else do
1582.79 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1582.79 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:473:53-60
1582.79 s
[opt-env-conf-test] @@ -470,7 +470,7 @@
1582.79 s
[opt-env-conf-test] -- the option because consumeOption would try to
1582.79 s
[opt-env-conf-test] -- consume the option argument too.
1582.80 s
[opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
1582.80 s
[opt-env-conf-test] - Nothing -> pure $ J u s t [ ]
1582.80 s
[opt-env-conf-test] + Nothing -> pure $ No t h ing
1582.80 s
[opt-env-conf-test] Just as' -> do
1582.80 s
[opt-env-conf-test] put as'
1582.80 s
[opt-env-conf-test] completeWithCompleterAtEnd
1582.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
1582.80 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1582.80 s
[opt-env-conf-test] put as'
1582.80 s
[opt-env-conf-test] pure $ Just []
1582.80 s
[opt-env-conf-test] Nothing -> do
1582.80 s
[opt-env-conf-test] - if a r gs AtE nd as
1582.80 s
[opt-env-conf-test] + if T r ue
1582.80 s
[opt-env-conf-test] then completeWithDasheds
1582.80 s
[opt-env-conf-test] else do
1582.80 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1582.80 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:487:32-39
1582.80 s
[opt-env-conf-test] @@ -484,4 +484,4 @@
1582.80 s
[opt-env-conf-test] -- this branch, improving completions when one branch
1582.80 s
[opt-env-conf-test] -- is env/conf-only and the other has args/options.
1582.80 s
[opt-env-conf-test] -- This would require IO or an environment parameter.
1582.80 s
[opt-env-conf-test] - pure $ J u s t [ ]
1582.80 s
[opt-env-conf-test] + pure $ No t h ing
1582.80 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:474:47-63
1582.80 s
[opt-env-conf-test] @@ -471,9 +471,8 @@
1582.80 s
[opt-env-conf-test] -- consume the option argument too.
1582.80 s
[opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
1582.80 s
[opt-env-conf-test] Nothing -> pure $ Just []
1582.80 s
[opt-env-conf-test] Just as' -> do
1582.80 s
[opt-env-conf-test] - put as'
1582.80 s
[opt-env-conf-test] completeWithCompleterAtEnd
1582.80 s
[opt-env-conf-test] else do
1582.80 s
[opt-env-conf-test] -- We can't auto-complete settings parsed from env vars
1582.80 s
[opt-env-conf-test] -- or config values, but this path is still valid.
1582.80 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1582.80 s
[opt-env-conf-test] @@ -432,11 +432,8 @@
1582.80 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1582.80 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1582.80 s
[opt-env-conf-test] -- completer if we are at the end.
1582.80 s
[opt-env-conf-test] case possibilities of
1582.80 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
1582.80 s
[opt-env-conf-test] - (_, as') : _ -> do
1582.80 s
[opt-env-conf-test] - put as'
1582.80 s
[opt-env-conf-test] - completeWithCompleterAtEnd
1582.80 s
[opt-env-conf-test] else
1582.80 s
[opt-env-conf-test] if isJust settingSwitchValue
1582.80 s
[opt-env-conf-test] then do
1582.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
1582.81 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1582.81 s
[opt-env-conf-test] -- import System.IO
1582.81 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1582.81 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1582.81 s
[opt-env-conf-test] - if e n r i ch e d
1582.81 s
[opt-env-conf-test] + if T r u e
1582.81 s
[opt-env-conf-test] then
1582.81 s
[opt-env-conf-test] putStr $
1582.81 s
[opt-env-conf-test] unlines $
1582.81 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
1582.81 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1582.81 s
[opt-env-conf-test] -- import System.IO
1582.81 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1582.81 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1582.81 s
[opt-env-conf-test] - if e n r iched
1582.81 s
[opt-env-conf-test] + if F a l s e
1582.81 s
[opt-env-conf-test] then
1582.81 s
[opt-env-conf-test] putStr $
1582.81 s
[opt-env-conf-test] unlines $
1582.81 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:171:6-14
1582.81 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
1582.81 s
[opt-env-conf-test] -- import System.IO
1582.81 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1582.81 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1582.81 s
[opt-env-conf-test] - if enriched
1582.81 s
[opt-env-conf-test] + if n o t ( enriched )
1582.81 s
[opt-env-conf-test] then
1582.81 s
[opt-env-conf-test] putStr $
1582.81 s
[opt-env-conf-test] unlines $
1582.81 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
1582.81 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1584.49 s
[opt-env-conf-test] map
1584.49 s
[opt-env-conf-test] ( \Completion {..} ->
1584.49 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1584.49 s
[opt-env-conf-test] - notFinal = c om plet ionR es u lt Finality comp l e t io nSuggestion == CompletionNotFinal
1584.49 s
[opt-env-conf-test] + notFinal = T r u e
1584.49 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1584.49 s
[opt-env-conf-test] (False, Nothing) -> val
1584.49 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1584.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
1584.49 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1584.49 s
[opt-env-conf-test] map
1584.49 s
[opt-env-conf-test] ( \Completion {..} ->
1584.49 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1584.49 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
1584.49 s
[opt-env-conf-test] + notFinal = F al s e
1584.49 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1584.49 s
[opt-env-conf-test] (False, Nothing) -> val
1584.50 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1584.50 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:178:32-99
1584.50 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1584.50 s
[opt-env-conf-test] map
1584.50 s
[opt-env-conf-test] ( \Completion {..} ->
1584.50 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1584.50 s
[opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1584.50 s
[opt-env-conf-test] + notFinal = n o t ( completionResultFinality completionSuggestion == CompletionNotFinal )
1584.50 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1584.50 s
[opt-env-conf-test] (False, Nothing) -> val
1584.50 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1584.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
1584.50 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1584.50 s
[opt-env-conf-test] ( \Completion {..} ->
1584.50 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1584.50 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1584.50 s
[opt-env-conf-test] - in case ( n o t Fin a l , completionDescription) of
1584.50 s
[opt-env-conf-test] + in case ( T ru e , completionDescription) of
1584.50 s
[opt-env-conf-test] (False, Nothing) -> val
1584.50 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1584.50 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1584.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
1584.50 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1584.50 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1584.50 s
[opt-env-conf-test] exitSuccess
1584.50 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1584.50 s
[opt-env-conf-test] - runCompletionQuery p' e n r ich e d index ws
1584.50 s
[opt-env-conf-test] + runCompletionQuery p' F a l s e index ws
1584.50 s
[opt-env-conf-test] exitSuccess
1584.50 s
[opt-env-conf-test] ParsedNormally a -> pure a
1584.50 s
[opt-env-conf-test]
1584.50 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
1584.50 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1584.50 s
[opt-env-conf-test] ( \Completion {..} ->
1584.50 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1584.50 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1584.50 s
[opt-env-conf-test] - in case ( n o t F i n al , completionDescription) of
1584.50 s
[opt-env-conf-test] + in case ( F al s e , completionDescription) of
1584.50 s
[opt-env-conf-test] (False, Nothing) -> val
1584.51 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1584.51 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1584.51 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1584.51 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1584.51 s
[opt-env-conf-test] put as'
1584.51 s
[opt-env-conf-test] pure $ Just []
1584.51 s
[opt-env-conf-test] else do
1584.51 s
[opt-env-conf-test] - if s e tt in g Tr y Opti on
1584.51 s
[opt-env-conf-test] + if Tr ue
1584.51 s
[opt-env-conf-test] then do
1584.51 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1584.51 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1584.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1584.51 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1584.51 s
[opt-env-conf-test] ( \Completion {..} ->
1584.51 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1584.51 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1584.51 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1584.51 s
[opt-env-conf-test] - (False, Nothing) -> val
1584.51 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1584.51 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1584.51 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1584.51 s
[opt-env-conf-test] )
1584.51 s
[opt-env-conf-test] evaluatedCompletions
1584.51 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1584.51 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:179:27-35
1584.51 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1584.51 s
[opt-env-conf-test] ( \Completion {..} ->
1584.51 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1584.51 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1584.51 s
[opt-env-conf-test] - in case (notFinal , completionDescription) of
1584.51 s
[opt-env-conf-test] + in case ( n ot (notFinal ) , completionDescription) of
1584.51 s
[opt-env-conf-test] (False, Nothing) -> val
1584.51 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1584.51 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1584.51 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
1584.52 s
[opt-env-conf-test] @@ -160,7 +160,7 @@
1584.52 s
[opt-env-conf-test] --
1584.52 s
[opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
1584.52 s
[opt-env-conf-test] let index = pred index'
1584.52 s
[opt-env-conf-test] - let ws = drop 1 ws'
1584.52 s
[opt-env-conf-test] + let ws = drop - 1 ws'
1584.52 s
[opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
1584.52 s
[opt-env-conf-test] let completions = pureCompletionQuery parser index ws
1584.52 s
[opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
1584.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
1584.52 s
[opt-env-conf-test] @@ -304,9 +304,8 @@
1584.52 s
[opt-env-conf-test] Nothing -> pure Nothing
1584.52 s
[opt-env-conf-test] Just cs1 -> do
1584.52 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1584.52 s
[opt-env-conf-test] pure $ case p2s of
1584.52 s
[opt-env-conf-test] Nothing -> Nothing
1584.52 s
[opt-env-conf-test] - Just cs2 -> pure $ cs1 ++ cs2
1584.52 s
[opt-env-conf-test]
1584.52 s
[opt-env-conf-test] -- Nothing means "this branch was not valid"
1584.52 s
[opt-env-conf-test] -- Just [] means "no completions"
1584.52 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:414:12-25
1584.52 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1584.52 s
[opt-env-conf-test] )
1584.52 s
[opt-env-conf-test] suggestions
1584.52 s
[opt-env-conf-test] pure $ Just completions
1584.52 s
[opt-env-conf-test] - if settingHidden
1584.52 s
[opt-env-conf-test] + if n o t ( settingHidden )
1584.52 s
[opt-env-conf-test] then pure $ Just []
1584.52 s
[opt-env-conf-test] else do
1584.52 s
[opt-env-conf-test] as <- get
1584.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
1584.52 s
[opt-env-conf-test] @@ -160,7 +160,7 @@
1584.52 s
[opt-env-conf-test] --
1584.52 s
[opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
1584.52 s
[opt-env-conf-test] let index = pred index'
1584.52 s
[opt-env-conf-test] - let ws = drop 1 ws'
1584.52 s
[opt-env-conf-test] + let ws = drop 0 ws'
1584.52 s
[opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
1584.52 s
[opt-env-conf-test] let completions = pureCompletionQuery parser index ws
1584.52 s
[opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
1584.52 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:449:35-39
1584.52 s
[opt-env-conf-test] @@ -446,9 +446,8 @@
1584.52 s
[opt-env-conf-test] Nothing ->
1584.52 s
[opt-env-conf-test] -- A switch can be anywhere, doesn't need to be at the end.
1588.51 s
[opt-env-conf-test] completeWithDasheds
1588.51 s
[opt-env-conf-test] Just as' -> do
1588.51 s
[opt-env-conf-test] - put as'
1588.59 s
[opt-env-conf-test] pure $ Just []
1588.59 s
[opt-env-conf-test] else do
1588.59 s
[opt-env-conf-test] if settingTryOption
1588.59 s
[opt-env-conf-test] then do
1588.59 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:451:32-39
1588.59 s
[opt-env-conf-test] @@ -448,7 +448,7 @@
1588.59 s
[opt-env-conf-test] completeWithDasheds
1588.59 s
[opt-env-conf-test] Just as' -> do
1588.59 s
[opt-env-conf-test] put as'
1588.59 s
[opt-env-conf-test] - pure $ J u s t [ ]
1588.59 s
[opt-env-conf-test] + pure $ No t h ing
1588.59 s
[opt-env-conf-test] else do
1588.59 s
[opt-env-conf-test] if settingTryOption
1588.59 s
[opt-env-conf-test] then do
1588.59 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:441:20-45
1588.59 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1588.59 s
[opt-env-conf-test] put as'
1588.59 s
[opt-env-conf-test] completeWithCompleterAtEnd
1588.60 s
[opt-env-conf-test] else
1588.60 s
[opt-env-conf-test] - if isJust settingSwitchValue
1588.60 s
[opt-env-conf-test] + if n o t ( isJust settingSwitchValue )
1588.60 s
[opt-env-conf-test] then do
1588.60 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1588.60 s
[opt-env-conf-test] -- it's already been parsed.
1588.60 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:154:21-66
1588.60 s
[opt-env-conf-test] @@ -151,7 +151,6 @@
1588.60 s
[opt-env-conf-test] exitSuccess
1588.60 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1588.60 s
[opt-env-conf-test] progname <- getProgName
1588.60 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
1588.60 s
[opt-env-conf-test] exitSuccess
1588.60 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1588.60 s
[opt-env-conf-test] progname <- getProgName
1588.60 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:415:23-30
1588.60 s
[opt-env-conf-test] @@ -412,7 +412,7 @@
1588.60 s
[opt-env-conf-test] suggestions
1588.60 s
[opt-env-conf-test] pure $ Just completions
1588.60 s
[opt-env-conf-test] if settingHidden
1588.60 s
[opt-env-conf-test] - then pure $ J u s t [ ]
1588.60 s
[opt-env-conf-test] + then pure $ No t h ing
1588.60 s
[opt-env-conf-test] else do
1588.60 s
[opt-env-conf-test] as <- get
1588.60 s
[opt-env-conf-test] if settingTryArgument
1588.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1588.60 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1588.60 s
[opt-env-conf-test] ( \Completion {..} ->
1588.60 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1588.60 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1588.60 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1588.60 s
[opt-env-conf-test] (False, Nothing) -> val
1588.60 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1588.60 s
[opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
1588.60 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1588.60 s
[opt-env-conf-test] )
1588.60 s
[opt-env-conf-test] evaluatedCompletions
1588.61 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1588.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1588.61 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1588.61 s
[opt-env-conf-test] ( \Completion {..} ->
1588.61 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1588.61 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1588.61 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1588.61 s
[opt-env-conf-test] (False, Nothing) -> val
1588.61 s
[opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
1588.61 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1588.61 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1588.61 s
[opt-env-conf-test] )
1588.61 s
[opt-env-conf-test] evaluatedCompletions
1588.61 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1588.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1588.61 s
[opt-env-conf-test] @@ -40,22 +40,21 @@
1588.61 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1588.61 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1588.61 s
[opt-env-conf-test] in unlines
1588.61 s
[opt-env-conf-test] [ functionName ++ "()",
1588.61 s
[opt-env-conf-test] "{",
1588.61 s
[opt-env-conf-test] " local CMDLINE",
1588.61 s
[opt-env-conf-test] " local IFS=$'\\n'",
1588.61 s
[opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
1588.61 s
[opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
1588.61 s
[opt-env-conf-test] "",
1588.61 s
[opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
1588.61 s
[opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1588.61 s
[opt-env-conf-test] " done",
1588.61 s
[opt-env-conf-test] "",
1588.61 s
[opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1588.61 s
[opt-env-conf-test] "}",
1588.61 s
[opt-env-conf-test] "",
1588.61 s
[opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
1588.61 s
[opt-env-conf-test] ]
1588.61 s
[opt-env-conf-test]
1588.61 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1588.61 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1588.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
1588.61 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1588.61 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1588.61 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1588.61 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1588.61 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
1588.61 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc F a l s e caps f <$> go p
1588.61 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1588.61 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1588.61 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1588.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1588.61 s
[opt-env-conf-test] @@ -113,27 +113,26 @@
1588.62 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1588.62 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1588.62 s
[opt-env-conf-test] in unlines
1588.62 s
[opt-env-conf-test] [ " function " ++ functionName,
1588.62 s
[opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
1588.62 s
[opt-env-conf-test] " # Hack around fish issue #3934",
1588.62 s
[opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1588.62 s
[opt-env-conf-test] " set -l cn (count $cn)",
1588.62 s
[opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1588.62 s
[opt-env-conf-test] " for arg in $cl",
1588.62 s
[opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
1588.62 s
[opt-env-conf-test] " end",
1588.62 s
[opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1588.62 s
[opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
1588.62 s
[opt-env-conf-test] " if test -d $val",
1588.62 s
[opt-env-conf-test] " echo -E \"$val/\"",
1588.62 s
[opt-env-conf-test] " else",
1588.62 s
[opt-env-conf-test] " echo -E \"$val\"",
1588.62 s
[opt-env-conf-test] " end",
1588.62 s
[opt-env-conf-test] " end",
1588.62 s
[opt-env-conf-test] "end",
1588.62 s
[opt-env-conf-test] "",
1588.62 s
[opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1588.62 s
[opt-env-conf-test] ]
1588.62 s
[opt-env-conf-test]
1588.62 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1588.62 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1588.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
1588.62 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1588.62 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1588.62 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1588.62 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1588.62 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
1588.62 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc T r u e caps f <$> go p
1588.62 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1588.62 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1588.62 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1588.62 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1588.62 s
[opt-env-conf-test] @@ -64,46 +64,45 @@
1588.62 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1588.62 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1588.62 s
[opt-env-conf-test] unlines
1588.62 s
[opt-env-conf-test] [ "#compdef " ++ progname,
1588.62 s
[opt-env-conf-test] "",
1588.62 s
[opt-env-conf-test] "local request",
1588.62 s
[opt-env-conf-test] "local completions",
1588.62 s
[opt-env-conf-test] "local word",
1588.62 s
[opt-env-conf-test] "local index=$((CURRENT - 1))",
1588.62 s
[opt-env-conf-test] "",
1588.62 s
[opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1589.95 s
[opt-env-conf-test] "for arg in ${words[@]}; do",
1589.95 s
[opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
1589.95 s
[opt-env-conf-test] "done",
1589.95 s
[opt-env-conf-test] "",
1589.95 s
[opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1589.95 s
[opt-env-conf-test] "",
1589.95 s
[opt-env-conf-test] "for word in $completions; do",
1589.95 s
[opt-env-conf-test] " local -a parts",
1589.95 s
[opt-env-conf-test] "",
1589.95 s
[opt-env-conf-test] " # Split the line at a tab if there is one.",
1589.95 s
[opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
1589.95 s
[opt-env-conf-test] "",
1589.95 s
[opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
1589.96 s
[opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
1589.96 s
[opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
1589.96 s
[opt-env-conf-test] " compadd -d desc -- $parts[1]",
1589.96 s
[opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
1589.96 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1589.96 s
[opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
1589.96 s
[opt-env-conf-test] " else",
1589.96 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1589.96 s
[opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
1589.96 s
[opt-env-conf-test] " fi",
1589.96 s
[opt-env-conf-test] " else",
1589.96 s
[opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
1589.96 s
[opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
1589.96 s
[opt-env-conf-test] " else",
1589.96 s
[opt-env-conf-test] " compadd -f -- $parts[1]",
1589.96 s
[opt-env-conf-test] " fi",
1589.96 s
[opt-env-conf-test] " fi",
1589.96 s
[opt-env-conf-test] - "done"
1589.96 s
[opt-env-conf-test] ]
1589.96 s
[opt-env-conf-test]
1589.96 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1589.96 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1589.96 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1589.96 s
[opt-env-conf-test] @@ -113,27 +113,7 @@
1589.96 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1589.96 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1589.96 s
[opt-env-conf-test] in unlines
1589.96 s
[opt-env-conf-test] - [ " function " ++ functionName,
1589.96 s
[opt-env-conf-test] - " set -l cl (commandline --tokenize --current-process)",
1589.96 s
[opt-env-conf-test] - " # Hack around fish issue #3934",
1589.96 s
[opt-env-conf-test] - " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1589.96 s
[opt-env-conf-test] - " set -l cn (count $cn)",
1589.96 s
[opt-env-conf-test] - " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1589.97 s
[opt-env-conf-test] - " for arg in $cl",
1589.97 s
[opt-env-conf-test] - " set tmpline $tmpline --completion-word $arg",
1589.97 s
[opt-env-conf-test] - " end",
1589.97 s
[opt-env-conf-test] - " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1589.97 s
[opt-env-conf-test] - " set -l val (string split \\t -- $opt)[1]",
1589.97 s
[opt-env-conf-test] - " if test -d $val",
1589.97 s
[opt-env-conf-test] - " echo -E \"$val/\"",
1589.97 s
[opt-env-conf-test] - " else",
1589.97 s
[opt-env-conf-test] - " echo -E \"$val\"",
1589.97 s
[opt-env-conf-test] - " end",
1589.97 s
[opt-env-conf-test] - " end",
1589.97 s
[opt-env-conf-test] - "end",
1589.97 s
[opt-env-conf-test] - "",
1589.97 s
[opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1589.97 s
[opt-env-conf-test] ]
1589.97 s
[opt-env-conf-test]
1589.97 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1589.97 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1589.97 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:171:3-100
1589.97 s
[opt-env-conf-test] @@ -168,22 +168,6 @@
1589.97 s
[opt-env-conf-test] -- import System.IO
1589.97 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1589.97 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1589.97 s
[opt-env-conf-test] - if enriched
1589.97 s
[opt-env-conf-test] - then
1589.97 s
[opt-env-conf-test] - putStr $
1589.97 s
[opt-env-conf-test] - unlines $
1589.97 s
[opt-env-conf-test] - map
1589.97 s
[opt-env-conf-test] - ( \Completion {..} ->
1589.97 s
[opt-env-conf-test] - let val = completionResultValue completionSuggestion
1589.97 s
[opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1589.97 s
[opt-env-conf-test] - in case (notFinal, completionDescription) of
1589.97 s
[opt-env-conf-test] - (False, Nothing) -> val
1589.97 s
[opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
1589.97 s
[opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
1589.97 s
[opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
1589.97 s
[opt-env-conf-test] - )
1589.97 s
[opt-env-conf-test] - evaluatedCompletions
1589.97 s
[opt-env-conf-test] - else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1589.97 s
[opt-env-conf-test] pure ()
1589.97 s
[opt-env-conf-test]
1589.97 s
[opt-env-conf-test] -- Because the first arg has already been skipped we get input like this here:
1589.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1589.97 s
[opt-env-conf-test] @@ -113,27 +113,26 @@
1589.97 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1589.97 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1589.97 s
[opt-env-conf-test] in unlines
1589.97 s
[opt-env-conf-test] - [ " function " ++ functionName,
1589.97 s
[opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
1589.97 s
[opt-env-conf-test] " # Hack around fish issue #3934",
1589.97 s
[opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1589.97 s
[opt-env-conf-test] " set -l cn (count $cn)",
1589.97 s
[opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1589.97 s
[opt-env-conf-test] " for arg in $cl",
1589.97 s
[opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
1589.97 s
[opt-env-conf-test] " end",
1589.97 s
[opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1589.97 s
[opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
1589.97 s
[opt-env-conf-test] " if test -d $val",
1589.97 s
[opt-env-conf-test] " echo -E \"$val/\"",
1589.97 s
[opt-env-conf-test] " else",
1589.97 s
[opt-env-conf-test] " echo -E \"$val\"",
1589.97 s
[opt-env-conf-test] " end",
1589.97 s
[opt-env-conf-test] " end",
1589.97 s
[opt-env-conf-test] "end",
1589.97 s
[opt-env-conf-test] "",
1589.97 s
[opt-env-conf-test] "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1589.97 s
[opt-env-conf-test] ]
1589.97 s
[opt-env-conf-test]
1589.97 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1589.97 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1589.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1589.97 s
[opt-env-conf-test] @@ -40,22 +40,7 @@
1589.97 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1589.97 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1589.97 s
[opt-env-conf-test] in unlines
1589.97 s
[opt-env-conf-test] - [ functionName ++ "()",
1589.97 s
[opt-env-conf-test] - "{",
1589.97 s
[opt-env-conf-test] - " local CMDLINE",
1589.97 s
[opt-env-conf-test] - " local IFS=$'\\n'",
1589.97 s
[opt-env-conf-test] - " CMDLINE=(--query-opt-env-conf-completion)",
1589.98 s
[opt-env-conf-test] - " CMDLINE+=(--completion-index $COMP_CWORD)",
1589.98 s
[opt-env-conf-test] - "",
1589.98 s
[opt-env-conf-test] - " for arg in ${COMP_WORDS[@]}; do",
1589.98 s
[opt-env-conf-test] - " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1589.98 s
[opt-env-conf-test] - " done",
1589.98 s
[opt-env-conf-test] - "",
1589.98 s
[opt-env-conf-test] - " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1589.98 s
[opt-env-conf-test] - "}",
1589.98 s
[opt-env-conf-test] - "",
1589.98 s
[opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
1589.98 s
[opt-env-conf-test] ]
1589.98 s
[opt-env-conf-test]
1589.98 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1589.98 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1589.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1589.98 s
[opt-env-conf-test] @@ -64,46 +64,45 @@
1589.98 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1589.98 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1589.98 s
[opt-env-conf-test] unlines
1589.98 s
[opt-env-conf-test] - [ "#compdef " ++ progname,
1589.98 s
[opt-env-conf-test] "",
1589.98 s
[opt-env-conf-test] "local request",
1589.98 s
[opt-env-conf-test] "local completions",
1589.98 s
[opt-env-conf-test] "local word",
1589.98 s
[opt-env-conf-test] "local index=$((CURRENT - 1))",
1589.98 s
[opt-env-conf-test] "",
1589.98 s
[opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1589.98 s
[opt-env-conf-test] "for arg in ${words[@]}; do",
1589.98 s
[opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
1589.98 s
[opt-env-conf-test] "done",
1589.98 s
[opt-env-conf-test] "",
1589.98 s
[opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1589.98 s
[opt-env-conf-test] "",
1589.98 s
[opt-env-conf-test] "for word in $completions; do",
1589.98 s
[opt-env-conf-test] " local -a parts",
1589.98 s
[opt-env-conf-test] "",
1589.98 s
[opt-env-conf-test] " # Split the line at a tab if there is one.",
1589.98 s
[opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
1589.98 s
[opt-env-conf-test] "",
1589.98 s
[opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
1589.98 s
[opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
1589.98 s
[opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
1589.98 s
[opt-env-conf-test] " compadd -d desc -- $parts[1]",
1589.98 s
[opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
1589.98 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1589.98 s
[opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
1589.98 s
[opt-env-conf-test] " else",
1589.98 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1589.98 s
[opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
1589.98 s
[opt-env-conf-test] " fi",
1589.98 s
[opt-env-conf-test] " else",
1589.98 s
[opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
1589.98 s
[opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
1589.98 s
[opt-env-conf-test] " else",
1589.98 s
[opt-env-conf-test] " compadd -f -- $parts[1]",
1589.98 s
[opt-env-conf-test] " fi",
1589.98 s
[opt-env-conf-test] " fi",
1589.98 s
[opt-env-conf-test] "done"
1589.98 s
[opt-env-conf-test] ]
1589.98 s
[opt-env-conf-test]
1589.98 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1590.52 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1590.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1590.52 s
[opt-env-conf-test] @@ -64,46 +64,7 @@
1590.52 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1590.52 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1590.52 s
[opt-env-conf-test] unlines
1590.52 s
[opt-env-conf-test] - [ "#compdef " ++ progname,
1590.52 s
[opt-env-conf-test] - "",
1590.52 s
[opt-env-conf-test] - "local request",
1590.52 s
[opt-env-conf-test] - "local completions",
1590.52 s
[opt-env-conf-test] - "local word",
1590.52 s
[opt-env-conf-test] - "local index=$((CURRENT - 1))",
1590.52 s
[opt-env-conf-test] - "",
1590.52 s
[opt-env-conf-test] - "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1590.52 s
[opt-env-conf-test] - "for arg in ${words[@]}; do",
1590.53 s
[opt-env-conf-test] - " request=(${request[@]} --completion-word $arg)",
1590.53 s
[opt-env-conf-test] - "done",
1590.53 s
[opt-env-conf-test] - "",
1590.53 s
[opt-env-conf-test] - "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1590.53 s
[opt-env-conf-test] - "",
1590.53 s
[opt-env-conf-test] - "for word in $completions; do",
1590.53 s
[opt-env-conf-test] - " local -a parts",
1590.53 s
[opt-env-conf-test] - "",
1590.53 s
[opt-env-conf-test] - " # Split the line at a tab if there is one.",
1590.53 s
[opt-env-conf-test] - " IFS=$'\\t' parts=($( echo $word ))",
1590.53 s
[opt-env-conf-test] - "",
1590.53 s
[opt-env-conf-test] - " if [[ -n $parts[2] ]]; then",
1590.53 s
[opt-env-conf-test] - " if [[ $word[1] == \"-\" ]]; then",
1590.53 s
[opt-env-conf-test] - " local desc=(\"$parts[1] ($parts[2])\")",
1590.53 s
[opt-env-conf-test] - " compadd -d desc -- $parts[1]",
1590.53 s
[opt-env-conf-test] - " elif [[ $parts[3] == 'N' ]]; then",
1590.53 s
[opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1590.53 s
[opt-env-conf-test] - " compadd -f -l -S '' -d desc -- $parts[1]",
1590.53 s
[opt-env-conf-test] - " else",
1590.53 s
[opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1590.53 s
[opt-env-conf-test] - " compadd -f -l -d desc -- $parts[1]",
1590.53 s
[opt-env-conf-test] - " fi",
1590.53 s
[opt-env-conf-test] - " else",
1590.53 s
[opt-env-conf-test] - " if [[ $parts[3] == 'N' ]]; then",
1590.53 s
[opt-env-conf-test] - " compadd -f -S '' -- $parts[1]",
1590.53 s
[opt-env-conf-test] - " else",
1590.53 s
[opt-env-conf-test] - " compadd -f -- $parts[1]",
1590.53 s
[opt-env-conf-test] - " fi",
1590.53 s
[opt-env-conf-test] - " fi",
1590.53 s
[opt-env-conf-test] - "done"
1590.53 s
[opt-env-conf-test] ]
1590.53 s
[opt-env-conf-test]
1590.53 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1597.51 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1597.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1597.53 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1597.53 s
[opt-env-conf-test] ( \Completion {..} ->
1597.53 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1597.53 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1597.53 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1597.53 s
[opt-env-conf-test] (False, Nothing) -> val
1597.54 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1597.54 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1597.54 s
[opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
1597.54 s
[opt-env-conf-test] )
1597.54 s
[opt-env-conf-test] evaluatedCompletions
1597.54 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1597.54 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1173:64-74
1597.54 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1597.54 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1597.54 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1597.54 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1597.54 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
1597.54 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing n o t ( forgivable ) caps f (go p)
1597.54 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1597.54 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1597.54 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1597.54 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
1597.54 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1597.54 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1597.54 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1597.54 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1597.54 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing f o rg iv a b l e caps f (go p)
1597.54 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing F a l s e caps f (go p)
1597.54 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1597.54 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1597.54 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1597.54 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1210:64-74
1597.54 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1597.54 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1597.55 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1597.55 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1597.55 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
1597.55 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc n o t ( forgivable ) caps f <$> go p
1597.55 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1597.55 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1597.55 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1597.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1597.55 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1597.55 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1597.55 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1597.55 s
[opt-env-conf-test] bareSetting p f = do
1597.55 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1597.55 s
[opt-env-conf-test] guard $ p s
1597.55 s
[opt-env-conf-test] pure $
1597.55 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1597.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1597.55 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1597.55 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1597.55 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1597.55 s
[opt-env-conf-test] bareSetting p f = do
1597.55 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1597.55 s
[opt-env-conf-test] guard $ p s
1597.55 s
[opt-env-conf-test] pure $
1597.55 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1597.55 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:663:23-33
1597.55 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1597.55 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1597.55 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1597.55 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1597.55 s
[opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
1597.55 s
[opt-env-conf-test] + ParserCheck mLoc' n o t ( forgivable ) (Set.insert cap caps) f p
1597.55 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1597.55 s
[opt-env-conf-test] where
1597.56 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1597.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1597.56 s
[opt-env-conf-test] @@ -1016,13 +1016,12 @@
1597.56 s
[opt-env-conf-test] withFrozenCallStack $
1597.56 s
[opt-env-conf-test] choice $
1597.56 s
[opt-env-conf-test] catMaybes
1597.56 s
[opt-env-conf-test] [ bareOption,
1597.56 s
[opt-env-conf-test] fileOption,
1597.56 s
[opt-env-conf-test] bareEnv,
1597.56 s
[opt-env-conf-test] fileEnv,
1597.56 s
[opt-env-conf-test] bareConf,
1597.56 s
[opt-env-conf-test] - fileConf
1597.56 s
[opt-env-conf-test] ]
1597.56 s
[opt-env-conf-test] where
1597.56 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1597.56 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1597.56 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
1597.56 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1597.56 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1597.56 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1597.56 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1597.56 s
[opt-env-conf-test] - ParserCheck mLoc' f o r gi v a b l e (Set.insert cap caps) f p
1597.56 s
[opt-env-conf-test] + ParserCheck mLoc' T r u e (Set.insert cap caps) f p
1597.56 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1597.56 s
[opt-env-conf-test] where
1597.56 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1597.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1597.56 s
[opt-env-conf-test] @@ -1016,13 +1016,7 @@
1597.56 s
[opt-env-conf-test] withFrozenCallStack $
1597.56 s
[opt-env-conf-test] choice $
1597.56 s
[opt-env-conf-test] catMaybes
1597.56 s
[opt-env-conf-test] - [ bareOption,
1597.56 s
[opt-env-conf-test] - fileOption,
1597.56 s
[opt-env-conf-test] - bareEnv,
1597.56 s
[opt-env-conf-test] - fileEnv,
1597.56 s
[opt-env-conf-test] - bareConf,
1597.56 s
[opt-env-conf-test] - fileConf
1597.56 s
[opt-env-conf-test] ]
1597.56 s
[opt-env-conf-test] where
1597.56 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1597.56 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1597.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
1597.56 s
[opt-env-conf-test] @@ -1016,13 +1016,12 @@
1597.56 s
[opt-env-conf-test] withFrozenCallStack $
1597.56 s
[opt-env-conf-test] choice $
1597.56 s
[opt-env-conf-test] catMaybes
1597.56 s
[opt-env-conf-test] - [ bareOption,
1597.56 s
[opt-env-conf-test] fileOption,
1597.57 s
[opt-env-conf-test] bareEnv,
1597.57 s
[opt-env-conf-test] fileEnv,
1597.57 s
[opt-env-conf-test] bareConf,
1597.57 s
[opt-env-conf-test] fileConf
1597.57 s
[opt-env-conf-test] ]
1597.57 s
[opt-env-conf-test] where
1597.57 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1597.57 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1597.57 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
1597.57 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
1597.57 s
[opt-env-conf-test] checkMapMaybe func p =
1597.57 s
[opt-env-conf-test] withFrozenCallStack $
1597.57 s
[opt-env-conf-test] checkMapEither
1597.57 s
[opt-env-conf-test] ( \a -> case func a of
1597.57 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
1597.57 s
[opt-env-conf-test] - Just b -> Right b
1597.57 s
[opt-env-conf-test] )
1597.57 s
[opt-env-conf-test] p
1597.57 s
[opt-env-conf-test]
1597.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
1597.57 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
1597.57 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1597.57 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
1597.57 s
[opt-env-conf-test] bareSetting p f = do
1597.57 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
1597.57 s
[opt-env-conf-test] guard $ p s
1597.57 s
[opt-env-conf-test] pure $
1597.57 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
1597.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1597.57 s
[opt-env-conf-test] @@ -40,22 +40,21 @@
1597.57 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1597.57 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1597.57 s
[opt-env-conf-test] in unlines
1597.57 s
[opt-env-conf-test] - [ functionName ++ "()",
1597.57 s
[opt-env-conf-test] "{",
1597.57 s
[opt-env-conf-test] " local CMDLINE",
1597.57 s
[opt-env-conf-test] " local IFS=$'\\n'",
1597.57 s
[opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
1597.57 s
[opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
1597.57 s
[opt-env-conf-test] "",
1597.57 s
[opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
1597.57 s
[opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1597.57 s
[opt-env-conf-test] " done",
1597.57 s
[opt-env-conf-test] "",
1597.57 s
[opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1597.57 s
[opt-env-conf-test] "}",
1597.57 s
[opt-env-conf-test] "",
1603.29 s
[opt-env-conf-test] "complete -o filenames -F " ++ functionName ++ " " ++ progname
1603.31 s
[opt-env-conf-test] ]
1603.31 s
[opt-env-conf-test]
1603.31 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1603.31 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1603.31 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
1603.32 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
1603.32 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
1603.32 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1603.32 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1603.32 s
[opt-env-conf-test] - ParserCheck mLoc' f o rg iv a b l e (Set.insert cap caps) f p
1603.32 s
[opt-env-conf-test] + ParserCheck mLoc' F a l s e (Set.insert cap caps) f p
1603.32 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
1603.32 s
[opt-env-conf-test] where
1603.32 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1603.32 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:664:25-30
1603.32 s
[opt-env-conf-test] @@ -661,7 +661,7 @@
1603.32 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
1603.32 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
1603.32 s
[opt-env-conf-test] ParserCheck mLoc' forgivable (Set.insert cap caps) f p
1603.32 s
[opt-env-conf-test] - p -> ParserCheck mLoc F al s e (Set.singleton cap) (pure . Right) p
1603.32 s
[opt-env-conf-test] + p -> ParserCheck mLoc T ru e (Set.singleton cap) (pure . Right) p
1603.32 s
[opt-env-conf-test] where
1603.32 s
[opt-env-conf-test] cap = Capability (T.pack capName)
1603.32 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1603.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
1603.32 s
[opt-env-conf-test] @@ -700,9 +700,8 @@
1603.32 s
[opt-env-conf-test] [] -> (Nothing, [])
1603.32 s
[opt-env-conf-test] (b : bs) ->
1603.32 s
[opt-env-conf-test] let (mDefault, cs) = go bs
1603.32 s
[opt-env-conf-test] in case b of
1603.32 s
[opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
1603.32 s
[opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
1603.32 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1603.32 s
[opt-env-conf-test]
1603.32 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
1603.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
1603.32 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
1603.32 s
[opt-env-conf-test] checkMapMaybe func p =
1603.32 s
[opt-env-conf-test] withFrozenCallStack $
1603.32 s
[opt-env-conf-test] checkMapEither
1603.32 s
[opt-env-conf-test] ( \a -> case func a of
1603.32 s
[opt-env-conf-test] - Nothing -> Left "checkMapMaybe failed without a helpful error message"
1603.32 s
[opt-env-conf-test] Just b -> Right b
1603.32 s
[opt-env-conf-test] )
1603.32 s
[opt-env-conf-test] p
1603.32 s
[opt-env-conf-test]
1603.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
1603.32 s
[opt-env-conf-test] @@ -671,9 +671,8 @@
1603.32 s
[opt-env-conf-test] checkMapMaybeForgivable func p =
1603.32 s
[opt-env-conf-test] withFrozenCallStack $
1603.32 s
[opt-env-conf-test] checkMapEitherForgivable
1603.32 s
[opt-env-conf-test] ( \a -> case func a of
1603.32 s
[opt-env-conf-test] - Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
1603.32 s
[opt-env-conf-test] Just b -> Right b
1603.32 s
[opt-env-conf-test] )
1603.32 s
[opt-env-conf-test] p
1603.32 s
[opt-env-conf-test]
1603.32 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1055:12-18
1603.32 s
[opt-env-conf-test] @@ -1052,7 +1052,7 @@
1603.32 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1603.32 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1603.33 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1603.33 s
[opt-env-conf-test] - i -> J us t i
1603.33 s
[opt-env-conf-test] + i -> N o t h i ng
1603.33 s
[opt-env-conf-test] fileOption = fileSetting settingTryOption $ \case
1603.33 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1603.33 s
[opt-env-conf-test] BuildAddShort _ -> Nothing
1603.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1603.33 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1603.33 s
[opt-env-conf-test] where
1603.33 s
[opt-env-conf-test] go p =
1603.33 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1603.33 s
[opt-env-conf-test] in case p of
1603.33 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1603.33 s
[opt-env-conf-test] ParserAp {} -> p'
1603.33 s
[opt-env-conf-test] ParserSelect {} -> p'
1603.33 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1603.33 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1603.33 s
[opt-env-conf-test] ParserMany {} -> p'
1603.33 s
[opt-env-conf-test] ParserSome {} -> p'
1603.33 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1603.33 s
[opt-env-conf-test] ParserCheck {} -> p'
1603.33 s
[opt-env-conf-test] - ParserCommands {} -> p'
1603.33 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1603.33 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1603.33 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1603.33 s
[opt-env-conf-test] Just _ -> p
1603.33 s
[opt-env-conf-test]
1603.33 s
[opt-env-conf-test] -- | Try a list of parsers in order
1603.33 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1603.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1603.33 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1603.33 s
[opt-env-conf-test] where
1603.33 s
[opt-env-conf-test] go p =
1603.33 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1603.33 s
[opt-env-conf-test] in case p of
1603.33 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1603.33 s
[opt-env-conf-test] ParserAp {} -> p'
1603.33 s
[opt-env-conf-test] ParserSelect {} -> p'
1603.33 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1603.33 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1603.33 s
[opt-env-conf-test] ParserMany {} -> p'
1603.33 s
[opt-env-conf-test] ParserSome {} -> p'
1603.33 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1603.33 s
[opt-env-conf-test] ParserCheck {} -> p'
1603.33 s
[opt-env-conf-test] ParserCommands {} -> p'
1603.33 s
[opt-env-conf-test] - ParserWithConfig {} -> p'
1603.33 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1603.33 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1603.33 s
[opt-env-conf-test] Just _ -> p
1603.33 s
[opt-env-conf-test]
1603.33 s
[opt-env-conf-test] -- | Try a list of parsers in order
1603.33 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1603.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1603.33 s
[opt-env-conf-test] @@ -547,21 +547,18 @@
1603.33 s
[opt-env-conf-test] where
1603.33 s
[opt-env-conf-test] go p =
1603.33 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1603.33 s
[opt-env-conf-test] in case p of
1603.33 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1603.33 s
[opt-env-conf-test] ParserAp {} -> p'
1603.33 s
[opt-env-conf-test] ParserSelect {} -> p'
1603.33 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1603.33 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1603.33 s
[opt-env-conf-test] ParserMany {} -> p'
1603.33 s
[opt-env-conf-test] ParserSome {} -> p'
1603.33 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1603.33 s
[opt-env-conf-test] ParserCheck {} -> p'
1603.33 s
[opt-env-conf-test] ParserCommands {} -> p'
1603.33 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1603.33 s
[opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
1603.33 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1603.33 s
[opt-env-conf-test] - Just _ -> p
1603.33 s
[opt-env-conf-test]
1603.33 s
[opt-env-conf-test] -- | Try a list of parsers in order
1603.33 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1603.33 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:877:11-26
1603.33 s
[opt-env-conf-test] @@ -874,7 +874,7 @@
1603.33 s
[opt-env-conf-test] withFrozenCallStack $
1603.33 s
[opt-env-conf-test] choice $
1603.33 s
[opt-env-conf-test] catMaybes
1603.33 s
[opt-env-conf-test] - [ J us t pars eDumm y ,
1603.33 s
[opt-env-conf-test] + [ N o t hin g ,
1603.33 s
[opt-env-conf-test] Just parseDisableSwitch,
1603.33 s
[opt-env-conf-test] Just parseEnableSwitch,
1603.33 s
[opt-env-conf-test] parseEnv,
1603.33 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:878:11-34
1603.33 s
[opt-env-conf-test] @@ -875,7 +875,7 @@
1603.33 s
[opt-env-conf-test] choice $
1603.33 s
[opt-env-conf-test] catMaybes
1603.33 s
[opt-env-conf-test] [ Just parseDummy,
1603.33 s
[opt-env-conf-test] - J u st pa rseDis ab leS wi t c h ,
1603.33 s
[opt-env-conf-test] + No t h in g ,
1603.33 s
[opt-env-conf-test] Just parseEnableSwitch,
1603.33 s
[opt-env-conf-test] parseEnv,
1603.33 s
[opt-env-conf-test] parseConfigVal,
1603.33 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:879:11-33
1603.33 s
[opt-env-conf-test] @@ -876,7 +876,7 @@
1603.33 s
[opt-env-conf-test] catMaybes
1603.33 s
[opt-env-conf-test] [ Just parseDummy,
1603.33 s
[opt-env-conf-test] Just parseDisableSwitch,
1603.33 s
[opt-env-conf-test] - J u s t parse E n a b leS wit c h ,
1603.33 s
[opt-env-conf-test] + No t h i n g ,
1603.33 s
[opt-env-conf-test] parseEnv,
1603.33 s
[opt-env-conf-test] parseConfigVal,
1603.33 s
[opt-env-conf-test] parseDefaultVal
1603.33 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1603.33 s
[opt-env-conf-test] @@ -874,13 +874,7 @@
1603.33 s
[opt-env-conf-test] withFrozenCallStack $
1603.33 s
[opt-env-conf-test] choice $
1603.33 s
[opt-env-conf-test] catMaybes
1603.33 s
[opt-env-conf-test] - [ Just parseDummy,
1603.33 s
[opt-env-conf-test] - Just parseDisableSwitch,
1603.33 s
[opt-env-conf-test] - Just parseEnableSwitch,
1603.33 s
[opt-env-conf-test] - parseEnv,
1603.33 s
[opt-env-conf-test] - parseConfigVal,
1603.33 s
[opt-env-conf-test] - parseDefaultVal
1603.33 s
[opt-env-conf-test] ]
1603.33 s
[opt-env-conf-test] where
1603.33 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1603.33 s
[opt-env-conf-test] s = buildSetting builders
1603.33 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1603.33 s
[opt-env-conf-test] @@ -874,13 +874,12 @@
1603.33 s
[opt-env-conf-test] withFrozenCallStack $
1603.33 s
[opt-env-conf-test] choice $
1603.33 s
[opt-env-conf-test] catMaybes
1603.33 s
[opt-env-conf-test] - [ Just parseDummy,
1603.33 s
[opt-env-conf-test] Just parseDisableSwitch,
1603.33 s
[opt-env-conf-test] Just parseEnableSwitch,
1603.33 s
[opt-env-conf-test] parseEnv,
1603.33 s
[opt-env-conf-test] parseConfigVal,
1603.33 s
[opt-env-conf-test] parseDefaultVal
1603.33 s
[opt-env-conf-test] ]
1603.33 s
[opt-env-conf-test] where
1603.33 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1603.33 s
[opt-env-conf-test] s = buildSetting builders
1607.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
1607.58 s
[opt-env-conf-test] @@ -874,13 +874,12 @@
1607.58 s
[opt-env-conf-test] withFrozenCallStack $
1607.58 s
[opt-env-conf-test] choice $
1607.58 s
[opt-env-conf-test] catMaybes
1607.58 s
[opt-env-conf-test] [ Just parseDummy,
1607.58 s
[opt-env-conf-test] Just parseDisableSwitch,
1607.58 s
[opt-env-conf-test] Just parseEnableSwitch,
1607.58 s
[opt-env-conf-test] parseEnv,
1607.58 s
[opt-env-conf-test] parseConfigVal,
1607.58 s
[opt-env-conf-test] - parseDefaultVal
1607.58 s
[opt-env-conf-test] ]
1607.58 s
[opt-env-conf-test] where
1607.58 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1607.58 s
[opt-env-conf-test] s = buildSetting builders
1607.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
1607.58 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1607.58 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1607.58 s
[opt-env-conf-test] parseDefaultVal = do
1607.58 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1607.58 s
[opt-env-conf-test] - pure $ pure d v
1607.58 s
[opt-env-conf-test] + pure $ pure T rue
1607.58 s
[opt-env-conf-test]
1607.58 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1607.58 s
[opt-env-conf-test] parseEnableSwitch =
1607.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
1607.58 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1607.58 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1607.58 s
[opt-env-conf-test] parseDefaultVal = do
1607.58 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1607.58 s
[opt-env-conf-test] - pure $ pure d v
1607.58 s
[opt-env-conf-test] + pure $ pure F a ls e
1607.58 s
[opt-env-conf-test]
1607.58 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1607.58 s
[opt-env-conf-test] parseEnableSwitch =
1607.58 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:890:19-21
1607.58 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
1607.58 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
1607.58 s
[opt-env-conf-test] parseDefaultVal = do
1607.58 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
1607.58 s
[opt-env-conf-test] - pure $ pure dv
1607.59 s
[opt-env-conf-test] + pure $ pure n o t ( dv )
1607.59 s
[opt-env-conf-test]
1607.59 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
1607.59 s
[opt-env-conf-test] parseEnableSwitch =
1607.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:898:34-39
1607.59 s
[opt-env-conf-test] @@ -895,7 +895,7 @@
1607.59 s
[opt-env-conf-test] Setting
1607.59 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
1607.59 s
[opt-env-conf-test] settingReaders = [],
1607.59 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1607.59 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1607.59 s
[opt-env-conf-test] settingSwitchValue = Just True,
1607.59 s
[opt-env-conf-test] settingTryOption = False,
1607.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1607.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:899:39-43
1607.59 s
[opt-env-conf-test] @@ -896,7 +896,7 @@
1607.59 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
1607.59 s
[opt-env-conf-test] settingReaders = [],
1607.59 s
[opt-env-conf-test] settingTryArgument = False,
1607.59 s
[opt-env-conf-test] - settingSwitchValue = Just Tr u e,
1607.59 s
[opt-env-conf-test] + settingSwitchValue = Just F a ls e,
1607.59 s
[opt-env-conf-test] settingTryOption = False,
1607.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1607.59 s
[opt-env-conf-test] settingConfigVals = Nothing,
1607.59 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:899:34-43
1607.59 s
[opt-env-conf-test] @@ -896,7 +896,7 @@
1607.59 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
1607.59 s
[opt-env-conf-test] settingReaders = [],
1607.59 s
[opt-env-conf-test] settingTryArgument = False,
1607.59 s
[opt-env-conf-test] - settingSwitchValue = J u s t T ru e ,
1607.59 s
[opt-env-conf-test] + settingSwitchValue = No t hing ,
1607.59 s
[opt-env-conf-test] settingTryOption = False,
1607.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1607.59 s
[opt-env-conf-test] settingConfigVals = Nothing,
1607.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:900:32-37
1607.59 s
[opt-env-conf-test] @@ -897,7 +897,7 @@
1607.59 s
[opt-env-conf-test] settingReaders = [],
1607.59 s
[opt-env-conf-test] settingTryArgument = False,
1607.59 s
[opt-env-conf-test] settingSwitchValue = Just True,
1607.59 s
[opt-env-conf-test] - settingTryOption = F al s e,
1607.59 s
[opt-env-conf-test] + settingTryOption = T ru e,
1607.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1607.59 s
[opt-env-conf-test] settingConfigVals = Nothing,
1607.59 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1607.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:905:29-33
1607.59 s
[opt-env-conf-test] @@ -902,7 +902,7 @@
1607.59 s
[opt-env-conf-test] settingConfigVals = Nothing,
1607.59 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1607.59 s
[opt-env-conf-test] settingExamples = [],
1607.59 s
[opt-env-conf-test] - settingHidden = Tr u e,
1607.59 s
[opt-env-conf-test] + settingHidden = F a ls e,
1607.59 s
[opt-env-conf-test] settingMetavar = Nothing,
1607.59 s
[opt-env-conf-test] settingHelp = Nothing,
1607.59 s
[opt-env-conf-test] settingCompleter = Nothing,
1607.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:917:34-39
1607.59 s
[opt-env-conf-test] @@ -914,7 +914,7 @@
1607.59 s
[opt-env-conf-test] Setting
1607.59 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
1607.59 s
[opt-env-conf-test] settingReaders = [],
1607.59 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1607.59 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1607.59 s
[opt-env-conf-test] settingSwitchValue = Just False,
1607.59 s
[opt-env-conf-test] settingTryOption = False,
1607.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1607.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:918:39-44
1607.59 s
[opt-env-conf-test] @@ -915,7 +915,7 @@
1607.59 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
1607.59 s
[opt-env-conf-test] settingReaders = [],
1607.59 s
[opt-env-conf-test] settingTryArgument = False,
1607.59 s
[opt-env-conf-test] - settingSwitchValue = Just F al s e,
1607.59 s
[opt-env-conf-test] + settingSwitchValue = Just T ru e,
1607.59 s
[opt-env-conf-test] settingTryOption = False,
1607.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1607.59 s
[opt-env-conf-test] settingConfigVals = Nothing,
1607.59 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:918:34-44
1607.59 s
[opt-env-conf-test] @@ -915,7 +915,7 @@
1607.59 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
1607.59 s
[opt-env-conf-test] settingReaders = [],
1607.59 s
[opt-env-conf-test] settingTryArgument = False,
1607.59 s
[opt-env-conf-test] - settingSwitchValue = J u s t F a ls e ,
1607.59 s
[opt-env-conf-test] + settingSwitchValue = N o t h in g ,
1607.59 s
[opt-env-conf-test] settingTryOption = False,
1607.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1607.59 s
[opt-env-conf-test] settingConfigVals = Nothing,
1607.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:919:32-37
1607.59 s
[opt-env-conf-test] @@ -916,7 +916,7 @@
1607.59 s
[opt-env-conf-test] settingReaders = [],
1607.59 s
[opt-env-conf-test] settingTryArgument = False,
1607.59 s
[opt-env-conf-test] settingSwitchValue = Just False,
1607.59 s
[opt-env-conf-test] - settingTryOption = F al s e,
1607.59 s
[opt-env-conf-test] + settingTryOption = T ru e,
1607.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1607.59 s
[opt-env-conf-test] settingConfigVals = Nothing,
1607.59 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1607.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:924:29-33
1607.59 s
[opt-env-conf-test] @@ -921,7 +921,7 @@
1607.59 s
[opt-env-conf-test] settingConfigVals = Nothing,
1607.59 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1607.59 s
[opt-env-conf-test] settingExamples = [],
1607.59 s
[opt-env-conf-test] - settingHidden = Tr u e,
1607.59 s
[opt-env-conf-test] + settingHidden = F a ls e,
1607.59 s
[opt-env-conf-test] settingMetavar = Nothing,
1607.59 s
[opt-env-conf-test] settingHelp = Nothing,
1607.59 s
[opt-env-conf-test] settingCompleter = Nothing,
1607.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:939:36-41
1607.59 s
[opt-env-conf-test] @@ -936,7 +936,7 @@
1607.59 s
[opt-env-conf-test] Setting
1607.59 s
[opt-env-conf-test] { settingDasheds = [],
1607.59 s
[opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
1607.59 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1607.59 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1607.59 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1607.59 s
[opt-env-conf-test] settingTryOption = False,
1607.59 s
[opt-env-conf-test] settingEnvVars = Just ne,
1607.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:941:34-39
1607.59 s
[opt-env-conf-test] @@ -938,7 +938,7 @@
1607.59 s
[opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
1607.59 s
[opt-env-conf-test] settingTryArgument = False,
1607.59 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1607.59 s
[opt-env-conf-test] - settingTryOption = F al s e,
1607.59 s
[opt-env-conf-test] + settingTryOption = T ru e,
1607.59 s
[opt-env-conf-test] settingEnvVars = Just ne,
1607.59 s
[opt-env-conf-test] settingConfigVals = Nothing,
1607.59 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1607.59 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:942:32-39
1607.59 s
[opt-env-conf-test] @@ -939,7 +939,7 @@
1607.59 s
[opt-env-conf-test] settingTryArgument = False,
1607.59 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1609.50 s
[opt-env-conf-test] settingTryOption = False,
1609.50 s
[opt-env-conf-test] - settingEnvVars = J us t n e ,
1609.58 s
[opt-env-conf-test] + settingEnvVars = N o t hi n g ,
1609.58 s
[opt-env-conf-test] settingConfigVals = Nothing,
1609.58 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1609.58 s
[opt-env-conf-test] settingExamples = [],
1609.58 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:946:31-36
1609.58 s
[opt-env-conf-test] @@ -943,7 +943,7 @@
1609.58 s
[opt-env-conf-test] settingConfigVals = Nothing,
1609.58 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1609.58 s
[opt-env-conf-test] settingExamples = [],
1609.58 s
[opt-env-conf-test] - settingHidden = F al s e,
1609.58 s
[opt-env-conf-test] + settingHidden = T ru e,
1609.58 s
[opt-env-conf-test] settingMetavar = Just "BOOL",
1609.58 s
[opt-env-conf-test] settingHelp = settingHelp s,
1609.58 s
[opt-env-conf-test] settingCompleter = Nothing,
1609.58 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:947:32-43
1609.58 s
[opt-env-conf-test] @@ -944,7 +944,7 @@
1609.58 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1609.58 s
[opt-env-conf-test] settingExamples = [],
1609.58 s
[opt-env-conf-test] settingHidden = False,
1609.58 s
[opt-env-conf-test] - settingMetavar = J u s t "B OOL" ,
1609.58 s
[opt-env-conf-test] + settingMetavar = N o t hi n g ,
1609.58 s
[opt-env-conf-test] settingHelp = settingHelp s,
1609.58 s
[opt-env-conf-test] settingCompleter = Nothing,
1609.58 s
[opt-env-conf-test] settingRequiredCapabilities = Set.empty
1609.58 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:960:36-41
1609.58 s
[opt-env-conf-test] @@ -957,7 +957,7 @@
1609.58 s
[opt-env-conf-test] Setting
1609.58 s
[opt-env-conf-test] { settingDasheds = [],
1609.58 s
[opt-env-conf-test] settingReaders = [],
1609.58 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1609.58 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1609.58 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1609.58 s
[opt-env-conf-test] settingTryOption = False,
1609.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1609.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:962:34-39
1609.59 s
[opt-env-conf-test] @@ -959,7 +959,7 @@
1609.59 s
[opt-env-conf-test] settingReaders = [],
1609.59 s
[opt-env-conf-test] settingTryArgument = False,
1609.59 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1609.59 s
[opt-env-conf-test] - settingTryOption = F al s e,
1609.59 s
[opt-env-conf-test] + settingTryOption = T ru e,
1609.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1609.59 s
[opt-env-conf-test] settingConfigVals = Just ne,
1609.59 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1609.59 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:964:35-42
1609.59 s
[opt-env-conf-test] @@ -961,7 +961,7 @@
1609.59 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1609.59 s
[opt-env-conf-test] settingTryOption = False,
1609.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1609.59 s
[opt-env-conf-test] - settingConfigVals = J us t n e ,
1609.59 s
[opt-env-conf-test] + settingConfigVals = N o t hi n g ,
1609.59 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1609.59 s
[opt-env-conf-test] settingExamples = [],
1609.59 s
[opt-env-conf-test] settingHidden = False,
1609.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:967:31-36
1609.59 s
[opt-env-conf-test] @@ -964,7 +964,7 @@
1609.59 s
[opt-env-conf-test] settingConfigVals = Just ne,
1609.59 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1609.59 s
[opt-env-conf-test] settingExamples = [],
1609.59 s
[opt-env-conf-test] - settingHidden = F al s e,
1609.59 s
[opt-env-conf-test] + settingHidden = T ru e,
1609.59 s
[opt-env-conf-test] settingMetavar = Nothing,
1609.59 s
[opt-env-conf-test] settingHelp = settingHelp s,
1609.59 s
[opt-env-conf-test] settingCompleter = Nothing,
1609.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:979:34-39
1609.59 s
[opt-env-conf-test] @@ -976,7 +976,7 @@
1609.59 s
[opt-env-conf-test] Setting
1609.59 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
1609.59 s
[opt-env-conf-test] settingReaders = [],
1609.59 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1609.59 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1609.59 s
[opt-env-conf-test] settingSwitchValue = Just True, -- Unused
1609.59 s
[opt-env-conf-test] settingTryOption = False,
1609.59 s
[opt-env-conf-test] settingEnvVars = Nothing,
1609.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:980:39-43
1609.59 s
[opt-env-conf-test] @@ -977,7 +977,7 @@
1609.59 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
1609.60 s
[opt-env-conf-test] settingReaders = [],
1609.60 s
[opt-env-conf-test] settingTryArgument = False,
1609.60 s
[opt-env-conf-test] - settingSwitchValue = Just Tr u e, -- Unused
1609.60 s
[opt-env-conf-test] + settingSwitchValue = Just F a ls e, -- Unused
1609.60 s
[opt-env-conf-test] settingTryOption = False,
1609.60 s
[opt-env-conf-test] settingEnvVars = Nothing,
1609.60 s
[opt-env-conf-test] settingConfigVals = Nothing,
1609.60 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:980:34-43
1609.60 s
[opt-env-conf-test] @@ -977,7 +977,7 @@
1609.60 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
1609.60 s
[opt-env-conf-test] settingReaders = [],
1609.60 s
[opt-env-conf-test] settingTryArgument = False,
1609.60 s
[opt-env-conf-test] - settingSwitchValue = J u s t T ru e , -- Unused
1609.60 s
[opt-env-conf-test] + settingSwitchValue = No t hing , -- Unused
1609.60 s
[opt-env-conf-test] settingTryOption = False,
1609.60 s
[opt-env-conf-test] settingEnvVars = Nothing,
1609.60 s
[opt-env-conf-test] settingConfigVals = Nothing,
1609.60 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:981:32-37
1609.60 s
[opt-env-conf-test] @@ -978,7 +978,7 @@
1609.60 s
[opt-env-conf-test] settingReaders = [],
1609.60 s
[opt-env-conf-test] settingTryArgument = False,
1609.60 s
[opt-env-conf-test] settingSwitchValue = Just True, -- Unused
1609.60 s
[opt-env-conf-test] - settingTryOption = F al s e,
1609.60 s
[opt-env-conf-test] + settingTryOption = T ru e,
1609.60 s
[opt-env-conf-test] settingEnvVars = Nothing,
1609.60 s
[opt-env-conf-test] settingConfigVals = Nothing,
1609.60 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1609.60 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:986:29-34
1609.60 s
[opt-env-conf-test] @@ -983,7 +983,7 @@
1609.60 s
[opt-env-conf-test] settingConfigVals = Nothing,
1609.60 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1609.60 s
[opt-env-conf-test] settingExamples = [],
1609.60 s
[opt-env-conf-test] - settingHidden = F al s e,
1609.60 s
[opt-env-conf-test] + settingHidden = T ru e,
1609.60 s
[opt-env-conf-test] settingMetavar = Nothing,
1609.60 s
[opt-env-conf-test] settingHelp = settingHelp s,
1609.60 s
[opt-env-conf-test] settingCompleter = Nothing,
1609.60 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1609.60 s
[opt-env-conf-test] @@ -480,10 +480,7 @@
1609.60 s
[opt-env-conf-test] withFrozenCallStack $
1609.60 s
[opt-env-conf-test] setting $
1609.60 s
[opt-env-conf-test] builders
1609.60 s
[opt-env-conf-test] - ++ [ reader str,
1609.60 s
[opt-env-conf-test] - metavar "FILE_PATH",
1609.60 s
[opt-env-conf-test] - completer filePath
1609.60 s
[opt-env-conf-test] ]
1609.60 s
[opt-env-conf-test]
1609.60 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1609.61 s
[opt-env-conf-test] --
1609.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1609.61 s
[opt-env-conf-test] @@ -480,10 +480,9 @@
1609.61 s
[opt-env-conf-test] withFrozenCallStack $
1609.61 s
[opt-env-conf-test] setting $
1609.61 s
[opt-env-conf-test] builders
1609.61 s
[opt-env-conf-test] - ++ [ reader str,
1609.61 s
[opt-env-conf-test] metavar "FILE_PATH",
1609.61 s
[opt-env-conf-test] completer filePath
1609.61 s
[opt-env-conf-test] ]
1609.61 s
[opt-env-conf-test]
1609.61 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1609.61 s
[opt-env-conf-test] --
1609.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
1609.61 s
[opt-env-conf-test] @@ -480,10 +480,9 @@
1609.61 s
[opt-env-conf-test] withFrozenCallStack $
1609.61 s
[opt-env-conf-test] setting $
1609.61 s
[opt-env-conf-test] builders
1609.61 s
[opt-env-conf-test] ++ [ reader str,
1609.61 s
[opt-env-conf-test] metavar "FILE_PATH",
1609.61 s
[opt-env-conf-test] - completer filePath
1609.61 s
[opt-env-conf-test] ]
1609.61 s
[opt-env-conf-test]
1609.61 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
1609.61 s
[opt-env-conf-test] --
1609.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
1609.61 s
[opt-env-conf-test] @@ -826,7 +826,6 @@
1609.61 s
[opt-env-conf-test] long "config-file",
1609.61 s
[opt-env-conf-test] env "CONFIG_FILE",
1609.61 s
[opt-env-conf-test] help "Path to the configuration file",
1609.61 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1609.61 s
[opt-env-conf-test] ]
1609.61 s
[opt-env-conf-test]
1609.61 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1609.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
1609.61 s
[opt-env-conf-test] @@ -826,7 +826,6 @@
1609.61 s
[opt-env-conf-test] long "config-file",
1609.61 s
[opt-env-conf-test] env "CONFIG_FILE",
1609.61 s
[opt-env-conf-test] help "Path to the configuration file",
1609.61 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1609.61 s
[opt-env-conf-test] ]
1609.61 s
[opt-env-conf-test]
1609.61 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1609.61 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1609.61 s
[opt-env-conf-test] @@ -822,12 +822,7 @@
1609.61 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1609.61 s
[opt-env-conf-test] configuredConfigFile =
1609.61 s
[opt-env-conf-test] filePathSetting
1609.61 s
[opt-env-conf-test] - [ option,
1612.10 s
[opt-env-conf-test] - long "config-file",
1612.10 s
[opt-env-conf-test] - env "CONFIG_FILE",
1612.10 s
[opt-env-conf-test] - help "Path to the configuration file",
1612.10 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1612.10 s
[opt-env-conf-test] ]
1612.10 s
[opt-env-conf-test]
1612.10 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1612.10 s
[opt-env-conf-test] --
1612.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1612.10 s
[opt-env-conf-test] @@ -822,12 +822,11 @@
1612.10 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1612.10 s
[opt-env-conf-test] configuredConfigFile =
1612.10 s
[opt-env-conf-test] filePathSetting
1612.10 s
[opt-env-conf-test] - [ option,
1612.10 s
[opt-env-conf-test] long "config-file",
1612.10 s
[opt-env-conf-test] env "CONFIG_FILE",
1612.10 s
[opt-env-conf-test] help "Path to the configuration file",
1612.10 s
[opt-env-conf-test] completer (filePathWithExtensions [".yaml", ".yml"])
1612.10 s
[opt-env-conf-test] ]
1612.10 s
[opt-env-conf-test]
1612.10 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1612.10 s
[opt-env-conf-test] --
1612.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
1612.10 s
[opt-env-conf-test] @@ -822,12 +822,11 @@
1612.10 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
1612.10 s
[opt-env-conf-test] configuredConfigFile =
1612.10 s
[opt-env-conf-test] filePathSetting
1612.11 s
[opt-env-conf-test] [ option,
1612.11 s
[opt-env-conf-test] long "config-file",
1612.11 s
[opt-env-conf-test] env "CONFIG_FILE",
1612.11 s
[opt-env-conf-test] help "Path to the configuration file",
1612.11 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
1612.11 s
[opt-env-conf-test] ]
1612.11 s
[opt-env-conf-test]
1612.11 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
1612.11 s
[opt-env-conf-test] --
1612.11 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:774:47-68
1612.11 s
[opt-env-conf-test] @@ -771,7 +771,7 @@
1612.11 s
[opt-env-conf-test] combineMaybeObjects :: Maybe JSON.Object -> Maybe JSON.Object -> Maybe JSON.Object
1612.11 s
[opt-env-conf-test] combineMaybeObjects Nothing mo = mo
1612.11 s
[opt-env-conf-test] combineMaybeObjects mo Nothing = mo
1612.11 s
[opt-env-conf-test] - combineMaybeObjects (Just o1) (Just o2) = J u s t (comb in e r o 1 o2)
1612.11 s
[opt-env-conf-test] + combineMaybeObjects (Just o1) (Just o2) = No t h in g
1612.11 s
[opt-env-conf-test]
1612.11 s
[opt-env-conf-test] combineConfigObjects :: JSON.Object -> JSON.Object -> JSON.Object
1612.11 s
[opt-env-conf-test] combineConfigObjects = KM.unionWith combineValues
1612.11 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1612.11 s
[opt-env-conf-test] @@ -497,10 +497,7 @@
1612.11 s
[opt-env-conf-test] withFrozenCallStack $
1612.11 s
[opt-env-conf-test] setting $
1612.11 s
[opt-env-conf-test] builders
1612.11 s
[opt-env-conf-test] - ++ [ reader str,
1612.11 s
[opt-env-conf-test] - metavar "DIRECTORY_PATH",
1612.11 s
[opt-env-conf-test] - completer directoryPath
1612.11 s
[opt-env-conf-test] ]
1612.11 s
[opt-env-conf-test]
1612.11 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1612.11 s
[opt-env-conf-test] --
1612.11 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1612.11 s
[opt-env-conf-test] @@ -497,10 +497,9 @@
1612.11 s
[opt-env-conf-test] withFrozenCallStack $
1612.11 s
[opt-env-conf-test] setting $
1612.11 s
[opt-env-conf-test] builders
1612.11 s
[opt-env-conf-test] - ++ [ reader str,
1612.11 s
[opt-env-conf-test] metavar "DIRECTORY_PATH",
1612.12 s
[opt-env-conf-test] completer directoryPath
1612.12 s
[opt-env-conf-test] ]
1612.12 s
[opt-env-conf-test]
1612.12 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1612.12 s
[opt-env-conf-test] --
1612.12 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
1612.12 s
[opt-env-conf-test] @@ -497,10 +497,9 @@
1612.12 s
[opt-env-conf-test] withFrozenCallStack $
1612.12 s
[opt-env-conf-test] setting $
1612.12 s
[opt-env-conf-test] builders
1612.12 s
[opt-env-conf-test] ++ [ reader str,
1612.12 s
[opt-env-conf-test] metavar "DIRECTORY_PATH",
1612.12 s
[opt-env-conf-test] - completer directoryPath
1612.12 s
[opt-env-conf-test] ]
1612.12 s
[opt-env-conf-test]
1612.12 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
1612.12 s
[opt-env-conf-test] --
1612.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
1612.12 s
[opt-env-conf-test] @@ -785,11 +785,10 @@
1612.12 s
[opt-env-conf-test] xdgYamlConfigFile subdir =
1612.12 s
[opt-env-conf-test] mapIO
1612.12 s
[opt-env-conf-test] ( \mXdgDir -> do
1612.12 s
[opt-env-conf-test] xdgDir <- case mXdgDir of
1612.12 s
[opt-env-conf-test] - Just d -> resolveDir' d
1612.12 s
[opt-env-conf-test] Nothing -> do
1612.12 s
[opt-env-conf-test] home <- getHomeDir
1612.12 s
[opt-env-conf-test] resolveDir home ".config"
1612.12 s
[opt-env-conf-test] configDir <- resolveDir xdgDir subdir
1612.12 s
[opt-env-conf-test] resolveFile configDir "config.yaml"
1612.12 s
[opt-env-conf-test] )
1612.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
1612.12 s
[opt-env-conf-test] @@ -785,11 +785,8 @@
1612.12 s
[opt-env-conf-test] xdgYamlConfigFile subdir =
1612.12 s
[opt-env-conf-test] mapIO
1612.12 s
[opt-env-conf-test] ( \mXdgDir -> do
1612.12 s
[opt-env-conf-test] xdgDir <- case mXdgDir of
1612.12 s
[opt-env-conf-test] Just d -> resolveDir' d
1612.12 s
[opt-env-conf-test] - Nothing -> do
1612.12 s
[opt-env-conf-test] - home <- getHomeDir
1612.12 s
[opt-env-conf-test] - resolveDir home ".config"
1612.12 s
[opt-env-conf-test] configDir <- resolveDir xdgDir subdir
1612.12 s
[opt-env-conf-test] resolveFile configDir "config.yaml"
1612.12 s
[opt-env-conf-test] )
1612.12 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1612.12 s
[opt-env-conf-test] @@ -796,12 +796,7 @@
1612.12 s
[opt-env-conf-test] $ optional
1612.12 s
[opt-env-conf-test] $ withFrozenCallStack
1612.12 s
[opt-env-conf-test] $ setting
1612.12 s
[opt-env-conf-test] - [ help "Path to the XDG configuration directory",
1612.12 s
[opt-env-conf-test] - reader str,
1612.12 s
[opt-env-conf-test] - env "XDG_CONFIG_HOME",
1612.12 s
[opt-env-conf-test] - metavar "DIRECTORY",
1612.12 s
[opt-env-conf-test] - hidden
1612.12 s
[opt-env-conf-test] ]
1612.12 s
[opt-env-conf-test]
1612.12 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1612.12 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1612.12 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1612.12 s
[opt-env-conf-test] @@ -796,12 +796,11 @@
1612.12 s
[opt-env-conf-test] $ optional
1612.12 s
[opt-env-conf-test] $ withFrozenCallStack
1612.12 s
[opt-env-conf-test] $ setting
1612.12 s
[opt-env-conf-test] - [ help "Path to the XDG configuration directory",
1612.12 s
[opt-env-conf-test] reader str,
1612.12 s
[opt-env-conf-test] env "XDG_CONFIG_HOME",
1612.12 s
[opt-env-conf-test] metavar "DIRECTORY",
1612.12 s
[opt-env-conf-test] hidden
1612.12 s
[opt-env-conf-test] ]
1612.12 s
[opt-env-conf-test]
1612.12 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1612.12 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1612.12 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
1612.12 s
[opt-env-conf-test] @@ -796,12 +796,11 @@
1612.12 s
[opt-env-conf-test] $ optional
1612.12 s
[opt-env-conf-test] $ withFrozenCallStack
1612.13 s
[opt-env-conf-test] $ setting
1612.13 s
[opt-env-conf-test] [ help "Path to the XDG configuration directory",
1612.13 s
[opt-env-conf-test] reader str,
1612.13 s
[opt-env-conf-test] env "XDG_CONFIG_HOME",
1612.13 s
[opt-env-conf-test] metavar "DIRECTORY",
1612.13 s
[opt-env-conf-test] - hidden
1612.13 s
[opt-env-conf-test] ]
1612.13 s
[opt-env-conf-test]
1612.13 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
1612.13 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
1612.13 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1612.13 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1612.13 s
[opt-env-conf-test] where
1612.13 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1612.13 s
[opt-env-conf-test] go d = \case
1612.13 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] ParserAp pf pa ->
1612.13 s
[opt-env-conf-test] showParen (d > 10) $
1612.13 s
[opt-env-conf-test] showString "Ap "
1612.13 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1612.13 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1612.13 s
[opt-env-conf-test] where
1612.13 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1612.13 s
[opt-env-conf-test] go d = \case
1612.13 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0 ) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 1 ) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] ParserAp pf pa ->
1612.13 s
[opt-env-conf-test] showParen (d > 10) $
1612.13 s
[opt-env-conf-test] showString "Ap "
1612.13 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
1612.13 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1612.13 s
[opt-env-conf-test] where
1612.13 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1612.13 s
[opt-env-conf-test] go d = \case
1612.13 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > - 10) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] ParserAp pf pa ->
1612.13 s
[opt-env-conf-test] showParen (d > 10) $
1612.13 s
[opt-env-conf-test] showString "Ap "
1612.13 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
1612.13 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1612.13 s
[opt-env-conf-test] where
1612.13 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1612.13 s
[opt-env-conf-test] go d = \case
1612.13 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] + ParserPure _ -> showParen (d < 10) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] ParserAp pf pa ->
1612.13 s
[opt-env-conf-test] showParen (d > 10) $
1612.13 s
[opt-env-conf-test] showString "Ap "
1612.13 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
1612.13 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1612.13 s
[opt-env-conf-test] where
1612.13 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1612.13 s
[opt-env-conf-test] go d = \case
1612.13 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] + ParserPure _ -> showParen (d < = 10) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] ParserAp pf pa ->
1612.13 s
[opt-env-conf-test] showParen (d > 10) $
1612.13 s
[opt-env-conf-test] showString "Ap "
1612.13 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
1612.13 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1612.13 s
[opt-env-conf-test] where
1612.13 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1612.13 s
[opt-env-conf-test] go d = \case
1612.13 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > = 10) $ showString "Pure _"
1612.13 s
[opt-env-conf-test] ParserAp pf pa ->
1612.13 s
[opt-env-conf-test] showParen (d > 10) $
1612.13 s
[opt-env-conf-test] showString "Ap "
1612.13 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
1612.13 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1612.13 s
[opt-env-conf-test] where
1612.13 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1612.13 s
[opt-env-conf-test] go d = \case
1612.13 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
1619.55 s
[opt-env-conf-test] + ParserPure _ -> showParen ( Tru e ) $ showString "Pure _"
1619.55 s
[opt-env-conf-test] ParserAp pf pa ->
1619.58 s
[opt-env-conf-test] showParen (d > 10) $
1619.58 s
[opt-env-conf-test] showString "Ap "
1619.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
1619.58 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1619.58 s
[opt-env-conf-test] where
1619.58 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1619.58 s
[opt-env-conf-test] go d = \case
1619.58 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
1619.58 s
[opt-env-conf-test] + ParserPure _ -> showParen ( F a lse ) $ showString "Pure _"
1619.58 s
[opt-env-conf-test] ParserAp pf pa ->
1619.59 s
[opt-env-conf-test] showParen (d > 10) $
1619.59 s
[opt-env-conf-test] showString "Ap "
1619.59 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:34-40
1619.59 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1619.59 s
[opt-env-conf-test] where
1619.59 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1619.59 s
[opt-env-conf-test] go d = \case
1619.59 s
[opt-env-conf-test] - ParserPure _ -> showPare n (d > 10) $ showString "Pure _"
1619.59 s
[opt-env-conf-test] + ParserPure _ -> showPare n ( n ot (d > 10) ) $ showString "Pure _"
1619.59 s
[opt-env-conf-test] ParserAp pf pa ->
1619.59 s
[opt-env-conf-test] showParen (d > 10) $
1619.59 s
[opt-env-conf-test] showString "Ap "
1619.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
1619.59 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1619.59 s
[opt-env-conf-test] where
1619.59 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1619.59 s
[opt-env-conf-test] go d = \case
1619.59 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
1619.59 s
[opt-env-conf-test] + ParserPure _ -> showParen T ru e $ showString "Pure _"
1619.59 s
[opt-env-conf-test] ParserAp pf pa ->
1619.59 s
[opt-env-conf-test] showParen (d > 10) $
1619.59 s
[opt-env-conf-test] showString "Ap "
1619.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
1619.59 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1619.59 s
[opt-env-conf-test] where
1619.59 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1619.59 s
[opt-env-conf-test] go d = \case
1619.59 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0) $ showString "Pure _"
1619.59 s
[opt-env-conf-test] + ParserPure _ -> showParen F a ls e $ showString "Pure _"
1619.59 s
[opt-env-conf-test] ParserAp pf pa ->
1619.59 s
[opt-env-conf-test] showParen (d > 10) $
1619.59 s
[opt-env-conf-test] showString "Ap "
1619.59 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:33-41
1619.59 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1619.59 s
[opt-env-conf-test] where
1619.59 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1619.59 s
[opt-env-conf-test] go d = \case
1619.59 s
[opt-env-conf-test] - ParserPure _ -> showPare n ( d > 10) $ showString "Pure _"
1619.59 s
[opt-env-conf-test] + ParserPure _ -> showPare n n o t ( ( d > 10) ) $ showString "Pure _"
1619.59 s
[opt-env-conf-test] ParserAp pf pa ->
1619.60 s
[opt-env-conf-test] showParen (d > 10) $
1619.60 s
[opt-env-conf-test] showString "Ap "
1619.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1619.60 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.60 s
[opt-env-conf-test] go d = \case
1619.60 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.60 s
[opt-env-conf-test] ParserAp pf pa ->
1619.60 s
[opt-env-conf-test] - showParen (d > 1 0) $
1619.60 s
[opt-env-conf-test] + showParen (d > 0) $
1619.60 s
[opt-env-conf-test] showString "Ap "
1619.60 s
[opt-env-conf-test] . go 11 pf
1619.60 s
[opt-env-conf-test] . showString " "
1619.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1619.60 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.60 s
[opt-env-conf-test] go d = \case
1619.60 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.60 s
[opt-env-conf-test] ParserAp pf pa ->
1619.60 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1619.60 s
[opt-env-conf-test] + showParen (d > 1 ) $
1619.60 s
[opt-env-conf-test] showString "Ap "
1619.60 s
[opt-env-conf-test] . go 11 pf
1619.60 s
[opt-env-conf-test] . showString " "
1619.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
1619.60 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.60 s
[opt-env-conf-test] go d = \case
1619.60 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.60 s
[opt-env-conf-test] ParserAp pf pa ->
1619.60 s
[opt-env-conf-test] - showParen (d > 10) $
1619.60 s
[opt-env-conf-test] + showParen (d > - 10) $
1619.60 s
[opt-env-conf-test] showString "Ap "
1619.60 s
[opt-env-conf-test] . go 11 pf
1619.60 s
[opt-env-conf-test] . showString " "
1619.60 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
1619.60 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.60 s
[opt-env-conf-test] go d = \case
1619.60 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.60 s
[opt-env-conf-test] ParserAp pf pa ->
1619.60 s
[opt-env-conf-test] - showParen (d > 10) $
1619.60 s
[opt-env-conf-test] + showParen (d < 10) $
1619.60 s
[opt-env-conf-test] showString "Ap "
1619.60 s
[opt-env-conf-test] . go 11 pf
1619.60 s
[opt-env-conf-test] . showString " "
1619.60 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
1619.60 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.60 s
[opt-env-conf-test] go d = \case
1619.60 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.60 s
[opt-env-conf-test] ParserAp pf pa ->
1619.60 s
[opt-env-conf-test] - showParen (d > 10) $
1619.60 s
[opt-env-conf-test] + showParen (d < = 10) $
1619.60 s
[opt-env-conf-test] showString "Ap "
1619.60 s
[opt-env-conf-test] . go 11 pf
1619.60 s
[opt-env-conf-test] . showString " "
1619.60 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
1619.60 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.60 s
[opt-env-conf-test] go d = \case
1619.60 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.60 s
[opt-env-conf-test] ParserAp pf pa ->
1619.60 s
[opt-env-conf-test] - showParen (d > 10) $
1619.60 s
[opt-env-conf-test] + showParen (d > = 10) $
1619.60 s
[opt-env-conf-test] showString "Ap "
1619.60 s
[opt-env-conf-test] . go 11 pf
1619.60 s
[opt-env-conf-test] . showString " "
1619.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
1619.60 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.60 s
[opt-env-conf-test] go d = \case
1619.60 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.60 s
[opt-env-conf-test] ParserAp pf pa ->
1619.60 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1619.60 s
[opt-env-conf-test] + showParen ( Tru e ) $
1619.60 s
[opt-env-conf-test] showString "Ap "
1619.60 s
[opt-env-conf-test] . go 11 pf
1619.60 s
[opt-env-conf-test] . showString " "
1619.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
1619.61 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.61 s
[opt-env-conf-test] go d = \case
1619.61 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.61 s
[opt-env-conf-test] ParserAp pf pa ->
1619.61 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1619.61 s
[opt-env-conf-test] + showParen ( F a lse ) $
1619.61 s
[opt-env-conf-test] showString "Ap "
1619.61 s
[opt-env-conf-test] . go 11 pf
1619.61 s
[opt-env-conf-test] . showString " "
1619.61 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:20-26
1619.61 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.61 s
[opt-env-conf-test] go d = \case
1619.61 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.61 s
[opt-env-conf-test] ParserAp pf pa ->
1619.61 s
[opt-env-conf-test] - showPare n (d > 10) $
1619.61 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1619.61 s
[opt-env-conf-test] showString "Ap "
1619.61 s
[opt-env-conf-test] . go 11 pf
1619.61 s
[opt-env-conf-test] . showString " "
1619.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
1619.61 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.61 s
[opt-env-conf-test] go d = \case
1619.61 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.61 s
[opt-env-conf-test] ParserAp pf pa ->
1619.61 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1619.61 s
[opt-env-conf-test] + showParen T ru e $
1619.61 s
[opt-env-conf-test] showString "Ap "
1619.61 s
[opt-env-conf-test] . go 11 pf
1619.61 s
[opt-env-conf-test] . showString " "
1619.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
1619.61 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.61 s
[opt-env-conf-test] go d = \case
1619.61 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.61 s
[opt-env-conf-test] ParserAp pf pa ->
1619.61 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1619.61 s
[opt-env-conf-test] + showParen F a ls e $
1619.61 s
[opt-env-conf-test] showString "Ap "
1619.61 s
[opt-env-conf-test] . go 11 pf
1619.61 s
[opt-env-conf-test] . showString " "
1619.61 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:19-27
1619.61 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1619.61 s
[opt-env-conf-test] go d = \case
1619.61 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1619.61 s
[opt-env-conf-test] ParserAp pf pa ->
1619.61 s
[opt-env-conf-test] - showPare n ( d > 10) $
1619.61 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1619.61 s
[opt-env-conf-test] showString "Ap "
1619.61 s
[opt-env-conf-test] . go 11 pf
1619.62 s
[opt-env-conf-test] . showString " "
1619.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1619.62 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1619.62 s
[opt-env-conf-test] where
1619.62 s
[opt-env-conf-test] go p =
1619.62 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1619.62 s
[opt-env-conf-test] in case p of
1619.62 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1619.62 s
[opt-env-conf-test] ParserAp {} -> p'
1619.62 s
[opt-env-conf-test] ParserSelect {} -> p'
1619.62 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1625.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1626.01 s
[opt-env-conf-test] - ParserMany {} -> p'
1626.01 s
[opt-env-conf-test] ParserSome {} -> p'
1626.01 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1626.01 s
[opt-env-conf-test] ParserCheck {} -> p'
1626.01 s
[opt-env-conf-test] ParserCommands {} -> p'
1626.01 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1626.01 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1626.01 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1626.01 s
[opt-env-conf-test] Just _ -> p
1626.01 s
[opt-env-conf-test]
1626.01 s
[opt-env-conf-test] -- | Try a list of parsers in order
1626.01 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1626.01 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1626.01 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1626.01 s
[opt-env-conf-test] ParserAp pf pa ->
1626.01 s
[opt-env-conf-test] showParen (d > 10) $
1626.01 s
[opt-env-conf-test] showString "Ap "
1626.01 s
[opt-env-conf-test] - . go 1 1 pf
1626.01 s
[opt-env-conf-test] + . go 1 pf
1626.01 s
[opt-env-conf-test] . showString " "
1626.01 s
[opt-env-conf-test] . go 11 pa
1626.01 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.01 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1626.02 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1626.02 s
[opt-env-conf-test] ParserAp pf pa ->
1626.02 s
[opt-env-conf-test] showParen (d > 10) $
1626.02 s
[opt-env-conf-test] showString "Ap "
1626.02 s
[opt-env-conf-test] - . go 11 pf
1626.02 s
[opt-env-conf-test] + . go - 11 pf
1626.02 s
[opt-env-conf-test] . showString " "
1626.02 s
[opt-env-conf-test] . go 11 pa
1626.02 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.02 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1626.02 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1626.02 s
[opt-env-conf-test] showString "Ap "
1626.02 s
[opt-env-conf-test] . go 11 pf
1626.02 s
[opt-env-conf-test] . showString " "
1626.02 s
[opt-env-conf-test] - . go 1 1 pa
1626.02 s
[opt-env-conf-test] + . go 0 pa
1626.02 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.02 s
[opt-env-conf-test] showParen (d > 10) $
1626.02 s
[opt-env-conf-test] showString "Select "
1626.02 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1626.02 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1626.02 s
[opt-env-conf-test] showString "Ap "
1626.02 s
[opt-env-conf-test] . go 11 pf
1626.02 s
[opt-env-conf-test] . showString " "
1626.02 s
[opt-env-conf-test] - . go 1 1 pa
1626.02 s
[opt-env-conf-test] + . go 1 pa
1626.02 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.02 s
[opt-env-conf-test] showParen (d > 10) $
1626.02 s
[opt-env-conf-test] showString "Select "
1626.02 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
1626.02 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
1626.02 s
[opt-env-conf-test] showString "Ap "
1626.02 s
[opt-env-conf-test] . go 11 pf
1626.02 s
[opt-env-conf-test] . showString " "
1626.02 s
[opt-env-conf-test] - . go 11 pa
1626.02 s
[opt-env-conf-test] + . go - 11 pa
1626.02 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.02 s
[opt-env-conf-test] showParen (d > 10) $
1626.02 s
[opt-env-conf-test] showString "Select "
1626.02 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1626.02 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1626.02 s
[opt-env-conf-test] . showString " "
1626.02 s
[opt-env-conf-test] . go 11 pa
1626.02 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.02 s
[opt-env-conf-test] - showParen (d > 1 0) $
1626.02 s
[opt-env-conf-test] + showParen (d > 0) $
1626.02 s
[opt-env-conf-test] showString "Select "
1626.02 s
[opt-env-conf-test] . go 11 pe
1626.02 s
[opt-env-conf-test] . showString " "
1626.02 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1626.03 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] . go 11 pa
1626.03 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.03 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1626.03 s
[opt-env-conf-test] + showParen (d > 1 ) $
1626.03 s
[opt-env-conf-test] showString "Select "
1626.03 s
[opt-env-conf-test] . go 11 pe
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
1626.03 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] . go 11 pa
1626.03 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.03 s
[opt-env-conf-test] - showParen (d > 10) $
1626.03 s
[opt-env-conf-test] + showParen (d > - 10) $
1626.03 s
[opt-env-conf-test] showString "Select "
1626.03 s
[opt-env-conf-test] . go 11 pe
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
1626.03 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] . go 11 pa
1626.03 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.03 s
[opt-env-conf-test] - showParen (d > 10) $
1626.03 s
[opt-env-conf-test] + showParen (d < 10) $
1626.03 s
[opt-env-conf-test] showString "Select "
1626.03 s
[opt-env-conf-test] . go 11 pe
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
1626.03 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] . go 11 pa
1626.03 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.03 s
[opt-env-conf-test] - showParen (d > 10) $
1626.03 s
[opt-env-conf-test] + showParen (d < = 10) $
1626.03 s
[opt-env-conf-test] showString "Select "
1626.03 s
[opt-env-conf-test] . go 11 pe
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
1626.03 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] . go 11 pa
1626.03 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.03 s
[opt-env-conf-test] - showParen (d > 10) $
1626.03 s
[opt-env-conf-test] + showParen (d > = 10) $
1626.03 s
[opt-env-conf-test] showString "Select "
1626.03 s
[opt-env-conf-test] . go 11 pe
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
1626.03 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] . go 11 pa
1626.03 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.03 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1626.03 s
[opt-env-conf-test] + showParen ( Tru e ) $
1626.03 s
[opt-env-conf-test] showString "Select "
1626.03 s
[opt-env-conf-test] . go 11 pe
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
1626.03 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] . go 11 pa
1626.03 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.03 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1626.03 s
[opt-env-conf-test] + showParen ( F a lse ) $
1626.03 s
[opt-env-conf-test] showString "Select "
1626.03 s
[opt-env-conf-test] . go 11 pe
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:20-26
1626.03 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1626.03 s
[opt-env-conf-test] . showString " "
1626.03 s
[opt-env-conf-test] . go 11 pa
1626.03 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.03 s
[opt-env-conf-test] - showPare n (d > 10) $
1626.03 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1626.03 s
[opt-env-conf-test] showString "Select "
1626.03 s
[opt-env-conf-test] . go 11 pe
1626.04 s
[opt-env-conf-test] . showString " "
1626.04 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
1626.04 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
1626.04 s
[opt-env-conf-test] ParserAp pf pa ->
1626.04 s
[opt-env-conf-test] showParen (d > 10) $
1626.04 s
[opt-env-conf-test] showString "Ap "
1626.04 s
[opt-env-conf-test] - . go 1 1 pf
1626.04 s
[opt-env-conf-test] + . go 0 pf
1626.04 s
[opt-env-conf-test] . showString " "
1626.04 s
[opt-env-conf-test] . go 11 pa
1626.04 s
[opt-env-conf-test] ParserSelect pe pf ->
1626.04 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1626.04 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1626.04 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1626.04 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1626.04 s
[opt-env-conf-test] fileSetting p f = do
1626.04 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1626.04 s
[opt-env-conf-test] guard $ p s
1626.04 s
[opt-env-conf-test] pure $
1626.04 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1626.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1626.04 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1626.04 s
[opt-env-conf-test] where
1626.04 s
[opt-env-conf-test] go p =
1626.04 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1626.04 s
[opt-env-conf-test] in case p of
1626.04 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1626.04 s
[opt-env-conf-test] ParserAp {} -> p'
1626.04 s
[opt-env-conf-test] ParserSelect {} -> p'
1626.04 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1626.04 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1626.04 s
[opt-env-conf-test] ParserMany {} -> p'
1626.04 s
[opt-env-conf-test] - ParserSome {} -> p'
1626.04 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1626.04 s
[opt-env-conf-test] ParserCheck {} -> p'
1626.04 s
[opt-env-conf-test] ParserCommands {} -> p'
1626.04 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1626.04 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1626.04 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1626.04 s
[opt-env-conf-test] Just _ -> p
1626.04 s
[opt-env-conf-test]
1626.04 s
[opt-env-conf-test] -- | Try a list of parsers in order
1626.04 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1626.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1626.04 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1626.04 s
[opt-env-conf-test] where
1626.04 s
[opt-env-conf-test] go p =
1626.04 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1626.04 s
[opt-env-conf-test] in case p of
1626.04 s
[opt-env-conf-test] - ParserPure a -> ParserPure a
1626.04 s
[opt-env-conf-test] ParserAp {} -> p'
1626.04 s
[opt-env-conf-test] ParserSelect {} -> p'
1626.04 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1626.04 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1626.04 s
[opt-env-conf-test] ParserMany {} -> p'
1626.04 s
[opt-env-conf-test] ParserSome {} -> p'
1626.04 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1629.89 s
[opt-env-conf-test] ParserCheck {} -> p'
1629.89 s
[opt-env-conf-test] ParserCommands {} -> p'
1629.89 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1629.89 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1629.89 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1629.90 s
[opt-env-conf-test] Just _ -> p
1629.90 s
[opt-env-conf-test]
1629.90 s
[opt-env-conf-test] -- | Try a list of parsers in order
1629.90 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1629.90 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1063:12-18
1629.90 s
[opt-env-conf-test] @@ -1060,7 +1060,7 @@
1629.90 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1629.90 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1629.90 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1629.90 s
[opt-env-conf-test] - i -> J us t i
1629.90 s
[opt-env-conf-test] + i -> N o t h i ng
1629.90 s
[opt-env-conf-test] bareEnv = bareSetting (isJust . settingEnvVars) $ \case
1629.90 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1629.90 s
[opt-env-conf-test] BuildTryOption -> Nothing
1629.90 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1084:12-18
1629.90 s
[opt-env-conf-test] @@ -1081,7 +1081,7 @@
1629.90 s
[opt-env-conf-test] suffixEnvVarSetting "_FILE" e
1629.90 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1629.90 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1629.90 s
[opt-env-conf-test] - i -> J us t i
1629.90 s
[opt-env-conf-test] + i -> N o t h i ng
1629.90 s
[opt-env-conf-test] bareConf = bareSetting (isJust . settingConfigVals) $ \case
1629.90 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1629.90 s
[opt-env-conf-test] BuildTryOption -> Nothing
1629.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1629.90 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1629.90 s
[opt-env-conf-test] where
1629.90 s
[opt-env-conf-test] go p =
1629.90 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1629.90 s
[opt-env-conf-test] in case p of
1629.90 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1629.90 s
[opt-env-conf-test] ParserAp {} -> p'
1629.90 s
[opt-env-conf-test] ParserSelect {} -> p'
1629.90 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1629.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1629.90 s
[opt-env-conf-test] ParserMany {} -> p'
1629.90 s
[opt-env-conf-test] ParserSome {} -> p'
1629.90 s
[opt-env-conf-test] - ParserAllOrNothing {} -> p'
1629.90 s
[opt-env-conf-test] ParserCheck {} -> p'
1629.90 s
[opt-env-conf-test] ParserCommands {} -> p'
1629.90 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1629.90 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1629.90 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1629.91 s
[opt-env-conf-test] Just _ -> p
1629.91 s
[opt-env-conf-test]
1629.91 s
[opt-env-conf-test] -- | Try a list of parsers in order
1629.91 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1629.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
1629.91 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1629.91 s
[opt-env-conf-test] . showString " "
1629.91 s
[opt-env-conf-test] . go 11 pa
1629.91 s
[opt-env-conf-test] ParserSelect pe pf ->
1629.91 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1629.91 s
[opt-env-conf-test] + showParen T ru e $
1629.91 s
[opt-env-conf-test] showString "Select "
1629.91 s
[opt-env-conf-test] . go 11 pe
1629.91 s
[opt-env-conf-test] . showString " "
1629.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
1629.91 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1629.91 s
[opt-env-conf-test] . showString " "
1629.91 s
[opt-env-conf-test] . go 11 pa
1629.91 s
[opt-env-conf-test] ParserSelect pe pf ->
1629.91 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1629.91 s
[opt-env-conf-test] + showParen F a ls e $
1629.91 s
[opt-env-conf-test] showString "Select "
1629.91 s
[opt-env-conf-test] . go 11 pe
1629.91 s
[opt-env-conf-test] . showString " "
1629.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1629.91 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1629.91 s
[opt-env-conf-test] where
1629.91 s
[opt-env-conf-test] go p =
1629.91 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1629.91 s
[opt-env-conf-test] in case p of
1629.91 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1629.91 s
[opt-env-conf-test] - ParserAp {} -> p'
1629.91 s
[opt-env-conf-test] ParserSelect {} -> p'
1629.91 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1629.91 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1629.91 s
[opt-env-conf-test] ParserMany {} -> p'
1629.91 s
[opt-env-conf-test] ParserSome {} -> p'
1629.91 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1629.91 s
[opt-env-conf-test] ParserCheck {} -> p'
1629.91 s
[opt-env-conf-test] ParserCommands {} -> p'
1629.91 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1629.91 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1629.91 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1629.91 s
[opt-env-conf-test] Just _ -> p
1629.91 s
[opt-env-conf-test]
1629.91 s
[opt-env-conf-test] -- | Try a list of parsers in order
1629.91 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1629.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1629.91 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1629.91 s
[opt-env-conf-test] where
1629.91 s
[opt-env-conf-test] go p =
1629.91 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1629.92 s
[opt-env-conf-test] in case p of
1629.92 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1629.92 s
[opt-env-conf-test] ParserAp {} -> p'
1629.92 s
[opt-env-conf-test] ParserSelect {} -> p'
1629.92 s
[opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
1629.92 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1629.92 s
[opt-env-conf-test] ParserMany {} -> p'
1629.92 s
[opt-env-conf-test] ParserSome {} -> p'
1629.92 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1629.92 s
[opt-env-conf-test] ParserCheck {} -> p'
1629.92 s
[opt-env-conf-test] ParserCommands {} -> p'
1629.92 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1629.92 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1629.92 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1629.92 s
[opt-env-conf-test] Just _ -> p
1629.92 s
[opt-env-conf-test]
1629.92 s
[opt-env-conf-test] -- | Try a list of parsers in order
1629.92 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1629.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1629.92 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1629.92 s
[opt-env-conf-test] where
1629.92 s
[opt-env-conf-test] go p =
1629.92 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1629.92 s
[opt-env-conf-test] in case p of
1629.92 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1629.92 s
[opt-env-conf-test] ParserAp {} -> p'
1629.92 s
[opt-env-conf-test] - ParserSelect {} -> p'
1629.92 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1629.92 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1629.92 s
[opt-env-conf-test] ParserMany {} -> p'
1629.92 s
[opt-env-conf-test] ParserSome {} -> p'
1629.92 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1629.92 s
[opt-env-conf-test] ParserCheck {} -> p'
1629.92 s
[opt-env-conf-test] ParserCommands {} -> p'
1629.92 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1629.92 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1629.92 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1629.92 s
[opt-env-conf-test] Just _ -> p
1629.92 s
[opt-env-conf-test]
1629.92 s
[opt-env-conf-test] -- | Try a list of parsers in order
1629.92 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1629.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1629.92 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1629.92 s
[opt-env-conf-test] where
1629.92 s
[opt-env-conf-test] go p =
1629.92 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1629.92 s
[opt-env-conf-test] in case p of
1629.92 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1629.92 s
[opt-env-conf-test] ParserAp {} -> p'
1629.92 s
[opt-env-conf-test] ParserSelect {} -> p'
1629.93 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1629.93 s
[opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1629.93 s
[opt-env-conf-test] ParserMany {} -> p'
1629.93 s
[opt-env-conf-test] ParserSome {} -> p'
1629.93 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1629.93 s
[opt-env-conf-test] ParserCheck {} -> p'
1629.93 s
[opt-env-conf-test] ParserCommands {} -> p'
1629.93 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1629.93 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1629.93 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1629.93 s
[opt-env-conf-test] Just _ -> p
1629.93 s
[opt-env-conf-test]
1629.93 s
[opt-env-conf-test] -- | Try a list of parsers in order
1629.93 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1629.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
1629.93 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1629.93 s
[opt-env-conf-test] ParserCheck {} -> p'
1629.93 s
[opt-env-conf-test] ParserCommands {} -> p'
1629.93 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1629.93 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1629.93 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1629.93 s
[opt-env-conf-test] Just _ -> p
1629.93 s
[opt-env-conf-test]
1629.93 s
[opt-env-conf-test] -- | Try a list of parsers in order
1629.93 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1629.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
1629.93 s
[opt-env-conf-test] @@ -671,9 +671,8 @@
1629.93 s
[opt-env-conf-test] checkMapMaybeForgivable func p =
1629.93 s
[opt-env-conf-test] withFrozenCallStack $
1629.93 s
[opt-env-conf-test] checkMapEitherForgivable
1629.93 s
[opt-env-conf-test] ( \a -> case func a of
1629.93 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
1629.93 s
[opt-env-conf-test] - Just b -> Right b
1629.93 s
[opt-env-conf-test] )
1629.93 s
[opt-env-conf-test] p
1629.93 s
[opt-env-conf-test]
1629.93 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:705:57-63
1629.93 s
[opt-env-conf-test] @@ -702,7 +702,7 @@
1629.93 s
[opt-env-conf-test] let (mDefault, cs) = go bs
1629.93 s
[opt-env-conf-test] in case b of
1629.93 s
[opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
1629.93 s
[opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> J u s t d , cs)
1640.76 s
[opt-env-conf-test] + CommandsBuilderDefault d -> (mDefault <|> No t h ing , cs)
1640.79 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1640.79 s
[opt-env-conf-test]
1640.79 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
1640.79 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
1640.79 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1640.79 s
[opt-env-conf-test] ParserCheck {} -> p'
1640.79 s
[opt-env-conf-test] ParserCommands {} -> p'
1640.79 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1640.79 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1640.79 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1640.79 s
[opt-env-conf-test] - Just _ -> p
1640.79 s
[opt-env-conf-test]
1640.79 s
[opt-env-conf-test] -- | Try a list of parsers in order
1640.79 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1640.79 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1102:12-18
1640.79 s
[opt-env-conf-test] @@ -1099,7 +1099,7 @@
1640.79 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1640.79 s
[opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf $ suffixConfigValSettingKey "-file" k
1640.79 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1640.79 s
[opt-env-conf-test] - i -> J us t i
1640.79 s
[opt-env-conf-test] + i -> N o t h i ng
1640.79 s
[opt-env-conf-test]
1640.79 s
[opt-env-conf-test] -- | Prefix all 'long's and 'short's with a given 'String'.
1640.79 s
[opt-env-conf-test] {-# ANN subArgs ("NOCOVER" :: String) #-}
1640.79 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:563:72-117
1640.79 s
[opt-env-conf-test] @@ -560,7 +560,7 @@
1640.79 s
[opt-env-conf-test] ParserCommands {} -> p'
1640.79 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1640.79 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1640.80 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 ) }
1640.80 s
[opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = N o t h in g }
1640.80 s
[opt-env-conf-test] Just _ -> p
1640.80 s
[opt-env-conf-test]
1640.80 s
[opt-env-conf-test] -- | Try a list of parsers in order
1640.80 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1640.80 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1640.80 s
[opt-env-conf-test] ParserSelect pe pf ->
1640.80 s
[opt-env-conf-test] showParen (d > 10) $
1640.80 s
[opt-env-conf-test] showString "Select "
1640.80 s
[opt-env-conf-test] - . go 1 1 pe
1640.80 s
[opt-env-conf-test] + . go 0 pe
1640.80 s
[opt-env-conf-test] . showString " "
1640.80 s
[opt-env-conf-test] . go 11 pf
1640.80 s
[opt-env-conf-test] ParserEmpty mLoc ->
1640.80 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1640.80 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1640.80 s
[opt-env-conf-test] ParserSelect pe pf ->
1640.80 s
[opt-env-conf-test] showParen (d > 10) $
1640.80 s
[opt-env-conf-test] showString "Select "
1640.80 s
[opt-env-conf-test] - . go 1 1 pe
1640.80 s
[opt-env-conf-test] + . go 1 pe
1640.80 s
[opt-env-conf-test] . showString " "
1640.80 s
[opt-env-conf-test] . go 11 pf
1640.80 s
[opt-env-conf-test] ParserEmpty mLoc ->
1640.80 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:19-27
1640.80 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
1640.80 s
[opt-env-conf-test] . showString " "
1640.80 s
[opt-env-conf-test] . go 11 pa
1640.80 s
[opt-env-conf-test] ParserSelect pe pf ->
1640.80 s
[opt-env-conf-test] - showPare n ( d > 10) $
1640.80 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1640.80 s
[opt-env-conf-test] showString "Select "
1640.80 s
[opt-env-conf-test] . go 11 pe
1640.81 s
[opt-env-conf-test] . showString " "
1640.81 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1640.81 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1640.81 s
[opt-env-conf-test] where
1640.81 s
[opt-env-conf-test] go p =
1640.81 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1640.81 s
[opt-env-conf-test] in case p of
1640.81 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1640.81 s
[opt-env-conf-test] ParserAp {} -> p'
1640.81 s
[opt-env-conf-test] ParserSelect {} -> p'
1640.81 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1640.81 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1640.81 s
[opt-env-conf-test] ParserMany {} -> p'
1640.81 s
[opt-env-conf-test] ParserSome {} -> p'
1640.81 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1640.81 s
[opt-env-conf-test] - ParserCheck {} -> p'
1640.81 s
[opt-env-conf-test] ParserCommands {} -> p'
1640.81 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1640.81 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1640.81 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1640.81 s
[opt-env-conf-test] Just _ -> p
1640.81 s
[opt-env-conf-test]
1640.81 s
[opt-env-conf-test] -- | Try a list of parsers in order
1640.81 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1640.81 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
1640.81 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1640.81 s
[opt-env-conf-test] showString "Empty "
1640.81 s
[opt-env-conf-test] . showsPrec 11 mLoc
1640.81 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1640.81 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1640.81 s
[opt-env-conf-test] + showParen F a ls e $
1640.81 s
[opt-env-conf-test] showString "Alt "
1640.81 s
[opt-env-conf-test] . go 11 p1
1640.81 s
[opt-env-conf-test] . showString " "
1640.81 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:19-27
1640.81 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1640.81 s
[opt-env-conf-test] showString "Empty "
1640.81 s
[opt-env-conf-test] . showsPrec 11 mLoc
1640.81 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1640.81 s
[opt-env-conf-test] - showPare n ( d > 10) $
1640.82 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1640.82 s
[opt-env-conf-test] showString "Alt "
1640.82 s
[opt-env-conf-test] . go 11 p1
1640.82 s
[opt-env-conf-test] . showString " "
1640.82 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1640.82 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1640.82 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1640.82 s
[opt-env-conf-test] showParen (d > 10) $
1640.82 s
[opt-env-conf-test] showString "Alt "
1640.82 s
[opt-env-conf-test] - . go 1 1 p1
1640.82 s
[opt-env-conf-test] + . go 0 p1
1640.82 s
[opt-env-conf-test] . showString " "
1640.82 s
[opt-env-conf-test] . go 11 p2
1640.82 s
[opt-env-conf-test] ParserMany mLoc p ->
1640.82 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1640.82 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1640.82 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1640.82 s
[opt-env-conf-test] showParen (d > 10) $
1640.82 s
[opt-env-conf-test] showString "Alt "
1640.82 s
[opt-env-conf-test] - . go 11 p1
1640.82 s
[opt-env-conf-test] + . go - 11 p1
1640.82 s
[opt-env-conf-test] . showString " "
1640.82 s
[opt-env-conf-test] . go 11 p2
1640.82 s
[opt-env-conf-test] ParserMany mLoc p ->
1640.82 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
1640.82 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
1640.82 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1640.82 s
[opt-env-conf-test] showParen (d > 10) $
1640.82 s
[opt-env-conf-test] showString "Alt "
1640.82 s
[opt-env-conf-test] - . go 1 1 p1
1640.82 s
[opt-env-conf-test] + . go 1 p1
1640.82 s
[opt-env-conf-test] . showString " "
1640.82 s
[opt-env-conf-test] . go 11 p2
1640.82 s
[opt-env-conf-test] ParserMany mLoc p ->
1640.82 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1640.82 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1640.82 s
[opt-env-conf-test] showString "Alt "
1640.83 s
[opt-env-conf-test] . go 11 p1
1640.83 s
[opt-env-conf-test] . showString " "
1640.83 s
[opt-env-conf-test] - . go 1 1 p2
1640.83 s
[opt-env-conf-test] + . go 0 p2
1640.83 s
[opt-env-conf-test] ParserMany mLoc p ->
1640.83 s
[opt-env-conf-test] showParen (d > 10) $
1640.83 s
[opt-env-conf-test] showString "Many "
1640.83 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1640.83 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1640.83 s
[opt-env-conf-test] showString "Alt "
1640.83 s
[opt-env-conf-test] . go 11 p1
1640.83 s
[opt-env-conf-test] . showString " "
1640.83 s
[opt-env-conf-test] - . go 1 1 p2
1640.83 s
[opt-env-conf-test] + . go 1 p2
1640.83 s
[opt-env-conf-test] ParserMany mLoc p ->
1640.83 s
[opt-env-conf-test] showParen (d > 10) $
1640.83 s
[opt-env-conf-test] showString "Many "
1640.83 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
1640.83 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
1640.83 s
[opt-env-conf-test] showString "Alt "
1640.83 s
[opt-env-conf-test] . go 11 p1
1640.83 s
[opt-env-conf-test] . showString " "
1640.83 s
[opt-env-conf-test] - . go 11 p2
1640.83 s
[opt-env-conf-test] + . go - 11 p2
1640.83 s
[opt-env-conf-test] ParserMany mLoc p ->
1640.83 s
[opt-env-conf-test] showParen (d > 10) $
1640.83 s
[opt-env-conf-test] showString "Many "
1640.83 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1640.83 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1640.83 s
[opt-env-conf-test] . showString " "
1640.83 s
[opt-env-conf-test] . go 11 p2
1640.83 s
[opt-env-conf-test] ParserMany mLoc p ->
1640.83 s
[opt-env-conf-test] - showParen (d > 1 0) $
1640.83 s
[opt-env-conf-test] + showParen (d > 0) $
1640.83 s
[opt-env-conf-test] showString "Many "
1640.83 s
[opt-env-conf-test] . showsPrec 11 mLoc
1640.83 s
[opt-env-conf-test] . showString " "
1640.83 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1640.83 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1640.83 s
[opt-env-conf-test] . showString " "
1640.83 s
[opt-env-conf-test] . go 11 p2
1640.83 s
[opt-env-conf-test] ParserMany mLoc p ->
1640.83 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1640.83 s
[opt-env-conf-test] + showParen (d > 1 ) $
1640.83 s
[opt-env-conf-test] showString "Many "
1640.83 s
[opt-env-conf-test] . showsPrec 11 mLoc
1640.83 s
[opt-env-conf-test] . showString " "
1640.84 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
1640.84 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1640.84 s
[opt-env-conf-test] . showString " "
1640.84 s
[opt-env-conf-test] . go 11 p2
1647.65 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.65 s
[opt-env-conf-test] - showParen (d > 10) $
1647.68 s
[opt-env-conf-test] + showParen (d > - 10) $
1647.68 s
[opt-env-conf-test] showString "Many "
1647.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.68 s
[opt-env-conf-test] . showString " "
1647.68 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
1647.68 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1647.68 s
[opt-env-conf-test] . showString " "
1647.69 s
[opt-env-conf-test] . go 11 p2
1647.69 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.69 s
[opt-env-conf-test] - showParen (d > 10) $
1647.69 s
[opt-env-conf-test] + showParen (d < 10) $
1647.69 s
[opt-env-conf-test] showString "Many "
1647.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.69 s
[opt-env-conf-test] . showString " "
1647.69 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
1647.69 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1647.69 s
[opt-env-conf-test] . showString " "
1647.69 s
[opt-env-conf-test] . go 11 p2
1647.69 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.69 s
[opt-env-conf-test] - showParen (d > 10) $
1647.69 s
[opt-env-conf-test] + showParen (d < = 10) $
1647.69 s
[opt-env-conf-test] showString "Many "
1647.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.69 s
[opt-env-conf-test] . showString " "
1647.69 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
1647.69 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1647.69 s
[opt-env-conf-test] . showString " "
1647.69 s
[opt-env-conf-test] . go 11 p2
1647.69 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.69 s
[opt-env-conf-test] - showParen (d > 10) $
1647.69 s
[opt-env-conf-test] + showParen (d > = 10) $
1647.69 s
[opt-env-conf-test] showString "Many "
1647.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.69 s
[opt-env-conf-test] . showString " "
1647.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
1647.69 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1647.69 s
[opt-env-conf-test] . showString " "
1647.69 s
[opt-env-conf-test] . go 11 p2
1647.69 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.69 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1647.69 s
[opt-env-conf-test] + showParen ( Tru e ) $
1647.69 s
[opt-env-conf-test] showString "Many "
1647.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.69 s
[opt-env-conf-test] . showString " "
1647.69 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
1647.69 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1647.69 s
[opt-env-conf-test] . showString " "
1647.69 s
[opt-env-conf-test] . go 11 p2
1647.69 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.70 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1647.70 s
[opt-env-conf-test] + showParen ( F a lse ) $
1647.70 s
[opt-env-conf-test] showString "Many "
1647.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.70 s
[opt-env-conf-test] . showString " "
1647.70 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:20-26
1647.70 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1647.70 s
[opt-env-conf-test] . showString " "
1647.70 s
[opt-env-conf-test] . go 11 p2
1647.70 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.70 s
[opt-env-conf-test] - showPare n (d > 10) $
1647.70 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1647.70 s
[opt-env-conf-test] showString "Many "
1647.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.70 s
[opt-env-conf-test] . showString " "
1647.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
1647.70 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1647.70 s
[opt-env-conf-test] . showString " "
1647.70 s
[opt-env-conf-test] . go 11 p2
1647.70 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.71 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1647.71 s
[opt-env-conf-test] + showParen T ru e $
1647.71 s
[opt-env-conf-test] showString "Many "
1647.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.71 s
[opt-env-conf-test] . showString " "
1647.71 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
1647.71 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1647.71 s
[opt-env-conf-test] . showString " "
1647.71 s
[opt-env-conf-test] . go 11 p2
1647.71 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.71 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1647.71 s
[opt-env-conf-test] + showParen F a ls e $
1647.71 s
[opt-env-conf-test] showString "Many "
1647.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.71 s
[opt-env-conf-test] . showString " "
1647.71 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:19-27
1647.71 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1647.71 s
[opt-env-conf-test] . showString " "
1647.71 s
[opt-env-conf-test] . go 11 p2
1647.71 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.71 s
[opt-env-conf-test] - showPare n ( d > 10) $
1647.71 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1647.71 s
[opt-env-conf-test] showString "Many "
1647.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.71 s
[opt-env-conf-test] . showString " "
1647.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1647.71 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1647.71 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.71 s
[opt-env-conf-test] showParen (d > 10) $
1647.71 s
[opt-env-conf-test] showString "Many "
1647.71 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1647.71 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1647.71 s
[opt-env-conf-test] . showString " "
1647.71 s
[opt-env-conf-test] . go 11 p
1647.71 s
[opt-env-conf-test] ParserSome mLoc p ->
1647.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1647.71 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1647.71 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.71 s
[opt-env-conf-test] showParen (d > 10) $
1647.71 s
[opt-env-conf-test] showString "Many "
1647.71 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1647.71 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1647.71 s
[opt-env-conf-test] . showString " "
1647.71 s
[opt-env-conf-test] . go 11 p
1647.71 s
[opt-env-conf-test] ParserSome mLoc p ->
1647.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
1647.71 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
1647.71 s
[opt-env-conf-test] ParserMany mLoc p ->
1647.71 s
[opt-env-conf-test] showParen (d > 10) $
1647.71 s
[opt-env-conf-test] showString "Many "
1647.71 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1647.71 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1647.71 s
[opt-env-conf-test] . showString " "
1647.71 s
[opt-env-conf-test] . go 11 p
1647.72 s
[opt-env-conf-test] ParserSome mLoc p ->
1647.72 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1647.72 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1647.72 s
[opt-env-conf-test] showString "Many "
1647.72 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.72 s
[opt-env-conf-test] . showString " "
1647.72 s
[opt-env-conf-test] - . go 1 1 p
1647.72 s
[opt-env-conf-test] + . go 0 p
1647.72 s
[opt-env-conf-test] ParserSome mLoc p ->
1647.72 s
[opt-env-conf-test] showParen (d > 10) $
1647.72 s
[opt-env-conf-test] showString "Some "
1647.72 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1647.72 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1647.72 s
[opt-env-conf-test] showString "Many "
1647.72 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.72 s
[opt-env-conf-test] . showString " "
1647.72 s
[opt-env-conf-test] - . go 1 1 p
1647.72 s
[opt-env-conf-test] + . go 1 p
1647.72 s
[opt-env-conf-test] ParserSome mLoc p ->
1647.72 s
[opt-env-conf-test] showParen (d > 10) $
1647.72 s
[opt-env-conf-test] showString "Some "
1647.72 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
1647.72 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
1647.72 s
[opt-env-conf-test] showString "Many "
1647.72 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.72 s
[opt-env-conf-test] . showString " "
1647.72 s
[opt-env-conf-test] - . go 11 p
1647.72 s
[opt-env-conf-test] + . go - 11 p
1647.72 s
[opt-env-conf-test] ParserSome mLoc p ->
1647.72 s
[opt-env-conf-test] showParen (d > 10) $
1647.72 s
[opt-env-conf-test] showString "Some "
1647.72 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
1647.72 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1647.72 s
[opt-env-conf-test] showString "Empty "
1647.72 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.72 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1647.72 s
[opt-env-conf-test] - showParen (d > 10) $
1647.72 s
[opt-env-conf-test] + showParen (d < 10) $
1647.72 s
[opt-env-conf-test] showString "Alt "
1647.72 s
[opt-env-conf-test] . go 11 p1
1647.72 s
[opt-env-conf-test] . showString " "
1647.72 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
1647.72 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1647.72 s
[opt-env-conf-test] showString "Empty "
1647.72 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.72 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1647.72 s
[opt-env-conf-test] - showParen (d > 10) $
1647.72 s
[opt-env-conf-test] + showParen (d < = 10) $
1647.72 s
[opt-env-conf-test] showString "Alt "
1647.72 s
[opt-env-conf-test] . go 11 p1
1647.72 s
[opt-env-conf-test] . showString " "
1647.72 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1647.72 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1647.72 s
[opt-env-conf-test] showString "Empty "
1647.72 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.72 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1647.72 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1647.72 s
[opt-env-conf-test] + showParen (d > 1 ) $
1647.72 s
[opt-env-conf-test] showString "Alt "
1647.72 s
[opt-env-conf-test] . go 11 p1
1647.72 s
[opt-env-conf-test] . showString " "
1647.72 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1647.72 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1647.72 s
[opt-env-conf-test] showString "Empty "
1647.72 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.72 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1647.72 s
[opt-env-conf-test] - showParen (d > 10) $
1647.72 s
[opt-env-conf-test] + showParen (d > - 10) $
1647.73 s
[opt-env-conf-test] showString "Alt "
1647.73 s
[opt-env-conf-test] . go 11 p1
1647.73 s
[opt-env-conf-test] . showString " "
1647.73 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:20-26
1647.73 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1647.73 s
[opt-env-conf-test] showString "Empty "
1647.73 s
[opt-env-conf-test] . showsPrec 11 mLoc
1647.73 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1647.73 s
[opt-env-conf-test] - showPare n (d > 10) $
1656.42 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1656.42 s
[opt-env-conf-test] showString "Alt "
1656.47 s
[opt-env-conf-test] . go 11 p1
1656.47 s
[opt-env-conf-test] . showString " "
1656.47 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1656.47 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1656.47 s
[opt-env-conf-test] . go 11 pf
1656.47 s
[opt-env-conf-test] ParserEmpty mLoc ->
1656.47 s
[opt-env-conf-test] showString "Empty "
1656.47 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1656.47 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1656.47 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1656.47 s
[opt-env-conf-test] showParen (d > 10) $
1656.47 s
[opt-env-conf-test] showString "Alt "
1656.47 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
1656.48 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1656.48 s
[opt-env-conf-test] showString "Empty "
1656.48 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.48 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1656.48 s
[opt-env-conf-test] - showParen (d > 1 0) $
1656.48 s
[opt-env-conf-test] + showParen (d > 0) $
1656.48 s
[opt-env-conf-test] showString "Alt "
1656.48 s
[opt-env-conf-test] . go 11 p1
1656.48 s
[opt-env-conf-test] . showString " "
1656.48 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
1656.48 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1656.48 s
[opt-env-conf-test] . showString " "
1656.48 s
[opt-env-conf-test] . go 11 p
1656.48 s
[opt-env-conf-test] ParserSome mLoc p ->
1656.48 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1656.48 s
[opt-env-conf-test] + showParen ( F a lse ) $
1656.48 s
[opt-env-conf-test] showString "Some "
1656.48 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.48 s
[opt-env-conf-test] . showString " "
1656.48 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:20-26
1656.48 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1656.48 s
[opt-env-conf-test] . showString " "
1656.48 s
[opt-env-conf-test] . go 11 p
1656.48 s
[opt-env-conf-test] ParserSome mLoc p ->
1656.48 s
[opt-env-conf-test] - showPare n (d > 10) $
1656.49 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1656.49 s
[opt-env-conf-test] showString "Some "
1656.49 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.49 s
[opt-env-conf-test] . showString " "
1656.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
1656.49 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1656.49 s
[opt-env-conf-test] . showString " "
1656.49 s
[opt-env-conf-test] . go 11 p
1656.49 s
[opt-env-conf-test] ParserSome mLoc p ->
1656.49 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1656.49 s
[opt-env-conf-test] + showParen T ru e $
1656.49 s
[opt-env-conf-test] showString "Some "
1656.49 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.49 s
[opt-env-conf-test] . showString " "
1656.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
1656.49 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1656.49 s
[opt-env-conf-test] . showString " "
1656.49 s
[opt-env-conf-test] . go 11 p
1656.49 s
[opt-env-conf-test] ParserSome mLoc p ->
1656.49 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1656.49 s
[opt-env-conf-test] + showParen F a ls e $
1656.49 s
[opt-env-conf-test] showString "Some "
1656.49 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.49 s
[opt-env-conf-test] . showString " "
1656.49 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:19-27
1656.49 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1656.49 s
[opt-env-conf-test] . showString " "
1656.49 s
[opt-env-conf-test] . go 11 p
1656.49 s
[opt-env-conf-test] ParserSome mLoc p ->
1656.49 s
[opt-env-conf-test] - showPare n ( d > 10) $
1656.50 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1656.50 s
[opt-env-conf-test] showString "Some "
1656.50 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.50 s
[opt-env-conf-test] . showString " "
1656.50 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1656.50 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1656.50 s
[opt-env-conf-test] ParserSome mLoc p ->
1656.50 s
[opt-env-conf-test] showParen (d > 10) $
1656.50 s
[opt-env-conf-test] showString "Some "
1656.50 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1656.50 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1656.50 s
[opt-env-conf-test] . showString " "
1656.50 s
[opt-env-conf-test] . go 11 p
1656.50 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.50 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1656.50 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1656.50 s
[opt-env-conf-test] ParserSome mLoc p ->
1656.50 s
[opt-env-conf-test] showParen (d > 10) $
1656.50 s
[opt-env-conf-test] showString "Some "
1656.50 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1656.50 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1656.50 s
[opt-env-conf-test] . showString " "
1656.50 s
[opt-env-conf-test] . go 11 p
1656.50 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.50 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
1656.50 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
1656.50 s
[opt-env-conf-test] ParserSome mLoc p ->
1656.50 s
[opt-env-conf-test] showParen (d > 10) $
1656.51 s
[opt-env-conf-test] showString "Some "
1656.51 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1656.51 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1656.51 s
[opt-env-conf-test] . showString " "
1656.51 s
[opt-env-conf-test] . go 11 p
1656.51 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.51 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1656.51 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1656.51 s
[opt-env-conf-test] showString "Some "
1656.51 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.51 s
[opt-env-conf-test] . showString " "
1656.51 s
[opt-env-conf-test] - . go 1 1 p
1656.51 s
[opt-env-conf-test] + . go 0 p
1656.51 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.51 s
[opt-env-conf-test] showParen (d > 10) $
1656.51 s
[opt-env-conf-test] showString "AllOrNothing "
1656.51 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1656.51 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1656.51 s
[opt-env-conf-test] showString "Some "
1656.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.52 s
[opt-env-conf-test] . showString " "
1656.52 s
[opt-env-conf-test] - . go 1 1 p
1656.52 s
[opt-env-conf-test] + . go 1 p
1656.52 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.52 s
[opt-env-conf-test] showParen (d > 10) $
1656.52 s
[opt-env-conf-test] showString "AllOrNothing "
1656.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
1656.52 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
1656.52 s
[opt-env-conf-test] showString "Some "
1656.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.52 s
[opt-env-conf-test] . showString " "
1656.52 s
[opt-env-conf-test] - . go 11 p
1656.52 s
[opt-env-conf-test] + . go - 11 p
1656.52 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.52 s
[opt-env-conf-test] showParen (d > 10) $
1656.52 s
[opt-env-conf-test] showString "AllOrNothing "
1656.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1656.52 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1656.52 s
[opt-env-conf-test] . showString " "
1656.52 s
[opt-env-conf-test] . go 11 p
1656.53 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.53 s
[opt-env-conf-test] - showParen (d > 1 0) $
1656.53 s
[opt-env-conf-test] + showParen (d > 0) $
1656.53 s
[opt-env-conf-test] showString "AllOrNothing "
1656.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.53 s
[opt-env-conf-test] . showString " "
1656.53 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1656.53 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1656.53 s
[opt-env-conf-test] . showString " "
1656.53 s
[opt-env-conf-test] . go 11 p
1656.53 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.53 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1656.53 s
[opt-env-conf-test] + showParen (d > 1 ) $
1656.53 s
[opt-env-conf-test] showString "AllOrNothing "
1656.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.53 s
[opt-env-conf-test] . showString " "
1656.53 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
1656.53 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1656.53 s
[opt-env-conf-test] . showString " "
1656.53 s
[opt-env-conf-test] . go 11 p
1656.53 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.53 s
[opt-env-conf-test] - showParen (d > 10) $
1656.53 s
[opt-env-conf-test] + showParen (d > - 10) $
1656.53 s
[opt-env-conf-test] showString "AllOrNothing "
1656.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.53 s
[opt-env-conf-test] . showString " "
1656.53 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
1656.53 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1656.53 s
[opt-env-conf-test] . showString " "
1656.53 s
[opt-env-conf-test] . go 11 p
1656.53 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.53 s
[opt-env-conf-test] - showParen (d > 10) $
1656.53 s
[opt-env-conf-test] + showParen (d < 10) $
1656.53 s
[opt-env-conf-test] showString "AllOrNothing "
1656.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.53 s
[opt-env-conf-test] . showString " "
1656.53 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
1656.53 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1656.53 s
[opt-env-conf-test] . showString " "
1656.53 s
[opt-env-conf-test] . go 11 p
1656.54 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.54 s
[opt-env-conf-test] - showParen (d > 10) $
1656.54 s
[opt-env-conf-test] + showParen (d < = 10) $
1656.54 s
[opt-env-conf-test] showString "AllOrNothing "
1656.54 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.54 s
[opt-env-conf-test] . showString " "
1656.54 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
1656.54 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1656.54 s
[opt-env-conf-test] . showString " "
1656.54 s
[opt-env-conf-test] . go 11 p
1656.54 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1656.54 s
[opt-env-conf-test] - showParen (d > 10) $
1656.54 s
[opt-env-conf-test] + showParen (d > = 10) $
1656.54 s
[opt-env-conf-test] showString "AllOrNothing "
1656.54 s
[opt-env-conf-test] . showsPrec 11 mLoc
1656.54 s
[opt-env-conf-test] . showString " "
1656.54 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
1656.54 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1656.54 s
[opt-env-conf-test] . showString " "
1656.54 s
[opt-env-conf-test] . go 11 p
1656.54 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1657.85 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1657.85 s
[opt-env-conf-test] + showParen ( Tru e ) $
1657.85 s
[opt-env-conf-test] showString "AllOrNothing "
1657.85 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.85 s
[opt-env-conf-test] . showString " "
1657.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
1657.85 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1657.86 s
[opt-env-conf-test] . showString " "
1657.86 s
[opt-env-conf-test] . go 11 p
1657.86 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1657.86 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1657.86 s
[opt-env-conf-test] + showParen ( F a lse ) $
1657.86 s
[opt-env-conf-test] showString "AllOrNothing "
1657.86 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.86 s
[opt-env-conf-test] . showString " "
1657.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:20-26
1657.86 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1657.86 s
[opt-env-conf-test] . showString " "
1657.86 s
[opt-env-conf-test] . go 11 p
1657.86 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1657.86 s
[opt-env-conf-test] - showPare n (d > 10) $
1657.86 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1657.86 s
[opt-env-conf-test] showString "AllOrNothing "
1657.86 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.86 s
[opt-env-conf-test] . showString " "
1657.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
1657.86 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1657.86 s
[opt-env-conf-test] . showString " "
1657.86 s
[opt-env-conf-test] . go 11 p
1657.86 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1657.86 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1657.86 s
[opt-env-conf-test] + showParen T ru e $
1657.86 s
[opt-env-conf-test] showString "AllOrNothing "
1657.86 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.86 s
[opt-env-conf-test] . showString " "
1657.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
1657.86 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1657.86 s
[opt-env-conf-test] . showString " "
1657.86 s
[opt-env-conf-test] . go 11 p
1657.86 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1657.86 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1657.86 s
[opt-env-conf-test] + showParen F a ls e $
1657.86 s
[opt-env-conf-test] showString "AllOrNothing "
1657.86 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.86 s
[opt-env-conf-test] . showString " "
1657.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:19-27
1657.86 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1657.87 s
[opt-env-conf-test] . showString " "
1657.87 s
[opt-env-conf-test] . go 11 p
1657.87 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1657.87 s
[opt-env-conf-test] - showPare n ( d > 10) $
1657.87 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1657.87 s
[opt-env-conf-test] showString "AllOrNothing "
1657.87 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.87 s
[opt-env-conf-test] . showString " "
1657.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1657.87 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1657.87 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1657.87 s
[opt-env-conf-test] showParen (d > 10) $
1657.87 s
[opt-env-conf-test] showString "AllOrNothing "
1657.87 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1657.87 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1657.87 s
[opt-env-conf-test] . showString " "
1657.87 s
[opt-env-conf-test] . go 11 p
1657.87 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1657.87 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1657.87 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1657.87 s
[opt-env-conf-test] showParen (d > 10) $
1657.87 s
[opt-env-conf-test] showString "AllOrNothing "
1657.87 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1657.87 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1657.87 s
[opt-env-conf-test] . showString " "
1657.87 s
[opt-env-conf-test] . go 11 p
1657.87 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
1657.87 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
1657.87 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
1657.87 s
[opt-env-conf-test] showParen (d > 10) $
1657.87 s
[opt-env-conf-test] showString "AllOrNothing "
1657.87 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1657.87 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1657.87 s
[opt-env-conf-test] . showString " "
1657.87 s
[opt-env-conf-test] . go 11 p
1657.87 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1657.87 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1657.87 s
[opt-env-conf-test] showString "AllOrNothing "
1657.88 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.88 s
[opt-env-conf-test] . showString " "
1657.88 s
[opt-env-conf-test] - . go 1 1 p
1657.88 s
[opt-env-conf-test] + . go 0 p
1657.88 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.88 s
[opt-env-conf-test] showParen (d > 10) $
1657.88 s
[opt-env-conf-test] showString "Check "
1657.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1657.88 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1657.88 s
[opt-env-conf-test] showString "AllOrNothing "
1657.88 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.88 s
[opt-env-conf-test] . showString " "
1657.88 s
[opt-env-conf-test] - . go 1 1 p
1657.88 s
[opt-env-conf-test] + . go 1 p
1657.88 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.88 s
[opt-env-conf-test] showParen (d > 10) $
1657.88 s
[opt-env-conf-test] showString "Check "
1657.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
1657.88 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
1657.88 s
[opt-env-conf-test] showString "AllOrNothing "
1657.88 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.88 s
[opt-env-conf-test] . showString " "
1657.88 s
[opt-env-conf-test] - . go 11 p
1657.88 s
[opt-env-conf-test] + . go - 11 p
1657.88 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.88 s
[opt-env-conf-test] showParen (d > 10) $
1657.88 s
[opt-env-conf-test] showString "Check "
1657.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1657.88 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1657.88 s
[opt-env-conf-test] . showString " "
1657.88 s
[opt-env-conf-test] . go 11 p
1657.88 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.88 s
[opt-env-conf-test] - showParen (d > 1 0) $
1657.88 s
[opt-env-conf-test] + showParen (d > 0) $
1657.88 s
[opt-env-conf-test] showString "Check "
1657.88 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.88 s
[opt-env-conf-test] . showString " "
1657.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1657.88 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1657.88 s
[opt-env-conf-test] . showString " "
1657.88 s
[opt-env-conf-test] . go 11 p
1657.88 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.88 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1657.88 s
[opt-env-conf-test] + showParen (d > 1 ) $
1657.88 s
[opt-env-conf-test] showString "Check "
1657.88 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.88 s
[opt-env-conf-test] . showString " "
1657.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
1657.88 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1657.88 s
[opt-env-conf-test] . showString " "
1657.89 s
[opt-env-conf-test] . go 11 p
1657.89 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.89 s
[opt-env-conf-test] - showParen (d > 10) $
1657.89 s
[opt-env-conf-test] + showParen (d > - 10) $
1657.89 s
[opt-env-conf-test] showString "Check "
1657.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.89 s
[opt-env-conf-test] . showString " "
1657.89 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
1657.89 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1657.89 s
[opt-env-conf-test] . showString " "
1657.89 s
[opt-env-conf-test] . go 11 p
1657.89 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.89 s
[opt-env-conf-test] - showParen (d > 10) $
1657.89 s
[opt-env-conf-test] + showParen (d < 10) $
1657.89 s
[opt-env-conf-test] showString "Check "
1657.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.89 s
[opt-env-conf-test] . showString " "
1657.89 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
1657.89 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1657.89 s
[opt-env-conf-test] . showString " "
1657.89 s
[opt-env-conf-test] . go 11 p
1657.89 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.89 s
[opt-env-conf-test] - showParen (d > 10) $
1657.89 s
[opt-env-conf-test] + showParen (d < = 10) $
1657.89 s
[opt-env-conf-test] showString "Check "
1657.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.89 s
[opt-env-conf-test] . showString " "
1657.89 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
1657.89 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1657.89 s
[opt-env-conf-test] . showString " "
1657.89 s
[opt-env-conf-test] . go 11 p
1657.89 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.89 s
[opt-env-conf-test] - showParen (d > 10) $
1657.89 s
[opt-env-conf-test] + showParen (d > = 10) $
1657.89 s
[opt-env-conf-test] showString "Check "
1657.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.89 s
[opt-env-conf-test] . showString " "
1657.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
1657.89 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1657.89 s
[opt-env-conf-test] . showString " "
1657.89 s
[opt-env-conf-test] . go 11 p
1657.89 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1657.89 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1657.89 s
[opt-env-conf-test] + showParen ( Tru e ) $
1657.89 s
[opt-env-conf-test] showString "Check "
1657.89 s
[opt-env-conf-test] . showsPrec 11 mLoc
1657.89 s
[opt-env-conf-test] . showString " "
1657.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
1657.89 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1657.89 s
[opt-env-conf-test] . showString " "
1657.89 s
[opt-env-conf-test] . go 11 p
1657.89 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1669.06 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1669.08 s
[opt-env-conf-test] + showParen ( F a lse ) $
1669.08 s
[opt-env-conf-test] showString "Check "
1669.08 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.08 s
[opt-env-conf-test] . showString " "
1669.08 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:20-26
1669.08 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1669.09 s
[opt-env-conf-test] . showString " "
1669.09 s
[opt-env-conf-test] . go 11 p
1669.09 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1669.09 s
[opt-env-conf-test] - showPare n (d > 10) $
1669.09 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1669.09 s
[opt-env-conf-test] showString "Check "
1669.09 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.09 s
[opt-env-conf-test] . showString " "
1669.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
1669.09 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1669.09 s
[opt-env-conf-test] . showString " "
1669.09 s
[opt-env-conf-test] . go 11 p
1669.09 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1669.09 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1669.09 s
[opt-env-conf-test] + showParen T ru e $
1669.09 s
[opt-env-conf-test] showString "Check "
1669.09 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.09 s
[opt-env-conf-test] . showString " "
1669.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
1669.09 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1669.09 s
[opt-env-conf-test] . showString " "
1669.09 s
[opt-env-conf-test] . go 11 p
1669.09 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1669.09 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1669.09 s
[opt-env-conf-test] + showParen F a ls e $
1669.10 s
[opt-env-conf-test] showString "Check "
1669.10 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.10 s
[opt-env-conf-test] . showString " "
1669.10 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:19-27
1669.10 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1669.10 s
[opt-env-conf-test] . showString " "
1669.10 s
[opt-env-conf-test] . go 11 p
1669.10 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1669.10 s
[opt-env-conf-test] - showPare n ( d > 10) $
1669.10 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1669.10 s
[opt-env-conf-test] showString "Check "
1669.10 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.10 s
[opt-env-conf-test] . showString " "
1669.10 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1669.10 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1669.10 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1669.10 s
[opt-env-conf-test] showParen (d > 10) $
1669.10 s
[opt-env-conf-test] showString "Check "
1669.10 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1669.10 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1669.10 s
[opt-env-conf-test] . showString " "
1669.10 s
[opt-env-conf-test] . showsPrec 11 forgivable
1669.10 s
[opt-env-conf-test] . showString " "
1669.10 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1669.10 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1669.10 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1669.10 s
[opt-env-conf-test] showParen (d > 10) $
1669.10 s
[opt-env-conf-test] showString "Check "
1669.10 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1669.10 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1669.10 s
[opt-env-conf-test] . showString " "
1669.10 s
[opt-env-conf-test] . showsPrec 11 forgivable
1669.11 s
[opt-env-conf-test] . showString " "
1669.11 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
1669.11 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
1669.11 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1669.11 s
[opt-env-conf-test] showParen (d > 10) $
1669.11 s
[opt-env-conf-test] showString "Check "
1669.11 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1669.11 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1669.11 s
[opt-env-conf-test] . showString " "
1669.11 s
[opt-env-conf-test] . showsPrec 11 forgivable
1669.11 s
[opt-env-conf-test] . showString " "
1669.11 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1669.11 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1669.11 s
[opt-env-conf-test] showString "Check "
1669.11 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.11 s
[opt-env-conf-test] . showString " "
1669.11 s
[opt-env-conf-test] - . showsPrec 1 1 forgivable
1669.11 s
[opt-env-conf-test] + . showsPrec 0 forgivable
1669.11 s
[opt-env-conf-test] . showString " "
1669.11 s
[opt-env-conf-test] . showsPrec 11 caps
1669.11 s
[opt-env-conf-test] . showString " _ "
1669.11 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1669.11 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1669.11 s
[opt-env-conf-test] showString "Check "
1669.11 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.11 s
[opt-env-conf-test] . showString " "
1669.11 s
[opt-env-conf-test] - . showsPrec 1 1 forgivable
1669.11 s
[opt-env-conf-test] + . showsPrec 1 forgivable
1669.11 s
[opt-env-conf-test] . showString " "
1669.11 s
[opt-env-conf-test] . showsPrec 11 caps
1669.11 s
[opt-env-conf-test] . showString " _ "
1669.11 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
1669.11 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1669.11 s
[opt-env-conf-test] showString "Check "
1669.11 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.11 s
[opt-env-conf-test] . showString " "
1669.11 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1669.11 s
[opt-env-conf-test] + . showsPrec - 11 forgivable
1669.11 s
[opt-env-conf-test] . showString " "
1669.11 s
[opt-env-conf-test] . showsPrec 11 caps
1669.11 s
[opt-env-conf-test] . showString " _ "
1669.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
1669.11 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1669.11 s
[opt-env-conf-test] showString "Check "
1669.12 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.12 s
[opt-env-conf-test] . showString " "
1669.12 s
[opt-env-conf-test] - . showsPrec 11 f o r gi v a b l e
1669.12 s
[opt-env-conf-test] + . showsPrec 11 T r u e
1669.12 s
[opt-env-conf-test] . showString " "
1669.12 s
[opt-env-conf-test] . showsPrec 11 caps
1669.12 s
[opt-env-conf-test] . showString " _ "
1669.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
1669.12 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1669.12 s
[opt-env-conf-test] showString "Check "
1669.12 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.12 s
[opt-env-conf-test] . showString " "
1669.12 s
[opt-env-conf-test] - . showsPrec 11 f o rg iv a b l e
1669.12 s
[opt-env-conf-test] + . showsPrec 11 F a l s e
1669.12 s
[opt-env-conf-test] . showString " "
1669.12 s
[opt-env-conf-test] . showsPrec 11 caps
1669.12 s
[opt-env-conf-test] . showString " _ "
1669.12 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:349:28-38
1669.12 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
1669.12 s
[opt-env-conf-test] showString "Check "
1669.12 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.12 s
[opt-env-conf-test] . showString " "
1669.12 s
[opt-env-conf-test] - . showsPrec 11 forgivable
1669.12 s
[opt-env-conf-test] + . showsPrec 11 n o t ( forgivable )
1669.12 s
[opt-env-conf-test] . showString " "
1669.12 s
[opt-env-conf-test] . showsPrec 11 caps
1669.12 s
[opt-env-conf-test] . showString " _ "
1669.12 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1669.12 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1669.12 s
[opt-env-conf-test] . showString " "
1669.12 s
[opt-env-conf-test] . showsPrec 11 forgivable
1669.12 s
[opt-env-conf-test] . showString " "
1669.12 s
[opt-env-conf-test] - . showsPrec 1 1 caps
1669.12 s
[opt-env-conf-test] + . showsPrec 0 caps
1669.12 s
[opt-env-conf-test] . showString " _ "
1669.12 s
[opt-env-conf-test] . go 11 p
1669.12 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1669.12 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1669.12 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1669.12 s
[opt-env-conf-test] . showString " "
1669.12 s
[opt-env-conf-test] . showsPrec 11 forgivable
1669.12 s
[opt-env-conf-test] . showString " "
1669.12 s
[opt-env-conf-test] - . showsPrec 1 1 caps
1669.12 s
[opt-env-conf-test] + . showsPrec 1 caps
1669.12 s
[opt-env-conf-test] . showString " _ "
1669.12 s
[opt-env-conf-test] . go 11 p
1669.12 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1669.12 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
1669.13 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
1669.13 s
[opt-env-conf-test] . showString " "
1669.13 s
[opt-env-conf-test] . showsPrec 11 forgivable
1669.13 s
[opt-env-conf-test] . showString " "
1669.13 s
[opt-env-conf-test] - . showsPrec 11 caps
1669.13 s
[opt-env-conf-test] + . showsPrec - 11 caps
1669.13 s
[opt-env-conf-test] . showString " _ "
1669.13 s
[opt-env-conf-test] . go 11 p
1669.13 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1669.13 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1669.13 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1669.13 s
[opt-env-conf-test] . showString " "
1669.13 s
[opt-env-conf-test] . showsPrec 11 caps
1669.13 s
[opt-env-conf-test] . showString " _ "
1669.13 s
[opt-env-conf-test] - . go 1 1 p
1669.13 s
[opt-env-conf-test] + . go 0 p
1669.13 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1669.13 s
[opt-env-conf-test] showParen (d > 10) $
1669.13 s
[opt-env-conf-test] showString "Commands "
1669.13 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
1669.13 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1669.13 s
[opt-env-conf-test] showString "Empty "
1669.13 s
[opt-env-conf-test] . showsPrec 11 mLoc
1669.13 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1669.13 s
[opt-env-conf-test] - showParen (d > 10) $
1669.13 s
[opt-env-conf-test] + showParen (d > = 10) $
1669.13 s
[opt-env-conf-test] showString "Alt "
1669.13 s
[opt-env-conf-test] . go 11 p1
1669.13 s
[opt-env-conf-test] . showString " "
1669.13 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1676.55 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1676.55 s
[opt-env-conf-test] . showString " "
1676.57 s
[opt-env-conf-test] . showsPrec 11 caps
1676.57 s
[opt-env-conf-test] . showString " _ "
1676.58 s
[opt-env-conf-test] - . go 11 p
1676.58 s
[opt-env-conf-test] + . go - 11 p
1676.58 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1676.58 s
[opt-env-conf-test] showParen (d > 10) $
1676.58 s
[opt-env-conf-test] showString "Commands "
1676.58 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
1676.58 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
1676.58 s
[opt-env-conf-test] . showString " "
1676.58 s
[opt-env-conf-test] . showsPrec 11 caps
1676.58 s
[opt-env-conf-test] . showString " _ "
1676.58 s
[opt-env-conf-test] - . go 1 1 p
1676.58 s
[opt-env-conf-test] + . go 1 p
1676.58 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1676.58 s
[opt-env-conf-test] showParen (d > 10) $
1676.58 s
[opt-env-conf-test] showString "Commands "
1676.58 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1676.58 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1676.58 s
[opt-env-conf-test] showString "Select "
1676.58 s
[opt-env-conf-test] . go 11 pe
1676.58 s
[opt-env-conf-test] . showString " "
1676.58 s
[opt-env-conf-test] - . go 1 1 pf
1676.58 s
[opt-env-conf-test] + . go 0 pf
1676.58 s
[opt-env-conf-test] ParserEmpty mLoc ->
1676.58 s
[opt-env-conf-test] showString "Empty "
1676.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.58 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1676.58 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1676.58 s
[opt-env-conf-test] . go 11 pf
1676.58 s
[opt-env-conf-test] ParserEmpty mLoc ->
1676.58 s
[opt-env-conf-test] showString "Empty "
1676.58 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1676.58 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1676.58 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1676.58 s
[opt-env-conf-test] showParen (d > 10) $
1676.58 s
[opt-env-conf-test] showString "Alt "
1676.58 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1676.58 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1676.58 s
[opt-env-conf-test] . showString " _ "
1676.58 s
[opt-env-conf-test] . go 11 p
1676.58 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1676.58 s
[opt-env-conf-test] - showParen (d > 10) $
1676.58 s
[opt-env-conf-test] + showParen (d > - 10) $
1676.58 s
[opt-env-conf-test] showString "Commands "
1676.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.59 s
[opt-env-conf-test] . showString " "
1676.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
1676.59 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1676.59 s
[opt-env-conf-test] showString "Empty "
1676.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.59 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1676.59 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1676.59 s
[opt-env-conf-test] + showParen ( Tru e ) $
1676.59 s
[opt-env-conf-test] showString "Alt "
1676.59 s
[opt-env-conf-test] . go 11 p1
1676.59 s
[opt-env-conf-test] . showString " "
1676.59 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
1676.59 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1676.59 s
[opt-env-conf-test] . showString " _ "
1676.59 s
[opt-env-conf-test] . go 11 p
1676.59 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1676.59 s
[opt-env-conf-test] - showParen (d > 10) $
1676.59 s
[opt-env-conf-test] + showParen (d < = 10) $
1676.59 s
[opt-env-conf-test] showString "Commands "
1676.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.59 s
[opt-env-conf-test] . showString " "
1676.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
1676.59 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1676.59 s
[opt-env-conf-test] . showString " "
1676.59 s
[opt-env-conf-test] . go 11 p
1676.59 s
[opt-env-conf-test] ParserSome mLoc p ->
1676.59 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1676.59 s
[opt-env-conf-test] + showParen ( Tru e ) $
1676.59 s
[opt-env-conf-test] showString "Some "
1676.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.59 s
[opt-env-conf-test] . showString " "
1676.59 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
1676.59 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1676.59 s
[opt-env-conf-test] . showString " "
1676.59 s
[opt-env-conf-test] . go 11 p
1676.59 s
[opt-env-conf-test] ParserSome mLoc p ->
1676.59 s
[opt-env-conf-test] - showParen (d > 10) $
1676.59 s
[opt-env-conf-test] + showParen (d > = 10) $
1676.59 s
[opt-env-conf-test] showString "Some "
1676.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.59 s
[opt-env-conf-test] . showString " "
1676.59 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
1676.59 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1676.59 s
[opt-env-conf-test] . showString " "
1676.59 s
[opt-env-conf-test] . go 11 p
1676.59 s
[opt-env-conf-test] ParserSome mLoc p ->
1676.59 s
[opt-env-conf-test] - showParen (d > 10) $
1676.59 s
[opt-env-conf-test] + showParen (d < = 10) $
1676.59 s
[opt-env-conf-test] showString "Some "
1676.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.59 s
[opt-env-conf-test] . showString " "
1676.59 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
1676.59 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1676.59 s
[opt-env-conf-test] . showString " "
1676.59 s
[opt-env-conf-test] . go 11 p
1676.59 s
[opt-env-conf-test] ParserSome mLoc p ->
1676.59 s
[opt-env-conf-test] - showParen (d > 10) $
1676.59 s
[opt-env-conf-test] + showParen (d < 10) $
1676.60 s
[opt-env-conf-test] showString "Some "
1676.60 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
1676.60 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1676.60 s
[opt-env-conf-test] showString "Empty "
1676.60 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.60 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1676.60 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1676.60 s
[opt-env-conf-test] + showParen ( F a lse ) $
1676.60 s
[opt-env-conf-test] showString "Alt "
1676.60 s
[opt-env-conf-test] . go 11 p1
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1676.60 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] . go 11 p
1676.60 s
[opt-env-conf-test] ParserSome mLoc p ->
1676.60 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1676.60 s
[opt-env-conf-test] + showParen (d > 1 ) $
1676.60 s
[opt-env-conf-test] showString "Some "
1676.60 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1676.60 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1676.60 s
[opt-env-conf-test] showString "Select "
1676.60 s
[opt-env-conf-test] . go 11 pe
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] - . go 1 1 pf
1676.60 s
[opt-env-conf-test] + . go 1 pf
1676.60 s
[opt-env-conf-test] ParserEmpty mLoc ->
1676.60 s
[opt-env-conf-test] showString "Empty "
1676.60 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1676.60 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] . go 11 p
1676.60 s
[opt-env-conf-test] ParserSome mLoc p ->
1676.60 s
[opt-env-conf-test] - showParen (d > 1 0) $
1676.60 s
[opt-env-conf-test] + showParen (d > 0) $
1676.60 s
[opt-env-conf-test] showString "Some "
1676.60 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
1676.60 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
1676.60 s
[opt-env-conf-test] showString "Select "
1676.60 s
[opt-env-conf-test] . go 11 pe
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] - . go 11 pf
1676.60 s
[opt-env-conf-test] + . go - 11 pf
1676.60 s
[opt-env-conf-test] ParserEmpty mLoc ->
1676.60 s
[opt-env-conf-test] showString "Empty "
1676.60 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
1676.60 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
1676.60 s
[opt-env-conf-test] ParserSelect pe pf ->
1676.60 s
[opt-env-conf-test] showParen (d > 10) $
1676.60 s
[opt-env-conf-test] showString "Select "
1676.60 s
[opt-env-conf-test] - . go 11 pe
1676.60 s
[opt-env-conf-test] + . go - 11 pe
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] . go 11 pf
1676.60 s
[opt-env-conf-test] ParserEmpty mLoc ->
1676.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
1676.60 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] . go 11 p
1676.60 s
[opt-env-conf-test] ParserSome mLoc p ->
1676.60 s
[opt-env-conf-test] - showParen (d > 10) $
1676.60 s
[opt-env-conf-test] + showParen (d > - 10) $
1676.60 s
[opt-env-conf-test] showString "Some "
1676.60 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
1676.60 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1676.60 s
[opt-env-conf-test] . showString " _ "
1676.60 s
[opt-env-conf-test] . go 11 p
1676.60 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1676.60 s
[opt-env-conf-test] - showParen (d > 10) $
1676.60 s
[opt-env-conf-test] + showParen (d < 10) $
1676.60 s
[opt-env-conf-test] showString "Commands "
1676.60 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.60 s
[opt-env-conf-test] . showString " "
1676.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:20-26
1676.60 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1676.60 s
[opt-env-conf-test] . showString " _ "
1676.60 s
[opt-env-conf-test] . go 11 p
1676.60 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1676.60 s
[opt-env-conf-test] - showPare n (d > 10) $
1676.61 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1676.61 s
[opt-env-conf-test] showString "Commands "
1676.61 s
[opt-env-conf-test] . showsPrec 11 mLoc
1676.61 s
[opt-env-conf-test] . showString " "
1676.61 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1676.61 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1676.61 s
[opt-env-conf-test] . showString " _ "
1676.61 s
[opt-env-conf-test] . go 11 p
1676.61 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1676.61 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1676.61 s
[opt-env-conf-test] + showParen (d > 1 ) $
1676.61 s
[opt-env-conf-test] showString "Commands "
1685.30 s
[opt-env-conf-test] . showsPrec 11 mLoc
1685.32 s
[opt-env-conf-test] . showString " "
1685.32 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1685.32 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1685.32 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1685.32 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1685.32 s
[opt-env-conf-test] fileSetting p f = do
1685.32 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1685.32 s
[opt-env-conf-test] guard $ p s
1685.32 s
[opt-env-conf-test] pure $
1685.32 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1685.32 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1093:12-18
1685.32 s
[opt-env-conf-test] @@ -1090,7 +1090,7 @@
1685.32 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
1685.32 s
[opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf k
1685.32 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1685.32 s
[opt-env-conf-test] - i -> J us t i
1685.32 s
[opt-env-conf-test] + i -> N o t h i ng
1685.32 s
[opt-env-conf-test] fileConf = fileSetting (isJust . settingConfigVals) $ \case
1685.32 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1685.32 s
[opt-env-conf-test] BuildTryOption -> Nothing
1685.32 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:19-27
1685.32 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1685.32 s
[opt-env-conf-test] . showString " _ "
1685.32 s
[opt-env-conf-test] . go 11 p
1685.32 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1685.33 s
[opt-env-conf-test] - showPare n ( d > 10) $
1685.33 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1685.33 s
[opt-env-conf-test] showString "Commands "
1685.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1685.33 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1685.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1685.33 s
[opt-env-conf-test] showParen (d > 10) $
1685.33 s
[opt-env-conf-test] showString "Commands "
1685.33 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1685.33 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] . showsPrec 11 mDefault
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1685.33 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1685.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1685.33 s
[opt-env-conf-test] showParen (d > 10) $
1685.33 s
[opt-env-conf-test] showString "Commands "
1685.33 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1685.33 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] . showsPrec 11 mDefault
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1685.33 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1685.33 s
[opt-env-conf-test] showString "Commands "
1685.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] - . showsPrec 1 1 mDefault
1685.33 s
[opt-env-conf-test] + . showsPrec 0 mDefault
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] . showListWith
1685.33 s
[opt-env-conf-test] showCommandABit
1685.33 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1685.33 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1685.33 s
[opt-env-conf-test] showString "Commands "
1685.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] - . showsPrec 11 mDefault
1685.33 s
[opt-env-conf-test] + . showsPrec - 11 mDefault
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] . showListWith
1685.33 s
[opt-env-conf-test] showCommandABit
1685.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
1685.33 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1685.33 s
[opt-env-conf-test] . showString " _ "
1685.33 s
[opt-env-conf-test] . go 11 p
1685.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1685.33 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1685.33 s
[opt-env-conf-test] + showParen T ru e $
1685.33 s
[opt-env-conf-test] showString "Commands "
1685.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1685.33 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1685.33 s
[opt-env-conf-test] showCommandABit
1685.33 s
[opt-env-conf-test] cs
1685.33 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1685.33 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1685.33 s
[opt-env-conf-test] + showParen (d > 1 ) $
1685.33 s
[opt-env-conf-test] showString "WithConfig _ "
1685.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
1685.33 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1685.33 s
[opt-env-conf-test] . showString " _ "
1685.33 s
[opt-env-conf-test] . go 11 p
1685.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1685.33 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1685.33 s
[opt-env-conf-test] + showParen ( Tru e ) $
1685.33 s
[opt-env-conf-test] showString "Commands "
1685.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1072:12-18
1685.33 s
[opt-env-conf-test] @@ -1069,7 +1069,7 @@
1685.33 s
[opt-env-conf-test] BuildAddEnv v -> Just $ BuildAddEnv v
1685.33 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
1685.33 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
1685.33 s
[opt-env-conf-test] - i -> J us t i
1685.33 s
[opt-env-conf-test] + i -> N o t h i ng
1685.33 s
[opt-env-conf-test] fileEnv = fileSetting (isJust . settingEnvVars) $ \case
1685.33 s
[opt-env-conf-test] BuildTryArgument -> Nothing
1685.33 s
[opt-env-conf-test] BuildTryOption -> Nothing
1685.33 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
1685.33 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1685.33 s
[opt-env-conf-test] . showString " _ "
1685.33 s
[opt-env-conf-test] . go 11 p
1685.33 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1685.33 s
[opt-env-conf-test] - showParen (d > 10) $
1685.33 s
[opt-env-conf-test] + showParen (d > = 10) $
1685.33 s
[opt-env-conf-test] showString "Commands "
1685.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1685.33 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1685.33 s
[opt-env-conf-test] showCommandABit
1685.33 s
[opt-env-conf-test] cs
1685.33 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1685.33 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1685.33 s
[opt-env-conf-test] + showParen ( F a lse ) $
1685.33 s
[opt-env-conf-test] showString "WithConfig _ "
1685.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
1685.33 s
[opt-env-conf-test] . showString " "
1685.33 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:20-26
1685.33 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1685.33 s
[opt-env-conf-test] showCommandABit
1685.33 s
[opt-env-conf-test] cs
1685.33 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1685.33 s
[opt-env-conf-test] - showPare n (d > 10) $
1685.34 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1685.34 s
[opt-env-conf-test] showString "WithConfig _ "
1685.34 s
[opt-env-conf-test] . showsPrec 11 mLoc
1685.34 s
[opt-env-conf-test] . showString " "
1685.34 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1685.34 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1685.34 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1685.34 s
[opt-env-conf-test] showParen (d > 10) $
1685.34 s
[opt-env-conf-test] showString "WithConfig _ "
1685.34 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1685.34 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1685.34 s
[opt-env-conf-test] . showString " "
1685.34 s
[opt-env-conf-test] . go 11 p1
1685.34 s
[opt-env-conf-test] . showString " "
1685.34 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1685.34 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1685.34 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1685.34 s
[opt-env-conf-test] showParen (d > 10) $
1685.34 s
[opt-env-conf-test] showString "WithConfig _ "
1685.34 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1685.34 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1685.34 s
[opt-env-conf-test] . showString " "
1685.34 s
[opt-env-conf-test] . go 11 p1
1685.34 s
[opt-env-conf-test] . showString " "
1685.34 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
1685.34 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
1685.34 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1685.34 s
[opt-env-conf-test] showParen (d > 10) $
1685.34 s
[opt-env-conf-test] showString "WithConfig _ "
1685.34 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1685.34 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1685.34 s
[opt-env-conf-test] . showString " "
1685.34 s
[opt-env-conf-test] . go 11 p1
1685.34 s
[opt-env-conf-test] . showString " "
1685.34 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1685.34 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1685.34 s
[opt-env-conf-test] showString "WithConfig _ "
1685.34 s
[opt-env-conf-test] . showsPrec 11 mLoc
1685.34 s
[opt-env-conf-test] . showString " "
1685.34 s
[opt-env-conf-test] - . go 1 1 p1
1685.34 s
[opt-env-conf-test] + . go 0 p1
1685.34 s
[opt-env-conf-test] . showString " "
1685.34 s
[opt-env-conf-test] . go 11 p2
1685.34 s
[opt-env-conf-test] ParserSetting mLoc p ->
1685.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1685.34 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1685.34 s
[opt-env-conf-test] showCommandABit
1685.34 s
[opt-env-conf-test] cs
1685.34 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1685.34 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1693.49 s
[opt-env-conf-test] + showParen F a ls e $
1693.49 s
[opt-env-conf-test] showString "WithConfig _ "
1693.51 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.51 s
[opt-env-conf-test] . showString " "
1693.51 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1693.51 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1693.51 s
[opt-env-conf-test] showString "WithConfig _ "
1693.51 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.52 s
[opt-env-conf-test] . showString " "
1693.52 s
[opt-env-conf-test] - . go 1 1 p1
1693.52 s
[opt-env-conf-test] + . go 1 p1
1693.52 s
[opt-env-conf-test] . showString " "
1693.52 s
[opt-env-conf-test] . go 11 p2
1693.52 s
[opt-env-conf-test] ParserSetting mLoc p ->
1693.52 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
1693.52 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1693.52 s
[opt-env-conf-test] showCommandABit
1693.52 s
[opt-env-conf-test] cs
1693.52 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1693.52 s
[opt-env-conf-test] - showParen (d > 10) $
1693.52 s
[opt-env-conf-test] + showParen (d < = 10) $
1693.52 s
[opt-env-conf-test] showString "WithConfig _ "
1693.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.52 s
[opt-env-conf-test] . showString " "
1693.52 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1693.52 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1693.52 s
[opt-env-conf-test] showCommandABit
1693.52 s
[opt-env-conf-test] cs
1693.52 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1693.52 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1693.52 s
[opt-env-conf-test] + showParen T ru e $
1693.52 s
[opt-env-conf-test] showString "WithConfig _ "
1693.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.52 s
[opt-env-conf-test] . showString " "
1693.52 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
1693.52 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1693.52 s
[opt-env-conf-test] showCommandABit
1693.52 s
[opt-env-conf-test] cs
1693.52 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1693.52 s
[opt-env-conf-test] - showParen (d > 10) $
1693.52 s
[opt-env-conf-test] + showParen (d < 10) $
1693.52 s
[opt-env-conf-test] showString "WithConfig _ "
1693.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.52 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:19-27
1693.53 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1693.53 s
[opt-env-conf-test] showCommandABit
1693.53 s
[opt-env-conf-test] cs
1693.53 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1693.53 s
[opt-env-conf-test] - showPare n ( d > 10) $
1693.53 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1693.53 s
[opt-env-conf-test] showString "WithConfig _ "
1693.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
1693.53 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1693.53 s
[opt-env-conf-test] showCommandABit
1693.53 s
[opt-env-conf-test] cs
1693.53 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1693.53 s
[opt-env-conf-test] - showParen (d > 10) $
1693.53 s
[opt-env-conf-test] + showParen (d > = 10) $
1693.53 s
[opt-env-conf-test] showString "WithConfig _ "
1693.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1693.53 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1693.53 s
[opt-env-conf-test] showCommandABit
1693.53 s
[opt-env-conf-test] cs
1693.53 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1693.53 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1693.53 s
[opt-env-conf-test] + showParen ( Tru e ) $
1693.53 s
[opt-env-conf-test] showString "WithConfig _ "
1693.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1693.53 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] . go 11 p1
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] - . go 11 p2
1693.53 s
[opt-env-conf-test] + . go - 11 p2
1693.53 s
[opt-env-conf-test] ParserSetting mLoc p ->
1693.53 s
[opt-env-conf-test] showParen (d > 10) $
1693.53 s
[opt-env-conf-test] showString "Setting "
1693.53 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1693.53 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] . go 11 p2
1693.53 s
[opt-env-conf-test] ParserSetting mLoc p ->
1693.53 s
[opt-env-conf-test] - showParen (d > 1 0) $
1693.53 s
[opt-env-conf-test] + showParen (d > 0) $
1693.53 s
[opt-env-conf-test] showString "Setting "
1693.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
1693.53 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] . go 11 p2
1693.53 s
[opt-env-conf-test] ParserSetting mLoc p ->
1693.53 s
[opt-env-conf-test] - showParen (d > 10) $
1693.53 s
[opt-env-conf-test] + showParen (d < 10) $
1693.53 s
[opt-env-conf-test] showString "Setting "
1693.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
1693.53 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] . go 11 p2
1693.53 s
[opt-env-conf-test] ParserSetting mLoc p ->
1693.53 s
[opt-env-conf-test] - showParen (d > 10) $
1693.53 s
[opt-env-conf-test] + showParen (d < = 10) $
1693.53 s
[opt-env-conf-test] showString "Setting "
1693.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1693.53 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] . go 11 p2
1693.53 s
[opt-env-conf-test] ParserSetting mLoc p ->
1693.53 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1693.53 s
[opt-env-conf-test] + showParen (d > 1 ) $
1693.53 s
[opt-env-conf-test] showString "Setting "
1693.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
1693.53 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] . go 11 p2
1693.53 s
[opt-env-conf-test] ParserSetting mLoc p ->
1693.53 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1693.53 s
[opt-env-conf-test] + showParen ( F a lse ) $
1693.53 s
[opt-env-conf-test] showString "Setting "
1693.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
1693.53 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1693.53 s
[opt-env-conf-test] . showString " "
1693.53 s
[opt-env-conf-test] . go 11 p2
1693.53 s
[opt-env-conf-test] ParserSetting mLoc p ->
1693.53 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1693.53 s
[opt-env-conf-test] + showParen F a ls e $
1693.53 s
[opt-env-conf-test] showString "Setting "
1693.54 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.54 s
[opt-env-conf-test] . showString " "
1693.54 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1693.54 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1693.54 s
[opt-env-conf-test] ParserSetting mLoc p ->
1693.54 s
[opt-env-conf-test] showParen (d > 10) $
1693.54 s
[opt-env-conf-test] showString "Setting "
1693.54 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1693.54 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1693.54 s
[opt-env-conf-test] . showString " "
1693.54 s
[opt-env-conf-test] . showSettingABit p
1693.54 s
[opt-env-conf-test]
1693.54 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1693.54 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1693.54 s
[opt-env-conf-test] ParserSetting mLoc p ->
1693.54 s
[opt-env-conf-test] showParen (d > 10) $
1693.54 s
[opt-env-conf-test] showString "Setting "
1693.54 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1693.54 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1693.54 s
[opt-env-conf-test] . showString " "
1693.54 s
[opt-env-conf-test] . showSettingABit p
1693.54 s
[opt-env-conf-test]
1693.54 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1693.54 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1693.54 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1693.54 s
[opt-env-conf-test] showCommandABit Command {..} =
1693.54 s
[opt-env-conf-test] showString "Command "
1693.54 s
[opt-env-conf-test] - . showsPrec 1 1 commandArg
1693.54 s
[opt-env-conf-test] + . showsPrec 0 commandArg
1693.54 s
[opt-env-conf-test] . showString " "
1693.54 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1693.54 s
[opt-env-conf-test] . showString " "
1693.54 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1693.54 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1693.54 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1693.54 s
[opt-env-conf-test] showCommandABit Command {..} =
1693.54 s
[opt-env-conf-test] showString "Command "
1693.54 s
[opt-env-conf-test] - . showsPrec 1 1 commandArg
1693.54 s
[opt-env-conf-test] + . showsPrec 1 commandArg
1693.54 s
[opt-env-conf-test] . showString " "
1693.54 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1693.54 s
[opt-env-conf-test] . showString " "
1693.54 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:19-27
1693.54 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1693.54 s
[opt-env-conf-test] . showString " "
1693.54 s
[opt-env-conf-test] . go 11 p2
1693.54 s
[opt-env-conf-test] ParserSetting mLoc p ->
1693.54 s
[opt-env-conf-test] - showPare n ( d > 10) $
1693.54 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1693.54 s
[opt-env-conf-test] showString "Setting "
1693.54 s
[opt-env-conf-test] . showsPrec 11 mLoc
1693.54 s
[opt-env-conf-test] . showString " "
1693.54 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:20-26
1693.54 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1693.54 s
[opt-env-conf-test] . showString " "
1693.54 s
[opt-env-conf-test] . go 11 p2
1701.07 s
[opt-env-conf-test] ParserSetting mLoc p ->
1701.07 s
[opt-env-conf-test] - showPare n (d > 10) $
1701.09 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1701.09 s
[opt-env-conf-test] showString "Setting "
1701.09 s
[opt-env-conf-test] . showsPrec 11 mLoc
1701.09 s
[opt-env-conf-test] . showString " "
1701.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
1701.09 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1701.09 s
[opt-env-conf-test] . showString " "
1701.09 s
[opt-env-conf-test] . go 11 p2
1701.09 s
[opt-env-conf-test] ParserSetting mLoc p ->
1701.09 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1701.09 s
[opt-env-conf-test] + showParen ( Tru e ) $
1701.09 s
[opt-env-conf-test] showString "Setting "
1701.09 s
[opt-env-conf-test] . showsPrec 11 mLoc
1701.09 s
[opt-env-conf-test] . showString " "
1701.09 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
1701.10 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
1701.10 s
[opt-env-conf-test] showString "WithConfig _ "
1701.10 s
[opt-env-conf-test] . showsPrec 11 mLoc
1701.10 s
[opt-env-conf-test] . showString " "
1701.10 s
[opt-env-conf-test] - . go 11 p1
1701.10 s
[opt-env-conf-test] + . go - 11 p1
1701.10 s
[opt-env-conf-test] . showString " "
1701.10 s
[opt-env-conf-test] . go 11 p2
1701.10 s
[opt-env-conf-test] ParserSetting mLoc p ->
1701.10 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1701.10 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1701.10 s
[opt-env-conf-test] . showString " "
1701.10 s
[opt-env-conf-test] . go 11 p1
1701.10 s
[opt-env-conf-test] . showString " "
1701.10 s
[opt-env-conf-test] - . go 1 1 p2
1701.10 s
[opt-env-conf-test] + . go 0 p2
1701.10 s
[opt-env-conf-test] ParserSetting mLoc p ->
1701.10 s
[opt-env-conf-test] showParen (d > 10) $
1701.10 s
[opt-env-conf-test] showString "Setting "
1701.10 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
1701.10 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1701.10 s
[opt-env-conf-test] . showString " "
1701.10 s
[opt-env-conf-test] . go 11 p2
1701.10 s
[opt-env-conf-test] ParserSetting mLoc p ->
1701.10 s
[opt-env-conf-test] - showParen (d > 10) $
1701.10 s
[opt-env-conf-test] + showParen (d > - 10) $
1701.10 s
[opt-env-conf-test] showString "Setting "
1701.10 s
[opt-env-conf-test] . showsPrec 11 mLoc
1701.10 s
[opt-env-conf-test] . showString " "
1701.10 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
1701.10 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1701.10 s
[opt-env-conf-test] . showString " _ "
1701.10 s
[opt-env-conf-test] . go 11 p
1701.10 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1701.10 s
[opt-env-conf-test] - showParen (d > 1 0) $
1701.10 s
[opt-env-conf-test] + showParen (d > 0) $
1701.10 s
[opt-env-conf-test] showString "Commands "
1701.10 s
[opt-env-conf-test] . showsPrec 11 mLoc
1701.10 s
[opt-env-conf-test] . showString " "
1701.10 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1701.10 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1701.10 s
[opt-env-conf-test] showString "Command "
1701.10 s
[opt-env-conf-test] . showsPrec 11 commandArg
1701.10 s
[opt-env-conf-test] . showString " "
1701.10 s
[opt-env-conf-test] - . showsPrec 1 1 commandHelp
1701.10 s
[opt-env-conf-test] + . showsPrec 1 commandHelp
1701.10 s
[opt-env-conf-test] . showString " "
1701.10 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1701.10 s
[opt-env-conf-test]
1701.10 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1701.10 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1701.10 s
[opt-env-conf-test] . showString " "
1701.10 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1701.11 s
[opt-env-conf-test] . showString " "
1701.11 s
[opt-env-conf-test] - . showParserPrec 1 1 commandParser
1701.11 s
[opt-env-conf-test] + . showParserPrec 1 commandParser
1701.11 s
[opt-env-conf-test]
1701.11 s
[opt-env-conf-test] -- | A 'Parser' structure
1701.11 s
[opt-env-conf-test] --
1701.11 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
1701.11 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1701.11 s
[opt-env-conf-test] ParserSetting mLoc p ->
1701.11 s
[opt-env-conf-test] showParen (d > 10) $
1701.11 s
[opt-env-conf-test] showString "Setting "
1701.11 s
[opt-env-conf-test] - . showsPrec 11 mLoc
1701.11 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
1701.11 s
[opt-env-conf-test] . showString " "
1701.11 s
[opt-env-conf-test] . showSettingABit p
1701.11 s
[opt-env-conf-test]
1701.11 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1701.11 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1701.11 s
[opt-env-conf-test] showString "Command "
1701.11 s
[opt-env-conf-test] . showsPrec 11 commandArg
1701.11 s
[opt-env-conf-test] . showString " "
1701.11 s
[opt-env-conf-test] - . showsPrec 1 1 commandHelp
1701.11 s
[opt-env-conf-test] + . showsPrec 0 commandHelp
1701.11 s
[opt-env-conf-test] . showString " "
1701.11 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1701.11 s
[opt-env-conf-test]
1701.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
1701.11 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1701.11 s
[opt-env-conf-test] . showString " "
1701.11 s
[opt-env-conf-test] . go 11 p2
1701.11 s
[opt-env-conf-test] ParserSetting mLoc p ->
1701.11 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1701.11 s
[opt-env-conf-test] + showParen T ru e $
1701.11 s
[opt-env-conf-test] showString "Setting "
1701.11 s
[opt-env-conf-test] . showsPrec 11 mLoc
1701.11 s
[opt-env-conf-test] . showString " "
1701.11 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
1701.11 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
1701.11 s
[opt-env-conf-test] . showString " "
1701.11 s
[opt-env-conf-test] . go 11 p1
1701.11 s
[opt-env-conf-test] . showString " "
1701.11 s
[opt-env-conf-test] - . go 1 1 p2
1701.11 s
[opt-env-conf-test] + . go 1 p2
1701.11 s
[opt-env-conf-test] ParserSetting mLoc p ->
1701.11 s
[opt-env-conf-test] showParen (d > 10) $
1701.11 s
[opt-env-conf-test] showString "Setting "
1701.11 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
1701.11 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1701.11 s
[opt-env-conf-test] . showString " "
1701.11 s
[opt-env-conf-test] . go 11 p2
1701.11 s
[opt-env-conf-test] ParserSetting mLoc p ->
1701.11 s
[opt-env-conf-test] - showParen (d > 10) $
1701.11 s
[opt-env-conf-test] + showParen (d > = 10) $
1701.11 s
[opt-env-conf-test] showString "Setting "
1701.11 s
[opt-env-conf-test] . showsPrec 11 mLoc
1701.11 s
[opt-env-conf-test] . showString " "
1701.11 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:297:39-40
1701.11 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
1701.11 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1701.11 s
[opt-env-conf-test]
1701.11 s
[opt-env-conf-test] showParserABit :: Parser a -> String
1701.11 s
[opt-env-conf-test] - showParserABit = flip (showParserPrec 0 ) ""
1701.11 s
[opt-env-conf-test] + showParserABit = flip (showParserPrec 1 ) ""
1701.11 s
[opt-env-conf-test]
1701.11 s
[opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
1701.11 s
[opt-env-conf-test] showParserPrec = go
1701.11 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:255:27-32
1701.11 s
[opt-env-conf-test] @@ -252,7 +252,7 @@
1701.11 s
[opt-env-conf-test] (<|>) p1 p2 =
1701.11 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1701.11 s
[opt-env-conf-test] isEmpty = \case
1701.11 s
[opt-env-conf-test] - ParserPure _ -> F al s e
1701.11 s
[opt-env-conf-test] + ParserPure _ -> T ru e
1701.11 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1701.11 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1701.11 s
[opt-env-conf-test] ParserEmpty _ -> True
1701.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1701.11 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1701.11 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1701.11 s
[opt-env-conf-test] isEmpty = \case
1701.12 s
[opt-env-conf-test] ParserPure _ -> False
1701.12 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y p f && isEmpty pa
1701.12 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e && isEmpty pa
1701.12 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1701.12 s
[opt-env-conf-test] ParserEmpty _ -> True
1701.12 s
[opt-env-conf-test] ParserAlt _ _ -> False
1701.12 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
1701.12 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
1701.12 s
[opt-env-conf-test] . go 11 pf
1701.12 s
[opt-env-conf-test] ParserEmpty mLoc ->
1701.12 s
[opt-env-conf-test] showString "Empty "
1701.12 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1701.12 s
[opt-env-conf-test] + . showsPrec 0 mLoc
1701.12 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1701.12 s
[opt-env-conf-test] showParen (d > 10) $
1701.12 s
[opt-env-conf-test] showString "Alt "
1701.12 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:43-53
1701.12 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1701.12 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1701.12 s
[opt-env-conf-test] isEmpty = \case
1701.12 s
[opt-env-conf-test] ParserPure _ -> False
1701.12 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1701.12 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && n o t ( isEmpty pa )
1701.12 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1701.12 s
[opt-env-conf-test] ParserEmpty _ -> True
1701.12 s
[opt-env-conf-test] ParserAlt _ _ -> False
1701.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
1701.12 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1701.12 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1701.12 s
[opt-env-conf-test] isEmpty = \case
1701.12 s
[opt-env-conf-test] ParserPure _ -> False
1701.12 s
[opt-env-conf-test] - ParserAp pf pa -> i s Emp ty pf && isEmpty pa
1701.12 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e
1701.12 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1701.12 s
[opt-env-conf-test] ParserEmpty _ -> True
1701.12 s
[opt-env-conf-test] ParserAlt _ _ -> False
1701.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1701.12 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1701.12 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1701.12 s
[opt-env-conf-test] isEmpty = \case
1701.12 s
[opt-env-conf-test] ParserPure _ -> False
1701.12 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i s E m pty pa
1708.71 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && F al s e
1708.71 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1708.73 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.73 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1708.73 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1708.73 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1708.73 s
[opt-env-conf-test] isEmpty = \case
1708.73 s
[opt-env-conf-test] ParserPure _ -> False
1708.73 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i sE mpt y p a
1708.73 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && T ru e
1708.73 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1708.73 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.73 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
1708.73 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1708.73 s
[opt-env-conf-test] isEmpty = \case
1708.73 s
[opt-env-conf-test] ParserPure _ -> False
1708.73 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1708.73 s
[opt-env-conf-test] - ParserSelect pe pf -> i s Emp ty p e && isEmpty pf
1708.73 s
[opt-env-conf-test] + ParserSelect pe pf -> Tr u e && isEmpty pf
1708.73 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.74 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1708.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
1708.74 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1708.74 s
[opt-env-conf-test] isEmpty = \case
1708.74 s
[opt-env-conf-test] ParserPure _ -> False
1708.74 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1708.74 s
[opt-env-conf-test] - ParserSelect pe pf -> i s E m pty p e && isEmpty pf
1708.74 s
[opt-env-conf-test] + ParserSelect pe pf -> F a l s e && isEmpty pf
1708.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.74 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1708.74 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-43
1708.74 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1708.74 s
[opt-env-conf-test] isEmpty = \case
1708.74 s
[opt-env-conf-test] ParserPure _ -> False
1708.74 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1708.74 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1708.74 s
[opt-env-conf-test] + ParserSelect pe pf -> n o t ( isEmpty pe ) && isEmpty pf
1708.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.74 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1708.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
1708.74 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1708.74 s
[opt-env-conf-test] isEmpty = \case
1708.74 s
[opt-env-conf-test] ParserPure _ -> False
1708.74 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1708.74 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && i s E m pty pf
1708.74 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && F al s e
1708.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.74 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1708.74 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:47-57
1708.74 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1708.74 s
[opt-env-conf-test] isEmpty = \case
1708.74 s
[opt-env-conf-test] ParserPure _ -> False
1708.74 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1708.74 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1708.74 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && n o t ( isEmpty pf )
1708.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.74 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1708.74 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1708.74 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1708.74 s
[opt-env-conf-test] . showString " "
1708.74 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1708.74 s
[opt-env-conf-test] . showString " "
1708.74 s
[opt-env-conf-test] - . showParserPrec 11 commandParser
1708.74 s
[opt-env-conf-test] + . showParserPrec - 11 commandParser
1708.74 s
[opt-env-conf-test]
1708.74 s
[opt-env-conf-test] -- | A 'Parser' structure
1708.74 s
[opt-env-conf-test] --
1708.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
1708.74 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1708.74 s
[opt-env-conf-test] isEmpty = \case
1708.74 s
[opt-env-conf-test] ParserPure _ -> False
1708.74 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1708.74 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && i sE mpt y p f
1708.74 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && T ru e
1708.74 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.74 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.74 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1708.75 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1708.75 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1708.75 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1708.75 s
[opt-env-conf-test] isEmpty = \case
1708.75 s
[opt-env-conf-test] ParserPure _ -> False
1708.75 s
[opt-env-conf-test] - ParserAp pf pa -> i s E m pty p f && isEmpty pa
1708.75 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e && isEmpty pa
1708.75 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1708.75 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.75 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
1708.75 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
1708.75 s
[opt-env-conf-test] . showString " "
1708.75 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1708.75 s
[opt-env-conf-test] . showString " "
1708.75 s
[opt-env-conf-test] - . showParserPrec 1 1 commandParser
1708.75 s
[opt-env-conf-test] + . showParserPrec 0 commandParser
1708.75 s
[opt-env-conf-test]
1708.75 s
[opt-env-conf-test] -- | A 'Parser' structure
1708.75 s
[opt-env-conf-test] --
1708.75 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
1708.75 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1708.75 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1708.75 s
[opt-env-conf-test] isEmpty = \case
1708.75 s
[opt-env-conf-test] ParserPure _ -> False
1708.75 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y pf && isEmpt y p a
1708.75 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e
1708.75 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1708.75 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.75 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1708.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1708.75 s
[opt-env-conf-test] showCommandABit
1708.75 s
[opt-env-conf-test] cs
1708.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1708.75 s
[opt-env-conf-test] - showParen (d > 10) $
1708.75 s
[opt-env-conf-test] + showParen (d > - 10) $
1708.75 s
[opt-env-conf-test] showString "WithConfig _ "
1708.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1708.75 s
[opt-env-conf-test] . showString " "
1708.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
1708.75 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1708.75 s
[opt-env-conf-test] showString "Command "
1708.75 s
[opt-env-conf-test] . showsPrec 11 commandArg
1708.75 s
[opt-env-conf-test] . showString " "
1708.75 s
[opt-env-conf-test] - . showsPrec 11 commandHelp
1708.75 s
[opt-env-conf-test] + . showsPrec - 11 commandHelp
1708.75 s
[opt-env-conf-test] . showString " "
1708.75 s
[opt-env-conf-test] . showParserPrec 11 commandParser
1708.75 s
[opt-env-conf-test]
1708.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
1708.75 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1708.75 s
[opt-env-conf-test] showCommandABit
1708.75 s
[opt-env-conf-test] cs
1708.75 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1708.75 s
[opt-env-conf-test] - showParen (d > 1 0) $
1708.75 s
[opt-env-conf-test] + showParen (d > 0) $
1708.75 s
[opt-env-conf-test] showString "WithConfig _ "
1708.75 s
[opt-env-conf-test] . showsPrec 11 mLoc
1708.75 s
[opt-env-conf-test] . showString " "
1708.75 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-39
1708.75 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1708.75 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1708.75 s
[opt-env-conf-test] isEmpty = \case
1708.75 s
[opt-env-conf-test] ParserPure _ -> False
1708.75 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1708.75 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf ) && isEmpty pa
1708.75 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1708.75 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.76 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.76 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-57
1708.76 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1708.76 s
[opt-env-conf-test] isEmpty = \case
1708.76 s
[opt-env-conf-test] ParserPure _ -> False
1708.76 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1708.76 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
1708.76 s
[opt-env-conf-test] + ParserSelect pe pf -> n o t ( isEmpty pe && isEmpty pf )
1708.76 s
[opt-env-conf-test] ParserEmpty _ -> True
1708.76 s
[opt-env-conf-test] ParserAlt _ _ -> False
1708.76 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1708.76 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
1708.76 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
1708.76 s
[opt-env-conf-test] showString "Commands "
1708.76 s
[opt-env-conf-test] . showsPrec 11 mLoc
1708.76 s
[opt-env-conf-test] . showString " "
1711.21 s
[opt-env-conf-test] - . showsPrec 1 1 mDefault
1711.22 s
[opt-env-conf-test] + . showsPrec 1 mDefault
1711.22 s
[opt-env-conf-test] . showString " "
1711.22 s
[opt-env-conf-test] . showListWith
1711.22 s
[opt-env-conf-test] showCommandABit
1711.22 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:257:33-57
1711.22 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1711.22 s
[opt-env-conf-test] isEmpty = \case
1711.22 s
[opt-env-conf-test] ParserPure _ -> False
1711.22 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1711.22 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe & & isEmpty pf
1711.22 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe | | isEmpty pf
1711.22 s
[opt-env-conf-test] ParserEmpty _ -> True
1711.22 s
[opt-env-conf-test] ParserAlt _ _ -> False
1711.22 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1711.22 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
1711.22 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1711.22 s
[opt-env-conf-test] isEmpty = \case
1711.22 s
[opt-env-conf-test] ParserPure _ -> False
1711.22 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1711.22 s
[opt-env-conf-test] - ParserSelect pe pf -> i sEm pty p e && isEmpty pf
1711.22 s
[opt-env-conf-test] + ParserSelect pe pf -> T ru e
1711.22 s
[opt-env-conf-test] ParserEmpty _ -> True
1711.22 s
[opt-env-conf-test] ParserAlt _ _ -> False
1711.22 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1711.22 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:256:29-53
1711.22 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1711.22 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1711.22 s
[opt-env-conf-test] isEmpty = \case
1711.22 s
[opt-env-conf-test] ParserPure _ -> False
1711.22 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf & & isEmpty pa
1711.22 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf | | isEmpty pa
1711.22 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1711.22 s
[opt-env-conf-test] ParserEmpty _ -> True
1711.22 s
[opt-env-conf-test] ParserAlt _ _ -> False
1711.22 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
1711.22 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1711.23 s
[opt-env-conf-test] isEmpty = \case
1711.23 s
[opt-env-conf-test] ParserPure _ -> False
1711.23 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1711.23 s
[opt-env-conf-test] - ParserSelect pe pf -> i s Emp ty p e & & isEmpty pf
1711.23 s
[opt-env-conf-test] + ParserSelect pe pf -> F al s e
1711.23 s
[opt-env-conf-test] ParserEmpty _ -> True
1711.23 s
[opt-env-conf-test] ParserAlt _ _ -> False
1711.23 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1711.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
1711.23 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1711.23 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1711.23 s
[opt-env-conf-test] ParserEmpty _ -> True
1711.23 s
[opt-env-conf-test] ParserAlt _ _ -> False
1711.23 s
[opt-env-conf-test] - ParserMany _ p -> i s E m pty p
1711.23 s
[opt-env-conf-test] + ParserMany _ p -> F a l s e
1711.23 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1711.23 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1711.23 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1711.23 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:259:28-33
1711.23 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1711.23 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1711.23 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1711.23 s
[opt-env-conf-test] ParserEmpty _ -> True
1711.23 s
[opt-env-conf-test] - ParserAlt _ _ -> F al s e
1711.23 s
[opt-env-conf-test] + ParserAlt _ _ -> T ru e
1711.23 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1711.23 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1711.23 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1711.23 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-53
1711.23 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1711.23 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1711.23 s
[opt-env-conf-test] isEmpty = \case
1711.23 s
[opt-env-conf-test] ParserPure _ -> False
1711.23 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1711.23 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf && isEmpty pa )
1711.23 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1711.23 s
[opt-env-conf-test] ParserEmpty _ -> True
1711.23 s
[opt-env-conf-test] ParserAlt _ _ -> False
1711.23 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
1711.23 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1711.23 s
[opt-env-conf-test] showString "Empty "
1711.23 s
[opt-env-conf-test] . showsPrec 11 mLoc
1711.23 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1711.23 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1711.24 s
[opt-env-conf-test] + showParen T ru e $
1711.24 s
[opt-env-conf-test] showString "Alt "
1711.24 s
[opt-env-conf-test] . go 11 p1
1711.24 s
[opt-env-conf-test] . showString " "
1711.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
1711.24 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1711.24 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1711.24 s
[opt-env-conf-test] ParserEmpty _ -> True
1711.24 s
[opt-env-conf-test] ParserAlt _ _ -> False
1711.24 s
[opt-env-conf-test] - ParserMany _ p -> isE mpty p
1711.24 s
[opt-env-conf-test] + ParserMany _ p -> T r ue
1711.24 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:262:37-46
1711.24 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1711.24 s
[opt-env-conf-test] ParserAlt _ _ -> False
1711.24 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> n o t ( isEmpty p )
1711.24 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1711.24 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1711.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
1711.24 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1711.24 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1711.24 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i s E m pty p c && isEmpty ps
1711.24 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> F al s e && isEmpty ps
1711.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
1711.24 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1711.24 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1711.24 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-49
1711.24 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1711.24 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1711.24 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1711.24 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> n o t ( isEmpty pc ) && isEmpty ps
1711.24 s
[opt-env-conf-test] ParserSetting _ _ -> False
1711.24 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1711.24 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1711.24 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
1711.24 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1711.24 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1711.24 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1711.24 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && i sE mpt y p s
1711.25 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && T ru e
1711.25 s
[opt-env-conf-test] ParserSetting _ _ -> False
1711.25 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1711.25 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1711.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
1711.25 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1711.25 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1711.25 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1711.25 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1711.25 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && i s E m pty ps
1711.25 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && F al s e
1711.25 s
[opt-env-conf-test] ParserSetting _ _ -> False
1711.25 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1711.25 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1711.25 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:53-63
1711.25 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1711.25 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1711.25 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1711.25 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1711.25 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1713.99 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && n o t ( isEmpty ps )
1714.06 s
[opt-env-conf-test] ParserSetting _ _ -> False
1714.06 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1714.06 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1714.06 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
1714.06 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1714.07 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1714.07 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1714.07 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1714.07 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i sE mpt y pc && isEmpt y p s
1714.07 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> T ru e
1714.07 s
[opt-env-conf-test] ParserSetting _ _ -> False
1714.07 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1714.07 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1714.07 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
1714.07 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1714.07 s
[opt-env-conf-test] ParserAlt _ _ -> False
1714.07 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1714.07 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1714.07 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isE mpty p
1714.07 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> T r ue
1714.07 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1714.07 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1714.07 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1714.07 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:261:29-38
1714.07 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1714.07 s
[opt-env-conf-test] ParserEmpty _ -> True
1714.07 s
[opt-env-conf-test] ParserAlt _ _ -> False
1714.07 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1714.07 s
[opt-env-conf-test] - ParserSome _ p -> isEmpty p
1714.07 s
[opt-env-conf-test] + ParserSome _ p -> n o t ( isEmpty p )
1714.07 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1714.07 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1714.07 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1714.07 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:265:39-63
1714.07 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1714.07 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1714.07 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1714.08 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1714.08 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc & & isEmpty ps
1714.08 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc | | isEmpty ps
1714.08 s
[opt-env-conf-test] ParserSetting _ _ -> False
1714.08 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1714.08 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1714.08 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-63
1714.08 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1714.08 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1714.08 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1714.08 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1714.08 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1714.08 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> n o t ( isEmpty pc && isEmpty ps )
1714.08 s
[opt-env-conf-test] ParserSetting _ _ -> False
1714.08 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1714.08 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1714.08 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:266:32-37
1714.08 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1714.08 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1714.08 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1714.08 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1714.08 s
[opt-env-conf-test] - ParserSetting _ _ -> F al s e
1714.08 s
[opt-env-conf-test] + ParserSetting _ _ -> T ru e
1714.08 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1714.08 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1714.08 s
[opt-env-conf-test] (True, False) -> p2
1714.08 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
1714.08 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1714.08 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1714.08 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1714.08 s
[opt-env-conf-test] ParserSetting _ _ -> False
1714.08 s
[opt-env-conf-test] - in case ( i s Em pty p 1 , isEmpty p2) of
1714.08 s
[opt-env-conf-test] + in case ( True , isEmpty p2) of
1714.08 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1714.08 s
[opt-env-conf-test] (True, False) -> p2
1714.08 s
[opt-env-conf-test] (False, True) -> p1
1714.08 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
1714.08 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1714.08 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1714.08 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1714.08 s
[opt-env-conf-test] ParserSetting _ _ -> False
1714.08 s
[opt-env-conf-test] - in case ( i s E m pty p 1 , isEmpty p2) of
1714.08 s
[opt-env-conf-test] + in case ( F al s e , isEmpty p2) of
1714.08 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1714.08 s
[opt-env-conf-test] (True, False) -> p2
1714.08 s
[opt-env-conf-test] (False, True) -> p1
1714.08 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:264:36-43
1714.08 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1714.09 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1714.09 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1714.09 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1714.09 s
[opt-env-conf-test] - ParserCommands _ _ cs -> null cs
1714.09 s
[opt-env-conf-test] + ParserCommands _ _ cs -> n o t ( null cs )
1714.09 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1714.09 s
[opt-env-conf-test] ParserSetting _ _ -> False
1714.09 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1714.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
1714.09 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1714.09 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1714.09 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1714.09 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1714.09 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l cs
1714.09 s
[opt-env-conf-test] + ParserCommands _ _ cs -> T r u e
1714.09 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1714.09 s
[opt-env-conf-test] ParserSetting _ _ -> False
1714.09 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1714.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
1714.09 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1714.09 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1714.09 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1714.09 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1714.09 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i sE mpt y p c && isEmpty ps
1714.09 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> T ru e && isEmpty ps
1714.09 s
[opt-env-conf-test] ParserSetting _ _ -> False
1714.09 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1714.09 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1714.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
1714.09 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1714.09 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1714.09 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1714.09 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1714.09 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> i s E m pty p
1714.09 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> F a l s e
1714.09 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1714.09 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1714.09 s
[opt-env-conf-test] ParserSetting _ _ -> False
1714.09 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:27-37
1714.09 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1714.09 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1714.09 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1714.09 s
[opt-env-conf-test] ParserSetting _ _ -> False
1714.09 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
1714.09 s
[opt-env-conf-test] + in case (isEmpty p1, n o t ( isEmpty p2) ) of
1714.09 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1714.09 s
[opt-env-conf-test] (True, False) -> p2
1714.09 s
[opt-env-conf-test] (False, True) -> p1
1714.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1714.09 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1714.09 s
[opt-env-conf-test] (True, False) -> p2
1714.09 s
[opt-env-conf-test] (False, True) -> p1
1714.09 s
[opt-env-conf-test] (False, False) ->
1714.09 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1714.09 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1714.09 s
[opt-env-conf-test] -- alts to always be right-leaning
1714.09 s
[opt-env-conf-test] --
1714.09 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1714.09 s
[opt-env-conf-test] -- p
1714.10 s
[opt-env-conf-test] -- / \
1714.10 s
[opt-env-conf-test] -- p1 p2
1716.71 s
[opt-env-conf-test] -- / \
1716.71 s
[opt-env-conf-test] -- p3 p4
1716.71 s
[opt-env-conf-test] --
1716.71 s
[opt-env-conf-test] -- We need to rearrange it to
1716.71 s
[opt-env-conf-test] -- p
1716.71 s
[opt-env-conf-test] -- / \
1716.71 s
[opt-env-conf-test] -- p1 ++ p3 p4
1716.71 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1716.71 s
[opt-env-conf-test] go (go p1' p3') p4'
1716.71 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1716.71 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1716.71 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1716.71 s
[opt-env-conf-test] in go p1 p2
1716.71 s
[opt-env-conf-test] many = ParserMany Nothing
1716.71 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1716.71 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1716.71 s
[opt-env-conf-test] @@ -269,26 +269,25 @@
1716.71 s
[opt-env-conf-test] (True, False) -> p2
1716.71 s
[opt-env-conf-test] (False, True) -> p1
1716.71 s
[opt-env-conf-test] (False, False) ->
1716.72 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1716.72 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1716.72 s
[opt-env-conf-test] -- alts to always be right-leaning
1716.72 s
[opt-env-conf-test] --
1716.72 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1716.72 s
[opt-env-conf-test] -- p
1716.72 s
[opt-env-conf-test] -- / \
1716.72 s
[opt-env-conf-test] -- p1 p2
1716.72 s
[opt-env-conf-test] -- / \
1716.72 s
[opt-env-conf-test] -- p3 p4
1716.72 s
[opt-env-conf-test] --
1716.72 s
[opt-env-conf-test] -- We need to rearrange it to
1716.72 s
[opt-env-conf-test] -- p
1716.72 s
[opt-env-conf-test] -- / \
1716.72 s
[opt-env-conf-test] -- p1 ++ p3 p4
1716.72 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1716.72 s
[opt-env-conf-test] go (go p1' p3') p4'
1716.72 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1716.72 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1716.72 s
[opt-env-conf-test] - _ -> ParserAlt p1' p2'
1716.72 s
[opt-env-conf-test] in go p1 p2
1716.72 s
[opt-env-conf-test] many = ParserMany Nothing
1716.72 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1716.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1716.72 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1716.72 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1716.72 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1716.72 s
[opt-env-conf-test] ParserSetting _ _ -> False
1716.72 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1716.72 s
[opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
1716.72 s
[opt-env-conf-test] (True, False) -> p2
1716.72 s
[opt-env-conf-test] (False, True) -> p1
1716.72 s
[opt-env-conf-test] (False, False) ->
1716.72 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1716.72 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1716.72 s
[opt-env-conf-test] -- alts to always be right-leaning
1716.72 s
[opt-env-conf-test] --
1716.72 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1716.72 s
[opt-env-conf-test] -- p
1716.72 s
[opt-env-conf-test] -- / \
1716.72 s
[opt-env-conf-test] -- p1 p2
1716.72 s
[opt-env-conf-test] -- / \
1716.72 s
[opt-env-conf-test] -- p3 p4
1716.72 s
[opt-env-conf-test] --
1716.72 s
[opt-env-conf-test] -- We need to rearrange it to
1716.72 s
[opt-env-conf-test] -- p
1716.73 s
[opt-env-conf-test] -- / \
1716.73 s
[opt-env-conf-test] -- p1 ++ p3 p4
1716.73 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1716.73 s
[opt-env-conf-test] go (go p1' p3') p4'
1716.73 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1716.73 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1716.73 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1716.73 s
[opt-env-conf-test] in go p1 p2
1716.73 s
[opt-env-conf-test] many = ParserMany Nothing
1716.73 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1716.73 s
[opt-env-conf-test]
1716.73 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1716.73 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1716.73 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1716.73 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1716.73 s
[opt-env-conf-test] ParserSetting _ _ -> False
1716.73 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1716.73 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1716.73 s
[opt-env-conf-test] - (True, False) -> p2
1716.73 s
[opt-env-conf-test] (False, True) -> p1
1716.73 s
[opt-env-conf-test] (False, False) ->
1716.73 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1716.73 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1716.73 s
[opt-env-conf-test] -- alts to always be right-leaning
1716.73 s
[opt-env-conf-test] --
1716.73 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1716.73 s
[opt-env-conf-test] -- p
1716.73 s
[opt-env-conf-test] -- / \
1716.73 s
[opt-env-conf-test] -- p1 p2
1716.73 s
[opt-env-conf-test] -- / \
1716.73 s
[opt-env-conf-test] -- p3 p4
1716.73 s
[opt-env-conf-test] --
1716.73 s
[opt-env-conf-test] -- We need to rearrange it to
1716.73 s
[opt-env-conf-test] -- p
1716.73 s
[opt-env-conf-test] -- / \
1716.73 s
[opt-env-conf-test] -- p1 ++ p3 p4
1716.73 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1716.73 s
[opt-env-conf-test] go (go p1' p3') p4'
1716.73 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1716.73 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1716.73 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1716.73 s
[opt-env-conf-test] in go p1 p2
1716.73 s
[opt-env-conf-test] many = ParserMany Nothing
1716.73 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1716.73 s
[opt-env-conf-test]
1716.73 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1716.73 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1716.73 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1716.73 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1716.73 s
[opt-env-conf-test] ParserSetting _ _ -> False
1716.73 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1716.73 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1716.73 s
[opt-env-conf-test] (True, False) -> p2
1716.73 s
[opt-env-conf-test] - (False, True) -> p1
1716.74 s
[opt-env-conf-test] (False, False) ->
1716.74 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1716.74 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1716.74 s
[opt-env-conf-test] -- alts to always be right-leaning
1716.74 s
[opt-env-conf-test] --
1716.74 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1716.74 s
[opt-env-conf-test] -- p
1716.74 s
[opt-env-conf-test] -- / \
1716.74 s
[opt-env-conf-test] -- p1 p2
1716.74 s
[opt-env-conf-test] -- / \
1716.74 s
[opt-env-conf-test] -- p3 p4
1716.74 s
[opt-env-conf-test] --
1716.74 s
[opt-env-conf-test] -- We need to rearrange it to
1716.74 s
[opt-env-conf-test] -- p
1716.74 s
[opt-env-conf-test] -- / \
1716.74 s
[opt-env-conf-test] -- p1 ++ p3 p4
1716.74 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1716.74 s
[opt-env-conf-test] go (go p1' p3') p4'
1716.74 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1716.74 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1716.74 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1716.74 s
[opt-env-conf-test] in go p1 p2
1716.74 s
[opt-env-conf-test] many = ParserMany Nothing
1716.74 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1716.74 s
[opt-env-conf-test]
1716.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1716.74 s
[opt-env-conf-test] @@ -264,32 +264,10 @@
1716.74 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1716.74 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1716.74 s
[opt-env-conf-test] ParserSetting _ _ -> False
1716.74 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1716.74 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1716.74 s
[opt-env-conf-test] (True, False) -> p2
1716.74 s
[opt-env-conf-test] (False, True) -> p1
1716.74 s
[opt-env-conf-test] - (False, False) ->
1716.74 s
[opt-env-conf-test] - let go p1' p2' = case (p1', p2') of
1716.74 s
[opt-env-conf-test] - -- <|> needs to be associative, so we need to reorder the
1716.74 s
[opt-env-conf-test] - -- alts to always be right-leaning
1716.74 s
[opt-env-conf-test] - --
1716.74 s
[opt-env-conf-test] - -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1716.74 s
[opt-env-conf-test] - -- p
1716.74 s
[opt-env-conf-test] - -- / \
1716.74 s
[opt-env-conf-test] - -- p1 p2
1716.74 s
[opt-env-conf-test] - -- / \
1716.74 s
[opt-env-conf-test] - -- p3 p4
1716.74 s
[opt-env-conf-test] - --
1716.74 s
[opt-env-conf-test] - -- We need to rearrange it to
1716.74 s
[opt-env-conf-test] - -- p
1716.74 s
[opt-env-conf-test] - -- / \
1716.74 s
[opt-env-conf-test] - -- p1 ++ p3 p4
1716.74 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
1716.74 s
[opt-env-conf-test] - go (go p1' p3') p4'
1716.74 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1716.74 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1716.74 s
[opt-env-conf-test] - _ -> ParserAlt p1' p2'
1716.74 s
[opt-env-conf-test] - in go p1 p2
1716.74 s
[opt-env-conf-test] many = ParserMany Nothing
1716.74 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1716.75 s
[opt-env-conf-test]
1716.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
1724.52 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
1724.52 s
[opt-env-conf-test]
1724.52 s
[opt-env-conf-test] instance Applicative Parser where
1724.55 s
[opt-env-conf-test] pure = ParserPure
1724.55 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
1724.55 s
[opt-env-conf-test] -- Homomorphism law for applicative
1724.55 s
[opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
1724.55 s
[opt-env-conf-test] _ -> ParserAp p1 p2
1724.55 s
[opt-env-conf-test]
1724.55 s
[opt-env-conf-test] instance Selective Parser where
1724.55 s
[opt-env-conf-test] select = ParserSelect
1724.55 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
1724.55 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
1724.55 s
[opt-env-conf-test]
1724.55 s
[opt-env-conf-test] instance Applicative Parser where
1724.55 s
[opt-env-conf-test] pure = ParserPure
1724.55 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
1724.55 s
[opt-env-conf-test] -- Homomorphism law for applicative
1724.55 s
[opt-env-conf-test] (ParserPure f, ParserPure a) -> ParserPure (f a)
1724.55 s
[opt-env-conf-test] - _ -> ParserAp p1 p2
1724.56 s
[opt-env-conf-test]
1724.56 s
[opt-env-conf-test] instance Selective Parser where
1724.56 s
[opt-env-conf-test] select = ParserSelect
1724.56 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:263:36-45
1724.56 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1724.56 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1724.56 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1724.56 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1724.56 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
1724.56 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> n o t ( isEmpty p )
1724.56 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1724.56 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1724.56 s
[opt-env-conf-test] ParserSetting _ _ -> False
1724.56 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
1724.56 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1724.56 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1724.56 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1724.56 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1724.56 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
1724.56 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc F a l s e caps (fmap (fmap f) . g) p
1724.56 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1724.56 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1724.56 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1724.56 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
1724.56 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1724.56 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1724.56 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1724.56 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1724.56 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
1724.56 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc T r u e caps (fmap (fmap f) . g) p
1724.56 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1724.57 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1724.57 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1724.57 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:238:30-34
1724.57 s
[opt-env-conf-test] @@ -235,7 +235,7 @@
1724.57 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1724.57 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1724.57 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1724.57 s
[opt-env-conf-test] - p -> ParserCheck Nothing Tr u e Set.empty (pure . Right . f) p
1724.57 s
[opt-env-conf-test] + p -> ParserCheck Nothing F a ls e Set.empty (pure . Right . f) p
1724.57 s
[opt-env-conf-test]
1724.57 s
[opt-env-conf-test] instance Applicative Parser where
1724.57 s
[opt-env-conf-test] pure = ParserPure
1724.57 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:234:62-72
1724.57 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1724.57 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
1724.57 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
1724.57 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
1724.57 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
1724.57 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc n o t ( forgivable ) caps (fmap (fmap f) . g) p
1724.57 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
1724.57 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
1724.57 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
1724.57 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:246:28-33
1724.57 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1724.57 s
[opt-env-conf-test] -- 'many' is allowed only when every parse below consumes something.
1724.57 s
[opt-env-conf-test] go :: Parser a -> ValidationT LintError (Reader Bool) Bool
1724.57 s
[opt-env-conf-test] go = \case
1724.57 s
[opt-env-conf-test] - ParserPure _ -> pure F al s e
1724.57 s
[opt-env-conf-test] + ParserPure _ -> pure T ru e
1724.57 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1724.57 s
[opt-env-conf-test] c1 <- go p1
1724.57 s
[opt-env-conf-test] c2 <- go p2
1724.57 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:238:20-25
1724.57 s
[opt-env-conf-test] @@ -235,7 +235,7 @@
1724.57 s
[opt-env-conf-test] lintParser =
1724.57 s
[opt-env-conf-test] either Just (const Nothing)
1724.57 s
[opt-env-conf-test] . validationToEither
1724.57 s
[opt-env-conf-test] - . (`runReader` F al s e) -- Set to true for parsers that have a way to load conf
1724.57 s
[opt-env-conf-test] + . (`runReader` T ru e) -- Set to true for parsers that have a way to load conf
1724.58 s
[opt-env-conf-test] . runValidationT
1724.58 s
[opt-env-conf-test] . go
1724.58 s
[opt-env-conf-test] where
1724.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1724.58 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1724.58 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1724.58 s
[opt-env-conf-test] c1 <- go p1
1724.58 s
[opt-env-conf-test] c2 <- go p2
1724.58 s
[opt-env-conf-test] - pure ( c 1 || c2)
1724.58 s
[opt-env-conf-test] + pure ( T ru e || c2)
1724.58 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1724.58 s
[opt-env-conf-test] c1 <- go p1
1724.58 s
[opt-env-conf-test] c2 <- go p2
1724.58 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1724.58 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1724.58 s
[opt-env-conf-test] (True, False) -> p2
1724.58 s
[opt-env-conf-test] (False, True) -> p1
1724.58 s
[opt-env-conf-test] (False, False) ->
1724.58 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1724.58 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1724.58 s
[opt-env-conf-test] -- alts to always be right-leaning
1724.58 s
[opt-env-conf-test] --
1724.58 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1724.58 s
[opt-env-conf-test] -- p
1724.58 s
[opt-env-conf-test] -- / \
1724.58 s
[opt-env-conf-test] -- p1 p2
1724.58 s
[opt-env-conf-test] -- / \
1724.58 s
[opt-env-conf-test] -- p3 p4
1724.58 s
[opt-env-conf-test] --
1724.58 s
[opt-env-conf-test] -- We need to rearrange it to
1724.58 s
[opt-env-conf-test] -- p
1724.58 s
[opt-env-conf-test] -- / \
1724.58 s
[opt-env-conf-test] -- p1 ++ p3 p4
1724.58 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
1724.58 s
[opt-env-conf-test] - go (go p1' p3') p4'
1724.58 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1724.58 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1724.58 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1724.58 s
[opt-env-conf-test] in go p1 p2
1724.58 s
[opt-env-conf-test] many = ParserMany Nothing
1724.58 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1724.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
1724.58 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1724.58 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1724.58 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1724.58 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1724.58 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l c s
1724.58 s
[opt-env-conf-test] + ParserCommands _ _ cs -> F a l s e
1724.58 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1724.58 s
[opt-env-conf-test] ParserSetting _ _ -> False
1724.58 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1724.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
1724.58 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1724.58 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1724.58 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1724.59 s
[opt-env-conf-test] ParserSetting _ _ -> False
1724.59 s
[opt-env-conf-test] - in case (isEmpty p1, i s E m pty p 2 ) of
1724.59 s
[opt-env-conf-test] + in case (isEmpty p1, F al s e ) of
1724.59 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1724.59 s
[opt-env-conf-test] (True, False) -> p2
1724.59 s
[opt-env-conf-test] (False, True) -> p1
1724.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
1724.59 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1724.59 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1730.54 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1730.57 s
[opt-env-conf-test] ParserSetting _ _ -> False
1730.57 s
[opt-env-conf-test] - in case (isEmpty p1, i sE mpt y p 2 ) of
1730.57 s
[opt-env-conf-test] + in case (isEmpty p1, T ru e ) of
1730.57 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1730.57 s
[opt-env-conf-test] (True, False) -> p2
1730.57 s
[opt-env-conf-test] (False, True) -> p1
1730.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
1730.57 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1730.57 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1730.57 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1730.57 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1730.57 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isE mpty p
1730.57 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> T r ue
1730.57 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1730.57 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1730.57 s
[opt-env-conf-test] ParserSetting _ _ -> False
1730.57 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:15-25
1730.58 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1730.58 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1730.58 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1730.58 s
[opt-env-conf-test] ParserSetting _ _ -> False
1730.58 s
[opt-env-conf-test] - in case (isEmpty p1 , isEmpty p2) of
1730.58 s
[opt-env-conf-test] + in case ( n ot (isEmpty p1 ) , isEmpty p2) of
1730.58 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1730.58 s
[opt-env-conf-test] (True, False) -> p2
1730.58 s
[opt-env-conf-test] (False, True) -> p1
1730.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
1730.58 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
1730.58 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1730.58 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1730.58 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1730.58 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i s Emp ty pc && isEmpty ps
1730.58 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> F al s e
1730.58 s
[opt-env-conf-test] ParserSetting _ _ -> False
1730.58 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1730.58 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1730.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
1730.58 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1730.58 s
[opt-env-conf-test] ParserEmpty _ -> True
1730.58 s
[opt-env-conf-test] ParserAlt _ _ -> False
1730.58 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1730.58 s
[opt-env-conf-test] - ParserSome _ p -> i s E m pty p
1730.58 s
[opt-env-conf-test] + ParserSome _ p -> F a l s e
1730.58 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1730.58 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1730.58 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1730.59 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
1730.59 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
1730.59 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
1730.59 s
[opt-env-conf-test] showCommandABit Command {..} =
1730.59 s
[opt-env-conf-test] showString "Command "
1730.59 s
[opt-env-conf-test] - . showsPrec 11 commandArg
1730.59 s
[opt-env-conf-test] + . showsPrec - 11 commandArg
1730.59 s
[opt-env-conf-test] . showString " "
1730.59 s
[opt-env-conf-test] . showsPrec 11 commandHelp
1730.59 s
[opt-env-conf-test] . showString " "
1730.59 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:260:29-38
1730.59 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1730.59 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1730.59 s
[opt-env-conf-test] ParserEmpty _ -> True
1730.59 s
[opt-env-conf-test] ParserAlt _ _ -> False
1730.59 s
[opt-env-conf-test] - ParserMany _ p -> isEmpty p
1730.59 s
[opt-env-conf-test] + ParserMany _ p -> n o t ( isEmpty p )
1730.59 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1730.59 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1730.59 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1730.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
1730.59 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1730.59 s
[opt-env-conf-test] ParserAlt _ _ -> False
1730.59 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1730.59 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1730.59 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> i s E m pty p
1730.59 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> F a l s e
1730.59 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1730.59 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1730.59 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1730.59 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:618:31-36
1730.59 s
[opt-env-conf-test] @@ -615,7 +615,7 @@
1730.59 s
[opt-env-conf-test]
1730.59 s
[opt-env-conf-test] -- | Check a 'Parser' after the fact, allowing IO.
1730.59 s
[opt-env-conf-test] checkMapIO :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
1730.59 s
[opt-env-conf-test] - checkMapIO = ParserCheck mLoc F al s e Set.empty
1730.59 s
[opt-env-conf-test] + checkMapIO = ParserCheck mLoc T ru e Set.empty
1730.60 s
[opt-env-conf-test] where
1730.60 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1730.60 s
[opt-env-conf-test]
1730.60 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
1730.60 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
1730.60 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1730.60 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
1730.60 s
[opt-env-conf-test] fileSetting p f = do
1730.60 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
1730.60 s
[opt-env-conf-test] guard $ p s
1730.60 s
[opt-env-conf-test] pure $
1730.60 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
1730.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-17
1730.60 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1730.60 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1730.60 s
[opt-env-conf-test] c1 <- go p1
1730.60 s
[opt-env-conf-test] c2 <- go p2
1730.60 s
[opt-env-conf-test] - pure (c1 || c2)
1730.60 s
[opt-env-conf-test] + pure ( n ot (c1 ) || c2)
1730.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1730.60 s
[opt-env-conf-test] c1 <- go p1
1730.60 s
[opt-env-conf-test] c2 <- go p2
1730.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:21-23
1730.60 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1730.60 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1730.60 s
[opt-env-conf-test] c1 <- go p1
1730.60 s
[opt-env-conf-test] c2 <- go p2
1730.60 s
[opt-env-conf-test] - pure (c1 || c2)
1730.60 s
[opt-env-conf-test] + pure (c1 || n o t ( c2) )
1730.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1730.60 s
[opt-env-conf-test] c1 <- go p1
1730.60 s
[opt-env-conf-test] c2 <- go p2
1730.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1730.60 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1730.60 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1730.60 s
[opt-env-conf-test] c1 <- go p1
1730.60 s
[opt-env-conf-test] c2 <- go p2
1730.60 s
[opt-env-conf-test] - pure ( c 1 || c2)
1730.60 s
[opt-env-conf-test] + pure ( F a ls e || c2)
1730.61 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1730.61 s
[opt-env-conf-test] c1 <- go p1
1730.61 s
[opt-env-conf-test] c2 <- go p2
1730.61 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:258:28-32
1730.61 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1730.61 s
[opt-env-conf-test] ParserPure _ -> False
1730.61 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1730.61 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1730.61 s
[opt-env-conf-test] - ParserEmpty _ -> Tr u e
1730.61 s
[opt-env-conf-test] + ParserEmpty _ -> F a ls e
1730.61 s
[opt-env-conf-test] ParserAlt _ _ -> False
1730.61 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1730.61 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1730.61 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
1730.61 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
1730.61 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1730.61 s
[opt-env-conf-test] showParen (d > 10) $
1730.61 s
[opt-env-conf-test] showString "Commands "
1730.61 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
1730.61 s
[opt-env-conf-test] + . showsPrec 1 mLoc
1730.61 s
[opt-env-conf-test] . showString " "
1730.61 s
[opt-env-conf-test] . showsPrec 11 mDefault
1730.61 s
[opt-env-conf-test] . showString " "
1730.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1730.61 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1730.61 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1730.61 s
[opt-env-conf-test] c1 <- go p1
1730.61 s
[opt-env-conf-test] c2 <- go p2
1730.61 s
[opt-env-conf-test] - pure ( c1 || c2)
1730.61 s
[opt-env-conf-test] + pure True
1730.61 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1730.61 s
[opt-env-conf-test] c1 <- go p1
1730.61 s
[opt-env-conf-test] c2 <- go p2
1730.61 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-23
1730.61 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1730.61 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1730.61 s
[opt-env-conf-test] c1 <- go p1
1730.61 s
[opt-env-conf-test] c2 <- go p2
1730.61 s
[opt-env-conf-test] - pure (c1 || c2)
1730.61 s
[opt-env-conf-test] + pure ( n ot (c1 || c2) )
1730.61 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1730.62 s
[opt-env-conf-test] c1 <- go p1
1730.62 s
[opt-env-conf-test] c2 <- go p2
1730.62 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:250:15-23
1730.62 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1730.62 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1730.62 s
[opt-env-conf-test] c1 <- go p1
1730.62 s
[opt-env-conf-test] c2 <- go p2
1730.62 s
[opt-env-conf-test] - pure (c1 | | c2)
1730.62 s
[opt-env-conf-test] + pure (c1 & & c2)
1730.62 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.59 s
[opt-env-conf-test] c1 <- go p1
1734.59 s
[opt-env-conf-test] c2 <- go p2
1734.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
1734.59 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1734.59 s
[opt-env-conf-test] . showString " _ "
1734.59 s
[opt-env-conf-test] . go 11 p
1734.59 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1734.59 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1734.59 s
[opt-env-conf-test] + showParen F a ls e $
1734.59 s
[opt-env-conf-test] showString "Commands "
1734.59 s
[opt-env-conf-test] . showsPrec 11 mLoc
1734.59 s
[opt-env-conf-test] . showString " "
1734.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1734.59 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1734.59 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1734.59 s
[opt-env-conf-test] c1 <- go p1
1734.59 s
[opt-env-conf-test] c2 <- go p2
1734.59 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
1734.59 s
[opt-env-conf-test] + pure ( T ru e )
1734.59 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.59 s
[opt-env-conf-test] c1 <- go p1
1734.59 s
[opt-env-conf-test] c2 <- go p2
1734.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1734.59 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1734.59 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1734.59 s
[opt-env-conf-test] c1 <- go p1
1734.59 s
[opt-env-conf-test] c2 <- go p2
1734.59 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
1734.59 s
[opt-env-conf-test] + pure ( F a ls e )
1734.59 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.59 s
[opt-env-conf-test] c1 <- go p1
1734.59 s
[opt-env-conf-test] c2 <- go p2
1734.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
1734.59 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1734.59 s
[opt-env-conf-test] . showString " _ "
1734.59 s
[opt-env-conf-test] . go 11 p
1734.59 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1734.59 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1734.59 s
[opt-env-conf-test] + showParen ( F a lse ) $
1734.59 s
[opt-env-conf-test] showString "Commands "
1734.60 s
[opt-env-conf-test] . showsPrec 11 mLoc
1734.60 s
[opt-env-conf-test] . showString " "
1734.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-17
1734.60 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1734.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] + pure ( n ot (c1 ) || c2) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1734.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:14-24
1734.60 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1734.60 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] - pure ( c1 || c2)
1734.60 s
[opt-env-conf-test] + pure n o t ( ( c1 || c2) )
1734.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1734.60 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1734.60 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] - pure ( c 1 || c2)
1734.60 s
[opt-env-conf-test] + pure F alse
1734.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
1734.60 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1734.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] - pure ( c 1 || c 2 ) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] + pure ( T ru e ) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1734.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
1734.60 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1734.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] - pure ( c 1 || c 2 ) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] + pure ( F a ls e ) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1734.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-23
1734.60 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1734.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] + pure ( n ot (c1 || c2) ) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1734.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:254:15-23
1734.60 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1734.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] - pure (c1 | | c2) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] + pure (c1 & & c2) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1734.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
1734.60 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1734.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] - pure ( c1 || c2 ) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] + pure True -- TODO: is this right?
1734.60 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1734.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:14-24
1734.60 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1734.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] - pure ( c1 || c2) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] + pure n o t ( ( c1 || c2) ) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1734.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
1734.60 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1734.60 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] - pure ( c 1 || c 2) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] + pure F alse -- TODO: is this right?
1734.60 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1734.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:255:29-33
1734.60 s
[opt-env-conf-test] @@ -252,7 +252,7 @@
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.60 s
[opt-env-conf-test] c2 <- go p2
1734.60 s
[opt-env-conf-test] pure (c1 || c2) -- TODO: is this right?
1734.60 s
[opt-env-conf-test] - ParserEmpty _ -> pure Tr u e
1734.60 s
[opt-env-conf-test] + ParserEmpty _ -> pure F a ls e
1734.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.60 s
[opt-env-conf-test] c1 <- go p1
1734.61 s
[opt-env-conf-test] c2 <- go p2
1734.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1734.61 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1734.61 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.61 s
[opt-env-conf-test] c1 <- go p1
1734.61 s
[opt-env-conf-test] c2 <- go p2
1734.61 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
1734.61 s
[opt-env-conf-test] + pure ( F a ls e && c2) -- TODO: is this right?
1734.61 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1734.61 s
[opt-env-conf-test] ParserMany mLoc p -> do
1734.61 s
[opt-env-conf-test] c <- go p
1734.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1734.61 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1734.61 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.61 s
[opt-env-conf-test] c1 <- go p1
1734.61 s
[opt-env-conf-test] c2 <- go p2
1734.61 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
1734.61 s
[opt-env-conf-test] + pure ( T ru e && c2) -- TODO: is this right?
1734.61 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1734.61 s
[opt-env-conf-test] ParserMany mLoc p -> do
1734.61 s
[opt-env-conf-test] c <- go p
1734.61 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-17
1734.61 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1734.61 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1734.61 s
[opt-env-conf-test] c1 <- go p1
1734.61 s
[opt-env-conf-test] c2 <- go p2
1734.61 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1734.61 s
[opt-env-conf-test] + pure ( n ot (c1 ) && c2) -- TODO: is this right?
1734.61 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1734.61 s
[opt-env-conf-test] ParserMany mLoc p -> do
1734.61 s
[opt-env-conf-test] c <- go p
1734.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
1734.61 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1734.61 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1742.68 s
[opt-env-conf-test] c1 <- go p1
1742.68 s
[opt-env-conf-test] c2 <- go p2
1742.71 s
[opt-env-conf-test] - pure ( c 1 || c2) -- TODO: is this right?
1742.71 s
[opt-env-conf-test] + pure ( F a ls e || c2) -- TODO: is this right?
1742.71 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1742.71 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1742.71 s
[opt-env-conf-test] c1 <- go p1
1742.71 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1742.71 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1742.71 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1742.71 s
[opt-env-conf-test] c1 <- go p1
1742.71 s
[opt-env-conf-test] c2 <- go p2
1742.71 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
1742.71 s
[opt-env-conf-test] + pure (c1 && T ru e ) -- TODO: is this right?
1742.71 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1742.71 s
[opt-env-conf-test] ParserMany mLoc p -> do
1742.71 s
[opt-env-conf-test] c <- go p
1742.72 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
1742.72 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1742.72 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1742.72 s
[opt-env-conf-test] c1 <- go p1
1742.72 s
[opt-env-conf-test] c2 <- go p2
1742.72 s
[opt-env-conf-test] - pure (c1 || c 2 ) -- TODO: is this right?
1742.72 s
[opt-env-conf-test] + pure (c1 || F a ls e ) -- TODO: is this right?
1742.72 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1742.72 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1742.72 s
[opt-env-conf-test] c1 <- go p1
1742.72 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
1742.72 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1742.72 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1742.72 s
[opt-env-conf-test] c1 <- go p1
1742.72 s
[opt-env-conf-test] c2 <- go p2
1742.72 s
[opt-env-conf-test] - pure ( c 1 || c2) -- TODO: is this right?
1742.72 s
[opt-env-conf-test] + pure ( T ru e || c2) -- TODO: is this right?
1742.72 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1742.72 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1742.72 s
[opt-env-conf-test] c1 <- go p1
1742.72 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
1742.72 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1742.72 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1742.72 s
[opt-env-conf-test] c1 <- go p1
1742.72 s
[opt-env-conf-test] c2 <- go p2
1742.72 s
[opt-env-conf-test] - pure (c1 || c 2 ) -- TODO: is this right?
1742.72 s
[opt-env-conf-test] + pure (c1 || T ru e ) -- TODO: is this right?
1742.72 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1742.72 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1742.72 s
[opt-env-conf-test] c1 <- go p1
1742.72 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-23
1742.72 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1742.72 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1742.72 s
[opt-env-conf-test] c1 <- go p1
1742.72 s
[opt-env-conf-test] c2 <- go p2
1742.72 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1742.72 s
[opt-env-conf-test] + pure ( n ot (c1 && c2) ) -- TODO: is this right?
1742.73 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1742.73 s
[opt-env-conf-test] ParserMany mLoc p -> do
1742.73 s
[opt-env-conf-test] c <- go p
1742.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1742.73 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1742.73 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1742.73 s
[opt-env-conf-test] c1 <- go p1
1742.73 s
[opt-env-conf-test] c2 <- go p2
1742.73 s
[opt-env-conf-test] - pure ( c 1 && c 2) -- TODO: is this right?
1742.73 s
[opt-env-conf-test] + pure F alse -- TODO: is this right?
1742.73 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1742.73 s
[opt-env-conf-test] ParserMany mLoc p -> do
1742.73 s
[opt-env-conf-test] c <- go p
1742.73 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:14-24
1742.73 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1742.73 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1742.73 s
[opt-env-conf-test] c1 <- go p1
1742.73 s
[opt-env-conf-test] c2 <- go p2
1742.73 s
[opt-env-conf-test] - pure ( c1 && c2) -- TODO: is this right?
1742.73 s
[opt-env-conf-test] + pure n o t ( ( c1 && c2) ) -- TODO: is this right?
1742.73 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1742.73 s
[opt-env-conf-test] ParserMany mLoc p -> do
1742.73 s
[opt-env-conf-test] c <- go p
1742.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
1742.73 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1742.73 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1742.73 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1742.73 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1742.73 s
[opt-env-conf-test] - if n u l l c s
1742.73 s
[opt-env-conf-test] + if F a l s e
1742.73 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1742.73 s
[opt-env-conf-test] else do
1742.73 s
[opt-env-conf-test] for_ mDefault $ \d ->
1742.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1742.73 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1742.73 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1742.73 s
[opt-env-conf-test] c1 <- go p1
1742.73 s
[opt-env-conf-test] c2 <- go p2
1742.73 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
1742.73 s
[opt-env-conf-test] + pure ( T ru e ) -- TODO: is this right?
1742.73 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1742.73 s
[opt-env-conf-test] ParserMany mLoc p -> do
1742.73 s
[opt-env-conf-test] c <- go p
1742.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
1742.73 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1742.73 s
[opt-env-conf-test] when (not c) $
1742.73 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1742.73 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1742.73 s
[opt-env-conf-test] - pure c
1742.74 s
[opt-env-conf-test] + pure F a lse
1742.74 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1742.74 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1742.74 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1742.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
1742.74 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1742.74 s
[opt-env-conf-test] when (not c) $
1742.74 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1742.74 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1742.74 s
[opt-env-conf-test] - pure c
1742.74 s
[opt-env-conf-test] + pure T r u e
1742.74 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1742.74 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1742.74 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1742.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1742.74 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1742.74 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1742.74 s
[opt-env-conf-test] c1 <- go p1
1742.74 s
[opt-env-conf-test] c2 <- go p2
1742.74 s
[opt-env-conf-test] - pure ( c1 && c2 ) -- TODO: is this right?
1742.74 s
[opt-env-conf-test] + pure True -- TODO: is this right?
1742.74 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1742.74 s
[opt-env-conf-test] ParserMany mLoc p -> do
1742.74 s
[opt-env-conf-test] c <- go p
1742.74 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:22-24
1742.74 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1742.74 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1742.74 s
[opt-env-conf-test] c1 <- go p1
1742.74 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1742.74 s
[opt-env-conf-test] - pure $ c1 || c2
1742.74 s
[opt-env-conf-test] + pure $ c1 || n o t ( c2 )
1742.74 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1742.74 s
[opt-env-conf-test] case settingHelp of
1742.74 s
[opt-env-conf-test] Nothing ->
1742.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1742.74 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1742.74 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1742.74 s
[opt-env-conf-test] c1 <- go p1
1742.74 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1742.74 s
[opt-env-conf-test] - pure $ c1 || c 2
1742.74 s
[opt-env-conf-test] + pure $ c1 || F a ls e
1742.74 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1742.74 s
[opt-env-conf-test] case settingHelp of
1742.74 s
[opt-env-conf-test] Nothing ->
1742.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1742.74 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1742.74 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1742.74 s
[opt-env-conf-test] c1 <- go p1
1742.74 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1742.74 s
[opt-env-conf-test] - pure $ c 1 || c 2
1742.74 s
[opt-env-conf-test] + pure $ T rue
1742.74 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1742.74 s
[opt-env-conf-test] case settingHelp of
1742.74 s
[opt-env-conf-test] Nothing ->
1742.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1742.75 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1742.75 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1742.75 s
[opt-env-conf-test] c1 <- go p1
1742.75 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1742.75 s
[opt-env-conf-test] - pure $ c 1 || c2
1742.75 s
[opt-env-conf-test] + pure $ F a ls e
1742.75 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1742.75 s
[opt-env-conf-test] case settingHelp of
1742.75 s
[opt-env-conf-test] Nothing ->
1742.75 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:288:16-24
1742.75 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1742.75 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1742.75 s
[opt-env-conf-test] c1 <- go p1
1742.75 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1746.63 s
[opt-env-conf-test] - pure $ c1 | | c2
1746.63 s
[opt-env-conf-test] + pure $ c1 & & c2
1746.63 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1746.63 s
[opt-env-conf-test] case settingHelp of
1746.63 s
[opt-env-conf-test] Nothing ->
1746.63 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-24
1746.63 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1746.63 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1746.63 s
[opt-env-conf-test] c1 <- go p1
1746.63 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1746.63 s
[opt-env-conf-test] - pure $ c1 || c2
1746.63 s
[opt-env-conf-test] + pure $ n o t ( c1 || c2 )
1746.63 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1746.63 s
[opt-env-conf-test] case settingHelp of
1746.63 s
[opt-env-conf-test] Nothing ->
1746.63 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1746.63 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.63 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.63 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.63 s
[opt-env-conf-test] and
1746.63 s
[opt-env-conf-test] - [ s e tt ing T ry A r g u m e n t || settingTryOption || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] + [ T r u e || settingTryOption || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] null settingEnvVars,
1746.64 s
[opt-env-conf-test] null settingConfigVals
1746.64 s
[opt-env-conf-test] ]
1746.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1746.64 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.64 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.64 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.64 s
[opt-env-conf-test] and
1746.64 s
[opt-env-conf-test] - [ se tt ingTr yArgu me n t || settingTryOption || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] + [ F a l se || settingTryOption || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] null settingEnvVars,
1746.64 s
[opt-env-conf-test] null settingConfigVals
1746.64 s
[opt-env-conf-test] ]
1746.64 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-33
1746.64 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.64 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.64 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.64 s
[opt-env-conf-test] and
1746.64 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] + [ n o t ( settingTryArgument ) || settingTryOption || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] null settingEnvVars,
1746.64 s
[opt-env-conf-test] null settingConfigVals
1746.64 s
[opt-env-conf-test] ]
1746.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1746.64 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.64 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.64 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.64 s
[opt-env-conf-test] and
1746.64 s
[opt-env-conf-test] - [ settingTryArgument || s e tt in g Tr y Opti on || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] null settingEnvVars,
1746.64 s
[opt-env-conf-test] null settingConfigVals
1746.64 s
[opt-env-conf-test] ]
1746.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1746.64 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.64 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.64 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.64 s
[opt-env-conf-test] and
1746.64 s
[opt-env-conf-test] - [ settingTryArgument || se tt ingT ryOp ti o n || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] + [ settingTryArgument || F a l se || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] null settingEnvVars,
1746.64 s
[opt-env-conf-test] null settingConfigVals
1746.64 s
[opt-env-conf-test] ]
1746.64 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-53
1746.64 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.64 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.64 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.64 s
[opt-env-conf-test] and
1746.64 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption ) || isJust settingSwitchValue,
1746.64 s
[opt-env-conf-test] null settingEnvVars,
1746.64 s
[opt-env-conf-test] null settingConfigVals
1746.64 s
[opt-env-conf-test] ]
1746.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1746.64 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.64 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.64 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.64 s
[opt-env-conf-test] and
1746.64 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s J u s t s e t tin gSwitc hVa lu e ,
1746.64 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || Tr u e ,
1746.64 s
[opt-env-conf-test] null settingEnvVars,
1746.64 s
[opt-env-conf-test] null settingConfigVals
1746.64 s
[opt-env-conf-test] ]
1746.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1746.64 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.64 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.64 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.64 s
[opt-env-conf-test] and
1746.64 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s Jus t s e tti ngSwit chV al u e,
1746.64 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || F al s e,
1746.65 s
[opt-env-conf-test] null settingEnvVars,
1746.65 s
[opt-env-conf-test] null settingConfigVals
1746.65 s
[opt-env-conf-test] ]
1746.65 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:57-82
1746.65 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.65 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.65 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.65 s
[opt-env-conf-test] and
1746.65 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1746.65 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || n o t ( isJust settingSwitchValue ) ,
1746.65 s
[opt-env-conf-test] null settingEnvVars,
1746.65 s
[opt-env-conf-test] null settingConfigVals
1746.65 s
[opt-env-conf-test] ]
1746.65 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1746.65 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.65 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.65 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.65 s
[opt-env-conf-test] and
1746.65 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,
1746.65 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e,
1746.65 s
[opt-env-conf-test] null settingEnvVars,
1746.65 s
[opt-env-conf-test] null settingConfigVals
1746.65 s
[opt-env-conf-test] ]
1746.65 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1746.65 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.65 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.65 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.65 s
[opt-env-conf-test] and
1746.65 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,
1746.65 s
[opt-env-conf-test] + [ settingTryArgume n t || F al s e,
1746.65 s
[opt-env-conf-test] null settingEnvVars,
1746.65 s
[opt-env-conf-test] null settingConfigVals
1746.65 s
[opt-env-conf-test] ]
1746.65 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:37-82
1746.65 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1746.65 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1746.65 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1746.65 s
[opt-env-conf-test] and
1746.65 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption | | isJust settingSwitchValue,
1757.40 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption & & isJust settingSwitchValue,
1757.43 s
[opt-env-conf-test] null settingEnvVars,
1757.43 s
[opt-env-conf-test] null settingConfigVals
1757.43 s
[opt-env-conf-test] ]
1757.43 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-82
1757.43 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1757.43 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1757.43 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.43 s
[opt-env-conf-test] and
1757.43 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1757.43 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption || isJust settingSwitchValue ) ,
1757.43 s
[opt-env-conf-test] null settingEnvVars,
1757.43 s
[opt-env-conf-test] null settingConfigVals
1757.43 s
[opt-env-conf-test] ]
1757.43 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1757.43 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1757.43 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1757.43 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.43 s
[opt-env-conf-test] and
1757.43 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 ,
1757.43 s
[opt-env-conf-test] + [ T r u e ,
1757.43 s
[opt-env-conf-test] null settingEnvVars,
1757.43 s
[opt-env-conf-test] null settingConfigVals
1757.43 s
[opt-env-conf-test] ]
1757.43 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1757.43 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1757.43 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1757.43 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.43 s
[opt-env-conf-test] and
1757.43 s
[opt-env-conf-test] - [ s e tt ingT ryArgume nt || settingTry Optio n | | isJust settingS witc hV al u e,
1757.43 s
[opt-env-conf-test] + [ F al s e,
1757.44 s
[opt-env-conf-test] null settingEnvVars,
1757.44 s
[opt-env-conf-test] null settingConfigVals
1757.44 s
[opt-env-conf-test] ]
1757.44 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:15-82
1757.44 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1757.44 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1757.44 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.44 s
[opt-env-conf-test] and
1757.44 s
[opt-env-conf-test] - [ settingTryArgument | | settingTryOption || isJust settingSwitchValue,
1757.44 s
[opt-env-conf-test] + [ settingTryArgument & & settingTryOption || isJust settingSwitchValue,
1757.44 s
[opt-env-conf-test] null settingEnvVars,
1757.44 s
[opt-env-conf-test] null settingConfigVals
1757.44 s
[opt-env-conf-test] ]
1757.44 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-82
1757.44 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1757.44 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1757.44 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.44 s
[opt-env-conf-test] and
1757.44 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1757.44 s
[opt-env-conf-test] + [ n o t ( settingTryArgument || settingTryOption || isJust settingSwitchValue ) ,
1757.44 s
[opt-env-conf-test] null settingEnvVars,
1757.44 s
[opt-env-conf-test] null settingConfigVals
1757.44 s
[opt-env-conf-test] ]
1757.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1757.44 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1757.44 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.44 s
[opt-env-conf-test] and
1757.44 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1757.44 s
[opt-env-conf-test] - n u ll s e t ti ngEnv Va r s ,
1757.44 s
[opt-env-conf-test] + T r u e ,
1757.44 s
[opt-env-conf-test] null settingConfigVals
1757.44 s
[opt-env-conf-test] ]
1757.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1757.44 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1757.44 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.44 s
[opt-env-conf-test] and
1757.44 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1757.44 s
[opt-env-conf-test] - n u l l se t ti ngEnv Va r s ,
1757.44 s
[opt-env-conf-test] + F a l se ,
1757.44 s
[opt-env-conf-test] null settingConfigVals
1757.44 s
[opt-env-conf-test] ]
1757.44 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:341:15-34
1757.44 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1757.44 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.44 s
[opt-env-conf-test] and
1757.44 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1757.44 s
[opt-env-conf-test] - null settingEnvVars ,
1757.44 s
[opt-env-conf-test] + n o t ( null settingEnvVars ) ,
1757.44 s
[opt-env-conf-test] null settingConfigVals
1757.44 s
[opt-env-conf-test] ]
1757.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1757.44 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1757.44 s
[opt-env-conf-test] and
1757.44 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1757.44 s
[opt-env-conf-test] null settingEnvVars,
1757.45 s
[opt-env-conf-test] - n u ll s e t t in gConfigVals
1757.45 s
[opt-env-conf-test] + T r u e
1757.45 s
[opt-env-conf-test] ]
1757.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1757.45 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1757.45 s
[opt-env-conf-test] and
1757.45 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1757.45 s
[opt-env-conf-test] null settingEnvVars,
1757.45 s
[opt-env-conf-test] - n u l l se tting ConfigVals
1757.45 s
[opt-env-conf-test] + Fa l se
1757.45 s
[opt-env-conf-test] ]
1757.45 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:342:15-37
1757.45 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1757.45 s
[opt-env-conf-test] and
1757.45 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1757.45 s
[opt-env-conf-test] null settingEnvVars,
1757.45 s
[opt-env-conf-test] - null settingConfigVals
1757.45 s
[opt-env-conf-test] + n o t ( null settingConfigVals )
1757.45 s
[opt-env-conf-test] ]
1757.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1757.45 s
[opt-env-conf-test] @@ -337,7 +337,4 @@
1757.45 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1757.45 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.45 s
[opt-env-conf-test] and
1757.45 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1757.45 s
[opt-env-conf-test] - null settingEnvVars,
1757.45 s
[opt-env-conf-test] - null settingConfigVals
1757.45 s
[opt-env-conf-test] ]
1757.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1757.45 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1757.45 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1757.45 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.45 s
[opt-env-conf-test] and
1757.45 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1757.45 s
[opt-env-conf-test] null settingEnvVars,
1757.45 s
[opt-env-conf-test] null settingConfigVals
1757.45 s
[opt-env-conf-test] ]
1757.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1757.45 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1757.45 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1757.45 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.45 s
[opt-env-conf-test] and
1757.45 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1757.45 s
[opt-env-conf-test] null settingEnvVars,
1757.45 s
[opt-env-conf-test] - null settingConfigVals
1757.45 s
[opt-env-conf-test] ]
1757.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
1757.45 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1757.45 s
[opt-env-conf-test] pure $
1757.45 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1757.45 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1757.45 s
[opt-env-conf-test] - and
1757.45 s
[opt-env-conf-test] + T r ue
1757.45 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1757.45 s
[opt-env-conf-test] null settingEnvVars,
1757.45 s
[opt-env-conf-test] null settingConfigVals
1757.45 s
[opt-env-conf-test] ]
1757.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
1757.45 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1757.45 s
[opt-env-conf-test] pure $
1757.45 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1757.45 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1764.10 s
[opt-env-conf-test] - a n d
1764.12 s
[opt-env-conf-test] + F a lse
1764.13 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1764.13 s
[opt-env-conf-test] null settingEnvVars,
1764.13 s
[opt-env-conf-test] null settingConfigVals
1764.13 s
[opt-env-conf-test] ]
1764.13 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:339:11-14
1764.13 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1764.13 s
[opt-env-conf-test] pure $
1764.13 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1764.13 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1764.13 s
[opt-env-conf-test] - and
1764.13 s
[opt-env-conf-test] + n o t ( and
1764.13 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1764.13 s
[opt-env-conf-test] null settingEnvVars,
1764.13 s
[opt-env-conf-test] null settingConfigVals
1764.13 s
[opt-env-conf-test] - ]
1764.13 s
[opt-env-conf-test] + ] )
1764.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1764.13 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1764.13 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1764.13 s
[opt-env-conf-test] case lintErrorMessage of
1764.13 s
[opt-env-conf-test] LintErrorUndocumented ->
1764.13 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1764.13 s
[opt-env-conf-test] LintErrorEmptySetting ->
1764.13 s
[opt-env-conf-test] concat
1764.13 s
[opt-env-conf-test] [ [ [ "This ",
1764.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1764.13 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1764.14 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1764.14 s
[opt-env-conf-test] case lintErrorMessage of
1764.14 s
[opt-env-conf-test] LintErrorUndocumented ->
1764.14 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1764.14 s
[opt-env-conf-test] LintErrorEmptySetting ->
1764.14 s
[opt-env-conf-test] concat
1764.14 s
[opt-env-conf-test] [ [ [ "This ",
1764.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1764.14 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1764.14 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1764.14 s
[opt-env-conf-test] case lintErrorMessage of
1764.14 s
[opt-env-conf-test] LintErrorUndocumented ->
1764.14 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1764.14 s
[opt-env-conf-test] LintErrorEmptySetting ->
1764.14 s
[opt-env-conf-test] concat
1764.14 s
[opt-env-conf-test] [ [ [ "This ",
1764.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1764.14 s
[opt-env-conf-test] @@ -71,10 +71,7 @@
1764.14 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1764.14 s
[opt-env-conf-test] LintErrorEmptySetting ->
1764.14 s
[opt-env-conf-test] concat
1764.14 s
[opt-env-conf-test] - [ [ [ "This ",
1764.14 s
[opt-env-conf-test] - functionChunk "setting",
1764.14 s
[opt-env-conf-test] - " parses nothing."
1764.14 s
[opt-env-conf-test] ]
1764.14 s
[opt-env-conf-test] ],
1764.14 s
[opt-env-conf-test] [ [ "Add an ",
1764.14 s
[opt-env-conf-test] functionChunk "argument",
1764.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1764.14 s
[opt-env-conf-test] @@ -71,10 +71,9 @@
1764.14 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1764.14 s
[opt-env-conf-test] LintErrorEmptySetting ->
1764.14 s
[opt-env-conf-test] concat
1764.14 s
[opt-env-conf-test] - [ [ [ "This ",
1764.14 s
[opt-env-conf-test] functionChunk "setting",
1764.14 s
[opt-env-conf-test] " parses nothing."
1764.14 s
[opt-env-conf-test] ]
1764.15 s
[opt-env-conf-test] ],
1764.15 s
[opt-env-conf-test] [ [ "Add an ",
1764.15 s
[opt-env-conf-test] functionChunk "argument",
1764.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1764.15 s
[opt-env-conf-test] @@ -71,10 +71,9 @@
1764.15 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1764.15 s
[opt-env-conf-test] LintErrorEmptySetting ->
1764.15 s
[opt-env-conf-test] concat
1764.15 s
[opt-env-conf-test] [ [ [ "This ",
1764.15 s
[opt-env-conf-test] functionChunk "setting",
1764.15 s
[opt-env-conf-test] - " parses nothing."
1764.15 s
[opt-env-conf-test] ]
1764.15 s
[opt-env-conf-test] ],
1764.15 s
[opt-env-conf-test] [ [ "Add an ",
1764.15 s
[opt-env-conf-test] functionChunk "argument",
1764.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1764.15 s
[opt-env-conf-test] @@ -76,20 +76,7 @@
1764.15 s
[opt-env-conf-test] " parses nothing."
1764.15 s
[opt-env-conf-test] ]
1764.15 s
[opt-env-conf-test] ],
1764.15 s
[opt-env-conf-test] - [ [ "Add an ",
1764.15 s
[opt-env-conf-test] - functionChunk "argument",
1764.15 s
[opt-env-conf-test] - ", ",
1764.15 s
[opt-env-conf-test] - functionChunk "switch",
1764.15 s
[opt-env-conf-test] - ", ",
1764.15 s
[opt-env-conf-test] - functionChunk "option",
1764.15 s
[opt-env-conf-test] - ", ",
1764.15 s
[opt-env-conf-test] - functionChunk "env",
1764.15 s
[opt-env-conf-test] - ", ",
1764.15 s
[opt-env-conf-test] - functionChunk "conf",
1764.15 s
[opt-env-conf-test] - ", or ",
1764.15 s
[opt-env-conf-test] - functionChunk "value",
1764.15 s
[opt-env-conf-test] - "."
1764.15 s
[opt-env-conf-test] ]
1764.15 s
[opt-env-conf-test] ]
1764.15 s
[opt-env-conf-test] ]
1764.16 s
[opt-env-conf-test] LintErrorDashInShort ->
1764.16 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1764.16 s
[opt-env-conf-test] @@ -76,20 +76,19 @@
1764.16 s
[opt-env-conf-test] " parses nothing."
1764.16 s
[opt-env-conf-test] ]
1764.16 s
[opt-env-conf-test] ],
1764.16 s
[opt-env-conf-test] - [ [ "Add an ",
1764.16 s
[opt-env-conf-test] functionChunk "argument",
1764.16 s
[opt-env-conf-test] ", ",
1764.16 s
[opt-env-conf-test] functionChunk "switch",
1764.16 s
[opt-env-conf-test] ", ",
1764.16 s
[opt-env-conf-test] functionChunk "option",
1764.16 s
[opt-env-conf-test] ", ",
1764.16 s
[opt-env-conf-test] functionChunk "env",
1764.16 s
[opt-env-conf-test] ", ",
1764.16 s
[opt-env-conf-test] functionChunk "conf",
1764.16 s
[opt-env-conf-test] ", or ",
1764.16 s
[opt-env-conf-test] functionChunk "value",
1764.16 s
[opt-env-conf-test] "."
1764.16 s
[opt-env-conf-test] ]
1764.16 s
[opt-env-conf-test] ]
1764.16 s
[opt-env-conf-test] ]
1764.16 s
[opt-env-conf-test] LintErrorDashInShort ->
1764.16 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1764.16 s
[opt-env-conf-test] @@ -76,20 +76,19 @@
1764.16 s
[opt-env-conf-test] " parses nothing."
1764.16 s
[opt-env-conf-test] ]
1764.16 s
[opt-env-conf-test] ],
1764.16 s
[opt-env-conf-test] [ [ "Add an ",
1764.16 s
[opt-env-conf-test] functionChunk "argument",
1764.16 s
[opt-env-conf-test] ", ",
1764.16 s
[opt-env-conf-test] functionChunk "switch",
1764.16 s
[opt-env-conf-test] ", ",
1764.16 s
[opt-env-conf-test] functionChunk "option",
1764.16 s
[opt-env-conf-test] ", ",
1764.16 s
[opt-env-conf-test] functionChunk "env",
1764.16 s
[opt-env-conf-test] ", ",
1764.16 s
[opt-env-conf-test] functionChunk "conf",
1764.16 s
[opt-env-conf-test] ", or ",
1764.16 s
[opt-env-conf-test] functionChunk "value",
1764.16 s
[opt-env-conf-test] - "."
1764.16 s
[opt-env-conf-test] ]
1764.16 s
[opt-env-conf-test] ]
1764.16 s
[opt-env-conf-test] ]
1764.16 s
[opt-env-conf-test] LintErrorDashInShort ->
1764.17 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
1764.17 s
[opt-env-conf-test] @@ -71,27 +71,7 @@
1764.17 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1764.17 s
[opt-env-conf-test] LintErrorEmptySetting ->
1764.17 s
[opt-env-conf-test] concat
1764.17 s
[opt-env-conf-test] - [ [ [ "This ",
1764.17 s
[opt-env-conf-test] - functionChunk "setting",
1764.17 s
[opt-env-conf-test] - " parses nothing."
1764.17 s
[opt-env-conf-test] - ]
1764.17 s
[opt-env-conf-test] - ],
1764.17 s
[opt-env-conf-test] - [ [ "Add an ",
1764.17 s
[opt-env-conf-test] - functionChunk "argument",
1764.17 s
[opt-env-conf-test] - ", ",
1764.17 s
[opt-env-conf-test] - functionChunk "switch",
1764.17 s
[opt-env-conf-test] - ", ",
1764.17 s
[opt-env-conf-test] - functionChunk "option",
1764.17 s
[opt-env-conf-test] - ", ",
1764.17 s
[opt-env-conf-test] - functionChunk "env",
1764.17 s
[opt-env-conf-test] - ", ",
1764.17 s
[opt-env-conf-test] - functionChunk "conf",
1764.17 s
[opt-env-conf-test] - ", or ",
1764.17 s
[opt-env-conf-test] - functionChunk "value",
1764.17 s
[opt-env-conf-test] - "."
1764.17 s
[opt-env-conf-test] - ]
1764.17 s
[opt-env-conf-test] - ]
1764.17 s
[opt-env-conf-test] ]
1764.17 s
[opt-env-conf-test] LintErrorDashInShort ->
1764.17 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1764.17 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1764.17 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
1764.17 s
[opt-env-conf-test] @@ -71,27 +71,22 @@
1764.17 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1764.17 s
[opt-env-conf-test] LintErrorEmptySetting ->
1764.17 s
[opt-env-conf-test] concat
1764.17 s
[opt-env-conf-test] - [ [ [ "This ",
1764.17 s
[opt-env-conf-test] - functionChunk "setting",
1764.17 s
[opt-env-conf-test] - " parses nothing."
1764.17 s
[opt-env-conf-test] - ]
1764.17 s
[opt-env-conf-test] - ],
1764.17 s
[opt-env-conf-test] [ [ "Add an ",
1764.17 s
[opt-env-conf-test] functionChunk "argument",
1764.17 s
[opt-env-conf-test] ", ",
1764.18 s
[opt-env-conf-test] functionChunk "switch",
1764.18 s
[opt-env-conf-test] ", ",
1764.18 s
[opt-env-conf-test] functionChunk "option",
1764.18 s
[opt-env-conf-test] ", ",
1764.18 s
[opt-env-conf-test] functionChunk "env",
1764.18 s
[opt-env-conf-test] ", ",
1764.18 s
[opt-env-conf-test] functionChunk "conf",
1764.18 s
[opt-env-conf-test] ", or ",
1764.18 s
[opt-env-conf-test] functionChunk "value",
1764.18 s
[opt-env-conf-test] "."
1764.18 s
[opt-env-conf-test] ]
1764.18 s
[opt-env-conf-test] ]
1764.18 s
[opt-env-conf-test] ]
1764.18 s
[opt-env-conf-test] LintErrorDashInShort ->
1764.18 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1764.18 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1764.18 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
1764.18 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1764.18 s
[opt-env-conf-test] ]
1764.18 s
[opt-env-conf-test] ]
1764.18 s
[opt-env-conf-test] LintErrorDashInShort ->
1764.18 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1764.18 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1764.18 s
[opt-env-conf-test] ]
1764.18 s
[opt-env-conf-test] LintErrorDashInLong s ->
1764.18 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
1764.18 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1764.18 s
[opt-env-conf-test] ]
1764.18 s
[opt-env-conf-test] ]
1764.18 s
[opt-env-conf-test] LintErrorDashInShort ->
1764.18 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1764.18 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1764.18 s
[opt-env-conf-test] ]
1764.18 s
[opt-env-conf-test] LintErrorDashInLong s ->
1764.19 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1772.19 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1772.19 s
[opt-env-conf-test] ]
1772.19 s
[opt-env-conf-test] LintErrorDashInShort ->
1772.22 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1772.22 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1772.22 s
[opt-env-conf-test] ]
1772.22 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.22 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1772.22 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1772.22 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1772.22 s
[opt-env-conf-test] ]
1772.22 s
[opt-env-conf-test] LintErrorDashInShort ->
1772.22 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1772.22 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1772.22 s
[opt-env-conf-test] ]
1772.22 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.22 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1772.22 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1772.22 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1772.22 s
[opt-env-conf-test] ]
1772.22 s
[opt-env-conf-test] LintErrorDashInShort ->
1772.22 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1772.22 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1772.22 s
[opt-env-conf-test] ]
1772.22 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.22 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1772.22 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
1772.22 s
[opt-env-conf-test] @@ -93,9 +93,7 @@
1772.22 s
[opt-env-conf-test] ]
1772.22 s
[opt-env-conf-test] ]
1772.22 s
[opt-env-conf-test] LintErrorDashInShort ->
1772.22 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1772.22 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1772.22 s
[opt-env-conf-test] ]
1772.22 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.23 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1772.23 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.23 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
1772.23 s
[opt-env-conf-test] @@ -93,9 +93,8 @@
1772.23 s
[opt-env-conf-test] ]
1772.23 s
[opt-env-conf-test] ]
1772.23 s
[opt-env-conf-test] LintErrorDashInShort ->
1772.23 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1772.23 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1772.23 s
[opt-env-conf-test] ]
1772.23 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.23 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1772.23 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.23 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
1772.23 s
[opt-env-conf-test] @@ -97,7 +97,6 @@
1772.23 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1772.23 s
[opt-env-conf-test] ]
1772.23 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.23 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1772.23 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.23 s
[opt-env-conf-test] [ "Try ",
1772.23 s
[opt-env-conf-test] functionChunk "long",
1772.23 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
1772.23 s
[opt-env-conf-test] @@ -97,7 +97,6 @@
1772.23 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1772.23 s
[opt-env-conf-test] ]
1772.23 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.23 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1772.23 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.23 s
[opt-env-conf-test] [ "Try ",
1772.23 s
[opt-env-conf-test] functionChunk "long",
1772.23 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1772.23 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1772.23 s
[opt-env-conf-test] ]
1772.23 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.23 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1772.23 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.23 s
[opt-env-conf-test] [ "Try ",
1772.23 s
[opt-env-conf-test] functionChunk "long",
1772.23 s
[opt-env-conf-test] " ",
1772.23 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1772.23 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1772.23 s
[opt-env-conf-test] ]
1772.23 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.23 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1772.23 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.23 s
[opt-env-conf-test] [ "Try ",
1772.24 s
[opt-env-conf-test] functionChunk "long",
1772.24 s
[opt-env-conf-test] " ",
1772.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1772.24 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1772.24 s
[opt-env-conf-test] ]
1772.24 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.24 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1772.24 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.24 s
[opt-env-conf-test] [ "Try ",
1772.24 s
[opt-env-conf-test] functionChunk "long",
1772.24 s
[opt-env-conf-test] " ",
1772.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1772.24 s
[opt-env-conf-test] @@ -99,19 +99,7 @@
1772.24 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.24 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1772.24 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.24 s
[opt-env-conf-test] - [ "Try ",
1772.24 s
[opt-env-conf-test] - functionChunk "long",
1772.24 s
[opt-env-conf-test] - " ",
1772.24 s
[opt-env-conf-test] - chunk $
1772.24 s
[opt-env-conf-test] - T.pack $
1772.24 s
[opt-env-conf-test] - show $
1772.24 s
[opt-env-conf-test] - let go = \case
1772.24 s
[opt-env-conf-test] - [] -> []
1772.24 s
[opt-env-conf-test] - '-' : cs -> go cs
1772.24 s
[opt-env-conf-test] - c : cs -> c : cs
1772.24 s
[opt-env-conf-test] - in go $ NE.toList s,
1772.24 s
[opt-env-conf-test] - " instead."
1772.24 s
[opt-env-conf-test] ]
1772.24 s
[opt-env-conf-test] ]
1772.24 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1772.24 s
[opt-env-conf-test] [ [ functionChunk "argument",
1772.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1772.24 s
[opt-env-conf-test] @@ -99,19 +99,18 @@
1772.24 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.24 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1772.24 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.24 s
[opt-env-conf-test] - [ "Try ",
1772.24 s
[opt-env-conf-test] functionChunk "long",
1772.24 s
[opt-env-conf-test] " ",
1772.24 s
[opt-env-conf-test] chunk $
1772.24 s
[opt-env-conf-test] T.pack $
1772.24 s
[opt-env-conf-test] show $
1772.24 s
[opt-env-conf-test] let go = \case
1772.24 s
[opt-env-conf-test] [] -> []
1772.24 s
[opt-env-conf-test] '-' : cs -> go cs
1772.24 s
[opt-env-conf-test] c : cs -> c : cs
1772.24 s
[opt-env-conf-test] in go $ NE.toList s,
1772.24 s
[opt-env-conf-test] " instead."
1772.24 s
[opt-env-conf-test] ]
1772.24 s
[opt-env-conf-test] ]
1772.24 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1772.24 s
[opt-env-conf-test] [ [ functionChunk "argument",
1772.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1772.24 s
[opt-env-conf-test] @@ -99,19 +99,18 @@
1772.24 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.24 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1772.24 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.24 s
[opt-env-conf-test] [ "Try ",
1772.24 s
[opt-env-conf-test] functionChunk "long",
1772.24 s
[opt-env-conf-test] " ",
1772.24 s
[opt-env-conf-test] chunk $
1772.24 s
[opt-env-conf-test] T.pack $
1772.24 s
[opt-env-conf-test] show $
1772.24 s
[opt-env-conf-test] let go = \case
1772.24 s
[opt-env-conf-test] [] -> []
1772.24 s
[opt-env-conf-test] '-' : cs -> go cs
1772.24 s
[opt-env-conf-test] c : cs -> c : cs
1772.24 s
[opt-env-conf-test] in go $ NE.toList s,
1772.24 s
[opt-env-conf-test] - " instead."
1772.24 s
[opt-env-conf-test] ]
1772.24 s
[opt-env-conf-test] ]
1772.24 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1772.24 s
[opt-env-conf-test] [ [ functionChunk "argument",
1772.24 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1772.24 s
[opt-env-conf-test] @@ -97,22 +97,7 @@
1772.24 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1772.24 s
[opt-env-conf-test] ]
1772.24 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.24 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1772.24 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.24 s
[opt-env-conf-test] - [ "Try ",
1772.25 s
[opt-env-conf-test] - functionChunk "long",
1772.25 s
[opt-env-conf-test] - " ",
1772.25 s
[opt-env-conf-test] - chunk $
1772.25 s
[opt-env-conf-test] - T.pack $
1772.25 s
[opt-env-conf-test] - show $
1772.25 s
[opt-env-conf-test] - let go = \case
1772.25 s
[opt-env-conf-test] - [] -> []
1772.25 s
[opt-env-conf-test] - '-' : cs -> go cs
1772.25 s
[opt-env-conf-test] - c : cs -> c : cs
1772.25 s
[opt-env-conf-test] - in go $ NE.toList s,
1772.25 s
[opt-env-conf-test] - " instead."
1772.25 s
[opt-env-conf-test] - ]
1772.25 s
[opt-env-conf-test] ]
1772.25 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1772.25 s
[opt-env-conf-test] [ [ functionChunk "argument",
1772.25 s
[opt-env-conf-test] " has no ",
1772.25 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1772.25 s
[opt-env-conf-test] @@ -97,22 +97,21 @@
1772.25 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1772.25 s
[opt-env-conf-test] ]
1772.25 s
[opt-env-conf-test] LintErrorDashInLong s ->
1772.25 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1772.25 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1772.25 s
[opt-env-conf-test] [ "Try ",
1772.25 s
[opt-env-conf-test] functionChunk "long",
1772.25 s
[opt-env-conf-test] " ",
1772.25 s
[opt-env-conf-test] chunk $
1772.25 s
[opt-env-conf-test] T.pack $
1772.25 s
[opt-env-conf-test] show $
1772.25 s
[opt-env-conf-test] let go = \case
1772.25 s
[opt-env-conf-test] [] -> []
1772.25 s
[opt-env-conf-test] '-' : cs -> go cs
1772.25 s
[opt-env-conf-test] c : cs -> c : cs
1772.25 s
[opt-env-conf-test] in go $ NE.toList s,
1779.51 s
[opt-env-conf-test] " instead."
1779.51 s
[opt-env-conf-test] ]
1779.53 s
[opt-env-conf-test] ]
1779.53 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1779.53 s
[opt-env-conf-test] [ [ functionChunk "argument",
1779.53 s
[opt-env-conf-test] " has no ",
1779.53 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1779.53 s
[opt-env-conf-test] @@ -97,22 +97,9 @@
1779.53 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1779.53 s
[opt-env-conf-test] ]
1779.53 s
[opt-env-conf-test] LintErrorDashInLong s ->
1779.53 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1779.53 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1779.53 s
[opt-env-conf-test] - [ "Try ",
1779.53 s
[opt-env-conf-test] - functionChunk "long",
1779.53 s
[opt-env-conf-test] - " ",
1779.53 s
[opt-env-conf-test] - chunk $
1779.53 s
[opt-env-conf-test] - T.pack $
1779.53 s
[opt-env-conf-test] - show $
1779.53 s
[opt-env-conf-test] - let go = \case
1779.53 s
[opt-env-conf-test] - [] -> []
1779.53 s
[opt-env-conf-test] - '-' : cs -> go cs
1779.53 s
[opt-env-conf-test] - c : cs -> c : cs
1779.53 s
[opt-env-conf-test] - in go $ NE.toList s,
1779.53 s
[opt-env-conf-test] - " instead."
1779.53 s
[opt-env-conf-test] - ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1779.54 s
[opt-env-conf-test] [ [ functionChunk "argument",
1779.54 s
[opt-env-conf-test] " has no ",
1779.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1779.54 s
[opt-env-conf-test] @@ -114,11 +114,7 @@
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1779.54 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1779.54 s
[opt-env-conf-test] - " has no ",
1779.54 s
[opt-env-conf-test] - functionChunk "reader",
1779.54 s
[opt-env-conf-test] - "."
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1779.54 s
[opt-env-conf-test] [ [ functionChunk "argument",
1779.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1779.54 s
[opt-env-conf-test] @@ -114,11 +114,10 @@
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1779.54 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1779.54 s
[opt-env-conf-test] " has no ",
1779.54 s
[opt-env-conf-test] functionChunk "reader",
1779.54 s
[opt-env-conf-test] "."
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1779.54 s
[opt-env-conf-test] [ [ functionChunk "argument",
1779.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1779.54 s
[opt-env-conf-test] @@ -114,11 +114,10 @@
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1779.54 s
[opt-env-conf-test] [ [ functionChunk "argument",
1779.54 s
[opt-env-conf-test] " has no ",
1779.54 s
[opt-env-conf-test] functionChunk "reader",
1779.54 s
[opt-env-conf-test] - "."
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1779.54 s
[opt-env-conf-test] [ [ functionChunk "argument",
1779.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1779.54 s
[opt-env-conf-test] @@ -121,11 +121,7 @@
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1779.54 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1779.54 s
[opt-env-conf-test] - " has no ",
1779.54 s
[opt-env-conf-test] - functionChunk "metavar",
1779.54 s
[opt-env-conf-test] - "."
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1779.54 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1779.54 s
[opt-env-conf-test] @@ -121,11 +121,10 @@
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1779.54 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1779.54 s
[opt-env-conf-test] " has no ",
1779.54 s
[opt-env-conf-test] functionChunk "metavar",
1779.54 s
[opt-env-conf-test] "."
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1779.54 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1779.54 s
[opt-env-conf-test] @@ -121,11 +121,10 @@
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1779.54 s
[opt-env-conf-test] [ [ functionChunk "argument",
1779.54 s
[opt-env-conf-test] " has no ",
1779.54 s
[opt-env-conf-test] functionChunk "metavar",
1779.54 s
[opt-env-conf-test] - "."
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1779.54 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1779.54 s
[opt-env-conf-test] @@ -128,13 +128,7 @@
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] ]
1779.54 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1779.55 s
[opt-env-conf-test] - [ [ functionChunk "option",
1779.55 s
[opt-env-conf-test] - " or ",
1779.55 s
[opt-env-conf-test] - functionChunk "name",
1779.55 s
[opt-env-conf-test] - " has no ",
1779.55 s
[opt-env-conf-test] - functionChunk "reader",
1779.55 s
[opt-env-conf-test] - "."
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1779.55 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1779.55 s
[opt-env-conf-test] @@ -128,13 +128,12 @@
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1779.55 s
[opt-env-conf-test] - [ [ functionChunk "option",
1779.55 s
[opt-env-conf-test] " or ",
1779.55 s
[opt-env-conf-test] functionChunk "name",
1779.55 s
[opt-env-conf-test] " has no ",
1779.55 s
[opt-env-conf-test] functionChunk "reader",
1779.55 s
[opt-env-conf-test] "."
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1779.55 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1779.55 s
[opt-env-conf-test] @@ -128,13 +128,12 @@
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1779.55 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.55 s
[opt-env-conf-test] " or ",
1779.55 s
[opt-env-conf-test] functionChunk "name",
1779.55 s
[opt-env-conf-test] " has no ",
1779.55 s
[opt-env-conf-test] functionChunk "reader",
1779.55 s
[opt-env-conf-test] - "."
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1779.55 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1779.55 s
[opt-env-conf-test] @@ -137,13 +137,7 @@
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1779.55 s
[opt-env-conf-test] - [ [ functionChunk "option",
1779.55 s
[opt-env-conf-test] - " has no ",
1779.55 s
[opt-env-conf-test] - functionChunk "long",
1779.55 s
[opt-env-conf-test] - " or ",
1779.55 s
[opt-env-conf-test] - functionChunk "short",
1779.55 s
[opt-env-conf-test] - "."
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1779.55 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1779.55 s
[opt-env-conf-test] @@ -137,13 +137,12 @@
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1779.55 s
[opt-env-conf-test] - [ [ functionChunk "option",
1779.55 s
[opt-env-conf-test] " has no ",
1779.55 s
[opt-env-conf-test] functionChunk "long",
1779.55 s
[opt-env-conf-test] " or ",
1779.55 s
[opt-env-conf-test] functionChunk "short",
1779.55 s
[opt-env-conf-test] "."
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1779.55 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1779.55 s
[opt-env-conf-test] @@ -137,13 +137,12 @@
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1779.55 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.55 s
[opt-env-conf-test] " has no ",
1779.55 s
[opt-env-conf-test] functionChunk "long",
1779.55 s
[opt-env-conf-test] " or ",
1779.55 s
[opt-env-conf-test] functionChunk "short",
1779.55 s
[opt-env-conf-test] - "."
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] ]
1779.55 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1779.56 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1779.56 s
[opt-env-conf-test] @@ -146,13 +146,7 @@
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1779.56 s
[opt-env-conf-test] - [ [ functionChunk "option",
1779.56 s
[opt-env-conf-test] - " or ",
1779.56 s
[opt-env-conf-test] - functionChunk "name",
1779.56 s
[opt-env-conf-test] - " has no ",
1779.56 s
[opt-env-conf-test] - functionChunk "metavar",
1779.56 s
[opt-env-conf-test] - "."
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1779.56 s
[opt-env-conf-test] [ [ functionChunk "switch",
1779.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1779.56 s
[opt-env-conf-test] @@ -146,13 +146,12 @@
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1779.56 s
[opt-env-conf-test] - [ [ functionChunk "option",
1779.56 s
[opt-env-conf-test] " or ",
1779.56 s
[opt-env-conf-test] functionChunk "name",
1779.56 s
[opt-env-conf-test] " has no ",
1779.56 s
[opt-env-conf-test] functionChunk "metavar",
1779.56 s
[opt-env-conf-test] "."
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1779.56 s
[opt-env-conf-test] [ [ functionChunk "switch",
1779.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1779.56 s
[opt-env-conf-test] @@ -146,13 +146,12 @@
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1779.56 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.56 s
[opt-env-conf-test] " or ",
1779.56 s
[opt-env-conf-test] functionChunk "name",
1779.56 s
[opt-env-conf-test] " has no ",
1779.56 s
[opt-env-conf-test] functionChunk "metavar",
1779.56 s
[opt-env-conf-test] - "."
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1779.56 s
[opt-env-conf-test] [ [ functionChunk "switch",
1779.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1779.56 s
[opt-env-conf-test] @@ -155,13 +155,7 @@
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] ]
1779.56 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1779.56 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1779.56 s
[opt-env-conf-test] - " has no ",
1779.56 s
[opt-env-conf-test] - functionChunk "long",
1779.56 s
[opt-env-conf-test] - " or ",
1779.56 s
[opt-env-conf-test] - functionChunk "short",
1789.67 s
[opt-env-conf-test] - "."
1789.69 s
[opt-env-conf-test] ]
1789.69 s
[opt-env-conf-test] ]
1789.69 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1789.69 s
[opt-env-conf-test] [ [ functionChunk "long",
1789.69 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1789.69 s
[opt-env-conf-test] @@ -155,13 +155,12 @@
1789.69 s
[opt-env-conf-test] ]
1789.69 s
[opt-env-conf-test] ]
1789.69 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1789.69 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1789.69 s
[opt-env-conf-test] " has no ",
1789.69 s
[opt-env-conf-test] functionChunk "long",
1789.69 s
[opt-env-conf-test] " or ",
1789.69 s
[opt-env-conf-test] functionChunk "short",
1789.69 s
[opt-env-conf-test] "."
1789.69 s
[opt-env-conf-test] ]
1789.69 s
[opt-env-conf-test] ]
1789.70 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1789.70 s
[opt-env-conf-test] [ [ functionChunk "long",
1789.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1789.70 s
[opt-env-conf-test] @@ -155,13 +155,12 @@
1789.70 s
[opt-env-conf-test] ]
1789.70 s
[opt-env-conf-test] ]
1789.70 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1789.70 s
[opt-env-conf-test] [ [ functionChunk "switch",
1789.70 s
[opt-env-conf-test] " has no ",
1789.70 s
[opt-env-conf-test] functionChunk "long",
1789.70 s
[opt-env-conf-test] " or ",
1789.70 s
[opt-env-conf-test] functionChunk "short",
1789.70 s
[opt-env-conf-test] - "."
1789.70 s
[opt-env-conf-test] ]
1789.70 s
[opt-env-conf-test] ]
1789.70 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1789.70 s
[opt-env-conf-test] [ [ functionChunk "long",
1789.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1789.70 s
[opt-env-conf-test] @@ -164,15 +164,7 @@
1789.70 s
[opt-env-conf-test] ]
1789.70 s
[opt-env-conf-test] ]
1789.70 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1789.70 s
[opt-env-conf-test] - [ [ functionChunk "long",
1789.70 s
[opt-env-conf-test] - " or ",
1789.70 s
[opt-env-conf-test] - functionChunk "short",
1789.70 s
[opt-env-conf-test] - " has no ",
1789.70 s
[opt-env-conf-test] - functionChunk "option",
1789.70 s
[opt-env-conf-test] - " or ",
1789.70 s
[opt-env-conf-test] - functionChunk "switch",
1789.70 s
[opt-env-conf-test] - "."
1789.70 s
[opt-env-conf-test] ]
1789.70 s
[opt-env-conf-test] ]
1789.70 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1789.70 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.70 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1789.70 s
[opt-env-conf-test] @@ -164,15 +164,14 @@
1789.70 s
[opt-env-conf-test] ]
1789.70 s
[opt-env-conf-test] ]
1789.70 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1789.70 s
[opt-env-conf-test] - [ [ functionChunk "long",
1789.70 s
[opt-env-conf-test] " or ",
1789.71 s
[opt-env-conf-test] functionChunk "short",
1789.71 s
[opt-env-conf-test] " has no ",
1789.71 s
[opt-env-conf-test] functionChunk "option",
1789.71 s
[opt-env-conf-test] " or ",
1789.71 s
[opt-env-conf-test] functionChunk "switch",
1789.71 s
[opt-env-conf-test] "."
1789.71 s
[opt-env-conf-test] ]
1789.71 s
[opt-env-conf-test] ]
1789.71 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1789.71 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1789.71 s
[opt-env-conf-test] @@ -164,15 +164,14 @@
1789.71 s
[opt-env-conf-test] ]
1789.71 s
[opt-env-conf-test] ]
1789.71 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1789.71 s
[opt-env-conf-test] [ [ functionChunk "long",
1789.71 s
[opt-env-conf-test] " or ",
1789.71 s
[opt-env-conf-test] functionChunk "short",
1789.71 s
[opt-env-conf-test] " has no ",
1789.71 s
[opt-env-conf-test] functionChunk "option",
1789.71 s
[opt-env-conf-test] " or ",
1789.71 s
[opt-env-conf-test] functionChunk "switch",
1789.71 s
[opt-env-conf-test] - "."
1789.71 s
[opt-env-conf-test] ]
1789.71 s
[opt-env-conf-test] ]
1789.71 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1789.71 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1789.71 s
[opt-env-conf-test] @@ -175,13 +175,7 @@
1789.71 s
[opt-env-conf-test] ]
1789.71 s
[opt-env-conf-test] ]
1789.71 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1789.71 s
[opt-env-conf-test] - [ [ functionChunk "env",
1789.71 s
[opt-env-conf-test] - " or ",
1789.71 s
[opt-env-conf-test] - functionChunk "name",
1789.71 s
[opt-env-conf-test] - " has no ",
1789.71 s
[opt-env-conf-test] - functionChunk "reader",
1789.71 s
[opt-env-conf-test] - "."
1789.71 s
[opt-env-conf-test] ]
1789.71 s
[opt-env-conf-test] ]
1789.71 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1789.71 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.71 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1789.71 s
[opt-env-conf-test] @@ -175,13 +175,12 @@
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1789.72 s
[opt-env-conf-test] - [ [ functionChunk "env",
1789.72 s
[opt-env-conf-test] " or ",
1789.72 s
[opt-env-conf-test] functionChunk "name",
1789.72 s
[opt-env-conf-test] " has no ",
1789.72 s
[opt-env-conf-test] functionChunk "reader",
1789.72 s
[opt-env-conf-test] "."
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1789.72 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.72 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1789.72 s
[opt-env-conf-test] @@ -175,13 +175,12 @@
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1789.72 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.72 s
[opt-env-conf-test] " or ",
1789.72 s
[opt-env-conf-test] functionChunk "name",
1789.72 s
[opt-env-conf-test] " has no ",
1789.72 s
[opt-env-conf-test] functionChunk "reader",
1789.72 s
[opt-env-conf-test] - "."
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1789.72 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.72 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1789.72 s
[opt-env-conf-test] @@ -184,13 +184,7 @@
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1789.72 s
[opt-env-conf-test] - [ [ functionChunk "env",
1789.72 s
[opt-env-conf-test] - " or ",
1789.72 s
[opt-env-conf-test] - functionChunk "name",
1789.72 s
[opt-env-conf-test] - " has no ",
1789.72 s
[opt-env-conf-test] - functionChunk "metavar",
1789.72 s
[opt-env-conf-test] - "."
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] ]
1789.72 s
[opt-env-conf-test] LintErrorNoCommands ->
1789.72 s
[opt-env-conf-test] [ [ functionChunk "commands",
1789.72 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1789.72 s
[opt-env-conf-test] @@ -184,13 +184,12 @@
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1789.73 s
[opt-env-conf-test] - [ [ functionChunk "env",
1789.73 s
[opt-env-conf-test] " or ",
1789.73 s
[opt-env-conf-test] functionChunk "name",
1789.73 s
[opt-env-conf-test] " has no ",
1789.73 s
[opt-env-conf-test] functionChunk "metavar",
1789.73 s
[opt-env-conf-test] "."
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] LintErrorNoCommands ->
1789.73 s
[opt-env-conf-test] [ [ functionChunk "commands",
1789.73 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1789.73 s
[opt-env-conf-test] @@ -184,13 +184,12 @@
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1789.73 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.73 s
[opt-env-conf-test] " or ",
1789.73 s
[opt-env-conf-test] functionChunk "name",
1789.73 s
[opt-env-conf-test] " has no ",
1789.73 s
[opt-env-conf-test] functionChunk "metavar",
1789.73 s
[opt-env-conf-test] - "."
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] LintErrorNoCommands ->
1789.73 s
[opt-env-conf-test] [ [ functionChunk "commands",
1789.73 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
1789.73 s
[opt-env-conf-test] @@ -193,9 +193,7 @@
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] LintErrorNoCommands ->
1789.73 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1789.73 s
[opt-env-conf-test] - " was called with an empty list."
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1789.73 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1789.73 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
1789.73 s
[opt-env-conf-test] @@ -193,9 +193,8 @@
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] LintErrorNoCommands ->
1789.73 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1789.73 s
[opt-env-conf-test] " was called with an empty list."
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] ]
1789.73 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1789.73 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1789.73 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1789.73 s
[opt-env-conf-test] @@ -198,10 +198,7 @@
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1789.74 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1789.74 s
[opt-env-conf-test] - " was called with an unknown command: ",
1789.74 s
[opt-env-conf-test] - commandChunk c
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1789.74 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1789.74 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1789.74 s
[opt-env-conf-test] @@ -198,10 +198,9 @@
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1789.74 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1789.74 s
[opt-env-conf-test] " was called with an unknown command: ",
1789.74 s
[opt-env-conf-test] commandChunk c
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1789.74 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1789.74 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1789.74 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1789.74 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1789.74 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1789.74 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1789.74 s
[opt-env-conf-test] @@ -198,10 +198,9 @@
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1789.74 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1789.74 s
[opt-env-conf-test] " was called with an unknown command: ",
1789.74 s
[opt-env-conf-test] - commandChunk c
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] ]
1789.74 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1789.74 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1798.41 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1798.41 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1798.41 s
[opt-env-conf-test] ]
1798.43 s
[opt-env-conf-test] ]
1798.43 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1798.43 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1798.44 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1798.44 s
[opt-env-conf-test] ]
1798.44 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1798.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1798.44 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1798.44 s
[opt-env-conf-test] ]
1798.44 s
[opt-env-conf-test] ]
1798.44 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1798.44 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1798.44 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1798.44 s
[opt-env-conf-test] ]
1798.44 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1798.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
1798.44 s
[opt-env-conf-test] @@ -205,7 +205,6 @@
1798.44 s
[opt-env-conf-test] ]
1798.44 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1798.44 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1798.44 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1798.44 s
[opt-env-conf-test] ]
1798.44 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1798.44 s
[opt-env-conf-test] [ [ functionChunk "conf",
1798.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
1798.44 s
[opt-env-conf-test] @@ -205,7 +205,6 @@
1798.44 s
[opt-env-conf-test] ]
1798.44 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1798.44 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1798.44 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1798.44 s
[opt-env-conf-test] ]
1798.44 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1798.44 s
[opt-env-conf-test] [ [ functionChunk "conf",
1798.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
1798.44 s
[opt-env-conf-test] @@ -204,9 +204,7 @@
1798.44 s
[opt-env-conf-test] ]
1798.44 s
[opt-env-conf-test] ]
1798.44 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1798.44 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1798.44 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1798.44 s
[opt-env-conf-test] ]
1798.44 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1798.44 s
[opt-env-conf-test] [ [ functionChunk "conf",
1798.45 s
[opt-env-conf-test] " or ",
1798.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
1798.45 s
[opt-env-conf-test] @@ -204,9 +204,8 @@
1798.45 s
[opt-env-conf-test] ]
1798.45 s
[opt-env-conf-test] ]
1798.45 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1798.45 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1798.45 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1798.45 s
[opt-env-conf-test] ]
1798.45 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1798.45 s
[opt-env-conf-test] [ [ functionChunk "conf",
1798.45 s
[opt-env-conf-test] " or ",
1798.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1798.45 s
[opt-env-conf-test] @@ -208,11 +208,7 @@
1798.45 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1798.45 s
[opt-env-conf-test] ]
1798.45 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1798.45 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1798.45 s
[opt-env-conf-test] - " or ",
1798.45 s
[opt-env-conf-test] - functionChunk "name",
1798.45 s
[opt-env-conf-test] - " was called with no way to load configuration."
1798.45 s
[opt-env-conf-test] ],
1798.45 s
[opt-env-conf-test] [ "You can load configuration with ",
1798.45 s
[opt-env-conf-test] functionChunk "withConfig",
1798.45 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1798.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1798.45 s
[opt-env-conf-test] @@ -208,11 +208,10 @@
1798.45 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1798.45 s
[opt-env-conf-test] ]
1798.45 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1798.45 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1798.45 s
[opt-env-conf-test] " or ",
1798.45 s
[opt-env-conf-test] functionChunk "name",
1798.45 s
[opt-env-conf-test] " was called with no way to load configuration."
1798.45 s
[opt-env-conf-test] ],
1798.45 s
[opt-env-conf-test] [ "You can load configuration with ",
1798.45 s
[opt-env-conf-test] functionChunk "withConfig",
1798.45 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1798.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1798.45 s
[opt-env-conf-test] @@ -208,11 +208,10 @@
1798.45 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1798.45 s
[opt-env-conf-test] ]
1798.45 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1798.45 s
[opt-env-conf-test] [ [ functionChunk "conf",
1798.45 s
[opt-env-conf-test] " or ",
1798.45 s
[opt-env-conf-test] functionChunk "name",
1798.45 s
[opt-env-conf-test] - " was called with no way to load configuration."
1798.45 s
[opt-env-conf-test] ],
1798.45 s
[opt-env-conf-test] [ "You can load configuration with ",
1798.45 s
[opt-env-conf-test] functionChunk "withConfig",
1798.45 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1798.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1798.45 s
[opt-env-conf-test] @@ -213,12 +213,7 @@
1798.45 s
[opt-env-conf-test] functionChunk "name",
1798.45 s
[opt-env-conf-test] " was called with no way to load configuration."
1798.45 s
[opt-env-conf-test] ],
1798.45 s
[opt-env-conf-test] - [ "You can load configuration with ",
1798.45 s
[opt-env-conf-test] - functionChunk "withConfig",
1798.45 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1798.45 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1798.45 s
[opt-env-conf-test] - "."
1798.45 s
[opt-env-conf-test] ]
1798.45 s
[opt-env-conf-test] ]
1798.45 s
[opt-env-conf-test] LintErrorManyInfinite ->
1798.46 s
[opt-env-conf-test] [ [ functionChunk "many",
1798.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1798.46 s
[opt-env-conf-test] @@ -213,12 +213,11 @@
1798.46 s
[opt-env-conf-test] functionChunk "name",
1798.46 s
[opt-env-conf-test] " was called with no way to load configuration."
1798.46 s
[opt-env-conf-test] ],
1798.46 s
[opt-env-conf-test] - [ "You can load configuration with ",
1798.46 s
[opt-env-conf-test] functionChunk "withConfig",
1798.46 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1798.46 s
[opt-env-conf-test] functionChunk "withoutConfig",
1798.46 s
[opt-env-conf-test] "."
1798.46 s
[opt-env-conf-test] ]
1798.46 s
[opt-env-conf-test] ]
1798.46 s
[opt-env-conf-test] LintErrorManyInfinite ->
1798.46 s
[opt-env-conf-test] [ [ functionChunk "many",
1798.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1798.46 s
[opt-env-conf-test] @@ -213,12 +213,11 @@
1798.46 s
[opt-env-conf-test] functionChunk "name",
1798.46 s
[opt-env-conf-test] " was called with no way to load configuration."
1798.46 s
[opt-env-conf-test] ],
1798.46 s
[opt-env-conf-test] [ "You can load configuration with ",
1798.46 s
[opt-env-conf-test] functionChunk "withConfig",
1798.46 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1798.46 s
[opt-env-conf-test] functionChunk "withoutConfig",
1798.46 s
[opt-env-conf-test] - "."
1798.46 s
[opt-env-conf-test] ]
1798.46 s
[opt-env-conf-test] ]
1798.46 s
[opt-env-conf-test] LintErrorManyInfinite ->
1798.46 s
[opt-env-conf-test] [ [ functionChunk "many",
1798.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
1798.46 s
[opt-env-conf-test] @@ -208,18 +208,7 @@
1798.46 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1798.46 s
[opt-env-conf-test] ]
1798.46 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1798.46 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1798.46 s
[opt-env-conf-test] - " or ",
1798.46 s
[opt-env-conf-test] - functionChunk "name",
1798.46 s
[opt-env-conf-test] - " was called with no way to load configuration."
1798.46 s
[opt-env-conf-test] - ],
1798.46 s
[opt-env-conf-test] - [ "You can load configuration with ",
1798.46 s
[opt-env-conf-test] - functionChunk "withConfig",
1798.46 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1798.46 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1798.46 s
[opt-env-conf-test] - "."
1798.46 s
[opt-env-conf-test] - ]
1798.46 s
[opt-env-conf-test] ]
1798.46 s
[opt-env-conf-test] LintErrorManyInfinite ->
1798.46 s
[opt-env-conf-test] [ [ functionChunk "many",
1798.46 s
[opt-env-conf-test] " or ",
1798.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
1798.46 s
[opt-env-conf-test] @@ -208,18 +208,13 @@
1798.46 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1798.46 s
[opt-env-conf-test] ]
1798.46 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1798.46 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1798.46 s
[opt-env-conf-test] - " or ",
1798.46 s
[opt-env-conf-test] - functionChunk "name",
1798.47 s
[opt-env-conf-test] - " was called with no way to load configuration."
1798.47 s
[opt-env-conf-test] - ],
1798.47 s
[opt-env-conf-test] [ "You can load configuration with ",
1798.47 s
[opt-env-conf-test] functionChunk "withConfig",
1798.47 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1798.47 s
[opt-env-conf-test] functionChunk "withoutConfig",
1798.47 s
[opt-env-conf-test] "."
1798.47 s
[opt-env-conf-test] ]
1798.47 s
[opt-env-conf-test] ]
1798.47 s
[opt-env-conf-test] LintErrorManyInfinite ->
1798.47 s
[opt-env-conf-test] [ [ functionChunk "many",
1798.47 s
[opt-env-conf-test] " or ",
1798.47 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1798.47 s
[opt-env-conf-test] @@ -221,11 +221,7 @@
1798.47 s
[opt-env-conf-test] ]
1798.47 s
[opt-env-conf-test] ]
1798.47 s
[opt-env-conf-test] LintErrorManyInfinite ->
1798.47 s
[opt-env-conf-test] - [ [ functionChunk "many",
1798.47 s
[opt-env-conf-test] - " or ",
1798.47 s
[opt-env-conf-test] - functionChunk "some",
1798.47 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1798.47 s
[opt-env-conf-test] ],
1798.47 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1798.47 s
[opt-env-conf-test] ],
1798.47 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1798.47 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1798.47 s
[opt-env-conf-test] @@ -221,11 +221,10 @@
1798.47 s
[opt-env-conf-test] ]
1798.47 s
[opt-env-conf-test] ]
1798.47 s
[opt-env-conf-test] LintErrorManyInfinite ->
1798.47 s
[opt-env-conf-test] - [ [ functionChunk "many",
1798.47 s
[opt-env-conf-test] " or ",
1798.47 s
[opt-env-conf-test] functionChunk "some",
1803.84 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1803.84 s
[opt-env-conf-test] ],
1803.87 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1803.87 s
[opt-env-conf-test] ],
1803.87 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1803.87 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:21-62
1803.87 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1803.87 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1803.87 s
[opt-env-conf-test] else do
1803.87 s
[opt-env-conf-test] for_ mDefault $ \d ->
1803.87 s
[opt-env-conf-test] - whe n (isNothing (find ((== d) . commandArg) cs)) $
1803.87 s
[opt-env-conf-test] + whe n ( n ot (isNothing (find ((== d) . commandArg) cs)) ) $
1803.87 s
[opt-env-conf-test] validationTFailure $
1803.87 s
[opt-env-conf-test] LintError mLoc $
1803.87 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1803.87 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-18
1803.87 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1803.88 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1803.88 s
[opt-env-conf-test] c1 <- go p1
1803.88 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1803.88 s
[opt-env-conf-test] - pure $ c1 || c2
1803.88 s
[opt-env-conf-test] + pure $ n o t ( c1 ) || c2
1803.88 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1803.88 s
[opt-env-conf-test] case settingHelp of
1803.88 s
[opt-env-conf-test] Nothing ->
1803.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
1803.88 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1803.88 s
[opt-env-conf-test] when (not c) $
1803.88 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1803.88 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1803.88 s
[opt-env-conf-test] - pure c
1803.88 s
[opt-env-conf-test] + pure F a lse
1803.88 s
[opt-env-conf-test] ParserSome mLoc p -> do
1803.88 s
[opt-env-conf-test] c <- go p
1803.88 s
[opt-env-conf-test] when (not c) $
1803.88 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Lint.hs:278:16-53
1803.88 s
[opt-env-conf-test] @@ -275,13 +275,8 @@
1803.88 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1803.88 s
[opt-env-conf-test] if null cs
1803.88 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1803.88 s
[opt-env-conf-test] else do
1803.88 s
[opt-env-conf-test] - for_ mDefault $ \d ->
1803.88 s
[opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
1803.88 s
[opt-env-conf-test] - validationTFailure $
1803.88 s
[opt-env-conf-test] - LintError mLoc $
1803.88 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand d
1803.88 s
[opt-env-conf-test] and <$> traverse (go . commandParser) cs -- TODO is this right?
1803.88 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1803.88 s
[opt-env-conf-test] c1 <- go p1
1803.88 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1803.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:21-62
1803.88 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1803.88 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1803.88 s
[opt-env-conf-test] else do
1803.88 s
[opt-env-conf-test] for_ mDefault $ \d ->
1803.88 s
[opt-env-conf-test] - whe n ( isN othin g ( fi n d ( ( = = d) . comman dA r g ) c s ) ) $
1803.88 s
[opt-env-conf-test] + whe n ( T r ue ) $
1803.88 s
[opt-env-conf-test] validationTFailure $
1803.88 s
[opt-env-conf-test] LintError mLoc $
1803.88 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1803.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1803.88 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1803.88 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1803.88 s
[opt-env-conf-test] c1 <- go p1
1803.88 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1803.88 s
[opt-env-conf-test] - pure $ c1 || c 2
1803.88 s
[opt-env-conf-test] + pure $ c1 || T rue
1803.88 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1803.88 s
[opt-env-conf-test] case settingHelp of
1803.88 s
[opt-env-conf-test] Nothing ->
1803.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:272:14-15
1803.89 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1803.89 s
[opt-env-conf-test] when (not c) $
1803.89 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1803.89 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1803.89 s
[opt-env-conf-test] - pure c
1803.89 s
[opt-env-conf-test] + pure n o t ( c )
1803.89 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1803.89 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1803.89 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1803.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:276:12-19
1803.89 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1803.89 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1803.89 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1803.89 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1803.89 s
[opt-env-conf-test] - if null cs
1803.89 s
[opt-env-conf-test] + if n o t ( null cs )
1803.89 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1803.89 s
[opt-env-conf-test] else do
1803.89 s
[opt-env-conf-test] for_ mDefault $ \d ->
1803.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
1803.89 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1803.89 s
[opt-env-conf-test] when (not c) $
1803.89 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1803.89 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1803.89 s
[opt-env-conf-test] - pure c
1803.89 s
[opt-env-conf-test] + pure T r u e
1803.89 s
[opt-env-conf-test] ParserSome mLoc p -> do
1803.89 s
[opt-env-conf-test] c <- go p
1803.89 s
[opt-env-conf-test] when (not c) $
1803.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1803.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1803.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1803.89 s
[opt-env-conf-test] c1 <- go p1
1803.89 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1803.89 s
[opt-env-conf-test] - pure $ c 1 || c2
1803.89 s
[opt-env-conf-test] + pure $ T ru e || c2
1803.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1803.89 s
[opt-env-conf-test] case settingHelp of
1803.89 s
[opt-env-conf-test] Nothing ->
1803.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:20-63
1803.89 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1803.89 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1803.89 s
[opt-env-conf-test] else do
1803.89 s
[opt-env-conf-test] for_ mDefault $ \d ->
1803.89 s
[opt-env-conf-test] - whe n ( isNothing (find ((== d) . commandArg) cs)) $
1803.89 s
[opt-env-conf-test] + whe n n o t ( ( isNothing (find ((== d) . commandArg) cs)) ) $
1803.89 s
[opt-env-conf-test] validationTFailure $
1803.89 s
[opt-env-conf-test] LintError mLoc $
1803.89 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1803.89 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:259:15-23
1803.89 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1803.89 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1803.89 s
[opt-env-conf-test] c1 <- go p1
1803.89 s
[opt-env-conf-test] c2 <- go p2
1803.89 s
[opt-env-conf-test] - pure (c1 & & c2) -- TODO: is this right?
1803.89 s
[opt-env-conf-test] + pure (c1 | | c2) -- TODO: is this right?
1803.89 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1803.89 s
[opt-env-conf-test] ParserMany mLoc p -> do
1803.89 s
[opt-env-conf-test] c <- go p
1803.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
1803.89 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1803.89 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1803.89 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1803.89 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1803.89 s
[opt-env-conf-test] - if n u l l cs
1803.89 s
[opt-env-conf-test] + if T r u e
1803.89 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1803.89 s
[opt-env-conf-test] else do
1803.89 s
[opt-env-conf-test] for_ mDefault $ \d ->
1803.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1803.89 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1803.89 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1803.89 s
[opt-env-conf-test] c1 <- go p1
1803.89 s
[opt-env-conf-test] c2 <- go p2
1803.89 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
1803.89 s
[opt-env-conf-test] + pure ( F a ls e ) -- TODO: is this right?
1803.89 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1803.89 s
[opt-env-conf-test] ParserMany mLoc p -> do
1803.89 s
[opt-env-conf-test] c <- go p
1803.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1803.89 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1803.89 s
[opt-env-conf-test] renderLintError LintError {..} =
1803.89 s
[opt-env-conf-test] concat
1803.90 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1803.90 s
[opt-env-conf-test] case lintErrorMessage of
1803.90 s
[opt-env-conf-test] LintErrorUndocumented ->
1803.90 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1803.90 s
[opt-env-conf-test] LintErrorEmptySetting ->
1803.90 s
[opt-env-conf-test] concat
1803.90 s
[opt-env-conf-test] [ [ [ "This ",
1803.90 s
[opt-env-conf-test] functionChunk "setting",
1803.90 s
[opt-env-conf-test] " parses nothing."
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] ],
1803.90 s
[opt-env-conf-test] [ [ "Add an ",
1803.90 s
[opt-env-conf-test] functionChunk "argument",
1803.90 s
[opt-env-conf-test] ", ",
1803.90 s
[opt-env-conf-test] functionChunk "switch",
1803.90 s
[opt-env-conf-test] ", ",
1803.90 s
[opt-env-conf-test] functionChunk "option",
1803.90 s
[opt-env-conf-test] ", ",
1803.90 s
[opt-env-conf-test] functionChunk "env",
1803.90 s
[opt-env-conf-test] ", ",
1803.90 s
[opt-env-conf-test] functionChunk "conf",
1803.90 s
[opt-env-conf-test] ", or ",
1803.90 s
[opt-env-conf-test] functionChunk "value",
1803.90 s
[opt-env-conf-test] "."
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] LintErrorDashInShort ->
1803.90 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1803.90 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] LintErrorDashInLong s ->
1803.90 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1803.90 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1803.90 s
[opt-env-conf-test] [ "Try ",
1803.90 s
[opt-env-conf-test] functionChunk "long",
1803.90 s
[opt-env-conf-test] " ",
1803.90 s
[opt-env-conf-test] chunk $
1803.90 s
[opt-env-conf-test] T.pack $
1803.90 s
[opt-env-conf-test] show $
1803.90 s
[opt-env-conf-test] let go = \case
1803.90 s
[opt-env-conf-test] [] -> []
1803.90 s
[opt-env-conf-test] '-' : cs -> go cs
1803.90 s
[opt-env-conf-test] c : cs -> c : cs
1803.90 s
[opt-env-conf-test] in go $ NE.toList s,
1803.90 s
[opt-env-conf-test] " instead."
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1803.90 s
[opt-env-conf-test] [ [ functionChunk "argument",
1803.90 s
[opt-env-conf-test] " has no ",
1803.90 s
[opt-env-conf-test] functionChunk "reader",
1803.90 s
[opt-env-conf-test] "."
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1803.90 s
[opt-env-conf-test] [ [ functionChunk "argument",
1803.90 s
[opt-env-conf-test] " has no ",
1803.90 s
[opt-env-conf-test] functionChunk "metavar",
1803.90 s
[opt-env-conf-test] "."
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1803.90 s
[opt-env-conf-test] [ [ functionChunk "option",
1803.90 s
[opt-env-conf-test] " or ",
1803.90 s
[opt-env-conf-test] functionChunk "name",
1803.90 s
[opt-env-conf-test] " has no ",
1803.90 s
[opt-env-conf-test] functionChunk "reader",
1803.90 s
[opt-env-conf-test] "."
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1803.90 s
[opt-env-conf-test] [ [ functionChunk "option",
1803.90 s
[opt-env-conf-test] " has no ",
1803.90 s
[opt-env-conf-test] functionChunk "long",
1803.90 s
[opt-env-conf-test] " or ",
1803.90 s
[opt-env-conf-test] functionChunk "short",
1803.90 s
[opt-env-conf-test] "."
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1803.90 s
[opt-env-conf-test] [ [ functionChunk "option",
1803.90 s
[opt-env-conf-test] " or ",
1803.90 s
[opt-env-conf-test] functionChunk "name",
1803.90 s
[opt-env-conf-test] " has no ",
1803.90 s
[opt-env-conf-test] functionChunk "metavar",
1803.90 s
[opt-env-conf-test] "."
1803.90 s
[opt-env-conf-test] ]
1803.90 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1803.91 s
[opt-env-conf-test] [ [ functionChunk "switch",
1803.91 s
[opt-env-conf-test] " has no ",
1803.91 s
[opt-env-conf-test] functionChunk "long",
1803.91 s
[opt-env-conf-test] " or ",
1803.91 s
[opt-env-conf-test] functionChunk "short",
1803.91 s
[opt-env-conf-test] "."
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1803.91 s
[opt-env-conf-test] [ [ functionChunk "long",
1803.91 s
[opt-env-conf-test] " or ",
1803.91 s
[opt-env-conf-test] functionChunk "short",
1803.91 s
[opt-env-conf-test] " has no ",
1803.91 s
[opt-env-conf-test] functionChunk "option",
1803.91 s
[opt-env-conf-test] " or ",
1803.91 s
[opt-env-conf-test] functionChunk "switch",
1803.91 s
[opt-env-conf-test] "."
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
1803.91 s
[opt-env-conf-test] - [ [ functionChunk "env",
1803.91 s
[opt-env-conf-test] - " or ",
1803.91 s
[opt-env-conf-test] - functionChunk "name",
1803.91 s
[opt-env-conf-test] - " has no ",
1803.91 s
[opt-env-conf-test] - functionChunk "reader",
1803.91 s
[opt-env-conf-test] - "."
1803.91 s
[opt-env-conf-test] - ]
1803.91 s
[opt-env-conf-test] - ]
1803.91 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1803.91 s
[opt-env-conf-test] [ [ functionChunk "env",
1803.91 s
[opt-env-conf-test] " or ",
1803.91 s
[opt-env-conf-test] functionChunk "name",
1803.91 s
[opt-env-conf-test] " has no ",
1803.91 s
[opt-env-conf-test] functionChunk "metavar",
1803.91 s
[opt-env-conf-test] "."
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] LintErrorNoCommands ->
1803.91 s
[opt-env-conf-test] [ [ functionChunk "commands",
1803.91 s
[opt-env-conf-test] " was called with an empty list."
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1803.91 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1803.91 s
[opt-env-conf-test] " was called with an unknown command: ",
1803.91 s
[opt-env-conf-test] commandChunk c
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1803.91 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1803.91 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1803.91 s
[opt-env-conf-test] [ [ functionChunk "conf",
1803.91 s
[opt-env-conf-test] " or ",
1803.91 s
[opt-env-conf-test] functionChunk "name",
1803.91 s
[opt-env-conf-test] " was called with no way to load configuration."
1803.91 s
[opt-env-conf-test] ],
1803.91 s
[opt-env-conf-test] [ "You can load configuration with ",
1803.91 s
[opt-env-conf-test] functionChunk "withConfig",
1803.91 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1803.91 s
[opt-env-conf-test] functionChunk "withoutConfig",
1803.91 s
[opt-env-conf-test] "."
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] LintErrorManyInfinite ->
1803.91 s
[opt-env-conf-test] [ [ functionChunk "many",
1803.91 s
[opt-env-conf-test] " or ",
1803.91 s
[opt-env-conf-test] functionChunk "some",
1803.91 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1803.91 s
[opt-env-conf-test] ],
1803.91 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1803.91 s
[opt-env-conf-test] ],
1803.91 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test]
1803.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1803.91 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1803.91 s
[opt-env-conf-test] renderLintError LintError {..} =
1803.91 s
[opt-env-conf-test] concat
1803.91 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1803.91 s
[opt-env-conf-test] case lintErrorMessage of
1803.91 s
[opt-env-conf-test] LintErrorUndocumented ->
1803.91 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1803.91 s
[opt-env-conf-test] LintErrorEmptySetting ->
1803.91 s
[opt-env-conf-test] concat
1803.91 s
[opt-env-conf-test] [ [ [ "This ",
1803.91 s
[opt-env-conf-test] functionChunk "setting",
1803.91 s
[opt-env-conf-test] " parses nothing."
1803.91 s
[opt-env-conf-test] ]
1803.91 s
[opt-env-conf-test] ],
1803.91 s
[opt-env-conf-test] [ [ "Add an ",
1803.91 s
[opt-env-conf-test] functionChunk "argument",
1803.91 s
[opt-env-conf-test] ", ",
1803.92 s
[opt-env-conf-test] functionChunk "switch",
1803.92 s
[opt-env-conf-test] ", ",
1803.92 s
[opt-env-conf-test] functionChunk "option",
1803.92 s
[opt-env-conf-test] ", ",
1803.92 s
[opt-env-conf-test] functionChunk "env",
1803.92 s
[opt-env-conf-test] ", ",
1803.92 s
[opt-env-conf-test] functionChunk "conf",
1803.92 s
[opt-env-conf-test] ", or ",
1803.92 s
[opt-env-conf-test] functionChunk "value",
1803.92 s
[opt-env-conf-test] "."
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] LintErrorDashInShort ->
1803.92 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1803.92 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] LintErrorDashInLong s ->
1803.92 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1803.92 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1803.92 s
[opt-env-conf-test] [ "Try ",
1803.92 s
[opt-env-conf-test] functionChunk "long",
1803.92 s
[opt-env-conf-test] " ",
1803.92 s
[opt-env-conf-test] chunk $
1803.92 s
[opt-env-conf-test] T.pack $
1803.92 s
[opt-env-conf-test] show $
1803.92 s
[opt-env-conf-test] let go = \case
1803.92 s
[opt-env-conf-test] [] -> []
1803.92 s
[opt-env-conf-test] '-' : cs -> go cs
1803.92 s
[opt-env-conf-test] c : cs -> c : cs
1803.92 s
[opt-env-conf-test] in go $ NE.toList s,
1803.92 s
[opt-env-conf-test] " instead."
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1803.92 s
[opt-env-conf-test] [ [ functionChunk "argument",
1803.92 s
[opt-env-conf-test] " has no ",
1803.92 s
[opt-env-conf-test] functionChunk "reader",
1803.92 s
[opt-env-conf-test] "."
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1803.92 s
[opt-env-conf-test] [ [ functionChunk "argument",
1803.92 s
[opt-env-conf-test] " has no ",
1803.92 s
[opt-env-conf-test] functionChunk "metavar",
1803.92 s
[opt-env-conf-test] "."
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1803.92 s
[opt-env-conf-test] [ [ functionChunk "option",
1803.92 s
[opt-env-conf-test] " or ",
1803.92 s
[opt-env-conf-test] functionChunk "name",
1803.92 s
[opt-env-conf-test] " has no ",
1803.92 s
[opt-env-conf-test] functionChunk "reader",
1803.92 s
[opt-env-conf-test] "."
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1803.92 s
[opt-env-conf-test] [ [ functionChunk "option",
1803.92 s
[opt-env-conf-test] " has no ",
1803.92 s
[opt-env-conf-test] functionChunk "long",
1803.92 s
[opt-env-conf-test] " or ",
1803.92 s
[opt-env-conf-test] functionChunk "short",
1803.92 s
[opt-env-conf-test] "."
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1803.92 s
[opt-env-conf-test] [ [ functionChunk "option",
1803.92 s
[opt-env-conf-test] " or ",
1803.92 s
[opt-env-conf-test] functionChunk "name",
1803.92 s
[opt-env-conf-test] " has no ",
1803.92 s
[opt-env-conf-test] functionChunk "metavar",
1803.92 s
[opt-env-conf-test] "."
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1803.92 s
[opt-env-conf-test] [ [ functionChunk "switch",
1803.92 s
[opt-env-conf-test] " has no ",
1803.92 s
[opt-env-conf-test] functionChunk "long",
1803.92 s
[opt-env-conf-test] " or ",
1803.92 s
[opt-env-conf-test] functionChunk "short",
1803.92 s
[opt-env-conf-test] "."
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] ]
1803.92 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1803.92 s
[opt-env-conf-test] [ [ functionChunk "long",
1803.92 s
[opt-env-conf-test] " or ",
1803.92 s
[opt-env-conf-test] functionChunk "short",
1803.92 s
[opt-env-conf-test] " has no ",
1803.92 s
[opt-env-conf-test] functionChunk "option",
1803.92 s
[opt-env-conf-test] " or ",
1803.93 s
[opt-env-conf-test] functionChunk "switch",
1803.93 s
[opt-env-conf-test] "."
1803.93 s
[opt-env-conf-test] ]
1803.93 s
[opt-env-conf-test] ]
1803.93 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1803.93 s
[opt-env-conf-test] [ [ functionChunk "env",
1803.93 s
[opt-env-conf-test] " or ",
1803.93 s
[opt-env-conf-test] functionChunk "name",
1803.93 s
[opt-env-conf-test] " has no ",
1803.93 s
[opt-env-conf-test] functionChunk "reader",
1803.93 s
[opt-env-conf-test] "."
1803.93 s
[opt-env-conf-test] ]
1803.93 s
[opt-env-conf-test] ]
1803.93 s
[opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
1803.93 s
[opt-env-conf-test] - [ [ functionChunk "env",
1803.93 s
[opt-env-conf-test] - " or ",
1803.93 s
[opt-env-conf-test] - functionChunk "name",
1803.93 s
[opt-env-conf-test] - " has no ",
1803.93 s
[opt-env-conf-test] - functionChunk "metavar",
1803.93 s
[opt-env-conf-test] - "."
1803.93 s
[opt-env-conf-test] - ]
1803.93 s
[opt-env-conf-test] - ]
1803.93 s
[opt-env-conf-test] LintErrorNoCommands ->
1804.17 s
[opt-env-conf-test] [ [ functionChunk "commands",
1804.17 s
[opt-env-conf-test] " was called with an empty list."
1804.17 s
[opt-env-conf-test] ]
1804.17 s
[opt-env-conf-test] ]
1804.17 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1804.17 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1804.17 s
[opt-env-conf-test] " was called with an unknown command: ",
1804.17 s
[opt-env-conf-test] commandChunk c
1804.17 s
[opt-env-conf-test] ]
1804.17 s
[opt-env-conf-test] ]
1804.17 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1804.17 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1804.17 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1804.17 s
[opt-env-conf-test] ]
1804.17 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1804.17 s
[opt-env-conf-test] [ [ functionChunk "conf",
1804.17 s
[opt-env-conf-test] " or ",
1804.17 s
[opt-env-conf-test] functionChunk "name",
1804.17 s
[opt-env-conf-test] " was called with no way to load configuration."
1804.17 s
[opt-env-conf-test] ],
1804.17 s
[opt-env-conf-test] [ "You can load configuration with ",
1804.17 s
[opt-env-conf-test] functionChunk "withConfig",
1804.17 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1804.17 s
[opt-env-conf-test] functionChunk "withoutConfig",
1804.17 s
[opt-env-conf-test] "."
1804.17 s
[opt-env-conf-test] ]
1804.17 s
[opt-env-conf-test] ]
1804.18 s
[opt-env-conf-test] LintErrorManyInfinite ->
1804.18 s
[opt-env-conf-test] [ [ functionChunk "many",
1804.18 s
[opt-env-conf-test] " or ",
1804.18 s
[opt-env-conf-test] functionChunk "some",
1804.18 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1804.18 s
[opt-env-conf-test] ],
1804.18 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1804.18 s
[opt-env-conf-test] ],
1804.18 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1804.18 s
[opt-env-conf-test] ]
1804.18 s
[opt-env-conf-test]
1804.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1804.18 s
[opt-env-conf-test] @@ -66,168 +66,163 @@
1804.18 s
[opt-env-conf-test] renderLintError LintError {..} =
1804.18 s
[opt-env-conf-test] concat
1804.18 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1804.18 s
[opt-env-conf-test] case lintErrorMessage of
1804.18 s
[opt-env-conf-test] LintErrorUndocumented ->
1804.18 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1804.18 s
[opt-env-conf-test] LintErrorEmptySetting ->
1804.18 s
[opt-env-conf-test] concat
1804.18 s
[opt-env-conf-test] [ [ [ "This ",
1804.18 s
[opt-env-conf-test] functionChunk "setting",
1804.18 s
[opt-env-conf-test] " parses nothing."
1804.18 s
[opt-env-conf-test] ]
1804.18 s
[opt-env-conf-test] ],
1804.18 s
[opt-env-conf-test] [ [ "Add an ",
1804.18 s
[opt-env-conf-test] functionChunk "argument",
1804.18 s
[opt-env-conf-test] ", ",
1804.18 s
[opt-env-conf-test] functionChunk "switch",
1804.18 s
[opt-env-conf-test] ", ",
1804.18 s
[opt-env-conf-test] functionChunk "option",
1804.18 s
[opt-env-conf-test] ", ",
1804.18 s
[opt-env-conf-test] functionChunk "env",
1804.18 s
[opt-env-conf-test] ", ",
1804.18 s
[opt-env-conf-test] functionChunk "conf",
1804.18 s
[opt-env-conf-test] ", or ",
1804.18 s
[opt-env-conf-test] functionChunk "value",
1804.18 s
[opt-env-conf-test] "."
1804.18 s
[opt-env-conf-test] ]
1804.18 s
[opt-env-conf-test] ]
1804.18 s
[opt-env-conf-test] ]
1804.18 s
[opt-env-conf-test] LintErrorDashInShort ->
1804.18 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1804.18 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1804.18 s
[opt-env-conf-test] ]
1804.18 s
[opt-env-conf-test] LintErrorDashInLong s ->
1804.18 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1804.18 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1804.18 s
[opt-env-conf-test] [ "Try ",
1804.18 s
[opt-env-conf-test] functionChunk "long",
1804.18 s
[opt-env-conf-test] " ",
1804.18 s
[opt-env-conf-test] chunk $
1804.18 s
[opt-env-conf-test] T.pack $
1804.18 s
[opt-env-conf-test] show $
1804.18 s
[opt-env-conf-test] let go = \case
1804.18 s
[opt-env-conf-test] [] -> []
1804.18 s
[opt-env-conf-test] '-' : cs -> go cs
1804.18 s
[opt-env-conf-test] c : cs -> c : cs
1804.18 s
[opt-env-conf-test] in go $ NE.toList s,
1804.18 s
[opt-env-conf-test] " instead."
1804.18 s
[opt-env-conf-test] ]
1804.18 s
[opt-env-conf-test] ]
1804.18 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1804.18 s
[opt-env-conf-test] [ [ functionChunk "argument",
1804.18 s
[opt-env-conf-test] " has no ",
1804.18 s
[opt-env-conf-test] functionChunk "reader",
1804.18 s
[opt-env-conf-test] "."
1804.18 s
[opt-env-conf-test] ]
1804.18 s
[opt-env-conf-test] ]
1804.18 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1804.18 s
[opt-env-conf-test] [ [ functionChunk "argument",
1804.18 s
[opt-env-conf-test] " has no ",
1804.18 s
[opt-env-conf-test] functionChunk "metavar",
1804.18 s
[opt-env-conf-test] "."
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1804.19 s
[opt-env-conf-test] [ [ functionChunk "option",
1804.19 s
[opt-env-conf-test] " or ",
1804.19 s
[opt-env-conf-test] functionChunk "name",
1804.19 s
[opt-env-conf-test] " has no ",
1804.19 s
[opt-env-conf-test] functionChunk "reader",
1804.19 s
[opt-env-conf-test] "."
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1804.19 s
[opt-env-conf-test] [ [ functionChunk "option",
1804.19 s
[opt-env-conf-test] " has no ",
1804.19 s
[opt-env-conf-test] functionChunk "long",
1804.19 s
[opt-env-conf-test] " or ",
1804.19 s
[opt-env-conf-test] functionChunk "short",
1804.19 s
[opt-env-conf-test] "."
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1804.19 s
[opt-env-conf-test] [ [ functionChunk "option",
1804.19 s
[opt-env-conf-test] " or ",
1804.19 s
[opt-env-conf-test] functionChunk "name",
1804.19 s
[opt-env-conf-test] " has no ",
1804.19 s
[opt-env-conf-test] functionChunk "metavar",
1804.19 s
[opt-env-conf-test] "."
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1804.19 s
[opt-env-conf-test] [ [ functionChunk "switch",
1804.19 s
[opt-env-conf-test] " has no ",
1804.19 s
[opt-env-conf-test] functionChunk "long",
1804.19 s
[opt-env-conf-test] " or ",
1804.19 s
[opt-env-conf-test] functionChunk "short",
1804.19 s
[opt-env-conf-test] "."
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1804.19 s
[opt-env-conf-test] [ [ functionChunk "long",
1804.19 s
[opt-env-conf-test] " or ",
1804.19 s
[opt-env-conf-test] functionChunk "short",
1804.19 s
[opt-env-conf-test] " has no ",
1804.19 s
[opt-env-conf-test] functionChunk "option",
1804.19 s
[opt-env-conf-test] " or ",
1804.19 s
[opt-env-conf-test] functionChunk "switch",
1804.19 s
[opt-env-conf-test] "."
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1804.19 s
[opt-env-conf-test] [ [ functionChunk "env",
1804.19 s
[opt-env-conf-test] " or ",
1804.19 s
[opt-env-conf-test] functionChunk "name",
1804.19 s
[opt-env-conf-test] " has no ",
1804.19 s
[opt-env-conf-test] functionChunk "reader",
1804.19 s
[opt-env-conf-test] "."
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1804.19 s
[opt-env-conf-test] [ [ functionChunk "env",
1804.19 s
[opt-env-conf-test] " or ",
1804.19 s
[opt-env-conf-test] functionChunk "name",
1804.19 s
[opt-env-conf-test] " has no ",
1804.19 s
[opt-env-conf-test] functionChunk "metavar",
1804.19 s
[opt-env-conf-test] "."
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] ]
1804.19 s
[opt-env-conf-test] - LintErrorNoCommands ->
1804.19 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1804.44 s
[opt-env-conf-test] - " was called with an empty list."
1804.44 s
[opt-env-conf-test] - ]
1804.44 s
[opt-env-conf-test] - ]
1804.44 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1804.44 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1804.44 s
[opt-env-conf-test] " was called with an unknown command: ",
1804.44 s
[opt-env-conf-test] commandChunk c
1804.44 s
[opt-env-conf-test] ]
1804.44 s
[opt-env-conf-test] ]
1804.44 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1804.44 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1804.45 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1804.45 s
[opt-env-conf-test] ]
1804.45 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1804.45 s
[opt-env-conf-test] [ [ functionChunk "conf",
1804.45 s
[opt-env-conf-test] " or ",
1804.45 s
[opt-env-conf-test] functionChunk "name",
1804.45 s
[opt-env-conf-test] " was called with no way to load configuration."
1804.45 s
[opt-env-conf-test] ],
1804.45 s
[opt-env-conf-test] [ "You can load configuration with ",
1804.45 s
[opt-env-conf-test] functionChunk "withConfig",
1804.45 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1804.45 s
[opt-env-conf-test] functionChunk "withoutConfig",
1804.45 s
[opt-env-conf-test] "."
1804.45 s
[opt-env-conf-test] ]
1804.45 s
[opt-env-conf-test] ]
1804.45 s
[opt-env-conf-test] LintErrorManyInfinite ->
1804.45 s
[opt-env-conf-test] [ [ functionChunk "many",
1804.45 s
[opt-env-conf-test] " or ",
1804.45 s
[opt-env-conf-test] functionChunk "some",
1804.45 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1804.45 s
[opt-env-conf-test] ],
1804.45 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1804.45 s
[opt-env-conf-test] ],
1804.45 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1804.45 s
[opt-env-conf-test] ]
1804.45 s
[opt-env-conf-test]
1804.45 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1804.45 s
[opt-env-conf-test] @@ -66,168 +66,162 @@
1804.45 s
[opt-env-conf-test] renderLintError LintError {..} =
1804.45 s
[opt-env-conf-test] concat
1804.45 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1804.45 s
[opt-env-conf-test] case lintErrorMessage of
1804.45 s
[opt-env-conf-test] LintErrorUndocumented ->
1804.45 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1804.45 s
[opt-env-conf-test] LintErrorEmptySetting ->
1804.45 s
[opt-env-conf-test] concat
1804.45 s
[opt-env-conf-test] [ [ [ "This ",
1804.45 s
[opt-env-conf-test] functionChunk "setting",
1804.45 s
[opt-env-conf-test] " parses nothing."
1804.46 s
[opt-env-conf-test] ]
1804.46 s
[opt-env-conf-test] ],
1804.46 s
[opt-env-conf-test] [ [ "Add an ",
1804.46 s
[opt-env-conf-test] functionChunk "argument",
1804.46 s
[opt-env-conf-test] ", ",
1804.46 s
[opt-env-conf-test] functionChunk "switch",
1804.46 s
[opt-env-conf-test] ", ",
1804.46 s
[opt-env-conf-test] functionChunk "option",
1804.46 s
[opt-env-conf-test] ", ",
1804.46 s
[opt-env-conf-test] functionChunk "env",
1804.46 s
[opt-env-conf-test] ", ",
1804.46 s
[opt-env-conf-test] functionChunk "conf",
1804.46 s
[opt-env-conf-test] ", or ",
1804.46 s
[opt-env-conf-test] functionChunk "value",
1804.46 s
[opt-env-conf-test] "."
1804.46 s
[opt-env-conf-test] ]
1804.46 s
[opt-env-conf-test] ]
1804.46 s
[opt-env-conf-test] ]
1804.46 s
[opt-env-conf-test] LintErrorDashInShort ->
1804.46 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1804.46 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1804.46 s
[opt-env-conf-test] ]
1804.46 s
[opt-env-conf-test] LintErrorDashInLong s ->
1804.46 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1804.46 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1804.46 s
[opt-env-conf-test] [ "Try ",
1804.46 s
[opt-env-conf-test] functionChunk "long",
1804.46 s
[opt-env-conf-test] " ",
1804.46 s
[opt-env-conf-test] chunk $
1804.46 s
[opt-env-conf-test] T.pack $
1804.46 s
[opt-env-conf-test] show $
1804.46 s
[opt-env-conf-test] let go = \case
1804.46 s
[opt-env-conf-test] [] -> []
1804.46 s
[opt-env-conf-test] '-' : cs -> go cs
1804.46 s
[opt-env-conf-test] c : cs -> c : cs
1804.46 s
[opt-env-conf-test] in go $ NE.toList s,
1804.46 s
[opt-env-conf-test] " instead."
1804.46 s
[opt-env-conf-test] ]
1804.46 s
[opt-env-conf-test] ]
1804.46 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1804.46 s
[opt-env-conf-test] [ [ functionChunk "argument",
1804.46 s
[opt-env-conf-test] " has no ",
1804.46 s
[opt-env-conf-test] functionChunk "reader",
1804.46 s
[opt-env-conf-test] "."
1804.46 s
[opt-env-conf-test] ]
1804.46 s
[opt-env-conf-test] ]
1804.46 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1804.46 s
[opt-env-conf-test] [ [ functionChunk "argument",
1804.47 s
[opt-env-conf-test] " has no ",
1804.47 s
[opt-env-conf-test] functionChunk "metavar",
1804.47 s
[opt-env-conf-test] "."
1804.47 s
[opt-env-conf-test] ]
1804.47 s
[opt-env-conf-test] ]
1804.47 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1804.47 s
[opt-env-conf-test] [ [ functionChunk "option",
1804.47 s
[opt-env-conf-test] " or ",
1804.47 s
[opt-env-conf-test] functionChunk "name",
1804.47 s
[opt-env-conf-test] " has no ",
1804.47 s
[opt-env-conf-test] functionChunk "reader",
1804.47 s
[opt-env-conf-test] "."
1804.47 s
[opt-env-conf-test] ]
1804.47 s
[opt-env-conf-test] ]
1804.47 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1804.47 s
[opt-env-conf-test] [ [ functionChunk "option",
1804.47 s
[opt-env-conf-test] " has no ",
1804.47 s
[opt-env-conf-test] functionChunk "long",
1804.47 s
[opt-env-conf-test] " or ",
1804.47 s
[opt-env-conf-test] functionChunk "short",
1804.47 s
[opt-env-conf-test] "."
1804.47 s
[opt-env-conf-test] ]
1804.47 s
[opt-env-conf-test] ]
1804.47 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1804.47 s
[opt-env-conf-test] [ [ functionChunk "option",
1804.47 s
[opt-env-conf-test] " or ",
1804.47 s
[opt-env-conf-test] functionChunk "name",
1804.47 s
[opt-env-conf-test] " has no ",
1804.47 s
[opt-env-conf-test] functionChunk "metavar",
1804.47 s
[opt-env-conf-test] "."
1804.47 s
[opt-env-conf-test] ]
1804.47 s
[opt-env-conf-test] ]
1804.47 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1804.47 s
[opt-env-conf-test] [ [ functionChunk "switch",
1804.47 s
[opt-env-conf-test] " has no ",
1804.47 s
[opt-env-conf-test] functionChunk "long",
1804.47 s
[opt-env-conf-test] " or ",
1804.47 s
[opt-env-conf-test] functionChunk "short",
1804.47 s
[opt-env-conf-test] "."
1804.47 s
[opt-env-conf-test] ]
1804.47 s
[opt-env-conf-test] ]
1804.47 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1804.48 s
[opt-env-conf-test] [ [ functionChunk "long",
1804.48 s
[opt-env-conf-test] " or ",
1804.48 s
[opt-env-conf-test] functionChunk "short",
1804.48 s
[opt-env-conf-test] " has no ",
1804.48 s
[opt-env-conf-test] functionChunk "option",
1804.48 s
[opt-env-conf-test] " or ",
1804.48 s
[opt-env-conf-test] functionChunk "switch",
1804.48 s
[opt-env-conf-test] "."
1804.48 s
[opt-env-conf-test] ]
1804.48 s
[opt-env-conf-test] ]
1804.48 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1804.48 s
[opt-env-conf-test] [ [ functionChunk "env",
1804.48 s
[opt-env-conf-test] " or ",
1804.48 s
[opt-env-conf-test] functionChunk "name",
1804.48 s
[opt-env-conf-test] " has no ",
1804.48 s
[opt-env-conf-test] functionChunk "reader",
1804.48 s
[opt-env-conf-test] "."
1804.48 s
[opt-env-conf-test] ]
1804.48 s
[opt-env-conf-test] ]
1804.48 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1804.48 s
[opt-env-conf-test] [ [ functionChunk "env",
1804.48 s
[opt-env-conf-test] " or ",
1804.48 s
[opt-env-conf-test] functionChunk "name",
1804.48 s
[opt-env-conf-test] " has no ",
1804.48 s
[opt-env-conf-test] functionChunk "metavar",
1804.48 s
[opt-env-conf-test] "."
1804.48 s
[opt-env-conf-test] ]
1804.48 s
[opt-env-conf-test] ]
1804.48 s
[opt-env-conf-test] LintErrorNoCommands ->
1804.48 s
[opt-env-conf-test] [ [ functionChunk "commands",
1804.48 s
[opt-env-conf-test] " was called with an empty list."
1804.58 s
[opt-env-conf-test] - ]
1804.58 s
[opt-env-conf-test] - ]
1804.58 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
1804.59 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1804.59 s
[opt-env-conf-test] - " was called with an unknown command: ",
1804.59 s
[opt-env-conf-test] - commandChunk c
1804.59 s
[opt-env-conf-test] ]
1804.59 s
[opt-env-conf-test] ]
1804.59 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1804.59 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1804.59 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1804.59 s
[opt-env-conf-test] ]
1804.59 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1804.59 s
[opt-env-conf-test] [ [ functionChunk "conf",
1804.59 s
[opt-env-conf-test] " or ",
1804.59 s
[opt-env-conf-test] functionChunk "name",
1804.59 s
[opt-env-conf-test] " was called with no way to load configuration."
1804.59 s
[opt-env-conf-test] ],
1804.59 s
[opt-env-conf-test] [ "You can load configuration with ",
1804.59 s
[opt-env-conf-test] functionChunk "withConfig",
1804.59 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1804.59 s
[opt-env-conf-test] functionChunk "withoutConfig",
1804.59 s
[opt-env-conf-test] "."
1804.59 s
[opt-env-conf-test] ]
1804.59 s
[opt-env-conf-test] ]
1804.59 s
[opt-env-conf-test] LintErrorManyInfinite ->
1804.59 s
[opt-env-conf-test] [ [ functionChunk "many",
1804.59 s
[opt-env-conf-test] " or ",
1804.59 s
[opt-env-conf-test] functionChunk "some",
1804.59 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1804.59 s
[opt-env-conf-test] ],
1804.59 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1804.59 s
[opt-env-conf-test] ],
1804.59 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1804.59 s
[opt-env-conf-test] ]
1804.59 s
[opt-env-conf-test]
1804.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1804.59 s
[opt-env-conf-test] @@ -66,168 +66,164 @@
1804.59 s
[opt-env-conf-test] renderLintError LintError {..} =
1804.59 s
[opt-env-conf-test] concat
1804.59 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1804.59 s
[opt-env-conf-test] case lintErrorMessage of
1804.59 s
[opt-env-conf-test] LintErrorUndocumented ->
1804.59 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1804.59 s
[opt-env-conf-test] LintErrorEmptySetting ->
1804.59 s
[opt-env-conf-test] concat
1804.59 s
[opt-env-conf-test] [ [ [ "This ",
1804.59 s
[opt-env-conf-test] functionChunk "setting",
1804.60 s
[opt-env-conf-test] " parses nothing."
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] ],
1804.60 s
[opt-env-conf-test] [ [ "Add an ",
1804.60 s
[opt-env-conf-test] functionChunk "argument",
1804.60 s
[opt-env-conf-test] ", ",
1804.60 s
[opt-env-conf-test] functionChunk "switch",
1804.60 s
[opt-env-conf-test] ", ",
1804.60 s
[opt-env-conf-test] functionChunk "option",
1804.60 s
[opt-env-conf-test] ", ",
1804.60 s
[opt-env-conf-test] functionChunk "env",
1804.60 s
[opt-env-conf-test] ", ",
1804.60 s
[opt-env-conf-test] functionChunk "conf",
1804.60 s
[opt-env-conf-test] ", or ",
1804.60 s
[opt-env-conf-test] functionChunk "value",
1804.60 s
[opt-env-conf-test] "."
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] LintErrorDashInShort ->
1804.60 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1804.60 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] LintErrorDashInLong s ->
1804.60 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1804.60 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1804.60 s
[opt-env-conf-test] [ "Try ",
1804.60 s
[opt-env-conf-test] functionChunk "long",
1804.60 s
[opt-env-conf-test] " ",
1804.60 s
[opt-env-conf-test] chunk $
1804.60 s
[opt-env-conf-test] T.pack $
1804.60 s
[opt-env-conf-test] show $
1804.60 s
[opt-env-conf-test] let go = \case
1804.60 s
[opt-env-conf-test] [] -> []
1804.60 s
[opt-env-conf-test] '-' : cs -> go cs
1804.60 s
[opt-env-conf-test] c : cs -> c : cs
1804.60 s
[opt-env-conf-test] in go $ NE.toList s,
1804.60 s
[opt-env-conf-test] " instead."
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1804.60 s
[opt-env-conf-test] [ [ functionChunk "argument",
1804.60 s
[opt-env-conf-test] " has no ",
1804.60 s
[opt-env-conf-test] functionChunk "reader",
1804.60 s
[opt-env-conf-test] "."
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1804.60 s
[opt-env-conf-test] [ [ functionChunk "argument",
1804.60 s
[opt-env-conf-test] " has no ",
1804.60 s
[opt-env-conf-test] functionChunk "metavar",
1804.60 s
[opt-env-conf-test] "."
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1804.60 s
[opt-env-conf-test] [ [ functionChunk "option",
1804.60 s
[opt-env-conf-test] " or ",
1804.60 s
[opt-env-conf-test] functionChunk "name",
1804.60 s
[opt-env-conf-test] " has no ",
1804.60 s
[opt-env-conf-test] functionChunk "reader",
1804.60 s
[opt-env-conf-test] "."
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] ]
1804.60 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1804.61 s
[opt-env-conf-test] [ [ functionChunk "option",
1804.61 s
[opt-env-conf-test] " has no ",
1804.61 s
[opt-env-conf-test] functionChunk "long",
1804.61 s
[opt-env-conf-test] " or ",
1804.61 s
[opt-env-conf-test] functionChunk "short",
1804.61 s
[opt-env-conf-test] "."
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1804.61 s
[opt-env-conf-test] [ [ functionChunk "option",
1804.61 s
[opt-env-conf-test] " or ",
1804.61 s
[opt-env-conf-test] functionChunk "name",
1804.61 s
[opt-env-conf-test] " has no ",
1804.61 s
[opt-env-conf-test] functionChunk "metavar",
1804.61 s
[opt-env-conf-test] "."
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1804.61 s
[opt-env-conf-test] [ [ functionChunk "switch",
1804.61 s
[opt-env-conf-test] " has no ",
1804.61 s
[opt-env-conf-test] functionChunk "long",
1804.61 s
[opt-env-conf-test] " or ",
1804.61 s
[opt-env-conf-test] functionChunk "short",
1804.61 s
[opt-env-conf-test] "."
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1804.61 s
[opt-env-conf-test] [ [ functionChunk "long",
1804.61 s
[opt-env-conf-test] " or ",
1804.61 s
[opt-env-conf-test] functionChunk "short",
1804.61 s
[opt-env-conf-test] " has no ",
1804.61 s
[opt-env-conf-test] functionChunk "option",
1804.61 s
[opt-env-conf-test] " or ",
1804.61 s
[opt-env-conf-test] functionChunk "switch",
1804.61 s
[opt-env-conf-test] "."
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1804.61 s
[opt-env-conf-test] [ [ functionChunk "env",
1804.61 s
[opt-env-conf-test] " or ",
1804.61 s
[opt-env-conf-test] functionChunk "name",
1804.61 s
[opt-env-conf-test] " has no ",
1804.61 s
[opt-env-conf-test] functionChunk "reader",
1804.61 s
[opt-env-conf-test] "."
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1804.61 s
[opt-env-conf-test] [ [ functionChunk "env",
1804.61 s
[opt-env-conf-test] " or ",
1804.61 s
[opt-env-conf-test] functionChunk "name",
1804.61 s
[opt-env-conf-test] " has no ",
1804.61 s
[opt-env-conf-test] functionChunk "metavar",
1804.61 s
[opt-env-conf-test] "."
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] ]
1804.61 s
[opt-env-conf-test] LintErrorNoCommands ->
1804.61 s
[opt-env-conf-test] [ [ functionChunk "commands",
1804.61 s
[opt-env-conf-test] " was called with an empty list."
1805.76 s
[opt-env-conf-test] ]
1805.76 s
[opt-env-conf-test] ]
1805.76 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1805.76 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1805.76 s
[opt-env-conf-test] " was called with an unknown command: ",
1805.76 s
[opt-env-conf-test] commandChunk c
1805.76 s
[opt-env-conf-test] ]
1805.76 s
[opt-env-conf-test] - ]
1805.76 s
[opt-env-conf-test] - LintErrorUnreadableExample e ->
1805.76 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1805.76 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1805.76 s
[opt-env-conf-test] ]
1805.76 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1805.76 s
[opt-env-conf-test] [ [ functionChunk "conf",
1805.76 s
[opt-env-conf-test] " or ",
1805.76 s
[opt-env-conf-test] functionChunk "name",
1805.76 s
[opt-env-conf-test] " was called with no way to load configuration."
1805.76 s
[opt-env-conf-test] ],
1805.76 s
[opt-env-conf-test] [ "You can load configuration with ",
1805.76 s
[opt-env-conf-test] functionChunk "withConfig",
1805.76 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1805.76 s
[opt-env-conf-test] functionChunk "withoutConfig",
1805.76 s
[opt-env-conf-test] "."
1805.76 s
[opt-env-conf-test] ]
1805.76 s
[opt-env-conf-test] ]
1805.76 s
[opt-env-conf-test] LintErrorManyInfinite ->
1805.76 s
[opt-env-conf-test] [ [ functionChunk "many",
1805.76 s
[opt-env-conf-test] " or ",
1805.76 s
[opt-env-conf-test] functionChunk "some",
1805.76 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1805.76 s
[opt-env-conf-test] ],
1805.76 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1805.76 s
[opt-env-conf-test] ],
1805.76 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1805.76 s
[opt-env-conf-test] ]
1805.76 s
[opt-env-conf-test]
1805.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1805.76 s
[opt-env-conf-test] @@ -66,168 +66,160 @@
1805.76 s
[opt-env-conf-test] renderLintError LintError {..} =
1805.76 s
[opt-env-conf-test] concat
1805.77 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1805.77 s
[opt-env-conf-test] case lintErrorMessage of
1805.77 s
[opt-env-conf-test] LintErrorUndocumented ->
1805.77 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1805.77 s
[opt-env-conf-test] LintErrorEmptySetting ->
1805.77 s
[opt-env-conf-test] concat
1805.77 s
[opt-env-conf-test] [ [ [ "This ",
1805.77 s
[opt-env-conf-test] functionChunk "setting",
1805.77 s
[opt-env-conf-test] " parses nothing."
1805.77 s
[opt-env-conf-test] ]
1805.77 s
[opt-env-conf-test] ],
1805.77 s
[opt-env-conf-test] [ [ "Add an ",
1805.77 s
[opt-env-conf-test] functionChunk "argument",
1805.77 s
[opt-env-conf-test] ", ",
1805.77 s
[opt-env-conf-test] functionChunk "switch",
1805.77 s
[opt-env-conf-test] ", ",
1805.77 s
[opt-env-conf-test] functionChunk "option",
1805.77 s
[opt-env-conf-test] ", ",
1805.77 s
[opt-env-conf-test] functionChunk "env",
1805.77 s
[opt-env-conf-test] ", ",
1805.77 s
[opt-env-conf-test] functionChunk "conf",
1805.77 s
[opt-env-conf-test] ", or ",
1805.77 s
[opt-env-conf-test] functionChunk "value",
1805.77 s
[opt-env-conf-test] "."
1805.77 s
[opt-env-conf-test] ]
1805.77 s
[opt-env-conf-test] ]
1805.77 s
[opt-env-conf-test] ]
1805.77 s
[opt-env-conf-test] LintErrorDashInShort ->
1805.77 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1805.77 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1805.77 s
[opt-env-conf-test] ]
1805.77 s
[opt-env-conf-test] LintErrorDashInLong s ->
1805.77 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1805.77 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1805.77 s
[opt-env-conf-test] [ "Try ",
1805.77 s
[opt-env-conf-test] functionChunk "long",
1805.77 s
[opt-env-conf-test] " ",
1805.77 s
[opt-env-conf-test] chunk $
1805.77 s
[opt-env-conf-test] T.pack $
1805.77 s
[opt-env-conf-test] show $
1805.77 s
[opt-env-conf-test] let go = \case
1805.77 s
[opt-env-conf-test] [] -> []
1805.77 s
[opt-env-conf-test] '-' : cs -> go cs
1805.77 s
[opt-env-conf-test] c : cs -> c : cs
1805.77 s
[opt-env-conf-test] in go $ NE.toList s,
1805.77 s
[opt-env-conf-test] " instead."
1805.77 s
[opt-env-conf-test] ]
1805.77 s
[opt-env-conf-test] ]
1805.77 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1805.77 s
[opt-env-conf-test] [ [ functionChunk "argument",
1805.77 s
[opt-env-conf-test] " has no ",
1805.77 s
[opt-env-conf-test] functionChunk "reader",
1805.77 s
[opt-env-conf-test] "."
1805.77 s
[opt-env-conf-test] ]
1805.77 s
[opt-env-conf-test] ]
1805.77 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1805.77 s
[opt-env-conf-test] [ [ functionChunk "argument",
1805.77 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1805.78 s
[opt-env-conf-test] @@ -66,168 +66,155 @@
1805.78 s
[opt-env-conf-test] renderLintError LintError {..} =
1805.78 s
[opt-env-conf-test] concat
1805.78 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1805.78 s
[opt-env-conf-test] case lintErrorMessage of
1805.78 s
[opt-env-conf-test] LintErrorUndocumented ->
1805.78 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1805.78 s
[opt-env-conf-test] LintErrorEmptySetting ->
1805.78 s
[opt-env-conf-test] concat
1805.78 s
[opt-env-conf-test] [ [ [ "This ",
1805.78 s
[opt-env-conf-test] functionChunk "setting",
1805.78 s
[opt-env-conf-test] " parses nothing."
1805.78 s
[opt-env-conf-test] ]
1805.78 s
[opt-env-conf-test] ],
1805.78 s
[opt-env-conf-test] [ [ "Add an ",
1805.78 s
[opt-env-conf-test] functionChunk "argument",
1805.78 s
[opt-env-conf-test] ", ",
1805.78 s
[opt-env-conf-test] functionChunk "switch",
1805.78 s
[opt-env-conf-test] ", ",
1805.78 s
[opt-env-conf-test] functionChunk "option",
1805.78 s
[opt-env-conf-test] ", ",
1805.78 s
[opt-env-conf-test] functionChunk "env",
1805.78 s
[opt-env-conf-test] ", ",
1805.78 s
[opt-env-conf-test] functionChunk "conf",
1805.78 s
[opt-env-conf-test] ", or ",
1805.78 s
[opt-env-conf-test] functionChunk "value",
1805.78 s
[opt-env-conf-test] "."
1805.78 s
[opt-env-conf-test] ]
1805.78 s
[opt-env-conf-test] ]
1805.78 s
[opt-env-conf-test] ]
1805.78 s
[opt-env-conf-test] LintErrorDashInShort ->
1805.78 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1805.78 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1805.78 s
[opt-env-conf-test] ]
1805.78 s
[opt-env-conf-test] LintErrorDashInLong s ->
1805.78 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1805.78 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1805.78 s
[opt-env-conf-test] [ "Try ",
1805.78 s
[opt-env-conf-test] functionChunk "long",
1805.78 s
[opt-env-conf-test] " ",
1805.78 s
[opt-env-conf-test] chunk $
1805.78 s
[opt-env-conf-test] T.pack $
1805.78 s
[opt-env-conf-test] show $
1805.78 s
[opt-env-conf-test] let go = \case
1805.78 s
[opt-env-conf-test] [] -> []
1805.78 s
[opt-env-conf-test] '-' : cs -> go cs
1805.78 s
[opt-env-conf-test] c : cs -> c : cs
1805.78 s
[opt-env-conf-test] in go $ NE.toList s,
1805.78 s
[opt-env-conf-test] " instead."
1805.78 s
[opt-env-conf-test] ]
1805.78 s
[opt-env-conf-test] ]
1805.78 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1805.78 s
[opt-env-conf-test] [ [ functionChunk "argument",
1805.78 s
[opt-env-conf-test] " has no ",
1805.78 s
[opt-env-conf-test] functionChunk "reader",
1805.78 s
[opt-env-conf-test] "."
1805.78 s
[opt-env-conf-test] ]
1805.78 s
[opt-env-conf-test] ]
1805.78 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1805.78 s
[opt-env-conf-test] [ [ functionChunk "argument",
1805.78 s
[opt-env-conf-test] " has no ",
1805.78 s
[opt-env-conf-test] functionChunk "metavar",
1805.78 s
[opt-env-conf-test] "."
1805.78 s
[opt-env-conf-test] ]
1805.78 s
[opt-env-conf-test] ]
1805.78 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1805.79 s
[opt-env-conf-test] [ [ functionChunk "option",
1805.79 s
[opt-env-conf-test] " or ",
1805.79 s
[opt-env-conf-test] functionChunk "name",
1805.79 s
[opt-env-conf-test] " has no ",
1805.79 s
[opt-env-conf-test] functionChunk "reader",
1805.79 s
[opt-env-conf-test] "."
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1805.79 s
[opt-env-conf-test] [ [ functionChunk "option",
1805.79 s
[opt-env-conf-test] " has no ",
1805.79 s
[opt-env-conf-test] functionChunk "long",
1805.79 s
[opt-env-conf-test] " or ",
1805.79 s
[opt-env-conf-test] functionChunk "short",
1805.79 s
[opt-env-conf-test] "."
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1805.79 s
[opt-env-conf-test] [ [ functionChunk "option",
1805.79 s
[opt-env-conf-test] " or ",
1805.79 s
[opt-env-conf-test] functionChunk "name",
1805.79 s
[opt-env-conf-test] " has no ",
1805.79 s
[opt-env-conf-test] functionChunk "metavar",
1805.79 s
[opt-env-conf-test] "."
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1805.79 s
[opt-env-conf-test] [ [ functionChunk "switch",
1805.79 s
[opt-env-conf-test] " has no ",
1805.79 s
[opt-env-conf-test] functionChunk "long",
1805.79 s
[opt-env-conf-test] " or ",
1805.79 s
[opt-env-conf-test] functionChunk "short",
1805.79 s
[opt-env-conf-test] "."
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1805.79 s
[opt-env-conf-test] [ [ functionChunk "long",
1805.79 s
[opt-env-conf-test] " or ",
1805.79 s
[opt-env-conf-test] functionChunk "short",
1805.79 s
[opt-env-conf-test] " has no ",
1805.79 s
[opt-env-conf-test] functionChunk "option",
1805.79 s
[opt-env-conf-test] " or ",
1805.79 s
[opt-env-conf-test] functionChunk "switch",
1805.79 s
[opt-env-conf-test] "."
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1805.79 s
[opt-env-conf-test] [ [ functionChunk "env",
1805.79 s
[opt-env-conf-test] " or ",
1805.79 s
[opt-env-conf-test] functionChunk "name",
1805.79 s
[opt-env-conf-test] " has no ",
1805.79 s
[opt-env-conf-test] functionChunk "reader",
1805.79 s
[opt-env-conf-test] "."
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1805.79 s
[opt-env-conf-test] [ [ functionChunk "env",
1805.79 s
[opt-env-conf-test] " or ",
1805.79 s
[opt-env-conf-test] functionChunk "name",
1805.79 s
[opt-env-conf-test] " has no ",
1805.79 s
[opt-env-conf-test] functionChunk "metavar",
1805.79 s
[opt-env-conf-test] "."
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] LintErrorNoCommands ->
1805.79 s
[opt-env-conf-test] [ [ functionChunk "commands",
1805.79 s
[opt-env-conf-test] " was called with an empty list."
1805.79 s
[opt-env-conf-test] " has no ",
1805.79 s
[opt-env-conf-test] functionChunk "metavar",
1805.79 s
[opt-env-conf-test] "."
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1805.79 s
[opt-env-conf-test] [ [ functionChunk "option",
1805.79 s
[opt-env-conf-test] " or ",
1805.79 s
[opt-env-conf-test] functionChunk "name",
1805.79 s
[opt-env-conf-test] " has no ",
1805.79 s
[opt-env-conf-test] functionChunk "reader",
1805.79 s
[opt-env-conf-test] "."
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1805.79 s
[opt-env-conf-test] [ [ functionChunk "option",
1805.79 s
[opt-env-conf-test] " has no ",
1805.79 s
[opt-env-conf-test] functionChunk "long",
1805.79 s
[opt-env-conf-test] " or ",
1805.79 s
[opt-env-conf-test] functionChunk "short",
1805.79 s
[opt-env-conf-test] "."
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1805.79 s
[opt-env-conf-test] [ [ functionChunk "option",
1805.79 s
[opt-env-conf-test] " or ",
1805.79 s
[opt-env-conf-test] functionChunk "name",
1805.79 s
[opt-env-conf-test] " has no ",
1805.79 s
[opt-env-conf-test] functionChunk "metavar",
1805.79 s
[opt-env-conf-test] "."
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] ]
1805.79 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1805.80 s
[opt-env-conf-test] [ [ functionChunk "switch",
1805.80 s
[opt-env-conf-test] " has no ",
1805.80 s
[opt-env-conf-test] functionChunk "long",
1805.80 s
[opt-env-conf-test] " or ",
1805.80 s
[opt-env-conf-test] functionChunk "short",
1805.80 s
[opt-env-conf-test] "."
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1805.80 s
[opt-env-conf-test] [ [ functionChunk "long",
1805.80 s
[opt-env-conf-test] " or ",
1805.80 s
[opt-env-conf-test] functionChunk "short",
1805.80 s
[opt-env-conf-test] " has no ",
1805.80 s
[opt-env-conf-test] functionChunk "option",
1805.80 s
[opt-env-conf-test] " or ",
1805.80 s
[opt-env-conf-test] functionChunk "switch",
1805.80 s
[opt-env-conf-test] "."
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1805.80 s
[opt-env-conf-test] [ [ functionChunk "env",
1805.80 s
[opt-env-conf-test] " or ",
1805.80 s
[opt-env-conf-test] functionChunk "name",
1805.80 s
[opt-env-conf-test] " has no ",
1805.80 s
[opt-env-conf-test] functionChunk "reader",
1805.80 s
[opt-env-conf-test] "."
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1805.80 s
[opt-env-conf-test] [ [ functionChunk "env",
1805.80 s
[opt-env-conf-test] " or ",
1805.80 s
[opt-env-conf-test] functionChunk "name",
1805.80 s
[opt-env-conf-test] " has no ",
1805.80 s
[opt-env-conf-test] functionChunk "metavar",
1805.80 s
[opt-env-conf-test] "."
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] LintErrorNoCommands ->
1805.80 s
[opt-env-conf-test] [ [ functionChunk "commands",
1805.80 s
[opt-env-conf-test] " was called with an empty list."
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1805.80 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1805.80 s
[opt-env-conf-test] " was called with an unknown command: ",
1805.80 s
[opt-env-conf-test] commandChunk c
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1805.80 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1805.80 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1805.80 s
[opt-env-conf-test] [ [ functionChunk "conf",
1805.80 s
[opt-env-conf-test] " or ",
1805.80 s
[opt-env-conf-test] functionChunk "name",
1805.80 s
[opt-env-conf-test] " was called with no way to load configuration."
1805.80 s
[opt-env-conf-test] ],
1805.80 s
[opt-env-conf-test] [ "You can load configuration with ",
1805.80 s
[opt-env-conf-test] functionChunk "withConfig",
1805.80 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1805.80 s
[opt-env-conf-test] functionChunk "withoutConfig",
1805.80 s
[opt-env-conf-test] "."
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] - LintErrorManyInfinite ->
1805.80 s
[opt-env-conf-test] - [ [ functionChunk "many",
1805.80 s
[opt-env-conf-test] - " or ",
1805.80 s
[opt-env-conf-test] - functionChunk "some",
1805.80 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1805.80 s
[opt-env-conf-test] - ],
1805.80 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1805.80 s
[opt-env-conf-test] - ],
1805.80 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1805.80 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1805.80 s
[opt-env-conf-test] " was called with an unknown command: ",
1805.80 s
[opt-env-conf-test] commandChunk c
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1805.80 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1805.80 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1805.80 s
[opt-env-conf-test] ]
1805.80 s
[opt-env-conf-test] - LintErrorConfigWithoutLoad ->
1805.80 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1805.80 s
[opt-env-conf-test] - " or ",
1805.80 s
[opt-env-conf-test] - functionChunk "name",
1805.80 s
[opt-env-conf-test] - " was called with no way to load configuration."
1805.80 s
[opt-env-conf-test] - ],
1805.80 s
[opt-env-conf-test] - [ "You can load configuration with ",
1805.80 s
[opt-env-conf-test] - functionChunk "withConfig",
1805.80 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1805.80 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1805.80 s
[opt-env-conf-test] - "."
1805.80 s
[opt-env-conf-test] - ]
1805.80 s
[opt-env-conf-test] - ]
1805.80 s
[opt-env-conf-test] LintErrorManyInfinite ->
1805.80 s
[opt-env-conf-test] [ [ functionChunk "many",
1805.80 s
[opt-env-conf-test] " or ",
1805.81 s
[opt-env-conf-test] functionChunk "some",
1805.81 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1805.81 s
[opt-env-conf-test] ],
1805.81 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1805.81 s
[opt-env-conf-test] ],
1805.81 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1805.81 s
[opt-env-conf-test] ]
1805.81 s
[opt-env-conf-test]
1805.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1805.81 s
[opt-env-conf-test] @@ -65,171 +65,7 @@
1805.81 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1805.81 s
[opt-env-conf-test] renderLintError LintError {..} =
1805.81 s
[opt-env-conf-test] concat
1805.81 s
[opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
1805.81 s
[opt-env-conf-test] - case lintErrorMessage of
1805.81 s
[opt-env-conf-test] - LintErrorUndocumented ->
1805.81 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1805.81 s
[opt-env-conf-test] - LintErrorEmptySetting ->
1805.81 s
[opt-env-conf-test] - concat
1805.81 s
[opt-env-conf-test] - [ [ [ "This ",
1805.81 s
[opt-env-conf-test] - functionChunk "setting",
1805.81 s
[opt-env-conf-test] - " parses nothing."
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - ],
1805.81 s
[opt-env-conf-test] - [ [ "Add an ",
1805.81 s
[opt-env-conf-test] - functionChunk "argument",
1805.81 s
[opt-env-conf-test] - ", ",
1805.81 s
[opt-env-conf-test] - functionChunk "switch",
1805.81 s
[opt-env-conf-test] - ", ",
1805.81 s
[opt-env-conf-test] - functionChunk "option",
1805.81 s
[opt-env-conf-test] - ", ",
1805.81 s
[opt-env-conf-test] - functionChunk "env",
1805.81 s
[opt-env-conf-test] - ", ",
1805.81 s
[opt-env-conf-test] - functionChunk "conf",
1805.81 s
[opt-env-conf-test] - ", or ",
1805.81 s
[opt-env-conf-test] - functionChunk "value",
1805.81 s
[opt-env-conf-test] - "."
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - LintErrorDashInShort ->
1805.81 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1805.81 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - LintErrorDashInLong s ->
1805.81 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1805.81 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1805.81 s
[opt-env-conf-test] - [ "Try ",
1805.81 s
[opt-env-conf-test] - functionChunk "long",
1805.81 s
[opt-env-conf-test] - " ",
1805.81 s
[opt-env-conf-test] - chunk $
1805.81 s
[opt-env-conf-test] - T.pack $
1805.81 s
[opt-env-conf-test] - show $
1805.81 s
[opt-env-conf-test] - let go = \case
1805.81 s
[opt-env-conf-test] - [] -> []
1805.81 s
[opt-env-conf-test] - '-' : cs -> go cs
1805.81 s
[opt-env-conf-test] - c : cs -> c : cs
1805.81 s
[opt-env-conf-test] - in go $ NE.toList s,
1805.81 s
[opt-env-conf-test] - " instead."
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - LintErrorNoReaderForArgument ->
1805.81 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1805.81 s
[opt-env-conf-test] - " has no ",
1805.81 s
[opt-env-conf-test] - functionChunk "reader",
1805.81 s
[opt-env-conf-test] - "."
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - LintErrorNoMetavarForArgument ->
1805.81 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1805.81 s
[opt-env-conf-test] - " has no ",
1805.81 s
[opt-env-conf-test] - functionChunk "metavar",
1805.81 s
[opt-env-conf-test] - "."
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - LintErrorNoReaderForOption ->
1805.81 s
[opt-env-conf-test] - [ [ functionChunk "option",
1805.81 s
[opt-env-conf-test] - " or ",
1805.81 s
[opt-env-conf-test] - functionChunk "name",
1805.81 s
[opt-env-conf-test] - " has no ",
1805.81 s
[opt-env-conf-test] - functionChunk "reader",
1805.81 s
[opt-env-conf-test] - "."
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - LintErrorNoDashedForOption ->
1805.81 s
[opt-env-conf-test] - [ [ functionChunk "option",
1805.81 s
[opt-env-conf-test] - " has no ",
1805.81 s
[opt-env-conf-test] - functionChunk "long",
1805.81 s
[opt-env-conf-test] - " or ",
1805.81 s
[opt-env-conf-test] - functionChunk "short",
1805.81 s
[opt-env-conf-test] - "."
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - LintErrorNoMetavarForOption ->
1805.81 s
[opt-env-conf-test] - [ [ functionChunk "option",
1805.81 s
[opt-env-conf-test] - " or ",
1805.81 s
[opt-env-conf-test] - functionChunk "name",
1805.81 s
[opt-env-conf-test] - " has no ",
1805.81 s
[opt-env-conf-test] - functionChunk "metavar",
1805.81 s
[opt-env-conf-test] - "."
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - LintErrorNoDashedForSwitch ->
1805.81 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1805.81 s
[opt-env-conf-test] - " has no ",
1805.81 s
[opt-env-conf-test] - functionChunk "long",
1805.81 s
[opt-env-conf-test] - " or ",
1805.81 s
[opt-env-conf-test] - functionChunk "short",
1805.81 s
[opt-env-conf-test] - "."
1805.81 s
[opt-env-conf-test] - ]
1805.81 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
1805.82 s
[opt-env-conf-test] - [ [ functionChunk "long",
1805.82 s
[opt-env-conf-test] - " or ",
1805.82 s
[opt-env-conf-test] - functionChunk "short",
1805.82 s
[opt-env-conf-test] - " has no ",
1805.82 s
[opt-env-conf-test] - functionChunk "option",
1805.82 s
[opt-env-conf-test] - " or ",
1805.82 s
[opt-env-conf-test] - functionChunk "switch",
1805.82 s
[opt-env-conf-test] - "."
1805.82 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
1805.82 s
[opt-env-conf-test] - [ [ functionChunk "env",
1805.82 s
[opt-env-conf-test] - " or ",
1805.82 s
[opt-env-conf-test] - functionChunk "name",
1805.82 s
[opt-env-conf-test] - " has no ",
1805.82 s
[opt-env-conf-test] - functionChunk "reader",
1805.82 s
[opt-env-conf-test] - "."
1805.82 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
1805.82 s
[opt-env-conf-test] - [ [ functionChunk "env",
1805.82 s
[opt-env-conf-test] - " or ",
1805.82 s
[opt-env-conf-test] - functionChunk "name",
1805.82 s
[opt-env-conf-test] - " has no ",
1805.82 s
[opt-env-conf-test] - functionChunk "metavar",
1805.82 s
[opt-env-conf-test] - "."
1805.82 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - LintErrorNoCommands ->
1805.82 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1805.82 s
[opt-env-conf-test] - " was called with an empty list."
1805.82 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
1805.82 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1805.82 s
[opt-env-conf-test] - " was called with an unknown command: ",
1805.82 s
[opt-env-conf-test] - commandChunk c
1805.82 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - LintErrorUnreadableExample e ->
1805.82 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1805.82 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1805.82 s
[opt-env-conf-test] - ]
1805.82 s
[opt-env-conf-test] - LintErrorConfigWithoutLoad ->
1805.82 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1805.82 s
[opt-env-conf-test] - " or ",
1805.82 s
[opt-env-conf-test] - functionChunk "name",
1805.82 s
[opt-env-conf-test] - " was called with no way to load configuration."
1805.82 s
[opt-env-conf-test] - ],
1805.82 s
[opt-env-conf-test] - [ "You can load configuration with ",
1805.82 s
[opt-env-conf-test] - functionChunk "withConfig",
1806.37 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1806.37 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1806.37 s
[opt-env-conf-test] - "."
1806.37 s
[opt-env-conf-test] - ]
1806.37 s
[opt-env-conf-test] - ]
1806.37 s
[opt-env-conf-test] - LintErrorManyInfinite ->
1806.37 s
[opt-env-conf-test] - [ [ functionChunk "many",
1806.37 s
[opt-env-conf-test] - " or ",
1806.37 s
[opt-env-conf-test] - functionChunk "some",
1806.37 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1806.37 s
[opt-env-conf-test] - ],
1806.37 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1806.37 s
[opt-env-conf-test] - ],
1806.37 s
[opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1806.38 s
[opt-env-conf-test] ]
1806.38 s
[opt-env-conf-test]
1806.38 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1806.38 s
[opt-env-conf-test] lintParser =
1806.38 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1806.38 s
[opt-env-conf-test] @@ -65,171 +65,170 @@
1806.38 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1806.38 s
[opt-env-conf-test] renderLintError LintError {..} =
1806.38 s
[opt-env-conf-test] concat
1806.38 s
[opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
1806.38 s
[opt-env-conf-test] case lintErrorMessage of
1806.38 s
[opt-env-conf-test] LintErrorUndocumented ->
1806.38 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1806.38 s
[opt-env-conf-test] LintErrorEmptySetting ->
1806.38 s
[opt-env-conf-test] concat
1806.38 s
[opt-env-conf-test] [ [ [ "This ",
1806.38 s
[opt-env-conf-test] functionChunk "setting",
1806.38 s
[opt-env-conf-test] " parses nothing."
1806.38 s
[opt-env-conf-test] ]
1806.38 s
[opt-env-conf-test] ],
1806.38 s
[opt-env-conf-test] [ [ "Add an ",
1806.38 s
[opt-env-conf-test] functionChunk "argument",
1806.38 s
[opt-env-conf-test] ", ",
1806.38 s
[opt-env-conf-test] functionChunk "switch",
1806.38 s
[opt-env-conf-test] ", ",
1806.38 s
[opt-env-conf-test] functionChunk "option",
1806.38 s
[opt-env-conf-test] ", ",
1806.38 s
[opt-env-conf-test] functionChunk "env",
1806.38 s
[opt-env-conf-test] ", ",
1806.38 s
[opt-env-conf-test] functionChunk "conf",
1806.38 s
[opt-env-conf-test] ", or ",
1806.38 s
[opt-env-conf-test] functionChunk "value",
1806.38 s
[opt-env-conf-test] "."
1806.38 s
[opt-env-conf-test] ]
1806.38 s
[opt-env-conf-test] ]
1806.38 s
[opt-env-conf-test] ]
1806.38 s
[opt-env-conf-test] LintErrorDashInShort ->
1806.38 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1806.38 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1806.39 s
[opt-env-conf-test] ]
1806.39 s
[opt-env-conf-test] LintErrorDashInLong s ->
1806.39 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1806.39 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1806.39 s
[opt-env-conf-test] [ "Try ",
1806.39 s
[opt-env-conf-test] functionChunk "long",
1806.39 s
[opt-env-conf-test] " ",
1806.39 s
[opt-env-conf-test] chunk $
1806.39 s
[opt-env-conf-test] T.pack $
1806.39 s
[opt-env-conf-test] show $
1806.39 s
[opt-env-conf-test] let go = \case
1806.39 s
[opt-env-conf-test] [] -> []
1806.39 s
[opt-env-conf-test] '-' : cs -> go cs
1806.39 s
[opt-env-conf-test] c : cs -> c : cs
1806.39 s
[opt-env-conf-test] in go $ NE.toList s,
1806.39 s
[opt-env-conf-test] " instead."
1806.39 s
[opt-env-conf-test] ]
1806.39 s
[opt-env-conf-test] ]
1806.39 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1806.39 s
[opt-env-conf-test] [ [ functionChunk "argument",
1806.39 s
[opt-env-conf-test] " has no ",
1806.39 s
[opt-env-conf-test] functionChunk "reader",
1806.39 s
[opt-env-conf-test] "."
1806.39 s
[opt-env-conf-test] ]
1806.39 s
[opt-env-conf-test] ]
1806.39 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1806.39 s
[opt-env-conf-test] [ [ functionChunk "argument",
1806.39 s
[opt-env-conf-test] " has no ",
1806.39 s
[opt-env-conf-test] functionChunk "metavar",
1806.40 s
[opt-env-conf-test] "."
1806.40 s
[opt-env-conf-test] ]
1806.40 s
[opt-env-conf-test] ]
1806.40 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1806.40 s
[opt-env-conf-test] [ [ functionChunk "option",
1806.40 s
[opt-env-conf-test] " or ",
1806.40 s
[opt-env-conf-test] functionChunk "name",
1806.40 s
[opt-env-conf-test] " has no ",
1806.40 s
[opt-env-conf-test] functionChunk "reader",
1806.40 s
[opt-env-conf-test] "."
1806.40 s
[opt-env-conf-test] ]
1806.40 s
[opt-env-conf-test] ]
1806.40 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1806.40 s
[opt-env-conf-test] [ [ functionChunk "option",
1806.40 s
[opt-env-conf-test] " has no ",
1806.40 s
[opt-env-conf-test] functionChunk "long",
1806.40 s
[opt-env-conf-test] " or ",
1806.40 s
[opt-env-conf-test] functionChunk "short",
1806.40 s
[opt-env-conf-test] "."
1806.40 s
[opt-env-conf-test] ]
1806.40 s
[opt-env-conf-test] ]
1806.40 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1806.40 s
[opt-env-conf-test] [ [ functionChunk "option",
1806.40 s
[opt-env-conf-test] " or ",
1806.40 s
[opt-env-conf-test] functionChunk "name",
1806.40 s
[opt-env-conf-test] " has no ",
1806.40 s
[opt-env-conf-test] functionChunk "metavar",
1806.40 s
[opt-env-conf-test] "."
1806.40 s
[opt-env-conf-test] ]
1806.40 s
[opt-env-conf-test] ]
1806.40 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1806.40 s
[opt-env-conf-test] [ [ functionChunk "switch",
1806.40 s
[opt-env-conf-test] " has no ",
1806.40 s
[opt-env-conf-test] functionChunk "long",
1806.40 s
[opt-env-conf-test] " or ",
1806.40 s
[opt-env-conf-test] functionChunk "short",
1806.40 s
[opt-env-conf-test] "."
1806.40 s
[opt-env-conf-test] ]
1806.40 s
[opt-env-conf-test] ]
1806.40 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1806.40 s
[opt-env-conf-test] [ [ functionChunk "long",
1806.40 s
[opt-env-conf-test] " or ",
1806.40 s
[opt-env-conf-test] functionChunk "short",
1806.40 s
[opt-env-conf-test] " has no ",
1806.40 s
[opt-env-conf-test] functionChunk "option",
1806.40 s
[opt-env-conf-test] " or ",
1806.40 s
[opt-env-conf-test] functionChunk "switch",
1806.40 s
[opt-env-conf-test] "."
1806.40 s
[opt-env-conf-test] ]
1806.40 s
[opt-env-conf-test] ]
1806.41 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1806.41 s
[opt-env-conf-test] [ [ functionChunk "env",
1806.41 s
[opt-env-conf-test] " or ",
1806.41 s
[opt-env-conf-test] functionChunk "name",
1806.41 s
[opt-env-conf-test] " has no ",
1806.41 s
[opt-env-conf-test] functionChunk "reader",
1806.41 s
[opt-env-conf-test] "."
1806.41 s
[opt-env-conf-test] ]
1806.41 s
[opt-env-conf-test] ]
1806.41 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1806.41 s
[opt-env-conf-test] [ [ functionChunk "env",
1806.41 s
[opt-env-conf-test] " or ",
1806.41 s
[opt-env-conf-test] functionChunk "name",
1806.41 s
[opt-env-conf-test] " has no ",
1806.41 s
[opt-env-conf-test] functionChunk "metavar",
1806.41 s
[opt-env-conf-test] "."
1806.41 s
[opt-env-conf-test] ]
1806.41 s
[opt-env-conf-test] ]
1806.41 s
[opt-env-conf-test] LintErrorNoCommands ->
1806.41 s
[opt-env-conf-test] [ [ functionChunk "commands",
1807.05 s
[opt-env-conf-test] " was called with an empty list."
1807.05 s
[opt-env-conf-test] ]
1807.05 s
[opt-env-conf-test] ]
1807.05 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1807.05 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1807.05 s
[opt-env-conf-test] " was called with an unknown command: ",
1807.05 s
[opt-env-conf-test] commandChunk c
1807.05 s
[opt-env-conf-test] ]
1807.05 s
[opt-env-conf-test] ]
1807.05 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1807.05 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1807.06 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1807.06 s
[opt-env-conf-test] ]
1807.06 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1807.06 s
[opt-env-conf-test] [ [ functionChunk "conf",
1807.06 s
[opt-env-conf-test] " or ",
1807.06 s
[opt-env-conf-test] functionChunk "name",
1807.06 s
[opt-env-conf-test] " was called with no way to load configuration."
1807.06 s
[opt-env-conf-test] ],
1807.06 s
[opt-env-conf-test] [ "You can load configuration with ",
1807.06 s
[opt-env-conf-test] functionChunk "withConfig",
1807.06 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1807.06 s
[opt-env-conf-test] functionChunk "withoutConfig",
1807.06 s
[opt-env-conf-test] "."
1807.06 s
[opt-env-conf-test] ]
1807.06 s
[opt-env-conf-test] ]
1807.06 s
[opt-env-conf-test] LintErrorManyInfinite ->
1807.06 s
[opt-env-conf-test] [ [ functionChunk "many",
1807.06 s
[opt-env-conf-test] " or ",
1807.06 s
[opt-env-conf-test] functionChunk "some",
1807.06 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1807.06 s
[opt-env-conf-test] ],
1807.06 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1807.06 s
[opt-env-conf-test] ],
1807.06 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1807.06 s
[opt-env-conf-test] ]
1807.06 s
[opt-env-conf-test]
1807.06 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1807.06 s
[opt-env-conf-test] lintParser =
1807.06 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1807.06 s
[opt-env-conf-test] @@ -65,171 +65,170 @@
1807.06 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1807.06 s
[opt-env-conf-test] renderLintError LintError {..} =
1807.06 s
[opt-env-conf-test] concat
1807.06 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1807.07 s
[opt-env-conf-test] case lintErrorMessage of
1807.07 s
[opt-env-conf-test] LintErrorUndocumented ->
1807.07 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1807.07 s
[opt-env-conf-test] LintErrorEmptySetting ->
1807.07 s
[opt-env-conf-test] concat
1807.07 s
[opt-env-conf-test] [ [ [ "This ",
1807.07 s
[opt-env-conf-test] functionChunk "setting",
1807.07 s
[opt-env-conf-test] " parses nothing."
1807.07 s
[opt-env-conf-test] ]
1807.07 s
[opt-env-conf-test] ],
1807.07 s
[opt-env-conf-test] [ [ "Add an ",
1807.07 s
[opt-env-conf-test] functionChunk "argument",
1807.07 s
[opt-env-conf-test] ", ",
1807.07 s
[opt-env-conf-test] functionChunk "switch",
1807.07 s
[opt-env-conf-test] ", ",
1807.07 s
[opt-env-conf-test] functionChunk "option",
1807.07 s
[opt-env-conf-test] ", ",
1807.07 s
[opt-env-conf-test] functionChunk "env",
1807.07 s
[opt-env-conf-test] ", ",
1807.07 s
[opt-env-conf-test] functionChunk "conf",
1807.07 s
[opt-env-conf-test] ", or ",
1807.07 s
[opt-env-conf-test] functionChunk "value",
1807.07 s
[opt-env-conf-test] "."
1807.07 s
[opt-env-conf-test] ]
1807.07 s
[opt-env-conf-test] ]
1807.07 s
[opt-env-conf-test] ]
1807.07 s
[opt-env-conf-test] LintErrorDashInShort ->
1807.07 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1807.07 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1807.07 s
[opt-env-conf-test] ]
1807.07 s
[opt-env-conf-test] LintErrorDashInLong s ->
1807.07 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1807.07 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1807.07 s
[opt-env-conf-test] [ "Try ",
1807.07 s
[opt-env-conf-test] functionChunk "long",
1807.07 s
[opt-env-conf-test] " ",
1807.07 s
[opt-env-conf-test] chunk $
1807.07 s
[opt-env-conf-test] T.pack $
1807.07 s
[opt-env-conf-test] show $
1807.07 s
[opt-env-conf-test] let go = \case
1807.07 s
[opt-env-conf-test] [] -> []
1807.07 s
[opt-env-conf-test] '-' : cs -> go cs
1807.07 s
[opt-env-conf-test] c : cs -> c : cs
1807.07 s
[opt-env-conf-test] in go $ NE.toList s,
1807.07 s
[opt-env-conf-test] " instead."
1807.07 s
[opt-env-conf-test] ]
1807.07 s
[opt-env-conf-test] ]
1807.07 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1807.07 s
[opt-env-conf-test] [ [ functionChunk "argument",
1807.07 s
[opt-env-conf-test] " has no ",
1807.07 s
[opt-env-conf-test] functionChunk "reader",
1807.07 s
[opt-env-conf-test] "."
1807.07 s
[opt-env-conf-test] ]
1807.07 s
[opt-env-conf-test] ]
1807.07 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1807.07 s
[opt-env-conf-test] [ [ functionChunk "argument",
1807.07 s
[opt-env-conf-test] " has no ",
1807.07 s
[opt-env-conf-test] functionChunk "metavar",
1807.07 s
[opt-env-conf-test] "."
1807.07 s
[opt-env-conf-test] ]
1807.07 s
[opt-env-conf-test] ]
1807.07 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1807.07 s
[opt-env-conf-test] [ [ functionChunk "option",
1807.08 s
[opt-env-conf-test] " or ",
1807.08 s
[opt-env-conf-test] functionChunk "name",
1807.08 s
[opt-env-conf-test] " has no ",
1807.08 s
[opt-env-conf-test] functionChunk "reader",
1807.08 s
[opt-env-conf-test] "."
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1807.08 s
[opt-env-conf-test] [ [ functionChunk "option",
1807.08 s
[opt-env-conf-test] " has no ",
1807.08 s
[opt-env-conf-test] functionChunk "long",
1807.08 s
[opt-env-conf-test] " or ",
1807.08 s
[opt-env-conf-test] functionChunk "short",
1807.08 s
[opt-env-conf-test] "."
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1807.08 s
[opt-env-conf-test] [ [ functionChunk "option",
1807.08 s
[opt-env-conf-test] " or ",
1807.08 s
[opt-env-conf-test] functionChunk "name",
1807.08 s
[opt-env-conf-test] " has no ",
1807.08 s
[opt-env-conf-test] functionChunk "metavar",
1807.08 s
[opt-env-conf-test] "."
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1807.08 s
[opt-env-conf-test] [ [ functionChunk "switch",
1807.08 s
[opt-env-conf-test] " has no ",
1807.08 s
[opt-env-conf-test] functionChunk "long",
1807.08 s
[opt-env-conf-test] " or ",
1807.08 s
[opt-env-conf-test] functionChunk "short",
1807.08 s
[opt-env-conf-test] "."
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1807.08 s
[opt-env-conf-test] [ [ functionChunk "long",
1807.08 s
[opt-env-conf-test] " or ",
1807.08 s
[opt-env-conf-test] functionChunk "short",
1807.08 s
[opt-env-conf-test] " has no ",
1807.08 s
[opt-env-conf-test] functionChunk "option",
1807.08 s
[opt-env-conf-test] " or ",
1807.08 s
[opt-env-conf-test] functionChunk "switch",
1807.08 s
[opt-env-conf-test] "."
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1807.08 s
[opt-env-conf-test] [ [ functionChunk "env",
1807.08 s
[opt-env-conf-test] " or ",
1807.08 s
[opt-env-conf-test] functionChunk "name",
1807.08 s
[opt-env-conf-test] " has no ",
1807.08 s
[opt-env-conf-test] functionChunk "reader",
1807.08 s
[opt-env-conf-test] "."
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1807.08 s
[opt-env-conf-test] [ [ functionChunk "env",
1807.08 s
[opt-env-conf-test] " or ",
1807.08 s
[opt-env-conf-test] functionChunk "name",
1807.08 s
[opt-env-conf-test] " has no ",
1807.08 s
[opt-env-conf-test] functionChunk "metavar",
1807.08 s
[opt-env-conf-test] "."
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] ]
1807.08 s
[opt-env-conf-test] LintErrorNoCommands ->
1807.08 s
[opt-env-conf-test] [ [ functionChunk "commands",
1814.26 s
[opt-env-conf-test] " was called with an empty list."
1814.26 s
[opt-env-conf-test] ]
1814.26 s
[opt-env-conf-test] ]
1814.29 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1814.29 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1814.29 s
[opt-env-conf-test] " was called with an unknown command: ",
1814.29 s
[opt-env-conf-test] commandChunk c
1814.29 s
[opt-env-conf-test] ]
1814.29 s
[opt-env-conf-test] ]
1814.29 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1814.29 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1814.29 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1814.29 s
[opt-env-conf-test] ]
1814.29 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1814.29 s
[opt-env-conf-test] [ [ functionChunk "conf",
1814.29 s
[opt-env-conf-test] " or ",
1814.29 s
[opt-env-conf-test] functionChunk "name",
1814.29 s
[opt-env-conf-test] " was called with no way to load configuration."
1814.29 s
[opt-env-conf-test] ],
1814.29 s
[opt-env-conf-test] [ "You can load configuration with ",
1814.29 s
[opt-env-conf-test] functionChunk "withConfig",
1814.29 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1814.29 s
[opt-env-conf-test] functionChunk "withoutConfig",
1814.29 s
[opt-env-conf-test] "."
1814.29 s
[opt-env-conf-test] ]
1814.29 s
[opt-env-conf-test] ]
1814.29 s
[opt-env-conf-test] LintErrorManyInfinite ->
1814.29 s
[opt-env-conf-test] [ [ functionChunk "many",
1814.29 s
[opt-env-conf-test] " or ",
1814.30 s
[opt-env-conf-test] functionChunk "some",
1814.30 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1814.30 s
[opt-env-conf-test] ],
1814.30 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1814.30 s
[opt-env-conf-test] ],
1814.30 s
[opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1814.30 s
[opt-env-conf-test] ]
1814.30 s
[opt-env-conf-test]
1814.30 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1814.30 s
[opt-env-conf-test] lintParser =
1814.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
1814.30 s
[opt-env-conf-test] @@ -75,9 +75,8 @@
1814.30 s
[opt-env-conf-test]
1814.30 s
[opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
1814.30 s
[opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
1814.30 s
[opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
1814.30 s
[opt-env-conf-test] - Nothing -> Left $ "Unparseable value: " <> show s
1814.30 s
[opt-env-conf-test] Just a -> Right a
1814.30 s
[opt-env-conf-test]
1814.30 s
[opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
1814.30 s
[opt-env-conf-test] --
1814.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
1814.30 s
[opt-env-conf-test] @@ -75,9 +75,8 @@
1814.30 s
[opt-env-conf-test]
1814.30 s
[opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
1814.30 s
[opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
1814.30 s
[opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
1814.30 s
[opt-env-conf-test] Nothing -> Left $ "Unparseable value: " <> show s
1814.30 s
[opt-env-conf-test] - Just a -> Right a
1814.30 s
[opt-env-conf-test]
1814.30 s
[opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
1814.30 s
[opt-env-conf-test] --
1814.30 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Reader.hs:70:32-36
1814.30 s
[opt-env-conf-test] @@ -67,7 +67,7 @@
1814.30 s
[opt-env-conf-test] --
1814.30 s
[opt-env-conf-test] -- > exists = Reader $ const $ pure True
1814.30 s
[opt-env-conf-test] exists :: Reader Bool
1814.30 s
[opt-env-conf-test] - exists = Reader $ const $ pure Tr u e
1814.30 s
[opt-env-conf-test] + exists = Reader $ const $ pure F a ls e
1814.30 s
[opt-env-conf-test]
1814.30 s
[opt-env-conf-test] -- | Read a value as if it were specified as a 'String' and parsed via the given 'Codec'.
1814.30 s
[opt-env-conf-test] viaStringCodec :: (HasCodec a) => Reader a
1814.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
1814.30 s
[opt-env-conf-test] @@ -59,9 +59,8 @@
1814.30 s
[opt-env-conf-test] --
1814.30 s
[opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
1814.30 s
[opt-env-conf-test] auto :: (Read a) => Reader a
1814.30 s
[opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
1814.30 s
[opt-env-conf-test] - Nothing -> Left $ "Un-Read-able value: " <> show s
1814.30 s
[opt-env-conf-test] Just a -> Right a
1814.30 s
[opt-env-conf-test]
1814.30 s
[opt-env-conf-test] -- | Always return True
1814.30 s
[opt-env-conf-test] --
1814.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
1814.30 s
[opt-env-conf-test] @@ -59,9 +59,8 @@
1814.30 s
[opt-env-conf-test] --
1814.30 s
[opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
1814.30 s
[opt-env-conf-test] auto :: (Read a) => Reader a
1814.30 s
[opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
1814.30 s
[opt-env-conf-test] Nothing -> Left $ "Un-Read-able value: " <> show s
1814.30 s
[opt-env-conf-test] - Just a -> Right a
1814.30 s
[opt-env-conf-test]
1814.30 s
[opt-env-conf-test] -- | Always return True
1814.30 s
[opt-env-conf-test] --
1814.30 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
1814.30 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1814.30 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1814.30 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1814.30 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1814.30 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1814.30 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1814.31 s
[opt-env-conf-test] goCommand = go . commandParser
1814.31 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
1814.31 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1814.31 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1814.31 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1814.31 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1814.31 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1814.31 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1814.31 s
[opt-env-conf-test] goCommand = go . commandParser
1814.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1814.31 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1814.31 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1814.31 s
[opt-env-conf-test]
1814.31 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1814.31 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1814.31 s
[opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1814.31 s
[opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
1814.31 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1814.31 s
[opt-env-conf-test] goCommand = go . commandParser
1814.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1814.31 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1814.31 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1814.31 s
[opt-env-conf-test]
1814.31 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1814.31 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1814.31 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1814.31 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1814.31 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1814.31 s
[opt-env-conf-test] goCommand = go . commandParser
1814.31 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:90:47-55
1814.31 s
[opt-env-conf-test] @@ -87,7 +87,7 @@
1814.31 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1814.31 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1814.31 s
[opt-env-conf-test] (Nothing, _) -> o2
1814.31 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = J u st ot 1 }
1814.31 s
[opt-env-conf-test] + (Just ot1, Nothing) -> o2 {optionType = N ot hin g }
1814.31 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1814.31 s
[opt-env-conf-test]
1814.31 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1814.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1814.31 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1814.31 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1814.31 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1814.31 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1814.31 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1814.31 s
[opt-env-conf-test] - (Nothing, _) -> o2
1814.31 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1814.31 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1814.31 s
[opt-env-conf-test]
1814.31 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1814.31 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1814.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1814.31 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1814.31 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1814.31 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1814.31 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1814.31 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1814.31 s
[opt-env-conf-test] (Nothing, _) -> o2
1814.31 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1814.31 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1814.31 s
[opt-env-conf-test]
1814.31 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1814.31 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1814.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1814.31 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1814.31 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1814.31 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1814.31 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1814.31 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1814.31 s
[opt-env-conf-test] (Nothing, _) -> o2
1814.31 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1814.31 s
[opt-env-conf-test] - (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1814.31 s
[opt-env-conf-test]
1814.31 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1814.31 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1818.84 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:85:69-97
1818.84 s
[opt-env-conf-test] @@ -82,7 +82,7 @@
1818.84 s
[opt-env-conf-test] in objectCodecNixOptions oc
1818.84 s
[opt-env-conf-test] Just rest ->
1818.84 s
[opt-env-conf-test] let m = go' rest
1818.84 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 ) }
1818.84 s
[opt-env-conf-test] + in M.singleton p $ emptyOption {optionType = N o t h i n g }
1818.84 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1818.84 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1818.84 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1818.84 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
1818.84 s
[opt-env-conf-test] @@ -72,17 +72,10 @@
1818.84 s
[opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
1818.84 s
[opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
1818.84 s
[opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
1818.84 s
[opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
1818.84 s
[opt-env-conf-test] - Nothing ->
1818.84 s
[opt-env-conf-test] - let oc =
1818.84 s
[opt-env-conf-test] - maybe
1818.84 s
[opt-env-conf-test] - (optionalFieldWith' p configValSettingCodec)
1818.84 s
[opt-env-conf-test] - (optionalFieldWith p configValSettingCodec)
1818.84 s
[opt-env-conf-test] - (T.pack <$> settingHelp s)
1818.85 s
[opt-env-conf-test] - in objectCodecNixOptions oc
1818.85 s
[opt-env-conf-test] Just rest ->
1818.85 s
[opt-env-conf-test] let m = go' rest
1818.85 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1818.85 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1818.85 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1818.85 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1818.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
1818.85 s
[opt-env-conf-test] @@ -72,17 +72,14 @@
1818.85 s
[opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
1818.85 s
[opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
1818.85 s
[opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
1818.85 s
[opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
1818.85 s
[opt-env-conf-test] Nothing ->
1818.85 s
[opt-env-conf-test] let oc =
1818.85 s
[opt-env-conf-test] maybe
1818.85 s
[opt-env-conf-test] (optionalFieldWith' p configValSettingCodec)
1818.85 s
[opt-env-conf-test] (optionalFieldWith p configValSettingCodec)
1818.85 s
[opt-env-conf-test] (T.pack <$> settingHelp s)
1818.85 s
[opt-env-conf-test] in objectCodecNixOptions oc
1818.85 s
[opt-env-conf-test] - Just rest ->
1818.85 s
[opt-env-conf-test] - let m = go' rest
1818.85 s
[opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1818.85 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1818.85 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1818.85 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1818.85 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
1818.85 s
[opt-env-conf-test] @@ -35,7 +35,6 @@
1818.85 s
[opt-env-conf-test] ("# " <>)
1818.85 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1818.85 s
[opt-env-conf-test] "This file was generated by running",
1818.85 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1818.85 s
[opt-env-conf-test] T.unpack content
1818.85 s
[opt-env-conf-test] ]
1818.85 s
[opt-env-conf-test]
1818.85 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
1818.85 s
[opt-env-conf-test] @@ -35,7 +35,6 @@
1818.85 s
[opt-env-conf-test] ("# " <>)
1818.85 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1818.85 s
[opt-env-conf-test] "This file was generated by running",
1818.85 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1818.85 s
[opt-env-conf-test] T.unpack content
1818.85 s
[opt-env-conf-test] ]
1818.85 s
[opt-env-conf-test]
1818.85 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1818.85 s
[opt-env-conf-test] @@ -33,11 +33,7 @@
1818.85 s
[opt-env-conf-test] unlines $
1818.86 s
[opt-env-conf-test] map
1818.86 s
[opt-env-conf-test] ("# " <>)
1818.86 s
[opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
1818.86 s
[opt-env-conf-test] - "This file was generated by running",
1818.86 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1818.86 s
[opt-env-conf-test] - T.unpack content
1818.86 s
[opt-env-conf-test] ]
1818.86 s
[opt-env-conf-test]
1818.86 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1818.86 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1818.86 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1818.86 s
[opt-env-conf-test] @@ -33,11 +33,10 @@
1818.86 s
[opt-env-conf-test] unlines $
1818.86 s
[opt-env-conf-test] map
1818.86 s
[opt-env-conf-test] ("# " <>)
1818.86 s
[opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
1818.86 s
[opt-env-conf-test] "This file was generated by running",
1818.86 s
[opt-env-conf-test] unwords [progname, "--render-nix-options"],
1818.86 s
[opt-env-conf-test] T.unpack content
1818.86 s
[opt-env-conf-test] ]
1818.86 s
[opt-env-conf-test]
1818.86 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1818.86 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1818.86 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1818.86 s
[opt-env-conf-test] @@ -33,11 +33,10 @@
1818.86 s
[opt-env-conf-test] unlines $
1818.86 s
[opt-env-conf-test] map
1818.86 s
[opt-env-conf-test] ("# " <>)
1818.86 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1818.86 s
[opt-env-conf-test] "This file was generated by running",
1818.86 s
[opt-env-conf-test] unwords [progname, "--render-nix-options"],
1818.86 s
[opt-env-conf-test] - T.unpack content
1818.86 s
[opt-env-conf-test] ]
1818.86 s
[opt-env-conf-test]
1818.86 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1818.86 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1818.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
1818.86 s
[opt-env-conf-test] @@ -78,9 +78,8 @@
1818.86 s
[opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
1818.86 s
[opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
1818.86 s
[opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
1818.86 s
[opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
1818.86 s
[opt-env-conf-test] - Left a -> f a
1818.86 s
[opt-env-conf-test] Right b -> b
1818.86 s
[opt-env-conf-test]
1818.86 s
[opt-env-conf-test] validationFailure :: e -> Validation e a
1818.86 s
[opt-env-conf-test] validationFailure e = Failure (e :| [])
1818.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
1818.86 s
[opt-env-conf-test] @@ -78,9 +78,8 @@
1818.86 s
[opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
1818.86 s
[opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
1818.86 s
[opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
1818.86 s
[opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
1818.86 s
[opt-env-conf-test] Left a -> f a
1818.86 s
[opt-env-conf-test] - Right b -> b
1818.86 s
[opt-env-conf-test]
1818.86 s
[opt-env-conf-test] validationFailure :: e -> Validation e a
1818.86 s
[opt-env-conf-test] validationFailure e = Failure (e :| [])
1818.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
1818.86 s
[opt-env-conf-test] @@ -66,9 +66,8 @@
1818.86 s
[opt-env-conf-test]
1818.86 s
[opt-env-conf-test] instance Applicative (Validation e) where
1818.86 s
[opt-env-conf-test] pure = Success
1818.87 s
[opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
1818.87 s
[opt-env-conf-test] - Failure e2 -> e1 `NE.append` e2
1818.87 s
[opt-env-conf-test] Success _ -> e1
1818.87 s
[opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
1818.87 s
[opt-env-conf-test] Success f <*> Success a = Success (f a)
1818.87 s
[opt-env-conf-test]
1818.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
1818.87 s
[opt-env-conf-test] @@ -66,9 +66,8 @@
1818.87 s
[opt-env-conf-test]
1818.87 s
[opt-env-conf-test] instance Applicative (Validation e) where
1818.87 s
[opt-env-conf-test] pure = Success
1818.87 s
[opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
1818.87 s
[opt-env-conf-test] Failure e2 -> e1 `NE.append` e2
1818.87 s
[opt-env-conf-test] - Success _ -> e1
1818.87 s
[opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
1818.87 s
[opt-env-conf-test] Success f <*> Success a = Success (f a)
1818.87 s
[opt-env-conf-test]
1818.87 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1818.87 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1818.87 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1818.87 s
[opt-env-conf-test]
1818.87 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1818.87 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1818.87 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1818.87 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1818.87 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1818.87 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1818.87 s
[opt-env-conf-test]
1818.87 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1818.87 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1818.87 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1818.87 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
1818.87 s
[opt-env-conf-test] @@ -120,5 +120,4 @@
1818.87 s
[opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
1818.87 s
[opt-env-conf-test]
1818.87 s
[opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
1818.87 s
[opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
1818.87 s
[opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
1818.87 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Output.hs:112:34-39
1818.87 s
[opt-env-conf-test] @@ -109,7 +109,7 @@
1818.87 s
[opt-env-conf-test] cleanPackage pkg =
1818.87 s
[opt-env-conf-test] T.unpack $
1818.87 s
[opt-env-conf-test] T.intercalate "-" $
1818.87 s
[opt-env-conf-test] - takeWhile (not . maybe F al s e (Char.isDigit . fst) . T.uncons) $
1818.87 s
[opt-env-conf-test] + takeWhile (not . maybe T ru e (Char.isDigit . fst) . T.uncons) $
1818.87 s
[opt-env-conf-test] T.splitOn "-" (T.pack pkg)
1818.87 s
[opt-env-conf-test]
1818.87 s
[opt-env-conf-test] indent :: [[Chunk]] -> [[Chunk]]
1818.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
1818.87 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
1818.87 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1818.87 s
[opt-env-conf-test]
1828.53 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
1828.53 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
1828.55 s
[opt-env-conf-test] - [] -> []
1828.55 s
[opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
1828.55 s
[opt-env-conf-test]
1828.55 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
1828.55 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
1828.55 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
1828.55 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
1828.55 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1828.55 s
[opt-env-conf-test]
1828.55 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
1828.55 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
1828.56 s
[opt-env-conf-test] [] -> []
1828.56 s
[opt-env-conf-test] - cs -> intersperse ", " (map capabilityChunk cs)
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
1828.56 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
1828.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
1828.56 s
[opt-env-conf-test] @@ -78,7 +78,6 @@
1828.56 s
[opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] headerChunks :: Text -> [Chunk]
1828.56 s
[opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] syntaxChunk :: String -> Chunk
1828.56 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1828.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
1828.56 s
[opt-env-conf-test] @@ -78,7 +78,6 @@
1828.56 s
[opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] headerChunks :: Text -> [Chunk]
1828.56 s
[opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] syntaxChunk :: String -> Chunk
1828.56 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1828.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
1828.56 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1828.56 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1828.56 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1828.56 s
[opt-env-conf-test] [] -> []
1828.56 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1828.56 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1828.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
1828.56 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1828.56 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1828.56 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1828.56 s
[opt-env-conf-test] [] -> []
1828.56 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1828.56 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1828.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
1828.56 s
[opt-env-conf-test] @@ -69,7 +69,6 @@
1828.56 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1828.56 s
[opt-env-conf-test] [] -> []
1828.56 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1828.56 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1828.56 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1828.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
1828.56 s
[opt-env-conf-test] @@ -69,7 +69,6 @@
1828.56 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1828.56 s
[opt-env-conf-test] [] -> []
1828.56 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1828.56 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1828.56 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1828.56 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1828.56 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1828.56 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1828.56 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1828.56 s
[opt-env-conf-test] - [] -> []
1828.56 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1828.56 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1828.56 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1828.56 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1828.56 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1828.56 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1828.56 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1828.56 s
[opt-env-conf-test] [] -> []
1828.56 s
[opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1828.56 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1828.56 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1828.56 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1828.56 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1828.56 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1828.56 s
[opt-env-conf-test]
1828.56 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1828.57 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1828.57 s
[opt-env-conf-test] [] -> []
1828.57 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1828.57 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1828.57 s
[opt-env-conf-test]
1828.57 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1828.57 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1828.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
1828.57 s
[opt-env-conf-test] @@ -63,7 +63,6 @@
1828.57 s
[opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
1828.57 s
[opt-env-conf-test]
1828.57 s
[opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
1828.57 s
[opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1828.57 s
[opt-env-conf-test]
1828.57 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1828.57 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1828.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
1828.57 s
[opt-env-conf-test] @@ -63,7 +63,6 @@
1828.57 s
[opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
1828.57 s
[opt-env-conf-test]
1828.57 s
[opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
1828.57 s
[opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1828.57 s
[opt-env-conf-test]
1828.57 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1828.57 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1828.57 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
1828.57 s
[opt-env-conf-test] @@ -269,9 +269,8 @@
1828.57 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1828.57 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1828.57 s
[opt-env-conf-test] applyComponent d ".." = parent d
1828.57 s
[opt-env-conf-test] applyComponent d c = case parseRelDir c of
1828.57 s
[opt-env-conf-test] - Nothing -> d
1828.57 s
[opt-env-conf-test] Just rd -> d </> rd
1828.57 s
[opt-env-conf-test]
1828.57 s
[opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
1828.57 s
[opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
1828.57 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
1828.57 s
[opt-env-conf-test] @@ -269,9 +269,8 @@
1828.57 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1828.57 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1828.57 s
[opt-env-conf-test] applyComponent d ".." = parent d
1828.57 s
[opt-env-conf-test] applyComponent d c = case parseRelDir c of
1828.57 s
[opt-env-conf-test] Nothing -> d
1828.57 s
[opt-env-conf-test] - Just rd -> d </> rd
1828.57 s
[opt-env-conf-test]
1828.57 s
[opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
1828.57 s
[opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
1828.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:27-35
1828.57 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1828.57 s
[opt-env-conf-test] splitOnSlash s =
1828.57 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1828.57 s
[opt-env-conf-test] in case rest of
1828.57 s
[opt-env-conf-test] - [] -> [seg | not ( n u l l s e g )]
1828.57 s
[opt-env-conf-test] + [] -> [seg | not ( T r u e )]
1828.57 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1828.57 s
[opt-env-conf-test]
1828.57 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1828.57 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:27-35
1828.57 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1828.57 s
[opt-env-conf-test] splitOnSlash s =
1828.57 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1828.57 s
[opt-env-conf-test] in case rest of
1828.57 s
[opt-env-conf-test] - [] -> [seg | not (null seg) ]
1828.57 s
[opt-env-conf-test] + [] -> [seg | n o t ( not (null seg) ) ]
1828.57 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1828.57 s
[opt-env-conf-test]
1828.57 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1828.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:26-36
1828.57 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1828.57 s
[opt-env-conf-test] splitOnSlash s =
1828.57 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1828.57 s
[opt-env-conf-test] in case rest of
1828.57 s
[opt-env-conf-test] - [] -> [seg | not ( n u l l s e g ) ]
1828.57 s
[opt-env-conf-test] + [] -> [seg | not T r u e ]
1828.57 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1828.57 s
[opt-env-conf-test]
1828.57 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1828.57 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:26-36
1828.57 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1828.57 s
[opt-env-conf-test] splitOnSlash s =
1828.57 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1828.57 s
[opt-env-conf-test] in case rest of
1828.57 s
[opt-env-conf-test] - [] -> [seg | not ( null seg) ]
1828.57 s
[opt-env-conf-test] + [] -> [seg | n o t not ( ( null seg) ) ]
1828.57 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1828.57 s
[opt-env-conf-test]
1828.57 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1828.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:22-36
1828.57 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1835.59 s
[opt-env-conf-test] splitOnSlash s =
1835.59 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.59 s
[opt-env-conf-test] in case rest of
1835.61 s
[opt-env-conf-test] - [] -> [seg | n o t (n u l l s e g ) ]
1835.62 s
[opt-env-conf-test] + [] -> [seg | T r u e ]
1835.62 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1835.62 s
[opt-env-conf-test]
1835.62 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.62 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:22-36
1835.62 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1835.62 s
[opt-env-conf-test] splitOnSlash s =
1835.62 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.62 s
[opt-env-conf-test] in case rest of
1835.62 s
[opt-env-conf-test] - [] -> [seg | not (null seg) ]
1835.62 s
[opt-env-conf-test] + [] -> [seg | n o t ( not (null seg) ) ]
1835.62 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1835.62 s
[opt-env-conf-test]
1835.62 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.62 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:266:15-37
1835.62 s
[opt-env-conf-test] @@ -263,7 +263,6 @@
1835.62 s
[opt-env-conf-test] splitOnSlash s =
1835.62 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.62 s
[opt-env-conf-test] in case rest of
1835.62 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1835.62 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1835.62 s
[opt-env-conf-test]
1835.62 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:34-42
1835.62 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1835.62 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.62 s
[opt-env-conf-test] in case rest of
1835.62 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1835.62 s
[opt-env-conf-test] - _ : rest' -> [seg | not ( n u l l s e g )] <> splitOnSlash rest'
1835.62 s
[opt-env-conf-test] + _ : rest' -> [seg | not ( T r u e )] <> splitOnSlash rest'
1835.62 s
[opt-env-conf-test]
1835.62 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.62 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1835.63 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:34-42
1835.63 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1835.63 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.63 s
[opt-env-conf-test] in case rest of
1835.63 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1835.63 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg) ] <> splitOnSlash rest'
1835.63 s
[opt-env-conf-test] + _ : rest' -> [seg | n o t ( not (null seg) ) ] <> splitOnSlash rest'
1835.63 s
[opt-env-conf-test]
1835.63 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.63 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1835.63 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:33-43
1835.63 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1835.63 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.63 s
[opt-env-conf-test] in case rest of
1835.63 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1835.63 s
[opt-env-conf-test] - _ : rest' -> [seg | not ( null seg) ] <> splitOnSlash rest'
1835.63 s
[opt-env-conf-test] + _ : rest' -> [seg | n o t not ( ( null seg) ) ] <> splitOnSlash rest'
1835.63 s
[opt-env-conf-test]
1835.63 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.63 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1835.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:33-43
1835.64 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1835.64 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.64 s
[opt-env-conf-test] in case rest of
1835.64 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1835.64 s
[opt-env-conf-test] - _ : rest' -> [seg | not ( n u l l s e g ) ] <> splitOnSlash rest'
1835.64 s
[opt-env-conf-test] + _ : rest' -> [seg | not T r u e ] <> splitOnSlash rest'
1835.64 s
[opt-env-conf-test]
1835.64 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.64 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1835.64 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:29-43
1835.64 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1835.64 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.64 s
[opt-env-conf-test] in case rest of
1835.64 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1835.64 s
[opt-env-conf-test] - _ : rest' -> [seg | n o t (n u l l s e g ) ] <> splitOnSlash rest'
1835.64 s
[opt-env-conf-test] + _ : rest' -> [seg | T r u e ] <> splitOnSlash rest'
1835.64 s
[opt-env-conf-test]
1835.64 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.64 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1835.65 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:29-43
1835.65 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1835.65 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.65 s
[opt-env-conf-test] in case rest of
1835.65 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1835.65 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg) ] <> splitOnSlash rest'
1835.65 s
[opt-env-conf-test] + _ : rest' -> [seg | n o t ( not (null seg) ) ] <> splitOnSlash rest'
1835.65 s
[opt-env-conf-test]
1835.65 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.65 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1835.65 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:267:22-44
1835.65 s
[opt-env-conf-test] @@ -264,7 +264,6 @@
1835.65 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.65 s
[opt-env-conf-test] in case rest of
1835.65 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1835.65 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1835.65 s
[opt-env-conf-test]
1835.65 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.65 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1835.65 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
1835.65 s
[opt-env-conf-test] @@ -262,9 +262,8 @@
1835.65 s
[opt-env-conf-test] splitOnSlash [] = []
1835.65 s
[opt-env-conf-test] splitOnSlash s =
1835.66 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.66 s
[opt-env-conf-test] in case rest of
1835.66 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
1835.66 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1835.66 s
[opt-env-conf-test]
1835.66 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.66 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1835.66 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
1835.66 s
[opt-env-conf-test] @@ -262,9 +262,8 @@
1835.66 s
[opt-env-conf-test] splitOnSlash [] = []
1835.66 s
[opt-env-conf-test] splitOnSlash s =
1835.66 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
1835.66 s
[opt-env-conf-test] in case rest of
1835.66 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
1835.66 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
1835.66 s
[opt-env-conf-test]
1835.66 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
1835.66 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
1835.67 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:243:66-75
1835.67 s
[opt-env-conf-test] @@ -240,7 +240,7 @@
1835.67 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1835.67 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1835.67 s
[opt-env-conf-test] -- Find the index after the last "../" component
1835.67 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c = = " .. " ] of
1835.67 s
[opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, T r ue ] of
1835.67 s
[opt-env-conf-test] [] -> 0
1835.67 s
[opt-env-conf-test] ixs -> maximum ixs
1835.67 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1835.67 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:243:66-75
1835.67 s
[opt-env-conf-test] @@ -240,7 +240,7 @@
1835.67 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1835.67 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1835.67 s
[opt-env-conf-test] -- Find the index after the last "../" component
1835.67 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".." ] of
1835.67 s
[opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, n o t ( c == ".." ) ] of
1835.67 s
[opt-env-conf-test] [] -> 0
1835.67 s
[opt-env-conf-test] ixs -> maximum ixs
1835.68 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1835.68 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:243:28-76
1835.68 s
[opt-env-conf-test] @@ -240,7 +240,6 @@
1835.68 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1835.68 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1835.68 s
[opt-env-conf-test] -- Find the index after the last "../" component
1835.68 s
[opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1835.68 s
[opt-env-conf-test] [] -> 0
1835.68 s
[opt-env-conf-test] ixs -> maximum ixs
1835.68 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1835.68 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:244:15-16
1835.68 s
[opt-env-conf-test] @@ -241,7 +241,7 @@
1835.68 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1835.68 s
[opt-env-conf-test] -- Find the index after the last "../" component
1835.68 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1835.68 s
[opt-env-conf-test] - [] -> 0
1835.68 s
[opt-env-conf-test] + [] -> 1
1835.68 s
[opt-env-conf-test] ixs -> maximum ixs
1835.68 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1835.68 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1835.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
1843.34 s
[opt-env-conf-test] @@ -240,9 +240,8 @@
1843.34 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1843.34 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1843.36 s
[opt-env-conf-test] -- Find the index after the last "../" component
1843.36 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1843.36 s
[opt-env-conf-test] - [] -> 0
1843.36 s
[opt-env-conf-test] ixs -> maximum ixs
1843.36 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1843.36 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1843.36 s
[opt-env-conf-test] else
1843.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
1843.37 s
[opt-env-conf-test] @@ -240,9 +240,8 @@
1843.37 s
[opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
1843.37 s
[opt-env-conf-test] components = splitOnSlash afterCurDir
1843.37 s
[opt-env-conf-test] -- Find the index after the last "../" component
1843.37 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1843.37 s
[opt-env-conf-test] [] -> 0
1843.37 s
[opt-env-conf-test] - ixs -> maximum ixs
1843.37 s
[opt-env-conf-test] in if lastDotDotIdx == 0
1843.37 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1843.37 s
[opt-env-conf-test] else
1843.37 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:246:27-28
1843.37 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1843.37 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1843.37 s
[opt-env-conf-test] [] -> 0
1843.37 s
[opt-env-conf-test] ixs -> maximum ixs
1843.37 s
[opt-env-conf-test] - in if lastDotDotIdx == 0
1843.37 s
[opt-env-conf-test] + in if lastDotDotIdx == 1
1843.37 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1843.37 s
[opt-env-conf-test] else
1843.37 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1843.37 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
1843.37 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1843.37 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1843.37 s
[opt-env-conf-test] [] -> 0
1843.37 s
[opt-env-conf-test] ixs -> maximum ixs
1843.37 s
[opt-env-conf-test] - in if l a stD otDot Idx = = 0
1843.38 s
[opt-env-conf-test] + in if Tru e
1843.38 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1843.38 s
[opt-env-conf-test] else
1843.38 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1843.38 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
1843.38 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1843.38 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1843.38 s
[opt-env-conf-test] [] -> 0
1843.38 s
[opt-env-conf-test] ixs -> maximum ixs
1843.38 s
[opt-env-conf-test] - in if l a s tD o t Do tIdx == 0
1843.38 s
[opt-env-conf-test] + in if F a l s e
1843.38 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1843.38 s
[opt-env-conf-test] else
1843.38 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1843.38 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:246:10-28
1843.38 s
[opt-env-conf-test] @@ -243,7 +243,7 @@
1843.38 s
[opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
1843.38 s
[opt-env-conf-test] [] -> 0
1843.38 s
[opt-env-conf-test] ixs -> maximum ixs
1843.38 s
[opt-env-conf-test] - in if lastDotDotIdx == 0
1843.38 s
[opt-env-conf-test] + in if n o t ( lastDotDotIdx == 0 )
1843.38 s
[opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
1843.38 s
[opt-env-conf-test] else
1843.38 s
[opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
1843.38 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:19-47
1843.38 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1843.38 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1843.39 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1843.39 s
[opt-env-conf-test] trailingSlash
1843.39 s
[opt-env-conf-test] - | " /" `i sSuffix Of ` a fte r C u r Di r , not (null remainderComponents) = "/"
1843.39 s
[opt-env-conf-test] + | T r u e , not (null remainderComponents) = "/"
1843.39 s
[opt-env-conf-test] | otherwise = ""
1843.39 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1843.39 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1843.39 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:19-47
1843.39 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1843.39 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1843.39 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1843.39 s
[opt-env-conf-test] trailingSlash
1843.39 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir , not (null remainderComponents) = "/"
1843.39 s
[opt-env-conf-test] + | n o t ( "/" `isSuffixOf` afterCurDir ) , not (null remainderComponents) = "/"
1843.39 s
[opt-env-conf-test] | otherwise = ""
1843.39 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1843.39 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1843.39 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:54-78
1843.39 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1843.39 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1843.39 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1843.39 s
[opt-env-conf-test] trailingSlash
1843.39 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not ( n u l l r emaind e r C omp o n e nt s ) = "/"
1843.39 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not ( T r u e ) = "/"
1843.39 s
[opt-env-conf-test] | otherwise = ""
1843.39 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1843.39 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1843.39 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:54-78
1843.39 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1843.39 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1843.39 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1843.40 s
[opt-env-conf-test] trailingSlash
1843.40 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1843.40 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, n o t ( not (null remainderComponents) ) = "/"
1843.40 s
[opt-env-conf-test] | otherwise = ""
1843.40 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1843.40 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1843.40 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:53-79
1843.40 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1843.40 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1843.40 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1843.40 s
[opt-env-conf-test] trailingSlash
1843.40 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not ( n ul l r emaind e r C omp on e n ts ) = "/"
1843.40 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not T r u e = "/"
1843.40 s
[opt-env-conf-test] | otherwise = ""
1843.40 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1843.40 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1843.40 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:53-79
1843.40 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1843.40 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1843.40 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1843.40 s
[opt-env-conf-test] trailingSlash
1843.40 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not ( null remainderComponents) = "/"
1843.40 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, n o t not ( ( null remainderComponents) ) = "/"
1843.40 s
[opt-env-conf-test] | otherwise = ""
1843.40 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1843.40 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1843.40 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:49-79
1843.40 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1843.40 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1843.40 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1843.40 s
[opt-env-conf-test] trailingSlash
1843.40 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, n ot (nul l remai nd e r Co m po n e n ts ) = "/"
1849.87 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, T r u e = "/"
1849.90 s
[opt-env-conf-test] | otherwise = ""
1849.90 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1849.90 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1849.90 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:49-79
1849.90 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1849.90 s
[opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
1849.90 s
[opt-env-conf-test] -- Preserve trailing slash from the original input
1849.90 s
[opt-env-conf-test] trailingSlash
1849.90 s
[opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
1849.90 s
[opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, n o t ( not (null remainderComponents) ) = "/"
1849.90 s
[opt-env-conf-test] | otherwise = ""
1849.90 s
[opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
1849.90 s
[opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
1849.90 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:215:16-20
1849.90 s
[opt-env-conf-test] @@ -212,7 +212,7 @@
1849.90 s
[opt-env-conf-test]
1849.90 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1849.91 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1849.91 s
[opt-env-conf-test] - ('.' : _) -> Tr u e
1849.91 s
[opt-env-conf-test] + ('.' : _) -> F a ls e
1849.91 s
[opt-env-conf-test] _ -> False
1849.91 s
[opt-env-conf-test]
1849.91 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1849.91 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:216:8-13
1849.91 s
[opt-env-conf-test] @@ -213,7 +213,7 @@
1849.91 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1849.91 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1849.91 s
[opt-env-conf-test] ('.' : _) -> True
1849.91 s
[opt-env-conf-test] - _ -> F al s e
1849.91 s
[opt-env-conf-test] + _ -> T ru e
1849.91 s
[opt-env-conf-test]
1849.91 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1849.91 s
[opt-env-conf-test] stripCurDir = \case
1849.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
1849.91 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
1849.91 s
[opt-env-conf-test] }
1849.91 s
[opt-env-conf-test]
1849.91 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1849.91 s
[opt-env-conf-test] - hiddenRel p = case toFilePath p of
1849.91 s
[opt-env-conf-test] + hiddenRel p = T ru e = case toFilePath p of
1849.91 s
[opt-env-conf-test] ('.' : _) -> True
1849.91 s
[opt-env-conf-test] _ -> False
1849.91 s
[opt-env-conf-test]
1849.91 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1849.91 s
[opt-env-conf-test] stripCurDir = \case
1849.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
1849.91 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
1849.92 s
[opt-env-conf-test] }
1849.92 s
[opt-env-conf-test]
1849.92 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1849.92 s
[opt-env-conf-test] - hiddenRel p = case toFilePath p of
1849.92 s
[opt-env-conf-test] + hiddenRel p = F a ls e= case toFilePath p of
1849.92 s
[opt-env-conf-test] ('.' : _) -> True
1849.92 s
[opt-env-conf-test] _ -> False
1849.92 s
[opt-env-conf-test]
1849.92 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1849.92 s
[opt-env-conf-test] stripCurDir = \case
1849.92 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:214:15-13
1849.92 s
[opt-env-conf-test] @@ -211,9 +211,9 @@
1849.92 s
[opt-env-conf-test] }
1849.92 s
[opt-env-conf-test]
1849.92 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1849.92 s
[opt-env-conf-test] - hiddenRel p = case toFilePath p of
1849.92 s
[opt-env-conf-test] + hiddenRel p = n o t ( case toFilePath p of
1849.92 s
[opt-env-conf-test] ('.' : _) -> True
1849.92 s
[opt-env-conf-test] - _ -> False
1849.92 s
[opt-env-conf-test] + _ -> False )
1849.92 s
[opt-env-conf-test]
1849.92 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1849.92 s
[opt-env-conf-test] stripCurDir = \case
1849.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
1849.92 s
[opt-env-conf-test] @@ -211,9 +211,8 @@
1849.92 s
[opt-env-conf-test] }
1849.92 s
[opt-env-conf-test]
1849.92 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1849.92 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1849.92 s
[opt-env-conf-test] - ('.' : _) -> True
1849.92 s
[opt-env-conf-test] _ -> False
1849.93 s
[opt-env-conf-test]
1849.93 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1849.93 s
[opt-env-conf-test] stripCurDir = \case
1849.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
1849.93 s
[opt-env-conf-test] @@ -211,9 +211,8 @@
1849.93 s
[opt-env-conf-test] }
1849.93 s
[opt-env-conf-test]
1849.93 s
[opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
1849.93 s
[opt-env-conf-test] hiddenRel p = case toFilePath p of
1849.93 s
[opt-env-conf-test] ('.' : _) -> True
1849.93 s
[opt-env-conf-test] - _ -> False
1849.93 s
[opt-env-conf-test]
1849.93 s
[opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
1849.93 s
[opt-env-conf-test] stripCurDir = \case
1849.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
1849.93 s
[opt-env-conf-test] @@ -155,11 +155,8 @@
1849.93 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1849.93 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1849.93 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1849.93 s
[opt-env-conf-test] Nothing -> case fp of
1849.93 s
[opt-env-conf-test] - [] -> do
1849.94 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
1849.94 s
[opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
1849.94 s
[opt-env-conf-test] _ -> pure []
1849.94 s
[opt-env-conf-test] Just (Abs ad) -> do
1849.94 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1849.94 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1849.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
1849.94 s
[opt-env-conf-test] @@ -155,11 +155,10 @@
1849.94 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1849.94 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1849.94 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1849.94 s
[opt-env-conf-test] Nothing -> case fp of
1849.94 s
[opt-env-conf-test] [] -> do
1849.94 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1849.94 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1849.94 s
[opt-env-conf-test] - _ -> pure []
1849.94 s
[opt-env-conf-test] Just (Abs ad) -> do
1849.94 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1849.94 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1849.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
1849.94 s
[opt-env-conf-test] @@ -154,19 +154,14 @@
1849.94 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
1849.95 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1849.95 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1849.95 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1849.95 s
[opt-env-conf-test] - Nothing -> case fp of
1849.95 s
[opt-env-conf-test] - [] -> do
1849.95 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
1849.95 s
[opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
1849.95 s
[opt-env-conf-test] - _ -> pure []
1849.95 s
[opt-env-conf-test] Just (Abs ad) -> do
1849.95 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1849.95 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1849.95 s
[opt-env-conf-test] Just (Rel rd) -> do
1849.95 s
[opt-env-conf-test] let ad = baseDir </> rd
1849.95 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1849.95 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1849.95 s
[opt-env-conf-test]
1849.95 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1849.95 s
[opt-env-conf-test] Nothing -> pure []
1849.95 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
1849.95 s
[opt-env-conf-test] @@ -154,19 +154,16 @@
1849.95 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
1849.95 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1849.95 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1849.96 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1849.96 s
[opt-env-conf-test] Nothing -> case fp of
1849.96 s
[opt-env-conf-test] [] -> do
1849.96 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1849.96 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1849.96 s
[opt-env-conf-test] _ -> pure []
1849.96 s
[opt-env-conf-test] - Just (Abs ad) -> do
1849.96 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
1849.96 s
[opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1849.96 s
[opt-env-conf-test] Just (Rel rd) -> do
1849.96 s
[opt-env-conf-test] let ad = baseDir </> rd
1849.96 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1849.96 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1849.96 s
[opt-env-conf-test]
1849.96 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1849.96 s
[opt-env-conf-test] Nothing -> pure []
1849.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
1849.96 s
[opt-env-conf-test] @@ -154,19 +154,15 @@
1849.96 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
1849.96 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1849.96 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1849.96 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1849.96 s
[opt-env-conf-test] Nothing -> case fp of
1849.96 s
[opt-env-conf-test] [] -> do
1849.96 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1849.96 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1849.97 s
[opt-env-conf-test] _ -> pure []
1849.97 s
[opt-env-conf-test] Just (Abs ad) -> do
1849.97 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1849.97 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1849.97 s
[opt-env-conf-test] - Just (Rel rd) -> do
1849.97 s
[opt-env-conf-test] - let ad = baseDir </> rd
1849.97 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
1849.97 s
[opt-env-conf-test] - pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1849.97 s
[opt-env-conf-test]
1849.97 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1849.97 s
[opt-env-conf-test] Nothing -> pure []
1849.97 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
1849.97 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1849.97 s
[opt-env-conf-test] Nothing -> pure []
1849.97 s
[opt-env-conf-test] Just (Abs af) -> do
1849.97 s
[opt-env-conf-test] let dir = parent af
1849.97 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)
1856.38 s
[opt-env-conf-test] + let filterHidden = if T r u e then id else filter (not . hiddenRel)
1856.40 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1856.40 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1856.40 s
[opt-env-conf-test] Just (Rel rf) ->
1856.40 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
1856.40 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1856.40 s
[opt-env-conf-test] Nothing -> pure []
1856.40 s
[opt-env-conf-test] Just (Abs af) -> do
1856.40 s
[opt-env-conf-test] let dir = parent af
1856.40 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)
1856.40 s
[opt-env-conf-test] + let filterHidden = if F a l s e then id else filter (not . hiddenRel)
1856.40 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1856.40 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1856.41 s
[opt-env-conf-test] Just (Rel rf) ->
1856.41 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:175:31-53
1856.41 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1856.41 s
[opt-env-conf-test] Nothing -> pure []
1856.41 s
[opt-env-conf-test] Just (Abs af) -> do
1856.41 s
[opt-env-conf-test] let dir = parent af
1856.41 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1856.41 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel (dirname af) ) then id else filter (not . hiddenRel)
1856.41 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1856.41 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1856.41 s
[opt-env-conf-test] Just (Rel rf) ->
1856.41 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
1856.41 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1856.41 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1856.41 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1856.41 s
[opt-env-conf-test] Just (Rel rf) ->
1856.41 s
[opt-env-conf-test] - if fp == "."
1856.41 s
[opt-env-conf-test] + if T r ue
1856.41 s
[opt-env-conf-test] then do
1856.41 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1856.41 s
[opt-env-conf-test] pure (map fromRelDir ds)
1856.41 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
1856.41 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1856.41 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1856.41 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1856.41 s
[opt-env-conf-test] Just (Rel rf) ->
1856.41 s
[opt-env-conf-test] - i f f p = = " . "
1856.41 s
[opt-env-conf-test] + i f Fals e
1856.41 s
[opt-env-conf-test] then do
1856.41 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1856.41 s
[opt-env-conf-test] pure (map fromRelDir ds)
1856.41 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:179:12-21
1856.41 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1856.41 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1856.41 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1856.41 s
[opt-env-conf-test] Just (Rel rf) ->
1856.42 s
[opt-env-conf-test] - if fp == "."
1856.42 s
[opt-env-conf-test] + if n o t ( fp == "." )
1856.42 s
[opt-env-conf-test] then do
1856.42 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1856.42 s
[opt-env-conf-test] pure (map fromRelDir ds)
1856.42 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
1856.42 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1856.42 s
[opt-env-conf-test] else do
1856.42 s
[opt-env-conf-test] let dir = parent rf
1856.42 s
[opt-env-conf-test] let ad = baseDir </> dir
1856.42 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
1856.42 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
1856.42 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1856.42 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1856.42 s
[opt-env-conf-test]
1856.42 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
1856.42 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1856.42 s
[opt-env-conf-test] else do
1856.42 s
[opt-env-conf-test] let dir = parent rf
1856.42 s
[opt-env-conf-test] let ad = baseDir </> dir
1856.42 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
1856.42 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
1856.42 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1856.42 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1856.42 s
[opt-env-conf-test]
1856.42 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:186:35-47
1856.42 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1856.42 s
[opt-env-conf-test] else do
1856.42 s
[opt-env-conf-test] let dir = parent rf
1856.42 s
[opt-env-conf-test] let ad = baseDir </> dir
1856.42 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1856.42 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
1856.42 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1856.42 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1856.42 s
[opt-env-conf-test]
1856.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
1856.42 s
[opt-env-conf-test] @@ -168,24 +168,23 @@
1856.42 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1856.42 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1856.42 s
[opt-env-conf-test]
1856.42 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1856.42 s
[opt-env-conf-test] - Nothing -> pure []
1856.42 s
[opt-env-conf-test] Just (Abs af) -> do
1856.42 s
[opt-env-conf-test] let dir = parent af
1856.42 s
[opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1856.42 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1856.42 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1856.42 s
[opt-env-conf-test] Just (Rel rf) ->
1856.42 s
[opt-env-conf-test] if fp == "."
1856.42 s
[opt-env-conf-test] then do
1856.42 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1856.43 s
[opt-env-conf-test] pure (map fromRelDir ds)
1856.43 s
[opt-env-conf-test] else do
1856.43 s
[opt-env-conf-test] let dir = parent rf
1856.43 s
[opt-env-conf-test] let ad = baseDir </> dir
1856.43 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1856.43 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1856.43 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1856.43 s
[opt-env-conf-test]
1856.43 s
[opt-env-conf-test] pure $
1856.43 s
[opt-env-conf-test] concat
1856.43 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
1856.43 s
[opt-env-conf-test] @@ -168,24 +168,19 @@
1856.43 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1856.43 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1856.43 s
[opt-env-conf-test]
1856.43 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1856.43 s
[opt-env-conf-test] Nothing -> pure []
1856.43 s
[opt-env-conf-test] - Just (Abs af) -> do
1856.43 s
[opt-env-conf-test] - let dir = parent af
1856.43 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1856.43 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving dir
1856.43 s
[opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1856.43 s
[opt-env-conf-test] Just (Rel rf) ->
1856.43 s
[opt-env-conf-test] if fp == "."
1856.43 s
[opt-env-conf-test] then do
1856.43 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1856.43 s
[opt-env-conf-test] pure (map fromRelDir ds)
1856.43 s
[opt-env-conf-test] else do
1856.43 s
[opt-env-conf-test] let dir = parent rf
1856.43 s
[opt-env-conf-test] let ad = baseDir </> dir
1856.43 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1856.43 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1856.43 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1856.43 s
[opt-env-conf-test]
1856.43 s
[opt-env-conf-test] pure $
1856.43 s
[opt-env-conf-test] concat
1856.43 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
1856.43 s
[opt-env-conf-test] @@ -168,24 +168,13 @@
1856.43 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1856.43 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1856.43 s
[opt-env-conf-test]
1856.43 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1856.43 s
[opt-env-conf-test] Nothing -> pure []
1856.43 s
[opt-env-conf-test] Just (Abs af) -> do
1856.43 s
[opt-env-conf-test] let dir = parent af
1856.43 s
[opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1856.43 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1856.43 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1856.43 s
[opt-env-conf-test] - Just (Rel rf) ->
1856.43 s
[opt-env-conf-test] - if fp == "."
1856.43 s
[opt-env-conf-test] - then do
1856.44 s
[opt-env-conf-test] - (ds, _) <- listDirRel baseDir
1856.44 s
[opt-env-conf-test] - pure (map fromRelDir ds)
1856.44 s
[opt-env-conf-test] - else do
1856.44 s
[opt-env-conf-test] - let dir = parent rf
1856.44 s
[opt-env-conf-test] - let ad = baseDir </> dir
1856.44 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1856.44 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
1856.44 s
[opt-env-conf-test] - pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1856.44 s
[opt-env-conf-test]
1856.44 s
[opt-env-conf-test] pure $
1856.44 s
[opt-env-conf-test] concat
1856.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
1856.44 s
[opt-env-conf-test] @@ -189,9 +189,7 @@
1856.44 s
[opt-env-conf-test]
1856.44 s
[opt-env-conf-test] pure $
1856.44 s
[opt-env-conf-test] concat
1856.44 s
[opt-env-conf-test] - [ dirsFromPartialListing,
1856.44 s
[opt-env-conf-test] - dirsFromParentListing
1856.44 s
[opt-env-conf-test] ]
1856.44 s
[opt-env-conf-test] where
1856.44 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1860.81 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1860.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
1860.81 s
[opt-env-conf-test] @@ -189,9 +189,8 @@
1860.81 s
[opt-env-conf-test]
1860.81 s
[opt-env-conf-test] pure $
1860.81 s
[opt-env-conf-test] concat
1860.81 s
[opt-env-conf-test] - [ dirsFromPartialListing,
1860.81 s
[opt-env-conf-test] dirsFromParentListing
1860.81 s
[opt-env-conf-test] ]
1860.81 s
[opt-env-conf-test] where
1860.81 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1860.81 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1860.81 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
1860.82 s
[opt-env-conf-test] @@ -71,14 +71,8 @@
1860.82 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1860.82 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1860.82 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1860.82 s
[opt-env-conf-test] Nothing -> case fp of
1860.82 s
[opt-env-conf-test] - [] -> do
1860.82 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
1860.82 s
[opt-env-conf-test] - pure
1860.82 s
[opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
1860.82 s
[opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
1860.82 s
[opt-env-conf-test] - )
1860.82 s
[opt-env-conf-test] _ -> pure ([], [])
1860.82 s
[opt-env-conf-test] Just (Abs ad) -> do
1860.82 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1860.82 s
[opt-env-conf-test] pure
1860.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
1860.82 s
[opt-env-conf-test] @@ -71,14 +71,13 @@
1860.82 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1860.82 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1860.82 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1860.82 s
[opt-env-conf-test] Nothing -> case fp of
1860.82 s
[opt-env-conf-test] [] -> do
1860.82 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1860.82 s
[opt-env-conf-test] pure
1860.82 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
1860.82 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
1860.82 s
[opt-env-conf-test] )
1860.82 s
[opt-env-conf-test] - _ -> pure ([], [])
1860.82 s
[opt-env-conf-test] Just (Abs ad) -> do
1860.82 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1860.82 s
[opt-env-conf-test] pure
1860.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
1860.82 s
[opt-env-conf-test] @@ -70,28 +70,20 @@
1860.82 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
1860.82 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1860.82 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1860.82 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1860.82 s
[opt-env-conf-test] - Nothing -> case fp of
1860.82 s
[opt-env-conf-test] - [] -> do
1860.82 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
1860.82 s
[opt-env-conf-test] - pure
1860.82 s
[opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
1860.82 s
[opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
1860.82 s
[opt-env-conf-test] - )
1860.82 s
[opt-env-conf-test] - _ -> pure ([], [])
1860.82 s
[opt-env-conf-test] Just (Abs ad) -> do
1860.82 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1860.82 s
[opt-env-conf-test] pure
1860.82 s
[opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
1860.82 s
[opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
1860.82 s
[opt-env-conf-test] )
1860.82 s
[opt-env-conf-test] Just (Rel rd) -> do
1860.83 s
[opt-env-conf-test] let ad = baseDir </> rd
1860.83 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1860.83 s
[opt-env-conf-test] pure
1860.83 s
[opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
1860.83 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1860.83 s
[opt-env-conf-test] )
1860.83 s
[opt-env-conf-test]
1860.83 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1860.83 s
[opt-env-conf-test] Nothing ->
1860.83 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
1860.83 s
[opt-env-conf-test] @@ -70,28 +70,22 @@
1860.83 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
1860.83 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1860.83 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1860.83 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1860.83 s
[opt-env-conf-test] Nothing -> case fp of
1860.83 s
[opt-env-conf-test] [] -> do
1860.83 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1860.83 s
[opt-env-conf-test] pure
1860.83 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
1860.83 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
1860.83 s
[opt-env-conf-test] )
1860.83 s
[opt-env-conf-test] _ -> pure ([], [])
1860.83 s
[opt-env-conf-test] - Just (Abs ad) -> do
1860.83 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
1860.83 s
[opt-env-conf-test] - pure
1860.83 s
[opt-env-conf-test] - ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
1860.83 s
[opt-env-conf-test] - map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
1860.83 s
[opt-env-conf-test] - )
1860.83 s
[opt-env-conf-test] Just (Rel rd) -> do
1860.83 s
[opt-env-conf-test] let ad = baseDir </> rd
1860.83 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1860.83 s
[opt-env-conf-test] pure
1860.83 s
[opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
1860.83 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1860.83 s
[opt-env-conf-test] )
1860.83 s
[opt-env-conf-test]
1860.83 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1860.83 s
[opt-env-conf-test] Nothing ->
1860.83 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
1860.83 s
[opt-env-conf-test] @@ -70,28 +70,21 @@
1860.83 s
[opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
1860.83 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
1860.83 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1860.83 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
1860.83 s
[opt-env-conf-test] Nothing -> case fp of
1860.83 s
[opt-env-conf-test] [] -> do
1860.83 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1860.83 s
[opt-env-conf-test] pure
1860.83 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
1860.83 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
1860.83 s
[opt-env-conf-test] )
1860.83 s
[opt-env-conf-test] _ -> pure ([], [])
1860.83 s
[opt-env-conf-test] Just (Abs ad) -> do
1860.83 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1860.83 s
[opt-env-conf-test] pure
1860.83 s
[opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
1860.83 s
[opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
1860.83 s
[opt-env-conf-test] )
1860.83 s
[opt-env-conf-test] - Just (Rel rd) -> do
1860.83 s
[opt-env-conf-test] - let ad = baseDir </> rd
1860.83 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
1860.83 s
[opt-env-conf-test] - pure
1860.83 s
[opt-env-conf-test] - ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
1860.83 s
[opt-env-conf-test] - map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1860.83 s
[opt-env-conf-test] - )
1860.83 s
[opt-env-conf-test]
1860.83 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1860.83 s
[opt-env-conf-test] Nothing ->
1860.83 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
1860.83 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
1860.83 s
[opt-env-conf-test]
1860.83 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1860.83 s
[opt-env-conf-test] Nothing ->
1860.83 s
[opt-env-conf-test] - if fp == "."
1860.83 s
[opt-env-conf-test] + if T r ue
1860.83 s
[opt-env-conf-test] then do
1860.83 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1860.83 s
[opt-env-conf-test] pure
1860.83 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
1860.83 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
1860.84 s
[opt-env-conf-test]
1860.84 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1860.84 s
[opt-env-conf-test] Nothing ->
1860.84 s
[opt-env-conf-test] - i f f p = = " . "
1860.84 s
[opt-env-conf-test] + i f Fals e
1860.84 s
[opt-env-conf-test] then do
1860.84 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1860.84 s
[opt-env-conf-test] pure
1860.84 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:98:12-21
1860.84 s
[opt-env-conf-test] @@ -95,7 +95,7 @@
1860.84 s
[opt-env-conf-test]
1860.84 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1860.84 s
[opt-env-conf-test] Nothing ->
1860.84 s
[opt-env-conf-test] - if fp == "."
1860.84 s
[opt-env-conf-test] + if n o t ( fp == "." )
1860.84 s
[opt-env-conf-test] then do
1860.84 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1860.84 s
[opt-env-conf-test] pure
1860.84 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
1860.84 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
1860.84 s
[opt-env-conf-test] else pure ([], [])
1860.84 s
[opt-env-conf-test] Just (Abs af) -> do
1860.84 s
[opt-env-conf-test] let dir = parent af
1860.84 s
[opt-env-conf-test] - let filterHidden = if h idd e nRe l ( f ilenam e a f) then id else filter (not . hiddenRel)
1860.84 s
[opt-env-conf-test] + let filterHidden = if T ru e then id else filter (not . hiddenRel)
1860.84 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1860.84 s
[opt-env-conf-test] pure
1860.84 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1860.84 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
1860.84 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
1860.84 s
[opt-env-conf-test] else pure ([], [])
1860.84 s
[opt-env-conf-test] Just (Abs af) -> do
1860.84 s
[opt-env-conf-test] let dir = parent af
1860.84 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)
1864.48 s
[opt-env-conf-test] + let filterHidden = if F a ls e then id else filter (not . hiddenRel)
1864.55 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1864.55 s
[opt-env-conf-test] pure
1864.55 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1864.56 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:108:31-54
1864.56 s
[opt-env-conf-test] @@ -105,7 +105,7 @@
1864.56 s
[opt-env-conf-test] else pure ([], [])
1864.56 s
[opt-env-conf-test] Just (Abs af) -> do
1864.56 s
[opt-env-conf-test] let dir = parent af
1864.56 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1864.56 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel (filename af) ) then id else filter (not . hiddenRel)
1864.56 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1864.56 s
[opt-env-conf-test] pure
1864.56 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1864.56 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
1864.56 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1864.56 s
[opt-env-conf-test] Just (Rel rf) -> do
1864.56 s
[opt-env-conf-test] let dir = parent rf
1864.56 s
[opt-env-conf-test] let ad = baseDir </> dir
1864.56 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
1864.56 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
1864.56 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1864.56 s
[opt-env-conf-test] pure
1864.56 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1864.56 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
1864.56 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1864.56 s
[opt-env-conf-test] Just (Rel rf) -> do
1864.57 s
[opt-env-conf-test] let dir = parent rf
1864.57 s
[opt-env-conf-test] let ad = baseDir </> dir
1864.57 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
1864.57 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
1864.57 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1864.57 s
[opt-env-conf-test] pure
1864.57 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1864.57 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:117:31-43
1864.57 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1864.57 s
[opt-env-conf-test] Just (Rel rf) -> do
1864.57 s
[opt-env-conf-test] let dir = parent rf
1864.57 s
[opt-env-conf-test] let ad = baseDir </> dir
1864.57 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1864.57 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
1864.57 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1864.57 s
[opt-env-conf-test] pure
1864.57 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1864.57 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
1864.57 s
[opt-env-conf-test] @@ -93,33 +93,24 @@
1864.57 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1864.57 s
[opt-env-conf-test] )
1864.57 s
[opt-env-conf-test]
1864.57 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1864.57 s
[opt-env-conf-test] - Nothing ->
1864.57 s
[opt-env-conf-test] - if fp == "."
1864.57 s
[opt-env-conf-test] - then do
1864.57 s
[opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
1864.57 s
[opt-env-conf-test] - pure
1864.57 s
[opt-env-conf-test] - ( map fromRelDir ds,
1864.57 s
[opt-env-conf-test] - map fromRelFile fs
1864.57 s
[opt-env-conf-test] - )
1864.57 s
[opt-env-conf-test] - else pure ([], [])
1864.57 s
[opt-env-conf-test] Just (Abs af) -> do
1864.57 s
[opt-env-conf-test] let dir = parent af
1864.57 s
[opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1864.57 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1864.57 s
[opt-env-conf-test] pure
1864.57 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1864.57 s
[opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
1864.57 s
[opt-env-conf-test] )
1864.57 s
[opt-env-conf-test] Just (Rel rf) -> do
1864.57 s
[opt-env-conf-test] let dir = parent rf
1864.57 s
[opt-env-conf-test] let ad = baseDir </> dir
1864.57 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1864.58 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1864.58 s
[opt-env-conf-test] pure
1864.58 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1864.58 s
[opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
1864.58 s
[opt-env-conf-test] )
1864.58 s
[opt-env-conf-test]
1864.58 s
[opt-env-conf-test] pure $
1864.58 s
[opt-env-conf-test] concat
1864.58 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
1864.58 s
[opt-env-conf-test] @@ -93,33 +93,25 @@
1864.58 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1864.58 s
[opt-env-conf-test] )
1864.58 s
[opt-env-conf-test]
1864.58 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1864.58 s
[opt-env-conf-test] Nothing ->
1864.58 s
[opt-env-conf-test] if fp == "."
1864.58 s
[opt-env-conf-test] then do
1864.58 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1864.58 s
[opt-env-conf-test] pure
1864.58 s
[opt-env-conf-test] ( map fromRelDir ds,
1864.58 s
[opt-env-conf-test] map fromRelFile fs
1864.58 s
[opt-env-conf-test] )
1864.58 s
[opt-env-conf-test] else pure ([], [])
1864.58 s
[opt-env-conf-test] - Just (Abs af) -> do
1864.58 s
[opt-env-conf-test] - let dir = parent af
1864.58 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1864.58 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving dir
1864.58 s
[opt-env-conf-test] - pure
1864.58 s
[opt-env-conf-test] - ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1864.58 s
[opt-env-conf-test] - map (fromAbsFile . (dir </>)) $ filterHidden fs
1864.58 s
[opt-env-conf-test] - )
1864.58 s
[opt-env-conf-test] Just (Rel rf) -> do
1864.58 s
[opt-env-conf-test] let dir = parent rf
1864.58 s
[opt-env-conf-test] let ad = baseDir </> dir
1864.58 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1864.58 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1864.58 s
[opt-env-conf-test] pure
1864.58 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1864.58 s
[opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
1864.58 s
[opt-env-conf-test] )
1864.58 s
[opt-env-conf-test]
1864.58 s
[opt-env-conf-test] pure $
1864.58 s
[opt-env-conf-test] concat
1864.58 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
1864.58 s
[opt-env-conf-test] @@ -93,33 +93,24 @@
1864.58 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
1864.58 s
[opt-env-conf-test] )
1864.58 s
[opt-env-conf-test]
1864.58 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
1864.58 s
[opt-env-conf-test] Nothing ->
1864.58 s
[opt-env-conf-test] if fp == "."
1864.58 s
[opt-env-conf-test] then do
1864.58 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
1864.58 s
[opt-env-conf-test] pure
1864.58 s
[opt-env-conf-test] ( map fromRelDir ds,
1864.58 s
[opt-env-conf-test] map fromRelFile fs
1864.58 s
[opt-env-conf-test] )
1864.58 s
[opt-env-conf-test] else pure ([], [])
1864.58 s
[opt-env-conf-test] Just (Abs af) -> do
1864.58 s
[opt-env-conf-test] let dir = parent af
1864.58 s
[opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
1864.58 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving dir
1864.58 s
[opt-env-conf-test] pure
1864.58 s
[opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
1864.58 s
[opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
1864.58 s
[opt-env-conf-test] )
1864.58 s
[opt-env-conf-test] - Just (Rel rf) -> do
1864.58 s
[opt-env-conf-test] - let dir = parent rf
1864.58 s
[opt-env-conf-test] - let ad = baseDir </> dir
1864.58 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1864.58 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
1864.58 s
[opt-env-conf-test] - pure
1864.58 s
[opt-env-conf-test] - ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1864.58 s
[opt-env-conf-test] - map (fromRelFile . (dir </>)) $ filterHidden fs
1864.58 s
[opt-env-conf-test] - )
1864.58 s
[opt-env-conf-test]
1864.58 s
[opt-env-conf-test] pure $
1864.58 s
[opt-env-conf-test] concat
1864.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
1864.58 s
[opt-env-conf-test] @@ -123,11 +123,7 @@
1864.58 s
[opt-env-conf-test]
1864.58 s
[opt-env-conf-test] pure $
1864.58 s
[opt-env-conf-test] concat
1864.58 s
[opt-env-conf-test] - [ map fileResult filesFromPartialListing,
1864.58 s
[opt-env-conf-test] - map fileResult filesFromParentListing,
1864.58 s
[opt-env-conf-test] - map dirResult dirsFromPartialListing,
1864.58 s
[opt-env-conf-test] - map dirResult dirsFromParentListing
1864.58 s
[opt-env-conf-test] ]
1864.58 s
[opt-env-conf-test] where
1864.58 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1864.58 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1864.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
1864.58 s
[opt-env-conf-test] @@ -123,11 +123,10 @@
1864.58 s
[opt-env-conf-test]
1864.58 s
[opt-env-conf-test] pure $
1864.58 s
[opt-env-conf-test] concat
1864.58 s
[opt-env-conf-test] - [ map fileResult filesFromPartialListing,
1864.58 s
[opt-env-conf-test] map fileResult filesFromParentListing,
1864.58 s
[opt-env-conf-test] map dirResult dirsFromPartialListing,
1864.58 s
[opt-env-conf-test] map dirResult dirsFromParentListing
1864.58 s
[opt-env-conf-test] ]
1864.58 s
[opt-env-conf-test] where
1864.58 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1864.58 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1864.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
1864.58 s
[opt-env-conf-test] @@ -123,11 +123,10 @@
1864.58 s
[opt-env-conf-test]
1864.58 s
[opt-env-conf-test] pure $
1864.58 s
[opt-env-conf-test] concat
1864.58 s
[opt-env-conf-test] [ map fileResult filesFromPartialListing,
1864.58 s
[opt-env-conf-test] map fileResult filesFromParentListing,
1864.58 s
[opt-env-conf-test] map dirResult dirsFromPartialListing,
1864.58 s
[opt-env-conf-test] - map dirResult dirsFromParentListing
1864.58 s
[opt-env-conf-test] ]
1864.58 s
[opt-env-conf-test] where
1864.58 s
[opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
1864.58 s
[opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
1864.58 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:144:9-50
1864.58 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1864.58 s
[opt-env-conf-test] pure $ filter matchesExtension results
1864.58 s
[opt-env-conf-test] where
1864.58 s
[opt-env-conf-test] matchesExtension cr
1872.71 s
[opt-env-conf-test] - | " / " `is S u f fixOf` com pletionRes ultVa lu e c r = True
1872.73 s
[opt-env-conf-test] + | T r u e = True
1872.73 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1872.73 s
[opt-env-conf-test]
1872.73 s
[opt-env-conf-test] directoryPath :: Completer
1872.73 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:144:9-50
1872.73 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1872.73 s
[opt-env-conf-test] pure $ filter matchesExtension results
1872.73 s
[opt-env-conf-test] where
1872.73 s
[opt-env-conf-test] matchesExtension cr
1872.73 s
[opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
1872.73 s
[opt-env-conf-test] + | n o t ( "/" `isSuffixOf` completionResultValue cr ) = True
1872.73 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1872.73 s
[opt-env-conf-test]
1872.73 s
[opt-env-conf-test] directoryPath :: Completer
1872.73 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:144:53-57
1872.73 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1872.74 s
[opt-env-conf-test] pure $ filter matchesExtension results
1872.74 s
[opt-env-conf-test] where
1872.74 s
[opt-env-conf-test] matchesExtension cr
1872.74 s
[opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = Tr u e
1872.74 s
[opt-env-conf-test] + | "/" `isSuffixOf` completionResultValue cr = F a ls e
1872.74 s
[opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1872.74 s
[opt-env-conf-test]
1872.74 s
[opt-env-conf-test] directoryPath :: Completer
1872.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
1872.74 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
1872.74 s
[opt-env-conf-test] where
1872.74 s
[opt-env-conf-test] matchesExtension cr
1872.74 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
1872.74 s
[opt-env-conf-test] - | otherwise = a n y ( `isSuf fixOf` compl etionResultV alu e c r ) e xts
1872.74 s
[opt-env-conf-test] + | otherwise = T r u e
1872.74 s
[opt-env-conf-test]
1872.74 s
[opt-env-conf-test] directoryPath :: Completer
1872.74 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
1872.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
1872.74 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
1872.74 s
[opt-env-conf-test] where
1872.74 s
[opt-env-conf-test] matchesExtension cr
1872.74 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
1872.74 s
[opt-env-conf-test] - | otherwise = a n y (` isSuff ixOf` com p l e tionRe s ultVa lu e cr) exts
1872.74 s
[opt-env-conf-test] + | otherwise = F a l s e
1872.74 s
[opt-env-conf-test]
1872.74 s
[opt-env-conf-test] directoryPath :: Completer
1872.74 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
1872.74 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:145:21-69
1872.74 s
[opt-env-conf-test] @@ -142,7 +142,7 @@
1872.74 s
[opt-env-conf-test] where
1872.74 s
[opt-env-conf-test] matchesExtension cr
1872.74 s
[opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
1872.74 s
[opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
1872.74 s
[opt-env-conf-test] + | otherwise = n o t ( any (`isSuffixOf` completionResultValue cr) exts )
1872.74 s
[opt-env-conf-test]
1872.74 s
[opt-env-conf-test] directoryPath :: Completer
1872.75 s
[opt-env-conf-test] directoryPath = Completer $ \fp' -> do
1872.75 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Check.hs:80:42-56
1872.75 s
[opt-env-conf-test] @@ -77,7 +77,7 @@
1872.75 s
[opt-env-conf-test] Maybe JSON.Object ->
1872.75 s
[opt-env-conf-test] IO (CheckResult a)
1872.75 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
1872.75 s
[opt-env-conf-test] - errOrSets <- runParserOn capabilities ( J us t debu g Mo d e ) p args envVars mConfig
1872.75 s
[opt-env-conf-test] + errOrSets <- runParserOn capabilities ( N o t h in g ) p args envVars mConfig
1872.75 s
[opt-env-conf-test] pure $ case errOrSets of
1872.75 s
[opt-env-conf-test] Right a -> CheckSucceeded a
1872.75 s
[opt-env-conf-test] Left errs ->
1872.75 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Check.hs:91:72-105
1872.75 s
[opt-env-conf-test] @@ -88,7 +88,7 @@
1872.75 s
[opt-env-conf-test] -- ALL errors are missing capability errors
1872.75 s
[opt-env-conf-test] mapM
1872.75 s
[opt-env-conf-test] ( \case
1872.75 s
[opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> J u s t (M is s ing Capa bility mLoc cap)
1872.75 s
[opt-env-conf-test] + ParseError mLoc (ParseErrorMissingCapability cap) -> N o t h ing
1872.75 s
[opt-env-conf-test] _ -> Nothing
1872.75 s
[opt-env-conf-test] )
1872.75 s
[opt-env-conf-test] errs
1872.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
1872.75 s
[opt-env-conf-test] @@ -92,6 +92,5 @@
1872.75 s
[opt-env-conf-test] _ -> Nothing
1872.75 s
[opt-env-conf-test] )
1872.75 s
[opt-env-conf-test] errs
1872.75 s
[opt-env-conf-test] in case mMissingCaps of
1872.75 s
[opt-env-conf-test] - Just ne -> CheckIncapable ne
1872.75 s
[opt-env-conf-test] Nothing -> CheckFailed errs
1872.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
1872.75 s
[opt-env-conf-test] @@ -92,6 +92,5 @@
1872.75 s
[opt-env-conf-test] _ -> Nothing
1872.75 s
[opt-env-conf-test] )
1872.75 s
[opt-env-conf-test] errs
1872.75 s
[opt-env-conf-test] in case mMissingCaps of
1872.75 s
[opt-env-conf-test] Just ne -> CheckIncapable ne
1872.75 s
[opt-env-conf-test] - Nothing -> CheckFailed errs
1872.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
1872.75 s
[opt-env-conf-test] @@ -78,20 +78,19 @@
1872.75 s
[opt-env-conf-test] IO (CheckResult a)
1872.75 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
1872.75 s
[opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
1872.75 s
[opt-env-conf-test] pure $ case errOrSets of
1872.75 s
[opt-env-conf-test] - Right a -> CheckSucceeded a
1872.75 s
[opt-env-conf-test] Left errs ->
1872.75 s
[opt-env-conf-test] -- If all the errors are missing capability errors, return
1872.75 s
[opt-env-conf-test] -- CheckIncapable, otherwise CheckFailed
1872.76 s
[opt-env-conf-test] let mMissingCaps =
1872.76 s
[opt-env-conf-test] -- This MUST be mapM instead of mapMaybe because we need to ensure
1872.76 s
[opt-env-conf-test] -- ALL errors are missing capability errors
1872.76 s
[opt-env-conf-test] mapM
1872.76 s
[opt-env-conf-test] ( \case
1872.76 s
[opt-env-conf-test] ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
1872.76 s
[opt-env-conf-test] _ -> Nothing
1872.76 s
[opt-env-conf-test] )
1872.76 s
[opt-env-conf-test] errs
1872.76 s
[opt-env-conf-test] in case mMissingCaps of
1872.76 s
[opt-env-conf-test] Just ne -> CheckIncapable ne
1872.76 s
[opt-env-conf-test] Nothing -> CheckFailed errs
1872.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
1872.76 s
[opt-env-conf-test] @@ -78,20 +78,5 @@
1872.76 s
[opt-env-conf-test] IO (CheckResult a)
1872.76 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
1872.76 s
[opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
1872.76 s
[opt-env-conf-test] pure $ case errOrSets of
1872.76 s
[opt-env-conf-test] Right a -> CheckSucceeded a
1872.76 s
[opt-env-conf-test] - Left errs ->
1872.76 s
[opt-env-conf-test] - -- If all the errors are missing capability errors, return
1872.76 s
[opt-env-conf-test] - -- CheckIncapable, otherwise CheckFailed
1872.76 s
[opt-env-conf-test] - let mMissingCaps =
1872.76 s
[opt-env-conf-test] - -- This MUST be mapM instead of mapMaybe because we need to ensure
1872.76 s
[opt-env-conf-test] - -- ALL errors are missing capability errors
1872.76 s
[opt-env-conf-test] - mapM
1872.76 s
[opt-env-conf-test] - ( \case
1872.76 s
[opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
1872.76 s
[opt-env-conf-test] - _ -> Nothing
1872.76 s
[opt-env-conf-test] - )
1872.76 s
[opt-env-conf-test] - errs
1872.76 s
[opt-env-conf-test] - in case mMissingCaps of
1872.76 s
[opt-env-conf-test] - Just ne -> CheckIncapable ne
1872.76 s
[opt-env-conf-test] - Nothing -> CheckFailed errs
1872.76 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:34:25-18
1872.76 s
[opt-env-conf-test] @@ -31,9 +31,8 @@
1872.76 s
[opt-env-conf-test] stderrTc <- getTerminalCapabilitiesFromHandle stderr
1872.76 s
[opt-env-conf-test] errOrSets <- runSettingsCheckOn capabilities stderrTc p args envVars mConfig
1872.76 s
[opt-env-conf-test] case errOrSets of
1872.76 s
[opt-env-conf-test] CheckFailed errs -> do
1872.76 s
[opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderErrors errs
1872.76 s
[opt-env-conf-test] exitFailure
1872.76 s
[opt-env-conf-test] CheckIncapable missingCaps -> do
1872.76 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1872.76 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
1872.76 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:40:7-83
1872.76 s
[opt-env-conf-test] @@ -37,7 +37,6 @@
1872.76 s
[opt-env-conf-test] CheckIncapable missingCaps -> do
1872.76 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1872.76 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
1872.76 s
[opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderMissingCapabilities missingCaps
1872.76 s
[opt-env-conf-test] exitSuccess
1872.76 s
[opt-env-conf-test] CheckSucceeded _ -> do
1872.76 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1872.76 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:39:7-143
1872.76 s
[opt-env-conf-test] @@ -36,7 +36,6 @@
1872.76 s
[opt-env-conf-test] exitFailure
1872.76 s
[opt-env-conf-test] CheckIncapable missingCaps -> do
1872.77 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1875.99 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
1875.99 s
[opt-env-conf-test] hPutChunksLocaleWith stderrTc stderr $ renderMissingCapabilities missingCaps
1875.99 s
[opt-env-conf-test] exitSuccess
1875.99 s
[opt-env-conf-test] CheckSucceeded _ -> do
1875.99 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:44:7-71
1875.99 s
[opt-env-conf-test] @@ -41,7 +41,6 @@
1875.99 s
[opt-env-conf-test] exitSuccess
1875.99 s
[opt-env-conf-test] CheckSucceeded _ -> do
1875.99 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1875.99 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Settings parsed successfully."]
1875.99 s
[opt-env-conf-test] exitSuccess
1875.99 s
[opt-env-conf-test]
1875.99 s
[opt-env-conf-test] renderMissingCapabilities :: NonEmpty MissingCapability -> [Chunk]
1875.99 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:426:25-31
1875.99 s
[opt-env-conf-test] @@ -423,6 +423,6 @@
1875.99 s
[opt-env-conf-test] longDasheds =
1875.99 s
[opt-env-conf-test] mapMaybe
1875.99 s
[opt-env-conf-test] ( \case
1875.99 s
[opt-env-conf-test] - DashedLong l -> J u s t l
1875.99 s
[opt-env-conf-test] + DashedLong l -> No t h ing
1875.99 s
[opt-env-conf-test] DashedShort _ -> Nothing
1875.99 s
[opt-env-conf-test] )
1875.99 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:418:26-32
1875.99 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1875.99 s
[opt-env-conf-test] shortDasheds =
1875.99 s
[opt-env-conf-test] mapMaybe
1875.99 s
[opt-env-conf-test] ( \case
1875.99 s
[opt-env-conf-test] - DashedShort c -> J u s t c
1875.99 s
[opt-env-conf-test] + DashedShort c -> No t h ing
1875.99 s
[opt-env-conf-test] DashedLong _ -> Nothing
1875.99 s
[opt-env-conf-test] )
1875.99 s
[opt-env-conf-test]
1875.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
1875.99 s
[opt-env-conf-test] @@ -403,7 +403,6 @@
1875.99 s
[opt-env-conf-test]
1876.00 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1876.00 s
[opt-env-conf-test] renderDashed = \case
1876.00 s
[opt-env-conf-test] - DashedShort c -> ['-', c]
1876.00 s
[opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
1876.00 s
[opt-env-conf-test]
1876.00 s
[opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
1876.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
1876.00 s
[opt-env-conf-test] @@ -403,7 +403,6 @@
1876.00 s
[opt-env-conf-test]
1876.00 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1876.00 s
[opt-env-conf-test] renderDashed = \case
1876.00 s
[opt-env-conf-test] - DashedShort c -> ['-', c]
1876.00 s
[opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
1876.00 s
[opt-env-conf-test]
1876.00 s
[opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
1876.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
1876.00 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1876.00 s
[opt-env-conf-test] where
1876.00 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1876.00 s
[opt-env-conf-test] go (c :| rest) =
1876.00 s
[opt-env-conf-test] - if c ` e l em` cs
1876.00 s
[opt-env-conf-test] + if T ru e
1876.00 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1876.00 s
[opt-env-conf-test] else do
1876.00 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1876.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
1876.00 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1876.00 s
[opt-env-conf-test] where
1876.00 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1876.00 s
[opt-env-conf-test] go (c :| rest) =
1876.00 s
[opt-env-conf-test] - if c ` e l em` c s
1876.00 s
[opt-env-conf-test] + if Fa l s e
1876.00 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1876.00 s
[opt-env-conf-test] else do
1876.00 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1876.00 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:364:10-21
1876.00 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1876.00 s
[opt-env-conf-test] where
1876.00 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1876.00 s
[opt-env-conf-test] go (c :| rest) =
1876.00 s
[opt-env-conf-test] - if c `elem` cs
1876.00 s
[opt-env-conf-test] + if n o t ( c `elem` cs )
1876.00 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1876.00 s
[opt-env-conf-test] else do
1876.00 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1876.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
1876.00 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1876.00 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1876.00 s
[opt-env-conf-test] go (c :| rest) =
1876.00 s
[opt-env-conf-test] if c `elem` cs
1876.00 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n u ll r e s t )) <$> NE.nonEmpty rest
1876.00 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, T r u e )) <$> NE.nonEmpty rest
1876.00 s
[opt-env-conf-test] else do
1876.00 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1876.00 s
[opt-env-conf-test] new <- go rest'
1876.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1876.00 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1876.00 s
[opt-env-conf-test] renderLintError LintError {..} =
1876.00 s
[opt-env-conf-test] concat
1876.00 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1876.00 s
[opt-env-conf-test] case lintErrorMessage of
1876.00 s
[opt-env-conf-test] LintErrorUndocumented ->
1876.00 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1876.00 s
[opt-env-conf-test] LintErrorEmptySetting ->
1876.00 s
[opt-env-conf-test] concat
1876.00 s
[opt-env-conf-test] [ [ [ "This ",
1876.00 s
[opt-env-conf-test] functionChunk "setting",
1876.00 s
[opt-env-conf-test] " parses nothing."
1876.00 s
[opt-env-conf-test] ]
1876.00 s
[opt-env-conf-test] ],
1876.00 s
[opt-env-conf-test] [ [ "Add an ",
1876.00 s
[opt-env-conf-test] functionChunk "argument",
1876.00 s
[opt-env-conf-test] ", ",
1876.00 s
[opt-env-conf-test] functionChunk "switch",
1876.00 s
[opt-env-conf-test] ", ",
1876.00 s
[opt-env-conf-test] functionChunk "option",
1876.00 s
[opt-env-conf-test] ", ",
1876.00 s
[opt-env-conf-test] functionChunk "env",
1876.00 s
[opt-env-conf-test] ", ",
1876.00 s
[opt-env-conf-test] functionChunk "conf",
1876.00 s
[opt-env-conf-test] ", or ",
1876.00 s
[opt-env-conf-test] functionChunk "value",
1876.00 s
[opt-env-conf-test] "."
1876.00 s
[opt-env-conf-test] ]
1876.00 s
[opt-env-conf-test] ]
1876.00 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] LintErrorDashInShort ->
1876.01 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1876.01 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] LintErrorDashInLong s ->
1876.01 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1876.01 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1876.01 s
[opt-env-conf-test] [ "Try ",
1876.01 s
[opt-env-conf-test] functionChunk "long",
1876.01 s
[opt-env-conf-test] " ",
1876.01 s
[opt-env-conf-test] chunk $
1876.01 s
[opt-env-conf-test] T.pack $
1876.01 s
[opt-env-conf-test] show $
1876.01 s
[opt-env-conf-test] let go = \case
1876.01 s
[opt-env-conf-test] [] -> []
1876.01 s
[opt-env-conf-test] '-' : cs -> go cs
1876.01 s
[opt-env-conf-test] c : cs -> c : cs
1876.01 s
[opt-env-conf-test] in go $ NE.toList s,
1876.01 s
[opt-env-conf-test] " instead."
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1876.01 s
[opt-env-conf-test] [ [ functionChunk "argument",
1876.01 s
[opt-env-conf-test] " has no ",
1876.01 s
[opt-env-conf-test] functionChunk "reader",
1876.01 s
[opt-env-conf-test] "."
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1876.01 s
[opt-env-conf-test] [ [ functionChunk "argument",
1876.01 s
[opt-env-conf-test] " has no ",
1876.01 s
[opt-env-conf-test] functionChunk "metavar",
1876.01 s
[opt-env-conf-test] "."
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1876.01 s
[opt-env-conf-test] [ [ functionChunk "option",
1876.01 s
[opt-env-conf-test] " or ",
1876.01 s
[opt-env-conf-test] functionChunk "name",
1876.01 s
[opt-env-conf-test] " has no ",
1876.01 s
[opt-env-conf-test] functionChunk "reader",
1876.01 s
[opt-env-conf-test] "."
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1876.01 s
[opt-env-conf-test] [ [ functionChunk "option",
1876.01 s
[opt-env-conf-test] " has no ",
1876.01 s
[opt-env-conf-test] functionChunk "long",
1876.01 s
[opt-env-conf-test] " or ",
1876.01 s
[opt-env-conf-test] functionChunk "short",
1876.01 s
[opt-env-conf-test] "."
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1876.01 s
[opt-env-conf-test] [ [ functionChunk "option",
1876.01 s
[opt-env-conf-test] " or ",
1876.01 s
[opt-env-conf-test] functionChunk "name",
1876.01 s
[opt-env-conf-test] " has no ",
1876.01 s
[opt-env-conf-test] functionChunk "metavar",
1876.01 s
[opt-env-conf-test] "."
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] - LintErrorNoDashedForSwitch ->
1876.01 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1876.01 s
[opt-env-conf-test] - " has no ",
1876.01 s
[opt-env-conf-test] - functionChunk "long",
1876.01 s
[opt-env-conf-test] - " or ",
1876.01 s
[opt-env-conf-test] - functionChunk "short",
1876.01 s
[opt-env-conf-test] - "."
1876.01 s
[opt-env-conf-test] - ]
1876.01 s
[opt-env-conf-test] - ]
1876.01 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1876.01 s
[opt-env-conf-test] [ [ functionChunk "long",
1876.01 s
[opt-env-conf-test] " or ",
1876.01 s
[opt-env-conf-test] functionChunk "short",
1876.01 s
[opt-env-conf-test] " has no ",
1876.01 s
[opt-env-conf-test] functionChunk "option",
1876.01 s
[opt-env-conf-test] " or ",
1876.01 s
[opt-env-conf-test] functionChunk "switch",
1876.01 s
[opt-env-conf-test] "."
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] ]
1876.01 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1876.01 s
[opt-env-conf-test] [ [ functionChunk "env",
1876.01 s
[opt-env-conf-test] " or ",
1876.01 s
[opt-env-conf-test] functionChunk "name",
1876.01 s
[opt-env-conf-test] " has no ",
1876.02 s
[opt-env-conf-test] functionChunk "reader",
1876.02 s
[opt-env-conf-test] "."
1876.02 s
[opt-env-conf-test] ]
1876.02 s
[opt-env-conf-test] ]
1876.02 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1876.02 s
[opt-env-conf-test] [ [ functionChunk "env",
1876.02 s
[opt-env-conf-test] " or ",
1876.02 s
[opt-env-conf-test] functionChunk "name",
1876.02 s
[opt-env-conf-test] " has no ",
1876.02 s
[opt-env-conf-test] functionChunk "metavar",
1876.02 s
[opt-env-conf-test] "."
1876.02 s
[opt-env-conf-test] ]
1876.02 s
[opt-env-conf-test] ]
1876.02 s
[opt-env-conf-test] LintErrorNoCommands ->
1876.71 s
[opt-env-conf-test] [ [ functionChunk "commands",
1876.71 s
[opt-env-conf-test] " was called with an empty list."
1876.71 s
[opt-env-conf-test] ]
1876.72 s
[opt-env-conf-test] ]
1876.72 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1876.72 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1876.72 s
[opt-env-conf-test] " was called with an unknown command: ",
1876.72 s
[opt-env-conf-test] commandChunk c
1876.72 s
[opt-env-conf-test] ]
1876.72 s
[opt-env-conf-test] ]
1876.72 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1876.72 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1876.72 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1876.72 s
[opt-env-conf-test] ]
1876.72 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1876.72 s
[opt-env-conf-test] [ [ functionChunk "conf",
1876.72 s
[opt-env-conf-test] " or ",
1876.72 s
[opt-env-conf-test] functionChunk "name",
1876.72 s
[opt-env-conf-test] " was called with no way to load configuration."
1876.72 s
[opt-env-conf-test] ],
1876.72 s
[opt-env-conf-test] [ "You can load configuration with ",
1876.72 s
[opt-env-conf-test] functionChunk "withConfig",
1876.72 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1876.72 s
[opt-env-conf-test] functionChunk "withoutConfig",
1876.72 s
[opt-env-conf-test] "."
1876.72 s
[opt-env-conf-test] ]
1876.72 s
[opt-env-conf-test] ]
1876.72 s
[opt-env-conf-test] LintErrorManyInfinite ->
1876.72 s
[opt-env-conf-test] [ [ functionChunk "many",
1876.72 s
[opt-env-conf-test] " or ",
1876.72 s
[opt-env-conf-test] functionChunk "some",
1876.72 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1876.72 s
[opt-env-conf-test] ],
1876.72 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1876.72 s
[opt-env-conf-test] ],
1876.72 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1876.72 s
[opt-env-conf-test] ]
1876.72 s
[opt-env-conf-test]
1876.72 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
1876.72 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1876.72 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1876.72 s
[opt-env-conf-test] go (c :| rest) =
1876.72 s
[opt-env-conf-test] if c `elem` cs
1876.72 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n ul l r e s t )) <$> NE.nonEmpty rest
1876.72 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, F a l s e )) <$> NE.nonEmpty rest
1876.72 s
[opt-env-conf-test] else do
1876.72 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1876.72 s
[opt-env-conf-test] new <- go rest'
1876.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1876.72 s
[opt-env-conf-test] @@ -66,168 +66,151 @@
1876.72 s
[opt-env-conf-test] renderLintError LintError {..} =
1876.72 s
[opt-env-conf-test] concat
1876.72 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1876.72 s
[opt-env-conf-test] case lintErrorMessage of
1876.72 s
[opt-env-conf-test] LintErrorUndocumented ->
1876.72 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1876.72 s
[opt-env-conf-test] LintErrorEmptySetting ->
1876.73 s
[opt-env-conf-test] concat
1876.73 s
[opt-env-conf-test] [ [ [ "This ",
1876.73 s
[opt-env-conf-test] functionChunk "setting",
1876.73 s
[opt-env-conf-test] " parses nothing."
1876.73 s
[opt-env-conf-test] ]
1876.73 s
[opt-env-conf-test] ],
1876.73 s
[opt-env-conf-test] [ [ "Add an ",
1876.73 s
[opt-env-conf-test] functionChunk "argument",
1876.73 s
[opt-env-conf-test] ", ",
1876.73 s
[opt-env-conf-test] functionChunk "switch",
1876.73 s
[opt-env-conf-test] ", ",
1876.73 s
[opt-env-conf-test] functionChunk "option",
1876.73 s
[opt-env-conf-test] ", ",
1876.73 s
[opt-env-conf-test] functionChunk "env",
1876.73 s
[opt-env-conf-test] ", ",
1876.73 s
[opt-env-conf-test] functionChunk "conf",
1876.73 s
[opt-env-conf-test] ", or ",
1876.73 s
[opt-env-conf-test] functionChunk "value",
1876.73 s
[opt-env-conf-test] "."
1876.73 s
[opt-env-conf-test] ]
1876.73 s
[opt-env-conf-test] ]
1876.73 s
[opt-env-conf-test] ]
1876.73 s
[opt-env-conf-test] LintErrorDashInShort ->
1876.73 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1876.73 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1876.73 s
[opt-env-conf-test] ]
1876.73 s
[opt-env-conf-test] - LintErrorDashInLong s ->
1876.73 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1876.73 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1876.73 s
[opt-env-conf-test] - [ "Try ",
1876.73 s
[opt-env-conf-test] - functionChunk "long",
1876.73 s
[opt-env-conf-test] - " ",
1876.73 s
[opt-env-conf-test] - chunk $
1876.73 s
[opt-env-conf-test] - T.pack $
1876.73 s
[opt-env-conf-test] - show $
1876.73 s
[opt-env-conf-test] - let go = \case
1876.73 s
[opt-env-conf-test] - [] -> []
1876.73 s
[opt-env-conf-test] - '-' : cs -> go cs
1876.73 s
[opt-env-conf-test] - c : cs -> c : cs
1876.73 s
[opt-env-conf-test] - in go $ NE.toList s,
1876.73 s
[opt-env-conf-test] - " instead."
1876.73 s
[opt-env-conf-test] - ]
1876.73 s
[opt-env-conf-test] - ]
1876.73 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1876.73 s
[opt-env-conf-test] [ [ functionChunk "argument",
1876.73 s
[opt-env-conf-test] " has no ",
1876.73 s
[opt-env-conf-test] functionChunk "reader",
1876.73 s
[opt-env-conf-test] "."
1876.73 s
[opt-env-conf-test] ]
1876.73 s
[opt-env-conf-test] ]
1876.73 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1876.73 s
[opt-env-conf-test] [ [ functionChunk "argument",
1876.73 s
[opt-env-conf-test] " has no ",
1876.73 s
[opt-env-conf-test] functionChunk "metavar",
1876.73 s
[opt-env-conf-test] "."
1876.73 s
[opt-env-conf-test] ]
1876.73 s
[opt-env-conf-test] ]
1876.73 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1876.73 s
[opt-env-conf-test] [ [ functionChunk "option",
1876.73 s
[opt-env-conf-test] " or ",
1876.73 s
[opt-env-conf-test] functionChunk "name",
1876.73 s
[opt-env-conf-test] " has no ",
1876.73 s
[opt-env-conf-test] functionChunk "reader",
1876.74 s
[opt-env-conf-test] "."
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1876.74 s
[opt-env-conf-test] [ [ functionChunk "option",
1876.74 s
[opt-env-conf-test] " has no ",
1876.74 s
[opt-env-conf-test] functionChunk "long",
1876.74 s
[opt-env-conf-test] " or ",
1876.74 s
[opt-env-conf-test] functionChunk "short",
1876.74 s
[opt-env-conf-test] "."
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1876.74 s
[opt-env-conf-test] [ [ functionChunk "option",
1876.74 s
[opt-env-conf-test] " or ",
1876.74 s
[opt-env-conf-test] functionChunk "name",
1876.74 s
[opt-env-conf-test] " has no ",
1876.74 s
[opt-env-conf-test] functionChunk "metavar",
1876.74 s
[opt-env-conf-test] "."
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1876.74 s
[opt-env-conf-test] [ [ functionChunk "switch",
1876.74 s
[opt-env-conf-test] " has no ",
1876.74 s
[opt-env-conf-test] functionChunk "long",
1876.74 s
[opt-env-conf-test] " or ",
1876.74 s
[opt-env-conf-test] functionChunk "short",
1876.74 s
[opt-env-conf-test] "."
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1876.74 s
[opt-env-conf-test] [ [ functionChunk "long",
1876.74 s
[opt-env-conf-test] " or ",
1876.74 s
[opt-env-conf-test] functionChunk "short",
1876.74 s
[opt-env-conf-test] " has no ",
1876.74 s
[opt-env-conf-test] functionChunk "option",
1876.74 s
[opt-env-conf-test] " or ",
1876.74 s
[opt-env-conf-test] functionChunk "switch",
1876.74 s
[opt-env-conf-test] "."
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1876.74 s
[opt-env-conf-test] [ [ functionChunk "env",
1876.74 s
[opt-env-conf-test] " or ",
1876.74 s
[opt-env-conf-test] functionChunk "name",
1876.74 s
[opt-env-conf-test] " has no ",
1876.74 s
[opt-env-conf-test] functionChunk "reader",
1876.74 s
[opt-env-conf-test] "."
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] ]
1876.74 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1876.74 s
[opt-env-conf-test] [ [ functionChunk "env",
1876.74 s
[opt-env-conf-test] " or ",
1876.74 s
[opt-env-conf-test] functionChunk "name",
1876.74 s
[opt-env-conf-test] " has no ",
1876.74 s
[opt-env-conf-test] functionChunk "metavar",
1876.74 s
[opt-env-conf-test] "."
1876.74 s
[opt-env-conf-test] ]
1877.29 s
[opt-env-conf-test] ]
1877.29 s
[opt-env-conf-test] LintErrorNoCommands ->
1877.29 s
[opt-env-conf-test] [ [ functionChunk "commands",
1877.29 s
[opt-env-conf-test] " was called with an empty list."
1877.29 s
[opt-env-conf-test] ]
1877.29 s
[opt-env-conf-test] ]
1877.30 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1877.30 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1877.30 s
[opt-env-conf-test] " was called with an unknown command: ",
1877.30 s
[opt-env-conf-test] commandChunk c
1877.30 s
[opt-env-conf-test] ]
1877.30 s
[opt-env-conf-test] ]
1877.30 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1877.30 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1877.30 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1877.30 s
[opt-env-conf-test] ]
1877.30 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1877.30 s
[opt-env-conf-test] [ [ functionChunk "conf",
1877.30 s
[opt-env-conf-test] " or ",
1877.30 s
[opt-env-conf-test] functionChunk "name",
1877.30 s
[opt-env-conf-test] " was called with no way to load configuration."
1877.30 s
[opt-env-conf-test] ],
1877.30 s
[opt-env-conf-test] [ "You can load configuration with ",
1877.30 s
[opt-env-conf-test] functionChunk "withConfig",
1877.30 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1877.30 s
[opt-env-conf-test] functionChunk "withoutConfig",
1877.30 s
[opt-env-conf-test] "."
1877.30 s
[opt-env-conf-test] ]
1877.30 s
[opt-env-conf-test] ]
1877.30 s
[opt-env-conf-test] LintErrorManyInfinite ->
1877.30 s
[opt-env-conf-test] [ [ functionChunk "many",
1877.30 s
[opt-env-conf-test] " or ",
1877.30 s
[opt-env-conf-test] functionChunk "some",
1877.30 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1877.30 s
[opt-env-conf-test] ],
1877.30 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1877.30 s
[opt-env-conf-test] ],
1877.30 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1877.30 s
[opt-env-conf-test] ]
1877.30 s
[opt-env-conf-test]
1877.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1877.30 s
[opt-env-conf-test] @@ -66,168 +66,164 @@
1877.30 s
[opt-env-conf-test] renderLintError LintError {..} =
1877.30 s
[opt-env-conf-test] concat
1877.30 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1877.30 s
[opt-env-conf-test] case lintErrorMessage of
1877.30 s
[opt-env-conf-test] LintErrorUndocumented ->
1877.30 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1877.30 s
[opt-env-conf-test] LintErrorEmptySetting ->
1877.30 s
[opt-env-conf-test] concat
1877.30 s
[opt-env-conf-test] [ [ [ "This ",
1877.30 s
[opt-env-conf-test] functionChunk "setting",
1877.30 s
[opt-env-conf-test] " parses nothing."
1877.30 s
[opt-env-conf-test] ]
1877.30 s
[opt-env-conf-test] ],
1877.30 s
[opt-env-conf-test] [ [ "Add an ",
1877.30 s
[opt-env-conf-test] functionChunk "argument",
1877.30 s
[opt-env-conf-test] ", ",
1877.30 s
[opt-env-conf-test] functionChunk "switch",
1877.30 s
[opt-env-conf-test] ", ",
1877.30 s
[opt-env-conf-test] functionChunk "option",
1877.30 s
[opt-env-conf-test] ", ",
1877.30 s
[opt-env-conf-test] functionChunk "env",
1877.30 s
[opt-env-conf-test] ", ",
1877.30 s
[opt-env-conf-test] functionChunk "conf",
1877.30 s
[opt-env-conf-test] ", or ",
1877.30 s
[opt-env-conf-test] functionChunk "value",
1877.30 s
[opt-env-conf-test] "."
1877.30 s
[opt-env-conf-test] ]
1877.30 s
[opt-env-conf-test] ]
1877.30 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] - LintErrorDashInShort ->
1877.31 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1877.31 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1877.31 s
[opt-env-conf-test] - ]
1877.31 s
[opt-env-conf-test] LintErrorDashInLong s ->
1877.31 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1877.31 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1877.31 s
[opt-env-conf-test] [ "Try ",
1877.31 s
[opt-env-conf-test] functionChunk "long",
1877.31 s
[opt-env-conf-test] " ",
1877.31 s
[opt-env-conf-test] chunk $
1877.31 s
[opt-env-conf-test] T.pack $
1877.31 s
[opt-env-conf-test] show $
1877.31 s
[opt-env-conf-test] let go = \case
1877.31 s
[opt-env-conf-test] [] -> []
1877.31 s
[opt-env-conf-test] '-' : cs -> go cs
1877.31 s
[opt-env-conf-test] c : cs -> c : cs
1877.31 s
[opt-env-conf-test] in go $ NE.toList s,
1877.31 s
[opt-env-conf-test] " instead."
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1877.31 s
[opt-env-conf-test] [ [ functionChunk "argument",
1877.31 s
[opt-env-conf-test] " has no ",
1877.31 s
[opt-env-conf-test] functionChunk "reader",
1877.31 s
[opt-env-conf-test] "."
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1877.31 s
[opt-env-conf-test] [ [ functionChunk "argument",
1877.31 s
[opt-env-conf-test] " has no ",
1877.31 s
[opt-env-conf-test] functionChunk "metavar",
1877.31 s
[opt-env-conf-test] "."
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1877.31 s
[opt-env-conf-test] [ [ functionChunk "option",
1877.31 s
[opt-env-conf-test] " or ",
1877.31 s
[opt-env-conf-test] functionChunk "name",
1877.31 s
[opt-env-conf-test] " has no ",
1877.31 s
[opt-env-conf-test] functionChunk "reader",
1877.31 s
[opt-env-conf-test] "."
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1877.31 s
[opt-env-conf-test] [ [ functionChunk "option",
1877.31 s
[opt-env-conf-test] " has no ",
1877.31 s
[opt-env-conf-test] functionChunk "long",
1877.31 s
[opt-env-conf-test] " or ",
1877.31 s
[opt-env-conf-test] functionChunk "short",
1877.31 s
[opt-env-conf-test] "."
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1877.31 s
[opt-env-conf-test] [ [ functionChunk "option",
1877.31 s
[opt-env-conf-test] " or ",
1877.31 s
[opt-env-conf-test] functionChunk "name",
1877.31 s
[opt-env-conf-test] " has no ",
1877.31 s
[opt-env-conf-test] functionChunk "metavar",
1877.31 s
[opt-env-conf-test] "."
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1877.31 s
[opt-env-conf-test] [ [ functionChunk "switch",
1877.31 s
[opt-env-conf-test] " has no ",
1877.31 s
[opt-env-conf-test] functionChunk "long",
1877.31 s
[opt-env-conf-test] " or ",
1877.31 s
[opt-env-conf-test] functionChunk "short",
1877.31 s
[opt-env-conf-test] "."
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1877.31 s
[opt-env-conf-test] [ [ functionChunk "long",
1877.31 s
[opt-env-conf-test] " or ",
1877.31 s
[opt-env-conf-test] functionChunk "short",
1877.31 s
[opt-env-conf-test] " has no ",
1877.31 s
[opt-env-conf-test] functionChunk "option",
1877.31 s
[opt-env-conf-test] " or ",
1877.31 s
[opt-env-conf-test] functionChunk "switch",
1877.31 s
[opt-env-conf-test] "."
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1877.31 s
[opt-env-conf-test] [ [ functionChunk "env",
1877.31 s
[opt-env-conf-test] " or ",
1877.31 s
[opt-env-conf-test] functionChunk "name",
1877.31 s
[opt-env-conf-test] " has no ",
1877.31 s
[opt-env-conf-test] functionChunk "reader",
1877.31 s
[opt-env-conf-test] "."
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1877.31 s
[opt-env-conf-test] [ [ functionChunk "env",
1877.31 s
[opt-env-conf-test] " or ",
1877.31 s
[opt-env-conf-test] functionChunk "name",
1877.31 s
[opt-env-conf-test] " has no ",
1877.31 s
[opt-env-conf-test] functionChunk "metavar",
1877.31 s
[opt-env-conf-test] "."
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] ]
1877.31 s
[opt-env-conf-test] LintErrorNoCommands ->
1877.31 s
[opt-env-conf-test] [ [ functionChunk "commands",
1879.57 s
[opt-env-conf-test] " was called with an empty list."
1879.57 s
[opt-env-conf-test] ]
1879.57 s
[opt-env-conf-test] ]
1879.67 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1879.67 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1879.67 s
[opt-env-conf-test] " was called with an unknown command: ",
1879.67 s
[opt-env-conf-test] commandChunk c
1879.67 s
[opt-env-conf-test] ]
1879.67 s
[opt-env-conf-test] ]
1879.67 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1879.67 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1879.67 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1879.67 s
[opt-env-conf-test] ]
1879.67 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1879.67 s
[opt-env-conf-test] [ [ functionChunk "conf",
1879.67 s
[opt-env-conf-test] " or ",
1879.67 s
[opt-env-conf-test] functionChunk "name",
1879.67 s
[opt-env-conf-test] " was called with no way to load configuration."
1879.67 s
[opt-env-conf-test] ],
1879.67 s
[opt-env-conf-test] [ "You can load configuration with ",
1879.67 s
[opt-env-conf-test] functionChunk "withConfig",
1879.67 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1879.67 s
[opt-env-conf-test] functionChunk "withoutConfig",
1879.67 s
[opt-env-conf-test] "."
1879.67 s
[opt-env-conf-test] ]
1879.67 s
[opt-env-conf-test] ]
1879.67 s
[opt-env-conf-test] LintErrorManyInfinite ->
1879.67 s
[opt-env-conf-test] [ [ functionChunk "many",
1879.67 s
[opt-env-conf-test] " or ",
1879.67 s
[opt-env-conf-test] functionChunk "some",
1879.67 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1879.67 s
[opt-env-conf-test] ],
1879.67 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1879.67 s
[opt-env-conf-test] ],
1879.67 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1879.67 s
[opt-env-conf-test] ]
1879.67 s
[opt-env-conf-test]
1879.68 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:365:34-43
1879.68 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1879.68 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1879.68 s
[opt-env-conf-test] go (c :| rest) =
1879.68 s
[opt-env-conf-test] if c `elem` cs
1879.68 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1879.68 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, n o t ( null rest)) ) <$> NE.nonEmpty rest
1879.68 s
[opt-env-conf-test] else do
1879.68 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1879.68 s
[opt-env-conf-test] new <- go rest'
1879.68 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:372:27-31
1879.68 s
[opt-env-conf-test] @@ -369,7 +369,7 @@
1879.68 s
[opt-env-conf-test] pure $
1879.68 s
[opt-env-conf-test] Just $
1879.68 s
[opt-env-conf-test] maybe
1879.68 s
[opt-env-conf-test] - (c :| [], Tr u e)
1879.68 s
[opt-env-conf-test] + (c :| [], F a ls e)
1879.68 s
[opt-env-conf-test] (first (c NE.<|))
1879.68 s
[opt-env-conf-test] new
1879.68 s
[opt-env-conf-test]
1879.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
1879.68 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1879.68 s
[opt-env-conf-test] NonEmpty Char ->
1879.68 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1879.68 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1879.68 s
[opt-env-conf-test] - if i s L on g
1879.68 s
[opt-env-conf-test] + if Tru e
1879.68 s
[opt-env-conf-test] then
1879.68 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1879.68 s
[opt-env-conf-test] then Just Nothing
1879.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1879.68 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1879.68 s
[opt-env-conf-test] renderLintError LintError {..} =
1879.68 s
[opt-env-conf-test] concat
1879.68 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1879.68 s
[opt-env-conf-test] case lintErrorMessage of
1879.68 s
[opt-env-conf-test] LintErrorUndocumented ->
1879.68 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1879.68 s
[opt-env-conf-test] LintErrorEmptySetting ->
1879.68 s
[opt-env-conf-test] concat
1879.68 s
[opt-env-conf-test] [ [ [ "This ",
1879.68 s
[opt-env-conf-test] functionChunk "setting",
1879.68 s
[opt-env-conf-test] " parses nothing."
1879.68 s
[opt-env-conf-test] ]
1879.68 s
[opt-env-conf-test] ],
1879.68 s
[opt-env-conf-test] [ [ "Add an ",
1879.68 s
[opt-env-conf-test] functionChunk "argument",
1879.68 s
[opt-env-conf-test] ", ",
1879.68 s
[opt-env-conf-test] functionChunk "switch",
1879.68 s
[opt-env-conf-test] ", ",
1879.68 s
[opt-env-conf-test] functionChunk "option",
1879.68 s
[opt-env-conf-test] ", ",
1879.68 s
[opt-env-conf-test] functionChunk "env",
1879.68 s
[opt-env-conf-test] ", ",
1879.68 s
[opt-env-conf-test] functionChunk "conf",
1879.68 s
[opt-env-conf-test] ", or ",
1879.68 s
[opt-env-conf-test] functionChunk "value",
1879.69 s
[opt-env-conf-test] "."
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] LintErrorDashInShort ->
1879.69 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1879.69 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] LintErrorDashInLong s ->
1879.69 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1879.69 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1879.69 s
[opt-env-conf-test] [ "Try ",
1879.69 s
[opt-env-conf-test] functionChunk "long",
1879.69 s
[opt-env-conf-test] " ",
1879.69 s
[opt-env-conf-test] chunk $
1879.69 s
[opt-env-conf-test] T.pack $
1879.69 s
[opt-env-conf-test] show $
1879.69 s
[opt-env-conf-test] let go = \case
1879.69 s
[opt-env-conf-test] [] -> []
1879.69 s
[opt-env-conf-test] '-' : cs -> go cs
1879.69 s
[opt-env-conf-test] c : cs -> c : cs
1879.69 s
[opt-env-conf-test] in go $ NE.toList s,
1879.69 s
[opt-env-conf-test] " instead."
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1879.69 s
[opt-env-conf-test] [ [ functionChunk "argument",
1879.69 s
[opt-env-conf-test] " has no ",
1879.69 s
[opt-env-conf-test] functionChunk "reader",
1879.69 s
[opt-env-conf-test] "."
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1879.69 s
[opt-env-conf-test] [ [ functionChunk "argument",
1879.69 s
[opt-env-conf-test] " has no ",
1879.69 s
[opt-env-conf-test] functionChunk "metavar",
1879.69 s
[opt-env-conf-test] "."
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1879.69 s
[opt-env-conf-test] [ [ functionChunk "option",
1879.69 s
[opt-env-conf-test] " or ",
1879.69 s
[opt-env-conf-test] functionChunk "name",
1879.69 s
[opt-env-conf-test] " has no ",
1879.69 s
[opt-env-conf-test] functionChunk "reader",
1879.69 s
[opt-env-conf-test] "."
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] - LintErrorNoDashedForOption ->
1879.69 s
[opt-env-conf-test] - [ [ functionChunk "option",
1879.69 s
[opt-env-conf-test] - " has no ",
1879.69 s
[opt-env-conf-test] - functionChunk "long",
1879.69 s
[opt-env-conf-test] - " or ",
1879.69 s
[opt-env-conf-test] - functionChunk "short",
1879.69 s
[opt-env-conf-test] - "."
1879.69 s
[opt-env-conf-test] - ]
1879.69 s
[opt-env-conf-test] - ]
1879.69 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1879.69 s
[opt-env-conf-test] [ [ functionChunk "option",
1879.69 s
[opt-env-conf-test] " or ",
1879.69 s
[opt-env-conf-test] functionChunk "name",
1879.69 s
[opt-env-conf-test] " has no ",
1879.69 s
[opt-env-conf-test] functionChunk "metavar",
1879.69 s
[opt-env-conf-test] "."
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1879.69 s
[opt-env-conf-test] [ [ functionChunk "switch",
1879.69 s
[opt-env-conf-test] " has no ",
1879.69 s
[opt-env-conf-test] functionChunk "long",
1879.69 s
[opt-env-conf-test] " or ",
1879.69 s
[opt-env-conf-test] functionChunk "short",
1879.69 s
[opt-env-conf-test] "."
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] ]
1879.69 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1879.70 s
[opt-env-conf-test] [ [ functionChunk "long",
1879.70 s
[opt-env-conf-test] " or ",
1879.70 s
[opt-env-conf-test] functionChunk "short",
1879.70 s
[opt-env-conf-test] " has no ",
1879.70 s
[opt-env-conf-test] functionChunk "option",
1879.70 s
[opt-env-conf-test] " or ",
1879.70 s
[opt-env-conf-test] functionChunk "switch",
1879.70 s
[opt-env-conf-test] "."
1879.70 s
[opt-env-conf-test] ]
1879.70 s
[opt-env-conf-test] ]
1879.70 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1879.70 s
[opt-env-conf-test] [ [ functionChunk "env",
1879.70 s
[opt-env-conf-test] " or ",
1879.70 s
[opt-env-conf-test] functionChunk "name",
1879.70 s
[opt-env-conf-test] " has no ",
1879.70 s
[opt-env-conf-test] functionChunk "reader",
1879.70 s
[opt-env-conf-test] "."
1879.70 s
[opt-env-conf-test] ]
1879.70 s
[opt-env-conf-test] ]
1879.70 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1879.70 s
[opt-env-conf-test] [ [ functionChunk "env",
1879.70 s
[opt-env-conf-test] " or ",
1879.70 s
[opt-env-conf-test] functionChunk "name",
1879.70 s
[opt-env-conf-test] " has no ",
1879.70 s
[opt-env-conf-test] functionChunk "metavar",
1879.70 s
[opt-env-conf-test] "."
1879.70 s
[opt-env-conf-test] ]
1879.70 s
[opt-env-conf-test] ]
1879.70 s
[opt-env-conf-test] LintErrorNoCommands ->
1880.97 s
[opt-env-conf-test] [ [ functionChunk "commands",
1880.97 s
[opt-env-conf-test] " was called with an empty list."
1880.97 s
[opt-env-conf-test] ]
1880.97 s
[opt-env-conf-test] ]
1880.97 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1880.97 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1880.97 s
[opt-env-conf-test] " was called with an unknown command: ",
1880.97 s
[opt-env-conf-test] commandChunk c
1880.97 s
[opt-env-conf-test] ]
1880.97 s
[opt-env-conf-test] ]
1880.97 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1880.97 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1880.97 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1880.97 s
[opt-env-conf-test] ]
1880.97 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1880.98 s
[opt-env-conf-test] [ [ functionChunk "conf",
1880.98 s
[opt-env-conf-test] " or ",
1880.98 s
[opt-env-conf-test] functionChunk "name",
1880.98 s
[opt-env-conf-test] " was called with no way to load configuration."
1880.98 s
[opt-env-conf-test] ],
1880.98 s
[opt-env-conf-test] [ "You can load configuration with ",
1880.98 s
[opt-env-conf-test] functionChunk "withConfig",
1880.98 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1880.98 s
[opt-env-conf-test] functionChunk "withoutConfig",
1880.98 s
[opt-env-conf-test] "."
1880.98 s
[opt-env-conf-test] ]
1880.98 s
[opt-env-conf-test] ]
1880.98 s
[opt-env-conf-test] LintErrorManyInfinite ->
1880.98 s
[opt-env-conf-test] [ [ functionChunk "many",
1880.98 s
[opt-env-conf-test] " or ",
1880.98 s
[opt-env-conf-test] functionChunk "some",
1880.98 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1880.98 s
[opt-env-conf-test] ],
1880.98 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1880.98 s
[opt-env-conf-test] ],
1880.98 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1880.98 s
[opt-env-conf-test] ]
1880.98 s
[opt-env-conf-test]
1880.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
1880.98 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1880.98 s
[opt-env-conf-test] NonEmpty Char ->
1880.98 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1880.98 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1880.98 s
[opt-env-conf-test] - if i s Long
1880.98 s
[opt-env-conf-test] + if F a l s e
1880.98 s
[opt-env-conf-test] then
1880.98 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1880.98 s
[opt-env-conf-test] then Just Nothing
1880.98 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:352:6-12
1880.98 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1880.98 s
[opt-env-conf-test] NonEmpty Char ->
1880.98 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1880.98 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1880.98 s
[opt-env-conf-test] - if isLong
1880.98 s
[opt-env-conf-test] + if n o t ( isLong )
1880.98 s
[opt-env-conf-test] then
1880.98 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1880.98 s
[opt-env-conf-test] then Just Nothing
1880.98 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1880.98 s
[opt-env-conf-test] @@ -66,168 +66,145 @@
1880.99 s
[opt-env-conf-test] renderLintError LintError {..} =
1880.99 s
[opt-env-conf-test] concat
1880.99 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1880.99 s
[opt-env-conf-test] case lintErrorMessage of
1880.99 s
[opt-env-conf-test] LintErrorUndocumented ->
1880.99 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1880.99 s
[opt-env-conf-test] - LintErrorEmptySetting ->
1880.99 s
[opt-env-conf-test] - concat
1880.99 s
[opt-env-conf-test] - [ [ [ "This ",
1880.99 s
[opt-env-conf-test] - functionChunk "setting",
1880.99 s
[opt-env-conf-test] - " parses nothing."
1880.99 s
[opt-env-conf-test] - ]
1880.99 s
[opt-env-conf-test] - ],
1880.99 s
[opt-env-conf-test] - [ [ "Add an ",
1880.99 s
[opt-env-conf-test] - functionChunk "argument",
1880.99 s
[opt-env-conf-test] - ", ",
1880.99 s
[opt-env-conf-test] - functionChunk "switch",
1880.99 s
[opt-env-conf-test] - ", ",
1880.99 s
[opt-env-conf-test] - functionChunk "option",
1880.99 s
[opt-env-conf-test] - ", ",
1880.99 s
[opt-env-conf-test] - functionChunk "env",
1880.99 s
[opt-env-conf-test] - ", ",
1880.99 s
[opt-env-conf-test] - functionChunk "conf",
1880.99 s
[opt-env-conf-test] - ", or ",
1880.99 s
[opt-env-conf-test] - functionChunk "value",
1880.99 s
[opt-env-conf-test] - "."
1880.99 s
[opt-env-conf-test] - ]
1880.99 s
[opt-env-conf-test] - ]
1880.99 s
[opt-env-conf-test] - ]
1880.99 s
[opt-env-conf-test] LintErrorDashInShort ->
1880.99 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1880.99 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1880.99 s
[opt-env-conf-test] ]
1880.99 s
[opt-env-conf-test] LintErrorDashInLong s ->
1880.99 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1880.99 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1880.99 s
[opt-env-conf-test] [ "Try ",
1880.99 s
[opt-env-conf-test] functionChunk "long",
1880.99 s
[opt-env-conf-test] " ",
1880.99 s
[opt-env-conf-test] chunk $
1880.99 s
[opt-env-conf-test] T.pack $
1880.99 s
[opt-env-conf-test] show $
1880.99 s
[opt-env-conf-test] let go = \case
1880.99 s
[opt-env-conf-test] [] -> []
1880.99 s
[opt-env-conf-test] '-' : cs -> go cs
1880.99 s
[opt-env-conf-test] c : cs -> c : cs
1880.99 s
[opt-env-conf-test] in go $ NE.toList s,
1880.99 s
[opt-env-conf-test] " instead."
1880.99 s
[opt-env-conf-test] ]
1880.99 s
[opt-env-conf-test] ]
1880.99 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1880.99 s
[opt-env-conf-test] [ [ functionChunk "argument",
1880.99 s
[opt-env-conf-test] " has no ",
1880.99 s
[opt-env-conf-test] functionChunk "reader",
1880.99 s
[opt-env-conf-test] "."
1880.99 s
[opt-env-conf-test] ]
1880.99 s
[opt-env-conf-test] ]
1880.99 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1880.99 s
[opt-env-conf-test] [ [ functionChunk "argument",
1880.99 s
[opt-env-conf-test] " has no ",
1880.99 s
[opt-env-conf-test] functionChunk "metavar",
1880.99 s
[opt-env-conf-test] "."
1880.99 s
[opt-env-conf-test] ]
1880.99 s
[opt-env-conf-test] ]
1880.99 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1881.00 s
[opt-env-conf-test] [ [ functionChunk "option",
1881.00 s
[opt-env-conf-test] " or ",
1881.00 s
[opt-env-conf-test] functionChunk "name",
1881.00 s
[opt-env-conf-test] " has no ",
1881.00 s
[opt-env-conf-test] functionChunk "reader",
1881.00 s
[opt-env-conf-test] "."
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1881.00 s
[opt-env-conf-test] [ [ functionChunk "option",
1881.00 s
[opt-env-conf-test] " has no ",
1881.00 s
[opt-env-conf-test] functionChunk "long",
1881.00 s
[opt-env-conf-test] " or ",
1881.00 s
[opt-env-conf-test] functionChunk "short",
1881.00 s
[opt-env-conf-test] "."
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1881.00 s
[opt-env-conf-test] [ [ functionChunk "option",
1881.00 s
[opt-env-conf-test] " or ",
1881.00 s
[opt-env-conf-test] functionChunk "name",
1881.00 s
[opt-env-conf-test] " has no ",
1881.00 s
[opt-env-conf-test] functionChunk "metavar",
1881.00 s
[opt-env-conf-test] "."
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1881.00 s
[opt-env-conf-test] [ [ functionChunk "switch",
1881.00 s
[opt-env-conf-test] " has no ",
1881.00 s
[opt-env-conf-test] functionChunk "long",
1881.00 s
[opt-env-conf-test] " or ",
1881.00 s
[opt-env-conf-test] functionChunk "short",
1881.00 s
[opt-env-conf-test] "."
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1881.00 s
[opt-env-conf-test] [ [ functionChunk "long",
1881.00 s
[opt-env-conf-test] " or ",
1881.00 s
[opt-env-conf-test] functionChunk "short",
1881.00 s
[opt-env-conf-test] " has no ",
1881.00 s
[opt-env-conf-test] functionChunk "option",
1881.00 s
[opt-env-conf-test] " or ",
1881.00 s
[opt-env-conf-test] functionChunk "switch",
1881.00 s
[opt-env-conf-test] "."
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1881.00 s
[opt-env-conf-test] [ [ functionChunk "env",
1881.00 s
[opt-env-conf-test] " or ",
1881.00 s
[opt-env-conf-test] functionChunk "name",
1881.00 s
[opt-env-conf-test] " has no ",
1881.00 s
[opt-env-conf-test] functionChunk "reader",
1881.00 s
[opt-env-conf-test] "."
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] ]
1881.00 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1881.00 s
[opt-env-conf-test] [ [ functionChunk "env",
1881.00 s
[opt-env-conf-test] " or ",
1881.00 s
[opt-env-conf-test] functionChunk "name",
1881.00 s
[opt-env-conf-test] " has no ",
1883.36 s
[opt-env-conf-test] functionChunk "metavar",
1883.36 s
[opt-env-conf-test] "."
1883.36 s
[opt-env-conf-test] ]
1883.36 s
[opt-env-conf-test] ]
1883.36 s
[opt-env-conf-test] LintErrorNoCommands ->
1883.36 s
[opt-env-conf-test] [ [ functionChunk "commands",
1883.36 s
[opt-env-conf-test] " was called with an empty list."
1883.36 s
[opt-env-conf-test] ]
1883.36 s
[opt-env-conf-test] ]
1883.36 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1883.36 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1883.36 s
[opt-env-conf-test] " was called with an unknown command: ",
1883.36 s
[opt-env-conf-test] commandChunk c
1883.36 s
[opt-env-conf-test] ]
1883.36 s
[opt-env-conf-test] ]
1883.36 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1883.37 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1883.37 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1883.37 s
[opt-env-conf-test] ]
1883.37 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1883.37 s
[opt-env-conf-test] [ [ functionChunk "conf",
1883.37 s
[opt-env-conf-test] " or ",
1883.37 s
[opt-env-conf-test] functionChunk "name",
1883.37 s
[opt-env-conf-test] " was called with no way to load configuration."
1883.37 s
[opt-env-conf-test] ],
1883.37 s
[opt-env-conf-test] [ "You can load configuration with ",
1883.37 s
[opt-env-conf-test] functionChunk "withConfig",
1883.37 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1883.37 s
[opt-env-conf-test] functionChunk "withoutConfig",
1883.37 s
[opt-env-conf-test] "."
1883.37 s
[opt-env-conf-test] ]
1883.37 s
[opt-env-conf-test] ]
1883.37 s
[opt-env-conf-test] LintErrorManyInfinite ->
1883.37 s
[opt-env-conf-test] [ [ functionChunk "many",
1883.37 s
[opt-env-conf-test] " or ",
1883.37 s
[opt-env-conf-test] functionChunk "some",
1883.37 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1883.37 s
[opt-env-conf-test] ],
1883.37 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1883.37 s
[opt-env-conf-test] ],
1883.37 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1883.37 s
[opt-env-conf-test] ]
1883.37 s
[opt-env-conf-test]
1883.37 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
1883.37 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1883.37 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1883.37 s
[opt-env-conf-test] if isLong
1883.37 s
[opt-env-conf-test] then
1883.37 s
[opt-env-conf-test] - if D as hedL ong cs `ele m` da s h e d s
1883.37 s
[opt-env-conf-test] + if Tr u e
1883.37 s
[opt-env-conf-test] then Just Nothing
1883.37 s
[opt-env-conf-test] else Nothing
1883.37 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1883.37 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
1883.37 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1883.37 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1883.37 s
[opt-env-conf-test] if isLong
1883.37 s
[opt-env-conf-test] then
1883.37 s
[opt-env-conf-test] - if D a sh edL ong cs `e l em` da s h e d s
1883.37 s
[opt-env-conf-test] + if F a l s e
1883.37 s
[opt-env-conf-test] then Just Nothing
1883.37 s
[opt-env-conf-test] else Nothing
1883.37 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1883.37 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:354:10-38
1883.37 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1883.37 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1883.37 s
[opt-env-conf-test] if isLong
1883.37 s
[opt-env-conf-test] then
1883.37 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1883.37 s
[opt-env-conf-test] + if n o t ( DashedLong cs `elem` dasheds )
1883.37 s
[opt-env-conf-test] then Just Nothing
1883.37 s
[opt-env-conf-test] else Nothing
1883.37 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1883.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1883.37 s
[opt-env-conf-test] @@ -66,168 +66,161 @@
1883.37 s
[opt-env-conf-test] renderLintError LintError {..} =
1883.37 s
[opt-env-conf-test] concat
1883.37 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1883.37 s
[opt-env-conf-test] case lintErrorMessage of
1883.37 s
[opt-env-conf-test] LintErrorUndocumented ->
1883.37 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1883.37 s
[opt-env-conf-test] LintErrorEmptySetting ->
1883.37 s
[opt-env-conf-test] concat
1883.37 s
[opt-env-conf-test] [ [ [ "This ",
1883.37 s
[opt-env-conf-test] functionChunk "setting",
1883.37 s
[opt-env-conf-test] " parses nothing."
1883.37 s
[opt-env-conf-test] ]
1883.37 s
[opt-env-conf-test] ],
1883.37 s
[opt-env-conf-test] [ [ "Add an ",
1883.37 s
[opt-env-conf-test] functionChunk "argument",
1883.38 s
[opt-env-conf-test] ", ",
1883.38 s
[opt-env-conf-test] functionChunk "switch",
1883.38 s
[opt-env-conf-test] ", ",
1883.38 s
[opt-env-conf-test] functionChunk "option",
1883.38 s
[opt-env-conf-test] ", ",
1883.38 s
[opt-env-conf-test] functionChunk "env",
1883.38 s
[opt-env-conf-test] ", ",
1883.38 s
[opt-env-conf-test] functionChunk "conf",
1883.38 s
[opt-env-conf-test] ", or ",
1883.38 s
[opt-env-conf-test] functionChunk "value",
1883.38 s
[opt-env-conf-test] "."
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] LintErrorDashInShort ->
1883.38 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1883.38 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] LintErrorDashInLong s ->
1883.38 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1883.38 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1883.38 s
[opt-env-conf-test] [ "Try ",
1883.38 s
[opt-env-conf-test] functionChunk "long",
1883.38 s
[opt-env-conf-test] " ",
1883.38 s
[opt-env-conf-test] chunk $
1883.38 s
[opt-env-conf-test] T.pack $
1883.38 s
[opt-env-conf-test] show $
1883.38 s
[opt-env-conf-test] let go = \case
1883.38 s
[opt-env-conf-test] [] -> []
1883.38 s
[opt-env-conf-test] '-' : cs -> go cs
1883.38 s
[opt-env-conf-test] c : cs -> c : cs
1883.38 s
[opt-env-conf-test] in go $ NE.toList s,
1883.38 s
[opt-env-conf-test] " instead."
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1883.38 s
[opt-env-conf-test] [ [ functionChunk "argument",
1883.38 s
[opt-env-conf-test] " has no ",
1883.38 s
[opt-env-conf-test] functionChunk "reader",
1883.38 s
[opt-env-conf-test] "."
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] - LintErrorNoMetavarForArgument ->
1883.38 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1883.38 s
[opt-env-conf-test] - " has no ",
1883.38 s
[opt-env-conf-test] - functionChunk "metavar",
1883.38 s
[opt-env-conf-test] - "."
1883.38 s
[opt-env-conf-test] - ]
1883.38 s
[opt-env-conf-test] - ]
1883.38 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1883.38 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.38 s
[opt-env-conf-test] " or ",
1883.38 s
[opt-env-conf-test] functionChunk "name",
1883.38 s
[opt-env-conf-test] " has no ",
1883.38 s
[opt-env-conf-test] functionChunk "reader",
1883.38 s
[opt-env-conf-test] "."
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1883.38 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.38 s
[opt-env-conf-test] " has no ",
1883.38 s
[opt-env-conf-test] functionChunk "long",
1883.38 s
[opt-env-conf-test] " or ",
1883.38 s
[opt-env-conf-test] functionChunk "short",
1883.38 s
[opt-env-conf-test] "."
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1883.38 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.38 s
[opt-env-conf-test] " or ",
1883.38 s
[opt-env-conf-test] functionChunk "name",
1883.38 s
[opt-env-conf-test] " has no ",
1883.38 s
[opt-env-conf-test] functionChunk "metavar",
1883.38 s
[opt-env-conf-test] "."
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1883.38 s
[opt-env-conf-test] [ [ functionChunk "switch",
1883.38 s
[opt-env-conf-test] " has no ",
1883.38 s
[opt-env-conf-test] functionChunk "long",
1883.38 s
[opt-env-conf-test] " or ",
1883.38 s
[opt-env-conf-test] functionChunk "short",
1883.38 s
[opt-env-conf-test] "."
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1883.38 s
[opt-env-conf-test] [ [ functionChunk "long",
1883.38 s
[opt-env-conf-test] " or ",
1883.38 s
[opt-env-conf-test] functionChunk "short",
1883.38 s
[opt-env-conf-test] " has no ",
1883.38 s
[opt-env-conf-test] functionChunk "option",
1883.38 s
[opt-env-conf-test] " or ",
1883.38 s
[opt-env-conf-test] functionChunk "switch",
1883.38 s
[opt-env-conf-test] "."
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1883.38 s
[opt-env-conf-test] [ [ functionChunk "env",
1883.38 s
[opt-env-conf-test] " or ",
1883.38 s
[opt-env-conf-test] functionChunk "name",
1883.38 s
[opt-env-conf-test] " has no ",
1883.38 s
[opt-env-conf-test] functionChunk "reader",
1883.38 s
[opt-env-conf-test] "."
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1883.38 s
[opt-env-conf-test] [ [ functionChunk "env",
1883.38 s
[opt-env-conf-test] " or ",
1883.38 s
[opt-env-conf-test] functionChunk "name",
1883.38 s
[opt-env-conf-test] " has no ",
1883.38 s
[opt-env-conf-test] functionChunk "metavar",
1883.38 s
[opt-env-conf-test] "."
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] ]
1883.38 s
[opt-env-conf-test] LintErrorNoCommands ->
1883.64 s
[opt-env-conf-test] [ [ functionChunk "commands",
1883.64 s
[opt-env-conf-test] " was called with an empty list."
1883.64 s
[opt-env-conf-test] ]
1883.64 s
[opt-env-conf-test] ]
1883.64 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1883.64 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1883.64 s
[opt-env-conf-test] " was called with an unknown command: ",
1883.64 s
[opt-env-conf-test] commandChunk c
1883.64 s
[opt-env-conf-test] ]
1883.64 s
[opt-env-conf-test] ]
1883.64 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1883.64 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1883.64 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1883.64 s
[opt-env-conf-test] ]
1883.64 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1883.64 s
[opt-env-conf-test] [ [ functionChunk "conf",
1883.64 s
[opt-env-conf-test] " or ",
1883.64 s
[opt-env-conf-test] functionChunk "name",
1883.64 s
[opt-env-conf-test] " was called with no way to load configuration."
1883.64 s
[opt-env-conf-test] ],
1883.64 s
[opt-env-conf-test] [ "You can load configuration with ",
1883.64 s
[opt-env-conf-test] functionChunk "withConfig",
1883.64 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1883.64 s
[opt-env-conf-test] functionChunk "withoutConfig",
1883.64 s
[opt-env-conf-test] "."
1883.64 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] LintErrorManyInfinite ->
1883.65 s
[opt-env-conf-test] [ [ functionChunk "many",
1883.65 s
[opt-env-conf-test] " or ",
1883.65 s
[opt-env-conf-test] functionChunk "some",
1883.65 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1883.65 s
[opt-env-conf-test] ],
1883.65 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1883.65 s
[opt-env-conf-test] ],
1883.65 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test]
1883.65 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1883.65 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1883.65 s
[opt-env-conf-test] renderLintError LintError {..} =
1883.65 s
[opt-env-conf-test] concat
1883.65 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1883.65 s
[opt-env-conf-test] case lintErrorMessage of
1883.65 s
[opt-env-conf-test] LintErrorUndocumented ->
1883.65 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1883.65 s
[opt-env-conf-test] LintErrorEmptySetting ->
1883.65 s
[opt-env-conf-test] concat
1883.65 s
[opt-env-conf-test] [ [ [ "This ",
1883.65 s
[opt-env-conf-test] functionChunk "setting",
1883.65 s
[opt-env-conf-test] " parses nothing."
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] ],
1883.65 s
[opt-env-conf-test] [ [ "Add an ",
1883.65 s
[opt-env-conf-test] functionChunk "argument",
1883.65 s
[opt-env-conf-test] ", ",
1883.65 s
[opt-env-conf-test] functionChunk "switch",
1883.65 s
[opt-env-conf-test] ", ",
1883.65 s
[opt-env-conf-test] functionChunk "option",
1883.65 s
[opt-env-conf-test] ", ",
1883.65 s
[opt-env-conf-test] functionChunk "env",
1883.65 s
[opt-env-conf-test] ", ",
1883.65 s
[opt-env-conf-test] functionChunk "conf",
1883.65 s
[opt-env-conf-test] ", or ",
1883.65 s
[opt-env-conf-test] functionChunk "value",
1883.65 s
[opt-env-conf-test] "."
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] LintErrorDashInShort ->
1883.65 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1883.65 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] LintErrorDashInLong s ->
1883.65 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1883.65 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1883.65 s
[opt-env-conf-test] [ "Try ",
1883.65 s
[opt-env-conf-test] functionChunk "long",
1883.65 s
[opt-env-conf-test] " ",
1883.65 s
[opt-env-conf-test] chunk $
1883.65 s
[opt-env-conf-test] T.pack $
1883.65 s
[opt-env-conf-test] show $
1883.65 s
[opt-env-conf-test] let go = \case
1883.65 s
[opt-env-conf-test] [] -> []
1883.65 s
[opt-env-conf-test] '-' : cs -> go cs
1883.65 s
[opt-env-conf-test] c : cs -> c : cs
1883.65 s
[opt-env-conf-test] in go $ NE.toList s,
1883.65 s
[opt-env-conf-test] " instead."
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1883.65 s
[opt-env-conf-test] [ [ functionChunk "argument",
1883.65 s
[opt-env-conf-test] " has no ",
1883.65 s
[opt-env-conf-test] functionChunk "reader",
1883.65 s
[opt-env-conf-test] "."
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1883.65 s
[opt-env-conf-test] [ [ functionChunk "argument",
1883.65 s
[opt-env-conf-test] " has no ",
1883.65 s
[opt-env-conf-test] functionChunk "metavar",
1883.65 s
[opt-env-conf-test] "."
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] - LintErrorNoReaderForOption ->
1883.65 s
[opt-env-conf-test] - [ [ functionChunk "option",
1883.65 s
[opt-env-conf-test] - " or ",
1883.65 s
[opt-env-conf-test] - functionChunk "name",
1883.65 s
[opt-env-conf-test] - " has no ",
1883.65 s
[opt-env-conf-test] - functionChunk "reader",
1883.65 s
[opt-env-conf-test] - "."
1883.65 s
[opt-env-conf-test] - ]
1883.65 s
[opt-env-conf-test] - ]
1883.65 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1883.65 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.65 s
[opt-env-conf-test] " has no ",
1883.65 s
[opt-env-conf-test] functionChunk "long",
1883.65 s
[opt-env-conf-test] " or ",
1883.65 s
[opt-env-conf-test] functionChunk "short",
1883.65 s
[opt-env-conf-test] "."
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] ]
1883.65 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1883.65 s
[opt-env-conf-test] [ [ functionChunk "option",
1883.65 s
[opt-env-conf-test] " or ",
1883.65 s
[opt-env-conf-test] functionChunk "name",
1883.65 s
[opt-env-conf-test] " has no ",
1883.65 s
[opt-env-conf-test] functionChunk "metavar",
1883.65 s
[opt-env-conf-test] "."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1883.66 s
[opt-env-conf-test] [ [ functionChunk "switch",
1883.66 s
[opt-env-conf-test] " has no ",
1883.66 s
[opt-env-conf-test] functionChunk "long",
1883.66 s
[opt-env-conf-test] " or ",
1883.66 s
[opt-env-conf-test] functionChunk "short",
1883.66 s
[opt-env-conf-test] "."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1883.66 s
[opt-env-conf-test] [ [ functionChunk "long",
1883.66 s
[opt-env-conf-test] " or ",
1883.66 s
[opt-env-conf-test] functionChunk "short",
1883.66 s
[opt-env-conf-test] " has no ",
1883.66 s
[opt-env-conf-test] functionChunk "option",
1883.66 s
[opt-env-conf-test] " or ",
1883.66 s
[opt-env-conf-test] functionChunk "switch",
1883.66 s
[opt-env-conf-test] "."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1883.66 s
[opt-env-conf-test] [ [ functionChunk "env",
1883.66 s
[opt-env-conf-test] " or ",
1883.66 s
[opt-env-conf-test] functionChunk "name",
1883.66 s
[opt-env-conf-test] " has no ",
1883.66 s
[opt-env-conf-test] functionChunk "reader",
1883.66 s
[opt-env-conf-test] "."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1883.66 s
[opt-env-conf-test] [ [ functionChunk "env",
1883.66 s
[opt-env-conf-test] " or ",
1883.66 s
[opt-env-conf-test] functionChunk "name",
1883.66 s
[opt-env-conf-test] " has no ",
1883.66 s
[opt-env-conf-test] functionChunk "metavar",
1883.66 s
[opt-env-conf-test] "."
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] ]
1883.66 s
[opt-env-conf-test] LintErrorNoCommands ->
1885.30 s
[opt-env-conf-test] [ [ functionChunk "commands",
1885.41 s
[opt-env-conf-test] " was called with an empty list."
1885.41 s
[opt-env-conf-test] ]
1885.41 s
[opt-env-conf-test] ]
1885.41 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1885.41 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1885.41 s
[opt-env-conf-test] " was called with an unknown command: ",
1885.41 s
[opt-env-conf-test] commandChunk c
1885.41 s
[opt-env-conf-test] ]
1885.41 s
[opt-env-conf-test] ]
1885.41 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1885.42 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1885.42 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1885.42 s
[opt-env-conf-test] ]
1885.42 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1885.42 s
[opt-env-conf-test] [ [ functionChunk "conf",
1885.42 s
[opt-env-conf-test] " or ",
1885.42 s
[opt-env-conf-test] functionChunk "name",
1885.42 s
[opt-env-conf-test] " was called with no way to load configuration."
1885.42 s
[opt-env-conf-test] ],
1885.42 s
[opt-env-conf-test] [ "You can load configuration with ",
1885.42 s
[opt-env-conf-test] functionChunk "withConfig",
1885.42 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1885.42 s
[opt-env-conf-test] functionChunk "withoutConfig",
1885.42 s
[opt-env-conf-test] "."
1885.42 s
[opt-env-conf-test] ]
1885.42 s
[opt-env-conf-test] ]
1885.42 s
[opt-env-conf-test] LintErrorManyInfinite ->
1885.42 s
[opt-env-conf-test] [ [ functionChunk "many",
1885.42 s
[opt-env-conf-test] " or ",
1885.42 s
[opt-env-conf-test] functionChunk "some",
1885.42 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1885.42 s
[opt-env-conf-test] ],
1885.42 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1885.42 s
[opt-env-conf-test] ],
1885.42 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1885.42 s
[opt-env-conf-test] ]
1885.42 s
[opt-env-conf-test]
1885.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1885.42 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1885.42 s
[opt-env-conf-test] renderLintError LintError {..} =
1885.42 s
[opt-env-conf-test] concat
1885.42 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1885.42 s
[opt-env-conf-test] case lintErrorMessage of
1885.42 s
[opt-env-conf-test] LintErrorUndocumented ->
1885.42 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1885.43 s
[opt-env-conf-test] LintErrorEmptySetting ->
1885.43 s
[opt-env-conf-test] concat
1885.43 s
[opt-env-conf-test] [ [ [ "This ",
1885.43 s
[opt-env-conf-test] functionChunk "setting",
1885.43 s
[opt-env-conf-test] " parses nothing."
1885.43 s
[opt-env-conf-test] ]
1885.43 s
[opt-env-conf-test] ],
1885.43 s
[opt-env-conf-test] [ [ "Add an ",
1885.43 s
[opt-env-conf-test] functionChunk "argument",
1885.43 s
[opt-env-conf-test] ", ",
1885.43 s
[opt-env-conf-test] functionChunk "switch",
1885.43 s
[opt-env-conf-test] ", ",
1885.43 s
[opt-env-conf-test] functionChunk "option",
1885.43 s
[opt-env-conf-test] ", ",
1885.43 s
[opt-env-conf-test] functionChunk "env",
1885.43 s
[opt-env-conf-test] ", ",
1885.43 s
[opt-env-conf-test] functionChunk "conf",
1885.43 s
[opt-env-conf-test] ", or ",
1885.43 s
[opt-env-conf-test] functionChunk "value",
1885.43 s
[opt-env-conf-test] "."
1885.43 s
[opt-env-conf-test] ]
1885.43 s
[opt-env-conf-test] ]
1885.43 s
[opt-env-conf-test] ]
1885.43 s
[opt-env-conf-test] LintErrorDashInShort ->
1885.43 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1885.43 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1885.43 s
[opt-env-conf-test] ]
1885.43 s
[opt-env-conf-test] LintErrorDashInLong s ->
1885.43 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1885.43 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1885.43 s
[opt-env-conf-test] [ "Try ",
1885.43 s
[opt-env-conf-test] functionChunk "long",
1885.43 s
[opt-env-conf-test] " ",
1885.43 s
[opt-env-conf-test] chunk $
1885.43 s
[opt-env-conf-test] T.pack $
1885.43 s
[opt-env-conf-test] show $
1885.43 s
[opt-env-conf-test] let go = \case
1885.43 s
[opt-env-conf-test] [] -> []
1885.43 s
[opt-env-conf-test] '-' : cs -> go cs
1885.43 s
[opt-env-conf-test] c : cs -> c : cs
1885.43 s
[opt-env-conf-test] in go $ NE.toList s,
1885.44 s
[opt-env-conf-test] " instead."
1885.44 s
[opt-env-conf-test] ]
1885.44 s
[opt-env-conf-test] ]
1885.44 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1885.44 s
[opt-env-conf-test] [ [ functionChunk "argument",
1885.44 s
[opt-env-conf-test] " has no ",
1885.44 s
[opt-env-conf-test] functionChunk "reader",
1885.44 s
[opt-env-conf-test] "."
1885.44 s
[opt-env-conf-test] ]
1885.44 s
[opt-env-conf-test] ]
1885.44 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1885.44 s
[opt-env-conf-test] [ [ functionChunk "argument",
1885.44 s
[opt-env-conf-test] " has no ",
1885.44 s
[opt-env-conf-test] functionChunk "metavar",
1885.44 s
[opt-env-conf-test] "."
1885.44 s
[opt-env-conf-test] ]
1885.44 s
[opt-env-conf-test] ]
1885.44 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1885.44 s
[opt-env-conf-test] [ [ functionChunk "option",
1885.44 s
[opt-env-conf-test] " or ",
1885.44 s
[opt-env-conf-test] functionChunk "name",
1885.44 s
[opt-env-conf-test] " has no ",
1885.44 s
[opt-env-conf-test] functionChunk "reader",
1885.44 s
[opt-env-conf-test] "."
1885.44 s
[opt-env-conf-test] ]
1885.44 s
[opt-env-conf-test] ]
1885.44 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1885.44 s
[opt-env-conf-test] [ [ functionChunk "option",
1885.44 s
[opt-env-conf-test] " has no ",
1885.44 s
[opt-env-conf-test] functionChunk "long",
1885.44 s
[opt-env-conf-test] " or ",
1885.44 s
[opt-env-conf-test] functionChunk "short",
1885.44 s
[opt-env-conf-test] "."
1885.44 s
[opt-env-conf-test] ]
1885.44 s
[opt-env-conf-test] ]
1885.44 s
[opt-env-conf-test] - LintErrorNoMetavarForOption ->
1885.44 s
[opt-env-conf-test] - [ [ functionChunk "option",
1885.44 s
[opt-env-conf-test] - " or ",
1885.44 s
[opt-env-conf-test] - functionChunk "name",
1885.44 s
[opt-env-conf-test] - " has no ",
1885.44 s
[opt-env-conf-test] - functionChunk "metavar",
1885.44 s
[opt-env-conf-test] - "."
1885.44 s
[opt-env-conf-test] - ]
1885.44 s
[opt-env-conf-test] - ]
1885.44 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1885.44 s
[opt-env-conf-test] [ [ functionChunk "switch",
1885.44 s
[opt-env-conf-test] " has no ",
1885.44 s
[opt-env-conf-test] functionChunk "long",
1885.44 s
[opt-env-conf-test] " or ",
1885.44 s
[opt-env-conf-test] functionChunk "short",
1885.44 s
[opt-env-conf-test] "."
1885.44 s
[opt-env-conf-test] ]
1885.45 s
[opt-env-conf-test] ]
1885.45 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1885.45 s
[opt-env-conf-test] [ [ functionChunk "long",
1885.45 s
[opt-env-conf-test] " or ",
1885.45 s
[opt-env-conf-test] functionChunk "short",
1885.45 s
[opt-env-conf-test] " has no ",
1885.45 s
[opt-env-conf-test] functionChunk "option",
1885.45 s
[opt-env-conf-test] " or ",
1885.45 s
[opt-env-conf-test] functionChunk "switch",
1885.45 s
[opt-env-conf-test] "."
1885.45 s
[opt-env-conf-test] ]
1885.45 s
[opt-env-conf-test] ]
1885.45 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1885.45 s
[opt-env-conf-test] [ [ functionChunk "env",
1885.45 s
[opt-env-conf-test] " or ",
1885.45 s
[opt-env-conf-test] functionChunk "name",
1885.45 s
[opt-env-conf-test] " has no ",
1885.45 s
[opt-env-conf-test] functionChunk "reader",
1885.45 s
[opt-env-conf-test] "."
1885.45 s
[opt-env-conf-test] ]
1885.45 s
[opt-env-conf-test] ]
1885.45 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1885.45 s
[opt-env-conf-test] [ [ functionChunk "env",
1885.45 s
[opt-env-conf-test] " or ",
1885.45 s
[opt-env-conf-test] functionChunk "name",
1885.45 s
[opt-env-conf-test] " has no ",
1885.45 s
[opt-env-conf-test] functionChunk "metavar",
1885.45 s
[opt-env-conf-test] "."
1885.45 s
[opt-env-conf-test] ]
1885.45 s
[opt-env-conf-test] ]
1885.45 s
[opt-env-conf-test] LintErrorNoCommands ->
1886.28 s
[opt-env-conf-test] [ [ functionChunk "commands",
1886.28 s
[opt-env-conf-test] " was called with an empty list."
1886.28 s
[opt-env-conf-test] ]
1886.28 s
[opt-env-conf-test] ]
1886.28 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1886.28 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1886.28 s
[opt-env-conf-test] " was called with an unknown command: ",
1886.28 s
[opt-env-conf-test] commandChunk c
1886.28 s
[opt-env-conf-test] ]
1886.28 s
[opt-env-conf-test] ]
1886.28 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1886.28 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1886.29 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1886.29 s
[opt-env-conf-test] ]
1886.29 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1886.29 s
[opt-env-conf-test] [ [ functionChunk "conf",
1886.29 s
[opt-env-conf-test] " or ",
1886.29 s
[opt-env-conf-test] functionChunk "name",
1886.29 s
[opt-env-conf-test] " was called with no way to load configuration."
1886.29 s
[opt-env-conf-test] ],
1886.29 s
[opt-env-conf-test] [ "You can load configuration with ",
1886.29 s
[opt-env-conf-test] functionChunk "withConfig",
1886.29 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1886.29 s
[opt-env-conf-test] functionChunk "withoutConfig",
1886.29 s
[opt-env-conf-test] "."
1886.29 s
[opt-env-conf-test] ]
1886.29 s
[opt-env-conf-test] ]
1886.29 s
[opt-env-conf-test] LintErrorManyInfinite ->
1886.29 s
[opt-env-conf-test] [ [ functionChunk "many",
1886.29 s
[opt-env-conf-test] " or ",
1886.29 s
[opt-env-conf-test] functionChunk "some",
1886.29 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1886.29 s
[opt-env-conf-test] ],
1886.29 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1886.29 s
[opt-env-conf-test] ],
1886.29 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1886.29 s
[opt-env-conf-test] ]
1886.29 s
[opt-env-conf-test]
1886.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1886.29 s
[opt-env-conf-test] @@ -66,168 +66,161 @@
1886.29 s
[opt-env-conf-test] renderLintError LintError {..} =
1886.29 s
[opt-env-conf-test] concat
1886.29 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1886.29 s
[opt-env-conf-test] case lintErrorMessage of
1886.29 s
[opt-env-conf-test] LintErrorUndocumented ->
1886.29 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1886.29 s
[opt-env-conf-test] LintErrorEmptySetting ->
1886.29 s
[opt-env-conf-test] concat
1886.29 s
[opt-env-conf-test] [ [ [ "This ",
1886.29 s
[opt-env-conf-test] functionChunk "setting",
1886.29 s
[opt-env-conf-test] " parses nothing."
1886.29 s
[opt-env-conf-test] ]
1886.29 s
[opt-env-conf-test] ],
1886.29 s
[opt-env-conf-test] [ [ "Add an ",
1886.29 s
[opt-env-conf-test] functionChunk "argument",
1886.29 s
[opt-env-conf-test] ", ",
1886.29 s
[opt-env-conf-test] functionChunk "switch",
1886.30 s
[opt-env-conf-test] ", ",
1886.30 s
[opt-env-conf-test] functionChunk "option",
1886.30 s
[opt-env-conf-test] ", ",
1886.30 s
[opt-env-conf-test] functionChunk "env",
1886.30 s
[opt-env-conf-test] ", ",
1886.30 s
[opt-env-conf-test] functionChunk "conf",
1886.30 s
[opt-env-conf-test] ", or ",
1886.30 s
[opt-env-conf-test] functionChunk "value",
1886.30 s
[opt-env-conf-test] "."
1886.30 s
[opt-env-conf-test] ]
1886.30 s
[opt-env-conf-test] ]
1886.30 s
[opt-env-conf-test] ]
1886.30 s
[opt-env-conf-test] LintErrorDashInShort ->
1886.30 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1886.30 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1886.30 s
[opt-env-conf-test] ]
1886.30 s
[opt-env-conf-test] LintErrorDashInLong s ->
1886.30 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1886.30 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1886.30 s
[opt-env-conf-test] [ "Try ",
1886.30 s
[opt-env-conf-test] functionChunk "long",
1886.30 s
[opt-env-conf-test] " ",
1886.30 s
[opt-env-conf-test] chunk $
1886.30 s
[opt-env-conf-test] T.pack $
1886.30 s
[opt-env-conf-test] show $
1886.30 s
[opt-env-conf-test] let go = \case
1886.30 s
[opt-env-conf-test] [] -> []
1886.30 s
[opt-env-conf-test] '-' : cs -> go cs
1886.30 s
[opt-env-conf-test] c : cs -> c : cs
1886.30 s
[opt-env-conf-test] in go $ NE.toList s,
1886.30 s
[opt-env-conf-test] " instead."
1886.30 s
[opt-env-conf-test] ]
1886.30 s
[opt-env-conf-test] ]
1886.30 s
[opt-env-conf-test] - LintErrorNoReaderForArgument ->
1886.30 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1886.30 s
[opt-env-conf-test] - " has no ",
1886.30 s
[opt-env-conf-test] - functionChunk "reader",
1886.30 s
[opt-env-conf-test] - "."
1886.30 s
[opt-env-conf-test] - ]
1886.30 s
[opt-env-conf-test] - ]
1886.30 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1886.30 s
[opt-env-conf-test] [ [ functionChunk "argument",
1886.30 s
[opt-env-conf-test] " has no ",
1886.30 s
[opt-env-conf-test] functionChunk "metavar",
1886.30 s
[opt-env-conf-test] "."
1886.30 s
[opt-env-conf-test] ]
1886.30 s
[opt-env-conf-test] ]
1886.30 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1886.30 s
[opt-env-conf-test] [ [ functionChunk "option",
1886.31 s
[opt-env-conf-test] " or ",
1886.31 s
[opt-env-conf-test] functionChunk "name",
1886.31 s
[opt-env-conf-test] " has no ",
1886.31 s
[opt-env-conf-test] functionChunk "reader",
1886.31 s
[opt-env-conf-test] "."
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1886.31 s
[opt-env-conf-test] [ [ functionChunk "option",
1886.31 s
[opt-env-conf-test] " has no ",
1886.31 s
[opt-env-conf-test] functionChunk "long",
1886.31 s
[opt-env-conf-test] " or ",
1886.31 s
[opt-env-conf-test] functionChunk "short",
1886.31 s
[opt-env-conf-test] "."
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1886.31 s
[opt-env-conf-test] [ [ functionChunk "option",
1886.31 s
[opt-env-conf-test] " or ",
1886.31 s
[opt-env-conf-test] functionChunk "name",
1886.31 s
[opt-env-conf-test] " has no ",
1886.31 s
[opt-env-conf-test] functionChunk "metavar",
1886.31 s
[opt-env-conf-test] "."
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1886.31 s
[opt-env-conf-test] [ [ functionChunk "switch",
1886.31 s
[opt-env-conf-test] " has no ",
1886.31 s
[opt-env-conf-test] functionChunk "long",
1886.31 s
[opt-env-conf-test] " or ",
1886.31 s
[opt-env-conf-test] functionChunk "short",
1886.31 s
[opt-env-conf-test] "."
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1886.31 s
[opt-env-conf-test] [ [ functionChunk "long",
1886.31 s
[opt-env-conf-test] " or ",
1886.31 s
[opt-env-conf-test] functionChunk "short",
1886.31 s
[opt-env-conf-test] " has no ",
1886.31 s
[opt-env-conf-test] functionChunk "option",
1886.31 s
[opt-env-conf-test] " or ",
1886.31 s
[opt-env-conf-test] functionChunk "switch",
1886.31 s
[opt-env-conf-test] "."
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1886.31 s
[opt-env-conf-test] [ [ functionChunk "env",
1886.31 s
[opt-env-conf-test] " or ",
1886.31 s
[opt-env-conf-test] functionChunk "name",
1886.31 s
[opt-env-conf-test] " has no ",
1886.31 s
[opt-env-conf-test] functionChunk "reader",
1886.31 s
[opt-env-conf-test] "."
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] ]
1886.31 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1886.31 s
[opt-env-conf-test] [ [ functionChunk "env",
1886.32 s
[opt-env-conf-test] " or ",
1886.32 s
[opt-env-conf-test] functionChunk "name",
1886.32 s
[opt-env-conf-test] " has no ",
1886.32 s
[opt-env-conf-test] functionChunk "metavar",
1886.32 s
[opt-env-conf-test] "."
1886.32 s
[opt-env-conf-test] ]
1886.32 s
[opt-env-conf-test] ]
1886.32 s
[opt-env-conf-test] LintErrorNoCommands ->
1887.12 s
[opt-env-conf-test] [ [ functionChunk "commands",
1887.13 s
[opt-env-conf-test] " was called with an empty list."
1887.13 s
[opt-env-conf-test] ]
1887.13 s
[opt-env-conf-test] ]
1887.13 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1887.13 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1887.13 s
[opt-env-conf-test] " was called with an unknown command: ",
1887.13 s
[opt-env-conf-test] commandChunk c
1887.13 s
[opt-env-conf-test] ]
1887.13 s
[opt-env-conf-test] ]
1887.13 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1887.13 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1887.13 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1887.13 s
[opt-env-conf-test] ]
1887.13 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1887.13 s
[opt-env-conf-test] [ [ functionChunk "conf",
1887.13 s
[opt-env-conf-test] " or ",
1887.13 s
[opt-env-conf-test] functionChunk "name",
1887.13 s
[opt-env-conf-test] " was called with no way to load configuration."
1887.13 s
[opt-env-conf-test] ],
1887.13 s
[opt-env-conf-test] [ "You can load configuration with ",
1887.13 s
[opt-env-conf-test] functionChunk "withConfig",
1887.13 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1887.13 s
[opt-env-conf-test] functionChunk "withoutConfig",
1887.13 s
[opt-env-conf-test] "."
1887.13 s
[opt-env-conf-test] ]
1887.13 s
[opt-env-conf-test] ]
1887.13 s
[opt-env-conf-test] LintErrorManyInfinite ->
1887.14 s
[opt-env-conf-test] [ [ functionChunk "many",
1887.14 s
[opt-env-conf-test] " or ",
1887.14 s
[opt-env-conf-test] functionChunk "some",
1887.14 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1887.14 s
[opt-env-conf-test] ],
1887.14 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1887.14 s
[opt-env-conf-test] ],
1887.14 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1887.14 s
[opt-env-conf-test] ]
1887.14 s
[opt-env-conf-test]
1887.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
1887.14 s
[opt-env-conf-test] @@ -221,13 +221,8 @@
1887.14 s
[opt-env-conf-test] ]
1887.14 s
[opt-env-conf-test] ]
1887.14 s
[opt-env-conf-test] LintErrorManyInfinite ->
1887.14 s
[opt-env-conf-test] - [ [ functionChunk "many",
1887.14 s
[opt-env-conf-test] - " or ",
1887.14 s
[opt-env-conf-test] - functionChunk "some",
1887.14 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1887.14 s
[opt-env-conf-test] - ],
1887.14 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1887.14 s
[opt-env-conf-test] ],
1887.14 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1887.14 s
[opt-env-conf-test] ]
1887.14 s
[opt-env-conf-test]
1887.14 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1887.14 s
[opt-env-conf-test] @@ -66,168 +66,166 @@
1887.14 s
[opt-env-conf-test] renderLintError LintError {..} =
1887.14 s
[opt-env-conf-test] concat
1887.14 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1887.14 s
[opt-env-conf-test] case lintErrorMessage of
1887.14 s
[opt-env-conf-test] - LintErrorUndocumented ->
1887.14 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1887.14 s
[opt-env-conf-test] LintErrorEmptySetting ->
1887.14 s
[opt-env-conf-test] concat
1887.14 s
[opt-env-conf-test] [ [ [ "This ",
1887.14 s
[opt-env-conf-test] functionChunk "setting",
1887.14 s
[opt-env-conf-test] " parses nothing."
1887.14 s
[opt-env-conf-test] ]
1887.14 s
[opt-env-conf-test] ],
1887.14 s
[opt-env-conf-test] [ [ "Add an ",
1887.14 s
[opt-env-conf-test] functionChunk "argument",
1887.14 s
[opt-env-conf-test] ", ",
1887.14 s
[opt-env-conf-test] functionChunk "switch",
1887.14 s
[opt-env-conf-test] ", ",
1887.14 s
[opt-env-conf-test] functionChunk "option",
1887.14 s
[opt-env-conf-test] ", ",
1887.14 s
[opt-env-conf-test] functionChunk "env",
1887.14 s
[opt-env-conf-test] ", ",
1887.14 s
[opt-env-conf-test] functionChunk "conf",
1887.14 s
[opt-env-conf-test] ", or ",
1887.14 s
[opt-env-conf-test] functionChunk "value",
1887.14 s
[opt-env-conf-test] "."
1887.14 s
[opt-env-conf-test] ]
1887.14 s
[opt-env-conf-test] ]
1887.14 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] LintErrorDashInShort ->
1887.15 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1887.15 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] LintErrorDashInLong s ->
1887.15 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1887.15 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1887.15 s
[opt-env-conf-test] [ "Try ",
1887.15 s
[opt-env-conf-test] functionChunk "long",
1887.15 s
[opt-env-conf-test] " ",
1887.15 s
[opt-env-conf-test] chunk $
1887.15 s
[opt-env-conf-test] T.pack $
1887.15 s
[opt-env-conf-test] show $
1887.15 s
[opt-env-conf-test] let go = \case
1887.15 s
[opt-env-conf-test] [] -> []
1887.15 s
[opt-env-conf-test] '-' : cs -> go cs
1887.15 s
[opt-env-conf-test] c : cs -> c : cs
1887.15 s
[opt-env-conf-test] in go $ NE.toList s,
1887.15 s
[opt-env-conf-test] " instead."
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1887.15 s
[opt-env-conf-test] [ [ functionChunk "argument",
1887.15 s
[opt-env-conf-test] " has no ",
1887.15 s
[opt-env-conf-test] functionChunk "reader",
1887.15 s
[opt-env-conf-test] "."
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1887.15 s
[opt-env-conf-test] [ [ functionChunk "argument",
1887.15 s
[opt-env-conf-test] " has no ",
1887.15 s
[opt-env-conf-test] functionChunk "metavar",
1887.15 s
[opt-env-conf-test] "."
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1887.15 s
[opt-env-conf-test] [ [ functionChunk "option",
1887.15 s
[opt-env-conf-test] " or ",
1887.15 s
[opt-env-conf-test] functionChunk "name",
1887.15 s
[opt-env-conf-test] " has no ",
1887.15 s
[opt-env-conf-test] functionChunk "reader",
1887.15 s
[opt-env-conf-test] "."
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1887.15 s
[opt-env-conf-test] [ [ functionChunk "option",
1887.15 s
[opt-env-conf-test] " has no ",
1887.15 s
[opt-env-conf-test] functionChunk "long",
1887.15 s
[opt-env-conf-test] " or ",
1887.15 s
[opt-env-conf-test] functionChunk "short",
1887.15 s
[opt-env-conf-test] "."
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1887.15 s
[opt-env-conf-test] [ [ functionChunk "option",
1887.15 s
[opt-env-conf-test] " or ",
1887.15 s
[opt-env-conf-test] functionChunk "name",
1887.15 s
[opt-env-conf-test] " has no ",
1887.15 s
[opt-env-conf-test] functionChunk "metavar",
1887.15 s
[opt-env-conf-test] "."
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1887.15 s
[opt-env-conf-test] [ [ functionChunk "switch",
1887.15 s
[opt-env-conf-test] " has no ",
1887.15 s
[opt-env-conf-test] functionChunk "long",
1887.15 s
[opt-env-conf-test] " or ",
1887.15 s
[opt-env-conf-test] functionChunk "short",
1887.15 s
[opt-env-conf-test] "."
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1887.15 s
[opt-env-conf-test] [ [ functionChunk "long",
1887.15 s
[opt-env-conf-test] " or ",
1887.15 s
[opt-env-conf-test] functionChunk "short",
1887.15 s
[opt-env-conf-test] " has no ",
1887.15 s
[opt-env-conf-test] functionChunk "option",
1887.15 s
[opt-env-conf-test] " or ",
1887.15 s
[opt-env-conf-test] functionChunk "switch",
1887.15 s
[opt-env-conf-test] "."
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1887.15 s
[opt-env-conf-test] [ [ functionChunk "env",
1887.15 s
[opt-env-conf-test] " or ",
1887.15 s
[opt-env-conf-test] functionChunk "name",
1887.15 s
[opt-env-conf-test] " has no ",
1887.15 s
[opt-env-conf-test] functionChunk "reader",
1887.15 s
[opt-env-conf-test] "."
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] ]
1887.15 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1887.15 s
[opt-env-conf-test] [ [ functionChunk "env",
1887.15 s
[opt-env-conf-test] " or ",
1887.15 s
[opt-env-conf-test] functionChunk "name",
1887.15 s
[opt-env-conf-test] " has no ",
1887.16 s
[opt-env-conf-test] functionChunk "metavar",
1887.16 s
[opt-env-conf-test] "."
1887.16 s
[opt-env-conf-test] ]
1887.16 s
[opt-env-conf-test] ]
1887.16 s
[opt-env-conf-test] LintErrorNoCommands ->
1887.16 s
[opt-env-conf-test] [ [ functionChunk "commands",
1890.88 s
[opt-env-conf-test] " was called with an empty list."
1890.88 s
[opt-env-conf-test] ]
1890.88 s
[opt-env-conf-test] ]
1890.97 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1890.97 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1890.97 s
[opt-env-conf-test] " was called with an unknown command: ",
1890.97 s
[opt-env-conf-test] commandChunk c
1890.97 s
[opt-env-conf-test] ]
1890.97 s
[opt-env-conf-test] ]
1890.97 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1890.97 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1890.97 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1890.97 s
[opt-env-conf-test] ]
1890.97 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1890.97 s
[opt-env-conf-test] [ [ functionChunk "conf",
1890.97 s
[opt-env-conf-test] " or ",
1890.97 s
[opt-env-conf-test] functionChunk "name",
1890.97 s
[opt-env-conf-test] " was called with no way to load configuration."
1890.97 s
[opt-env-conf-test] ],
1890.98 s
[opt-env-conf-test] [ "You can load configuration with ",
1890.98 s
[opt-env-conf-test] functionChunk "withConfig",
1890.98 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1890.98 s
[opt-env-conf-test] functionChunk "withoutConfig",
1890.98 s
[opt-env-conf-test] "."
1890.98 s
[opt-env-conf-test] ]
1890.98 s
[opt-env-conf-test] ]
1890.98 s
[opt-env-conf-test] LintErrorManyInfinite ->
1890.98 s
[opt-env-conf-test] [ [ functionChunk "many",
1890.98 s
[opt-env-conf-test] " or ",
1890.98 s
[opt-env-conf-test] functionChunk "some",
1890.98 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1890.98 s
[opt-env-conf-test] ],
1890.98 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1890.98 s
[opt-env-conf-test] ],
1890.98 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1890.98 s
[opt-env-conf-test] ]
1890.98 s
[opt-env-conf-test]
1890.98 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
1890.98 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1890.98 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1890.98 s
[opt-env-conf-test] (Live o : rest) -> case o of
1890.98 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1890.98 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds i s L on g cs of
1890.98 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds Tru e cs of
1890.98 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1890.98 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1890.98 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1890.99 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1890.99 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1890.99 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1890.99 s
[opt-env-conf-test] c1 <- go p1
1890.99 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1890.99 s
[opt-env-conf-test] - pure $ c 1 || c2
1890.99 s
[opt-env-conf-test] + pure $ F a ls e || c2
1890.99 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1890.99 s
[opt-env-conf-test] case settingHelp of
1890.99 s
[opt-env-conf-test] Nothing ->
1890.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
1890.99 s
[opt-env-conf-test] @@ -321,9 +321,8 @@
1890.99 s
[opt-env-conf-test] consumeSwitch dasheds as = do
1890.99 s
[opt-env-conf-test] case go (argsBefore as) of
1890.99 s
[opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
1890.99 s
[opt-env-conf-test] Nothing -> case go (argsAfter as) of
1890.99 s
[opt-env-conf-test] Just newAfters -> Just $ as {argsAfter = newAfters}
1890.99 s
[opt-env-conf-test] - Nothing -> Nothing
1890.99 s
[opt-env-conf-test] where
1890.99 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
1890.99 s
[opt-env-conf-test] go = \case
1890.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
1890.99 s
[opt-env-conf-test] @@ -321,9 +321,8 @@
1890.99 s
[opt-env-conf-test] consumeSwitch dasheds as = do
1890.99 s
[opt-env-conf-test] case go (argsBefore as) of
1890.99 s
[opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
1890.99 s
[opt-env-conf-test] Nothing -> case go (argsAfter as) of
1890.99 s
[opt-env-conf-test] - Just newAfters -> Just $ as {argsAfter = newAfters}
1890.99 s
[opt-env-conf-test] Nothing -> Nothing
1890.99 s
[opt-env-conf-test] where
1890.99 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
1890.99 s
[opt-env-conf-test] go = \case
1890.99 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
1890.99 s
[opt-env-conf-test] @@ -221,13 +221,7 @@
1890.99 s
[opt-env-conf-test] ]
1890.99 s
[opt-env-conf-test] ]
1890.99 s
[opt-env-conf-test] LintErrorManyInfinite ->
1890.99 s
[opt-env-conf-test] - [ [ functionChunk "many",
1891.00 s
[opt-env-conf-test] - " or ",
1891.00 s
[opt-env-conf-test] - functionChunk "some",
1891.00 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1891.00 s
[opt-env-conf-test] - ],
1891.00 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1891.00 s
[opt-env-conf-test] ],
1891.00 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1891.00 s
[opt-env-conf-test] ]
1891.00 s
[opt-env-conf-test]
1891.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1891.00 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1891.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1891.00 s
[opt-env-conf-test] c1 <- go p1
1891.00 s
[opt-env-conf-test] c2 <- go p2
1891.00 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
1891.00 s
[opt-env-conf-test] + pure (c1 && F a ls e ) -- TODO: is this right?
1891.00 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1891.00 s
[opt-env-conf-test] ParserMany mLoc p -> do
1891.00 s
[opt-env-conf-test] c <- go p
1891.00 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:21-23
1891.00 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1891.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1891.00 s
[opt-env-conf-test] c1 <- go p1
1891.00 s
[opt-env-conf-test] c2 <- go p2
1891.00 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1891.00 s
[opt-env-conf-test] + pure (c1 && n o t ( c2) ) -- TODO: is this right?
1891.00 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1891.00 s
[opt-env-conf-test] ParserMany mLoc p -> do
1891.00 s
[opt-env-conf-test] c <- go p
1891.00 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:266:14-15
1891.00 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1891.00 s
[opt-env-conf-test] when (not c) $
1891.00 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1891.00 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1891.00 s
[opt-env-conf-test] - pure c
1891.00 s
[opt-env-conf-test] + pure n o t ( c )
1891.00 s
[opt-env-conf-test] ParserSome mLoc p -> do
1891.00 s
[opt-env-conf-test] c <- go p
1891.00 s
[opt-env-conf-test] when (not c) $
1891.00 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:338:28-41
1891.00 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1891.00 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1891.00 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1891.00 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1891.00 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1891.00 s
[opt-env-conf-test] + let rest' = if n o t ( needTombstone ) then Dead : rest else rest
1891.00 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1891.00 s
[opt-env-conf-test] _ -> do
1891.00 s
[opt-env-conf-test] os <- go rest
1891.00 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1891.00 s
[opt-env-conf-test] @@ -66,168 +66,157 @@
1891.01 s
[opt-env-conf-test] renderLintError LintError {..} =
1891.01 s
[opt-env-conf-test] concat
1891.01 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1891.01 s
[opt-env-conf-test] case lintErrorMessage of
1891.01 s
[opt-env-conf-test] LintErrorUndocumented ->
1891.01 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1891.01 s
[opt-env-conf-test] LintErrorEmptySetting ->
1891.01 s
[opt-env-conf-test] concat
1891.01 s
[opt-env-conf-test] [ [ [ "This ",
1891.01 s
[opt-env-conf-test] functionChunk "setting",
1891.01 s
[opt-env-conf-test] " parses nothing."
1891.01 s
[opt-env-conf-test] ]
1891.01 s
[opt-env-conf-test] ],
1891.01 s
[opt-env-conf-test] [ [ "Add an ",
1891.01 s
[opt-env-conf-test] functionChunk "argument",
1891.01 s
[opt-env-conf-test] ", ",
1891.01 s
[opt-env-conf-test] functionChunk "switch",
1891.01 s
[opt-env-conf-test] ", ",
1891.01 s
[opt-env-conf-test] functionChunk "option",
1891.01 s
[opt-env-conf-test] ", ",
1891.01 s
[opt-env-conf-test] functionChunk "env",
1891.01 s
[opt-env-conf-test] ", ",
1891.01 s
[opt-env-conf-test] functionChunk "conf",
1891.01 s
[opt-env-conf-test] ", or ",
1891.01 s
[opt-env-conf-test] functionChunk "value",
1891.01 s
[opt-env-conf-test] "."
1891.01 s
[opt-env-conf-test] ]
1891.01 s
[opt-env-conf-test] ]
1891.01 s
[opt-env-conf-test] ]
1891.01 s
[opt-env-conf-test] LintErrorDashInShort ->
1891.01 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1891.01 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1891.01 s
[opt-env-conf-test] ]
1891.01 s
[opt-env-conf-test] LintErrorDashInLong s ->
1891.01 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1891.01 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1891.01 s
[opt-env-conf-test] [ "Try ",
1891.01 s
[opt-env-conf-test] functionChunk "long",
1891.01 s
[opt-env-conf-test] " ",
1891.01 s
[opt-env-conf-test] chunk $
1891.01 s
[opt-env-conf-test] T.pack $
1891.01 s
[opt-env-conf-test] show $
1891.01 s
[opt-env-conf-test] let go = \case
1891.01 s
[opt-env-conf-test] [] -> []
1891.01 s
[opt-env-conf-test] '-' : cs -> go cs
1891.01 s
[opt-env-conf-test] c : cs -> c : cs
1891.01 s
[opt-env-conf-test] in go $ NE.toList s,
1891.01 s
[opt-env-conf-test] " instead."
1891.01 s
[opt-env-conf-test] ]
1891.01 s
[opt-env-conf-test] ]
1891.01 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1891.02 s
[opt-env-conf-test] [ [ functionChunk "argument",
1891.02 s
[opt-env-conf-test] " has no ",
1891.02 s
[opt-env-conf-test] functionChunk "reader",
1891.02 s
[opt-env-conf-test] "."
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1891.02 s
[opt-env-conf-test] [ [ functionChunk "argument",
1891.02 s
[opt-env-conf-test] " has no ",
1891.02 s
[opt-env-conf-test] functionChunk "metavar",
1891.02 s
[opt-env-conf-test] "."
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1891.02 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.02 s
[opt-env-conf-test] " or ",
1891.02 s
[opt-env-conf-test] functionChunk "name",
1891.02 s
[opt-env-conf-test] " has no ",
1891.02 s
[opt-env-conf-test] functionChunk "reader",
1891.02 s
[opt-env-conf-test] "."
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1891.02 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.02 s
[opt-env-conf-test] " has no ",
1891.02 s
[opt-env-conf-test] functionChunk "long",
1891.02 s
[opt-env-conf-test] " or ",
1891.02 s
[opt-env-conf-test] functionChunk "short",
1891.02 s
[opt-env-conf-test] "."
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1891.02 s
[opt-env-conf-test] [ [ functionChunk "option",
1891.02 s
[opt-env-conf-test] " or ",
1891.02 s
[opt-env-conf-test] functionChunk "name",
1891.02 s
[opt-env-conf-test] " has no ",
1891.02 s
[opt-env-conf-test] functionChunk "metavar",
1891.02 s
[opt-env-conf-test] "."
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1891.02 s
[opt-env-conf-test] [ [ functionChunk "switch",
1891.02 s
[opt-env-conf-test] " has no ",
1891.02 s
[opt-env-conf-test] functionChunk "long",
1891.02 s
[opt-env-conf-test] " or ",
1891.02 s
[opt-env-conf-test] functionChunk "short",
1891.02 s
[opt-env-conf-test] "."
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] ]
1891.02 s
[opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
1891.02 s
[opt-env-conf-test] - [ [ functionChunk "long",
1891.02 s
[opt-env-conf-test] - " or ",
1891.02 s
[opt-env-conf-test] - functionChunk "short",
1891.02 s
[opt-env-conf-test] - " has no ",
1891.02 s
[opt-env-conf-test] - functionChunk "option",
1891.02 s
[opt-env-conf-test] - " or ",
1891.02 s
[opt-env-conf-test] - functionChunk "switch",
1891.02 s
[opt-env-conf-test] - "."
1891.02 s
[opt-env-conf-test] - ]
1891.02 s
[opt-env-conf-test] - ]
1891.02 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1891.02 s
[opt-env-conf-test] [ [ functionChunk "env",
1891.02 s
[opt-env-conf-test] " or ",
1891.02 s
[opt-env-conf-test] functionChunk "name",
1891.02 s
[opt-env-conf-test] " has no ",
1891.02 s
[opt-env-conf-test] functionChunk "reader",
1891.02 s
[opt-env-conf-test] "."
1891.03 s
[opt-env-conf-test] ]
1891.03 s
[opt-env-conf-test] ]
1891.03 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1891.03 s
[opt-env-conf-test] [ [ functionChunk "env",
1891.03 s
[opt-env-conf-test] " or ",
1891.03 s
[opt-env-conf-test] functionChunk "name",
1891.03 s
[opt-env-conf-test] " has no ",
1891.03 s
[opt-env-conf-test] functionChunk "metavar",
1891.03 s
[opt-env-conf-test] "."
1891.03 s
[opt-env-conf-test] ]
1891.03 s
[opt-env-conf-test] ]
1891.03 s
[opt-env-conf-test] LintErrorNoCommands ->
1896.81 s
[opt-env-conf-test] [ [ functionChunk "commands",
1896.83 s
[opt-env-conf-test] " was called with an empty list."
1896.83 s
[opt-env-conf-test] ]
1896.83 s
[opt-env-conf-test] ]
1896.83 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1896.83 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1896.83 s
[opt-env-conf-test] " was called with an unknown command: ",
1896.83 s
[opt-env-conf-test] commandChunk c
1896.83 s
[opt-env-conf-test] ]
1896.83 s
[opt-env-conf-test] ]
1896.83 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1896.83 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1896.83 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1896.83 s
[opt-env-conf-test] ]
1896.83 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1896.83 s
[opt-env-conf-test] [ [ functionChunk "conf",
1896.83 s
[opt-env-conf-test] " or ",
1896.83 s
[opt-env-conf-test] functionChunk "name",
1896.84 s
[opt-env-conf-test] " was called with no way to load configuration."
1896.84 s
[opt-env-conf-test] ],
1896.84 s
[opt-env-conf-test] [ "You can load configuration with ",
1896.84 s
[opt-env-conf-test] functionChunk "withConfig",
1896.84 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1896.84 s
[opt-env-conf-test] functionChunk "withoutConfig",
1896.84 s
[opt-env-conf-test] "."
1896.84 s
[opt-env-conf-test] ]
1896.84 s
[opt-env-conf-test] ]
1896.84 s
[opt-env-conf-test] LintErrorManyInfinite ->
1896.84 s
[opt-env-conf-test] [ [ functionChunk "many",
1896.84 s
[opt-env-conf-test] " or ",
1896.84 s
[opt-env-conf-test] functionChunk "some",
1896.84 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1896.84 s
[opt-env-conf-test] ],
1896.84 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1896.84 s
[opt-env-conf-test] ],
1896.84 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1896.84 s
[opt-env-conf-test] ]
1896.84 s
[opt-env-conf-test]
1896.84 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
1896.84 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1896.84 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1896.84 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1896.84 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1896.84 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s L on g cs') : rest'
1896.84 s
[opt-env-conf-test] + in Just $ Live (ArgDashed Tru e cs') : rest'
1896.84 s
[opt-env-conf-test] _ -> do
1896.84 s
[opt-env-conf-test] os <- go rest
1896.84 s
[opt-env-conf-test] pure $ Live o : os
1896.84 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:21-23
1896.84 s
[opt-env-conf-test] @@ -251,7 +251,7 @@
1896.84 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1896.84 s
[opt-env-conf-test] c1 <- go p1
1896.84 s
[opt-env-conf-test] c2 <- go p2
1896.84 s
[opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
1896.84 s
[opt-env-conf-test] + pure (c1 || n o t ( c2) ) -- TODO: is this right?
1896.84 s
[opt-env-conf-test] ParserEmpty _ -> pure True
1896.84 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1896.84 s
[opt-env-conf-test] c1 <- go p1
1896.84 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:339:40-46
1896.84 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1896.84 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1896.85 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1896.85 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1896.85 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1896.85 s
[opt-env-conf-test] + in Just $ Live (ArgDashed n o t ( isLong ) cs') : rest'
1896.85 s
[opt-env-conf-test] _ -> do
1896.85 s
[opt-env-conf-test] os <- go rest
1896.85 s
[opt-env-conf-test] pure $ Live o : os
1896.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1896.85 s
[opt-env-conf-test] @@ -331,12 +331,11 @@
1896.85 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1896.85 s
[opt-env-conf-test] (Live o : rest) -> case o of
1896.85 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1896.85 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1896.85 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1896.85 s
[opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
1896.85 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1896.85 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1896.85 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1896.85 s
[opt-env-conf-test] _ -> do
1896.85 s
[opt-env-conf-test] os <- go rest
1896.85 s
[opt-env-conf-test] pure $ Live o : os
1896.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1896.85 s
[opt-env-conf-test] @@ -331,12 +331,9 @@
1896.85 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1896.85 s
[opt-env-conf-test] (Live o : rest) -> case o of
1896.85 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1896.85 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1896.85 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1896.85 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1896.85 s
[opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
1896.85 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1896.85 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1896.85 s
[opt-env-conf-test] _ -> do
1896.85 s
[opt-env-conf-test] os <- go rest
1896.85 s
[opt-env-conf-test] pure $ Live o : os
1896.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1896.85 s
[opt-env-conf-test] @@ -329,17 +329,16 @@
1896.85 s
[opt-env-conf-test] go = \case
1896.85 s
[opt-env-conf-test] [] -> Nothing
1896.85 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1896.85 s
[opt-env-conf-test] (Live o : rest) -> case o of
1896.85 s
[opt-env-conf-test] - ArgBareDoubleDash -> Nothing
1896.85 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1896.85 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1896.85 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1896.85 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1896.85 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1896.85 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1896.85 s
[opt-env-conf-test] _ -> do
1896.85 s
[opt-env-conf-test] os <- go rest
1896.85 s
[opt-env-conf-test] pure $ Live o : os
1896.85 s
[opt-env-conf-test]
1896.85 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1896.85 s
[opt-env-conf-test] -- character because then we need a tombstone.
1896.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1896.85 s
[opt-env-conf-test] @@ -329,17 +329,11 @@
1896.85 s
[opt-env-conf-test] go = \case
1896.85 s
[opt-env-conf-test] [] -> Nothing
1896.85 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1896.85 s
[opt-env-conf-test] (Live o : rest) -> case o of
1896.85 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1896.85 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1896.85 s
[opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
1896.85 s
[opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
1896.85 s
[opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
1896.85 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1896.86 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1896.86 s
[opt-env-conf-test] _ -> do
1896.86 s
[opt-env-conf-test] os <- go rest
1896.86 s
[opt-env-conf-test] pure $ Live o : os
1896.86 s
[opt-env-conf-test]
1896.86 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1896.86 s
[opt-env-conf-test] -- character because then we need a tombstone.
1896.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1896.86 s
[opt-env-conf-test] @@ -329,17 +329,14 @@
1896.86 s
[opt-env-conf-test] go = \case
1896.86 s
[opt-env-conf-test] [] -> Nothing
1896.86 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1896.86 s
[opt-env-conf-test] (Live o : rest) -> case o of
1896.86 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1896.86 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1896.86 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1896.86 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1896.86 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1896.86 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1896.86 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1896.86 s
[opt-env-conf-test] - _ -> do
1896.86 s
[opt-env-conf-test] - os <- go rest
1896.86 s
[opt-env-conf-test] - pure $ Live o : os
1896.86 s
[opt-env-conf-test]
1896.86 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1896.86 s
[opt-env-conf-test] -- character because then we need a tombstone.
1896.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
1896.86 s
[opt-env-conf-test] @@ -306,9 +306,8 @@
1896.86 s
[opt-env-conf-test] where
1896.86 s
[opt-env-conf-test] go acc ne =
1896.86 s
[opt-env-conf-test] let (a, mRest) = NE.uncons ne
1896.86 s
[opt-env-conf-test] in case mRest of
1896.86 s
[opt-env-conf-test] - Nothing -> (NE.nonEmpty $ reverse acc, a)
1896.86 s
[opt-env-conf-test] Just rest -> go (a : acc) rest
1896.86 s
[opt-env-conf-test]
1896.86 s
[opt-env-conf-test] -- | Consume a switch.
1896.86 s
[opt-env-conf-test] --
1896.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
1896.86 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1896.86 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1896.86 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1896.86 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1896.86 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s Lo n g cs') : rest'
1896.86 s
[opt-env-conf-test] + in Just $ Live (ArgDashed F a l s e cs') : rest'
1896.86 s
[opt-env-conf-test] _ -> do
1896.86 s
[opt-env-conf-test] os <- go rest
1896.86 s
[opt-env-conf-test] pure $ Live o : os
1896.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
1896.86 s
[opt-env-conf-test] @@ -306,9 +306,8 @@
1896.86 s
[opt-env-conf-test] where
1896.86 s
[opt-env-conf-test] go acc ne =
1896.86 s
[opt-env-conf-test] let (a, mRest) = NE.uncons ne
1896.86 s
[opt-env-conf-test] in case mRest of
1896.86 s
[opt-env-conf-test] Nothing -> (NE.nonEmpty $ reverse acc, a)
1896.86 s
[opt-env-conf-test] - Just rest -> go (a : acc) rest
1896.86 s
[opt-env-conf-test]
1896.86 s
[opt-env-conf-test] -- | Consume a switch.
1896.86 s
[opt-env-conf-test] --
1896.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
1896.86 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1896.86 s
[opt-env-conf-test] NonEmpty Char ->
1896.86 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1896.86 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1905.76 s
[opt-env-conf-test] - if i s L on g
1905.79 s
[opt-env-conf-test] + if Tru e
1905.79 s
[opt-env-conf-test] then
1905.79 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1905.79 s
[opt-env-conf-test] then Just Nothing
1905.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
1905.79 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1905.79 s
[opt-env-conf-test] NonEmpty Char ->
1905.79 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1905.79 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1905.79 s
[opt-env-conf-test] - if i s Long
1905.79 s
[opt-env-conf-test] + if F a l s e
1905.79 s
[opt-env-conf-test] then
1905.79 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1905.79 s
[opt-env-conf-test] then Just Nothing
1905.79 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:293:6-12
1905.79 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1905.79 s
[opt-env-conf-test] NonEmpty Char ->
1905.79 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1905.79 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1905.79 s
[opt-env-conf-test] - if isLong
1905.79 s
[opt-env-conf-test] + if n o t ( isLong )
1905.79 s
[opt-env-conf-test] then
1905.79 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1905.79 s
[opt-env-conf-test] then Just Nothing
1905.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:20-63
1905.79 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1905.79 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1905.79 s
[opt-env-conf-test] else do
1905.79 s
[opt-env-conf-test] for_ mDefault $ \d ->
1905.79 s
[opt-env-conf-test] - whe n ( isN oth i n g (find ((== d) . comman dA r g ) cs) ) $
1905.79 s
[opt-env-conf-test] + whe n T r ue $
1905.79 s
[opt-env-conf-test] validationTFailure $
1905.79 s
[opt-env-conf-test] LintError mLoc $
1905.79 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1905.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
1905.79 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1905.79 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1905.79 s
[opt-env-conf-test] if isLong
1905.79 s
[opt-env-conf-test] then
1905.79 s
[opt-env-conf-test] - if D as hedL ong cs `ele m` da s h e d s
1905.79 s
[opt-env-conf-test] + if Tr u e
1905.79 s
[opt-env-conf-test] then Just Nothing
1905.79 s
[opt-env-conf-test] else Nothing
1905.80 s
[opt-env-conf-test] else
1905.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1905.80 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1905.80 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1905.80 s
[opt-env-conf-test] c1 <- go p1
1905.80 s
[opt-env-conf-test] c2 <- go p2
1905.80 s
[opt-env-conf-test] - pure (c1 || c 2 )
1905.80 s
[opt-env-conf-test] + pure (c1 || F a ls e )
1905.80 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1905.80 s
[opt-env-conf-test] c1 <- go p1
1905.80 s
[opt-env-conf-test] c2 <- go p2
1905.80 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1905.80 s
[opt-env-conf-test] @@ -331,12 +331,11 @@
1905.80 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1905.80 s
[opt-env-conf-test] (Live o : rest) -> case o of
1905.80 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1905.80 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1905.80 s
[opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
1905.80 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1905.80 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1905.80 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1905.80 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1905.80 s
[opt-env-conf-test] _ -> do
1905.80 s
[opt-env-conf-test] os <- go rest
1905.80 s
[opt-env-conf-test] pure $ Live o : os
1905.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
1905.80 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1905.80 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1905.80 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1905.80 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1905.80 s
[opt-env-conf-test] - let rest' = if n e ed T o mbs to n e then Dead : rest else rest
1905.80 s
[opt-env-conf-test] + let rest' = if T ru e then Dead : rest else rest
1905.80 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1905.80 s
[opt-env-conf-test] _ -> do
1905.80 s
[opt-env-conf-test] os <- go rest
1905.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
1905.80 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1905.80 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1905.80 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1905.80 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1905.80 s
[opt-env-conf-test] - let rest' = if n e ed Tom b s to n e then Dead : rest else rest
1905.80 s
[opt-env-conf-test] + let rest' = if F al s e then Dead : rest else rest
1905.80 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1905.80 s
[opt-env-conf-test] _ -> do
1905.80 s
[opt-env-conf-test] os <- go rest
1905.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
1905.80 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1905.80 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1905.80 s
[opt-env-conf-test] (Live o : rest) -> case o of
1905.80 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1905.80 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds i s Lo n g cs of
1905.80 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds F a l s e cs of
1905.80 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1905.80 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1905.80 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1905.80 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:355:14-26
1905.80 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1905.80 s
[opt-env-conf-test] if isLong
1905.80 s
[opt-env-conf-test] then
1905.80 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1905.80 s
[opt-env-conf-test] - then J u s t Nothing
1905.80 s
[opt-env-conf-test] + then Nothing
1905.80 s
[opt-env-conf-test] else Nothing
1905.80 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1905.80 s
[opt-env-conf-test]
1905.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
1905.80 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1905.80 s
[opt-env-conf-test] else Nothing
1905.80 s
[opt-env-conf-test] else
1905.80 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1905.80 s
[opt-env-conf-test] - in if D a sh edS ho r t c `elem` da s h e d s
1905.80 s
[opt-env-conf-test] + in if T r u e
1905.80 s
[opt-env-conf-test] then Just mRest
1905.80 s
[opt-env-conf-test] else Nothing
1905.80 s
[opt-env-conf-test]
1905.80 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1905.80 s
[opt-env-conf-test] @@ -221,11 +221,10 @@
1905.80 s
[opt-env-conf-test] ]
1905.80 s
[opt-env-conf-test] ]
1905.80 s
[opt-env-conf-test] LintErrorManyInfinite ->
1905.80 s
[opt-env-conf-test] [ [ functionChunk "many",
1905.80 s
[opt-env-conf-test] " or ",
1905.80 s
[opt-env-conf-test] functionChunk "some",
1905.80 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1905.80 s
[opt-env-conf-test] ],
1905.81 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1905.81 s
[opt-env-conf-test] ],
1905.81 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1905.81 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:301:18-28
1905.81 s
[opt-env-conf-test] @@ -298,7 +298,7 @@
1905.81 s
[opt-env-conf-test] else
1905.81 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1905.81 s
[opt-env-conf-test] in if DashedShort c `elem` dasheds
1905.81 s
[opt-env-conf-test] - then J u s t m R est
1905.81 s
[opt-env-conf-test] + then N o t h in g
1905.81 s
[opt-env-conf-test] else Nothing
1905.81 s
[opt-env-conf-test]
1905.81 s
[opt-env-conf-test] unsnocNE :: NonEmpty a -> (Maybe (NonEmpty a), a)
1905.81 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:32-41
1905.81 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1905.81 s
[opt-env-conf-test] Maybe String
1905.81 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1905.81 s
[opt-env-conf-test] (c :| rest)
1905.81 s
[opt-env-conf-test] - | c `elem` dasheds && not ( n u ll r e s t ) ->
1905.81 s
[opt-env-conf-test] + | c `elem` dasheds && not ( T r u e ) ->
1905.81 s
[opt-env-conf-test] Just rest
1905.81 s
[opt-env-conf-test] _ -> Nothing
1905.81 s
[opt-env-conf-test]
1905.81 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:32-41
1905.81 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1905.81 s
[opt-env-conf-test] Maybe String
1905.81 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1905.81 s
[opt-env-conf-test] (c :| rest)
1905.81 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1905.81 s
[opt-env-conf-test] + | c `elem` dasheds && n o t ( not (null rest) ) ->
1905.81 s
[opt-env-conf-test] Just rest
1905.81 s
[opt-env-conf-test] _ -> Nothing
1905.81 s
[opt-env-conf-test]
1905.81 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:31-42
1905.81 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1905.81 s
[opt-env-conf-test] Maybe String
1905.81 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1905.81 s
[opt-env-conf-test] (c :| rest)
1905.81 s
[opt-env-conf-test] - | c `elem` dasheds && not ( null rest) ->
1905.81 s
[opt-env-conf-test] + | c `elem` dasheds && n o t not ( ( null rest) ) ->
1905.81 s
[opt-env-conf-test] Just rest
1905.81 s
[opt-env-conf-test] _ -> Nothing
1905.81 s
[opt-env-conf-test]
1905.81 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-42
1905.81 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1905.81 s
[opt-env-conf-test] Maybe String
1905.81 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1913.96 s
[opt-env-conf-test] (c :| rest)
1913.96 s
[opt-env-conf-test] - | c `e lem` d as heds && not ( n u l l r e s t ) ->
1913.99 s
[opt-env-conf-test] + | Tr u e ->
1913.99 s
[opt-env-conf-test] Just rest
1913.99 s
[opt-env-conf-test] _ -> Nothing
1913.99 s
[opt-env-conf-test]
1913.99 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Args.hs:282:7-42
1913.99 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1913.99 s
[opt-env-conf-test] Maybe String
1913.99 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1913.99 s
[opt-env-conf-test] (c :| rest)
1913.99 s
[opt-env-conf-test] - | c `elem` dasheds & & not (null rest) ->
1913.99 s
[opt-env-conf-test] + | c `elem` dasheds | | not (null rest) ->
1913.99 s
[opt-env-conf-test] Just rest
1913.99 s
[opt-env-conf-test] _ -> Nothing
1913.99 s
[opt-env-conf-test]
1913.99 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-42
1913.99 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1913.99 s
[opt-env-conf-test] Maybe String
1913.99 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1913.99 s
[opt-env-conf-test] (c :| rest)
1913.99 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1913.99 s
[opt-env-conf-test] + | n o t ( c `elem` dasheds && not (null rest) ) ->
1913.99 s
[opt-env-conf-test] Just rest
1913.99 s
[opt-env-conf-test] _ -> Nothing
1913.99 s
[opt-env-conf-test]
1913.99 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:27-42
1913.99 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1914.00 s
[opt-env-conf-test] Maybe String
1914.00 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1914.00 s
[opt-env-conf-test] (c :| rest)
1914.00 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1914.00 s
[opt-env-conf-test] + | c `elem` dasheds && n o t ( not (null rest) ) ->
1914.00 s
[opt-env-conf-test] Just rest
1914.00 s
[opt-env-conf-test] _ -> Nothing
1914.00 s
[opt-env-conf-test]
1914.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:31-42
1914.00 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1914.00 s
[opt-env-conf-test] Maybe String
1914.00 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1914.00 s
[opt-env-conf-test] (c :| rest)
1914.00 s
[opt-env-conf-test] - | c `elem` dasheds && not ( n u l l r e s t ) ->
1914.00 s
[opt-env-conf-test] + | c `elem` dasheds && not T r u e ->
1914.00 s
[opt-env-conf-test] Just rest
1914.00 s
[opt-env-conf-test] _ -> Nothing
1914.00 s
[opt-env-conf-test]
1914.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:27-42
1914.00 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1914.00 s
[opt-env-conf-test] Maybe String
1914.00 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1914.00 s
[opt-env-conf-test] (c :| rest)
1914.00 s
[opt-env-conf-test] - | c `elem` dasheds && n ot (n u ll r e st ) ->
1914.00 s
[opt-env-conf-test] + | c `elem` dasheds && Tr u e ->
1914.00 s
[opt-env-conf-test] Just rest
1914.00 s
[opt-env-conf-test] _ -> Nothing
1914.00 s
[opt-env-conf-test]
1914.00 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:295:10-38
1914.00 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1914.00 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1914.00 s
[opt-env-conf-test] if isLong
1914.00 s
[opt-env-conf-test] then
1914.00 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1914.00 s
[opt-env-conf-test] + if n o t ( DashedLong cs `elem` dasheds )
1914.00 s
[opt-env-conf-test] then Just Nothing
1914.00 s
[opt-env-conf-test] else Nothing
1914.00 s
[opt-env-conf-test] else
1914.00 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:296:14-26
1914.00 s
[opt-env-conf-test] @@ -293,7 +293,7 @@
1914.00 s
[opt-env-conf-test] if isLong
1914.00 s
[opt-env-conf-test] then
1914.00 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1914.00 s
[opt-env-conf-test] - then J u s t Nothing
1914.00 s
[opt-env-conf-test] + then Nothing
1914.00 s
[opt-env-conf-test] else Nothing
1914.00 s
[opt-env-conf-test] else
1914.00 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1914.00 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:300:14-42
1914.00 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1914.00 s
[opt-env-conf-test] else Nothing
1914.00 s
[opt-env-conf-test] else
1914.00 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1914.00 s
[opt-env-conf-test] - in if DashedShort c `elem` dasheds
1914.00 s
[opt-env-conf-test] + in if n o t ( DashedShort c `elem` dasheds )
1914.00 s
[opt-env-conf-test] then Just mRest
1914.00 s
[opt-env-conf-test] else Nothing
1914.00 s
[opt-env-conf-test]
1914.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-23
1914.00 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1914.00 s
[opt-env-conf-test] Maybe String
1914.00 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1914.00 s
[opt-env-conf-test] (c :| rest)
1914.00 s
[opt-env-conf-test] - | c `e lem` da sh e d s && not (null rest) ->
1914.01 s
[opt-env-conf-test] + | Tru e && not (null rest) ->
1914.01 s
[opt-env-conf-test] Just rest
1914.01 s
[opt-env-conf-test] _ -> Nothing
1914.01 s
[opt-env-conf-test]
1914.01 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
1914.01 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1914.01 s
[opt-env-conf-test] else Nothing
1914.01 s
[opt-env-conf-test] else
1914.01 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1914.01 s
[opt-env-conf-test] - in if D a sh edS hort c `e l em` da s h e d s
1914.01 s
[opt-env-conf-test] + in if F a l s e
1914.01 s
[opt-env-conf-test] then Just mRest
1914.01 s
[opt-env-conf-test] else Nothing
1914.01 s
[opt-env-conf-test]
1914.01 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-23
1914.01 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1914.01 s
[opt-env-conf-test] Maybe String
1914.01 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1914.01 s
[opt-env-conf-test] (c :| rest)
1914.01 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1914.01 s
[opt-env-conf-test] + | n o t ( c `elem` dasheds ) && not (null rest) ->
1914.01 s
[opt-env-conf-test] Just rest
1914.01 s
[opt-env-conf-test] _ -> Nothing
1914.01 s
[opt-env-conf-test]
1914.01 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1914.01 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1914.01 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1914.01 s
[opt-env-conf-test] c1 <- go p1
1914.01 s
[opt-env-conf-test] c2 <- go p2
1914.01 s
[opt-env-conf-test] - pure (c1 || c 2 )
1914.01 s
[opt-env-conf-test] + pure (c1 || T ru e )
1914.01 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1914.01 s
[opt-env-conf-test] c1 <- go p1
1914.01 s
[opt-env-conf-test] c2 <- go p2
1914.01 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:150:32-40
1914.01 s
[opt-env-conf-test] @@ -147,7 +147,7 @@
1914.01 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1914.01 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1914.01 s
[opt-env-conf-test] -- A single dash is always an argument
1914.01 s
[opt-env-conf-test] - ArgBareDash -> [( J u s t "- " , consumed)]
1914.01 s
[opt-env-conf-test] + ArgBareDash -> [( No t h i ng , consumed)]
1914.01 s
[opt-env-conf-test] -- Bare double-dash
1914.01 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1914.01 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1914.01 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:154:25-34
1914.01 s
[opt-env-conf-test] @@ -151,7 +151,7 @@
1914.01 s
[opt-env-conf-test] -- Bare double-dash
1914.01 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1914.01 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1914.01 s
[opt-env-conf-test] - [] -> [( J u s t " -- " , consumed)]
1914.01 s
[opt-env-conf-test] + [] -> [( No t hing , consumed)]
1914.01 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1914.01 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1914.01 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1914.01 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:168:45-60
1914.01 s
[opt-env-conf-test] @@ -165,7 +165,7 @@
1914.01 s
[opt-env-conf-test] let go = \case
1914.01 s
[opt-env-conf-test] [] -> Nothing
1914.01 s
[opt-env-conf-test] (Dead : rest) -> go rest
1914.02 s
[opt-env-conf-test] - (Live a' : rest) -> J u st (a', r es t )
1914.02 s
[opt-env-conf-test] + (Live a' : rest) -> No t hin g
1914.02 s
[opt-env-conf-test] in case go afters of
1914.02 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1914.02 s
[opt-env-conf-test] Just (firstLive, rest) ->
1914.02 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:148:35-45
1914.02 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
1914.02 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1914.02 s
[opt-env-conf-test] Live a -> case a of
1914.02 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1914.02 s
[opt-env-conf-test] - ArgPlain plain -> [( J u s t pl a in , consumed)]
1914.02 s
[opt-env-conf-test] + ArgPlain plain -> [( No t h in g , consumed)]
1914.02 s
[opt-env-conf-test] -- A single dash is always an argument
1914.02 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1914.02 s
[opt-env-conf-test] -- Bare double-dash
1914.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
1914.02 s
[opt-env-conf-test] @@ -166,17 +166,16 @@
1914.02 s
[opt-env-conf-test] [] -> Nothing
1915.45 s
[opt-env-conf-test] (Dead : rest) -> go rest
1915.45 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1915.45 s
[opt-env-conf-test] in case go afters of
1915.45 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1915.45 s
[opt-env-conf-test] Just (firstLive, rest) ->
1915.45 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1915.45 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1915.45 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1915.45 s
[opt-env-conf-test] -- arguments.
1915.45 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1915.45 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1915.45 s
[opt-env-conf-test] )
1915.45 s
[opt-env-conf-test] ]
1915.45 s
[opt-env-conf-test] ArgDashed {} ->
1915.45 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1915.45 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1915.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
1915.45 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
1915.46 s
[opt-env-conf-test] ParserEmpty _ -> True
1915.46 s
[opt-env-conf-test] ParserAlt _ _ -> False
1915.46 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1915.46 s
[opt-env-conf-test] - ParserSome _ p -> isE mpty p
1915.46 s
[opt-env-conf-test] + ParserSome _ p -> T r ue
1915.46 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1915.46 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1915.46 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1915.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1915.46 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
1915.46 s
[opt-env-conf-test] -- A single dash is always an argument
1915.46 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1915.46 s
[opt-env-conf-test] -- Bare double-dash
1915.46 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1915.46 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1915.46 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1915.46 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1915.46 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1915.46 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1915.46 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1915.46 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1915.46 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1915.46 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1915.46 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1915.46 s
[opt-env-conf-test] -- pop the args as they come.
1915.46 s
[opt-env-conf-test] _ ->
1915.46 s
[opt-env-conf-test] let go = \case
1915.46 s
[opt-env-conf-test] [] -> Nothing
1915.46 s
[opt-env-conf-test] (Dead : rest) -> go rest
1915.46 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1915.46 s
[opt-env-conf-test] in case go afters of
1915.46 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1915.46 s
[opt-env-conf-test] Just (firstLive, rest) ->
1915.46 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1915.46 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1915.46 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1915.46 s
[opt-env-conf-test] -- arguments.
1915.46 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1915.46 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1915.46 s
[opt-env-conf-test] )
1915.46 s
[opt-env-conf-test] ]
1915.46 s
[opt-env-conf-test] ArgDashed {} ->
1922.71 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1922.74 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1922.74 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:89:25-26
1922.74 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1922.74 s
[opt-env-conf-test] renderArg = \case
1922.74 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1922.74 s
[opt-env-conf-test] ArgBareDash -> "-"
1922.74 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1922.74 s
[opt-env-conf-test] + ArgDashed l cs -> (if n o t ( l ) then "--" else "-") <> NE.toList cs
1922.74 s
[opt-env-conf-test] ArgPlain a -> a
1922.74 s
[opt-env-conf-test]
1922.74 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1922.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
1922.74 s
[opt-env-conf-test] @@ -130,10 +130,9 @@
1922.74 s
[opt-env-conf-test] -- things like a default command.
1922.74 s
[opt-env-conf-test] let addConsumeNothing = \case
1922.74 s
[opt-env-conf-test] [] -> [(Nothing, as)]
1922.74 s
[opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
1922.74 s
[opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
1922.74 s
[opt-env-conf-test] Nothing -> r
1922.74 s
[opt-env-conf-test] - Just _ -> t : addConsumeNothing rest
1922.74 s
[opt-env-conf-test]
1922.74 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1922.74 s
[opt-env-conf-test] [] -> []
1922.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
1922.74 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1922.74 s
[opt-env-conf-test] renderArg = \case
1922.75 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1922.75 s
[opt-env-conf-test] ArgBareDash -> "-"
1922.75 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1922.75 s
[opt-env-conf-test] + ArgDashed l cs -> (if T r u e then "--" else "-") <> NE.toList cs
1922.75 s
[opt-env-conf-test] ArgPlain a -> a
1922.75 s
[opt-env-conf-test]
1922.75 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1922.75 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
1922.75 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1922.75 s
[opt-env-conf-test] renderArg = \case
1922.75 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1922.75 s
[opt-env-conf-test] ArgBareDash -> "-"
1922.75 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1922.75 s
[opt-env-conf-test] + ArgDashed l cs -> (if F a l s e then "--" else "-") <> NE.toList cs
1922.75 s
[opt-env-conf-test] ArgPlain a -> a
1922.75 s
[opt-env-conf-test]
1922.75 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1922.75 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
1922.75 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1922.75 s
[opt-env-conf-test] NonEmpty Char ->
1922.75 s
[opt-env-conf-test] Maybe String
1922.75 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1922.75 s
[opt-env-conf-test] - if i s Long
1922.75 s
[opt-env-conf-test] + if F a l s e
1922.75 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1922.75 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1922.75 s
[opt-env-conf-test]
1922.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
1922.75 s
[opt-env-conf-test] @@ -130,10 +130,9 @@
1922.75 s
[opt-env-conf-test] -- things like a default command.
1922.75 s
[opt-env-conf-test] let addConsumeNothing = \case
1922.75 s
[opt-env-conf-test] [] -> [(Nothing, as)]
1922.75 s
[opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
1922.75 s
[opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
1922.75 s
[opt-env-conf-test] - Nothing -> r
1922.75 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
1922.75 s
[opt-env-conf-test]
1922.75 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1922.75 s
[opt-env-conf-test] [] -> []
1922.75 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
1922.75 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1922.75 s
[opt-env-conf-test] NonEmpty Char ->
1922.75 s
[opt-env-conf-test] Maybe String
1922.75 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1922.75 s
[opt-env-conf-test] - if i s L on g
1922.75 s
[opt-env-conf-test] + if Tru e
1922.75 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1922.75 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1922.75 s
[opt-env-conf-test]
1922.75 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:258:6-12
1922.75 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1922.75 s
[opt-env-conf-test] NonEmpty Char ->
1922.75 s
[opt-env-conf-test] Maybe String
1922.75 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1922.75 s
[opt-env-conf-test] - if isLong
1922.75 s
[opt-env-conf-test] + if n o t ( isLong )
1922.75 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1922.75 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1922.75 s
[opt-env-conf-test]
1922.75 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:283:9-18
1922.76 s
[opt-env-conf-test] @@ -280,7 +280,7 @@
1922.76 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1922.76 s
[opt-env-conf-test] (c :| rest)
1922.76 s
[opt-env-conf-test] | c `elem` dasheds && not (null rest) ->
1922.76 s
[opt-env-conf-test] - J u st re s t
1922.76 s
[opt-env-conf-test] + N o t h ing
1922.76 s
[opt-env-conf-test] _ -> Nothing
1922.76 s
[opt-env-conf-test]
1922.76 s
[opt-env-conf-test] -- Can consume only the last in a folded dashed
1922.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
1922.76 s
[opt-env-conf-test] @@ -202,7 +202,6 @@
1922.76 s
[opt-env-conf-test] ]
1922.76 s
[opt-env-conf-test] _ ->
1922.76 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1922.76 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1922.76 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1922.76 s
[opt-env-conf-test] ]
1922.76 s
[opt-env-conf-test] )
1922.76 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:206:39-57
1922.76 s
[opt-env-conf-test] @@ -203,7 +203,7 @@
1922.76 s
[opt-env-conf-test] _ ->
1922.76 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1922.76 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1922.76 s
[opt-env-conf-test] - ( J us t (r e n d e rA r g a ) , consumed)
1922.76 s
[opt-env-conf-test] + ( N o t hi n g , consumed)
1922.76 s
[opt-env-conf-test] ]
1922.76 s
[opt-env-conf-test] )
1922.76 s
[opt-env-conf-test]
1922.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
1922.76 s
[opt-env-conf-test] @@ -202,9 +202,7 @@
1922.76 s
[opt-env-conf-test] ]
1922.76 s
[opt-env-conf-test] _ ->
1922.76 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1922.76 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1922.76 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1922.76 s
[opt-env-conf-test] ]
1922.76 s
[opt-env-conf-test] )
1922.76 s
[opt-env-conf-test]
1922.76 s
[opt-env-conf-test] -- | Consume an option.
1922.76 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
1922.76 s
[opt-env-conf-test] @@ -202,9 +202,8 @@
1922.76 s
[opt-env-conf-test] ]
1922.76 s
[opt-env-conf-test] _ ->
1922.76 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1922.76 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1922.76 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1922.76 s
[opt-env-conf-test] ]
1922.76 s
[opt-env-conf-test] )
1922.76 s
[opt-env-conf-test]
1922.76 s
[opt-env-conf-test] -- | Consume an option.
1922.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
1922.76 s
[opt-env-conf-test] @@ -195,16 +195,12 @@
1922.76 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1922.76 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1922.76 s
[opt-env-conf-test] -- * The dashed is an argument
1922.76 s
[opt-env-conf-test] ( case a' of
1922.76 s
[opt-env-conf-test] - ArgDashed {} ->
1922.76 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1922.76 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1922.76 s
[opt-env-conf-test] - ]
1922.76 s
[opt-env-conf-test] _ ->
1922.76 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1922.76 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1922.76 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1922.76 s
[opt-env-conf-test] ]
1922.76 s
[opt-env-conf-test] )
1922.76 s
[opt-env-conf-test]
1922.76 s
[opt-env-conf-test] -- | Consume an option.
1922.77 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
1922.77 s
[opt-env-conf-test] @@ -195,16 +195,11 @@
1922.77 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1922.77 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1922.77 s
[opt-env-conf-test] -- * The dashed is an argument
1922.77 s
[opt-env-conf-test] ( case a' of
1922.77 s
[opt-env-conf-test] ArgDashed {} ->
1922.77 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1922.77 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1922.77 s
[opt-env-conf-test] ]
1922.77 s
[opt-env-conf-test] - _ ->
1925.26 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1925.26 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1925.26 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1925.26 s
[opt-env-conf-test] - ]
1925.26 s
[opt-env-conf-test] )
1925.26 s
[opt-env-conf-test]
1925.26 s
[opt-env-conf-test] -- | Consume an option.
1925.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
1925.27 s
[opt-env-conf-test] @@ -186,26 +186,25 @@
1925.27 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1925.27 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1925.27 s
[opt-env-conf-test] ]
1925.27 s
[opt-env-conf-test] in case afters of
1925.27 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1925.27 s
[opt-env-conf-test] - [] -> switchCase
1925.27 s
[opt-env-conf-test] (Dead : _) -> switchCase
1925.27 s
[opt-env-conf-test] (Live a' : rest) ->
1925.27 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1925.27 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1925.27 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1925.27 s
[opt-env-conf-test] -- * The dashed is an argument
1925.27 s
[opt-env-conf-test] ( case a' of
1925.27 s
[opt-env-conf-test] ArgDashed {} ->
1925.27 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1925.27 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1925.27 s
[opt-env-conf-test] ]
1925.27 s
[opt-env-conf-test] _ ->
1925.27 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1925.27 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1925.27 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1925.27 s
[opt-env-conf-test] ]
1925.27 s
[opt-env-conf-test] )
1925.27 s
[opt-env-conf-test]
1925.27 s
[opt-env-conf-test] -- | Consume an option.
1925.27 s
[opt-env-conf-test] --
1925.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
1925.27 s
[opt-env-conf-test] @@ -186,26 +186,25 @@
1925.27 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1925.27 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1925.27 s
[opt-env-conf-test] ]
1925.27 s
[opt-env-conf-test] in case afters of
1925.27 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1925.27 s
[opt-env-conf-test] [] -> switchCase
1925.27 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1925.27 s
[opt-env-conf-test] (Live a' : rest) ->
1925.27 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1925.27 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1925.27 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1925.27 s
[opt-env-conf-test] -- * The dashed is an argument
1925.27 s
[opt-env-conf-test] ( case a' of
1925.28 s
[opt-env-conf-test] ArgDashed {} ->
1925.28 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1925.28 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1925.28 s
[opt-env-conf-test] ]
1925.28 s
[opt-env-conf-test] _ ->
1925.28 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1925.28 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1925.28 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1925.28 s
[opt-env-conf-test] ]
1925.28 s
[opt-env-conf-test] )
1925.28 s
[opt-env-conf-test]
1925.28 s
[opt-env-conf-test] -- | Consume an option.
1925.28 s
[opt-env-conf-test] --
1925.28 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1925.28 s
[opt-env-conf-test] @@ -143,69 +143,68 @@
1925.28 s
[opt-env-conf-test] in case firstArg of
1925.28 s
[opt-env-conf-test] -- Skip any dead argument
1925.28 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1925.28 s
[opt-env-conf-test] Live a -> case a of
1925.28 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1925.28 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
1925.28 s
[opt-env-conf-test] -- A single dash is always an argument
1925.28 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1925.28 s
[opt-env-conf-test] -- Bare double-dash
1925.28 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1925.28 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1925.28 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1925.28 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1925.28 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1925.28 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1925.28 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1925.28 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1925.28 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1925.28 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1925.28 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1925.28 s
[opt-env-conf-test] -- pop the args as they come.
1925.28 s
[opt-env-conf-test] _ ->
1925.28 s
[opt-env-conf-test] let go = \case
1925.28 s
[opt-env-conf-test] [] -> Nothing
1925.28 s
[opt-env-conf-test] (Dead : rest) -> go rest
1925.28 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1925.28 s
[opt-env-conf-test] in case go afters of
1925.28 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1925.28 s
[opt-env-conf-test] Just (firstLive, rest) ->
1925.28 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1925.28 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1925.28 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1925.28 s
[opt-env-conf-test] -- arguments.
1925.40 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1925.40 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1925.40 s
[opt-env-conf-test] )
1925.40 s
[opt-env-conf-test] ]
1925.40 s
[opt-env-conf-test] ArgDashed {} ->
1925.40 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1925.40 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1925.40 s
[opt-env-conf-test] -- * The dashed is an argument
1925.40 s
[opt-env-conf-test] -- TODO we need to continue looking too
1925.40 s
[opt-env-conf-test] let switchCase =
1925.40 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1925.40 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1925.40 s
[opt-env-conf-test] ]
1925.40 s
[opt-env-conf-test] in case afters of
1925.40 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1925.40 s
[opt-env-conf-test] [] -> switchCase
1925.40 s
[opt-env-conf-test] (Dead : _) -> switchCase
1925.40 s
[opt-env-conf-test] (Live a' : rest) ->
1925.40 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1925.40 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1925.40 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1925.40 s
[opt-env-conf-test] -- * The dashed is an argument
1925.40 s
[opt-env-conf-test] ( case a' of
1925.40 s
[opt-env-conf-test] ArgDashed {} ->
1925.40 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1925.40 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1925.40 s
[opt-env-conf-test] ]
1925.40 s
[opt-env-conf-test] _ ->
1925.40 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1925.40 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1925.40 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1925.40 s
[opt-env-conf-test] ]
1925.40 s
[opt-env-conf-test] )
1925.40 s
[opt-env-conf-test]
1925.41 s
[opt-env-conf-test] -- | Consume an option.
1925.41 s
[opt-env-conf-test] --
1925.41 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1925.41 s
[opt-env-conf-test] @@ -143,69 +143,41 @@
1925.41 s
[opt-env-conf-test] in case firstArg of
1925.41 s
[opt-env-conf-test] -- Skip any dead argument
1925.41 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1925.41 s
[opt-env-conf-test] Live a -> case a of
1925.41 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1925.41 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1925.41 s
[opt-env-conf-test] -- A single dash is always an argument
1925.41 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1925.41 s
[opt-env-conf-test] -- Bare double-dash
1925.41 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
1925.41 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
1925.41 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1925.41 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
1925.41 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
1925.41 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
1925.41 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1925.41 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1925.41 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
1925.41 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
1925.41 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
1925.41 s
[opt-env-conf-test] - -- pop the args as they come.
1925.41 s
[opt-env-conf-test] - _ ->
1925.41 s
[opt-env-conf-test] - let go = \case
1925.41 s
[opt-env-conf-test] - [] -> Nothing
1925.41 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1925.41 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1925.41 s
[opt-env-conf-test] - in case go afters of
1925.41 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1925.41 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1925.41 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1925.41 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1925.41 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1925.41 s
[opt-env-conf-test] - -- arguments.
1925.41 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1925.41 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1925.41 s
[opt-env-conf-test] - )
1925.41 s
[opt-env-conf-test] - ]
1925.41 s
[opt-env-conf-test] ArgDashed {} ->
1925.41 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1925.41 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1925.41 s
[opt-env-conf-test] -- * The dashed is an argument
1925.41 s
[opt-env-conf-test] -- TODO we need to continue looking too
1925.41 s
[opt-env-conf-test] let switchCase =
1925.41 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1925.41 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1925.41 s
[opt-env-conf-test] ]
1925.41 s
[opt-env-conf-test] in case afters of
1925.41 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1925.42 s
[opt-env-conf-test] [] -> switchCase
1925.42 s
[opt-env-conf-test] (Dead : _) -> switchCase
1925.42 s
[opt-env-conf-test] (Live a' : rest) ->
1925.42 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1925.42 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1925.42 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1925.42 s
[opt-env-conf-test] -- * The dashed is an argument
1925.42 s
[opt-env-conf-test] ( case a' of
1925.42 s
[opt-env-conf-test] ArgDashed {} ->
1925.42 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1925.42 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1925.42 s
[opt-env-conf-test] ]
1925.42 s
[opt-env-conf-test] _ ->
1925.42 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1925.42 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1925.42 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1925.53 s
[opt-env-conf-test] ]
1925.53 s
[opt-env-conf-test] )
1925.53 s
[opt-env-conf-test]
1925.53 s
[opt-env-conf-test] -- | Consume an option.
1925.53 s
[opt-env-conf-test] --
1925.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1925.53 s
[opt-env-conf-test] @@ -143,69 +143,68 @@
1925.53 s
[opt-env-conf-test] in case firstArg of
1925.53 s
[opt-env-conf-test] -- Skip any dead argument
1925.53 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1925.53 s
[opt-env-conf-test] Live a -> case a of
1925.53 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1925.53 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1925.53 s
[opt-env-conf-test] -- A single dash is always an argument
1925.53 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
1925.53 s
[opt-env-conf-test] -- Bare double-dash
1925.53 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1925.53 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1925.53 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1925.53 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1925.53 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1925.53 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1925.53 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1925.53 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1925.53 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1925.53 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1925.53 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1925.53 s
[opt-env-conf-test] -- pop the args as they come.
1925.53 s
[opt-env-conf-test] _ ->
1925.53 s
[opt-env-conf-test] let go = \case
1925.54 s
[opt-env-conf-test] [] -> Nothing
1925.54 s
[opt-env-conf-test] (Dead : rest) -> go rest
1925.54 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1925.54 s
[opt-env-conf-test] in case go afters of
1925.54 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1925.54 s
[opt-env-conf-test] Just (firstLive, rest) ->
1925.54 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1925.54 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1925.54 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1925.54 s
[opt-env-conf-test] -- arguments.
1926.13 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1926.14 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1926.14 s
[opt-env-conf-test] )
1926.14 s
[opt-env-conf-test] ]
1926.14 s
[opt-env-conf-test] ArgDashed {} ->
1926.14 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1926.14 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1926.14 s
[opt-env-conf-test] -- * The dashed is an argument
1926.14 s
[opt-env-conf-test] -- TODO we need to continue looking too
1926.14 s
[opt-env-conf-test] let switchCase =
1926.14 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1926.14 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1926.14 s
[opt-env-conf-test] ]
1926.14 s
[opt-env-conf-test] in case afters of
1926.14 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1926.14 s
[opt-env-conf-test] [] -> switchCase
1926.14 s
[opt-env-conf-test] (Dead : _) -> switchCase
1926.14 s
[opt-env-conf-test] (Live a' : rest) ->
1926.14 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1926.14 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1926.14 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1926.14 s
[opt-env-conf-test] -- * The dashed is an argument
1926.14 s
[opt-env-conf-test] ( case a' of
1926.14 s
[opt-env-conf-test] ArgDashed {} ->
1926.14 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1926.14 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1926.14 s
[opt-env-conf-test] ]
1926.14 s
[opt-env-conf-test] _ ->
1926.14 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1926.14 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1926.14 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1926.14 s
[opt-env-conf-test] ]
1926.14 s
[opt-env-conf-test] )
1926.14 s
[opt-env-conf-test]
1926.14 s
[opt-env-conf-test] -- | Consume an option.
1926.14 s
[opt-env-conf-test] --
1926.14 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
1926.14 s
[opt-env-conf-test] @@ -140,72 +140,71 @@
1926.14 s
[opt-env-conf-test] (firstArg : afters) ->
1926.14 s
[opt-env-conf-test] let befores = argsBefore as
1926.14 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
1926.14 s
[opt-env-conf-test] in case firstArg of
1926.14 s
[opt-env-conf-test] -- Skip any dead argument
1926.14 s
[opt-env-conf-test] - Dead -> consumeArgument consumed
1926.14 s
[opt-env-conf-test] Live a -> case a of
1926.14 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1926.14 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1926.14 s
[opt-env-conf-test] -- A single dash is always an argument
1926.14 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1926.14 s
[opt-env-conf-test] -- Bare double-dash
1926.14 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1926.14 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1926.15 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1926.15 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1926.15 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1926.15 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1926.15 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1926.15 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1926.15 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1926.15 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1926.15 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1926.15 s
[opt-env-conf-test] -- pop the args as they come.
1926.15 s
[opt-env-conf-test] _ ->
1926.15 s
[opt-env-conf-test] let go = \case
1926.15 s
[opt-env-conf-test] [] -> Nothing
1926.15 s
[opt-env-conf-test] (Dead : rest) -> go rest
1926.15 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1926.15 s
[opt-env-conf-test] in case go afters of
1926.15 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1926.15 s
[opt-env-conf-test] Just (firstLive, rest) ->
1926.15 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1926.15 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1926.39 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1926.39 s
[opt-env-conf-test] -- arguments.
1926.39 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1926.39 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1926.39 s
[opt-env-conf-test] )
1926.39 s
[opt-env-conf-test] ]
1926.39 s
[opt-env-conf-test] ArgDashed {} ->
1926.39 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1926.39 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1926.39 s
[opt-env-conf-test] -- * The dashed is an argument
1926.39 s
[opt-env-conf-test] -- TODO we need to continue looking too
1926.40 s
[opt-env-conf-test] let switchCase =
1926.40 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1926.40 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1926.40 s
[opt-env-conf-test] ]
1926.40 s
[opt-env-conf-test] in case afters of
1926.40 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1926.40 s
[opt-env-conf-test] [] -> switchCase
1926.40 s
[opt-env-conf-test] (Dead : _) -> switchCase
1926.40 s
[opt-env-conf-test] (Live a' : rest) ->
1926.40 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1926.40 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1926.40 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1926.40 s
[opt-env-conf-test] -- * The dashed is an argument
1926.40 s
[opt-env-conf-test] ( case a' of
1926.40 s
[opt-env-conf-test] ArgDashed {} ->
1926.40 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1926.40 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1926.40 s
[opt-env-conf-test] ]
1926.40 s
[opt-env-conf-test] _ ->
1926.40 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1926.40 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1926.40 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1926.40 s
[opt-env-conf-test] ]
1926.40 s
[opt-env-conf-test] )
1926.40 s
[opt-env-conf-test]
1926.40 s
[opt-env-conf-test] -- | Consume an option.
1926.40 s
[opt-env-conf-test] --
1926.40 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1926.40 s
[opt-env-conf-test] @@ -143,69 +143,40 @@
1926.40 s
[opt-env-conf-test] in case firstArg of
1926.40 s
[opt-env-conf-test] -- Skip any dead argument
1926.40 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1926.40 s
[opt-env-conf-test] Live a -> case a of
1926.40 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1926.40 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1926.40 s
[opt-env-conf-test] -- A single dash is always an argument
1926.40 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1926.40 s
[opt-env-conf-test] -- Bare double-dash
1926.40 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1926.40 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1926.40 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1926.40 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1926.40 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1926.40 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1926.41 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1926.41 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1926.41 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1926.41 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1926.41 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1926.41 s
[opt-env-conf-test] -- pop the args as they come.
1926.41 s
[opt-env-conf-test] _ ->
1926.41 s
[opt-env-conf-test] let go = \case
1926.41 s
[opt-env-conf-test] [] -> Nothing
1926.41 s
[opt-env-conf-test] (Dead : rest) -> go rest
1926.41 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1926.41 s
[opt-env-conf-test] in case go afters of
1926.41 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1926.41 s
[opt-env-conf-test] Just (firstLive, rest) ->
1926.41 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1926.41 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1926.41 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1926.41 s
[opt-env-conf-test] -- arguments.
1926.41 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1926.41 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1926.41 s
[opt-env-conf-test] )
1926.41 s
[opt-env-conf-test] ]
1926.41 s
[opt-env-conf-test] - ArgDashed {} ->
1926.41 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
1926.41 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
1926.41 s
[opt-env-conf-test] - -- * The dashed is an argument
1926.41 s
[opt-env-conf-test] - -- TODO we need to continue looking too
1926.41 s
[opt-env-conf-test] - let switchCase =
1926.41 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
1926.41 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1926.41 s
[opt-env-conf-test] - ]
1926.41 s
[opt-env-conf-test] - in case afters of
1926.41 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
1926.41 s
[opt-env-conf-test] - [] -> switchCase
1926.41 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1926.41 s
[opt-env-conf-test] - (Live a' : rest) ->
1926.41 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1926.41 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1926.41 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1926.41 s
[opt-env-conf-test] - -- * The dashed is an argument
1926.41 s
[opt-env-conf-test] - ( case a' of
1926.41 s
[opt-env-conf-test] - ArgDashed {} ->
1926.41 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1926.41 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1926.41 s
[opt-env-conf-test] - ]
1926.41 s
[opt-env-conf-test] - _ ->
1926.41 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1926.41 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1926.41 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1927.16 s
[opt-env-conf-test] - ]
1927.16 s
[opt-env-conf-test] - )
1927.16 s
[opt-env-conf-test]
1927.16 s
[opt-env-conf-test] -- | Consume an option.
1927.16 s
[opt-env-conf-test] --
1927.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
1927.16 s
[opt-env-conf-test] @@ -140,72 +140,9 @@
1927.17 s
[opt-env-conf-test] (firstArg : afters) ->
1927.17 s
[opt-env-conf-test] let befores = argsBefore as
1927.17 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
1927.17 s
[opt-env-conf-test] in case firstArg of
1927.17 s
[opt-env-conf-test] -- Skip any dead argument
1927.17 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1927.17 s
[opt-env-conf-test] - Live a -> case a of
1927.17 s
[opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
1927.17 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
1927.17 s
[opt-env-conf-test] - -- A single dash is always an argument
1927.17 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
1927.17 s
[opt-env-conf-test] - -- Bare double-dash
1927.17 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
1927.17 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
1927.17 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1927.17 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
1927.17 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
1927.17 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
1927.17 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1927.17 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1927.17 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
1927.17 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
1927.17 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
1927.17 s
[opt-env-conf-test] - -- pop the args as they come.
1927.17 s
[opt-env-conf-test] - _ ->
1927.17 s
[opt-env-conf-test] - let go = \case
1927.18 s
[opt-env-conf-test] - [] -> Nothing
1927.18 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1927.18 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1927.18 s
[opt-env-conf-test] - in case go afters of
1927.18 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1927.18 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1927.18 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1927.18 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1927.18 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1927.18 s
[opt-env-conf-test] - -- arguments.
1927.18 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1927.18 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1927.18 s
[opt-env-conf-test] - )
1927.18 s
[opt-env-conf-test] - ]
1927.18 s
[opt-env-conf-test] - ArgDashed {} ->
1927.18 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
1927.18 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
1927.18 s
[opt-env-conf-test] - -- * The dashed is an argument
1927.18 s
[opt-env-conf-test] - -- TODO we need to continue looking too
1927.18 s
[opt-env-conf-test] - let switchCase =
1927.18 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
1927.18 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1927.18 s
[opt-env-conf-test] - ]
1927.18 s
[opt-env-conf-test] - in case afters of
1927.18 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
1927.18 s
[opt-env-conf-test] - [] -> switchCase
1927.18 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1927.18 s
[opt-env-conf-test] - (Live a' : rest) ->
1927.18 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1927.18 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1927.18 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1927.18 s
[opt-env-conf-test] - -- * The dashed is an argument
1927.19 s
[opt-env-conf-test] - ( case a' of
1927.19 s
[opt-env-conf-test] - ArgDashed {} ->
1927.19 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1927.76 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1927.76 s
[opt-env-conf-test] - ]
1927.86 s
[opt-env-conf-test] - _ ->
1927.86 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1927.86 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1927.86 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1927.86 s
[opt-env-conf-test] - ]
1927.86 s
[opt-env-conf-test] - )
1927.86 s
[opt-env-conf-test]
1927.86 s
[opt-env-conf-test] -- | Consume an option.
1927.86 s
[opt-env-conf-test] --
1927.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
1927.86 s
[opt-env-conf-test] @@ -135,77 +135,76 @@
1927.86 s
[opt-env-conf-test] Nothing -> r
1927.86 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
1927.86 s
[opt-env-conf-test]
1927.86 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1927.86 s
[opt-env-conf-test] - [] -> []
1927.86 s
[opt-env-conf-test] (firstArg : afters) ->
1927.86 s
[opt-env-conf-test] let befores = argsBefore as
1927.86 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
1927.86 s
[opt-env-conf-test] in case firstArg of
1927.86 s
[opt-env-conf-test] -- Skip any dead argument
1927.86 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1927.86 s
[opt-env-conf-test] Live a -> case a of
1927.86 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1927.86 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1927.86 s
[opt-env-conf-test] -- A single dash is always an argument
1927.87 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1927.87 s
[opt-env-conf-test] -- Bare double-dash
1927.87 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1927.87 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1927.87 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1927.87 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1927.87 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1927.87 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1927.87 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1927.87 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1927.87 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1927.87 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1927.87 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1927.87 s
[opt-env-conf-test] -- pop the args as they come.
1927.87 s
[opt-env-conf-test] _ ->
1927.87 s
[opt-env-conf-test] let go = \case
1927.87 s
[opt-env-conf-test] [] -> Nothing
1927.87 s
[opt-env-conf-test] (Dead : rest) -> go rest
1927.87 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1927.87 s
[opt-env-conf-test] in case go afters of
1927.87 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1927.87 s
[opt-env-conf-test] Just (firstLive, rest) ->
1927.87 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1927.87 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1927.87 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1927.87 s
[opt-env-conf-test] -- arguments.
1927.87 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1927.87 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1927.87 s
[opt-env-conf-test] )
1927.87 s
[opt-env-conf-test] ]
1927.87 s
[opt-env-conf-test] ArgDashed {} ->
1927.87 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1927.87 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1927.87 s
[opt-env-conf-test] -- * The dashed is an argument
1927.87 s
[opt-env-conf-test] -- TODO we need to continue looking too
1927.87 s
[opt-env-conf-test] let switchCase =
1927.87 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1927.87 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1927.87 s
[opt-env-conf-test] ]
1927.87 s
[opt-env-conf-test] in case afters of
1927.87 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1927.87 s
[opt-env-conf-test] [] -> switchCase
1927.87 s
[opt-env-conf-test] (Dead : _) -> switchCase
1927.87 s
[opt-env-conf-test] (Live a' : rest) ->
1927.88 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1927.88 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1927.88 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1927.88 s
[opt-env-conf-test] -- * The dashed is an argument
1927.88 s
[opt-env-conf-test] ( case a' of
1927.88 s
[opt-env-conf-test] ArgDashed {} ->
1927.88 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1927.88 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1927.88 s
[opt-env-conf-test] ]
1927.88 s
[opt-env-conf-test] _ ->
1927.88 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1927.88 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1927.88 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1927.88 s
[opt-env-conf-test] ]
1927.88 s
[opt-env-conf-test] )
1927.88 s
[opt-env-conf-test]
1927.88 s
[opt-env-conf-test] -- | Consume an option.
1927.88 s
[opt-env-conf-test] --
1927.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
1927.88 s
[opt-env-conf-test] @@ -135,77 +135,8 @@
1927.88 s
[opt-env-conf-test] Nothing -> r
1927.88 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
1927.88 s
[opt-env-conf-test]
1927.88 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1927.88 s
[opt-env-conf-test] [] -> []
1927.88 s
[opt-env-conf-test] - (firstArg : afters) ->
1927.88 s
[opt-env-conf-test] - let befores = argsBefore as
1927.88 s
[opt-env-conf-test] - consumed = Args (befores ++ [Dead]) afters
1927.88 s
[opt-env-conf-test] - in case firstArg of
1927.88 s
[opt-env-conf-test] - -- Skip any dead argument
1927.88 s
[opt-env-conf-test] - Dead -> consumeArgument consumed
1927.88 s
[opt-env-conf-test] - Live a -> case a of
1927.88 s
[opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
1927.88 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
1927.88 s
[opt-env-conf-test] - -- A single dash is always an argument
1927.89 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
1927.89 s
[opt-env-conf-test] - -- Bare double-dash
1927.89 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
1927.89 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
1927.89 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1927.89 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
1927.89 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
1927.89 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
1927.89 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1927.89 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1927.89 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
1927.89 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
1927.89 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
1927.89 s
[opt-env-conf-test] - -- pop the args as they come.
1927.89 s
[opt-env-conf-test] - _ ->
1927.89 s
[opt-env-conf-test] - let go = \case
1927.89 s
[opt-env-conf-test] - [] -> Nothing
1927.89 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1927.89 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1927.89 s
[opt-env-conf-test] - in case go afters of
1927.89 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1927.89 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1927.89 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1927.89 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1927.89 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1927.89 s
[opt-env-conf-test] - -- arguments.
1927.89 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1927.89 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1927.89 s
[opt-env-conf-test] - )
1927.89 s
[opt-env-conf-test] - ]
1927.89 s
[opt-env-conf-test] - ArgDashed {} ->
1927.89 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
1927.89 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
1927.89 s
[opt-env-conf-test] - -- * The dashed is an argument
1927.89 s
[opt-env-conf-test] - -- TODO we need to continue looking too
1927.89 s
[opt-env-conf-test] - let switchCase =
1927.89 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
1927.89 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1927.89 s
[opt-env-conf-test] - ]
1927.89 s
[opt-env-conf-test] - in case afters of
1927.89 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
1927.89 s
[opt-env-conf-test] - [] -> switchCase
1927.89 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1927.89 s
[opt-env-conf-test] - (Live a' : rest) ->
1927.89 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1927.89 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1927.89 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1927.89 s
[opt-env-conf-test] - -- * The dashed is an argument
1927.89 s
[opt-env-conf-test] - ( case a' of
1933.81 s
[opt-env-conf-test] - ArgDashed {} ->
1933.81 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1933.84 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1933.84 s
[opt-env-conf-test] - ]
1933.84 s
[opt-env-conf-test] - _ ->
1933.84 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1933.84 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1933.84 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1933.84 s
[opt-env-conf-test] - ]
1933.84 s
[opt-env-conf-test] - )
1933.84 s
[opt-env-conf-test]
1933.84 s
[opt-env-conf-test] -- | Consume an option.
1933.84 s
[opt-env-conf-test] --
1933.84 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:226:34-72
1933.84 s
[opt-env-conf-test] @@ -223,7 +223,7 @@
1933.84 s
[opt-env-conf-test] Nothing ->
1933.84 s
[opt-env-conf-test] -- TODO option value on the border
1933.84 s
[opt-env-conf-test] case go (argsAfter as) of
1933.84 s
[opt-env-conf-test] - Just (val, newAfters) -> J u s t (v al, as {ar g sAfter = newAfters})
1933.84 s
[opt-env-conf-test] + Just (val, newAfters) -> No t h in g
1933.84 s
[opt-env-conf-test] Nothing -> Nothing
1933.84 s
[opt-env-conf-test] where
1933.84 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
1933.84 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:222:31-71
1933.84 s
[opt-env-conf-test] @@ -219,7 +219,7 @@
1933.84 s
[opt-env-conf-test] consumeOption :: [Dashed] -> Args -> Maybe (String, Args)
1933.84 s
[opt-env-conf-test] consumeOption dasheds as = do
1933.84 s
[opt-env-conf-test] case go (argsBefore as) of
1933.84 s
[opt-env-conf-test] - Just (val, newBefores) -> J u s t (val, as {a r g s Before = newBefores})
1933.85 s
[opt-env-conf-test] + Just (val, newBefores) -> No t hin g
1933.85 s
[opt-env-conf-test] Nothing ->
1933.85 s
[opt-env-conf-test] -- TODO option value on the border
1933.85 s
[opt-env-conf-test] case go (argsAfter as) of
1933.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
1933.85 s
[opt-env-conf-test] @@ -222,9 +222,8 @@
1933.85 s
[opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
1933.85 s
[opt-env-conf-test] Nothing ->
1933.85 s
[opt-env-conf-test] -- TODO option value on the border
1933.85 s
[opt-env-conf-test] case go (argsAfter as) of
1933.85 s
[opt-env-conf-test] Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
1933.85 s
[opt-env-conf-test] - Nothing -> Nothing
1933.85 s
[opt-env-conf-test] where
1933.85 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
1933.85 s
[opt-env-conf-test] go = \case
1933.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
1933.85 s
[opt-env-conf-test] @@ -222,9 +222,8 @@
1933.85 s
[opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
1933.85 s
[opt-env-conf-test] Nothing ->
1933.85 s
[opt-env-conf-test] -- TODO option value on the border
1933.85 s
[opt-env-conf-test] case go (argsAfter as) of
1933.85 s
[opt-env-conf-test] - Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
1933.85 s
[opt-env-conf-test] Nothing -> Nothing
1933.85 s
[opt-env-conf-test] where
1933.85 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
1933.85 s
[opt-env-conf-test] go = \case
1933.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
1933.85 s
[opt-env-conf-test] @@ -186,26 +186,10 @@
1933.85 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1933.85 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1933.85 s
[opt-env-conf-test] ]
1933.85 s
[opt-env-conf-test] in case afters of
1933.85 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1933.85 s
[opt-env-conf-test] [] -> switchCase
1933.85 s
[opt-env-conf-test] (Dead : _) -> switchCase
1933.85 s
[opt-env-conf-test] - (Live a' : rest) ->
1933.85 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1933.85 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1933.85 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1933.85 s
[opt-env-conf-test] - -- * The dashed is an argument
1933.85 s
[opt-env-conf-test] - ( case a' of
1933.85 s
[opt-env-conf-test] - ArgDashed {} ->
1933.85 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1933.85 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1933.85 s
[opt-env-conf-test] - ]
1933.85 s
[opt-env-conf-test] - _ ->
1933.85 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1933.85 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1933.85 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1933.85 s
[opt-env-conf-test] - ]
1933.85 s
[opt-env-conf-test] - )
1933.85 s
[opt-env-conf-test]
1933.85 s
[opt-env-conf-test] -- | Consume an option.
1933.85 s
[opt-env-conf-test] --
1933.85 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:205:39-58
1933.85 s
[opt-env-conf-test] @@ -202,7 +202,7 @@
1933.85 s
[opt-env-conf-test] ]
1933.85 s
[opt-env-conf-test] _ ->
1933.85 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1933.85 s
[opt-env-conf-test] - ++ [ ( J us t ( re n d e rA r g a ' ) , Args (befores ++ [Live a, Dead]) rest),
1933.85 s
[opt-env-conf-test] + ++ [ ( N o t h i n g , Args (befores ++ [Live a, Dead]) rest),
1933.85 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1933.85 s
[opt-env-conf-test] ]
1933.85 s
[opt-env-conf-test] )
1933.85 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
1933.85 s
[opt-env-conf-test] @@ -201,7 +201,6 @@
1933.85 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1933.85 s
[opt-env-conf-test] ]
1933.85 s
[opt-env-conf-test] _ ->
1933.85 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1933.85 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1933.85 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1933.85 s
[opt-env-conf-test] ]
1933.85 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:201:39-57
1933.85 s
[opt-env-conf-test] @@ -198,7 +198,7 @@
1933.85 s
[opt-env-conf-test] ( case a' of
1933.85 s
[opt-env-conf-test] ArgDashed {} ->
1933.85 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1933.85 s
[opt-env-conf-test] - ++ [ ( J us t (r e n d e rA r g a ) , consumed)
1933.86 s
[opt-env-conf-test] + ++ [ ( N o t hi n g , consumed)
1933.86 s
[opt-env-conf-test] ]
1933.86 s
[opt-env-conf-test] _ ->
1933.86 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1933.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1933.86 s
[opt-env-conf-test] @@ -149,34 +149,18 @@
1933.86 s
[opt-env-conf-test] -- A single dash is always an argument
1933.86 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1933.86 s
[opt-env-conf-test] -- Bare double-dash
1933.86 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1933.86 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1933.86 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1933.86 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1933.86 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1933.86 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1933.86 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1933.86 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1933.86 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1933.86 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1933.86 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1933.86 s
[opt-env-conf-test] -- pop the args as they come.
1933.86 s
[opt-env-conf-test] - _ ->
1933.86 s
[opt-env-conf-test] - let go = \case
1933.86 s
[opt-env-conf-test] - [] -> Nothing
1933.86 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1933.86 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1933.86 s
[opt-env-conf-test] - in case go afters of
1933.86 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1933.86 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1933.86 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1933.86 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1933.86 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1933.86 s
[opt-env-conf-test] - -- arguments.
1933.86 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1933.86 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1933.86 s
[opt-env-conf-test] - )
1934.42 s
[opt-env-conf-test] - ]
1934.42 s
[opt-env-conf-test] ArgDashed {} ->
1934.42 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1934.42 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1934.42 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1934.42 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
1934.42 s
[opt-env-conf-test] -- A single dash is always an argument
1934.42 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1934.42 s
[opt-env-conf-test] -- Bare double-dash
1934.42 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1934.42 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1934.42 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1934.42 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1934.43 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1934.43 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1934.43 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1934.43 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1934.43 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1934.43 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1934.43 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1934.43 s
[opt-env-conf-test] -- pop the args as they come.
1934.43 s
[opt-env-conf-test] _ ->
1934.43 s
[opt-env-conf-test] let go = \case
1934.43 s
[opt-env-conf-test] [] -> Nothing
1934.43 s
[opt-env-conf-test] (Dead : rest) -> go rest
1934.43 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1934.43 s
[opt-env-conf-test] in case go afters of
1934.43 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1934.43 s
[opt-env-conf-test] Just (firstLive, rest) ->
1934.43 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1934.43 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1934.43 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1934.43 s
[opt-env-conf-test] -- arguments.
1934.43 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1934.43 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1934.43 s
[opt-env-conf-test] )
1934.43 s
[opt-env-conf-test] ]
1934.43 s
[opt-env-conf-test] ArgDashed {} ->
1941.98 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1942.01 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1942.01 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:245:54-60
1942.01 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
1942.01 s
[opt-env-conf-test] Nothing ->
1942.01 s
[opt-env-conf-test] case rest of
1942.01 s
[opt-env-conf-test] (Live v : rest') ->
1942.01 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1942.01 s
[opt-env-conf-test] + case consumeDashedOption dasheds n o t ( isLong ) cs of
1942.01 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1942.01 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1942.01 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1942.01 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:247:39-71
1942.01 s
[opt-env-conf-test] @@ -244,7 +244,7 @@
1942.01 s
[opt-env-conf-test] (Live v : rest') ->
1942.01 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1942.01 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1942.01 s
[opt-env-conf-test] - Just Nothing -> J us t ( re n de rA r g v, Dead : rest')
1942.01 s
[opt-env-conf-test] + Just Nothing -> N o t hi n g
1942.01 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1942.01 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.01 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.02 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
1942.02 s
[opt-env-conf-test] @@ -202,7 +202,6 @@
1942.02 s
[opt-env-conf-test] ]
1942.02 s
[opt-env-conf-test] _ ->
1942.02 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1942.02 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1942.02 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1942.02 s
[opt-env-conf-test] ]
1942.02 s
[opt-env-conf-test] )
1942.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
1942.02 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1942.02 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1942.02 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1942.02 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1942.02 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s L on g cs') : Dead : rest')
1942.02 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed Tru e cs') : Dead : rest')
1942.02 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.02 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.02 s
[opt-env-conf-test]
1942.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
1942.02 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1942.02 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1942.02 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1942.02 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1942.02 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s Lo n g cs') : Dead : rest')
1942.02 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed F a l s e cs') : Dead : rest')
1942.02 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.02 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.02 s
[opt-env-conf-test]
1942.02 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:248:77-83
1942.02 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1942.02 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1942.02 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1942.03 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1942.03 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1942.03 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed n o t ( isLong ) cs') : Dead : rest')
1942.03 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.03 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.03 s
[opt-env-conf-test]
1942.03 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
1942.03 s
[opt-env-conf-test] @@ -201,7 +201,6 @@
1942.03 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1942.03 s
[opt-env-conf-test] ]
1942.03 s
[opt-env-conf-test] _ ->
1942.03 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1942.03 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1942.03 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1942.03 s
[opt-env-conf-test] ]
1942.03 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:248:42-104
1942.03 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1942.03 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1942.03 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1942.03 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1942.03 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')
1942.03 s
[opt-env-conf-test] + Just (Just cs') -> N o t h i ng
1942.03 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.03 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.03 s
[opt-env-conf-test]
1942.03 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
1942.03 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
1942.03 s
[opt-env-conf-test] Nothing ->
1942.03 s
[opt-env-conf-test] case rest of
1942.03 s
[opt-env-conf-test] (Live v : rest') ->
1942.03 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1942.04 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1942.04 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1942.04 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1942.04 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.04 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.04 s
[opt-env-conf-test]
1942.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
1942.04 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
1942.04 s
[opt-env-conf-test] Nothing ->
1942.04 s
[opt-env-conf-test] case rest of
1942.04 s
[opt-env-conf-test] (Live v : rest') ->
1942.04 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1942.04 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1942.04 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1942.04 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1942.04 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.04 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.04 s
[opt-env-conf-test]
1942.04 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:187:31-49
1942.04 s
[opt-env-conf-test] @@ -184,7 +184,7 @@
1942.04 s
[opt-env-conf-test] -- TODO we need to continue looking too
1942.04 s
[opt-env-conf-test] let switchCase =
1942.04 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1942.04 s
[opt-env-conf-test] - ++ [ ( J us t (r e n d e rA r g a ) , consumed)
1942.04 s
[opt-env-conf-test] + ++ [ ( N o t hi n g , consumed)
1942.04 s
[opt-env-conf-test] ]
1942.04 s
[opt-env-conf-test] in case afters of
1942.04 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1942.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
1942.04 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
1942.04 s
[opt-env-conf-test] Nothing ->
1942.04 s
[opt-env-conf-test] case rest of
1942.04 s
[opt-env-conf-test] (Live v : rest') ->
1942.04 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1942.04 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1942.04 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1942.04 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1942.04 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.04 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1942.04 s
[opt-env-conf-test]
1942.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
1942.04 s
[opt-env-conf-test] @@ -240,13 +240,8 @@
1947.95 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1947.95 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1947.98 s
[opt-env-conf-test] Nothing ->
1947.98 s
[opt-env-conf-test] case rest of
1947.98 s
[opt-env-conf-test] - (Live v : rest') ->
1947.98 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1947.98 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1947.98 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1947.98 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1947.98 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1947.98 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1947.98 s
[opt-env-conf-test]
1947.98 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1947.98 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
1947.98 s
[opt-env-conf-test] @@ -240,13 +240,12 @@
1947.98 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1947.98 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1947.98 s
[opt-env-conf-test] Nothing ->
1947.98 s
[opt-env-conf-test] case rest of
1947.98 s
[opt-env-conf-test] (Live v : rest') ->
1947.98 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1947.98 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1947.98 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1947.98 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1947.98 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1947.99 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1947.99 s
[opt-env-conf-test]
1947.99 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1947.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
1947.99 s
[opt-env-conf-test] @@ -237,16 +237,15 @@
1947.99 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1947.99 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1947.99 s
[opt-env-conf-test] ArgDashed isLong cs ->
1947.99 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1947.99 s
[opt-env-conf-test] - Just v -> Just (v, Dead : rest)
1947.99 s
[opt-env-conf-test] Nothing ->
1947.99 s
[opt-env-conf-test] case rest of
1947.99 s
[opt-env-conf-test] (Live v : rest') ->
1947.99 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1947.99 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1947.99 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1947.99 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1947.99 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1947.99 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1947.99 s
[opt-env-conf-test]
1947.99 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1947.99 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
1947.99 s
[opt-env-conf-test] @@ -237,16 +237,8 @@
1947.99 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1947.99 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1947.99 s
[opt-env-conf-test] ArgDashed isLong cs ->
1947.99 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1947.99 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1947.99 s
[opt-env-conf-test] - Nothing ->
1947.99 s
[opt-env-conf-test] - case rest of
1947.99 s
[opt-env-conf-test] - (Live v : rest') ->
1947.99 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1947.99 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1947.99 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1947.99 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1948.00 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1948.00 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1948.00 s
[opt-env-conf-test]
1948.00 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1948.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
1948.00 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
1948.00 s
[opt-env-conf-test] Nothing ->
1948.00 s
[opt-env-conf-test] case rest of
1948.00 s
[opt-env-conf-test] (Live v : rest') ->
1948.00 s
[opt-env-conf-test] - case consumeDashedOption dasheds i s Lo n g cs of
1948.00 s
[opt-env-conf-test] + case consumeDashedOption dasheds F a l s e cs of
1948.00 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1948.00 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1948.00 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1948.00 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:241:25-46
1948.00 s
[opt-env-conf-test] @@ -238,7 +238,7 @@
1948.00 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1948.00 s
[opt-env-conf-test] ArgDashed isLong cs ->
1948.00 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1948.00 s
[opt-env-conf-test] - Just v -> J us t ( v, Dea d : re s t )
1948.00 s
[opt-env-conf-test] + Just v -> No t h ing
1948.00 s
[opt-env-conf-test] Nothing ->
1948.00 s
[opt-env-conf-test] case rest of
1948.00 s
[opt-env-conf-test] (Live v : rest') ->
1948.00 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
1948.00 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
1948.00 s
[opt-env-conf-test] Nothing ->
1948.00 s
[opt-env-conf-test] case rest of
1948.00 s
[opt-env-conf-test] (Live v : rest') ->
1948.00 s
[opt-env-conf-test] - case consumeDashedOption dasheds i s L on g cs of
1948.00 s
[opt-env-conf-test] + case consumeDashedOption dasheds Tru e cs of
1948.00 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1948.00 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1948.00 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1948.00 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:240:55-61
1948.00 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
1948.00 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1948.00 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1948.00 s
[opt-env-conf-test] ArgDashed isLong cs ->
1948.00 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
1948.00 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds n o t ( isLong ) cs of
1948.01 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1948.01 s
[opt-env-conf-test] Nothing ->
1948.01 s
[opt-env-conf-test] case rest of
1948.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
1948.01 s
[opt-env-conf-test] @@ -233,21 +233,20 @@
1948.01 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
1948.01 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
1948.01 s
[opt-env-conf-test] (Live k : rest) ->
1948.01 s
[opt-env-conf-test] case k of
1948.01 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1948.01 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1948.01 s
[opt-env-conf-test] ArgDashed isLong cs ->
1948.01 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1948.01 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1948.01 s
[opt-env-conf-test] Nothing ->
1948.01 s
[opt-env-conf-test] case rest of
1948.01 s
[opt-env-conf-test] (Live v : rest') ->
1948.01 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1948.01 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1948.01 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1948.01 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1948.01 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1948.01 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1948.01 s
[opt-env-conf-test]
1948.01 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1948.01 s
[opt-env-conf-test] [Dashed] ->
1948.01 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
1948.01 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
1948.01 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1948.01 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1948.01 s
[opt-env-conf-test] ArgDashed isLong cs ->
1948.01 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds i s Lo n g cs of
1948.02 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds F a l s e cs of
1948.02 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1948.02 s
[opt-env-conf-test] Nothing ->
1948.02 s
[opt-env-conf-test] case rest of
1948.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
1948.02 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
1948.02 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1948.02 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1948.02 s
[opt-env-conf-test] ArgDashed isLong cs ->
1948.02 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds i s L on g cs of
1948.02 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds Tru e cs of
1948.02 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1948.02 s
[opt-env-conf-test] Nothing ->
1948.02 s
[opt-env-conf-test] case rest of
1948.02 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:82:26-31
1948.02 s
[opt-env-conf-test] @@ -79,7 +79,7 @@
1948.02 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1955.26 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1955.29 s
[opt-env-conf-test] Nothing -> ArgBareDash
1955.29 s
[opt-env-conf-test] - Just ne -> ArgDashed F al s e ne
1955.29 s
[opt-env-conf-test] + Just ne -> ArgDashed T ru e ne
1955.29 s
[opt-env-conf-test] s -> ArgPlain s
1955.29 s
[opt-env-conf-test]
1955.29 s
[opt-env-conf-test] renderArg :: Arg -> String
1955.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
1955.29 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
1955.29 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1955.29 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1955.29 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1955.29 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1955.29 s
[opt-env-conf-test] - Nothing -> ArgBareDash
1955.29 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1955.29 s
[opt-env-conf-test] s -> ArgPlain s
1955.29 s
[opt-env-conf-test]
1955.29 s
[opt-env-conf-test] renderArg :: Arg -> String
1955.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
1955.29 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
1955.29 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1955.29 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1955.29 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1955.29 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1955.29 s
[opt-env-conf-test] Nothing -> ArgBareDash
1955.29 s
[opt-env-conf-test] - Just ne -> ArgDashed False ne
1955.29 s
[opt-env-conf-test] s -> ArgPlain s
1955.29 s
[opt-env-conf-test]
1955.29 s
[opt-env-conf-test] renderArg :: Arg -> String
1955.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
1955.30 s
[opt-env-conf-test] @@ -74,9 +74,8 @@
1955.30 s
[opt-env-conf-test]
1955.30 s
[opt-env-conf-test] parseArg :: String -> Arg
1955.30 s
[opt-env-conf-test] parseArg = \case
1955.30 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1955.30 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1955.30 s
[opt-env-conf-test] - Just ne -> ArgDashed True ne
1955.30 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1955.30 s
[opt-env-conf-test] Nothing -> ArgBareDash
1955.30 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1955.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
1955.30 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
1955.30 s
[opt-env-conf-test] instance Validity Dashed
1955.30 s
[opt-env-conf-test]
1955.30 s
[opt-env-conf-test] instance IsString Dashed where
1955.30 s
[opt-env-conf-test] fromString s = case fromString s of
1955.30 s
[opt-env-conf-test] - ArgDashed True cs -> DashedLong cs
1955.30 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
1955.30 s
[opt-env-conf-test] _ -> error "Invalid dashed"
1955.30 s
[opt-env-conf-test]
1955.30 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1955.30 s
[opt-env-conf-test] renderDashed = \case
1955.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
1955.30 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
1955.30 s
[opt-env-conf-test] instance Validity Dashed
1955.30 s
[opt-env-conf-test]
1955.30 s
[opt-env-conf-test] instance IsString Dashed where
1955.30 s
[opt-env-conf-test] fromString s = case fromString s of
1955.30 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
1955.30 s
[opt-env-conf-test] - ArgDashed False (c :| []) -> DashedShort c
1955.30 s
[opt-env-conf-test] _ -> error "Invalid dashed"
1955.30 s
[opt-env-conf-test]
1955.30 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1955.30 s
[opt-env-conf-test] renderDashed = \case
1955.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
1955.30 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
1955.30 s
[opt-env-conf-test] instance Validity Dashed
1955.30 s
[opt-env-conf-test]
1955.30 s
[opt-env-conf-test] instance IsString Dashed where
1955.30 s
[opt-env-conf-test] fromString s = case fromString s of
1955.30 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
1955.30 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
1955.30 s
[opt-env-conf-test] - _ -> error "Invalid dashed"
1955.30 s
[opt-env-conf-test]
1955.30 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1955.30 s
[opt-env-conf-test] renderDashed = \case
1955.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
1955.30 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1955.30 s
[opt-env-conf-test] mconcat
1955.30 s
[opt-env-conf-test] [ genericValidate arg,
1955.30 s
[opt-env-conf-test] case arg of
1955.30 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= ' - '
1955.30 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ T rue
1955.30 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1955.31 s
[opt-env-conf-test] ('-' : _) -> False
1955.31 s
[opt-env-conf-test] _ -> True
1955.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1955.31 s
[opt-env-conf-test] @@ -61,12 +61,9 @@
1955.31 s
[opt-env-conf-test] validate arg =
1955.31 s
[opt-env-conf-test] mconcat
1955.31 s
[opt-env-conf-test] [ genericValidate arg,
1955.31 s
[opt-env-conf-test] case arg of
1955.31 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1955.31 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1955.31 s
[opt-env-conf-test] - ('-' : _) -> False
1955.31 s
[opt-env-conf-test] - _ -> True
1955.31 s
[opt-env-conf-test] _ -> valid
1955.31 s
[opt-env-conf-test] ]
1955.31 s
[opt-env-conf-test]
1955.31 s
[opt-env-conf-test] instance IsString Arg where
1955.31 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:79:26-30
1955.31 s
[opt-env-conf-test] @@ -76,7 +76,7 @@
1955.31 s
[opt-env-conf-test] parseArg = \case
1955.31 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1955.31 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1955.31 s
[opt-env-conf-test] - Just ne -> ArgDashed Tr u e ne
1955.31 s
[opt-env-conf-test] + Just ne -> ArgDashed F a ls e ne
1955.31 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1955.31 s
[opt-env-conf-test] Nothing -> ArgBareDash
1955.31 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1955.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
1955.31 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
1955.31 s
[opt-env-conf-test] [ genericValidate arg,
1955.31 s
[opt-env-conf-test] case arg of
1955.31 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1955.31 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1955.31 s
[opt-env-conf-test] - ('-' : _) -> False
1955.31 s
[opt-env-conf-test] _ -> True
1955.31 s
[opt-env-conf-test] _ -> valid
1955.31 s
[opt-env-conf-test] ]
1955.31 s
[opt-env-conf-test]
1955.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
1955.31 s
[opt-env-conf-test] @@ -74,9 +74,8 @@
1955.31 s
[opt-env-conf-test]
1955.31 s
[opt-env-conf-test] parseArg :: String -> Arg
1955.31 s
[opt-env-conf-test] parseArg = \case
1955.31 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1955.32 s
[opt-env-conf-test] - Nothing -> ArgBareDoubleDash
1955.32 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1955.32 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1955.32 s
[opt-env-conf-test] Nothing -> ArgBareDash
1955.32 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1955.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
1955.32 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
1955.32 s
[opt-env-conf-test] [ genericValidate arg,
1955.32 s
[opt-env-conf-test] case arg of
1955.32 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1955.32 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1955.32 s
[opt-env-conf-test] ('-' : _) -> False
1955.32 s
[opt-env-conf-test] - _ -> True
1955.32 s
[opt-env-conf-test] _ -> valid
1955.32 s
[opt-env-conf-test] ]
1955.32 s
[opt-env-conf-test]
1955.32 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:387:23-41
1955.32 s
[opt-env-conf-test] @@ -384,7 +384,7 @@
1955.32 s
[opt-env-conf-test] live =
1955.32 s
[opt-env-conf-test] mapMaybe
1955.32 s
[opt-env-conf-test] ( \case
1955.32 s
[opt-env-conf-test] - Live a -> J us t (r e n d e rA r g a)
1955.32 s
[opt-env-conf-test] + Live a -> N o t hi n g
1955.32 s
[opt-env-conf-test] Dead -> Nothing
1955.32 s
[opt-env-conf-test] )
1955.32 s
[opt-env-conf-test]
1955.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
1955.32 s
[opt-env-conf-test] @@ -233,21 +233,10 @@
1955.32 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
1955.32 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
1955.32 s
[opt-env-conf-test] (Live k : rest) ->
1955.33 s
[opt-env-conf-test] case k of
1955.33 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1955.33 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1955.33 s
[opt-env-conf-test] - ArgDashed isLong cs ->
1955.33 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
1955.33 s
[opt-env-conf-test] - Just v -> Just (v, Dead : rest)
1955.33 s
[opt-env-conf-test] - Nothing ->
1955.33 s
[opt-env-conf-test] - case rest of
1955.33 s
[opt-env-conf-test] - (Live v : rest') ->
1955.33 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1955.33 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1955.33 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1955.33 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1955.33 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1955.33 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1955.33 s
[opt-env-conf-test]
1955.33 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1955.33 s
[opt-env-conf-test] [Dashed] ->
1955.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1955.33 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
1955.33 s
[opt-env-conf-test] validate arg =
1955.33 s
[opt-env-conf-test] mconcat
1955.33 s
[opt-env-conf-test] [ genericValidate arg,
1955.33 s
[opt-env-conf-test] case arg of
1955.33 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1955.33 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1955.33 s
[opt-env-conf-test] ('-' : _) -> False
1955.33 s
[opt-env-conf-test] _ -> True
1955.33 s
[opt-env-conf-test] _ -> valid
1955.33 s
[opt-env-conf-test] ]
1955.33 s
[opt-env-conf-test]
1955.33 s
[opt-env-conf-test] instance IsString Arg where
1955.34 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
1955.34 s
[opt-env-conf-test] @@ -233,21 +233,20 @@
1955.34 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
1955.34 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
1955.34 s
[opt-env-conf-test] (Live k : rest) ->
1955.34 s
[opt-env-conf-test] case k of
1955.34 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1955.34 s
[opt-env-conf-test] - ArgBareDoubleDash -> Nothing
1955.34 s
[opt-env-conf-test] ArgDashed isLong cs ->
1955.34 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1955.34 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1955.34 s
[opt-env-conf-test] Nothing ->
1955.34 s
[opt-env-conf-test] case rest of
1955.34 s
[opt-env-conf-test] (Live v : rest') ->
1955.34 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1955.34 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1955.34 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1961.25 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1961.25 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1961.28 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1961.28 s
[opt-env-conf-test]
1961.28 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1961.28 s
[opt-env-conf-test] [Dashed] ->
1961.28 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
1961.28 s
[opt-env-conf-test] @@ -166,17 +166,8 @@
1961.28 s
[opt-env-conf-test] [] -> Nothing
1961.28 s
[opt-env-conf-test] (Dead : rest) -> go rest
1961.28 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1961.28 s
[opt-env-conf-test] in case go afters of
1961.28 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1961.28 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1961.28 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1961.28 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1961.28 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1961.28 s
[opt-env-conf-test] - -- arguments.
1961.28 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1961.28 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1961.28 s
[opt-env-conf-test] - )
1961.29 s
[opt-env-conf-test] - ]
1961.29 s
[opt-env-conf-test] ArgDashed {} ->
1961.29 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1961.29 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1961.29 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
1961.29 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1961.29 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1961.29 s
[opt-env-conf-test] if isLong
1961.29 s
[opt-env-conf-test] then
1961.29 s
[opt-env-conf-test] - if D a sh edL ong cs `e l em` da s h e d s
1961.29 s
[opt-env-conf-test] + if F a l s e
1961.29 s
[opt-env-conf-test] then Just Nothing
1961.29 s
[opt-env-conf-test] else Nothing
1961.29 s
[opt-env-conf-test] else
1961.29 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:334:65-71
1961.29 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1961.29 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1961.29 s
[opt-env-conf-test] (Live o : rest) -> case o of
1961.29 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1961.29 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1961.29 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds n o t ( isLong ) cs of
1961.29 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1961.29 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1961.29 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1961.29 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
1961.29 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
1961.29 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
1961.29 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
1961.29 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
1961.29 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)
1961.29 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing T r u e caps f (go p)
1961.29 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
1961.29 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
1961.29 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
1961.29 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:686:41-45
1961.29 s
[opt-env-conf-test] @@ -683,7 +683,7 @@
1961.29 s
[opt-env-conf-test]
1961.29 s
[opt-env-conf-test] -- | Like 'checkMapIO', but allow trying the other side of any alternative if the result is Nothing.
1961.29 s
[opt-env-conf-test] checkMapIOForgivable :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
1961.29 s
[opt-env-conf-test] - checkMapIOForgivable = ParserCheck mLoc Tr u e Set.empty
1961.29 s
[opt-env-conf-test] + checkMapIOForgivable = ParserCheck mLoc F a ls e Set.empty
1961.29 s
[opt-env-conf-test] where
1961.29 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1961.29 s
[opt-env-conf-test]
1961.29 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:66:64-22
1961.29 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
1961.29 s
[opt-env-conf-test] [ genericValidate arg,
1961.29 s
[opt-env-conf-test] case arg of
1961.29 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1961.29 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1961.29 s
[opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ n o t ( case s of
1961.29 s
[opt-env-conf-test] ('-' : _) -> False
1961.29 s
[opt-env-conf-test] - _ -> True
1961.29 s
[opt-env-conf-test] + _ -> True )
1961.29 s
[opt-env-conf-test] _ -> valid
1961.29 s
[opt-env-conf-test] ]
1961.29 s
[opt-env-conf-test]
1961.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1961.29 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
1961.29 s
[opt-env-conf-test] validate arg =
1961.29 s
[opt-env-conf-test] mconcat
1961.29 s
[opt-env-conf-test] [ genericValidate arg,
1961.29 s
[opt-env-conf-test] case arg of
1961.29 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1961.29 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1961.29 s
[opt-env-conf-test] ('-' : _) -> False
1961.30 s
[opt-env-conf-test] _ -> True
1961.30 s
[opt-env-conf-test] - _ -> valid
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test]
1961.30 s
[opt-env-conf-test] instance IsString Arg where
1961.30 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
1961.30 s
[opt-env-conf-test] @@ -60,14 +60,13 @@
1961.30 s
[opt-env-conf-test] instance Validity Arg where
1961.30 s
[opt-env-conf-test] validate arg =
1961.30 s
[opt-env-conf-test] mconcat
1961.30 s
[opt-env-conf-test] - [ genericValidate arg,
1961.30 s
[opt-env-conf-test] case arg of
1961.30 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1961.30 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1961.30 s
[opt-env-conf-test] ('-' : _) -> False
1961.30 s
[opt-env-conf-test] _ -> True
1961.30 s
[opt-env-conf-test] _ -> valid
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test]
1961.30 s
[opt-env-conf-test] instance IsString Arg where
1961.30 s
[opt-env-conf-test] fromString = parseArg
1961.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
1961.30 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
1961.30 s
[opt-env-conf-test] [ genericValidate arg,
1961.30 s
[opt-env-conf-test] case arg of
1961.30 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1961.30 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ c a s e s of
1961.30 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
1961.30 s
[opt-env-conf-test] ('-' : _) -> False
1961.30 s
[opt-env-conf-test] _ -> True
1961.30 s
[opt-env-conf-test] _ -> valid
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test]
1961.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
1961.30 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
1961.30 s
[opt-env-conf-test] [ genericValidate arg,
1961.30 s
[opt-env-conf-test] case arg of
1961.30 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1961.30 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1961.30 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
1961.30 s
[opt-env-conf-test] ('-' : _) -> False
1961.30 s
[opt-env-conf-test] _ -> True
1961.30 s
[opt-env-conf-test] _ -> valid
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test]
1961.30 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:68:18-22
1961.30 s
[opt-env-conf-test] @@ -65,7 +65,7 @@
1961.30 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1961.30 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1961.30 s
[opt-env-conf-test] ('-' : _) -> False
1961.30 s
[opt-env-conf-test] - _ -> Tr u e
1961.30 s
[opt-env-conf-test] + _ -> F a ls e
1961.30 s
[opt-env-conf-test] _ -> valid
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test]
1961.30 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
1961.30 s
[opt-env-conf-test] @@ -90,7 +90,6 @@
1961.30 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1961.30 s
[opt-env-conf-test] ]
1961.30 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1961.31 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1961.31 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1961.31 s
[opt-env-conf-test] [ "Missing argument: "
1961.31 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1961.31 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
1961.31 s
[opt-env-conf-test] @@ -124,7 +124,6 @@
1961.31 s
[opt-env-conf-test] ["Missing command, available commands:"]
1961.31 s
[opt-env-conf-test] : availableCommandsLines cs
1961.31 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1964.01 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1964.01 s
[opt-env-conf-test] [fore blue "available commands:"]
1964.01 s
[opt-env-conf-test] ]
1964.01 s
[opt-env-conf-test] ++ availableCommandsLines cs
1964.01 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
1964.01 s
[opt-env-conf-test] @@ -124,9 +124,7 @@
1964.01 s
[opt-env-conf-test] ["Missing command, available commands:"]
1964.01 s
[opt-env-conf-test] : availableCommandsLines cs
1964.01 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1964.01 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1964.01 s
[opt-env-conf-test] - [fore blue "available commands:"]
1964.01 s
[opt-env-conf-test] ]
1964.01 s
[opt-env-conf-test] ++ availableCommandsLines cs
1964.01 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1964.01 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1964.01 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
1964.01 s
[opt-env-conf-test] @@ -124,9 +124,8 @@
1964.01 s
[opt-env-conf-test] ["Missing command, available commands:"]
1964.01 s
[opt-env-conf-test] : availableCommandsLines cs
1964.01 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1964.01 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1964.01 s
[opt-env-conf-test] [fore blue "available commands:"]
1964.01 s
[opt-env-conf-test] ]
1964.01 s
[opt-env-conf-test] ++ availableCommandsLines cs
1964.02 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1964.02 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."],
1964.02 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
1964.02 s
[opt-env-conf-test] @@ -129,9 +129,7 @@
1964.02 s
[opt-env-conf-test] ]
1964.02 s
[opt-env-conf-test] ++ availableCommandsLines cs
1964.02 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1964.02 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."],
1964.02 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1964.02 s
[opt-env-conf-test] ]
1964.02 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1964.02 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1964.02 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1964.02 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:65:103-111
1964.02 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1964.02 s
[opt-env-conf-test] mconcat
1964.02 s
[opt-env-conf-test] [ genericValidate arg,
1964.02 s
[opt-env-conf-test] case arg of
1964.02 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1964.02 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ n o t ( c /= '-' )
1964.02 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1964.02 s
[opt-env-conf-test] ('-' : _) -> False
1964.02 s
[opt-env-conf-test] _ -> True
1964.02 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
1964.02 s
[opt-env-conf-test] @@ -129,9 +129,8 @@
1964.02 s
[opt-env-conf-test] ]
1964.02 s
[opt-env-conf-test] ++ availableCommandsLines cs
1964.02 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1964.02 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."],
1964.02 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1964.02 s
[opt-env-conf-test] ]
1964.02 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1964.02 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1964.02 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1964.02 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1964.02 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1964.02 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1964.02 s
[opt-env-conf-test] renderError ParseError {..} =
1964.02 s
[opt-env-conf-test] concat
1964.03 s
[opt-env-conf-test] [ case parseErrorMessage of
1964.03 s
[opt-env-conf-test] - ParseErrorEmpty ->
1964.03 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
1964.03 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1964.03 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1964.03 s
[opt-env-conf-test] ParseErrorNoReaders ->
1964.03 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1964.03 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1964.03 s
[opt-env-conf-test] ]
1964.03 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1964.03 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1964.03 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1964.03 s
[opt-env-conf-test] [ "Missing argument: "
1964.03 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1964.03 s
[opt-env-conf-test] ]
1964.03 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1964.03 s
[opt-env-conf-test] ["Failed to read argument: "]
1964.03 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1964.03 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1964.03 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1964.03 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1964.03 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1964.03 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1964.03 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1964.03 s
[opt-env-conf-test] ["Failed to read option: "]
1964.03 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1964.03 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1964.03 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1964.03 s
[opt-env-conf-test] ["Missing env var: "]
1964.03 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1964.03 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1964.03 s
[opt-env-conf-test] ["Failed to read env var: "]
1964.03 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1964.03 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1964.03 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1964.03 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1964.03 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1964.79 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1964.79 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1964.79 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1964.79 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1964.79 s
[opt-env-conf-test] ["Missing command, available commands:"]
1964.80 s
[opt-env-conf-test] : availableCommandsLines cs
1964.80 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1964.80 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1964.80 s
[opt-env-conf-test] [fore blue "available commands:"]
1964.80 s
[opt-env-conf-test] ]
1964.80 s
[opt-env-conf-test] ++ availableCommandsLines cs
1964.80 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1964.80 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1964.80 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1964.80 s
[opt-env-conf-test] ]
1964.80 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1964.80 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1964.80 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1964.80 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1964.80 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1964.80 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1964.80 s
[opt-env-conf-test] ]
1964.80 s
[opt-env-conf-test]
1964.80 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1964.80 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1964.80 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1964.80 s
[opt-env-conf-test] renderError ParseError {..} =
1964.80 s
[opt-env-conf-test] concat
1964.80 s
[opt-env-conf-test] [ case parseErrorMessage of
1964.80 s
[opt-env-conf-test] ParseErrorEmpty ->
1964.80 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1964.81 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
1964.81 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
1964.81 s
[opt-env-conf-test] ParseErrorNoReaders ->
1964.81 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1964.81 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1964.81 s
[opt-env-conf-test] ]
1964.81 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1964.81 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1964.81 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1964.81 s
[opt-env-conf-test] [ "Missing argument: "
1964.81 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1964.81 s
[opt-env-conf-test] ]
1964.81 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1964.81 s
[opt-env-conf-test] ["Failed to read argument: "]
1964.81 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1964.81 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1964.81 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1964.81 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1964.81 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1964.81 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1964.81 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1964.81 s
[opt-env-conf-test] ["Failed to read option: "]
1964.81 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1964.81 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1964.81 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1964.81 s
[opt-env-conf-test] ["Missing env var: "]
1964.81 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1964.81 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1964.81 s
[opt-env-conf-test] ["Failed to read env var: "]
1964.81 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1964.81 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1964.81 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1964.81 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1964.81 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1967.75 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1967.75 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1967.81 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1967.81 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1967.81 s
[opt-env-conf-test] ["Missing command, available commands:"]
1967.81 s
[opt-env-conf-test] : availableCommandsLines cs
1967.81 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1967.82 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1967.82 s
[opt-env-conf-test] [fore blue "available commands:"]
1967.82 s
[opt-env-conf-test] ]
1967.82 s
[opt-env-conf-test] ++ availableCommandsLines cs
1967.82 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1967.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."],
1967.82 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1967.82 s
[opt-env-conf-test] ]
1967.82 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1967.82 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1967.82 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1967.82 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1967.82 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1967.82 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1967.82 s
[opt-env-conf-test] ]
1967.82 s
[opt-env-conf-test]
1967.82 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
1967.82 s
[opt-env-conf-test] @@ -86,9 +86,7 @@
1967.82 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1967.82 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1967.82 s
[opt-env-conf-test] ParseErrorNoReaders ->
1967.82 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1967.82 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1967.82 s
[opt-env-conf-test] ]
1967.82 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1967.82 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1967.82 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1967.82 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
1967.82 s
[opt-env-conf-test] @@ -142,7 +142,6 @@
1967.82 s
[opt-env-conf-test]
1967.82 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1967.82 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1967.82 s
[opt-env-conf-test] [ commandChunk commandDocArgument,
1967.82 s
[opt-env-conf-test] ": ",
1967.82 s
[opt-env-conf-test] - helpChunk commandDocHelp
1967.82 s
[opt-env-conf-test] ]
1967.82 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
1967.82 s
[opt-env-conf-test] @@ -90,7 +90,6 @@
1967.82 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1967.82 s
[opt-env-conf-test] ]
1967.82 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1967.82 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1967.82 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1967.82 s
[opt-env-conf-test] [ "Missing argument: "
1967.82 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1967.82 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
1967.82 s
[opt-env-conf-test] @@ -60,14 +60,7 @@
1967.82 s
[opt-env-conf-test] instance Validity Arg where
1967.83 s
[opt-env-conf-test] validate arg =
1967.83 s
[opt-env-conf-test] mconcat
1967.83 s
[opt-env-conf-test] - [ genericValidate arg,
1967.83 s
[opt-env-conf-test] - case arg of
1967.83 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1967.83 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1967.83 s
[opt-env-conf-test] - ('-' : _) -> False
1967.83 s
[opt-env-conf-test] - _ -> True
1967.83 s
[opt-env-conf-test] - _ -> valid
1967.83 s
[opt-env-conf-test] ]
1967.83 s
[opt-env-conf-test]
1967.83 s
[opt-env-conf-test] instance IsString Arg where
1967.83 s
[opt-env-conf-test] fromString = parseArg
1967.83 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
1967.83 s
[opt-env-conf-test] @@ -124,7 +124,6 @@
1967.83 s
[opt-env-conf-test] ["Missing command, available commands:"]
1967.83 s
[opt-env-conf-test] : availableCommandsLines cs
1967.83 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1967.83 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1967.83 s
[opt-env-conf-test] [fore blue "available commands:"]
1967.83 s
[opt-env-conf-test] ]
1967.83 s
[opt-env-conf-test] ++ availableCommandsLines cs
1967.83 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1967.83 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1967.83 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1967.83 s
[opt-env-conf-test] renderError ParseError {..} =
1967.83 s
[opt-env-conf-test] concat
1967.83 s
[opt-env-conf-test] [ case parseErrorMessage of
1967.83 s
[opt-env-conf-test] ParseErrorEmpty ->
1967.83 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1967.83 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1967.83 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1967.83 s
[opt-env-conf-test] ParseErrorNoReaders ->
1967.83 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1967.83 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1967.83 s
[opt-env-conf-test] ]
1967.83 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
1967.83 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1967.83 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1967.83 s
[opt-env-conf-test] [ "Missing argument: "
1967.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1967.83 s
[opt-env-conf-test] ]
1967.83 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1967.83 s
[opt-env-conf-test] ["Failed to read argument: "]
1967.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1967.83 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1967.83 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1967.83 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1967.83 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1967.83 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1967.83 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1967.83 s
[opt-env-conf-test] ["Failed to read option: "]
1967.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1967.83 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1967.83 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1967.83 s
[opt-env-conf-test] ["Missing env var: "]
1967.83 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1967.83 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1967.83 s
[opt-env-conf-test] ["Failed to read env var: "]
1967.83 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1967.83 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1967.83 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1967.83 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1967.83 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1967.92 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1967.92 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1967.92 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1967.92 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1967.92 s
[opt-env-conf-test] ["Missing command, available commands:"]
1967.92 s
[opt-env-conf-test] : availableCommandsLines cs
1967.92 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1967.92 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1967.92 s
[opt-env-conf-test] [fore blue "available commands:"]
1967.92 s
[opt-env-conf-test] ]
1967.92 s
[opt-env-conf-test] ++ availableCommandsLines cs
1967.92 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1967.92 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."],
1967.92 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1967.92 s
[opt-env-conf-test] ]
1967.92 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1967.92 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1967.92 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1967.92 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1967.92 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1967.92 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1967.92 s
[opt-env-conf-test] ]
1967.92 s
[opt-env-conf-test]
1967.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1967.92 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1967.92 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1967.92 s
[opt-env-conf-test] renderError ParseError {..} =
1967.92 s
[opt-env-conf-test] concat
1967.93 s
[opt-env-conf-test] [ case parseErrorMessage of
1967.93 s
[opt-env-conf-test] ParseErrorEmpty ->
1967.93 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1967.93 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1967.93 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1967.93 s
[opt-env-conf-test] - ParseErrorNoReaders ->
1967.93 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1967.93 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1967.93 s
[opt-env-conf-test] - ]
1967.93 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1967.93 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1967.93 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1967.93 s
[opt-env-conf-test] [ "Missing argument: "
1967.93 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1967.93 s
[opt-env-conf-test] ]
1967.93 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1967.93 s
[opt-env-conf-test] ["Failed to read argument: "]
1967.93 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1967.93 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1967.93 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1967.93 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1967.93 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1967.93 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1967.93 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1967.93 s
[opt-env-conf-test] ["Failed to read option: "]
1967.93 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1967.93 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1967.93 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1967.93 s
[opt-env-conf-test] ["Missing env var: "]
1967.93 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1967.93 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1967.93 s
[opt-env-conf-test] ["Failed to read env var: "]
1967.93 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1967.93 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1967.93 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1967.93 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1967.93 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1968.59 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1968.59 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1968.59 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1968.59 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1968.59 s
[opt-env-conf-test] ["Missing command, available commands:"]
1968.59 s
[opt-env-conf-test] : availableCommandsLines cs
1968.59 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1968.59 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1968.59 s
[opt-env-conf-test] [fore blue "available commands:"]
1968.59 s
[opt-env-conf-test] ]
1968.59 s
[opt-env-conf-test] ++ availableCommandsLines cs
1968.59 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1968.59 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1968.59 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1968.59 s
[opt-env-conf-test] ]
1968.59 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1968.59 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1968.59 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1968.59 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1968.59 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1968.59 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1968.59 s
[opt-env-conf-test] ]
1968.59 s
[opt-env-conf-test]
1968.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1968.59 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1968.59 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1968.59 s
[opt-env-conf-test] renderError ParseError {..} =
1968.59 s
[opt-env-conf-test] concat
1968.59 s
[opt-env-conf-test] [ case parseErrorMessage of
1968.59 s
[opt-env-conf-test] ParseErrorEmpty ->
1968.59 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1968.60 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1968.60 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1968.60 s
[opt-env-conf-test] ParseErrorNoReaders ->
1968.60 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1968.60 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1968.60 s
[opt-env-conf-test] ]
1968.60 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1968.60 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1968.60 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1968.60 s
[opt-env-conf-test] [ "Missing argument: "
1968.60 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1968.60 s
[opt-env-conf-test] ]
1968.60 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1968.60 s
[opt-env-conf-test] ["Failed to read argument: "]
1968.60 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1968.60 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1968.60 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
1968.60 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1968.60 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1968.60 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1968.60 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1968.60 s
[opt-env-conf-test] ["Failed to read option: "]
1968.60 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1968.60 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1968.60 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1968.60 s
[opt-env-conf-test] ["Missing env var: "]
1968.60 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1968.60 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1968.60 s
[opt-env-conf-test] ["Failed to read env var: "]
1968.60 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1968.60 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1968.60 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1968.60 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1968.60 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1969.23 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1969.23 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1969.23 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1969.23 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1969.23 s
[opt-env-conf-test] ["Missing command, available commands:"]
1969.23 s
[opt-env-conf-test] : availableCommandsLines cs
1969.23 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1969.23 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1969.23 s
[opt-env-conf-test] [fore blue "available commands:"]
1969.23 s
[opt-env-conf-test] ]
1969.23 s
[opt-env-conf-test] ++ availableCommandsLines cs
1969.23 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1969.23 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."],
1969.23 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1969.23 s
[opt-env-conf-test] ]
1969.23 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1969.23 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1969.23 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1969.23 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1969.23 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1969.23 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1969.23 s
[opt-env-conf-test] ]
1969.23 s
[opt-env-conf-test]
1969.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1969.23 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1969.23 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1969.23 s
[opt-env-conf-test] renderError ParseError {..} =
1969.23 s
[opt-env-conf-test] concat
1969.23 s
[opt-env-conf-test] [ case parseErrorMessage of
1969.23 s
[opt-env-conf-test] ParseErrorEmpty ->
1969.23 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1969.23 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1969.23 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1969.23 s
[opt-env-conf-test] ParseErrorNoReaders ->
1969.23 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1969.23 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1969.23 s
[opt-env-conf-test] ]
1969.23 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1969.23 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1969.23 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
1969.23 s
[opt-env-conf-test] - [ "Missing argument: "
1969.23 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
1969.23 s
[opt-env-conf-test] - ]
1969.23 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1969.23 s
[opt-env-conf-test] ["Failed to read argument: "]
1969.23 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1969.23 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1969.23 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1969.23 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1969.23 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1969.23 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1969.23 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1969.23 s
[opt-env-conf-test] ["Failed to read option: "]
1969.24 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1969.24 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1969.24 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1969.24 s
[opt-env-conf-test] ["Missing env var: "]
1969.24 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1969.24 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1969.24 s
[opt-env-conf-test] ["Failed to read env var: "]
1969.24 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1969.24 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1969.24 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1969.24 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1969.24 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1969.79 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1969.79 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1969.79 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1969.79 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1969.79 s
[opt-env-conf-test] ["Missing command, available commands:"]
1969.79 s
[opt-env-conf-test] : availableCommandsLines cs
1969.79 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1969.79 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1969.79 s
[opt-env-conf-test] [fore blue "available commands:"]
1969.79 s
[opt-env-conf-test] ]
1969.79 s
[opt-env-conf-test] ++ availableCommandsLines cs
1969.79 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1969.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."],
1969.79 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1969.79 s
[opt-env-conf-test] ]
1969.79 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1969.79 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1969.79 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1969.79 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1969.79 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1969.79 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1969.79 s
[opt-env-conf-test] ]
1969.79 s
[opt-env-conf-test]
1969.79 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1969.79 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1969.79 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1969.79 s
[opt-env-conf-test] renderError ParseError {..} =
1969.79 s
[opt-env-conf-test] concat
1969.79 s
[opt-env-conf-test] [ case parseErrorMessage of
1969.79 s
[opt-env-conf-test] ParseErrorEmpty ->
1969.79 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1969.79 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1969.79 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1969.79 s
[opt-env-conf-test] ParseErrorNoReaders ->
1969.79 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1969.79 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1969.79 s
[opt-env-conf-test] ]
1969.79 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1969.79 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1969.79 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1969.79 s
[opt-env-conf-test] [ "Missing argument: "
1969.80 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1969.80 s
[opt-env-conf-test] ]
1969.80 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
1969.80 s
[opt-env-conf-test] - ["Failed to read argument: "]
1969.80 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1969.80 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1969.80 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1969.80 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1969.80 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1969.80 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1969.80 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1969.80 s
[opt-env-conf-test] ["Failed to read option: "]
1969.80 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1969.80 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1969.80 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1969.80 s
[opt-env-conf-test] ["Missing env var: "]
1969.80 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1969.80 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1969.80 s
[opt-env-conf-test] ["Failed to read env var: "]
1969.80 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1969.80 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1969.80 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1969.80 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1969.80 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1970.60 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1970.60 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1970.60 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1970.60 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1970.60 s
[opt-env-conf-test] ["Missing command, available commands:"]
1970.60 s
[opt-env-conf-test] : availableCommandsLines cs
1970.60 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1970.60 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1970.60 s
[opt-env-conf-test] [fore blue "available commands:"]
1970.60 s
[opt-env-conf-test] ]
1970.60 s
[opt-env-conf-test] ++ availableCommandsLines cs
1970.60 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1970.60 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."],
1970.60 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1970.60 s
[opt-env-conf-test] ]
1970.60 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1970.60 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1970.60 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1970.60 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1970.60 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1970.60 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1970.60 s
[opt-env-conf-test] ]
1970.60 s
[opt-env-conf-test]
1970.60 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:67:26-31
1970.60 s
[opt-env-conf-test] @@ -64,7 +64,7 @@
1970.60 s
[opt-env-conf-test] case arg of
1970.61 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1970.61 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1970.61 s
[opt-env-conf-test] - ('-' : _) -> F al s e
1970.61 s
[opt-env-conf-test] + ('-' : _) -> T ru e
1970.61 s
[opt-env-conf-test] _ -> True
1970.61 s
[opt-env-conf-test] _ -> valid
1970.61 s
[opt-env-conf-test] ]
1970.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
1970.61 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1970.61 s
[opt-env-conf-test] mconcat
1970.61 s
[opt-env-conf-test] [ genericValidate arg,
1970.61 s
[opt-env-conf-test] case arg of
1970.61 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1970.61 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ F a ls e
1970.61 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1970.61 s
[opt-env-conf-test] ('-' : _) -> False
1970.61 s
[opt-env-conf-test] _ -> True
1970.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1970.61 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1970.61 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1970.61 s
[opt-env-conf-test] renderError ParseError {..} =
1970.61 s
[opt-env-conf-test] concat
1970.61 s
[opt-env-conf-test] [ case parseErrorMessage of
1970.61 s
[opt-env-conf-test] ParseErrorEmpty ->
1970.61 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1970.61 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1970.61 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1970.61 s
[opt-env-conf-test] ParseErrorNoReaders ->
1970.61 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1970.61 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1970.61 s
[opt-env-conf-test] ]
1970.62 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1970.62 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1970.62 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1970.62 s
[opt-env-conf-test] [ "Missing argument: "
1970.62 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1970.62 s
[opt-env-conf-test] ]
1970.62 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1970.62 s
[opt-env-conf-test] ["Failed to read argument: "]
1970.62 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1970.62 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1970.62 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1970.62 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1970.62 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1970.62 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1970.62 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1970.62 s
[opt-env-conf-test] ["Failed to read option: "]
1970.62 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1970.62 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1970.62 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1970.62 s
[opt-env-conf-test] ["Missing env var: "]
1970.62 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1970.62 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
1970.62 s
[opt-env-conf-test] - ["Failed to read env var: "]
1970.62 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1970.62 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1970.62 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1970.62 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1970.62 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1970.75 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1970.75 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1970.75 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1970.76 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1970.76 s
[opt-env-conf-test] ["Missing command, available commands:"]
1970.76 s
[opt-env-conf-test] : availableCommandsLines cs
1970.76 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1970.76 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1970.76 s
[opt-env-conf-test] [fore blue "available commands:"]
1970.76 s
[opt-env-conf-test] ]
1970.76 s
[opt-env-conf-test] ++ availableCommandsLines cs
1970.76 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1970.76 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1970.76 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1970.76 s
[opt-env-conf-test] ]
1970.76 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1970.76 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1970.76 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1970.76 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1970.76 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1970.76 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1970.76 s
[opt-env-conf-test] ]
1970.76 s
[opt-env-conf-test]
1970.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1970.76 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1970.76 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1970.76 s
[opt-env-conf-test] renderError ParseError {..} =
1970.76 s
[opt-env-conf-test] concat
1970.76 s
[opt-env-conf-test] [ case parseErrorMessage of
1970.76 s
[opt-env-conf-test] ParseErrorEmpty ->
1970.76 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1970.76 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1970.76 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1970.76 s
[opt-env-conf-test] ParseErrorNoReaders ->
1970.76 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1970.76 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1970.76 s
[opt-env-conf-test] ]
1970.76 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1970.76 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1970.76 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1970.76 s
[opt-env-conf-test] [ "Missing argument: "
1970.76 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1970.76 s
[opt-env-conf-test] ]
1970.76 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1970.76 s
[opt-env-conf-test] ["Failed to read argument: "]
1970.76 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1970.76 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1970.76 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1970.76 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1970.77 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1970.77 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1970.77 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1970.77 s
[opt-env-conf-test] ["Failed to read option: "]
1970.77 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1970.77 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1970.77 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1970.77 s
[opt-env-conf-test] ["Missing env var: "]
1970.77 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1970.77 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1970.77 s
[opt-env-conf-test] ["Failed to read env var: "]
1970.77 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1970.77 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1970.77 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1970.77 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1970.77 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1970.77 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1972.27 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1972.27 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1972.27 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1972.27 s
[opt-env-conf-test] ["Missing command, available commands:"]
1972.27 s
[opt-env-conf-test] : availableCommandsLines cs
1972.27 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1972.27 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1972.27 s
[opt-env-conf-test] [fore blue "available commands:"]
1972.27 s
[opt-env-conf-test] ]
1972.27 s
[opt-env-conf-test] ++ availableCommandsLines cs
1972.28 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1972.28 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."],
1972.28 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1972.28 s
[opt-env-conf-test] ]
1972.28 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1972.28 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1972.28 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1972.28 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
1972.28 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
1972.28 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1972.28 s
[opt-env-conf-test] ]
1972.28 s
[opt-env-conf-test]
1972.28 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1972.28 s
[opt-env-conf-test] @@ -80,63 +80,60 @@
1972.28 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1972.28 s
[opt-env-conf-test] renderError ParseError {..} =
1972.28 s
[opt-env-conf-test] concat
1972.28 s
[opt-env-conf-test] [ case parseErrorMessage of
1972.28 s
[opt-env-conf-test] ParseErrorEmpty ->
1972.28 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1972.28 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1972.28 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1972.28 s
[opt-env-conf-test] ParseErrorNoReaders ->
1972.28 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1972.28 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1972.28 s
[opt-env-conf-test] ]
1972.29 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1972.29 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1972.29 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1972.29 s
[opt-env-conf-test] [ "Missing argument: "
1972.29 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1972.29 s
[opt-env-conf-test] ]
1972.29 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1972.29 s
[opt-env-conf-test] ["Failed to read argument: "]
1972.29 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1972.29 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1972.29 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1972.29 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1972.29 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1972.29 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1972.29 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1972.29 s
[opt-env-conf-test] ["Failed to read option: "]
1972.29 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1972.29 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1972.29 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
1972.29 s
[opt-env-conf-test] - ["Missing env var: "]
1972.29 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1972.29 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1972.29 s
[opt-env-conf-test] ["Failed to read env var: "]
1972.29 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1972.29 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1972.29 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1972.29 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1972.29 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1972.50 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1972.50 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1972.51 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1972.51 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1972.51 s
[opt-env-conf-test] ["Missing command, available commands:"]
1972.51 s
[opt-env-conf-test] : availableCommandsLines cs
1972.51 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1972.51 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1972.51 s
[opt-env-conf-test] [fore blue "available commands:"]
1972.51 s
[opt-env-conf-test] ]
1972.51 s
[opt-env-conf-test] ++ availableCommandsLines cs
1972.51 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1972.51 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."],
1972.51 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1972.51 s
[opt-env-conf-test] ]
1972.51 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1972.51 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1972.51 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1972.51 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1972.51 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1972.51 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1972.51 s
[opt-env-conf-test] ]
1972.51 s
[opt-env-conf-test]
1972.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1972.51 s
[opt-env-conf-test] @@ -80,63 +80,58 @@
1972.51 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1972.51 s
[opt-env-conf-test] renderError ParseError {..} =
1972.51 s
[opt-env-conf-test] concat
1972.51 s
[opt-env-conf-test] [ case parseErrorMessage of
1972.51 s
[opt-env-conf-test] ParseErrorEmpty ->
1972.51 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1972.51 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1972.51 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1972.51 s
[opt-env-conf-test] ParseErrorNoReaders ->
1972.52 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1972.52 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1972.52 s
[opt-env-conf-test] ]
1972.52 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1972.52 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1972.52 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1972.52 s
[opt-env-conf-test] [ "Missing argument: "
1972.52 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1972.52 s
[opt-env-conf-test] ]
1972.52 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1972.52 s
[opt-env-conf-test] ["Failed to read argument: "]
1972.52 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1972.52 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1972.52 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1972.52 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1972.52 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1972.52 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1972.52 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1972.52 s
[opt-env-conf-test] ["Failed to read option: "]
1972.52 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1972.52 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1972.52 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1972.52 s
[opt-env-conf-test] ["Missing env var: "]
1972.52 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1972.52 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1972.52 s
[opt-env-conf-test] ["Failed to read env var: "]
1972.52 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1972.52 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1972.52 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1972.52 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1972.52 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1972.52 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1973.34 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1973.45 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1973.45 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1973.45 s
[opt-env-conf-test] ["Missing command, available commands:"]
1973.45 s
[opt-env-conf-test] : availableCommandsLines cs
1973.45 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
1973.45 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1973.46 s
[opt-env-conf-test] - [fore blue "available commands:"]
1973.46 s
[opt-env-conf-test] - ]
1973.46 s
[opt-env-conf-test] - ++ availableCommandsLines cs
1973.46 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1973.46 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."],
1973.46 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1973.46 s
[opt-env-conf-test] ]
1973.46 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1973.46 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1973.46 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1973.46 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1973.46 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1973.46 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1973.46 s
[opt-env-conf-test] ]
1973.46 s
[opt-env-conf-test]
1973.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1973.46 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1973.46 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1973.46 s
[opt-env-conf-test] renderError ParseError {..} =
1973.46 s
[opt-env-conf-test] concat
1973.46 s
[opt-env-conf-test] [ case parseErrorMessage of
1973.46 s
[opt-env-conf-test] ParseErrorEmpty ->
1973.46 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1973.46 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1973.46 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1973.47 s
[opt-env-conf-test] ParseErrorNoReaders ->
1973.47 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1973.47 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1973.47 s
[opt-env-conf-test] ]
1973.47 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1973.47 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1973.47 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1973.47 s
[opt-env-conf-test] [ "Missing argument: "
1973.47 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1973.47 s
[opt-env-conf-test] ]
1973.47 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1973.47 s
[opt-env-conf-test] ["Failed to read argument: "]
1973.47 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1973.47 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1973.47 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1973.47 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1973.47 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1973.47 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1973.47 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1973.47 s
[opt-env-conf-test] ["Failed to read option: "]
1973.47 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1973.47 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1973.47 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1973.47 s
[opt-env-conf-test] ["Missing env var: "]
1973.47 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1973.47 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1973.47 s
[opt-env-conf-test] ["Failed to read env var: "]
1973.47 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1973.47 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1973.47 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
1973.47 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
1973.47 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1974.02 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1974.02 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1974.02 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1974.02 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1974.02 s
[opt-env-conf-test] ["Missing command, available commands:"]
1974.02 s
[opt-env-conf-test] : availableCommandsLines cs
1974.02 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1974.02 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1974.02 s
[opt-env-conf-test] [fore blue "available commands:"]
1974.02 s
[opt-env-conf-test] ]
1974.02 s
[opt-env-conf-test] ++ availableCommandsLines cs
1974.02 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1974.03 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."],
1974.03 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1974.03 s
[opt-env-conf-test] ]
1974.03 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1974.03 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1974.03 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1974.03 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1974.03 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1974.03 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1974.03 s
[opt-env-conf-test] ]
1974.03 s
[opt-env-conf-test]
1974.03 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1974.03 s
[opt-env-conf-test] @@ -80,63 +80,58 @@
1974.03 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1974.03 s
[opt-env-conf-test] renderError ParseError {..} =
1974.03 s
[opt-env-conf-test] concat
1974.03 s
[opt-env-conf-test] [ case parseErrorMessage of
1974.03 s
[opt-env-conf-test] ParseErrorEmpty ->
1974.03 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1974.03 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1974.03 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1974.03 s
[opt-env-conf-test] ParseErrorNoReaders ->
1974.03 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1974.03 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1974.03 s
[opt-env-conf-test] ]
1974.03 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1974.03 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1974.03 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1974.03 s
[opt-env-conf-test] [ "Missing argument: "
1974.03 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1974.03 s
[opt-env-conf-test] ]
1974.03 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1974.03 s
[opt-env-conf-test] ["Failed to read argument: "]
1974.03 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1974.03 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.03 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1974.03 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1974.03 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1974.03 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1974.03 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1974.03 s
[opt-env-conf-test] ["Failed to read option: "]
1974.03 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1974.03 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.03 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1974.03 s
[opt-env-conf-test] ["Missing env var: "]
1974.03 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1974.03 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1974.03 s
[opt-env-conf-test] ["Failed to read env var: "]
1974.03 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1974.03 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.03 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1974.03 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1974.03 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1974.03 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1974.18 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1974.19 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1974.19 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1974.19 s
[opt-env-conf-test] ["Missing command, available commands:"]
1974.19 s
[opt-env-conf-test] : availableCommandsLines cs
1974.19 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1974.19 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1974.19 s
[opt-env-conf-test] [fore blue "available commands:"]
1974.19 s
[opt-env-conf-test] ]
1974.19 s
[opt-env-conf-test] ++ availableCommandsLines cs
1974.19 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
1974.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."],
1974.19 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1974.19 s
[opt-env-conf-test] - ]
1974.19 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
1974.19 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1974.19 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1974.19 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1974.19 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1974.19 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1974.19 s
[opt-env-conf-test] ]
1974.19 s
[opt-env-conf-test]
1974.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1974.19 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1974.19 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1974.19 s
[opt-env-conf-test] renderError ParseError {..} =
1974.19 s
[opt-env-conf-test] concat
1974.19 s
[opt-env-conf-test] [ case parseErrorMessage of
1974.19 s
[opt-env-conf-test] ParseErrorEmpty ->
1974.19 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1974.19 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1974.19 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1974.19 s
[opt-env-conf-test] ParseErrorNoReaders ->
1974.19 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1974.19 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1974.19 s
[opt-env-conf-test] ]
1974.19 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1974.19 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1974.19 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1974.19 s
[opt-env-conf-test] [ "Missing argument: "
1974.19 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1974.19 s
[opt-env-conf-test] ]
1974.19 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1974.19 s
[opt-env-conf-test] ["Failed to read argument: "]
1974.20 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1974.20 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.20 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1974.20 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1974.20 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1974.20 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1974.20 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1974.20 s
[opt-env-conf-test] ["Failed to read option: "]
1974.20 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1974.20 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.20 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1974.20 s
[opt-env-conf-test] ["Missing env var: "]
1974.20 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1974.20 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1974.20 s
[opt-env-conf-test] ["Failed to read env var: "]
1974.20 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1974.20 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.20 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1974.20 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1974.20 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1974.20 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1974.42 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1974.42 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1974.42 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1974.42 s
[opt-env-conf-test] ["Missing command, available commands:"]
1974.42 s
[opt-env-conf-test] : availableCommandsLines cs
1974.42 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1974.42 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1974.42 s
[opt-env-conf-test] [fore blue "available commands:"]
1974.42 s
[opt-env-conf-test] ]
1974.42 s
[opt-env-conf-test] ++ availableCommandsLines cs
1974.42 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1974.42 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."],
1974.42 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1974.42 s
[opt-env-conf-test] ]
1974.42 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1974.42 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
1974.42 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1974.42 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1974.42 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1974.42 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1974.42 s
[opt-env-conf-test] ]
1974.42 s
[opt-env-conf-test]
1974.43 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1974.43 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1974.43 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1974.43 s
[opt-env-conf-test] renderError ParseError {..} =
1974.43 s
[opt-env-conf-test] concat
1974.43 s
[opt-env-conf-test] [ case parseErrorMessage of
1974.43 s
[opt-env-conf-test] ParseErrorEmpty ->
1974.43 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1974.43 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1974.43 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1974.43 s
[opt-env-conf-test] ParseErrorNoReaders ->
1974.43 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1974.43 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1974.43 s
[opt-env-conf-test] ]
1974.43 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1974.43 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1974.43 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1974.43 s
[opt-env-conf-test] [ "Missing argument: "
1974.43 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1974.43 s
[opt-env-conf-test] ]
1974.43 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1974.43 s
[opt-env-conf-test] ["Failed to read argument: "]
1974.43 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1974.43 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.43 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1974.43 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1974.43 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1974.43 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1974.43 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1974.43 s
[opt-env-conf-test] ["Failed to read option: "]
1974.43 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1974.43 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.43 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1974.43 s
[opt-env-conf-test] ["Missing env var: "]
1974.43 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1974.43 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1974.43 s
[opt-env-conf-test] ["Failed to read env var: "]
1974.43 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1974.43 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.43 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1974.43 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1974.43 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
1974.58 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
1974.59 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
1974.59 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
1974.59 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1974.59 s
[opt-env-conf-test] ["Missing command, available commands:"]
1974.59 s
[opt-env-conf-test] : availableCommandsLines cs
1974.59 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1974.59 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1974.59 s
[opt-env-conf-test] [fore blue "available commands:"]
1974.59 s
[opt-env-conf-test] ]
1974.59 s
[opt-env-conf-test] ++ availableCommandsLines cs
1974.59 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1974.59 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1974.59 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1974.59 s
[opt-env-conf-test] ]
1974.59 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1974.59 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1974.59 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1974.59 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1974.59 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1974.59 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1974.59 s
[opt-env-conf-test] ]
1974.59 s
[opt-env-conf-test]
1974.59 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1974.59 s
[opt-env-conf-test] @@ -80,63 +80,60 @@
1974.59 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1974.59 s
[opt-env-conf-test] renderError ParseError {..} =
1974.59 s
[opt-env-conf-test] concat
1974.59 s
[opt-env-conf-test] [ case parseErrorMessage of
1974.59 s
[opt-env-conf-test] ParseErrorEmpty ->
1974.59 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1974.59 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1974.59 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1974.59 s
[opt-env-conf-test] ParseErrorNoReaders ->
1974.59 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1974.59 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1974.59 s
[opt-env-conf-test] ]
1974.59 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1974.59 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1974.59 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1974.59 s
[opt-env-conf-test] [ "Missing argument: "
1974.59 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1974.60 s
[opt-env-conf-test] ]
1974.60 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1974.60 s
[opt-env-conf-test] ["Failed to read argument: "]
1974.60 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1974.60 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.60 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1974.60 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1974.60 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1974.60 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1974.60 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1974.60 s
[opt-env-conf-test] ["Failed to read option: "]
1974.60 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1974.60 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.60 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1974.60 s
[opt-env-conf-test] ["Missing env var: "]
1974.60 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1974.60 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1974.60 s
[opt-env-conf-test] ["Failed to read env var: "]
1974.60 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1974.60 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1974.60 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1974.60 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1974.60 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1974.60 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1975.34 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1975.34 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1975.34 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
1975.34 s
[opt-env-conf-test] - ["Missing command, available commands:"]
1975.34 s
[opt-env-conf-test] - : availableCommandsLines cs
1975.34 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1975.34 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1975.34 s
[opt-env-conf-test] [fore blue "available commands:"]
1975.34 s
[opt-env-conf-test] ]
1975.34 s
[opt-env-conf-test] ++ availableCommandsLines cs
1975.34 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1975.34 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."],
1975.34 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1975.34 s
[opt-env-conf-test] ]
1975.34 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1975.34 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1975.34 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1975.34 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1975.34 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1975.34 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1975.34 s
[opt-env-conf-test] ]
1975.34 s
[opt-env-conf-test]
1975.34 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:53:29-34
1975.34 s
[opt-env-conf-test] @@ -50,7 +50,7 @@
1975.34 s
[opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
1975.35 s
[opt-env-conf-test] errorMessageIsForgivable = \case
1975.35 s
[opt-env-conf-test] ParseErrorEmpty -> True
1975.35 s
[opt-env-conf-test] - ParseErrorEmptySetting -> F al s e
1975.35 s
[opt-env-conf-test] + ParseErrorEmptySetting -> T ru e
1975.35 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1975.35 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1975.35 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1975.35 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1975.35 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1975.35 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1975.35 s
[opt-env-conf-test] renderError ParseError {..} =
1975.35 s
[opt-env-conf-test] concat
1975.35 s
[opt-env-conf-test] [ case parseErrorMessage of
1975.35 s
[opt-env-conf-test] ParseErrorEmpty ->
1975.35 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1975.35 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1975.35 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1975.35 s
[opt-env-conf-test] ParseErrorNoReaders ->
1975.35 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1975.35 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1975.35 s
[opt-env-conf-test] ]
1975.35 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1975.35 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1975.35 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1975.35 s
[opt-env-conf-test] [ "Missing argument: "
1975.35 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1975.35 s
[opt-env-conf-test] ]
1975.35 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1975.35 s
[opt-env-conf-test] ["Failed to read argument: "]
1975.35 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1975.35 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1975.35 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1975.35 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1975.35 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1975.35 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1975.35 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
1975.35 s
[opt-env-conf-test] - ["Failed to read option: "]
1975.35 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1975.35 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1975.35 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1975.35 s
[opt-env-conf-test] ["Missing env var: "]
1975.35 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1975.35 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1975.36 s
[opt-env-conf-test] ["Failed to read env var: "]
1975.36 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1975.36 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1975.36 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1975.36 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1975.36 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1975.51 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1975.52 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1975.52 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1975.52 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1975.52 s
[opt-env-conf-test] ["Missing command, available commands:"]
1975.52 s
[opt-env-conf-test] : availableCommandsLines cs
1975.52 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1975.52 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1975.52 s
[opt-env-conf-test] [fore blue "available commands:"]
1975.52 s
[opt-env-conf-test] ]
1975.52 s
[opt-env-conf-test] ++ availableCommandsLines cs
1975.52 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1975.52 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1975.52 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1975.52 s
[opt-env-conf-test] ]
1975.52 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1975.52 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1975.52 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1975.52 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1975.52 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1975.52 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1975.52 s
[opt-env-conf-test] ]
1975.52 s
[opt-env-conf-test]
1975.52 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:55:41-51
1975.52 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
1975.52 s
[opt-env-conf-test] ParseErrorEmpty -> True
1975.52 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1975.52 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1975.52 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
1975.53 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> n o t ( forgivable )
1975.53 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1975.53 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1975.53 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1975.53 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1975.53 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1975.53 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1975.53 s
[opt-env-conf-test] renderError ParseError {..} =
1975.53 s
[opt-env-conf-test] concat
1975.53 s
[opt-env-conf-test] [ case parseErrorMessage of
1975.53 s
[opt-env-conf-test] ParseErrorEmpty ->
1975.53 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1975.53 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1975.53 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1975.53 s
[opt-env-conf-test] ParseErrorNoReaders ->
1975.53 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1975.53 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1975.53 s
[opt-env-conf-test] ]
1975.53 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1975.53 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1975.53 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1975.53 s
[opt-env-conf-test] [ "Missing argument: "
1975.53 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1975.53 s
[opt-env-conf-test] ]
1975.53 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1975.53 s
[opt-env-conf-test] ["Failed to read argument: "]
1975.53 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1975.53 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1975.53 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1975.53 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1975.53 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
1975.53 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1975.53 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1975.53 s
[opt-env-conf-test] ["Failed to read option: "]
1975.53 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1975.53 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1975.53 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1975.53 s
[opt-env-conf-test] ["Missing env var: "]
1975.53 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1975.53 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1975.53 s
[opt-env-conf-test] ["Failed to read env var: "]
1975.53 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1975.53 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1975.53 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1975.53 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1975.53 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1978.84 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1978.84 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1978.92 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1978.92 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1978.92 s
[opt-env-conf-test] ["Missing command, available commands:"]
1978.92 s
[opt-env-conf-test] : availableCommandsLines cs
1978.92 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1978.92 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1978.92 s
[opt-env-conf-test] [fore blue "available commands:"]
1978.92 s
[opt-env-conf-test] ]
1978.92 s
[opt-env-conf-test] ++ availableCommandsLines cs
1978.92 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1978.92 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."],
1978.92 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1978.92 s
[opt-env-conf-test] ]
1978.92 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1978.92 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1978.92 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1978.92 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1978.93 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1978.93 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1978.93 s
[opt-env-conf-test] ]
1978.93 s
[opt-env-conf-test]
1978.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
1978.93 s
[opt-env-conf-test] @@ -86,9 +86,8 @@
1978.93 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1978.93 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1978.93 s
[opt-env-conf-test] ParseErrorNoReaders ->
1978.93 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1978.93 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1978.93 s
[opt-env-conf-test] ]
1978.93 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1978.93 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1978.93 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1978.93 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:57:33-38
1978.93 s
[opt-env-conf-test] @@ -54,7 +54,7 @@
1978.93 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1978.93 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1978.93 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1978.93 s
[opt-env-conf-test] - ParseErrorArgumentRead _ _ -> F al s e
1978.93 s
[opt-env-conf-test] + ParseErrorArgumentRead _ _ -> T ru e
1978.93 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1978.93 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1978.93 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1978.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
1978.93 s
[opt-env-conf-test] @@ -142,7 +142,4 @@
1978.93 s
[opt-env-conf-test]
1978.93 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1978.93 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1978.93 s
[opt-env-conf-test] - [ commandChunk commandDocArgument,
1978.93 s
[opt-env-conf-test] - ": ",
1978.93 s
[opt-env-conf-test] - helpChunk commandDocHelp
1978.94 s
[opt-env-conf-test] ]
1978.94 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:59:31-36
1978.94 s
[opt-env-conf-test] @@ -56,7 +56,7 @@
1978.94 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1978.94 s
[opt-env-conf-test] - ParseErrorOptionRead _ _ -> F al s e
1978.94 s
[opt-env-conf-test] + ParseErrorOptionRead _ _ -> T ru e
1978.94 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1978.94 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
1978.94 s
[opt-env-conf-test] @@ -142,7 +142,6 @@
1978.94 s
[opt-env-conf-test]
1978.94 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1978.94 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1978.94 s
[opt-env-conf-test] - [ commandChunk commandDocArgument,
1978.94 s
[opt-env-conf-test] ": ",
1978.94 s
[opt-env-conf-test] helpChunk commandDocHelp
1978.94 s
[opt-env-conf-test] ]
1978.94 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:61:32-36
1978.94 s
[opt-env-conf-test] @@ -58,7 +58,7 @@
1978.94 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1978.94 s
[opt-env-conf-test] - ParseErrorMissingEnvVar _ -> Tr u e
1978.94 s
[opt-env-conf-test] + ParseErrorMissingEnvVar _ -> F a ls e
1978.94 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1978.94 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:62:28-33
1978.94 s
[opt-env-conf-test] @@ -59,7 +59,7 @@
1978.94 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1978.94 s
[opt-env-conf-test] - ParseErrorEnvRead _ _ -> F al s e
1978.94 s
[opt-env-conf-test] + ParseErrorEnvRead _ _ -> T ru e
1978.94 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1978.94 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:63:33-37
1978.94 s
[opt-env-conf-test] @@ -60,7 +60,7 @@
1978.94 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1978.94 s
[opt-env-conf-test] - ParseErrorMissingConfVal _ -> Tr u e
1978.94 s
[opt-env-conf-test] + ParseErrorMissingConfVal _ -> F a ls e
1978.94 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1978.94 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1978.94 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:64:31-36
1978.94 s
[opt-env-conf-test] @@ -61,7 +61,7 @@
1978.94 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1978.94 s
[opt-env-conf-test] - ParseErrorConfigRead _ _ -> F al s e
1978.94 s
[opt-env-conf-test] + ParseErrorConfigRead _ _ -> T ru e
1978.94 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1978.94 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1978.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
1978.94 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1978.94 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1978.94 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l cs
1978.94 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ T r u e
1978.94 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1978.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
1978.94 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1978.94 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1978.94 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1978.94 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1978.94 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l c s
1978.94 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ F a l s e
1978.94 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1978.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:40-47
1978.95 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1978.95 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1978.95 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1978.95 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1978.95 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ n o t ( null cs )
1978.95 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1978.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
1978.95 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1978.95 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1978.95 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1978.95 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n ot $ n u l l cs
1978.95 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> Tr u e
1978.95 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1978.95 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:60:32-36
1978.95 s
[opt-env-conf-test] @@ -57,7 +57,7 @@
1978.95 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1978.95 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1978.95 s
[opt-env-conf-test] - ParseErrorMissingOption _ -> Tr u e
1978.95 s
[opt-env-conf-test] + ParseErrorMissingOption _ -> F a ls e
1978.95 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1978.95 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1978.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
1978.95 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
1978.95 s
[opt-env-conf-test] ParseErrorEmpty -> True
1978.95 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1978.95 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1978.95 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> f o rg iv a b l e
1978.95 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> F a l s e
1978.95 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1978.95 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1978.95 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:58:32-36
1978.95 s
[opt-env-conf-test] @@ -55,7 +55,7 @@
1978.95 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1978.95 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1978.95 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1978.95 s
[opt-env-conf-test] - ParseErrorMissingSwitch _ -> Tr u e
1978.95 s
[opt-env-conf-test] + ParseErrorMissingSwitch _ -> F a ls e
1978.95 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1978.95 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1978.95 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:56:34-38
1978.95 s
[opt-env-conf-test] @@ -53,7 +53,7 @@
1978.95 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1978.95 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1978.95 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1978.95 s
[opt-env-conf-test] - ParseErrorMissingArgument _ -> Tr u e
1978.95 s
[opt-env-conf-test] + ParseErrorMissingArgument _ -> F a ls e
1978.95 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1978.95 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1978.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
1978.95 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
1978.95 s
[opt-env-conf-test] ParseErrorEmpty -> True
1978.95 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1978.95 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1978.95 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> f o r gi v a b l e
1978.95 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> T r u e
1978.95 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1978.95 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1978.95 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1978.95 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
1978.95 s
[opt-env-conf-test] @@ -80,65 +80,8 @@
1978.95 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1978.95 s
[opt-env-conf-test] renderError ParseError {..} =
1978.95 s
[opt-env-conf-test] concat
1978.95 s
[opt-env-conf-test] - [ case parseErrorMessage of
1978.95 s
[opt-env-conf-test] - ParseErrorEmpty ->
1978.95 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
1978.95 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
1978.95 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
1978.95 s
[opt-env-conf-test] - ParseErrorNoReaders ->
1978.95 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1978.95 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1978.95 s
[opt-env-conf-test] - ]
1978.95 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
1978.95 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1978.95 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
1978.95 s
[opt-env-conf-test] - [ "Missing argument: "
1978.95 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
1978.95 s
[opt-env-conf-test] - ]
1978.95 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
1978.95 s
[opt-env-conf-test] - ["Failed to read argument: "]
1978.95 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1978.95 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1978.95 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
1978.95 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1978.96 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
1978.96 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1978.96 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
1978.96 s
[opt-env-conf-test] - ["Failed to read option: "]
1978.96 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1978.96 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1978.96 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
1978.96 s
[opt-env-conf-test] - ["Missing env var: "]
1978.96 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1978.96 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
1978.96 s
[opt-env-conf-test] - ["Failed to read env var: "]
1978.96 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1980.10 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1980.10 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
1980.10 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
1980.10 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
1980.10 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
1980.10 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
1980.10 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
1980.10 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
1980.10 s
[opt-env-conf-test] - ["Missing command, available commands:"]
1980.10 s
[opt-env-conf-test] - : availableCommandsLines cs
1980.10 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
1980.10 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1980.10 s
[opt-env-conf-test] - [fore blue "available commands:"]
1980.10 s
[opt-env-conf-test] - ]
1980.10 s
[opt-env-conf-test] - ++ availableCommandsLines cs
1980.10 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
1980.10 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."],
1980.10 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1980.10 s
[opt-env-conf-test] - ]
1980.10 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
1980.10 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
1980.10 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1980.10 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
1980.10 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
1980.10 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1980.10 s
[opt-env-conf-test] ]
1980.10 s
[opt-env-conf-test]
1980.10 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1980.10 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1980.10 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:66:40-45
1980.10 s
[opt-env-conf-test] @@ -63,7 +63,7 @@
1980.10 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1980.11 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1980.11 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1980.11 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> F al s e
1980.11 s
[opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> T ru e
1980.11 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1980.11 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1980.11 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
1980.11 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:54:26-31
1980.11 s
[opt-env-conf-test] @@ -51,7 +51,7 @@
1980.11 s
[opt-env-conf-test] errorMessageIsForgivable = \case
1980.11 s
[opt-env-conf-test] ParseErrorEmpty -> True
1980.11 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1980.11 s
[opt-env-conf-test] - ParseErrorNoReaders -> F al s e
1980.11 s
[opt-env-conf-test] + ParseErrorNoReaders -> T ru e
1980.11 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1980.11 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1980.11 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1980.11 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
1980.11 s
[opt-env-conf-test] @@ -80,65 +80,7 @@
1980.11 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1980.11 s
[opt-env-conf-test] renderError ParseError {..} =
1980.11 s
[opt-env-conf-test] concat
1980.11 s
[opt-env-conf-test] - [ case parseErrorMessage of
1980.11 s
[opt-env-conf-test] - ParseErrorEmpty ->
1980.11 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
1980.11 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
1980.11 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
1980.11 s
[opt-env-conf-test] - ParseErrorNoReaders ->
1980.11 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1980.11 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1980.11 s
[opt-env-conf-test] - ]
1980.11 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
1980.11 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1980.11 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
1980.11 s
[opt-env-conf-test] - [ "Missing argument: "
1980.11 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
1980.11 s
[opt-env-conf-test] - ]
1980.11 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
1980.11 s
[opt-env-conf-test] - ["Failed to read argument: "]
1980.11 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1980.11 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1980.11 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
1980.11 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1980.11 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
1980.11 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1980.11 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
1980.11 s
[opt-env-conf-test] - ["Failed to read option: "]
1980.11 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1980.11 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1980.11 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
1980.11 s
[opt-env-conf-test] - ["Missing env var: "]
1980.11 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1980.11 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
1980.11 s
[opt-env-conf-test] - ["Failed to read env var: "]
1980.11 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1992.78 s
[opt-env-conf-test] - Killed: 1235
1992.78 s
[opt-env-conf-test] (of which timed out: 1 )
1992.81 s
[opt-env-conf-test] Survived: 294
1992.81 s
[opt-env-conf-test] Uncovered: 381
1992.81 s
[opt-env-conf-test]
1992.81 s
[opt-env-conf-test] Timed-out mutations:
1992.81 s
[opt-env-conf-test]
1992.81 s
[opt-env-conf-test] [timed out after 30.191452 s]
1992.81 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:272:14-29
1992.81 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1992.81 s
[opt-env-conf-test] Nothing -> pure Nothing
1992.81 s
[opt-env-conf-test] Just os -> do
1992.81 s
[opt-env-conf-test] after <- get
1992.81 s
[opt-env-conf-test] - if a f te r == bef or e
1992.81 s
[opt-env-conf-test] + if F a l s e
1992.81 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1992.81 s
[opt-env-conf-test] pure $ Just os
1992.81 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1992.81 s
[opt-env-conf-test]
1992.81 s
[opt-env-conf-test] Surviving mutations:
1992.81 s
[opt-env-conf-test]
1992.81 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Error.hs:66:40-45
1992.81 s
[opt-env-conf-test] @@ -63,7 +63,7 @@
1992.81 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1992.81 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1992.81 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1992.81 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> F al s e
1992.81 s
[opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> T ru e
1992.81 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1992.81 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1992.81 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
1992.81 s
[opt-env-conf-test]
1992.81 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:34-47
1992.81 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1992.81 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1992.81 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1992.81 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1992.81 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n ot $ n u l l cs
1992.81 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> Tr u e
1992.81 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1992.81 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1992.81 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1992.81 s
[opt-env-conf-test]
1992.81 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:40-47
1992.81 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1992.81 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1992.81 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1992.81 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1992.81 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l c s
1992.81 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ F a l s e
1992.81 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1992.81 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1992.81 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1992.81 s
[opt-env-conf-test]
1992.81 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1992.81 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1992.81 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1992.81 s
[opt-env-conf-test] renderError ParseError {..} =
1992.81 s
[opt-env-conf-test] concat
1992.81 s
[opt-env-conf-test] [ case parseErrorMessage of
1992.81 s
[opt-env-conf-test] ParseErrorEmpty ->
1992.81 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1992.81 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1992.81 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1992.81 s
[opt-env-conf-test] ParseErrorNoReaders ->
1992.81 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1992.81 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1992.81 s
[opt-env-conf-test] ]
1992.81 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1992.81 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1992.81 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1992.81 s
[opt-env-conf-test] [ "Missing argument: "
1992.81 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1992.81 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1992.82 s
[opt-env-conf-test] ["Failed to read argument: "]
1992.82 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.82 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.82 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1992.82 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.82 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1992.82 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.82 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1992.82 s
[opt-env-conf-test] ["Failed to read option: "]
1992.82 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.82 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.82 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1992.82 s
[opt-env-conf-test] ["Missing env var: "]
1992.82 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.82 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1992.82 s
[opt-env-conf-test] ["Failed to read env var: "]
1992.82 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.82 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.82 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1992.82 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1992.82 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1992.82 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1992.82 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1992.82 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1992.82 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1992.82 s
[opt-env-conf-test] ["Missing command, available commands:"]
1992.82 s
[opt-env-conf-test] : availableCommandsLines cs
1992.82 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1992.82 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1992.82 s
[opt-env-conf-test] [fore blue "available commands:"]
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test] ++ availableCommandsLines cs
1992.82 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1992.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."],
1992.82 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1992.82 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1992.82 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1992.82 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
1992.82 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
1992.82 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test]
1992.82 s
[opt-env-conf-test]
1992.82 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1992.82 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1992.82 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1992.82 s
[opt-env-conf-test] renderError ParseError {..} =
1992.82 s
[opt-env-conf-test] concat
1992.82 s
[opt-env-conf-test] [ case parseErrorMessage of
1992.82 s
[opt-env-conf-test] ParseErrorEmpty ->
1992.82 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1992.82 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1992.82 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1992.82 s
[opt-env-conf-test] ParseErrorNoReaders ->
1992.82 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1992.82 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1992.82 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1992.82 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1992.82 s
[opt-env-conf-test] [ "Missing argument: "
1992.82 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1992.82 s
[opt-env-conf-test] ["Failed to read argument: "]
1992.82 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.82 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.82 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1992.82 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.82 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1992.82 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.82 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1992.82 s
[opt-env-conf-test] ["Failed to read option: "]
1992.82 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.82 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.82 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1992.82 s
[opt-env-conf-test] ["Missing env var: "]
1992.82 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.82 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1992.82 s
[opt-env-conf-test] ["Failed to read env var: "]
1992.82 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.82 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.82 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1992.82 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1992.82 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
1992.82 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
1992.82 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
1992.82 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
1992.82 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1992.82 s
[opt-env-conf-test] ["Missing command, available commands:"]
1992.82 s
[opt-env-conf-test] : availableCommandsLines cs
1992.82 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1992.82 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1992.82 s
[opt-env-conf-test] [fore blue "available commands:"]
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test] ++ availableCommandsLines cs
1992.82 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1992.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."],
1992.82 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1992.82 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1992.82 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1992.82 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1992.82 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1992.82 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test]
1992.82 s
[opt-env-conf-test]
1992.82 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1992.82 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1992.82 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1992.82 s
[opt-env-conf-test] renderError ParseError {..} =
1992.82 s
[opt-env-conf-test] concat
1992.82 s
[opt-env-conf-test] [ case parseErrorMessage of
1992.82 s
[opt-env-conf-test] ParseErrorEmpty ->
1992.82 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1992.82 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1992.82 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1992.82 s
[opt-env-conf-test] ParseErrorNoReaders ->
1992.82 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1992.82 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1992.82 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1992.82 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1992.82 s
[opt-env-conf-test] [ "Missing argument: "
1992.82 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1992.82 s
[opt-env-conf-test] ["Failed to read argument: "]
1992.82 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.82 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.82 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1992.82 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.82 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1992.82 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.82 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1992.82 s
[opt-env-conf-test] ["Failed to read option: "]
1992.82 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.82 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.82 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1992.82 s
[opt-env-conf-test] ["Missing env var: "]
1992.82 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.82 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1992.82 s
[opt-env-conf-test] ["Failed to read env var: "]
1992.82 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.82 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.82 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
1992.82 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
1992.82 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1992.82 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1992.82 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1992.82 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1992.82 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1992.82 s
[opt-env-conf-test] ["Missing command, available commands:"]
1992.82 s
[opt-env-conf-test] : availableCommandsLines cs
1992.82 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1992.82 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1992.82 s
[opt-env-conf-test] [fore blue "available commands:"]
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test] ++ availableCommandsLines cs
1992.82 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1992.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."],
1992.82 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1992.82 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1992.82 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1992.82 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1992.82 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1992.82 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1992.82 s
[opt-env-conf-test] ]
1992.82 s
[opt-env-conf-test]
1992.82 s
[opt-env-conf-test]
1992.82 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1992.82 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1992.82 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1992.82 s
[opt-env-conf-test] renderError ParseError {..} =
1992.82 s
[opt-env-conf-test] concat
1992.82 s
[opt-env-conf-test] [ case parseErrorMessage of
1992.82 s
[opt-env-conf-test] ParseErrorEmpty ->
1992.82 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1992.83 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1992.83 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1992.83 s
[opt-env-conf-test] ParseErrorNoReaders ->
1992.83 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1992.83 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1992.83 s
[opt-env-conf-test] ]
1992.83 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1992.83 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1992.83 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1992.83 s
[opt-env-conf-test] [ "Missing argument: "
1992.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1992.83 s
[opt-env-conf-test] ]
1992.83 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1992.83 s
[opt-env-conf-test] ["Failed to read argument: "]
1992.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.83 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.83 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1992.83 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.83 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
1992.83 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.83 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1992.83 s
[opt-env-conf-test] ["Failed to read option: "]
1992.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.83 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.83 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1992.83 s
[opt-env-conf-test] ["Missing env var: "]
1992.83 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.83 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1992.83 s
[opt-env-conf-test] ["Failed to read env var: "]
1992.83 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.83 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.83 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1992.83 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1992.83 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1992.83 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1992.83 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1992.83 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1992.83 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1992.83 s
[opt-env-conf-test] ["Missing command, available commands:"]
1992.83 s
[opt-env-conf-test] : availableCommandsLines cs
1992.83 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1992.83 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1992.83 s
[opt-env-conf-test] [fore blue "available commands:"]
1992.83 s
[opt-env-conf-test] ]
1992.83 s
[opt-env-conf-test] ++ availableCommandsLines cs
1992.83 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1992.83 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."],
1992.83 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1992.83 s
[opt-env-conf-test] ]
1992.83 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1992.83 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1992.83 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1992.83 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1992.83 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1992.83 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1992.83 s
[opt-env-conf-test] ]
1992.83 s
[opt-env-conf-test]
1992.83 s
[opt-env-conf-test]
1992.83 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1992.83 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1992.83 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1992.83 s
[opt-env-conf-test] renderError ParseError {..} =
1992.83 s
[opt-env-conf-test] concat
1992.83 s
[opt-env-conf-test] [ case parseErrorMessage of
1992.83 s
[opt-env-conf-test] ParseErrorEmpty ->
1992.83 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1992.83 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1992.83 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1992.83 s
[opt-env-conf-test] - ParseErrorNoReaders ->
1992.83 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1992.83 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1992.83 s
[opt-env-conf-test] - ]
1992.83 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1992.83 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1992.83 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1992.83 s
[opt-env-conf-test] [ "Missing argument: "
1992.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1992.83 s
[opt-env-conf-test] ]
1992.83 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1992.83 s
[opt-env-conf-test] ["Failed to read argument: "]
1992.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.83 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.83 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1992.83 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.83 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1992.83 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.83 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1992.83 s
[opt-env-conf-test] ["Failed to read option: "]
1992.83 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.83 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.83 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1992.83 s
[opt-env-conf-test] ["Missing env var: "]
1992.83 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.83 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1992.83 s
[opt-env-conf-test] ["Failed to read env var: "]
1992.83 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.83 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.83 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1992.83 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1992.83 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1992.83 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1992.83 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1992.83 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1992.83 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1992.83 s
[opt-env-conf-test] ["Missing command, available commands:"]
1992.84 s
[opt-env-conf-test] : availableCommandsLines cs
1992.84 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1992.84 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1992.84 s
[opt-env-conf-test] [fore blue "available commands:"]
1992.84 s
[opt-env-conf-test] ]
1992.84 s
[opt-env-conf-test] ++ availableCommandsLines cs
1992.84 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1992.84 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."],
1992.84 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1992.84 s
[opt-env-conf-test] ]
1992.84 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1992.84 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1992.84 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1992.84 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1992.84 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1992.84 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1992.84 s
[opt-env-conf-test] ]
1992.84 s
[opt-env-conf-test]
1992.84 s
[opt-env-conf-test]
1992.84 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1992.84 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1992.84 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1992.84 s
[opt-env-conf-test] renderError ParseError {..} =
1992.84 s
[opt-env-conf-test] concat
1992.84 s
[opt-env-conf-test] [ case parseErrorMessage of
1992.84 s
[opt-env-conf-test] ParseErrorEmpty ->
1992.84 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1992.84 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
1992.84 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
1992.84 s
[opt-env-conf-test] ParseErrorNoReaders ->
1992.84 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1992.84 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1992.84 s
[opt-env-conf-test] ]
1992.84 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1992.84 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1992.84 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1992.84 s
[opt-env-conf-test] [ "Missing argument: "
1992.84 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1992.84 s
[opt-env-conf-test] ]
1992.84 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1992.84 s
[opt-env-conf-test] ["Failed to read argument: "]
1992.84 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.84 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.84 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1992.84 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.84 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1992.84 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1992.84 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1992.84 s
[opt-env-conf-test] ["Failed to read option: "]
1992.84 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1992.84 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.84 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1992.84 s
[opt-env-conf-test] ["Missing env var: "]
1992.84 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.84 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1992.84 s
[opt-env-conf-test] ["Failed to read env var: "]
1992.84 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1992.84 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1992.84 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1992.84 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1992.84 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1992.84 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1992.84 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1992.84 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1992.84 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1992.84 s
[opt-env-conf-test] ["Missing command, available commands:"]
1992.84 s
[opt-env-conf-test] : availableCommandsLines cs
1992.84 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1992.84 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1992.84 s
[opt-env-conf-test] [fore blue "available commands:"]
1992.84 s
[opt-env-conf-test] ]
1992.84 s
[opt-env-conf-test] ++ availableCommandsLines cs
1992.84 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1992.84 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."],
1992.84 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1992.84 s
[opt-env-conf-test] ]
1992.84 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1992.84 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1992.84 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1992.84 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1992.84 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1992.84 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1992.84 s
[opt-env-conf-test] ]
1992.84 s
[opt-env-conf-test]
1992.84 s
[opt-env-conf-test]
1992.84 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
1992.84 s
[opt-env-conf-test] @@ -60,14 +60,13 @@
1992.84 s
[opt-env-conf-test] instance Validity Arg where
1992.84 s
[opt-env-conf-test] validate arg =
1992.84 s
[opt-env-conf-test] mconcat
1992.84 s
[opt-env-conf-test] - [ genericValidate arg,
1992.84 s
[opt-env-conf-test] case arg of
1992.84 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1992.84 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1992.84 s
[opt-env-conf-test] ('-' : _) -> False
1992.84 s
[opt-env-conf-test] _ -> True
1992.84 s
[opt-env-conf-test] _ -> valid
1992.84 s
[opt-env-conf-test] ]
1992.84 s
[opt-env-conf-test]
1992.84 s
[opt-env-conf-test] instance IsString Arg where
1992.84 s
[opt-env-conf-test] fromString = parseArg
1992.84 s
[opt-env-conf-test]
1992.84 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
1992.84 s
[opt-env-conf-test] @@ -60,14 +60,7 @@
1992.84 s
[opt-env-conf-test] instance Validity Arg where
1992.84 s
[opt-env-conf-test] validate arg =
1992.84 s
[opt-env-conf-test] mconcat
1992.84 s
[opt-env-conf-test] - [ genericValidate arg,
1992.84 s
[opt-env-conf-test] - case arg of
1992.84 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1992.84 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1992.84 s
[opt-env-conf-test] - ('-' : _) -> False
1992.84 s
[opt-env-conf-test] - _ -> True
1992.84 s
[opt-env-conf-test] - _ -> valid
1992.84 s
[opt-env-conf-test] ]
1992.84 s
[opt-env-conf-test]
1992.84 s
[opt-env-conf-test] instance IsString Arg where
1992.84 s
[opt-env-conf-test] fromString = parseArg
1992.84 s
[opt-env-conf-test]
1992.84 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1992.84 s
[opt-env-conf-test] @@ -61,12 +61,9 @@
1992.84 s
[opt-env-conf-test] validate arg =
1992.84 s
[opt-env-conf-test] mconcat
1992.84 s
[opt-env-conf-test] [ genericValidate arg,
1992.84 s
[opt-env-conf-test] case arg of
1992.84 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1992.84 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1992.84 s
[opt-env-conf-test] - ('-' : _) -> False
1992.84 s
[opt-env-conf-test] - _ -> True
1992.84 s
[opt-env-conf-test] _ -> valid
1992.84 s
[opt-env-conf-test] ]
1992.84 s
[opt-env-conf-test]
1992.84 s
[opt-env-conf-test] instance IsString Arg where
1992.84 s
[opt-env-conf-test]
1992.84 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1992.84 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
1992.84 s
[opt-env-conf-test] validate arg =
1992.84 s
[opt-env-conf-test] mconcat
1992.84 s
[opt-env-conf-test] [ genericValidate arg,
1992.84 s
[opt-env-conf-test] case arg of
1992.84 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1992.84 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1992.84 s
[opt-env-conf-test] ('-' : _) -> False
1992.84 s
[opt-env-conf-test] _ -> True
1992.84 s
[opt-env-conf-test] _ -> valid
1992.84 s
[opt-env-conf-test] ]
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test] instance IsString Arg where
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:66:64-22
1992.85 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
1992.85 s
[opt-env-conf-test] [ genericValidate arg,
1992.85 s
[opt-env-conf-test] case arg of
1992.85 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1992.85 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1992.85 s
[opt-env-conf-test] - ('-' : _) -> False
1992.85 s
[opt-env-conf-test] _ -> True
1992.85 s
[opt-env-conf-test] _ -> valid
1992.85 s
[opt-env-conf-test] ]
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:66:64-22
1992.85 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
1992.85 s
[opt-env-conf-test] [ genericValidate arg,
1992.85 s
[opt-env-conf-test] case arg of
1992.85 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1992.85 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1992.85 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
1992.85 s
[opt-env-conf-test] ('-' : _) -> False
1992.85 s
[opt-env-conf-test] _ -> True
1992.85 s
[opt-env-conf-test] _ -> valid
1992.85 s
[opt-env-conf-test] ]
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:65:103-111
1992.85 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1992.85 s
[opt-env-conf-test] mconcat
1992.85 s
[opt-env-conf-test] [ genericValidate arg,
1992.85 s
[opt-env-conf-test] case arg of
1992.85 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= ' - '
1992.85 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ T rue
1992.85 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1992.85 s
[opt-env-conf-test] ('-' : _) -> False
1992.85 s
[opt-env-conf-test] _ -> True
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:399:18-32
1992.85 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
1992.85 s
[opt-env-conf-test] instance Validity Dashed
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test] instance IsString Dashed where
1992.85 s
[opt-env-conf-test] fromString s = case fromString s of
1992.85 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
1992.85 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
1992.85 s
[opt-env-conf-test] - _ -> error "Invalid dashed"
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1992.85 s
[opt-env-conf-test] renderDashed = \case
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:248:77-83
1992.85 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1992.85 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1992.85 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1992.85 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1992.85 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s Lo n g cs') : Dead : rest')
1992.85 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed F a l s e cs') : Dead : rest')
1992.85 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1992.85 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1992.85 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
1992.85 s
[opt-env-conf-test] -- A single dash is always an argument
1992.85 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1992.85 s
[opt-env-conf-test] -- Bare double-dash
1992.85 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1992.85 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1992.85 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1992.85 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1992.85 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1992.85 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1992.85 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1992.85 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1992.85 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1992.85 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1992.85 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1992.85 s
[opt-env-conf-test] -- pop the args as they come.
1992.85 s
[opt-env-conf-test] _ ->
1992.85 s
[opt-env-conf-test] let go = \case
1992.85 s
[opt-env-conf-test] [] -> Nothing
1992.85 s
[opt-env-conf-test] (Dead : rest) -> go rest
1992.85 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1992.85 s
[opt-env-conf-test] in case go afters of
1992.85 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1992.85 s
[opt-env-conf-test] Just (firstLive, rest) ->
1992.85 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1992.85 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1992.85 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1992.85 s
[opt-env-conf-test] -- arguments.
1992.85 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1992.85 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1992.85 s
[opt-env-conf-test] )
1992.85 s
[opt-env-conf-test] ]
1992.85 s
[opt-env-conf-test] ArgDashed {} ->
1992.85 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1992.85 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1992.85 s
[opt-env-conf-test]
1992.85 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:169:23-28
1992.85 s
[opt-env-conf-test] @@ -166,17 +166,16 @@
1992.85 s
[opt-env-conf-test] [] -> Nothing
1992.85 s
[opt-env-conf-test] (Dead : rest) -> go rest
1992.85 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1992.85 s
[opt-env-conf-test] in case go afters of
1992.85 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1992.85 s
[opt-env-conf-test] Just (firstLive, rest) ->
1992.85 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1992.85 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1992.85 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1992.85 s
[opt-env-conf-test] -- arguments.
1992.86 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1992.86 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1992.86 s
[opt-env-conf-test] )
1992.86 s
[opt-env-conf-test] ]
1992.86 s
[opt-env-conf-test] ArgDashed {} ->
1992.86 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1992.86 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Args.hs:150:32-40
1992.86 s
[opt-env-conf-test] @@ -147,7 +147,7 @@
1992.86 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1992.86 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1992.86 s
[opt-env-conf-test] -- A single dash is always an argument
1992.86 s
[opt-env-conf-test] - ArgBareDash -> [( J u s t "- " , consumed)]
1992.86 s
[opt-env-conf-test] + ArgBareDash -> [( No t h i ng , consumed)]
1992.86 s
[opt-env-conf-test] -- Bare double-dash
1992.86 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1992.86 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:339:40-46
1992.86 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1992.86 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1992.86 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1992.86 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1992.86 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s Lo n g cs') : rest'
1992.86 s
[opt-env-conf-test] + in Just $ Live (ArgDashed F a l s e cs') : rest'
1992.86 s
[opt-env-conf-test] _ -> do
1992.86 s
[opt-env-conf-test] os <- go rest
1992.86 s
[opt-env-conf-test] pure $ Live o : os
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:365:34-43
1992.86 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.86 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1992.86 s
[opt-env-conf-test] go (c :| rest) =
1992.86 s
[opt-env-conf-test] if c `elem` cs
1992.86 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n ul l r e s t )) <$> NE.nonEmpty rest
1992.86 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, F a l s e )) <$> NE.nonEmpty rest
1992.86 s
[opt-env-conf-test] else do
1992.86 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1992.86 s
[opt-env-conf-test] new <- go rest'
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Check.hs:44:7-71
1992.86 s
[opt-env-conf-test] @@ -41,7 +41,6 @@
1992.86 s
[opt-env-conf-test] exitSuccess
1992.86 s
[opt-env-conf-test] CheckSucceeded _ -> do
1992.86 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1992.86 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Settings parsed successfully."]
1992.86 s
[opt-env-conf-test] exitSuccess
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] renderMissingCapabilities :: NonEmpty MissingCapability -> [Chunk]
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Check.hs:80:42-56
1992.86 s
[opt-env-conf-test] @@ -77,7 +77,7 @@
1992.86 s
[opt-env-conf-test] Maybe JSON.Object ->
1992.86 s
[opt-env-conf-test] IO (CheckResult a)
1992.86 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
1992.86 s
[opt-env-conf-test] - errOrSets <- runParserOn capabilities ( J us t debu g Mo d e ) p args envVars mConfig
1992.86 s
[opt-env-conf-test] + errOrSets <- runParserOn capabilities ( N o t h in g ) p args envVars mConfig
1992.86 s
[opt-env-conf-test] pure $ case errOrSets of
1992.86 s
[opt-env-conf-test] Right a -> CheckSucceeded a
1992.86 s
[opt-env-conf-test] Left errs ->
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:117:31-43
1992.86 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1992.86 s
[opt-env-conf-test] Just (Rel rf) -> do
1992.86 s
[opt-env-conf-test] let dir = parent rf
1992.86 s
[opt-env-conf-test] let ad = baseDir </> dir
1992.86 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1992.86 s
[opt-env-conf-test] pure
1992.86 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
1992.86 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1992.86 s
[opt-env-conf-test] Just (Rel rf) -> do
1992.86 s
[opt-env-conf-test] let dir = parent rf
1992.86 s
[opt-env-conf-test] let ad = baseDir </> dir
1992.86 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1992.86 s
[opt-env-conf-test] pure
1992.86 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
1992.86 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
1992.86 s
[opt-env-conf-test] Just (Rel rf) -> do
1992.86 s
[opt-env-conf-test] let dir = parent rf
1992.86 s
[opt-env-conf-test] let ad = baseDir </> dir
1992.86 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
1992.86 s
[opt-env-conf-test] pure
1992.86 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
1992.86 s
[opt-env-conf-test] @@ -168,24 +168,19 @@
1992.86 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1992.86 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1992.86 s
[opt-env-conf-test] Nothing -> pure []
1992.86 s
[opt-env-conf-test] - Just (Abs af) -> do
1992.86 s
[opt-env-conf-test] - let dir = parent af
1992.86 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving dir
1992.86 s
[opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1992.86 s
[opt-env-conf-test] Just (Rel rf) ->
1992.86 s
[opt-env-conf-test] if fp == "."
1992.86 s
[opt-env-conf-test] then do
1992.86 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1992.86 s
[opt-env-conf-test] pure (map fromRelDir ds)
1992.86 s
[opt-env-conf-test] else do
1992.86 s
[opt-env-conf-test] let dir = parent rf
1992.86 s
[opt-env-conf-test] let ad = baseDir </> dir
1992.86 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1992.86 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] pure $
1992.86 s
[opt-env-conf-test] concat
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:186:35-47
1992.86 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1992.86 s
[opt-env-conf-test] else do
1992.86 s
[opt-env-conf-test] let dir = parent rf
1992.86 s
[opt-env-conf-test] let ad = baseDir </> dir
1992.86 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1992.86 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
1992.86 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1992.86 s
[opt-env-conf-test] else do
1992.86 s
[opt-env-conf-test] let dir = parent rf
1992.86 s
[opt-env-conf-test] let ad = baseDir </> dir
1992.86 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
1992.86 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1992.86 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test]
1992.86 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
1992.86 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
1992.86 s
[opt-env-conf-test] else do
1992.86 s
[opt-env-conf-test] let dir = parent rf
1992.86 s
[opt-env-conf-test] let ad = baseDir </> dir
1992.87 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
1992.87 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
1992.87 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1992.87 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:179:12-21
1992.87 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1992.87 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
1992.87 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
1992.87 s
[opt-env-conf-test] Just (Rel rf) ->
1992.87 s
[opt-env-conf-test] - i f f p = = " . "
1992.87 s
[opt-env-conf-test] + i f Fals e
1992.87 s
[opt-env-conf-test] then do
1992.87 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1992.87 s
[opt-env-conf-test] pure (map fromRelDir ds)
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
1992.87 s
[opt-env-conf-test] @@ -154,19 +154,16 @@
1992.87 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
1992.87 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1992.87 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1992.87 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1992.87 s
[opt-env-conf-test] Nothing -> case fp of
1992.87 s
[opt-env-conf-test] [] -> do
1992.87 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1992.87 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1992.87 s
[opt-env-conf-test] _ -> pure []
1992.87 s
[opt-env-conf-test] - Just (Abs ad) -> do
1992.87 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
1992.87 s
[opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1992.87 s
[opt-env-conf-test] Just (Rel rd) -> do
1992.87 s
[opt-env-conf-test] let ad = baseDir </> rd
1992.87 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1992.87 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
1992.87 s
[opt-env-conf-test] Nothing -> pure []
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
1992.87 s
[opt-env-conf-test] @@ -155,11 +155,10 @@
1992.87 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
1992.87 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
1992.87 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
1992.87 s
[opt-env-conf-test] Nothing -> case fp of
1992.87 s
[opt-env-conf-test] [] -> do
1992.87 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
1992.87 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
1992.87 s
[opt-env-conf-test] - _ -> pure []
1992.87 s
[opt-env-conf-test] Just (Abs ad) -> do
1992.87 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
1992.87 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1992.87 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1992.87 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1992.87 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1992.87 s
[opt-env-conf-test] [] -> []
1992.87 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1992.87 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1992.87 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
1992.87 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
1992.87 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
1992.87 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
1992.87 s
[opt-env-conf-test] - [] -> []
1992.87 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
1992.87 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
1992.87 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:87:27-50
1992.87 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
1992.87 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
1992.87 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
1992.87 s
[opt-env-conf-test] - [] -> []
1992.87 s
[opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
1992.87 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1992.87 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1992.87 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1992.87 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1992.87 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1992.87 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1992.87 s
[opt-env-conf-test] (Nothing, _) -> o2
1992.87 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1992.87 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1992.87 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1992.87 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1992.87 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1992.87 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1992.87 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1992.87 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1992.87 s
[opt-env-conf-test] - (Nothing, _) -> o2
1992.87 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1992.87 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1992.87 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1992.87 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1992.87 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1992.87 s
[opt-env-conf-test]
1992.87 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1992.87 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1992.87 s
[opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1992.88 s
[opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
1992.88 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1992.88 s
[opt-env-conf-test] goCommand = go . commandParser
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Nix.hs:96:28-38
1992.88 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1992.88 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1992.88 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1992.88 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1992.88 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1992.88 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1992.88 s
[opt-env-conf-test] goCommand = go . commandParser
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
1992.88 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1992.88 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1992.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1992.88 s
[opt-env-conf-test] and
1992.88 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] null settingEnvVars,
1992.88 s
[opt-env-conf-test] - null settingConfigVals
1992.88 s
[opt-env-conf-test] ]
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
1992.88 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1992.88 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1992.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1992.88 s
[opt-env-conf-test] and
1992.88 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] null settingEnvVars,
1992.88 s
[opt-env-conf-test] null settingConfigVals
1992.88 s
[opt-env-conf-test] ]
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1992.88 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1992.88 s
[opt-env-conf-test] and
1992.88 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] null settingEnvVars,
1992.88 s
[opt-env-conf-test] - n u ll s e t t in gConfigVals
1992.88 s
[opt-env-conf-test] + T r u e
1992.88 s
[opt-env-conf-test] ]
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1992.88 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1992.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1992.88 s
[opt-env-conf-test] and
1992.88 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] - n u ll s e t ti ngEnv Va r s ,
1992.88 s
[opt-env-conf-test] + T r u e ,
1992.88 s
[opt-env-conf-test] null settingConfigVals
1992.88 s
[opt-env-conf-test] ]
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1992.88 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1992.88 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1992.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1992.88 s
[opt-env-conf-test] and
1992.88 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 ,
1992.88 s
[opt-env-conf-test] + [ T r u e ,
1992.88 s
[opt-env-conf-test] null settingEnvVars,
1992.88 s
[opt-env-conf-test] null settingConfigVals
1992.88 s
[opt-env-conf-test] ]
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1992.88 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1992.88 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1992.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1992.88 s
[opt-env-conf-test] and
1992.88 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,
1992.88 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e,
1992.88 s
[opt-env-conf-test] null settingEnvVars,
1992.88 s
[opt-env-conf-test] null settingConfigVals
1992.88 s
[opt-env-conf-test] ]
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1992.88 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1992.88 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1992.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1992.88 s
[opt-env-conf-test] and
1992.88 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s J u s t s e t tin gSwitc hVa lu e ,
1992.88 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || Tr u e ,
1992.88 s
[opt-env-conf-test] null settingEnvVars,
1992.88 s
[opt-env-conf-test] null settingConfigVals
1992.88 s
[opt-env-conf-test] ]
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:340:37-53
1992.88 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1992.88 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1992.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1992.88 s
[opt-env-conf-test] and
1992.88 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption ) || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] null settingEnvVars,
1992.88 s
[opt-env-conf-test] null settingConfigVals
1992.88 s
[opt-env-conf-test] ]
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1992.88 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1992.88 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1992.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1992.88 s
[opt-env-conf-test] and
1992.88 s
[opt-env-conf-test] - [ settingTryArgument || se tt ingT ryOp ti o n || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] + [ settingTryArgument || F a l se || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] null settingEnvVars,
1992.88 s
[opt-env-conf-test] null settingConfigVals
1992.88 s
[opt-env-conf-test] ]
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1992.88 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1992.88 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1992.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1992.88 s
[opt-env-conf-test] and
1992.88 s
[opt-env-conf-test] - [ settingTryArgument || s e tt in g Tr y Opti on || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] null settingEnvVars,
1992.88 s
[opt-env-conf-test] null settingConfigVals
1992.88 s
[opt-env-conf-test] ]
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1992.88 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1992.88 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1992.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1992.88 s
[opt-env-conf-test] and
1992.88 s
[opt-env-conf-test] - [ s e tt ing T ry A r g u m e n t || settingTryOption || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] + [ T r u e || settingTryOption || isJust settingSwitchValue,
1992.88 s
[opt-env-conf-test] null settingEnvVars,
1992.88 s
[opt-env-conf-test] null settingConfigVals
1992.88 s
[opt-env-conf-test] ]
1992.88 s
[opt-env-conf-test]
1992.88 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-24
1992.88 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1992.88 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1992.88 s
[opt-env-conf-test] c1 <- go p1
1992.88 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1992.89 s
[opt-env-conf-test] - pure $ c1 || c2
1992.89 s
[opt-env-conf-test] + pure $ n o t ( c1 || c2 )
1992.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1992.89 s
[opt-env-conf-test] case settingHelp of
1992.89 s
[opt-env-conf-test] Nothing ->
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:288:16-24
1992.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1992.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1992.89 s
[opt-env-conf-test] - pure $ c1 | | c2
1992.89 s
[opt-env-conf-test] + pure $ c1 & & c2
1992.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1992.89 s
[opt-env-conf-test] case settingHelp of
1992.89 s
[opt-env-conf-test] Nothing ->
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1992.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1992.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1992.89 s
[opt-env-conf-test] - pure $ c 1 || c2
1992.89 s
[opt-env-conf-test] + pure $ F a ls e
1992.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1992.89 s
[opt-env-conf-test] case settingHelp of
1992.89 s
[opt-env-conf-test] Nothing ->
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1992.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1992.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1992.89 s
[opt-env-conf-test] - pure $ c 1 || c 2
1992.89 s
[opt-env-conf-test] + pure $ T rue
1992.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1992.89 s
[opt-env-conf-test] case settingHelp of
1992.89 s
[opt-env-conf-test] Nothing ->
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:22-24
1992.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1992.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1992.89 s
[opt-env-conf-test] - pure $ c1 || c2
1992.89 s
[opt-env-conf-test] + pure $ c1 || n o t ( c2 )
1992.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1992.89 s
[opt-env-conf-test] case settingHelp of
1992.89 s
[opt-env-conf-test] Nothing ->
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1992.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1992.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1992.89 s
[opt-env-conf-test] - pure $ c1 || c 2
1992.89 s
[opt-env-conf-test] + pure $ c1 || F a ls e
1992.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1992.89 s
[opt-env-conf-test] case settingHelp of
1992.89 s
[opt-env-conf-test] Nothing ->
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1992.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1992.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1992.89 s
[opt-env-conf-test] - pure $ c1 || c 2
1992.89 s
[opt-env-conf-test] + pure $ c1 || T rue
1992.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1992.89 s
[opt-env-conf-test] case settingHelp of
1992.89 s
[opt-env-conf-test] Nothing ->
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-18
1992.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1992.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1992.89 s
[opt-env-conf-test] - pure $ c1 || c2
1992.89 s
[opt-env-conf-test] + pure $ n o t ( c1 ) || c2
1992.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1992.89 s
[opt-env-conf-test] case settingHelp of
1992.89 s
[opt-env-conf-test] Nothing ->
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1992.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1992.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1992.89 s
[opt-env-conf-test] - pure $ c 1 || c2
1992.89 s
[opt-env-conf-test] + pure $ F a ls e || c2
1992.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1992.89 s
[opt-env-conf-test] case settingHelp of
1992.89 s
[opt-env-conf-test] Nothing ->
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1992.89 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1992.89 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1992.89 s
[opt-env-conf-test] - pure $ c 1 || c2
1992.89 s
[opt-env-conf-test] + pure $ T ru e || c2
1992.89 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1992.89 s
[opt-env-conf-test] case settingHelp of
1992.89 s
[opt-env-conf-test] Nothing ->
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:14-24
1992.89 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.89 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- go p2
1992.89 s
[opt-env-conf-test] - pure ( c1 && c2) -- TODO: is this right?
1992.89 s
[opt-env-conf-test] + pure n o t ( ( c1 && c2) ) -- TODO: is this right?
1992.89 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.89 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.89 s
[opt-env-conf-test] c <- go p
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1992.89 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.89 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- go p2
1992.89 s
[opt-env-conf-test] - pure ( c 1 && c 2) -- TODO: is this right?
1992.89 s
[opt-env-conf-test] + pure F alse -- TODO: is this right?
1992.89 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.89 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.89 s
[opt-env-conf-test] c <- go p
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1992.89 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.89 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- go p2
1992.89 s
[opt-env-conf-test] - pure ( c1 && c2 ) -- TODO: is this right?
1992.89 s
[opt-env-conf-test] + pure True -- TODO: is this right?
1992.89 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.89 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.89 s
[opt-env-conf-test] c <- go p
1992.89 s
[opt-env-conf-test]
1992.89 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-23
1992.89 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.89 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.89 s
[opt-env-conf-test] c1 <- go p1
1992.89 s
[opt-env-conf-test] c2 <- go p2
1992.89 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] + pure ( n ot (c1 && c2) ) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.90 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.90 s
[opt-env-conf-test] c <- go p
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:259:15-23
1992.90 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure (c1 & & c2) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] + pure (c1 | | c2) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.90 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.90 s
[opt-env-conf-test] c <- go p
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1992.90 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] + pure ( F a ls e ) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.90 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.90 s
[opt-env-conf-test] c <- go p
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
1992.90 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] + pure ( T ru e ) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.90 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.90 s
[opt-env-conf-test] c <- go p
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:21-23
1992.90 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] + pure (c1 && n o t ( c2) ) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.90 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.90 s
[opt-env-conf-test] c <- go p
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1992.90 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] + pure (c1 && F a ls e ) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.90 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.90 s
[opt-env-conf-test] c <- go p
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
1992.90 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] + pure (c1 && T ru e ) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.90 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.90 s
[opt-env-conf-test] c <- go p
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-17
1992.90 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] + pure ( n ot (c1 ) && c2) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.90 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.90 s
[opt-env-conf-test] c <- go p
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1992.90 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] + pure ( F a ls e && c2) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.90 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.90 s
[opt-env-conf-test] c <- go p
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
1992.90 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1992.90 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] + pure ( T ru e && c2) -- TODO: is this right?
1992.90 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1992.90 s
[opt-env-conf-test] ParserMany mLoc p -> do
1992.90 s
[opt-env-conf-test] c <- go p
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:14-24
1992.90 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.90 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure ( c1 || c2)
1992.90 s
[opt-env-conf-test] + pure n o t ( ( c1 || c2) )
1992.90 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1992.90 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.90 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure ( c 1 || c2)
1992.90 s
[opt-env-conf-test] + pure F alse
1992.90 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
1992.90 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.90 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure ( c1 || c2)
1992.90 s
[opt-env-conf-test] + pure True
1992.90 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-23
1992.90 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.90 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure (c1 || c2)
1992.90 s
[opt-env-conf-test] + pure ( n ot (c1 || c2) )
1992.90 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:250:15-23
1992.90 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.90 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure (c1 | | c2)
1992.90 s
[opt-env-conf-test] + pure (c1 & & c2)
1992.90 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test]
1992.90 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1992.90 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.90 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.90 s
[opt-env-conf-test] c1 <- go p1
1992.90 s
[opt-env-conf-test] c2 <- go p2
1992.90 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
1992.91 s
[opt-env-conf-test] + pure ( F a ls e )
1992.91 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
1992.91 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.91 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
1992.91 s
[opt-env-conf-test] + pure ( T ru e )
1992.91 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:21-23
1992.91 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.91 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test] - pure (c1 || c2)
1992.91 s
[opt-env-conf-test] + pure (c1 || n o t ( c2) )
1992.91 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1992.91 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.91 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test] - pure (c1 || c 2 )
1992.91 s
[opt-env-conf-test] + pure (c1 || F a ls e )
1992.91 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
1992.91 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.91 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test] - pure (c1 || c 2 )
1992.91 s
[opt-env-conf-test] + pure (c1 || T ru e )
1992.91 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-17
1992.91 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.91 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test] - pure (c1 || c2)
1992.91 s
[opt-env-conf-test] + pure ( n ot (c1 ) || c2)
1992.91 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1992.91 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.91 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test] - pure ( c 1 || c2)
1992.91 s
[opt-env-conf-test] + pure ( F a ls e || c2)
1992.91 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
1992.91 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
1992.91 s
[opt-env-conf-test] ParserAp p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test] - pure ( c 1 || c2)
1992.91 s
[opt-env-conf-test] + pure ( T ru e || c2)
1992.91 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
1992.91 s
[opt-env-conf-test] c1 <- go p1
1992.91 s
[opt-env-conf-test] c2 <- go p2
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
1992.91 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] instance Applicative Parser where
1992.91 s
[opt-env-conf-test] pure = ParserPure
1992.91 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
1992.91 s
[opt-env-conf-test] -- Homomorphism law for applicative
1992.91 s
[opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
1992.91 s
[opt-env-conf-test] _ -> ParserAp p1 p2
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] instance Selective Parser where
1992.91 s
[opt-env-conf-test] select = ParserSelect
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1992.91 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1992.91 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1992.91 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1992.91 s
[opt-env-conf-test] ParserSetting _ _ -> False
1992.91 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1992.91 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1992.91 s
[opt-env-conf-test] (True, False) -> p2
1992.91 s
[opt-env-conf-test] - (False, True) -> p1
1992.91 s
[opt-env-conf-test] (False, False) ->
1992.91 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1992.91 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1992.91 s
[opt-env-conf-test] -- alts to always be right-leaning
1992.91 s
[opt-env-conf-test] --
1992.91 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1992.91 s
[opt-env-conf-test] -- p
1992.91 s
[opt-env-conf-test] -- / \
1992.91 s
[opt-env-conf-test] -- p1 p2
1992.91 s
[opt-env-conf-test] -- / \
1992.91 s
[opt-env-conf-test] -- p3 p4
1992.91 s
[opt-env-conf-test] --
1992.91 s
[opt-env-conf-test] -- We need to rearrange it to
1992.91 s
[opt-env-conf-test] -- p
1992.91 s
[opt-env-conf-test] -- / \
1992.91 s
[opt-env-conf-test] -- p1 ++ p3 p4
1992.91 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1992.91 s
[opt-env-conf-test] go (go p1' p3') p4'
1992.91 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1992.91 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1992.91 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1992.91 s
[opt-env-conf-test] in go p1 p2
1992.91 s
[opt-env-conf-test] many = ParserMany Nothing
1992.91 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1992.91 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1992.91 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1992.91 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1992.91 s
[opt-env-conf-test] ParserSetting _ _ -> False
1992.91 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1992.91 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1992.91 s
[opt-env-conf-test] - (True, False) -> p2
1992.91 s
[opt-env-conf-test] (False, True) -> p1
1992.91 s
[opt-env-conf-test] (False, False) ->
1992.91 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1992.91 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1992.91 s
[opt-env-conf-test] -- alts to always be right-leaning
1992.91 s
[opt-env-conf-test] --
1992.91 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1992.91 s
[opt-env-conf-test] -- p
1992.91 s
[opt-env-conf-test] -- / \
1992.91 s
[opt-env-conf-test] -- p1 p2
1992.91 s
[opt-env-conf-test] -- / \
1992.91 s
[opt-env-conf-test] -- p3 p4
1992.91 s
[opt-env-conf-test] --
1992.91 s
[opt-env-conf-test] -- We need to rearrange it to
1992.91 s
[opt-env-conf-test] -- p
1992.91 s
[opt-env-conf-test] -- / \
1992.91 s
[opt-env-conf-test] -- p1 ++ p3 p4
1992.91 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1992.91 s
[opt-env-conf-test] go (go p1' p3') p4'
1992.91 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1992.91 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1992.91 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1992.91 s
[opt-env-conf-test] in go p1 p2
1992.91 s
[opt-env-conf-test] many = ParserMany Nothing
1992.91 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test]
1992.91 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
1992.91 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
1992.91 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1992.91 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1992.91 s
[opt-env-conf-test] ParserSetting _ _ -> False
1992.91 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1992.91 s
[opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
1992.91 s
[opt-env-conf-test] (True, False) -> p2
1992.91 s
[opt-env-conf-test] (False, True) -> p1
1992.91 s
[opt-env-conf-test] (False, False) ->
1992.91 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1992.91 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1992.92 s
[opt-env-conf-test] -- alts to always be right-leaning
1992.92 s
[opt-env-conf-test] --
1992.92 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1992.92 s
[opt-env-conf-test] -- p
1992.92 s
[opt-env-conf-test] -- / \
1992.92 s
[opt-env-conf-test] -- p1 p2
1992.92 s
[opt-env-conf-test] -- / \
1992.92 s
[opt-env-conf-test] -- p3 p4
1992.92 s
[opt-env-conf-test] --
1992.92 s
[opt-env-conf-test] -- We need to rearrange it to
1992.92 s
[opt-env-conf-test] -- p
1992.92 s
[opt-env-conf-test] -- / \
1992.92 s
[opt-env-conf-test] -- p1 ++ p3 p4
1992.92 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1992.92 s
[opt-env-conf-test] go (go p1' p3') p4'
1992.92 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1992.92 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1992.92 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1992.92 s
[opt-env-conf-test] in go p1 p2
1992.92 s
[opt-env-conf-test] many = ParserMany Nothing
1992.92 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1992.92 s
[opt-env-conf-test]
1992.92 s
[opt-env-conf-test]
1992.92 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1992.92 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1992.92 s
[opt-env-conf-test] (True, False) -> p2
1992.92 s
[opt-env-conf-test] (False, True) -> p1
1992.92 s
[opt-env-conf-test] (False, False) ->
1992.92 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1992.92 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1992.92 s
[opt-env-conf-test] -- alts to always be right-leaning
1992.92 s
[opt-env-conf-test] --
1992.92 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1992.92 s
[opt-env-conf-test] -- p
1992.92 s
[opt-env-conf-test] -- / \
1992.92 s
[opt-env-conf-test] -- p1 p2
1992.92 s
[opt-env-conf-test] -- / \
1992.92 s
[opt-env-conf-test] -- p3 p4
1992.92 s
[opt-env-conf-test] --
1992.92 s
[opt-env-conf-test] -- We need to rearrange it to
1992.92 s
[opt-env-conf-test] -- p
1992.92 s
[opt-env-conf-test] -- / \
1992.92 s
[opt-env-conf-test] -- p1 ++ p3 p4
1992.92 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
1992.92 s
[opt-env-conf-test] go (go p1' p3') p4'
1992.92 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1992.92 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1992.92 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1992.92 s
[opt-env-conf-test] in go p1 p2
1992.92 s
[opt-env-conf-test] many = ParserMany Nothing
1992.92 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1992.92 s
[opt-env-conf-test]
1992.92 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
1992.92 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
1992.92 s
[opt-env-conf-test] (True, False) -> p2
1992.92 s
[opt-env-conf-test] (False, True) -> p1
1992.92 s
[opt-env-conf-test] (False, False) ->
1992.92 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
1992.92 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
1992.92 s
[opt-env-conf-test] -- alts to always be right-leaning
1992.92 s
[opt-env-conf-test] --
1992.92 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
1992.92 s
[opt-env-conf-test] -- p
1992.92 s
[opt-env-conf-test] -- / \
1992.92 s
[opt-env-conf-test] -- p1 p2
1992.92 s
[opt-env-conf-test] -- / \
1992.92 s
[opt-env-conf-test] -- p3 p4
1992.92 s
[opt-env-conf-test] --
1992.92 s
[opt-env-conf-test] -- We need to rearrange it to
1992.92 s
[opt-env-conf-test] -- p
1992.92 s
[opt-env-conf-test] -- / \
1992.92 s
[opt-env-conf-test] -- p1 ++ p3 p4
1992.92 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
1992.92 s
[opt-env-conf-test] - go (go p1' p3') p4'
1992.92 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
1992.92 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
1992.92 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
1992.92 s
[opt-env-conf-test] in go p1 p2
1992.92 s
[opt-env-conf-test] many = ParserMany Nothing
1992.92 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1992.92 s
[opt-env-conf-test]
1992.92 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:27-37
1992.92 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1992.92 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1992.92 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1992.92 s
[opt-env-conf-test] ParserSetting _ _ -> False
1992.92 s
[opt-env-conf-test] - in case (isEmpty p1, i s E m pty p 2 ) of
1992.92 s
[opt-env-conf-test] + in case (isEmpty p1, F al s e ) of
1992.92 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1992.92 s
[opt-env-conf-test] (True, False) -> p2
1992.92 s
[opt-env-conf-test] (False, True) -> p1
1992.92 s
[opt-env-conf-test]
1992.92 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:15-25
1992.92 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
1992.92 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1992.92 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1992.92 s
[opt-env-conf-test] ParserSetting _ _ -> False
1992.92 s
[opt-env-conf-test] - in case ( i s E m pty p 1 , isEmpty p2) of
1992.92 s
[opt-env-conf-test] + in case ( F al s e , isEmpty p2) of
1992.92 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
1992.92 s
[opt-env-conf-test] (True, False) -> p2
1992.92 s
[opt-env-conf-test] (False, True) -> p1
1992.92 s
[opt-env-conf-test]
1992.92 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:264:36-43
1992.92 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
1992.92 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1992.92 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1992.92 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1992.92 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l c s
1992.92 s
[opt-env-conf-test] + ParserCommands _ _ cs -> F a l s e
1992.92 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1992.92 s
[opt-env-conf-test] ParserSetting _ _ -> False
1992.92 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
1992.92 s
[opt-env-conf-test]
1992.92 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:263:36-45
1992.92 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
1992.92 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1992.92 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1992.92 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1992.92 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> i s E m pty p
1992.92 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> F a l s e
1992.92 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1992.92 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1992.92 s
[opt-env-conf-test] ParserSetting _ _ -> False
1992.92 s
[opt-env-conf-test]
1992.92 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:262:37-46
1992.92 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1992.92 s
[opt-env-conf-test] ParserAlt _ _ -> False
1992.92 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1992.92 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1992.92 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> i s E m pty p
1992.92 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> F a l s e
1992.92 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1992.92 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
1992.92 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
1992.92 s
[opt-env-conf-test]
1992.92 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:260:29-38
1992.92 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
1992.92 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1992.92 s
[opt-env-conf-test] ParserEmpty _ -> True
1992.92 s
[opt-env-conf-test] ParserAlt _ _ -> False
1992.92 s
[opt-env-conf-test] - ParserMany _ p -> i s E m pty p
1992.92 s
[opt-env-conf-test] + ParserMany _ p -> F a l s e
1992.92 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1992.92 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
1992.92 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
1992.92 s
[opt-env-conf-test]
1992.92 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Parser.hs:258:28-32
1992.92 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1992.93 s
[opt-env-conf-test] ParserPure _ -> False
1992.93 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
1992.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1992.93 s
[opt-env-conf-test] - ParserEmpty _ -> Tr u e
1992.93 s
[opt-env-conf-test] + ParserEmpty _ -> F a ls e
1992.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1992.93 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
1992.93 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Parser.hs:256:29-53
1992.93 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1992.93 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1992.93 s
[opt-env-conf-test] isEmpty = \case
1992.93 s
[opt-env-conf-test] ParserPure _ -> False
1992.93 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf & & isEmpty pa
1992.93 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf | | isEmpty pa
1992.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1992.93 s
[opt-env-conf-test] ParserEmpty _ -> True
1992.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-53
1992.93 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1992.93 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1992.93 s
[opt-env-conf-test] isEmpty = \case
1992.93 s
[opt-env-conf-test] ParserPure _ -> False
1992.93 s
[opt-env-conf-test] - ParserAp pf pa -> i s Emp ty pf && isEmpty pa
1992.93 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e
1992.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1992.93 s
[opt-env-conf-test] ParserEmpty _ -> True
1992.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:43-53
1992.93 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1992.93 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1992.93 s
[opt-env-conf-test] isEmpty = \case
1992.93 s
[opt-env-conf-test] ParserPure _ -> False
1992.93 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1992.93 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && n o t ( isEmpty pa )
1992.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1992.93 s
[opt-env-conf-test] ParserEmpty _ -> True
1992.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1992.93 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1992.93 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1992.93 s
[opt-env-conf-test] isEmpty = \case
1992.93 s
[opt-env-conf-test] ParserPure _ -> False
1992.93 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i s E m pty pa
1992.93 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && F al s e
1992.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1992.93 s
[opt-env-conf-test] ParserEmpty _ -> True
1992.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
1992.93 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1992.93 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1992.93 s
[opt-env-conf-test] isEmpty = \case
1992.93 s
[opt-env-conf-test] ParserPure _ -> False
1992.93 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i sE mpt y p a
1992.93 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && T ru e
1992.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1992.93 s
[opt-env-conf-test] ParserEmpty _ -> True
1992.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:29-39
1992.93 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1992.93 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1992.93 s
[opt-env-conf-test] isEmpty = \case
1992.93 s
[opt-env-conf-test] ParserPure _ -> False
1992.93 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
1992.93 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf ) && isEmpty pa
1992.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1992.93 s
[opt-env-conf-test] ParserEmpty _ -> True
1992.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1992.93 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1992.93 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1992.93 s
[opt-env-conf-test] isEmpty = \case
1992.93 s
[opt-env-conf-test] ParserPure _ -> False
1992.93 s
[opt-env-conf-test] - ParserAp pf pa -> i s E m pty p f && isEmpty pa
1992.93 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e && isEmpty pa
1992.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1992.93 s
[opt-env-conf-test] ParserEmpty _ -> True
1992.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
1992.93 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
1992.93 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
1992.93 s
[opt-env-conf-test] isEmpty = \case
1992.93 s
[opt-env-conf-test] ParserPure _ -> False
1992.93 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y p f && isEmpty pa
1992.93 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e && isEmpty pa
1992.93 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
1992.93 s
[opt-env-conf-test] ParserEmpty _ -> True
1992.93 s
[opt-env-conf-test] ParserAlt _ _ -> False
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:297:39-40
1992.93 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
1992.93 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] showParserABit :: Parser a -> String
1992.93 s
[opt-env-conf-test] - showParserABit = flip (showParserPrec 0 ) ""
1992.93 s
[opt-env-conf-test] + showParserABit = flip (showParserPrec 1 ) ""
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
1992.93 s
[opt-env-conf-test] showParserPrec = go
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:19-27
1992.93 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1992.93 s
[opt-env-conf-test] . showString " "
1992.93 s
[opt-env-conf-test] . go 11 p2
1992.93 s
[opt-env-conf-test] ParserSetting mLoc p ->
1992.93 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.93 s
[opt-env-conf-test] + showParen T ru e $
1992.93 s
[opt-env-conf-test] showString "Setting "
1992.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.93 s
[opt-env-conf-test] . showString " "
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:20-26
1992.93 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1992.93 s
[opt-env-conf-test] . showString " "
1992.93 s
[opt-env-conf-test] . go 11 p2
1992.93 s
[opt-env-conf-test] ParserSetting mLoc p ->
1992.93 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.93 s
[opt-env-conf-test] + showParen ( Tru e ) $
1992.93 s
[opt-env-conf-test] showString "Setting "
1992.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.93 s
[opt-env-conf-test] . showString " "
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:373:20-26
1992.93 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1992.93 s
[opt-env-conf-test] . showString " "
1992.93 s
[opt-env-conf-test] . go 11 p2
1992.93 s
[opt-env-conf-test] ParserSetting mLoc p ->
1992.93 s
[opt-env-conf-test] - showParen (d > 10) $
1992.93 s
[opt-env-conf-test] + showParen (d > = 10) $
1992.93 s
[opt-env-conf-test] showString "Setting "
1992.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.93 s
[opt-env-conf-test] . showString " "
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
1992.93 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1992.93 s
[opt-env-conf-test] . showString " "
1992.93 s
[opt-env-conf-test] . go 11 p2
1992.93 s
[opt-env-conf-test] ParserSetting mLoc p ->
1992.93 s
[opt-env-conf-test] - showParen (d > 10) $
1992.93 s
[opt-env-conf-test] + showParen (d > - 10) $
1992.93 s
[opt-env-conf-test] showString "Setting "
1992.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.93 s
[opt-env-conf-test] . showString " "
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
1992.93 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1992.93 s
[opt-env-conf-test] . showString " "
1992.93 s
[opt-env-conf-test] . go 11 p2
1992.93 s
[opt-env-conf-test] ParserSetting mLoc p ->
1992.93 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1992.93 s
[opt-env-conf-test] + showParen (d > 1 ) $
1992.93 s
[opt-env-conf-test] showString "Setting "
1992.93 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.93 s
[opt-env-conf-test] . showString " "
1992.93 s
[opt-env-conf-test]
1992.93 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
1992.94 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test] . go 11 p2
1992.94 s
[opt-env-conf-test] ParserSetting mLoc p ->
1992.94 s
[opt-env-conf-test] - showParen (d > 1 0) $
1992.94 s
[opt-env-conf-test] + showParen (d > 0) $
1992.94 s
[opt-env-conf-test] showString "Setting "
1992.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test]
1992.94 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:19-27
1992.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.94 s
[opt-env-conf-test] showCommandABit
1992.94 s
[opt-env-conf-test] cs
1992.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.94 s
[opt-env-conf-test] - showPare n ( d > 10) $
1992.94 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
1992.94 s
[opt-env-conf-test] showString "WithConfig _ "
1992.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test]
1992.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1992.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.94 s
[opt-env-conf-test] showCommandABit
1992.94 s
[opt-env-conf-test] cs
1992.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.94 s
[opt-env-conf-test] - showParen ( d > 1 0) $
1992.94 s
[opt-env-conf-test] + showParen F a ls e $
1992.94 s
[opt-env-conf-test] showString "WithConfig _ "
1992.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test]
1992.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
1992.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.94 s
[opt-env-conf-test] showCommandABit
1992.94 s
[opt-env-conf-test] cs
1992.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.94 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.94 s
[opt-env-conf-test] + showParen T ru e $
1992.94 s
[opt-env-conf-test] showString "WithConfig _ "
1992.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test]
1992.94 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:20-26
1992.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.94 s
[opt-env-conf-test] showCommandABit
1992.94 s
[opt-env-conf-test] cs
1992.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.94 s
[opt-env-conf-test] - showPare n (d > 10) $
1992.94 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
1992.94 s
[opt-env-conf-test] showString "WithConfig _ "
1992.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test]
1992.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1992.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.94 s
[opt-env-conf-test] showCommandABit
1992.94 s
[opt-env-conf-test] cs
1992.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.94 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.94 s
[opt-env-conf-test] + showParen ( F a lse ) $
1992.94 s
[opt-env-conf-test] showString "WithConfig _ "
1992.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test]
1992.94 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
1992.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.94 s
[opt-env-conf-test] showCommandABit
1992.94 s
[opt-env-conf-test] cs
1992.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.94 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.94 s
[opt-env-conf-test] + showParen ( Tru e ) $
1992.94 s
[opt-env-conf-test] showString "WithConfig _ "
1992.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test]
1992.94 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
1992.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.94 s
[opt-env-conf-test] showCommandABit
1992.94 s
[opt-env-conf-test] cs
1992.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.94 s
[opt-env-conf-test] - showParen (d > 10) $
1992.94 s
[opt-env-conf-test] + showParen (d > = 10) $
1992.94 s
[opt-env-conf-test] showString "WithConfig _ "
1992.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test]
1992.94 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
1992.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.94 s
[opt-env-conf-test] showCommandABit
1992.94 s
[opt-env-conf-test] cs
1992.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.94 s
[opt-env-conf-test] - showParen (d > 10) $
1992.94 s
[opt-env-conf-test] + showParen (d < = 10) $
1992.94 s
[opt-env-conf-test] showString "WithConfig _ "
1992.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test]
1992.94 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
1992.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.94 s
[opt-env-conf-test] showCommandABit
1992.94 s
[opt-env-conf-test] cs
1992.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.94 s
[opt-env-conf-test] - showParen (d > 10) $
1992.94 s
[opt-env-conf-test] + showParen (d < 10) $
1992.94 s
[opt-env-conf-test] showString "WithConfig _ "
1992.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test]
1992.94 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
1992.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.94 s
[opt-env-conf-test] showCommandABit
1992.94 s
[opt-env-conf-test] cs
1992.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.94 s
[opt-env-conf-test] - showParen (d > 10) $
1992.94 s
[opt-env-conf-test] + showParen (d > - 10) $
1992.94 s
[opt-env-conf-test] showString "WithConfig _ "
1992.94 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.94 s
[opt-env-conf-test] . showString " "
1992.94 s
[opt-env-conf-test]
1992.94 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
1992.94 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.94 s
[opt-env-conf-test] showCommandABit
1992.94 s
[opt-env-conf-test] cs
1992.94 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.94 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1992.94 s
[opt-env-conf-test] + showParen (d > 1 ) $
1992.94 s
[opt-env-conf-test] showString "WithConfig _ "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.95 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
1992.95 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1992.95 s
[opt-env-conf-test] showCommandABit
1992.95 s
[opt-env-conf-test] cs
1992.95 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
1992.95 s
[opt-env-conf-test] - showParen (d > 1 0) $
1992.95 s
[opt-env-conf-test] + showParen (d > 0) $
1992.95 s
[opt-env-conf-test] showString "WithConfig _ "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:19-27
1992.95 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1992.95 s
[opt-env-conf-test] . showString " _ "
1992.95 s
[opt-env-conf-test] . go 11 p
1992.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1992.95 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.95 s
[opt-env-conf-test] + showParen T ru e $
1992.95 s
[opt-env-conf-test] showString "Commands "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:20-26
1992.95 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1992.95 s
[opt-env-conf-test] . showString " _ "
1992.95 s
[opt-env-conf-test] . go 11 p
1992.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1992.95 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.95 s
[opt-env-conf-test] + showParen ( Tru e ) $
1992.95 s
[opt-env-conf-test] showString "Commands "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.95 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:355:20-26
1992.95 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1992.95 s
[opt-env-conf-test] . showString " _ "
1992.95 s
[opt-env-conf-test] . go 11 p
1992.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1992.95 s
[opt-env-conf-test] - showParen (d > 10) $
1992.95 s
[opt-env-conf-test] + showParen (d > = 10) $
1992.95 s
[opt-env-conf-test] showString "Commands "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.95 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
1992.95 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1992.95 s
[opt-env-conf-test] . showString " _ "
1992.95 s
[opt-env-conf-test] . go 11 p
1992.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1992.95 s
[opt-env-conf-test] - showParen (d > 10) $
1992.95 s
[opt-env-conf-test] + showParen (d > - 10) $
1992.95 s
[opt-env-conf-test] showString "Commands "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.95 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
1992.95 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1992.95 s
[opt-env-conf-test] . showString " _ "
1992.95 s
[opt-env-conf-test] . go 11 p
1992.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1992.95 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1992.95 s
[opt-env-conf-test] + showParen (d > 1 ) $
1992.95 s
[opt-env-conf-test] showString "Commands "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.95 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
1992.95 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1992.95 s
[opt-env-conf-test] . showString " _ "
1992.95 s
[opt-env-conf-test] . go 11 p
1992.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
1992.95 s
[opt-env-conf-test] - showParen (d > 1 0) $
1992.95 s
[opt-env-conf-test] + showParen (d > 0) $
1992.95 s
[opt-env-conf-test] showString "Commands "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:19-27
1992.95 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test] . go 11 p
1992.95 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1992.95 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.95 s
[opt-env-conf-test] + showParen T ru e $
1992.95 s
[opt-env-conf-test] showString "Check "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.95 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:20-26
1992.95 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test] . go 11 p
1992.95 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1992.95 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.95 s
[opt-env-conf-test] + showParen ( Tru e ) $
1992.95 s
[opt-env-conf-test] showString "Check "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.95 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:345:20-26
1992.95 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test] . go 11 p
1992.95 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1992.95 s
[opt-env-conf-test] - showParen (d > 10) $
1992.95 s
[opt-env-conf-test] + showParen (d > = 10) $
1992.95 s
[opt-env-conf-test] showString "Check "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.95 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
1992.95 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test] . go 11 p
1992.95 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1992.95 s
[opt-env-conf-test] - showParen (d > 10) $
1992.95 s
[opt-env-conf-test] + showParen (d > - 10) $
1992.95 s
[opt-env-conf-test] showString "Check "
1992.95 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.95 s
[opt-env-conf-test] . showString " "
1992.95 s
[opt-env-conf-test]
1992.96 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
1992.96 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test] . go 11 p
1992.96 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1992.96 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1992.96 s
[opt-env-conf-test] + showParen (d > 1 ) $
1992.96 s
[opt-env-conf-test] showString "Check "
1992.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test]
1992.96 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
1992.96 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test] . go 11 p
1992.96 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
1992.96 s
[opt-env-conf-test] - showParen (d > 1 0) $
1992.96 s
[opt-env-conf-test] + showParen (d > 0) $
1992.96 s
[opt-env-conf-test] showString "Check "
1992.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test]
1992.96 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:19-27
1992.96 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test] . go 11 p
1992.96 s
[opt-env-conf-test] ParserSome mLoc p ->
1992.96 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.96 s
[opt-env-conf-test] + showParen T ru e $
1992.96 s
[opt-env-conf-test] showString "Some "
1992.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test]
1992.96 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:20-26
1992.96 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test] . go 11 p
1992.96 s
[opt-env-conf-test] ParserSome mLoc p ->
1992.96 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.96 s
[opt-env-conf-test] + showParen ( Tru e ) $
1992.96 s
[opt-env-conf-test] showString "Some "
1992.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test]
1992.96 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:333:20-26
1992.96 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test] . go 11 p
1992.96 s
[opt-env-conf-test] ParserSome mLoc p ->
1992.96 s
[opt-env-conf-test] - showParen (d > 10) $
1992.96 s
[opt-env-conf-test] + showParen (d > = 10) $
1992.96 s
[opt-env-conf-test] showString "Some "
1992.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test]
1992.96 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
1992.96 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test] . go 11 p
1992.96 s
[opt-env-conf-test] ParserSome mLoc p ->
1992.96 s
[opt-env-conf-test] - showParen (d > 10) $
1992.96 s
[opt-env-conf-test] + showParen (d > - 10) $
1992.96 s
[opt-env-conf-test] showString "Some "
1992.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test]
1992.96 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
1992.96 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test] . go 11 p
1992.96 s
[opt-env-conf-test] ParserSome mLoc p ->
1992.96 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1992.96 s
[opt-env-conf-test] + showParen (d > 1 ) $
1992.96 s
[opt-env-conf-test] showString "Some "
1992.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test]
1992.96 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
1992.96 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test] . go 11 p
1992.96 s
[opt-env-conf-test] ParserSome mLoc p ->
1992.96 s
[opt-env-conf-test] - showParen (d > 1 0) $
1992.96 s
[opt-env-conf-test] + showParen (d > 0) $
1992.96 s
[opt-env-conf-test] showString "Some "
1992.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test]
1992.96 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:19-27
1992.96 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test] . go 11 p2
1992.96 s
[opt-env-conf-test] ParserMany mLoc p ->
1992.96 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.96 s
[opt-env-conf-test] + showParen T ru e $
1992.96 s
[opt-env-conf-test] showString "Many "
1992.96 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test]
1992.96 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:20-26
1992.96 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1992.96 s
[opt-env-conf-test] . showString " "
1992.96 s
[opt-env-conf-test] . go 11 p2
1992.96 s
[opt-env-conf-test] ParserMany mLoc p ->
1992.96 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.96 s
[opt-env-conf-test] + showParen ( Tru e ) $
1992.96 s
[opt-env-conf-test] showString "Many "
1992.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test]
1992.97 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:327:20-26
1992.97 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test] . go 11 p2
1992.97 s
[opt-env-conf-test] ParserMany mLoc p ->
1992.97 s
[opt-env-conf-test] - showParen (d > 10) $
1992.97 s
[opt-env-conf-test] + showParen (d > = 10) $
1992.97 s
[opt-env-conf-test] showString "Many "
1992.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test]
1992.97 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
1992.97 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test] . go 11 p2
1992.97 s
[opt-env-conf-test] ParserMany mLoc p ->
1992.97 s
[opt-env-conf-test] - showParen (d > 10) $
1992.97 s
[opt-env-conf-test] + showParen (d > - 10) $
1992.97 s
[opt-env-conf-test] showString "Many "
1992.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test]
1992.97 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
1992.97 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test] . go 11 p2
1992.97 s
[opt-env-conf-test] ParserMany mLoc p ->
1992.97 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1992.97 s
[opt-env-conf-test] + showParen (d > 1 ) $
1992.97 s
[opt-env-conf-test] showString "Many "
1992.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test]
1992.97 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
1992.97 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test] . go 11 p2
1992.97 s
[opt-env-conf-test] ParserMany mLoc p ->
1992.97 s
[opt-env-conf-test] - showParen (d > 1 0) $
1992.97 s
[opt-env-conf-test] + showParen (d > 0) $
1992.97 s
[opt-env-conf-test] showString "Many "
1992.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test]
1992.97 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:19-27
1992.97 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1992.97 s
[opt-env-conf-test] showString "Empty "
1992.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.97 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1992.97 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.97 s
[opt-env-conf-test] + showParen T ru e $
1992.97 s
[opt-env-conf-test] showString "Alt "
1992.97 s
[opt-env-conf-test] . go 11 p1
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test]
1992.97 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:20-26
1992.97 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1992.97 s
[opt-env-conf-test] showString "Empty "
1992.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.97 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1992.97 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.97 s
[opt-env-conf-test] + showParen ( Tru e ) $
1992.97 s
[opt-env-conf-test] showString "Alt "
1992.97 s
[opt-env-conf-test] . go 11 p1
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test]
1992.97 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:321:20-26
1992.97 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1992.97 s
[opt-env-conf-test] showString "Empty "
1992.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.97 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1992.97 s
[opt-env-conf-test] - showParen (d > 10) $
1992.97 s
[opt-env-conf-test] + showParen (d > = 10) $
1992.97 s
[opt-env-conf-test] showString "Alt "
1992.97 s
[opt-env-conf-test] . go 11 p1
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test]
1992.97 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
1992.97 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1992.97 s
[opt-env-conf-test] showString "Empty "
1992.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.97 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1992.97 s
[opt-env-conf-test] - showParen (d > 10) $
1992.97 s
[opt-env-conf-test] + showParen (d > - 10) $
1992.97 s
[opt-env-conf-test] showString "Alt "
1992.97 s
[opt-env-conf-test] . go 11 p1
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test]
1992.97 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
1992.97 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1992.97 s
[opt-env-conf-test] showString "Empty "
1992.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.97 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1992.97 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1992.97 s
[opt-env-conf-test] + showParen (d > 1 ) $
1992.97 s
[opt-env-conf-test] showString "Alt "
1992.97 s
[opt-env-conf-test] . go 11 p1
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test]
1992.97 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
1992.97 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
1992.97 s
[opt-env-conf-test] showString "Empty "
1992.97 s
[opt-env-conf-test] . showsPrec 11 mLoc
1992.97 s
[opt-env-conf-test] ParserAlt p1 p2 ->
1992.97 s
[opt-env-conf-test] - showParen (d > 1 0) $
1992.97 s
[opt-env-conf-test] + showParen (d > 0) $
1992.97 s
[opt-env-conf-test] showString "Alt "
1992.97 s
[opt-env-conf-test] . go 11 p1
1992.97 s
[opt-env-conf-test] . showString " "
1992.97 s
[opt-env-conf-test]
1992.97 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:19-27
1992.97 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1992.98 s
[opt-env-conf-test] go d = \case
1992.98 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] ParserAp pf pa ->
1992.98 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.98 s
[opt-env-conf-test] + showParen T ru e $
1992.98 s
[opt-env-conf-test] showString "Ap "
1992.98 s
[opt-env-conf-test] . go 11 pf
1992.98 s
[opt-env-conf-test] . showString " "
1992.98 s
[opt-env-conf-test]
1992.98 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:20-26
1992.98 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1992.98 s
[opt-env-conf-test] go d = \case
1992.98 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] ParserAp pf pa ->
1992.98 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
1992.98 s
[opt-env-conf-test] + showParen ( Tru e ) $
1992.98 s
[opt-env-conf-test] showString "Ap "
1992.98 s
[opt-env-conf-test] . go 11 pf
1992.98 s
[opt-env-conf-test] . showString " "
1992.98 s
[opt-env-conf-test]
1992.98 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:306:20-26
1992.98 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1992.98 s
[opt-env-conf-test] go d = \case
1992.98 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] ParserAp pf pa ->
1992.98 s
[opt-env-conf-test] - showParen (d > 10) $
1992.98 s
[opt-env-conf-test] + showParen (d > = 10) $
1992.98 s
[opt-env-conf-test] showString "Ap "
1992.98 s
[opt-env-conf-test] . go 11 pf
1992.98 s
[opt-env-conf-test] . showString " "
1992.98 s
[opt-env-conf-test]
1992.98 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
1992.98 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1992.98 s
[opt-env-conf-test] go d = \case
1992.98 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] ParserAp pf pa ->
1992.98 s
[opt-env-conf-test] - showParen (d > 10) $
1992.98 s
[opt-env-conf-test] + showParen (d > - 10) $
1992.98 s
[opt-env-conf-test] showString "Ap "
1992.98 s
[opt-env-conf-test] . go 11 pf
1992.98 s
[opt-env-conf-test] . showString " "
1992.98 s
[opt-env-conf-test]
1992.98 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
1992.98 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1992.98 s
[opt-env-conf-test] go d = \case
1992.98 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] ParserAp pf pa ->
1992.98 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
1992.98 s
[opt-env-conf-test] + showParen (d > 1 ) $
1992.98 s
[opt-env-conf-test] showString "Ap "
1992.98 s
[opt-env-conf-test] . go 11 pf
1992.98 s
[opt-env-conf-test] . showString " "
1992.98 s
[opt-env-conf-test]
1992.98 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
1992.98 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
1992.98 s
[opt-env-conf-test] go d = \case
1992.98 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] ParserAp pf pa ->
1992.98 s
[opt-env-conf-test] - showParen (d > 1 0) $
1992.98 s
[opt-env-conf-test] + showParen (d > 0) $
1992.98 s
[opt-env-conf-test] showString "Ap "
1992.98 s
[opt-env-conf-test] . go 11 pf
1992.98 s
[opt-env-conf-test] . showString " "
1992.98 s
[opt-env-conf-test]
1992.98 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:33-41
1992.98 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1992.98 s
[opt-env-conf-test] where
1992.98 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1992.98 s
[opt-env-conf-test] go d = \case
1992.98 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] + ParserPure _ -> showParen T ru e $ showString "Pure _"
1992.98 s
[opt-env-conf-test] ParserAp pf pa ->
1992.98 s
[opt-env-conf-test] showParen (d > 10) $
1992.98 s
[opt-env-conf-test] showString "Ap "
1992.98 s
[opt-env-conf-test]
1992.98 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:34-40
1992.98 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1992.98 s
[opt-env-conf-test] where
1992.98 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1992.98 s
[opt-env-conf-test] go d = \case
1992.98 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] + ParserPure _ -> showParen ( Tru e ) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] ParserAp pf pa ->
1992.98 s
[opt-env-conf-test] showParen (d > 10) $
1992.98 s
[opt-env-conf-test] showString "Ap "
1992.98 s
[opt-env-conf-test]
1992.98 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:304:34-40
1992.98 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1992.98 s
[opt-env-conf-test] where
1992.98 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1992.98 s
[opt-env-conf-test] go d = \case
1992.98 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > = 10) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] ParserAp pf pa ->
1992.98 s
[opt-env-conf-test] showParen (d > 10) $
1992.98 s
[opt-env-conf-test] showString "Ap "
1992.98 s
[opt-env-conf-test]
1992.98 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
1992.98 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1992.98 s
[opt-env-conf-test] where
1992.98 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1992.98 s
[opt-env-conf-test] go d = \case
1992.98 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > - 10) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] ParserAp pf pa ->
1992.98 s
[opt-env-conf-test] showParen (d > 10) $
1992.98 s
[opt-env-conf-test] showString "Ap "
1992.98 s
[opt-env-conf-test]
1992.98 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
1992.98 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1992.98 s
[opt-env-conf-test] where
1992.98 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1992.98 s
[opt-env-conf-test] go d = \case
1992.98 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0 ) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 1 ) $ showString "Pure _"
1992.98 s
[opt-env-conf-test] ParserAp pf pa ->
1992.98 s
[opt-env-conf-test] showParen (d > 10) $
1992.98 s
[opt-env-conf-test] showString "Ap "
1992.99 s
[opt-env-conf-test]
1992.99 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
1992.99 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
1992.99 s
[opt-env-conf-test] where
1992.99 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
1992.99 s
[opt-env-conf-test] go d = \case
1992.99 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0) $ showString "Pure _"
1992.99 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
1992.99 s
[opt-env-conf-test] ParserAp pf pa ->
1992.99 s
[opt-env-conf-test] showParen (d > 10) $
1992.99 s
[opt-env-conf-test] showString "Ap "
1992.99 s
[opt-env-conf-test]
1992.99 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1992.99 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1992.99 s
[opt-env-conf-test] where
1992.99 s
[opt-env-conf-test] go p =
1992.99 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1992.99 s
[opt-env-conf-test] in case p of
1992.99 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1992.99 s
[opt-env-conf-test] ParserAp {} -> p'
1992.99 s
[opt-env-conf-test] ParserSelect {} -> p'
1992.99 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1992.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1992.99 s
[opt-env-conf-test] ParserMany {} -> p'
1992.99 s
[opt-env-conf-test] ParserSome {} -> p'
1992.99 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1992.99 s
[opt-env-conf-test] ParserCheck {} -> p'
1992.99 s
[opt-env-conf-test] ParserCommands {} -> p'
1992.99 s
[opt-env-conf-test] - ParserWithConfig {} -> p'
1992.99 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1992.99 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1992.99 s
[opt-env-conf-test] Just _ -> p
1992.99 s
[opt-env-conf-test]
1992.99 s
[opt-env-conf-test] -- | Try a list of parsers in order
1992.99 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1992.99 s
[opt-env-conf-test]
1992.99 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1992.99 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1992.99 s
[opt-env-conf-test] where
1992.99 s
[opt-env-conf-test] go p =
1992.99 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1992.99 s
[opt-env-conf-test] in case p of
1992.99 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1992.99 s
[opt-env-conf-test] ParserAp {} -> p'
1992.99 s
[opt-env-conf-test] ParserSelect {} -> p'
1992.99 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1992.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1992.99 s
[opt-env-conf-test] ParserMany {} -> p'
1992.99 s
[opt-env-conf-test] ParserSome {} -> p'
1992.99 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1992.99 s
[opt-env-conf-test] ParserCheck {} -> p'
1992.99 s
[opt-env-conf-test] - ParserCommands {} -> p'
1992.99 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1992.99 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1992.99 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1992.99 s
[opt-env-conf-test] Just _ -> p
1992.99 s
[opt-env-conf-test]
1992.99 s
[opt-env-conf-test] -- | Try a list of parsers in order
1992.99 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1992.99 s
[opt-env-conf-test]
1992.99 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1992.99 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1992.99 s
[opt-env-conf-test] where
1992.99 s
[opt-env-conf-test] go p =
1992.99 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1992.99 s
[opt-env-conf-test] in case p of
1992.99 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1992.99 s
[opt-env-conf-test] ParserAp {} -> p'
1992.99 s
[opt-env-conf-test] ParserSelect {} -> p'
1992.99 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1992.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1992.99 s
[opt-env-conf-test] ParserMany {} -> p'
1992.99 s
[opt-env-conf-test] ParserSome {} -> p'
1992.99 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1992.99 s
[opt-env-conf-test] - ParserCheck {} -> p'
1992.99 s
[opt-env-conf-test] ParserCommands {} -> p'
1992.99 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1992.99 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1992.99 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1992.99 s
[opt-env-conf-test] Just _ -> p
1992.99 s
[opt-env-conf-test]
1992.99 s
[opt-env-conf-test] -- | Try a list of parsers in order
1992.99 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1992.99 s
[opt-env-conf-test]
1992.99 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1992.99 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1992.99 s
[opt-env-conf-test] where
1992.99 s
[opt-env-conf-test] go p =
1992.99 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1992.99 s
[opt-env-conf-test] in case p of
1992.99 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1992.99 s
[opt-env-conf-test] ParserAp {} -> p'
1992.99 s
[opt-env-conf-test] ParserSelect {} -> p'
1992.99 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1992.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1992.99 s
[opt-env-conf-test] ParserMany {} -> p'
1992.99 s
[opt-env-conf-test] ParserSome {} -> p'
1992.99 s
[opt-env-conf-test] - ParserAllOrNothing {} -> p'
1992.99 s
[opt-env-conf-test] ParserCheck {} -> p'
1992.99 s
[opt-env-conf-test] ParserCommands {} -> p'
1992.99 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1992.99 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1992.99 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1992.99 s
[opt-env-conf-test] Just _ -> p
1992.99 s
[opt-env-conf-test]
1992.99 s
[opt-env-conf-test] -- | Try a list of parsers in order
1992.99 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1992.99 s
[opt-env-conf-test]
1992.99 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1992.99 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1992.99 s
[opt-env-conf-test] where
1992.99 s
[opt-env-conf-test] go p =
1992.99 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1992.99 s
[opt-env-conf-test] in case p of
1992.99 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1992.99 s
[opt-env-conf-test] ParserAp {} -> p'
1992.99 s
[opt-env-conf-test] ParserSelect {} -> p'
1992.99 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1992.99 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1993.00 s
[opt-env-conf-test] ParserMany {} -> p'
1993.00 s
[opt-env-conf-test] - ParserSome {} -> p'
1993.00 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1993.00 s
[opt-env-conf-test] ParserCheck {} -> p'
1993.00 s
[opt-env-conf-test] ParserCommands {} -> p'
1993.00 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1993.00 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1993.00 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1993.00 s
[opt-env-conf-test] Just _ -> p
1993.00 s
[opt-env-conf-test]
1993.00 s
[opt-env-conf-test] -- | Try a list of parsers in order
1993.00 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1993.00 s
[opt-env-conf-test]
1993.00 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1993.00 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1993.00 s
[opt-env-conf-test] where
1993.00 s
[opt-env-conf-test] go p =
1993.00 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1993.00 s
[opt-env-conf-test] in case p of
1993.00 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1993.00 s
[opt-env-conf-test] ParserAp {} -> p'
1993.00 s
[opt-env-conf-test] ParserSelect {} -> p'
1993.00 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1993.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1993.00 s
[opt-env-conf-test] - ParserMany {} -> p'
1993.00 s
[opt-env-conf-test] ParserSome {} -> p'
1993.00 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1993.00 s
[opt-env-conf-test] ParserCheck {} -> p'
1993.00 s
[opt-env-conf-test] ParserCommands {} -> p'
1993.00 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1993.00 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1993.00 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1993.00 s
[opt-env-conf-test] Just _ -> p
1993.00 s
[opt-env-conf-test]
1993.00 s
[opt-env-conf-test] -- | Try a list of parsers in order
1993.00 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1993.00 s
[opt-env-conf-test]
1993.00 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1993.00 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1993.00 s
[opt-env-conf-test] where
1993.00 s
[opt-env-conf-test] go p =
1993.00 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1993.00 s
[opt-env-conf-test] in case p of
1993.00 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1993.00 s
[opt-env-conf-test] ParserAp {} -> p'
1993.00 s
[opt-env-conf-test] ParserSelect {} -> p'
1993.00 s
[opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
1993.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1993.00 s
[opt-env-conf-test] ParserMany {} -> p'
1993.00 s
[opt-env-conf-test] ParserSome {} -> p'
1993.00 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1993.00 s
[opt-env-conf-test] ParserCheck {} -> p'
1993.00 s
[opt-env-conf-test] ParserCommands {} -> p'
1993.00 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1993.00 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1993.00 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1993.00 s
[opt-env-conf-test] Just _ -> p
1993.00 s
[opt-env-conf-test]
1993.00 s
[opt-env-conf-test] -- | Try a list of parsers in order
1993.00 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1993.00 s
[opt-env-conf-test]
1993.00 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1993.00 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1993.00 s
[opt-env-conf-test] where
1993.00 s
[opt-env-conf-test] go p =
1993.00 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1993.00 s
[opt-env-conf-test] in case p of
1993.00 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1993.00 s
[opt-env-conf-test] ParserAp {} -> p'
1993.00 s
[opt-env-conf-test] - ParserSelect {} -> p'
1993.00 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1993.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1993.00 s
[opt-env-conf-test] ParserMany {} -> p'
1993.00 s
[opt-env-conf-test] ParserSome {} -> p'
1993.00 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1993.00 s
[opt-env-conf-test] ParserCheck {} -> p'
1993.00 s
[opt-env-conf-test] ParserCommands {} -> p'
1993.00 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1993.00 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1993.00 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1993.00 s
[opt-env-conf-test] Just _ -> p
1993.00 s
[opt-env-conf-test]
1993.00 s
[opt-env-conf-test] -- | Try a list of parsers in order
1993.00 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1993.00 s
[opt-env-conf-test]
1993.00 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1993.00 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1993.00 s
[opt-env-conf-test] where
1993.00 s
[opt-env-conf-test] go p =
1993.00 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1993.00 s
[opt-env-conf-test] in case p of
1993.00 s
[opt-env-conf-test] ParserPure a -> ParserPure a
1993.00 s
[opt-env-conf-test] - ParserAp {} -> p'
1993.00 s
[opt-env-conf-test] ParserSelect {} -> p'
1993.00 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1993.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1993.00 s
[opt-env-conf-test] ParserMany {} -> p'
1993.00 s
[opt-env-conf-test] ParserSome {} -> p'
1993.00 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1993.00 s
[opt-env-conf-test] ParserCheck {} -> p'
1993.00 s
[opt-env-conf-test] ParserCommands {} -> p'
1993.00 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1993.00 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1993.00 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1993.00 s
[opt-env-conf-test] Just _ -> p
1993.00 s
[opt-env-conf-test]
1993.00 s
[opt-env-conf-test] -- | Try a list of parsers in order
1993.00 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1993.00 s
[opt-env-conf-test]
1993.00 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
1993.00 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
1993.00 s
[opt-env-conf-test] where
1993.00 s
[opt-env-conf-test] go p =
1993.00 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
1993.00 s
[opt-env-conf-test] in case p of
1993.00 s
[opt-env-conf-test] - ParserPure a -> ParserPure a
1993.00 s
[opt-env-conf-test] ParserAp {} -> p'
1993.00 s
[opt-env-conf-test] ParserSelect {} -> p'
1993.00 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
1993.00 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
1993.00 s
[opt-env-conf-test] ParserMany {} -> p'
1993.00 s
[opt-env-conf-test] ParserSome {} -> p'
1993.00 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
1993.01 s
[opt-env-conf-test] ParserCheck {} -> p'
1993.01 s
[opt-env-conf-test] ParserCommands {} -> p'
1993.01 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1993.01 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1993.01 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1993.01 s
[opt-env-conf-test] Just _ -> p
1993.01 s
[opt-env-conf-test]
1993.01 s
[opt-env-conf-test] -- | Try a list of parsers in order
1993.01 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1993.01 s
[opt-env-conf-test]
1993.01 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
1993.01 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1993.01 s
[opt-env-conf-test] ParserCheck {} -> p'
1993.01 s
[opt-env-conf-test] ParserCommands {} -> p'
1993.01 s
[opt-env-conf-test] ParserWithConfig {} -> p'
1993.01 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
1993.01 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
1993.01 s
[opt-env-conf-test] - Just _ -> p
1993.01 s
[opt-env-conf-test]
1993.01 s
[opt-env-conf-test] -- | Try a list of parsers in order
1993.01 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
1993.01 s
[opt-env-conf-test]
1993.01 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
1993.01 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
1993.01 s
[opt-env-conf-test] checkMapMaybe func p =
1993.01 s
[opt-env-conf-test] withFrozenCallStack $
1993.01 s
[opt-env-conf-test] checkMapEither
1993.01 s
[opt-env-conf-test] ( \a -> case func a of
1993.01 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
1993.01 s
[opt-env-conf-test] - Just b -> Right b
1993.01 s
[opt-env-conf-test] )
1993.01 s
[opt-env-conf-test] p
1993.01 s
[opt-env-conf-test]
1993.01 s
[opt-env-conf-test]
1993.01 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1993.01 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1993.01 s
[opt-env-conf-test] put as'
1993.01 s
[opt-env-conf-test] pure $ Just []
1993.01 s
[opt-env-conf-test] else do
1993.01 s
[opt-env-conf-test] - if s e tt in g Tr y Opti on
1993.01 s
[opt-env-conf-test] + if Tr ue
1993.01 s
[opt-env-conf-test] then do
1993.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
1993.01 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1993.01 s
[opt-env-conf-test]
1993.01 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1993.01 s
[opt-env-conf-test] @@ -432,11 +432,10 @@
1993.01 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1993.01 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1993.01 s
[opt-env-conf-test] -- completer if we are at the end.
1993.01 s
[opt-env-conf-test] case possibilities of
1993.01 s
[opt-env-conf-test] - [] -> completeWithCompleterAtEnd
1993.01 s
[opt-env-conf-test] (_, as') : _ -> do
1993.01 s
[opt-env-conf-test] put as'
1993.01 s
[opt-env-conf-test] completeWithCompleterAtEnd
1993.01 s
[opt-env-conf-test] else
1993.01 s
[opt-env-conf-test] if isJust settingSwitchValue
1993.01 s
[opt-env-conf-test] then do
1993.01 s
[opt-env-conf-test]
1993.01 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
1993.01 s
[opt-env-conf-test] @@ -434,9 +434,8 @@
1993.01 s
[opt-env-conf-test] -- completer if we are at the end.
1993.01 s
[opt-env-conf-test] case possibilities of
1993.01 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
1993.01 s
[opt-env-conf-test] (_, as') : _ -> do
1993.01 s
[opt-env-conf-test] - put as'
1993.01 s
[opt-env-conf-test] completeWithCompleterAtEnd
1993.02 s
[opt-env-conf-test] else
1993.02 s
[opt-env-conf-test] if isJust settingSwitchValue
1993.02 s
[opt-env-conf-test] then do
1993.02 s
[opt-env-conf-test]
1993.02 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
1993.02 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1993.02 s
[opt-env-conf-test] pure Completion {..}
1993.02 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1993.02 s
[opt-env-conf-test] as <- get
1993.02 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ J u s t [ ]
1993.02 s
[opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ No t h ing
1993.02 s
[opt-env-conf-test] let completeWithDasheds = do
1993.02 s
[opt-env-conf-test] let isLong = \case
1993.02 s
[opt-env-conf-test] DashedLong _ -> True
1993.02 s
[opt-env-conf-test]
1993.02 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
1993.02 s
[opt-env-conf-test] @@ -251,9 +251,8 @@
1993.02 s
[opt-env-conf-test] before <- get
1993.02 s
[opt-env-conf-test] mA <- func
1993.02 s
[opt-env-conf-test] case mA of
1993.02 s
[opt-env-conf-test] Nothing -> do
1993.02 s
[opt-env-conf-test] - put before
1993.02 s
[opt-env-conf-test] pure Nothing
1993.02 s
[opt-env-conf-test] Just a -> pure (Just a)
1993.02 s
[opt-env-conf-test]
1993.02 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
1993.02 s
[opt-env-conf-test]
1993.02 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1993.02 s
[opt-env-conf-test] @@ -125,42 +125,41 @@
1993.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1993.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1993.02 s
[opt-env-conf-test] exitFailure
1993.02 s
[opt-env-conf-test] Right i -> case i of
1993.02 s
[opt-env-conf-test] ShowVersion -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] RenderMan -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] RenderDocumentation -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] RenderNixosOptions -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1993.02 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] - ParsedNormally a -> pure a
1993.02 s
[opt-env-conf-test]
1993.02 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1993.02 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1993.02 s
[opt-env-conf-test]
1993.02 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1993.02 s
[opt-env-conf-test] @@ -125,42 +125,39 @@
1993.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1993.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1993.02 s
[opt-env-conf-test] exitFailure
1993.02 s
[opt-env-conf-test] Right i -> case i of
1993.02 s
[opt-env-conf-test] ShowVersion -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] RenderMan -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] RenderDocumentation -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.02 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] RenderNixosOptions -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1993.02 s
[opt-env-conf-test] exitSuccess
1993.02 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1993.02 s
[opt-env-conf-test] progname <- getProgName
1993.02 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1993.02 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] - CompletionQuery enriched index ws -> do
1993.03 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
1993.03 s
[opt-env-conf-test] - exitSuccess
1993.03 s
[opt-env-conf-test] ParsedNormally a -> pure a
1993.03 s
[opt-env-conf-test]
1993.03 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1993.03 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1993.03 s
[opt-env-conf-test]
1993.03 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1993.03 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1993.03 s
[opt-env-conf-test] exitFailure
1993.03 s
[opt-env-conf-test] Right i -> case i of
1993.03 s
[opt-env-conf-test] ShowVersion -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] RenderMan -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] RenderDocumentation -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] RenderNixosOptions -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1993.03 s
[opt-env-conf-test] - exitSuccess
1993.03 s
[opt-env-conf-test] - FishCompletionScript progPath -> do
1993.03 s
[opt-env-conf-test] - progname <- getProgName
1993.03 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1993.03 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] ParsedNormally a -> pure a
1993.03 s
[opt-env-conf-test]
1993.03 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1993.03 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1993.03 s
[opt-env-conf-test]
1993.03 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1993.03 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1993.03 s
[opt-env-conf-test] exitFailure
1993.03 s
[opt-env-conf-test] Right i -> case i of
1993.03 s
[opt-env-conf-test] ShowVersion -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] RenderMan -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] RenderDocumentation -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] RenderNixosOptions -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1993.03 s
[opt-env-conf-test] - exitSuccess
1993.03 s
[opt-env-conf-test] - ZshCompletionScript progPath -> do
1993.03 s
[opt-env-conf-test] - progname <- getProgName
1993.03 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1993.03 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] ParsedNormally a -> pure a
1993.03 s
[opt-env-conf-test]
1993.03 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1993.03 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1993.03 s
[opt-env-conf-test]
1993.03 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1993.03 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1993.03 s
[opt-env-conf-test] exitFailure
1993.03 s
[opt-env-conf-test] Right i -> case i of
1993.03 s
[opt-env-conf-test] ShowVersion -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] RenderMan -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] RenderDocumentation -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.03 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1993.03 s
[opt-env-conf-test] exitSuccess
1993.03 s
[opt-env-conf-test] RenderNixosOptions -> do
1993.03 s
[opt-env-conf-test] progname <- getProgName
1993.03 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1993.03 s
[opt-env-conf-test] - exitSuccess
1993.03 s
[opt-env-conf-test] - BashCompletionScript progPath -> do
1993.03 s
[opt-env-conf-test] - progname <- getProgName
1993.04 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1993.04 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] ParsedNormally a -> pure a
1993.04 s
[opt-env-conf-test]
1993.04 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1993.04 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1993.04 s
[opt-env-conf-test]
1993.04 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1993.04 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
1993.04 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1993.04 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1993.04 s
[opt-env-conf-test] exitFailure
1993.04 s
[opt-env-conf-test] Right i -> case i of
1993.04 s
[opt-env-conf-test] ShowVersion -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.04 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] RenderMan -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.04 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] RenderDocumentation -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.04 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1993.04 s
[opt-env-conf-test] - exitSuccess
1993.04 s
[opt-env-conf-test] - RenderNixosOptions -> do
1993.04 s
[opt-env-conf-test] - progname <- getProgName
1993.04 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1993.04 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] ParsedNormally a -> pure a
1993.04 s
[opt-env-conf-test]
1993.04 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1993.04 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1993.04 s
[opt-env-conf-test]
1993.04 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1993.04 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1993.04 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1993.04 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1993.04 s
[opt-env-conf-test] exitFailure
1993.04 s
[opt-env-conf-test] Right i -> case i of
1993.04 s
[opt-env-conf-test] ShowVersion -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.04 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] RenderMan -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.04 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] - RenderDocumentation -> do
1993.04 s
[opt-env-conf-test] - progname <- getProgName
1993.04 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1993.04 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1993.04 s
[opt-env-conf-test] - exitSuccess
1993.04 s
[opt-env-conf-test] RenderNixosOptions -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1993.04 s
[opt-env-conf-test] progname <- getProgName
1993.04 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1993.04 s
[opt-env-conf-test] exitSuccess
1993.04 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1993.04 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1993.05 s
[opt-env-conf-test] exitSuccess
1993.05 s
[opt-env-conf-test] ParsedNormally a -> pure a
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1993.05 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
1993.05 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
1993.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1993.05 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
1993.05 s
[opt-env-conf-test] exitFailure
1993.05 s
[opt-env-conf-test] Right i -> case i of
1993.05 s
[opt-env-conf-test] ShowVersion -> do
1993.05 s
[opt-env-conf-test] progname <- getProgName
1993.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.05 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1993.05 s
[opt-env-conf-test] exitSuccess
1993.05 s
[opt-env-conf-test] - RenderMan -> do
1993.05 s
[opt-env-conf-test] - progname <- getProgName
1993.05 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
1993.05 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
1993.05 s
[opt-env-conf-test] - exitSuccess
1993.05 s
[opt-env-conf-test] RenderDocumentation -> do
1993.05 s
[opt-env-conf-test] progname <- getProgName
1993.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.05 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
1993.05 s
[opt-env-conf-test] exitSuccess
1993.05 s
[opt-env-conf-test] RenderNixosOptions -> do
1993.05 s
[opt-env-conf-test] progname <- getProgName
1993.05 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
1993.05 s
[opt-env-conf-test] exitSuccess
1993.05 s
[opt-env-conf-test] BashCompletionScript progPath -> do
1993.05 s
[opt-env-conf-test] progname <- getProgName
1993.05 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
1993.05 s
[opt-env-conf-test] exitSuccess
1993.05 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
1993.05 s
[opt-env-conf-test] progname <- getProgName
1993.05 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
1993.05 s
[opt-env-conf-test] exitSuccess
1993.05 s
[opt-env-conf-test] FishCompletionScript progPath -> do
1993.05 s
[opt-env-conf-test] progname <- getProgName
1993.05 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
1993.05 s
[opt-env-conf-test] exitSuccess
1993.05 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
1993.05 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
1993.05 s
[opt-env-conf-test] exitSuccess
1993.05 s
[opt-env-conf-test] ParsedNormally a -> pure a
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
1993.05 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:132:21-88
1993.05 s
[opt-env-conf-test] @@ -129,7 +129,6 @@
1993.05 s
[opt-env-conf-test] ShowVersion -> do
1993.05 s
[opt-env-conf-test] progname <- getProgName
1993.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.05 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
1993.05 s
[opt-env-conf-test] exitSuccess
1993.05 s
[opt-env-conf-test] RenderMan -> do
1993.05 s
[opt-env-conf-test] progname <- getProgName
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:126:19-69
1993.05 s
[opt-env-conf-test] @@ -123,7 +123,6 @@
1993.05 s
[opt-env-conf-test] case errOrResult of
1993.05 s
[opt-env-conf-test] Left errs -> do
1993.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
1993.05 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderErrors errs
1993.05 s
[opt-env-conf-test] exitFailure
1993.05 s
[opt-env-conf-test] Right i -> case i of
1993.05 s
[opt-env-conf-test] ShowVersion -> do
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:100:15-78
1993.05 s
[opt-env-conf-test] @@ -97,9 +97,6 @@
1993.05 s
[opt-env-conf-test] exitFailure
1993.05 s
[opt-env-conf-test] Right mCommandDoc -> do
1993.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.05 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1993.05 s
[opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
1993.05 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1993.05 s
[opt-env-conf-test] exitSuccess
1993.05 s
[opt-env-conf-test] else do
1993.05 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:100:48-78
1993.05 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
1993.05 s
[opt-env-conf-test] exitFailure
1993.05 s
[opt-env-conf-test] Right mCommandDoc -> do
1993.05 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
1993.05 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
1993.05 s
[opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
1993.05 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
1993.05 s
[opt-env-conf-test] exitSuccess
1993.05 s
[opt-env-conf-test] else do
1993.05 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:83:12-21
1993.05 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1993.05 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] mDebugMode <-
1993.05 s
[opt-env-conf-test] - if debugMode
1993.05 s
[opt-env-conf-test] + if n o t ( debugMode )
1993.05 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1993.05 s
[opt-env-conf-test] else pure Nothing
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
1993.05 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1993.05 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] mDebugMode <-
1993.05 s
[opt-env-conf-test] - if d e b ugM o d e
1993.05 s
[opt-env-conf-test] + if F al s e
1993.05 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1993.05 s
[opt-env-conf-test] else pure Nothing
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
1993.05 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
1993.05 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
1993.05 s
[opt-env-conf-test]
1993.05 s
[opt-env-conf-test] mDebugMode <-
1993.05 s
[opt-env-conf-test] - if d eb u gM o d e
1993.06 s
[opt-env-conf-test] + if T r u e
1993.06 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
1993.06 s
[opt-env-conf-test] else pure Nothing
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:175:18-23
1993.06 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1993.06 s
[opt-env-conf-test] | x == arg -> (True, xs)
1993.06 s
[opt-env-conf-test] | otherwise ->
1993.06 s
[opt-env-conf-test] let (found, rest) = go xs
1993.06 s
[opt-env-conf-test] - i n (found , x : rest)
1993.06 s
[opt-env-conf-test] + i n ( n ot (found ) , x : rest)
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1993.06 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:175:18-23
1993.06 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1993.06 s
[opt-env-conf-test] | x == arg -> (True, xs)
1993.06 s
[opt-env-conf-test] | otherwise ->
1993.06 s
[opt-env-conf-test] let (found, rest) = go xs
1993.06 s
[opt-env-conf-test] - in ( f o u nd , x : rest)
1993.06 s
[opt-env-conf-test] + in ( Fal s e , x : rest)
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
1993.06 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:199:13-44
1993.06 s
[opt-env-conf-test] @@ -196,13 +196,12 @@
1993.06 s
[opt-env-conf-test] [] -> (caps, [])
1993.06 s
[opt-env-conf-test] (x : xs) ->
1993.06 s
[opt-env-conf-test] let t = T.pack x
1993.06 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1993.06 s
[opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
1993.06 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1993.06 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
1993.06 s
[opt-env-conf-test] Nothing ->
1993.06 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1993.06 s
[opt-env-conf-test] in (finalCaps, x : rest)
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1993.06 s
[opt-env-conf-test] -- is supposed to.
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:201:26-44
1993.06 s
[opt-env-conf-test] @@ -198,11 +198,10 @@
1993.06 s
[opt-env-conf-test] let t = T.pack x
1993.06 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
1993.06 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
1993.06 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
1993.06 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
1993.06 s
[opt-env-conf-test] Nothing ->
1993.06 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
1993.06 s
[opt-env-conf-test] in (finalCaps, x : rest)
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
1993.06 s
[opt-env-conf-test] -- is supposed to.
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:440:44-42
1993.06 s
[opt-env-conf-test] @@ -437,21 +437,20 @@
1993.06 s
[opt-env-conf-test] Just (a, _) -> do
1993.06 s
[opt-env-conf-test] debug ["set to default value"]
1993.06 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1993.06 s
[opt-env-conf-test] Nothing -> do
1993.06 s
[opt-env-conf-test] let parseResultError e res = case res of
1993.06 s
[opt-env-conf-test] NotRun -> Nothing
1993.06 s
[opt-env-conf-test] NotFound -> Just e
1993.06 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1993.06 s
[opt-env-conf-test] - debug ["not found"]
1993.06 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1993.06 s
[opt-env-conf-test] NE.nonEmpty $
1993.06 s
[opt-env-conf-test] catMaybes
1993.06 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1993.06 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1993.06 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1993.06 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1993.06 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1993.06 s
[opt-env-conf-test] ]
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] withCapabilities ::
1993.06 s
[opt-env-conf-test] Maybe SrcLoc ->
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1993.06 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1993.06 s
[opt-env-conf-test] debug ["set to default value"]
1993.06 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1993.06 s
[opt-env-conf-test] Nothing -> do
1993.06 s
[opt-env-conf-test] let parseResultError e res = case res of
1993.06 s
[opt-env-conf-test] NotRun -> Nothing
1993.06 s
[opt-env-conf-test] NotFound -> Just e
1993.06 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1993.06 s
[opt-env-conf-test] debug ["not found"]
1993.06 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1993.06 s
[opt-env-conf-test] NE.nonEmpty $
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1993.06 s
[opt-env-conf-test] @@ -393,30 +393,29 @@
1993.06 s
[opt-env-conf-test] case mO' of
1993.06 s
[opt-env-conf-test] Nothing -> pure Nothing
1993.06 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1993.06 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1993.06 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1993.06 s
[opt-env-conf-test] Right mV -> case mV of
1993.06 s
[opt-env-conf-test] Nothing -> do
1993.06 s
[opt-env-conf-test] debug
1993.06 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1993.06 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1993.06 s
[opt-env-conf-test] ]
1993.06 s
[opt-env-conf-test] pure Nothing
1993.06 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1993.06 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1993.06 s
[opt-env-conf-test] Right mA -> case mA of
1993.06 s
[opt-env-conf-test] Nothing -> do
1993.06 s
[opt-env-conf-test] debug
1993.06 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1993.06 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1993.06 s
[opt-env-conf-test] ]
1993.06 s
[opt-env-conf-test] pure Nothing
1993.06 s
[opt-env-conf-test] Just a -> do
1993.06 s
[opt-env-conf-test] debug
1993.06 s
[opt-env-conf-test] [ "set based on config value: ",
1993.06 s
[opt-env-conf-test] chunk $ T.pack $ show v
1993.06 s
[opt-env-conf-test] ]
1993.06 s
[opt-env-conf-test] pure $ Just a
1993.06 s
[opt-env-conf-test] let toRes = \case
1993.06 s
[opt-env-conf-test] Nothing -> NotFound
1993.06 s
[opt-env-conf-test] Just a -> Found a
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1993.06 s
[opt-env-conf-test] @@ -402,21 +402,20 @@
1993.06 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1993.06 s
[opt-env-conf-test] ]
1993.06 s
[opt-env-conf-test] pure Nothing
1993.06 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1993.06 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1993.06 s
[opt-env-conf-test] Right mA -> case mA of
1993.06 s
[opt-env-conf-test] Nothing -> do
1993.06 s
[opt-env-conf-test] debug
1993.06 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1993.06 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1993.06 s
[opt-env-conf-test] ]
1993.06 s
[opt-env-conf-test] pure Nothing
1993.06 s
[opt-env-conf-test] Just a -> do
1993.06 s
[opt-env-conf-test] debug
1993.06 s
[opt-env-conf-test] [ "set based on config value: ",
1993.06 s
[opt-env-conf-test] chunk $ T.pack $ show v
1993.06 s
[opt-env-conf-test] ]
1993.06 s
[opt-env-conf-test] pure $ Just a
1993.06 s
[opt-env-conf-test] let toRes = \case
1993.06 s
[opt-env-conf-test] Nothing -> NotFound
1993.06 s
[opt-env-conf-test] Just a -> Found a
1993.06 s
[opt-env-conf-test]
1993.06 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:393:49-82
1993.06 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
1993.06 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1993.06 s
[opt-env-conf-test] Just neRest -> do
1993.06 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1993.06 s
[opt-env-conf-test] case mO' of
1993.06 s
[opt-env-conf-test] - Nothing -> pure Nothing
1993.06 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1993.06 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1993.06 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1993.06 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1993.06 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
1993.06 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
1993.06 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
1993.06 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
1993.06 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
1993.06 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
1993.06 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
1993.06 s
[opt-env-conf-test] - ["Missing command, available commands:"]
1993.06 s
[opt-env-conf-test] - : availableCommandsLines cs
1993.07 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
1993.07 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1993.07 s
[opt-env-conf-test] - [fore blue "available commands:"]
1993.07 s
[opt-env-conf-test] - ]
1993.07 s
[opt-env-conf-test] - ++ availableCommandsLines cs
1993.07 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
1993.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."],
1993.07 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1993.07 s
[opt-env-conf-test] - ]
1993.07 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
1993.07 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
1993.07 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1993.07 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
1993.07 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
1993.07 s
[opt-env-conf-test] - maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1993.07 s
[opt-env-conf-test] ]
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1993.07 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1993.07 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:52:22-26
1993.07 s
[opt-env-conf-test] @@ -49,7 +49,7 @@
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
1993.07 s
[opt-env-conf-test] errorMessageIsForgivable = \case
1993.07 s
[opt-env-conf-test] - ParseErrorEmpty -> Tr u e
1993.07 s
[opt-env-conf-test] + ParseErrorEmpty -> F a ls e
1993.07 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1993.07 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1993.07 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1993.07 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:69:36-41
1993.07 s
[opt-env-conf-test] @@ -66,7 +66,7 @@
1993.07 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1993.07 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1993.07 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1993.07 s
[opt-env-conf-test] - ParseErrorMissingCapability _ -> F al s e
1993.07 s
[opt-env-conf-test] + ParseErrorMissingCapability _ -> T ru e
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
1993.07 s
[opt-env-conf-test] eraseErrorSrcLocs = fmap eraseErrorSrcLoc
1993.07 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:34-47
1993.07 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1993.07 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1993.07 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1993.07 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1993.07 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1993.07 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> n o t ( not $ null cs )
1993.07 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1993.07 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1993.07 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1993.07 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:67:31-36
1993.07 s
[opt-env-conf-test] @@ -64,7 +64,7 @@
1993.07 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1993.07 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1993.07 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1993.07 s
[opt-env-conf-test] - ParseErrorAllOrNothing _ -> F al s e
1993.07 s
[opt-env-conf-test] + ParseErrorAllOrNothing _ -> T ru e
1993.07 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1993.07 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/NonDet.hs:74:24-42
1993.07 s
[opt-env-conf-test] @@ -71,7 +71,7 @@
1993.07 s
[opt-env-conf-test] runListTLazy = fmap g . unListT
1993.07 s
[opt-env-conf-test] where
1993.07 s
[opt-env-conf-test] g MNil = Nothing
1993.07 s
[opt-env-conf-test] - g (x `MCons` xs) = J u s t (x, L i s t T x s)
1993.07 s
[opt-env-conf-test] + g (x `MCons` xs) = No t h i ng
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] runListTComplete :: (Monad m) => ListT m a -> m [a]
1993.07 s
[opt-env-conf-test] runListTComplete = unListT >=> go
1993.07 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:68:31-36
1993.07 s
[opt-env-conf-test] @@ -65,7 +65,7 @@
1993.07 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1993.07 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1993.07 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1993.07 s
[opt-env-conf-test] - ParseErrorUnrecognised _ -> F al s e
1993.07 s
[opt-env-conf-test] + ParseErrorUnrecognised _ -> T ru e
1993.07 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
1993.07 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
1993.07 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1993.07 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1993.07 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1993.07 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1993.07 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n o t $ n ul l c s
1993.07 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> F a l s e
1993.07 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1993.07 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1993.07 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1993.07 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
1993.07 s
[opt-env-conf-test] @@ -700,9 +700,8 @@
1993.07 s
[opt-env-conf-test] [] -> (Nothing, [])
1993.07 s
[opt-env-conf-test] (b : bs) ->
1993.07 s
[opt-env-conf-test] let (mDefault, cs) = go bs
1993.07 s
[opt-env-conf-test] in case b of
1993.07 s
[opt-env-conf-test] - CommandsBuilderCommand c -> (mDefault, c : cs)
1993.07 s
[opt-env-conf-test] CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
1993.07 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
1993.07 s
[opt-env-conf-test] Right mV -> case mV of
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:224:38-20
1993.07 s
[opt-env-conf-test] @@ -221,15 +221,14 @@
1993.07 s
[opt-env-conf-test] Just c -> do
1993.07 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1993.07 s
[opt-env-conf-test] go $ commandParser c
1993.07 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1993.07 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1993.07 s
[opt-env-conf-test] ppIndent $ do
1993.07 s
[opt-env-conf-test] debug ["loading config"]
1993.07 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
1993.07 s
[opt-env-conf-test] debug ["with loaded config"]
1993.07 s
[opt-env-conf-test] ppIndent $
1993.07 s
[opt-env-conf-test] local (\e -> e {ppEnvConf = mNewConfig}) $
1993.07 s
[opt-env-conf-test] go pa
1993.07 s
[opt-env-conf-test] ParserSetting mLoc set@Setting {..} -> do
1993.07 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
1993.07 s
[opt-env-conf-test] when (not (Set.null settingRequiredCapabilities)) $
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:221:27-39
1993.07 s
[opt-env-conf-test] @@ -218,9 +218,8 @@
1993.07 s
[opt-env-conf-test] Just s -> do
1993.07 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1993.07 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1993.07 s
[opt-env-conf-test] Just c -> do
1993.07 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1993.07 s
[opt-env-conf-test] go $ commandParser c
1993.07 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1993.07 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1993.07 s
[opt-env-conf-test] ppIndent $ do
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:215:28-40
1993.07 s
[opt-env-conf-test] @@ -212,9 +212,8 @@
1993.07 s
[opt-env-conf-test] find ((== d) . commandArg) cs
1993.07 s
[opt-env-conf-test] case mDefaultCommand of
1993.07 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1993.07 s
[opt-env-conf-test] Just dc -> do
1993.07 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1993.07 s
[opt-env-conf-test] go $ commandParser dc
1993.07 s
[opt-env-conf-test] Just s -> do
1993.07 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1993.07 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:195:29-70
1993.07 s
[opt-env-conf-test] @@ -192,9 +192,8 @@
1993.07 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
1993.07 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1993.07 s
[opt-env-conf-test] case errOrB of
1993.07 s
[opt-env-conf-test] Left err -> do
1993.07 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1993.07 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1993.07 s
[opt-env-conf-test] Right b -> do
1993.07 s
[opt-env-conf-test] debug ["succeeded"]
1993.07 s
[opt-env-conf-test] pure b
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:197:56-66
1993.07 s
[opt-env-conf-test] @@ -194,7 +194,7 @@
1993.07 s
[opt-env-conf-test] case errOrB of
1993.07 s
[opt-env-conf-test] Left err -> do
1993.07 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1993.07 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed f o rg iv a b l e err
1993.07 s
[opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed F a l s e err
1993.07 s
[opt-env-conf-test] Right b -> do
1993.07 s
[opt-env-conf-test] debug ["succeeded"]
1993.07 s
[opt-env-conf-test] pure b
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
1993.07 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
1993.07 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1993.07 s
[opt-env-conf-test] case errOrB of
1993.07 s
[opt-env-conf-test] Left err -> do
1993.07 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1993.07 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1993.07 s
[opt-env-conf-test] Right b -> do
1993.07 s
[opt-env-conf-test] debug ["succeeded"]
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
1993.07 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
1993.07 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1993.07 s
[opt-env-conf-test] case errOrB of
1993.07 s
[opt-env-conf-test] Left err -> do
1993.07 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1993.07 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1993.07 s
[opt-env-conf-test] Right b -> do
1993.07 s
[opt-env-conf-test] debug ["succeeded"]
1993.07 s
[opt-env-conf-test]
1993.07 s
[opt-env-conf-test] Negate at src/OptEnvConf/Run.hs:196:72-82
1993.07 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
1993.07 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1993.07 s
[opt-env-conf-test] case errOrB of
1993.08 s
[opt-env-conf-test] Left err -> do
1993.08 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable ]
1993.08 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show n o t ( forgivable ) ]
1993.08 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1993.08 s
[opt-env-conf-test] Right b -> do
1993.08 s
[opt-env-conf-test] debug ["succeeded"]
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:196:72-82
1993.08 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
1993.08 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1993.08 s
[opt-env-conf-test] case errOrB of
1993.08 s
[opt-env-conf-test] Left err -> do
1993.08 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show f o r gi v a b l e]
1993.08 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show T r u e]
1993.08 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1993.08 s
[opt-env-conf-test] Right b -> do
1993.08 s
[opt-env-conf-test] debug ["succeeded"]
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:150:37-112
1993.08 s
[opt-env-conf-test] @@ -147,34 +147,33 @@
1993.08 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1993.08 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1993.08 s
[opt-env-conf-test] pure (a :| as)
1993.08 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1993.08 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test] e <- ask
1993.08 s
[opt-env-conf-test] s <- get
1993.08 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
1993.08 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
1993.08 s
[opt-env-conf-test] put s'
1993.08 s
[opt-env-conf-test] case result of
1993.08 s
[opt-env-conf-test] Success a -> pure a
1993.08 s
[opt-env-conf-test] Failure errs -> do
1993.08 s
[opt-env-conf-test] if not $ all errorIsForgivable errs
1993.08 s
[opt-env-conf-test] then ppErrors' errs
1993.08 s
[opt-env-conf-test] else do
1993.08 s
[opt-env-conf-test] -- Settings available below
1993.08 s
[opt-env-conf-test] let settingsMap = parserSettingsMap p'
1993.08 s
[opt-env-conf-test] -- Settings that have been parsed
1993.08 s
[opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
1993.08 s
[opt-env-conf-test] -- Settings that have been parsed below
1993.08 s
[opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
1993.08 s
[opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
1993.08 s
[opt-env-conf-test] -- (this is the case because we're in the failure branch)
1993.08 s
[opt-env-conf-test] -- with only forgivable errors
1993.08 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1993.08 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1993.08 s
[opt-env-conf-test] if null parsedSettingsMap
1993.08 s
[opt-env-conf-test] then ppErrors' errs
1993.08 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1993.08 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1993.08 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:18-50
1993.08 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1993.08 s
[opt-env-conf-test] case result of
1993.08 s
[opt-env-conf-test] Success a -> pure a
1993.08 s
[opt-env-conf-test] Failure errs -> do
1993.08 s
[opt-env-conf-test] - if n ot $ al l errorI s Forgiva bl e e rrs
1993.08 s
[opt-env-conf-test] + if F al s e
1993.08 s
[opt-env-conf-test] then ppErrors' errs
1993.08 s
[opt-env-conf-test] else do
1993.08 s
[opt-env-conf-test] -- Settings available below
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:24-50
1993.08 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1993.08 s
[opt-env-conf-test] case result of
1993.08 s
[opt-env-conf-test] Success a -> pure a
1993.08 s
[opt-env-conf-test] Failure errs -> do
1993.08 s
[opt-env-conf-test] - if not $ a l l err orIsFo r g i vab le e rrs
1993.08 s
[opt-env-conf-test] + if not $ T r u e
1993.08 s
[opt-env-conf-test] then ppErrors' errs
1993.08 s
[opt-env-conf-test] else do
1993.08 s
[opt-env-conf-test] -- Settings available below
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:143:29-25
1993.08 s
[opt-env-conf-test] @@ -140,13 +140,12 @@
1993.08 s
[opt-env-conf-test] Just a -> do
1993.08 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1993.08 s
[opt-env-conf-test] pure (a : as)
1993.08 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1993.08 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test] a <- go p'
1993.08 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1993.08 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1993.08 s
[opt-env-conf-test] pure (a :| as)
1993.08 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1993.08 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:134:29-28
1993.08 s
[opt-env-conf-test] @@ -131,15 +131,14 @@
1993.08 s
[opt-env-conf-test] Nothing -> do
1993.08 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1993.08 s
[opt-env-conf-test] ppIndent $ go p2
1993.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1993.08 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test] eor <- tryPP $ go p'
1993.08 s
[opt-env-conf-test] case eor of
1993.08 s
[opt-env-conf-test] Nothing -> pure []
1993.08 s
[opt-env-conf-test] Just a -> do
1993.08 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1993.08 s
[opt-env-conf-test] pure (a : as)
1993.08 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1993.08 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
1993.08 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
1993.08 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1993.08 s
[opt-env-conf-test] ppIndent $ go p2
1993.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1993.08 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test] eor <- tryPP $ go p'
1993.08 s
[opt-env-conf-test] case eor of
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
1993.08 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
1993.08 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1993.08 s
[opt-env-conf-test] ppIndent $ go p2
1993.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1993.08 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test] eor <- tryPP $ go p'
1993.08 s
[opt-env-conf-test] case eor of
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
1993.08 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
1993.08 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1993.08 s
[opt-env-conf-test] ppIndent $ go p2
1993.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1993.08 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test] eor <- tryPP $ go p'
1993.08 s
[opt-env-conf-test] case eor of
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:122:26-31
1993.08 s
[opt-env-conf-test] @@ -119,18 +119,17 @@
1993.08 s
[opt-env-conf-test] ParserSelect fe ff -> do
1993.08 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1993.08 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
1993.08 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1993.08 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test] debug ["Trying left side."]
1993.08 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
1993.08 s
[opt-env-conf-test] case eor of
1993.08 s
[opt-env-conf-test] Just a -> do
1993.08 s
[opt-env-conf-test] debug ["Left side succeeded."]
1993.08 s
[opt-env-conf-test] pure a
1993.08 s
[opt-env-conf-test] Nothing -> do
1993.08 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1993.08 s
[opt-env-conf-test] ppIndent $ go p2
1993.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1993.08 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:131:24-31
1993.08 s
[opt-env-conf-test] @@ -128,9 +128,8 @@
1993.08 s
[opt-env-conf-test] Just a -> do
1993.08 s
[opt-env-conf-test] debug ["Left side succeeded."]
1993.08 s
[opt-env-conf-test] pure a
1993.08 s
[opt-env-conf-test] Nothing -> do
1993.08 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
1993.08 s
[opt-env-conf-test] ppIndent $ go p2
1993.08 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1993.08 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:119:29-42
1993.08 s
[opt-env-conf-test] @@ -116,9 +116,8 @@
1993.08 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1993.08 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1993.08 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1993.08 s
[opt-env-conf-test] ParserSelect fe ff -> do
1993.08 s
[opt-env-conf-test] - debug [syntaxChunk "Select"]
1993.08 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
1993.08 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1993.08 s
[opt-env-conf-test] debug [syntaxChunk "Alt"]
1993.08 s
[opt-env-conf-test] ppIndent $ do
1993.08 s
[opt-env-conf-test]
1993.08 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:116:27-37
1993.08 s
[opt-env-conf-test] @@ -113,9 +113,8 @@
1993.08 s
[opt-env-conf-test] ParserAp ff fa -> do
1993.08 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
1993.08 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1993.09 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1993.09 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1993.09 s
[opt-env-conf-test] ParserSelect fe ff -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1993.09 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:113:25-35
1993.09 s
[opt-env-conf-test] @@ -110,9 +110,8 @@
1993.09 s
[opt-env-conf-test] ParserPure a -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
1993.09 s
[opt-env-conf-test] pure a
1993.09 s
[opt-env-conf-test] ParserAp ff fa -> do
1993.09 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
1993.09 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1993.09 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:84:3-26
1993.09 s
[opt-env-conf-test] @@ -81,27 +81,26 @@
1993.09 s
[opt-env-conf-test] Nothing -> pure result
1993.09 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
1993.09 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
1993.09 s
[opt-env-conf-test] case mTup of
1993.09 s
[opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
1993.09 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
1993.09 s
[opt-env-conf-test] Success a -> pure (Right a)
1993.09 s
[opt-env-conf-test] Failure firstErrors ->
1993.09 s
[opt-env-conf-test] let goNexts ns = do
1993.09 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
1993.09 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
1993.09 s
[opt-env-conf-test] case mNext of
1993.09 s
[opt-env-conf-test] Nothing ->
1993.09 s
[opt-env-conf-test] pure $
1993.09 s
[opt-env-conf-test] Left $
1993.09 s
[opt-env-conf-test] -- Only show source locations in debug mode.
1993.09 s
[opt-env-conf-test] let f = case mDebugMode of
1993.09 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
1993.09 s
[opt-env-conf-test] Just _ -> id
1993.09 s
[opt-env-conf-test] in f firstErrors
1993.09 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
1993.09 s
[opt-env-conf-test] Success a -> pure (Right a)
1993.09 s
[opt-env-conf-test] Failure _ -> goNexts ns'
1993.09 s
[opt-env-conf-test] in goNexts nexts
1993.09 s
[opt-env-conf-test] where
1993.09 s
[opt-env-conf-test] go ::
1993.09 s
[opt-env-conf-test] Parser a ->
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:464:22-66
1993.09 s
[opt-env-conf-test] @@ -461,11 +461,8 @@
1993.09 s
[opt-env-conf-test] PP a
1993.09 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
1993.09 s
[opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
1993.09 s
[opt-env-conf-test] Just missings -> do
1993.09 s
[opt-env-conf-test] - debug $
1993.09 s
[opt-env-conf-test] - "Missing capabilities: "
1993.09 s
[opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
1993.09 s
[opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
1993.09 s
[opt-env-conf-test] Nothing -> func
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] data ParseResult a
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:477:21-21
1993.09 s
[opt-env-conf-test] @@ -474,9 +474,8 @@
1993.09 s
[opt-env-conf-test] | Found a
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
1993.09 s
[opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
1993.09 s
[opt-env-conf-test] - Nothing -> ppError Nothing ParseErrorNoReaders
1993.09 s
[opt-env-conf-test] Just ne -> pure ne
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] -- Try the readers in order
1993.09 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:568:44-43
1993.09 s
[opt-env-conf-test] @@ -565,12 +565,11 @@
1993.09 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppIndent $ go p'
1993.09 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1993.09 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppIndent $ do
1993.09 s
[opt-env-conf-test] mNewConfig <- go pc
1993.09 s
[opt-env-conf-test] mRes <- go pa
1993.09 s
[opt-env-conf-test] pure $ mRes <|> mNewConfig -- Reverse order
1993.09 s
[opt-env-conf-test] ParserSetting mLoc _ -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] pure Nothing
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:565:42-31
1993.09 s
[opt-env-conf-test] @@ -562,9 +562,8 @@
1993.09 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppIndent $ go p'
1993.09 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1993.09 s
[opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppIndent $ go p'
1993.09 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppIndent $ do
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:562:43-31
1993.09 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1993.09 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppIndent $ go p'
1993.09 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1993.09 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppIndent $ go p'
1993.09 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppIndent $ go p'
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:544:32-37
1993.09 s
[opt-env-conf-test] @@ -541,18 +541,17 @@
1993.09 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] pure Nothing
1993.09 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1993.09 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
1993.09 s
[opt-env-conf-test] ppIndent $ do
1993.09 s
[opt-env-conf-test] debug ["Trying left side."]
1993.09 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
1993.09 s
[opt-env-conf-test] case eor of
1993.09 s
[opt-env-conf-test] Just a -> do
1993.09 s
[opt-env-conf-test] debug ["Left side succeeded."]
1993.09 s
[opt-env-conf-test] pure a
1993.09 s
[opt-env-conf-test] Nothing -> do
1993.09 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1993.09 s
[opt-env-conf-test] ppIndent $ go p2
1993.09 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppIndent $ go p'
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:549:17-37
1993.09 s
[opt-env-conf-test] @@ -546,13 +546,10 @@
1993.09 s
[opt-env-conf-test] ppIndent $ do
1993.09 s
[opt-env-conf-test] debug ["Trying left side."]
1993.09 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
1993.09 s
[opt-env-conf-test] case eor of
1993.09 s
[opt-env-conf-test] Just a -> do
1993.09 s
[opt-env-conf-test] debug ["Left side succeeded."]
1993.09 s
[opt-env-conf-test] pure a
1993.09 s
[opt-env-conf-test] - Nothing -> do
1993.09 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
1993.09 s
[opt-env-conf-test] - ppIndent $ go p2
1993.09 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1993.09 s
[opt-env-conf-test] ppIndent $ go p'
1993.09 s
[opt-env-conf-test]
1993.09 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:529:31-33
1993.09 s
[opt-env-conf-test] @@ -526,12 +526,11 @@
1993.09 s
[opt-env-conf-test] ParserPure _ -> do
1993.09 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
1993.09 s
[opt-env-conf-test] pure Nothing
1993.09 s
[opt-env-conf-test] ParserAp ff fa -> do
1993.09 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
1993.10 s
[opt-env-conf-test] ppIndent $ do
1993.10 s
[opt-env-conf-test] mf <- go ff
1993.10 s
[opt-env-conf-test] ma <- go fa
1993.10 s
[opt-env-conf-test] pure $ ma <|> mf -- Reverse order
1993.10 s
[opt-env-conf-test] ParserSelect fe ff -> do
1993.10 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1993.10 s
[opt-env-conf-test] ppIndent $ do
1993.10 s
[opt-env-conf-test]
1993.10 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:514:3-35
1993.10 s
[opt-env-conf-test] @@ -511,11 +511,10 @@
1993.10 s
[opt-env-conf-test] ppEnvIndent = 0
1993.10 s
[opt-env-conf-test] }
1993.10 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
1993.10 s
[opt-env-conf-test] case mResOrNext of
1993.10 s
[opt-env-conf-test] - Nothing -> pure $ Right Nothing
1993.10 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
1993.10 s
[opt-env-conf-test] Failure errs -> Left errs
1993.10 s
[opt-env-conf-test] Success mDocs -> Right mDocs
1993.10 s
[opt-env-conf-test] where
1993.10 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
1993.10 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
1993.10 s
[opt-env-conf-test]
1993.10 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:516:37-35
1993.10 s
[opt-env-conf-test] @@ -513,9 +513,8 @@
1993.10 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
1993.10 s
[opt-env-conf-test] case mResOrNext of
1993.10 s
[opt-env-conf-test] Nothing -> pure $ Right Nothing
1993.10 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
1993.10 s
[opt-env-conf-test] - Failure errs -> Left errs
1993.10 s
[opt-env-conf-test] Success mDocs -> Right mDocs
1993.10 s
[opt-env-conf-test] where
1993.10 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
1993.10 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
1993.10 s
[opt-env-conf-test]
1993.10 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Run.hs:511:27-28
1993.10 s
[opt-env-conf-test] @@ -508,7 +508,7 @@
1993.10 s
[opt-env-conf-test] { ppEnvEnv = EnvMap.empty,
1993.10 s
[opt-env-conf-test] ppEnvConf = Nothing,
1993.10 s
[opt-env-conf-test] ppEnvDebug = mDebugMode,
1993.10 s
[opt-env-conf-test] - ppEnvIndent = 0
1993.10 s
[opt-env-conf-test] + ppEnvIndent = 1
1993.10 s
[opt-env-conf-test] }
1993.10 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
1993.10 s
[opt-env-conf-test] case mResOrNext of
1993.10 s
[opt-env-conf-test]
1993.10 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:370:15-16
1993.10 s
[opt-env-conf-test] @@ -367,11 +367,10 @@
1993.10 s
[opt-env-conf-test] | not (null commandDocs)
1993.10 s
[opt-env-conf-test] ],
1993.10 s
[opt-env-conf-test] concat
1993.10 s
[opt-env-conf-test] [ [ headerChunks "Options",
1993.10 s
[opt-env-conf-test] renderLongOptDocs optDocs
1993.10 s
[opt-env-conf-test] ]
1993.10 s
[opt-env-conf-test] - | not (nullDocs optDocs)
1993.10 s
[opt-env-conf-test] ],
1993.10 s
[opt-env-conf-test] concat
1993.10 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
1993.10 s
[opt-env-conf-test] renderEnvDocs envDocs
1993.10 s
[opt-env-conf-test]
1993.10 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:373:17-39
1993.10 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
1993.10 s
[opt-env-conf-test] [ [ headerChunks "Options",
1993.10 s
[opt-env-conf-test] renderLongOptDocs optDocs
1993.10 s
[opt-env-conf-test] ]
1993.10 s
[opt-env-conf-test] - | n o t ( n u l lDo cs opt Doc s )
1993.10 s
[opt-env-conf-test] + | Tr u e
1993.10 s
[opt-env-conf-test] ],
1993.11 s
[opt-env-conf-test] concat
1993.11 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
1993.11 s
[opt-env-conf-test]
1993.11 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:329:15-16
1993.11 s
[opt-env-conf-test] @@ -326,11 +326,10 @@
1993.11 s
[opt-env-conf-test] | not (null commandDocs)
1993.11 s
[opt-env-conf-test] ],
1993.11 s
[opt-env-conf-test] concat
1993.11 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
1993.11 s
[opt-env-conf-test] renderLongOptDocs optDocs
1993.11 s
[opt-env-conf-test] ]
1993.11 s
[opt-env-conf-test] - | not (nullDocs optDocs)
1993.11 s
[opt-env-conf-test] ],
1993.11 s
[opt-env-conf-test] concat
1993.11 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
1993.11 s
[opt-env-conf-test] renderEnvDocs envDocs
1993.11 s
[opt-env-conf-test]
1993.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:332:17-39
1993.11 s
[opt-env-conf-test] @@ -329,7 +329,7 @@
1993.11 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
1993.11 s
[opt-env-conf-test] renderLongOptDocs optDocs
1993.11 s
[opt-env-conf-test] ]
1993.11 s
[opt-env-conf-test] - | n o t ( n u l lDo cs opt Doc s )
1993.11 s
[opt-env-conf-test] + | Tr u e
1993.11 s
[opt-env-conf-test] ],
1993.11 s
[opt-env-conf-test] concat
1993.11 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
1993.11 s
[opt-env-conf-test]
1993.11 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:568:9-20
1993.11 s
[opt-env-conf-test] @@ -565,21 +565,20 @@
1993.11 s
[opt-env-conf-test] [] -> []
1993.11 s
[opt-env-conf-test] [d] -> go isTopLevel d
1993.11 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
1993.11 s
[opt-env-conf-test] case setDocHelp d of
1993.11 s
[opt-env-conf-test] - Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
1993.11 s
[opt-env-conf-test] Just h ->
1993.11 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
1993.11 s
[opt-env-conf-test] in concat
1993.11 s
[opt-env-conf-test] [ concat
1993.11 s
[opt-env-conf-test] [ concat
1993.11 s
[opt-env-conf-test] [ indent $ renderSetDocHeader (Just h),
1993.11 s
[opt-env-conf-test] indent $ concatMap renderSetDocWithoutHeader $ d : sds,
1993.11 s
[opt-env-conf-test] [[]]
1993.11 s
[opt-env-conf-test] ]
1993.11 s
[opt-env-conf-test] | not isTopLevel
1993.11 s
[opt-env-conf-test] ],
1993.11 s
[opt-env-conf-test] goOr isTopLevel rest
1993.11 s
[opt-env-conf-test] ]
1993.11 s
[opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
1993.11 s
[opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
1993.11 s
[opt-env-conf-test] goSameHelp h = \case
1993.11 s
[opt-env-conf-test]
1993.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:581:26-36
1993.11 s
[opt-env-conf-test] @@ -578,7 +578,7 @@
1993.11 s
[opt-env-conf-test] ]
1993.11 s
[opt-env-conf-test] | not isTopLevel
1993.11 s
[opt-env-conf-test] ],
1993.11 s
[opt-env-conf-test] - goOr i s T o pL e v e l rest
1993.11 s
[opt-env-conf-test] + goOr T ru e rest
1993.11 s
[opt-env-conf-test] ]
1993.11 s
[opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
1993.11 s
[opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
1993.11 s
[opt-env-conf-test]
1993.11 s
[opt-env-conf-test] Negate at src/OptEnvConf/Doc.hs:566:17-27
1993.11 s
[opt-env-conf-test] @@ -563,7 +563,7 @@
1993.11 s
[opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
1993.11 s
[opt-env-conf-test] goOr isTopLevel = \case
1993.11 s
[opt-env-conf-test] [] -> []
1993.11 s
[opt-env-conf-test] - [d] -> g o isTopLevel d
1993.11 s
[opt-env-conf-test] + [d] -> g o n o t ( isTopLevel ) d
1993.11 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
1993.11 s
[opt-env-conf-test] case setDocHelp d of
1993.11 s
[opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
1993.11 s
[opt-env-conf-test]
1993.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:566:17-27
1993.11 s
[opt-env-conf-test] @@ -563,7 +563,7 @@
1993.11 s
[opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
1993.11 s
[opt-env-conf-test] goOr isTopLevel = \case
1993.11 s
[opt-env-conf-test] [] -> []
1993.11 s
[opt-env-conf-test] - [d] -> go i s T o pL e v e l d
1993.11 s
[opt-env-conf-test] + [d] -> go T ru e d
1993.11 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
1993.11 s
[opt-env-conf-test] case setDocHelp d of
1993.11 s
[opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
1993.11 s
[opt-env-conf-test]
1993.11 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:588:12-34
1993.11 s
[opt-env-conf-test] @@ -585,7 +585,7 @@
1993.11 s
[opt-env-conf-test] goSameHelp h = \case
1993.12 s
[opt-env-conf-test] [] -> ([], [])
1993.12 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
1993.12 s
[opt-env-conf-test] - if s e tDo cHelp d = = J u s t h
1993.12 s
[opt-env-conf-test] + if T r u e
1993.12 s
[opt-env-conf-test] then
1993.12 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
1993.12 s
[opt-env-conf-test] in (d : sds, rest)
1993.12 s
[opt-env-conf-test]
1993.12 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:532:13-50
1993.12 s
[opt-env-conf-test] @@ -529,12 +529,11 @@
1993.12 s
[opt-env-conf-test] [] -> []
1993.12 s
[opt-env-conf-test] [d] -> [go' d]
1993.12 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
1993.12 s
[opt-env-conf-test] case setDocHelp d of
1993.12 s
[opt-env-conf-test] - Nothing -> go' (AnyDocsSingle d) : goOr' ds
1993.12 s
[opt-env-conf-test] Just h ->
1993.12 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
1993.12 s
[opt-env-conf-test] ne = d :| sds
1993.12 s
[opt-env-conf-test] in AnyDocsSingle ne : goOr' rest
1993.12 s
[opt-env-conf-test] (d : ds) -> go' d : goOr' ds
1993.12 s
[opt-env-conf-test]
1993.12 s
[opt-env-conf-test] renderCommandDocs :: AnyDocs (Maybe SetDoc) -> [Chunk]
1993.12 s
[opt-env-conf-test]
1993.12 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:259:17-26
1993.12 s
[opt-env-conf-test] @@ -256,18 +256,16 @@
1993.12 s
[opt-env-conf-test] concat
1993.12 s
[opt-env-conf-test] [ concatMap
1993.12 s
[opt-env-conf-test] ( \(key, schema) ->
1993.12 s
[opt-env-conf-test] case jsonSchemaChunkLines schema of
1993.12 s
[opt-env-conf-test] - [line] ->
1993.12 s
[opt-env-conf-test] - [["config: ", confValChunk key, ": "] ++ line]
1993.12 s
[opt-env-conf-test] ls ->
1993.12 s
[opt-env-conf-test] ["config:"]
1993.12 s
[opt-env-conf-test] : indent
1993.12 s
[opt-env-conf-test] ( case ls of
1993.12 s
[opt-env-conf-test] [] -> [["TODO"]]
1993.12 s
[opt-env-conf-test] (l : ll) ->
1993.12 s
[opt-env-conf-test] ([confValChunk key, ": "] ++ l)
1993.12 s
[opt-env-conf-test] : indent ll
1993.12 s
[opt-env-conf-test] )
1993.12 s
[opt-env-conf-test] )
1993.12 s
[opt-env-conf-test] (NE.toList confs)
1993.12 s
[opt-env-conf-test] | confs <- maybeToList setDocConfKeys
1993.12 s
[opt-env-conf-test]
1993.12 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:265:27-44
1993.12 s
[opt-env-conf-test] @@ -262,11 +262,10 @@
1993.12 s
[opt-env-conf-test] ls ->
1993.12 s
[opt-env-conf-test] ["config:"]
1993.12 s
[opt-env-conf-test] : indent
1993.12 s
[opt-env-conf-test] ( case ls of
1993.12 s
[opt-env-conf-test] - [] -> [["TODO"]]
1993.12 s
[opt-env-conf-test] (l : ll) ->
1993.12 s
[opt-env-conf-test] ([confValChunk key, ": "] ++ l)
1993.12 s
[opt-env-conf-test] : indent ll
1993.12 s
[opt-env-conf-test] )
1993.12 s
[opt-env-conf-test] )
1993.12 s
[opt-env-conf-test] (NE.toList confs)
1993.12 s
[opt-env-conf-test]
1993.12 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:661:30-18
1993.12 s
[opt-env-conf-test] @@ -658,29 +658,28 @@
1993.12 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1993.12 s
[opt-env-conf-test] [] -> Nothing
1993.12 s
[opt-env-conf-test] cs -> Just $ bracketise $ unwordsChunks $ intersperse [orChunk] cs
1993.12 s
[opt-env-conf-test] AnyDocsSingle mOd -> case mOd of
1993.12 s
[opt-env-conf-test] - Nothing -> Nothing
1993.12 s
[opt-env-conf-test] Just OptDoc {..} ->
1993.12 s
[opt-env-conf-test] Just
1993.12 s
[opt-env-conf-test] $ ( if isJust optDocDefault
1993.12 s
[opt-env-conf-test] then bracketise
1993.12 s
[opt-env-conf-test] else id
1993.12 s
[opt-env-conf-test] )
1993.12 s
[opt-env-conf-test] $ unwordsChunks
1993.12 s
[opt-env-conf-test] $ concat
1993.12 s
[opt-env-conf-test] [ [ [mMetavarChunk optDocMetavar]
1993.12 s
[opt-env-conf-test] | optDocTryArgument
1993.12 s
[opt-env-conf-test] ],
1993.12 s
[opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds
1993.12 s
[opt-env-conf-test] | optDocTrySwitch
1993.12 s
[opt-env-conf-test] ],
1993.12 s
[opt-env-conf-test] [ concat
1993.12 s
[opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds,
1993.12 s
[opt-env-conf-test] [" ", mMetavarChunk optDocMetavar]
1993.12 s
[opt-env-conf-test] ]
1993.12 s
[opt-env-conf-test] | optDocTryOption
1993.12 s
[opt-env-conf-test] ]
1993.12 s
[opt-env-conf-test] ]
1993.12 s
[opt-env-conf-test]
1993.12 s
[opt-env-conf-test] orChunk :: Chunk
1993.12 s
[opt-env-conf-test] orChunk = fore cyan "|"
1993.12 s
[opt-env-conf-test]
1993.12 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
1993.12 s
[opt-env-conf-test] @@ -650,10 +650,9 @@
1993.12 s
[opt-env-conf-test] Nothing -> Just ["COMMAND"]
1993.12 s
[opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
1993.12 s
[opt-env-conf-test] AnyDocsAnd ds ->
1993.12 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1993.12 s
[opt-env-conf-test] [] -> Nothing
1993.12 s
[opt-env-conf-test] - [c] -> Just c
1993.12 s
[opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
1993.12 s
[opt-env-conf-test] AnyDocsOr ds ->
1993.12 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1993.12 s
[opt-env-conf-test] [] -> Nothing
1993.12 s
[opt-env-conf-test]
1993.12 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
1993.12 s
[opt-env-conf-test] @@ -650,10 +650,9 @@
1993.12 s
[opt-env-conf-test] Nothing -> Just ["COMMAND"]
1993.12 s
[opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
1993.12 s
[opt-env-conf-test] AnyDocsAnd ds ->
1993.12 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1993.12 s
[opt-env-conf-test] - [] -> Nothing
1993.12 s
[opt-env-conf-test] [c] -> Just c
1993.12 s
[opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
1993.12 s
[opt-env-conf-test] AnyDocsOr ds ->
1993.12 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1993.12 s
[opt-env-conf-test] [] -> Nothing
1993.13 s
[opt-env-conf-test]
1993.13 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:656:30-31
1993.13 s
[opt-env-conf-test] @@ -653,7 +653,7 @@
1993.13 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1993.13 s
[opt-env-conf-test] [] -> Nothing
1993.13 s
[opt-env-conf-test] [c] -> Just c
1993.13 s
[opt-env-conf-test] - cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
1993.13 s
[opt-env-conf-test] + cs -> Just $ (if F a ls e then parenthesise else id) $ unwordsChunks cs
1993.13 s
[opt-env-conf-test] AnyDocsOr ds ->
1993.13 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
1993.13 s
[opt-env-conf-test] [] -> Nothing
1993.13 s
[opt-env-conf-test]
1993.13 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Doc.hs:637:38-43
1993.13 s
[opt-env-conf-test] @@ -634,7 +634,7 @@
1993.13 s
[opt-env-conf-test] withoutNothings =
1993.13 s
[opt-env-conf-test] filter
1993.13 s
[opt-env-conf-test] ( \case
1993.13 s
[opt-env-conf-test] - AnyDocsSingle Nothing -> F al s e
1993.13 s
[opt-env-conf-test] + AnyDocsSingle Nothing -> T ru e
1993.13 s
[opt-env-conf-test] AnyDocsAnd [] -> False
1993.13 s
[opt-env-conf-test] AnyDocsOr [] -> False
1993.13 s
[opt-env-conf-test] _ -> True
1993.13 s
[opt-env-conf-test]
1993.13 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:822:13-52
1993.13 s
[opt-env-conf-test] @@ -819,11 +819,9 @@
1993.13 s
[opt-env-conf-test] [exampleValuesChunks confDocExamples | not (null confDocExamples)],
1993.13 s
[opt-env-conf-test] concatMap
1993.13 s
[opt-env-conf-test] ( \(key, schema) ->
1993.13 s
[opt-env-conf-test] case jsonSchemaChunkLines schema of
1993.13 s
[opt-env-conf-test] - [line] ->
1993.13 s
[opt-env-conf-test] - [[confValChunk key, ": "] ++ line]
1993.13 s
[opt-env-conf-test] ls ->
1993.13 s
[opt-env-conf-test] [confValChunk key, ":"] : indent ls
1993.13 s
[opt-env-conf-test] )
1993.13 s
[opt-env-conf-test] (NE.toList confDocKeys)
1993.13 s
[opt-env-conf-test] ]
1993.13 s
[opt-env-conf-test]
1993.13 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:144:22-46
1993.13 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1993.13 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
1993.13 s
[opt-env-conf-test] salt
1993.13 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
1993.13 s
[opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
1993.13 s
[opt-env-conf-test] + `hashWithSalt` n o t ( envVarSettingAllowPrefix )
1993.13 s
[opt-env-conf-test]
1993.13 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1993.13 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1993.13 s
[opt-env-conf-test]
1993.13 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
1993.13 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1993.13 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
1993.13 s
[opt-env-conf-test] salt
1993.13 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
1993.13 s
[opt-env-conf-test] - `hashWithSalt` e n v V a r Settin gAl l o w Pr e f ix
1993.13 s
[opt-env-conf-test] + `hashWithSalt` F a l s e
1993.13 s
[opt-env-conf-test]
1993.13 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1993.13 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1993.13 s
[opt-env-conf-test]
1993.13 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
1993.13 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1993.13 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
1993.13 s
[opt-env-conf-test] salt
1993.13 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
1993.13 s
[opt-env-conf-test] - `hashWithSalt` e n v Var Settin gAllow P r e fix
1993.13 s
[opt-env-conf-test] + `hashWithSalt` T r u e
1993.13 s
[opt-env-conf-test]
1993.13 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1993.13 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1993.13 s
[opt-env-conf-test]
1993.13 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:136:5-29
1993.13 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1993.13 s
[opt-env-conf-test]
1993.13 s
[opt-env-conf-test] data EnvVarSetting = EnvVarSetting
1993.14 s
[opt-env-conf-test] { envVarSettingVar :: !String,
1993.14 s
[opt-env-conf-test] - e n v Var Settin gAllow P r e fi x :: !Bool
1993.14 s
[opt-env-conf-test] + T r u e :: !Bool
1993.14 s
[opt-env-conf-test] }
1993.14 s
[opt-env-conf-test] deriving (Show, Eq)
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:159:5-32
1993.14 s
[opt-env-conf-test] @@ -156,7 +156,7 @@
1993.14 s
[opt-env-conf-test] = forall void.
1993.14 s
[opt-env-conf-test] ConfigValSetting
1993.14 s
[opt-env-conf-test] { configValSettingPath :: !(NonEmpty String),
1993.14 s
[opt-env-conf-test] - c o nf igV al S ett ingAllo wP r e fi x :: !Bool,
1993.14 s
[opt-env-conf-test] + T r u e :: !Bool,
1993.14 s
[opt-env-conf-test] configValSettingCodec :: !(ValueCodec void (Maybe a))
1993.14 s
[opt-env-conf-test] }
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:128:24-40
1993.14 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1993.14 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1993.14 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1993.14 s
[opt-env-conf-test] - `hashWithSalt` settingTryOption
1993.14 s
[opt-env-conf-test] + `hashWithSalt` n o t ( settingTryOption )
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1993.14 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1993.14 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
1993.14 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1993.14 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1993.14 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1993.14 s
[opt-env-conf-test] - `hashWithSalt` se tt ingT ryOption
1993.14 s
[opt-env-conf-test] + `hashWithSalt` F a l se
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1993.14 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1993.14 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
1993.14 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1993.14 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1993.14 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1993.14 s
[opt-env-conf-test] - `hashWithSalt` s e tt in g Tr y Opti on
1993.14 s
[opt-env-conf-test] + `hashWithSalt` Tr ue
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1993.14 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1993.14 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:127:24-49
1993.14 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
1993.14 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1993.14 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1993.14 s
[opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
1993.14 s
[opt-env-conf-test] + `hashWithSalt` n o t ( isJust settingSwitchValue )
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1993.14 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
1993.14 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
1993.14 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1993.14 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1993.14 s
[opt-env-conf-test] - `hashWithSalt` i s Jus t s e tti ngSwit chV al u e
1993.14 s
[opt-env-conf-test] + `hashWithSalt` F al s e
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1993.14 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
1993.14 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
1993.14 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1993.14 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1993.14 s
[opt-env-conf-test] - `hashWithSalt` i s J u s t s e t tin gSwitchValue
1993.14 s
[opt-env-conf-test] + `hashWithSalt` Tr u e
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1993.14 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:125:24-42
1993.14 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
1993.14 s
[opt-env-conf-test] SettingHash
1993.14 s
[opt-env-conf-test] ( 42
1993.14 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1993.14 s
[opt-env-conf-test] - `hashWithSalt` settingTryArgument
1993.14 s
[opt-env-conf-test] + `hashWithSalt` n o t ( settingTryArgument )
1993.14 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1993.14 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
1993.14 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
1993.14 s
[opt-env-conf-test] SettingHash
1993.14 s
[opt-env-conf-test] ( 42
1993.14 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1993.14 s
[opt-env-conf-test] - `hashWithSalt` se tt ingTr yArgument
1993.14 s
[opt-env-conf-test] + `hashWithSalt` F a l se
1993.14 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1993.14 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
1993.14 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
1993.14 s
[opt-env-conf-test] SettingHash
1993.14 s
[opt-env-conf-test] ( 42
1993.14 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1993.14 s
[opt-env-conf-test] - `hashWithSalt` s e tt ing T ry A r g u m e n t
1993.14 s
[opt-env-conf-test] + `hashWithSalt` T r u e
1993.14 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1993.14 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1993.14 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:148:6-32
1993.14 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1993.14 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1993.14 s
[opt-env-conf-test] - if e n vV arS etting Al l owP r efi x e
1993.14 s
[opt-env-conf-test] + if T r u e
1993.14 s
[opt-env-conf-test] then e {envVarSettingVar = prefix <> envVarSettingVar e}
1993.14 s
[opt-env-conf-test] else e
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:165:6-35
1993.14 s
[opt-env-conf-test] @@ -162,7 +162,7 @@
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] prefixConfigValSetting :: String -> ConfigValSetting a -> ConfigValSetting a
1993.14 s
[opt-env-conf-test] prefixConfigValSetting prefix c =
1993.14 s
[opt-env-conf-test] - if c o nf ig V alSetti ngAllow P r e fi x c
1993.14 s
[opt-env-conf-test] + if T r u e
1993.14 s
[opt-env-conf-test] then c {configValSettingPath = prefix NE.<| configValSettingPath c}
1993.14 s
[opt-env-conf-test] else c
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test]
1993.14 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Setting.hs:173:30-39
1993.14 s
[opt-env-conf-test] @@ -170,9 +170,8 @@
1993.14 s
[opt-env-conf-test] suffixConfigValSettingKey suffix c = c {configValSettingPath = suffixPath $ configValSettingPath c}
1993.15 s
[opt-env-conf-test] where
1993.15 s
[opt-env-conf-test] suffixPath :: NonEmpty String -> NonEmpty String
1993.15 s
[opt-env-conf-test] suffixPath (f :| rest) = case NE.nonEmpty rest of
1993.15 s
[opt-env-conf-test] Nothing -> (f <> suffix) :| []
1993.15 s
[opt-env-conf-test] - Just ne -> f NE.<| suffixPath ne
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] -- | A 'mempty' 'Setting' to build up a setting from.
1993.15 s
[opt-env-conf-test] emptySetting :: Setting a
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:67:3-96
1993.15 s
[opt-env-conf-test] @@ -64,10 +64,8 @@
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] parserLintTest :: Parser a -> IO ()
1993.15 s
[opt-env-conf-test] parserLintTest parser =
1993.15 s
[opt-env-conf-test] case lintParser parser of
1993.15 s
[opt-env-conf-test] Nothing -> pure ()
1993.15 s
[opt-env-conf-test] - Just errs ->
1993.15 s
[opt-env-conf-test] - expectationFailure $ T.unpack $ renderChunksText With24BitColours $ renderLintErrors errs
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] settingsParserArgsTest :: (Show a, Eq a, HasParser a) => [String] -> a -> IO ()
1993.15 s
[opt-env-conf-test] settingsParserArgsTest = parserArgsTest settingsParser
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:149:13-24
1993.15 s
[opt-env-conf-test] @@ -146,14 +146,13 @@
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] generatedFileComment :: CallStack -> T.Text
1993.15 s
[opt-env-conf-test] generatedFileComment cs =
1993.15 s
[opt-env-conf-test] let loc = case getCallStack cs of
1993.15 s
[opt-env-conf-test] (_, srcLoc) : _ ->
1993.15 s
[opt-env-conf-test] packageName (Stack.srcLocPackage srcLoc)
1993.15 s
[opt-env-conf-test] <> ":"
1993.15 s
[opt-env-conf-test] <> Stack.srcLocFile srcLoc
1993.15 s
[opt-env-conf-test] <> ":"
1993.15 s
[opt-env-conf-test] <> show (Stack.srcLocStartLine srcLoc)
1993.15 s
[opt-env-conf-test] - [] -> "unknown"
1993.15 s
[opt-env-conf-test] in T.pack $
1993.15 s
[opt-env-conf-test] unlines $
1993.15 s
[opt-env-conf-test] map
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:19-84
1993.15 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1993.15 s
[opt-env-conf-test] where
1993.15 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1993.15 s
[opt-env-conf-test] go (c : rest) = c : go rest
1993.15 s
[opt-env-conf-test] - isVersion v = not (null v) & & elem '.' v && all (\c -> isDigit c || c == '.') v
1993.15 s
[opt-env-conf-test] + isVersion v = not (null v) | | elem '.' v && all (\c -> isDigit c || c == '.') v
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:35-84
1993.15 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1993.15 s
[opt-env-conf-test] where
1993.15 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1993.15 s
[opt-env-conf-test] go (c : rest) = c : go rest
1993.15 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v & & all (\c -> isDigit c || c == '.') v
1993.15 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v | | all (\c -> isDigit c || c == '.') v
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-84
1993.15 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1993.15 s
[opt-env-conf-test] where
1993.15 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1993.15 s
[opt-env-conf-test] go (c : rest) = c : go rest
1993.15 s
[opt-env-conf-test] - isVersion v = not (null v) && e l em '.' v && all (\c -> isDigit c || c == '.') v
1993.15 s
[opt-env-conf-test] + isVersion v = not (null v) && T r u e
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:49-84
1993.15 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1993.15 s
[opt-env-conf-test] where
1993.15 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1993.15 s
[opt-env-conf-test] go (c : rest) = c : go rest
1993.15 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && a l l (\c - > i s Di g it c || c == '.') v
1993.15 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && Tru e
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-81
1993.15 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1993.15 s
[opt-env-conf-test] where
1993.15 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1993.15 s
[opt-env-conf-test] go (c : rest) = c : go rest
1993.15 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isD igit c || c == '. ' ) v
1993.15 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> T r ue ) v
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:73-81
1993.15 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1993.15 s
[opt-env-conf-test] where
1993.15 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1993.15 s
[opt-env-conf-test] go (c : rest) = c : go rest
1993.15 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == ' . ' ) v
1993.15 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || T ru e ) v
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-69
1993.15 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1993.15 s
[opt-env-conf-test] where
1993.15 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1993.15 s
[opt-env-conf-test] go (c : rest) = c : go rest
1993.15 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isD igi t c || c == '.') v
1993.15 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> T r ue || c == '.') v
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-45
1993.15 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1993.15 s
[opt-env-conf-test] where
1993.15 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1993.15 s
[opt-env-conf-test] go (c : rest) = c : go rest
1993.15 s
[opt-env-conf-test] - isVersion v = not (null v) && e l e m '. ' v && all (\c -> isDigit c || c == '.') v
1993.15 s
[opt-env-conf-test] + isVersion v = not (null v) && T ru e && all (\c -> isDigit c || c == '.') v
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:19-31
1993.15 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1993.15 s
[opt-env-conf-test] where
1993.15 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1993.15 s
[opt-env-conf-test] go (c : rest) = c : go rest
1993.15 s
[opt-env-conf-test] - isVersion v = n o t (n u l l v) && elem '.' v && all (\c -> isDigit c || c == '.') v
1993.15 s
[opt-env-conf-test] + isVersion v = T r u e && elem '.' v && all (\c -> isDigit c || c == '.') v
1993.15 s
[opt-env-conf-test]
1993.15 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:23-31
1993.15 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1993.15 s
[opt-env-conf-test] where
1993.15 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1993.15 s
[opt-env-conf-test] go (c : rest) = c : go rest
1993.15 s
[opt-env-conf-test] - isVersion v = not ( n u l l v ) && elem '.' v && all (\c -> isDigit c || c == '.') v
1993.15 s
[opt-env-conf-test] + isVersion v = not Fa l s e && elem '.' v && all (\c -> isDigit c || c == '.') v
1993.15 s
[opt-env-conf-test]
1993.16 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:24-30
1993.16 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
1993.16 s
[opt-env-conf-test] where
1993.16 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
1993.16 s
[opt-env-conf-test] go (c : rest) = c : go rest
1993.16 s
[opt-env-conf-test] - isVersion v = not ( n u l l v ) && elem '.' v && all (\c -> isDigit c || c == '.') v
1993.16 s
[opt-env-conf-test] + isVersion v = not ( F a l s e ) && elem '.' v && all (\c -> isDigit c || c == '.') v
1993.16 s
[opt-env-conf-test] checkPhase completed in 27 minutes 47 seconds
1993.16 s
[opt-env-conf-test] Phase: haddockPhase
1993.16 s
[opt-env-conf-test] Phase: installPhase
1993.28 s
[opt-env-conf-test] Installing library in /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-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
1993.90 s
[opt-env-conf-test] Phase: fixupPhase
1993.94 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4
1993.95 s
[opt-env-conf-test] shrinking /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-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
1993.99 s
[opt-env-conf-test] shrinking /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4/bin/opt-env-conf-test
1994.05 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4...
1994.11 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4
1994.12 s
[opt-env-conf-test] stripping (with command strip and flags -S -p) in /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4/lib /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4/bin
1994.29 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest
1994.29 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest...
1994.31 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest
1994.32 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report
1994.41 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report...
1994.50 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report
1994.78 s
[post-build-hook] Uploading to cachix cache "sydtest": /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4 /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report
1995.60 s
[post-build-hook] Pushing 3 paths (268 are already present) using zstd to cache sydtest ⏳
1995.60 s
[post-build-hook]
1995.95 s
[post-build-hook] Pushing /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest (33.58 KiB)
1996.08 s
[post-build-hook] Pushing /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4 (15.01 MiB)
1996.09 s
[post-build-hook] Pushing /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report (2.88 MiB)
1998.14 s
[post-build-hook]
1998.14 s
[post-build-hook] All done.
1998.18 s
[post-build-hook] Uploading to the NixCI staging cache: /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4 /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report
1998.59 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
1998.62 s
[post-build-hook] copying 3 paths...
1998.62 s
[post-build-hook] copying path '/nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest' to 'https://cache.staging.nix-ci.com'...
1998.62 s
[post-build-hook] copying path '/nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4' to 'https://cache.staging.nix-ci.com'...
1998.62 s
[post-build-hook] copying path '/nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report' to 'https://cache.staging.nix-ci.com'...
2007.28 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
2007.59 s
[post-build-hook] copying 1 paths...
2007.61 s
[post-build-hook] copying path '/nix/store/srmldd9caz7rmyfg4jinlafhy0ixnn52-opt-env-conf-test-0.0.0.4.drv' to 'https://cache.staging.nix-ci.com'...
2007.84 s
Progress: 8 of 9 built