aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Tests/Writers/Powerpoint/PureData.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Tests/Writers/Powerpoint/PureData.hs b/test/Tests/Writers/Powerpoint/PureData.hs
index b54cfd84a..3f4446e68 100644
--- a/test/Tests/Writers/Powerpoint/PureData.hs
+++ b/test/Tests/Writers/Powerpoint/PureData.hs
@@ -6,11 +6,10 @@ module Tests.Writers.Powerpoint.PureData ( pureFileTree
import Data.ByteString (ByteString)
import Data.ByteString.Base64
import Text.Pandoc.Class
-import qualified Data.Map as M
import Data.Time.Clock.POSIX
pureFileTree :: FileTree
-pureFileTree = FileTree $ M.fromList [ ("/fakefs/img/lalune.jpg", imgFileInfo) ]
+pureFileTree = insertInFileTree "/fakefs/img/lalune.jpg" imgFileInfo mempty
imgFileInfo :: FileInfo
imgFileInfo = FileInfo { infoFileMTime = posixSecondsToUTCTime 0