refactor: replace overloaded surface terminology

This commit is contained in:
Turtle
2026-07-24 19:54:25 +08:00
parent c172faed37
commit 0c708cb10d
626 changed files with 1396 additions and 1397 deletions

View File

@@ -881,7 +881,7 @@ describe('glob results', () => {
expect(spill?.saves).toHaveLength(0)
})
it('keeps the full nested Code value without creating a surface spill', async () => {
it('keeps the full nested Code value without creating a top-level spill', async () => {
const { ctx, subprocess, spill } = await setup({ config: { globMaxResults: 2 }, spill: true })
subprocess.handler = () => runResult('a.ts\nb.ts\nc.ts\nd.ts\n')
const result = await call(ctx, 'glob', { pattern: '*.ts' }, {
@@ -1028,7 +1028,7 @@ describe('grep results', () => {
expect(spill?.saves).toHaveLength(0)
})
it('keeps every nested Code match in the value without creating a surface spill', async () => {
it('keeps every nested Code match in the value without creating a top-level spill', async () => {
const { ctx, subprocess, spill } = await setup({ config: { grepMaxMatches: 1 }, spill: true })
subprocess.handler = () => runResult(`${matchLine('a.ts', 1, 'one')}\n${matchLine('b.ts', 2, 'two')}\n`)
const result = await call(ctx, 'grep', { pattern: 'o' }, {