aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Command.hs2
-rw-r--r--test/Tests/Old.hs2
-rw-r--r--test/test-pandoc.hs3
3 files changed, 3 insertions, 4 deletions
diff --git a/test/Tests/Command.hs b/test/Tests/Command.hs
index e8863b545..3ec6d7230 100644
--- a/test/Tests/Command.hs
+++ b/test/Tests/Command.hs
@@ -13,7 +13,7 @@ module Tests.Command (runTest, tests)
where
import Data.Algorithm.Diff
-import System.Environment.Executable (getExecutablePath)
+import System.Environment (getExecutablePath)
import qualified Data.ByteString as BS
import qualified Data.Text as T
import Data.List (isSuffixOf)
diff --git a/test/Tests/Old.hs b/test/Tests/Old.hs
index c7b164f3c..ad9f249c4 100644
--- a/test/Tests/Old.hs
+++ b/test/Tests/Old.hs
@@ -14,7 +14,7 @@ module Tests.Old (tests) where
import Data.Algorithm.Diff
import System.Exit
import System.FilePath ((<.>), (</>))
-import System.Environment.Executable (getExecutablePath)
+import System.Environment (getExecutablePath)
import Text.Pandoc.Process (pipeProcess)
import Test.Tasty (TestTree, testGroup)
import Test.Tasty.Golden.Advanced (goldenTest)
diff --git a/test/test-pandoc.hs b/test/test-pandoc.hs
index 4d9da525b..abb2f105f 100644
--- a/test/test-pandoc.hs
+++ b/test/test-pandoc.hs
@@ -2,12 +2,11 @@
module Main where
-import System.Environment (getArgs)
+import System.Environment (getArgs, getExecutablePath)
import qualified Control.Exception as E
import Text.Pandoc.App (convertWithOpts, defaultOpts, options,
parseOptionsFromArgs)
import Text.Pandoc.Error (handleError)
-import System.Environment.Executable (getExecutablePath)
import GHC.IO.Encoding
import Test.Tasty
import qualified Tests.Command