diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-03-19 23:35:47 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-03-19 23:35:47 -0700 |
commit | ceadf33246bcc42747b42c10c108bfc7d8663ab7 (patch) | |
tree | 4a74940957474f8bf0ed50c3d7e57bf9e6d00d7c /test/test-pandoc.hs | |
parent | eacead3eb316dd8e2d75737589dc017de36326fb (diff) | |
download | pandoc-ceadf33246bcc42747b42c10c108bfc7d8663ab7.tar.gz |
Tests: Use getExecutablePath from base...
avoiding the need to depend on the executable-path package.
Diffstat (limited to 'test/test-pandoc.hs')
-rw-r--r-- | test/test-pandoc.hs | 3 |
1 files changed, 1 insertions, 2 deletions
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 |