Skip to content

Commit f6b0d92

Browse files
claude: fix Windows line endings in foo-engine test regex
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e492c5e commit f6b0d92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tests/docs/smoke-all/engine/class-override/_extensions/foo-engine

tests/docs/smoke-all/engine/class-override/_extensions/foo-engine/foo-engine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const fooEngineDiscovery = {
5959
let markdown = options.target.markdown.value;
6060

6161
// Find and replace {python.foo} blocks with our marker output
62-
const codeBlockRegex = /```\{python\.foo[^}]*\}\n([\s\S]*?)```/g;
62+
const codeBlockRegex = /```\{python\.foo[^}]*\}\r?\n([\s\S]*?)```/g;
6363
markdown = markdown.replace(codeBlockRegex, (match, code) => {
6464
return `
6565
::: {#foo-engine-marker .foo-engine-output}

0 commit comments

Comments
 (0)