Commit 5c0976b
fix(tests): force UTF-8 encoding when writing non-ASCII SKILL.md fixture (#979)
test_non_ascii_frontmatter_warning fails on Windows runners because
Path.write_text() defaults to the system locale (cp1252 on
windows-latest). The non-ASCII description bytes get mangled on disk,
the validator fails to decode as UTF-8, and the test sees a hard error
instead of the intended warning.
Pin encoding='utf-8' so bytes-on-disk are valid UTF-8 on every platform,
which exercises the actual non-ASCII warning code path the test asserts.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5893a49 commit 5c0976b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
| 230 | + | |
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
| |||
0 commit comments