Repository navigation
Commit ec6987b
test(shell): cover Nushell across the shell module test suite
Two new tests target Nushell-specific invariants: the PWD env_change
hook is the entry point (not chpwd / variable watch), and source_line
returns the snippet itself (rather than the eval-on-startup line) so
the rc layer can embed it inline.
The exhaustive iterations (cd_hooks_call_on_cd_flag_not_bare_splash,
source_line_covers_all_shells, as_str_returns_cli_names_for_every_shell,
default_rc_path_for_known_shells_ends_in_expected_file) and the
detect_maps_known_shells_from_shell_env case list are extended to
include Nushell so regressions on either basename get caught.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 305465e commit ec6987b
1 file changed
Lines changed: 45 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
195 | 204 | | |
196 | 205 | | |
197 | 206 | | |
| |||
201 | 210 | | |
202 | 211 | | |
203 | 212 | | |
204 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
205 | 220 | | |
206 | 221 | | |
207 | 222 | | |
| |||
225 | 240 | | |
226 | 241 | | |
227 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
228 | 251 | | |
229 | 252 | | |
230 | 253 | | |
| |||
268 | 291 | | |
269 | 292 | | |
270 | 293 | | |
| 294 | + | |
| 295 | + | |
271 | 296 | | |
272 | 297 | | |
273 | 298 | | |
| |||
276 | 301 | | |
277 | 302 | | |
278 | 303 | | |
| 304 | + | |
279 | 305 | | |
280 | 306 | | |
281 | 307 | | |
| |||
302 | 328 | | |
303 | 329 | | |
304 | 330 | | |
305 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
306 | 338 | | |
307 | 339 | | |
308 | 340 | | |
309 | 341 | | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
310 | 353 | | |
0 commit comments