From 011df21dd09661892dc2b26c1636cc858d0fe27c Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Fri, 27 Feb 2026 11:38:24 -0600 Subject: [PATCH] fix(test): expect forward-slash paths in cmdInitTodos assertion The source now outputs posix paths; update the test to match instead of using path.join (which produces backslashes on Windows). Co-Authored-By: Claude Opus 4.6 --- tests/init.test.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/init.test.cjs b/tests/init.test.cjs index 3069ab7b5..13af9efd8 100644 --- a/tests/init.test.cjs +++ b/tests/init.test.cjs @@ -256,7 +256,7 @@ describe('cmdInitTodos', () => { assert.strictEqual(task1.title, 'Fix bug'); assert.strictEqual(task1.area, 'backend'); assert.strictEqual(task1.created, '2026-02-25'); - assert.strictEqual(task1.path, path.join('.planning', 'todos', 'pending', 'task-1.md')); + assert.strictEqual(task1.path, '.planning/todos/pending/task-1.md'); }); test('area filter returns only matching todos', () => {