From ceadf33246bcc42747b42c10c108bfc7d8663ab7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 19 Mar 2021 23:35:47 -0700 Subject: Tests: Use getExecutablePath from base... avoiding the need to depend on the executable-path package. --- test/test-pandoc.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/test-pandoc.hs') 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 -- cgit v1.2.3