aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-11-09 10:08:22 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-11-09 10:08:22 -0800
commit23b693c029d17dc9833a81b33ca241f3b6fe6cc7 (patch)
treedb6d7da3cf6d5a27d10660ddc1cd5b9a812853b7 /tests/Tests
parent777d717d228cee3dc2cdc12ea4e5d1859bb6f82d (diff)
downloadpandoc-23b693c029d17dc9833a81b33ca241f3b6fe6cc7.tar.gz
Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
Diffstat (limited to 'tests/Tests')
-rw-r--r--tests/Tests/Arbitrary.hs1
-rw-r--r--tests/Tests/Helpers.hs1
-rw-r--r--tests/Tests/Old.hs1
-rw-r--r--tests/Tests/Readers/Docx.hs1
-rw-r--r--tests/Tests/Readers/EPUB.hs1
-rw-r--r--tests/Tests/Readers/HTML.hs1
-rw-r--r--tests/Tests/Readers/LaTeX.hs1
-rw-r--r--tests/Tests/Readers/Markdown.hs1
-rw-r--r--tests/Tests/Readers/Odt.hs3
-rw-r--r--tests/Tests/Readers/Org.hs1
-rw-r--r--tests/Tests/Readers/RST.hs1
-rw-r--r--tests/Tests/Readers/Txt2Tags.hs1
-rw-r--r--tests/Tests/Shared.hs1
-rw-r--r--tests/Tests/Walk.hs1
-rw-r--r--tests/Tests/Writers/AsciiDoc.hs1
-rw-r--r--tests/Tests/Writers/ConTeXt.hs1
-rw-r--r--tests/Tests/Writers/Docbook.hs1
-rw-r--r--tests/Tests/Writers/Docx.hs1
-rw-r--r--tests/Tests/Writers/HTML.hs1
-rw-r--r--tests/Tests/Writers/LaTeX.hs1
-rw-r--r--tests/Tests/Writers/Markdown.hs1
-rw-r--r--tests/Tests/Writers/Native.hs1
-rw-r--r--tests/Tests/Writers/Plain.hs1
-rw-r--r--tests/Tests/Writers/RST.hs1
24 files changed, 1 insertions, 25 deletions
diff --git a/tests/Tests/Arbitrary.hs b/tests/Tests/Arbitrary.hs
index 9073f2521..3675d97bf 100644
--- a/tests/Tests/Arbitrary.hs
+++ b/tests/Tests/Arbitrary.hs
@@ -3,7 +3,6 @@
-- provides Arbitrary instance for Pandoc types
module Tests.Arbitrary ()
where
-import Prelude
import Test.QuickCheck.Gen
import Test.QuickCheck.Arbitrary
import Control.Monad (liftM, liftM2)
diff --git a/tests/Tests/Helpers.hs b/tests/Tests/Helpers.hs
index ffaf39cc5..b48c8af3a 100644
--- a/tests/Tests/Helpers.hs
+++ b/tests/Tests/Helpers.hs
@@ -9,7 +9,6 @@ module Tests.Helpers ( test
)
where
-import Prelude
import Text.Pandoc.Definition
import Text.Pandoc.Builder (Inlines, Blocks, doc, plain)
import Test.Framework
diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs
index c07f2ca4d..c27d30deb 100644
--- a/tests/Tests/Old.hs
+++ b/tests/Tests/Old.hs
@@ -1,6 +1,5 @@
module Tests.Old (tests) where
-import Prelude
import Test.Framework (testGroup, Test )
import Test.Framework.Providers.HUnit
import Test.HUnit ( assertBool )
diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs
index f826a73f9..7e3f1979e 100644
--- a/tests/Tests/Readers/Docx.hs
+++ b/tests/Tests/Readers/Docx.hs
@@ -1,6 +1,5 @@
module Tests.Readers.Docx (tests) where
-import Prelude
import Text.Pandoc.Options
import Text.Pandoc.Readers.Native
import Text.Pandoc.Definition
diff --git a/tests/Tests/Readers/EPUB.hs b/tests/Tests/Readers/EPUB.hs
index b06d8bcfe..2ad36eba6 100644
--- a/tests/Tests/Readers/EPUB.hs
+++ b/tests/Tests/Readers/EPUB.hs
@@ -1,6 +1,5 @@
module Tests.Readers.EPUB (tests) where
-import Prelude
import Text.Pandoc.Options
import Test.Framework
import Test.HUnit (assertBool)
diff --git a/tests/Tests/Readers/HTML.hs b/tests/Tests/Readers/HTML.hs
index df7a55d68..2eb87a2f3 100644
--- a/tests/Tests/Readers/HTML.hs
+++ b/tests/Tests/Readers/HTML.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
module Tests.Readers.HTML (tests) where
-import Prelude
import Text.Pandoc.Definition
import Test.Framework
import Tests.Helpers
diff --git a/tests/Tests/Readers/LaTeX.hs b/tests/Tests/Readers/LaTeX.hs
index 3444214cb..e21f75aa9 100644
--- a/tests/Tests/Readers/LaTeX.hs
+++ b/tests/Tests/Readers/LaTeX.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
module Tests.Readers.LaTeX (tests) where
-import Prelude
import Text.Pandoc.Definition
import Test.Framework
import Tests.Helpers
diff --git a/tests/Tests/Readers/Markdown.hs b/tests/Tests/Readers/Markdown.hs
index 7cef6e225..f6afacb34 100644
--- a/tests/Tests/Readers/Markdown.hs
+++ b/tests/Tests/Readers/Markdown.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
module Tests.Readers.Markdown (tests) where
-import Prelude
import Text.Pandoc.Definition
import Test.Framework
import Tests.Helpers
diff --git a/tests/Tests/Readers/Odt.hs b/tests/Tests/Readers/Odt.hs
index 4d9936bf0..cf30b8398 100644
--- a/tests/Tests/Readers/Odt.hs
+++ b/tests/Tests/Readers/Odt.hs
@@ -1,6 +1,5 @@
module Tests.Readers.Odt (tests) where
-import Prelude
import Control.Monad ( liftM )
import Text.Pandoc.Options
import Text.Pandoc.Readers.Native
@@ -163,4 +162,4 @@ namesOfTestsComparingToNative = [ "blockquote"
-- , "table"
, "unicode"
, "unorderedList"
- ]
+ ] \ No newline at end of file
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs
index f721618e5..05d206d85 100644
--- a/tests/Tests/Readers/Org.hs
+++ b/tests/Tests/Readers/Org.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
module Tests.Readers.Org (tests) where
-import Prelude
import Text.Pandoc.Definition
import Test.Framework
import Tests.Helpers
diff --git a/tests/Tests/Readers/RST.hs b/tests/Tests/Readers/RST.hs
index d589f6561..df6ba61b2 100644
--- a/tests/Tests/Readers/RST.hs
+++ b/tests/Tests/Readers/RST.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings, ScopedTypeVariables #-}
module Tests.Readers.RST (tests) where
-import Prelude
import Text.Pandoc.Definition
import Test.Framework
import Tests.Helpers
diff --git a/tests/Tests/Readers/Txt2Tags.hs b/tests/Tests/Readers/Txt2Tags.hs
index 2c1747eaa..bfe217ce3 100644
--- a/tests/Tests/Readers/Txt2Tags.hs
+++ b/tests/Tests/Readers/Txt2Tags.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
module Tests.Readers.Txt2Tags (tests) where
-import Prelude
import Text.Pandoc.Definition
import Test.Framework
import Tests.Helpers
diff --git a/tests/Tests/Shared.hs b/tests/Tests/Shared.hs
index 3e2c5179d..12652e4b7 100644
--- a/tests/Tests/Shared.hs
+++ b/tests/Tests/Shared.hs
@@ -1,6 +1,5 @@
module Tests.Shared (tests) where
-import Prelude
import Text.Pandoc.Definition
import Text.Pandoc.Shared
import Test.Framework
diff --git a/tests/Tests/Walk.hs b/tests/Tests/Walk.hs
index 9ba752c0b..c87cc17d7 100644
--- a/tests/Tests/Walk.hs
+++ b/tests/Tests/Walk.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE ScopedTypeVariables, FlexibleContexts #-}
module Tests.Walk (tests) where
-import Prelude
import Text.Pandoc.Definition
import Text.Pandoc.Walk
import Test.Framework
diff --git a/tests/Tests/Writers/AsciiDoc.hs b/tests/Tests/Writers/AsciiDoc.hs
index 3ca3792e1..56a62c6e4 100644
--- a/tests/Tests/Writers/AsciiDoc.hs
+++ b/tests/Tests/Writers/AsciiDoc.hs
@@ -1,6 +1,5 @@
module Tests.Writers.AsciiDoc (tests) where
-import Prelude
import Test.Framework
import Text.Pandoc.Builder
import Text.Pandoc
diff --git a/tests/Tests/Writers/ConTeXt.hs b/tests/Tests/Writers/ConTeXt.hs
index b4e1e5317..8f0305adb 100644
--- a/tests/Tests/Writers/ConTeXt.hs
+++ b/tests/Tests/Writers/ConTeXt.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
module Tests.Writers.ConTeXt (tests) where
-import Prelude
import Test.Framework
import Text.Pandoc.Builder
import Text.Pandoc
diff --git a/tests/Tests/Writers/Docbook.hs b/tests/Tests/Writers/Docbook.hs
index 4543b26ad..97126b473 100644
--- a/tests/Tests/Writers/Docbook.hs
+++ b/tests/Tests/Writers/Docbook.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
module Tests.Writers.Docbook (tests) where
-import Prelude
import Test.Framework
import Text.Pandoc.Builder
import Text.Pandoc
diff --git a/tests/Tests/Writers/Docx.hs b/tests/Tests/Writers/Docx.hs
index 059003cc7..8dba0ea55 100644
--- a/tests/Tests/Writers/Docx.hs
+++ b/tests/Tests/Writers/Docx.hs
@@ -1,6 +1,5 @@
module Tests.Writers.Docx (tests) where
-import Prelude
import Text.Pandoc.Options
import Text.Pandoc.Readers.Native
import Text.Pandoc.Definition
diff --git a/tests/Tests/Writers/HTML.hs b/tests/Tests/Writers/HTML.hs
index 930aa7da9..84f4db191 100644
--- a/tests/Tests/Writers/HTML.hs
+++ b/tests/Tests/Writers/HTML.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
module Tests.Writers.HTML (tests) where
-import Prelude
import Test.Framework
import Text.Pandoc.Builder
import Text.Pandoc
diff --git a/tests/Tests/Writers/LaTeX.hs b/tests/Tests/Writers/LaTeX.hs
index 4f40ca80c..27931dc28 100644
--- a/tests/Tests/Writers/LaTeX.hs
+++ b/tests/Tests/Writers/LaTeX.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
module Tests.Writers.LaTeX (tests) where
-import Prelude
import Test.Framework
import Text.Pandoc.Builder
import Text.Pandoc
diff --git a/tests/Tests/Writers/Markdown.hs b/tests/Tests/Writers/Markdown.hs
index 40a0021b1..8ffd7a8c0 100644
--- a/tests/Tests/Writers/Markdown.hs
+++ b/tests/Tests/Writers/Markdown.hs
@@ -2,7 +2,6 @@
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
module Tests.Writers.Markdown (tests) where
-import Prelude
import Test.Framework
import Text.Pandoc.Builder
import Text.Pandoc
diff --git a/tests/Tests/Writers/Native.hs b/tests/Tests/Writers/Native.hs
index 469429298..9833bf5ae 100644
--- a/tests/Tests/Writers/Native.hs
+++ b/tests/Tests/Writers/Native.hs
@@ -1,6 +1,5 @@
module Tests.Writers.Native (tests) where
-import Prelude
import Test.Framework
import Text.Pandoc.Builder
import Text.Pandoc
diff --git a/tests/Tests/Writers/Plain.hs b/tests/Tests/Writers/Plain.hs
index 4b32f18eb..f8f1d3d90 100644
--- a/tests/Tests/Writers/Plain.hs
+++ b/tests/Tests/Writers/Plain.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
module Tests.Writers.Plain (tests) where
-import Prelude
import Test.Framework
import Text.Pandoc.Builder
import Text.Pandoc
diff --git a/tests/Tests/Writers/RST.hs b/tests/Tests/Writers/RST.hs
index 74b0dc674..b9e359dae 100644
--- a/tests/Tests/Writers/RST.hs
+++ b/tests/Tests/Writers/RST.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
module Tests.Writers.RST (tests) where
-import Prelude
import Test.Framework
import Text.Pandoc.Builder
import Text.Pandoc