Skip to content

Commit 7a85ad8

Browse files
suryaiyer95claude
andcommitted
fix: [AI-5975] update test expectation to match error title format after merge
The test expected "PARSE ERROR" in title but the actual format is "Analyze: ERROR [confidence]". Updated assertion to match. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8f05cf8 commit 7a85ad8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/test/altimate/tools/sql-analyze-tool.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe("SqlAnalyzeTool.execute: success semantics", () => {
105105

106106
expect(result.metadata.success).toBe(false)
107107
expect(result.metadata.error).toBe("syntax error near SELECT")
108-
expect(result.title).toContain("PARSE ERROR")
108+
expect(result.title).toContain("ERROR")
109109
})
110110

111111
test("dispatcher throws → catch block returns ERROR title", async () => {

0 commit comments

Comments
 (0)