@@ -290,8 +290,7 @@ testWithNormalize normalizer pandocPath testname opts inp norm =
290290 Just d -> [("DYLD_LIBRARY_PATH", d),
291291 ("LD_LIBRARY_PATH", d)]
292292 let env = dynlibEnv ++
293− [("TMP","."),("LANG","en_US.UTF-8"),("HOME", "./"),
294− ("pandoc_datadir","..")]
293+ [("TMP","."),("LANG","en_US.UTF-8"),("HOME", "./")]
295294 (ec, out) <- pipeProcess (Just env) pandocPath options mempty
296295 if ec == ExitSuccess
297296 then return $ filter (/='\r') . normalizer
@@ -299,7 +298,7 @@ testWithNormalize normalizer pandocPath testname opts inp norm =
299298 -- filter \r so the tests will work on Windows machines
300299 else fail $ "Pandoc failed with error code " ++ show ec
301300 updateGolden = UTF8.writeFile norm
302− options = ["--quiet"] ++ [inp] ++ opts
301+ options = ["--data-dir=../data","--quiet"] ++ [inp] ++ opts
303302
304303compareValues :: FilePath -> [String] -> String -> String -> IO (Maybe String)
305304compareValues norm options expected actual = do