Two tests pass on a Windows checkout: a CRLF parse and an 8.3 TEMP path (#1186) (#1211)

Make two tests pass on a Windows checkout: a CRLF parse and an 8.3 TEMP path.
This commit is contained in:
CamWight authored and GitHub committed 2026-10-14 17:36:07 -04:00
1 parent 731629a422
commit b6e87f0c44
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ const GOLDEN_REFS: &str = include_str!("feature_walk_tests/golden_refs.txt");
#[test]
fn input_sketches_lists_every_variant_with_a_sketch_field() {
let src = include_str!("document.rs");
let src = include_str!("document.rs").replace("\r\n", "\n");
let body = src.split("pub enum FeatureKind {").nth(1).and_then(|s| s.split("\n}\n").next()).unwrap();
let mut with_sketch = Vec::new();
let mut variant = String::new();
+1 -1
View File
@@ -10,7 +10,7 @@ impl File {
fn new() -> Self {
static NEXT: AtomicU64 = AtomicU64::new(0);
Self(
std::env::temp_dir()
solidcraft_io::vfs::temp_dir()
.join(format!("solidcraft-catalog-{}-{}.json", std::process::id(), NEXT.fetch_add(1, Ordering::Relaxed)))
.to_string_lossy()
.into_owned(),