benchmark: Remove haddock (no writer to create reader input).
This commit is contained in:
parent
c2960d9ded
commit
96f64c7c49
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ main = do
|
|||
inp2 <- readFile "tests/testsuite.txt"
|
||||
let opts = def{ readerSmart = True }
|
||||
let doc = readMarkdown opts $ inp ++ unlines (drop 3 $ lines inp2)
|
||||
let readerBs = map (readerBench doc) readers
|
||||
let readerBs = map (readerBench doc)
|
||||
$ filter (\(n,_) -> n /="haddock") readers
|
||||
let writers' = [(n,w) | (n, PureStringWriter w) <- writers]
|
||||
defaultMainWith conf (return ()) $
|
||||
map (writerBench doc) writers' ++ readerBs
|
||||
|
|
Loading…
Reference in a new issue