Skip to content

Commit

Permalink
Merge pull request #50 from nhz2/nz/fix-test-with-readonly-install
Browse files Browse the repository at this point in the history
Avoid using `cp` in tests
  • Loading branch information
matthijscox-asml authored May 13, 2024
2 parents 64435fe + 7d9c78e commit 09e8a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testWriting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ end
template_name = "no-slides.pptx"
original_template_path = joinpath(PPTX.TEMPLATE_DIR, template_name)
edited_template_path = joinpath(tmpdir, template_name)
cp(original_template_path, edited_template_path)
write(edited_template_path, read(original_template_path))
zip_append_archive(edited_template_path) do w
# add an existing media directory
zip_newfile(w, "ppt/media/foo.png")
Expand Down

0 comments on commit 09e8a06

Please sign in to comment.