chore: generate
This commit is contained in:
@@ -42,7 +42,8 @@ describe("cli.error", () => {
|
|||||||
test("preserves multiline JSONC diagnostics for tagged config errors", () => {
|
test("preserves multiline JSONC diagnostics for tagged config errors", () => {
|
||||||
const data = {
|
const data = {
|
||||||
path: "/tmp/opencode.jsonc",
|
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}`
|
const expected = `Config file at ${data.path} is not valid JSON(C): ${data.message}`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user