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 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
1 parent
644c9d7f08
commit
7b13285666
1 file changed
+1
-1
@@ -85,7 +85,7 @@ fm_lines = ['name: ' + name, 'description: ' + desc]
|
|||||||
if kind == 'plain':
|
if kind == 'plain':
|
||||||
pass
|
pass
|
||||||
elif kind == 'bom':
|
elif kind == 'bom':
|
||||||
prefix = ''
|
prefix = '\ufeff'
|
||||||
elif kind == 'leading-blanks':
|
elif kind == 'leading-blanks':
|
||||||
prefix = '\n\n \n'
|
prefix = '\n\n \n'
|
||||||
elif kind == 'trailing-ws':
|
elif kind == 'trailing-ws':
|
||||||
|
|||||||
Reference in new issue
Block a user