aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Readers/RST.hs
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2016-12-01 12:47:05 -0500
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-25 17:07:40 +0100
commit5ede57122ce61d1504e81c6429ff26c38490aee6 (patch)
tree1bfb24bda19ee17aa63f795e949b6f65545263fb /tests/Tests/Readers/RST.hs
parent3574b98f81c2c24f7ef31f8251ba88792a2c06f0 (diff)
downloadpandoc-5ede57122ce61d1504e81c6429ff26c38490aee6.tar.gz
Update all tests to use new readers and error structure.
Diffstat (limited to 'tests/Tests/Readers/RST.hs')
-rw-r--r--tests/Tests/Readers/RST.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Tests/Readers/RST.hs b/tests/Tests/Readers/RST.hs
index 9ecbb7af7..464720496 100644
--- a/tests/Tests/Readers/RST.hs
+++ b/tests/Tests/Readers/RST.hs
@@ -9,7 +9,7 @@ import Text.Pandoc.Builder
import Text.Pandoc
rst :: String -> Pandoc
-rst = handleError . readRST def{ readerStandalone = True }
+rst = purely $ readRST def{ readerStandalone = True }
infix 4 =:
(=:) :: ToString c