From 7b536552e8e6a9f5f3076bccbb5ec01ee9f95b1a Mon Sep 17 00:00:00 2001 From: Affaan Mustafa Date: Mon, 13 Apr 2026 00:38:12 -0700 Subject: [PATCH] test: normalize auto-update repo root expectation on windows --- tests/scripts/auto-update.test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/scripts/auto-update.test.js b/tests/scripts/auto-update.test.js index ca77149b..6528eada 100644 --- a/tests/scripts/auto-update.test.js +++ b/tests/scripts/auto-update.test.js @@ -121,7 +121,10 @@ function runTests() { ], }; - assert.strictEqual(deriveRepoRootFromState(state), path.join('/tmp', 'ecc')); + assert.strictEqual( + deriveRepoRootFromState(state), + path.resolve(path.join('/tmp', 'ecc')) + ); })) passed += 1; else failed += 1; if (test('deriveRepoRootFromState fails when source metadata is unavailable', () => {