fix: bash memory usage (#22660)
This commit is contained in:
@@ -1116,8 +1116,8 @@ describe("tool.bash truncation", () => {
|
||||
),
|
||||
)
|
||||
mustTruncate(result)
|
||||
expect(result.output).toContain("truncated")
|
||||
expect(result.output).toContain("The tool call succeeded but the output was truncated")
|
||||
expect(result.output).toMatch(/\.\.\.output truncated\.\.\./)
|
||||
expect(result.output).toMatch(/Full output saved to:\s+\S+/)
|
||||
},
|
||||
})
|
||||
})
|
||||
@@ -1138,8 +1138,8 @@ describe("tool.bash truncation", () => {
|
||||
),
|
||||
)
|
||||
mustTruncate(result)
|
||||
expect(result.output).toContain("truncated")
|
||||
expect(result.output).toContain("The tool call succeeded but the output was truncated")
|
||||
expect(result.output).toMatch(/\.\.\.output truncated\.\.\./)
|
||||
expect(result.output).toMatch(/Full output saved to:\s+\S+/)
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user