Commit e49845b
committed
fix(powershell,tests): enforce UTF-8 in common.ps1 and isolate integration env vars in tests
- scripts/powershell/common.ps1: Enforce [Console]::OutputEncoding and $OutputEncoding as UTF-8. On Windows hosts with non-UTF-8/OEM code pages (such as CP950/Big5), PowerShell stdout would otherwise output non-ASCII characters (e.g. arrows in templates) using the system code page, causing UnicodeDecodeError when captured by external runners.
- tests/conftest.py: Drop ambient SPECKIT_INTEGRATION_*_EXTRA_ARGS and SPECKIT_INTEGRATION_*_EXECUTABLE environment variables in the autouse _strip_specify_env fixture to prevent host configuration leakage into integration argument-building tests.
Assisted-by: Antigravity (model: Gemini 3.8 Flash, supervised)1 parent 0a10d66 commit e49845b
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
| |||
0 commit comments