@@ -15,10 +15,8 @@ module Tests.Old (tests) where
1515
1616import Prelude
1717import Data.Algorithm.Diff
18−import Data.List (intercalate)
19−import Data.Maybe (catMaybes)
2018import System.Exit
21−import System.FilePath (joinPath, splitDirectories, (<.>), (</>))
19+import System.FilePath ((<.>), (</>))
2220import qualified System.Environment as Env
2321import System.Environment.Executable (getExecutablePath)
2422import Text.Pandoc.Process (pipeProcess)
@@ -353,8 +351,3 @@ compareValues norm options expected actual = do
353351 "\n--- " ++ norm ++
354352 "\n+++ " ++ cmd ++ "\n" ++
355353 showDiff (1,1) diff ++ dash
356−
357−findDynlibDir :: [FilePath] -> Maybe FilePath
358−findDynlibDir [] = Nothing
359−findDynlibDir ("build":xs) = Just $ joinPath (reverse xs) </> "build"
360−findDynlibDir (_:xs) = findDynlibDir xs