fix(win32): handle CRLF line endings in markdown frontmatter parsing (#14886)

This commit is contained in:
Luke Parker 2026-02-24 20:33:22 +10:00 committed by GitHub
commit 659068942e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -197,7 +197,7 @@ describe("ConfigMarkdown: frontmatter parsing w/ Markdown header", async () => {
test("should parse and match", () => {
expect(result).toBeDefined()
expect(result.data).toEqual({})
expect(result.content.trim()).toBe(`# Response Formatting Requirements
expect(result.content.trim().replace(/\r\n/g, "\n")).toBe(`# Response Formatting Requirements
Always structure your responses using clear markdown formatting: