Skip to content

Commit e23ac84

Browse files
committed
fix(tests): update expected line count in pack_cli tokens test to match countContentLines
1 parent 251c7a4 commit e23ac84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/pack_cli.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ describe('tokens command', () => {
187187
expect(r.status, r.stderr).toBe(0)
188188
const parsed = JSON.parse(r.stdout) as { entries: Array<{ rel_path: string; lines: number; tokens: number; size_bytes: number }> }
189189
const entry = parsed.entries[0]
190-
expect(entry).toEqual({ rel_path: 'hello.ts', lines: 4, tokens: 26, size_bytes: 75 })
190+
expect(entry).toEqual({ rel_path: 'hello.ts', lines: 3, tokens: 26, size_bytes: 75 })
191191
})
192192

193193
it('no files matched returns zero-row message', async () => {

0 commit comments

Comments
 (0)