R3.1: real paths without \?\ on Windows (dunce); old recent lists read plain

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-12 18:46:37 -04:00
1 parent 1066b41cb0
commit d0b5aede95
21 files changed
+59 -24

No files matched your search

+1 -1
View File
@@ -136,7 +136,7 @@ fn save_signed_as(cx: &mut VisualTestContext, viewer: &Entity<Viewer>, old: &Ent
let id = cx.update(|_, app| viewer.read(app).core.tabs[0].id);
let target = copy.to_path_buf();
std::fs::write(copy, b"").expect("a place");
let copy = std::fs::canonicalize(copy).expect("the real path");
let copy = dunce::canonicalize(copy).expect("the real path");
std::fs::remove_file(&copy).expect("clears the place");
cx.update(|window, app| viewer.update(app, |viewer, cx| viewer.write_as(id, target, None, window, cx)));
settle(cx, |app| {