Commit 48bf1d5
committed
Fix
These tests need to be cleared with `ddi` and then
asserted to be empty. It's the same fix for the
other tests whose input contains unmatched braces.
Copilot's plausible explanation is that the
unmatched braces cause the input to be flagged by
PowerShell's parser as incomplete, so
`AcceptLineImpl` instead waits for more input,
causing the exception.ViGotoBrace tests1 parent 277b071 commit 48bf1d5
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
| 470 | + | |
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
| |||
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
495 | | - | |
| 496 | + | |
496 | 497 | | |
497 | 498 | | |
498 | 499 | | |
499 | 500 | | |
500 | 501 | | |
501 | | - | |
| 502 | + | |
| 503 | + | |
502 | 504 | | |
503 | 505 | | |
504 | 506 | | |
| |||
0 commit comments