@@ -39,9 +39,9 @@ makeRoundTrip x = x
40-- Demand that any AST produced by Muse reader and written by Muse writer can be read back exactly the same way.
40-- Demand that any AST produced by Muse reader and written by Muse writer can be read back exactly the same way.
41-- Currently we remove tables and compare first rewrite to the second.
41-- Currently we remove tables and compare first rewrite to the second.
42−roundTrip :: Block -> Bool
42+roundTrip :: Blocks -> Bool
43roundTrip b = d' == d''
43roundTrip b = d' == d''
44− where d = walk makeRoundTrip $ Pandoc nullMeta [b]
44+ where d = walk makeRoundTrip $ Pandoc nullMeta $ toList b
45 d' = rewrite d
45 d' = rewrite d
46 d'' = rewrite d'
46 d'' = rewrite d'
47 rewrite = amuse . T.pack . (++ "\n") . T.unpack .
47 rewrite = amuse . T.pack . (++ "\n") . T.unpack .