Files
designcraft/crates/engine
dotCooCoo 52e404754f Links: the folder relink and IDML link tests expect Windows paths on Windows
Two designcraft-engine tests fail on Windows on main. The code they
test is unchanged.

eps_relink_update_and_folder_relink_retain_source built the expected
link as dir.join("new/replacement.eps"), which on Windows ends in
new/replacement.eps, while links.relinkFolder stores the folder
joined to the file name, ending in new\replacement.eps. The test now
joins the folder and the file name separately.

only_local_graphic_files_are_read_from_links allowed a read of the
link only at the link's own text. For the link /dev/zero the import
checks C:\dev\zero on Windows, because craft-docpath joins a
root-relative path to the document's drive. The test now allows the
path that crate::io::document_path resolves the link to.

Open #1444 by AndreRese makes the same change to the relink test and
a similar one to the IDML test.
2026-10-24 07:54:48 -07:00
..