mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-31 06:06:48 -06:00
fix(engine): gate the temp-name symlink test to unix
`save_fails_upfront_when_the_temp_name_is_taken` calls `std::os::unix::fs::symlink` but was only gated on non-wasm, so the engine crate's lib tests did not compile on Windows. Gate it `cfg(unix)` like the neighbouring permissions test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
45f5ab18e4
commit
ea5292c94a
@@ -19,6 +19,7 @@ fn copied(wb: &Workbook, range: &str) -> String {
|
||||
}
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[cfg(unix)]
|
||||
#[test]
|
||||
fn save_fails_upfront_when_the_temp_name_is_taken() {
|
||||
// Another local user who can write the directory must not be able to point the
|
||||
|
||||
Reference in New Issue
Block a user