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 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-02-27 11:38:24 -06:00
parent 9c27da0261
commit 011df21dd0

View File

@@ -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', () => {