File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ data PurepurOptions = PurepurOptions
4141
4242docgen :: PurepurOptions -> IO ()
4343docgen p@ (PurepurOptions moutput compileOutput inputGlob compileInputGlob) = do
44- compileInput <- concat <$> mapM glob compileInputGlob
44+ compileInput <- concat <$> mapM glob ( concatMap lines compileInputGlob)
4545 input <- concat <$> mapM glob inputGlob
4646
4747 when (null compileInput) $ do
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ generateTestFromMarkdown title (Just comment) = do
6565 error $ " unused expression: " <> show expr
6666 commandsToDocument title [] = mempty
6767 commandsToDocument title (ExpectedOutput str: rest) =
68- error $ " Could not translate doctest comment: Found expected output " <> show str <> " , but no matching command."
68+ error $ " Could not translate doctest comment: Found expected output "
69+ <> show str <> " , but no matching command."
6970 <> " Maybe you missed a `>`? "
7071
7172generateTestFromMarkdownFile :: (FilePath , T. Text ) -> Except ParseError (PurepurDocument , P. ModuleName )
You can’t perform that action at this time.
0 commit comments