From 7b13285666e5bf7e661b14b2ab9eb231a7232eae Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Fri, 27 Nov 2026 15:38:12 +0000 Subject: [PATCH] test(adr0020): write the BOM fixture as an escape sequence tests/test-adr0020-frontmatter.sh held a literal U+FEFF in its 'bom' fixture, which apm audit flags as a hidden character. Write it as the Python backslash-ufeff escape instead; the test still passes (36/36). Refs #208 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi --- tests/test-adr0020-frontmatter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-adr0020-frontmatter.sh b/tests/test-adr0020-frontmatter.sh index af25bc1..72df4f1 100755 --- a/tests/test-adr0020-frontmatter.sh +++ b/tests/test-adr0020-frontmatter.sh @@ -85,7 +85,7 @@ fm_lines = ['name: ' + name, 'description: ' + desc] if kind == 'plain': pass elif kind == 'bom': - prefix = '' + prefix = '\ufeff' elif kind == 'leading-blanks': prefix = '\n\n \n' elif kind == 'trailing-ws':