mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-17 21:30:08 +00:00
chore: generate
This commit is contained in:
parent
dd46fddf22
commit
9fe912439b
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,8 @@ describe("cli.error", () => {
|
|||
test("preserves multiline JSONC diagnostics for tagged config errors", () => {
|
||||
const data = {
|
||||
path: "/tmp/opencode.jsonc",
|
||||
message: '\n--- JSONC Input ---\n{\n "model": \n}\n--- Errors ---\nValueExpected at line 3, column 1\n Line 3: }\n ^\n--- End ---',
|
||||
message:
|
||||
'\n--- JSONC Input ---\n{\n "model": \n}\n--- Errors ---\nValueExpected at line 3, column 1\n Line 3: }\n ^\n--- End ---',
|
||||
}
|
||||
const expected = `Config file at ${data.path} is not valid JSON(C): ${data.message}`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue