Skip to content

Commit 09d2413

Browse files
committed
test: preserve provenance fixture bytes across Git platforms
1 parent d3952cc commit 09d2413

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎test/validation/vextjs-documentation.test.mjs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ test('verified export binds the checkout and committed bytes, including changes
7676
const git = (...args) => execFileSync('git', ['-C', options.sourceRoot, ...args], { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'] }).trim();
7777
// Controlled build modules exercise provenance mechanics; real VextJS is a separate CI input.
7878
for (const [file, body] of [
79+
// These fixture documents deliberately contain CRLF; commit the exact bytes on every platform.
80+
['.gitattributes', 'website/docs/zh/** -text\n'],
7981
['package.json', JSON.stringify({ name: 'vextjs', version: '2.0.0', type: 'module' })],
8082
['scripts/implementation-manifest.mjs', 'export const inspectBuildInputs = () => ({ inputDigest: "controlled", packageVersion: "2.0.0" });'],
8183
['src/lib/project/implementation-fingerprint.mjs', 'export const fingerprintImplementationTree = () => "controlled-output";'],

0 commit comments

Comments
 (0)