docs-i18n: add behavior baseline fixtures (#64073)

Merged via squash.

Prepared head SHA: 4ccd4c5fc0
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Reviewed-by: @hxy91819
This commit is contained in:
Mason Huang
2026-04-15 15:03:49 +08:00
committed by GitHub
parent 6aa4515798
commit 059d4b6d47
19 changed files with 344 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{
"name": "protocol leak retries on smaller chunks",
"mode": "doc_body_chunked",
"rel_path": "gateway/configuration-reference.md",
"source_file": "source.txt",
"expected_file": "expected.txt",
"expected_output_not_contains": ["<frontmatter>", "<body>", "[[[FM_"],
"rules": [
{
"method": "raw",
"match_all": ["First chunk", "Second chunk"],
"response_file": "raw-leaked.txt"
},
{
"method": "raw",
"match_all": ["First chunk"],
"response_file": "raw-first.txt"
},
{
"method": "raw",
"match_all": ["Second chunk"],
"response_file": "raw-second.txt"
}
]
}

View File

@@ -0,0 +1,4 @@
First translated
Second translated

View File

@@ -0,0 +1,2 @@
First translated

View File

@@ -0,0 +1,9 @@
<frontmatter>
title: leaked
</frontmatter>
<body>
First translated
Second translated
</body>

View File

@@ -0,0 +1,2 @@
Second translated

View File

@@ -0,0 +1,4 @@
First chunk
Second chunk