Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ crates/socket-patch-core/tests/fixtures/upstream/** -text
# derive their CRLF variants from the LF bytes themselves.
crates/socket-patch-core/tests/fixtures/pnpm-hosted/** -text

# The registry route goldens are real pnpm output too: the tests compare
# what the scan writes against them byte for byte, so they are checked
# out exactly as committed.
crates/socket-patch-core/tests/fixtures/pnpm-registry-overrides/** -text

# Captured vlt locks are byte-real; CRLF variants are derived in the tests.
crates/socket-patch-core/tests/fixtures/vlt-locks/** -text

Expand Down
7 changes: 3 additions & 4 deletions crates/socket-patch-core/src/vex/discover/testing/golden.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@
//! ```
//!
//! Unix only: Windows checkouts convert some fixtures' line endings (only
//! `redirect/**`, `pdm-native/*.lock`, `pnpm-hosted/**` and `vlt-locks/**`
//! among the corpus trees are `-text`),
//! and I/O error texts differ, so the snapshot would describe different
//! inputs. The Unix legs (Linux + macOS) pin the behavior.
//! the corpus trees that `.gitattributes` marks `-text` are checked out as
//! committed), and I/O error texts differ, so the snapshot would describe
//! different inputs. The Unix legs (Linux + macOS) pin the behavior.
//!
//! [`discover_patched_refs`]: crate::vex::discover::discover_patched_refs
#![cfg(not(windows))]
Expand Down
Loading