Commit cd89f02
test(scripts): scaffold extension dir with literal space to exercise NUL stream
CG follow-up: the original 8-case test scaffolded a script-dir whose
parent path contained a space, but the resolver emits paths RELATIVE
to script-dir, so the NUL stream never actually contained a literal
space. The test was effectively only exercising "resolver runs in a
spaced parent dir".
Add a 9th case that creates `extensions/services/space ext/manifest.json`
with `compose_file: compose.yaml`, drops a stub compose.yaml, and runs
the resolver. The resolver enumerates the extension and emits
`extensions/services/space ext/compose.yaml` as a relative path
containing a literal space. The test asserts that exactly one token
in the NUL-delimited stream matches that path verbatim — proving the
end-to-end producer→consumer round-trip preserves embedded whitespace.
Uses manifest.json (not yaml) so the test is independent of PyYAML.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e341cc2 commit cd89f02
1 file changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
128 | 165 | | |
129 | 166 | | |
130 | 167 | | |
0 commit comments