Commit 18a223f
committed
feat/batch-changes: fix codingAgent prompt-quoting test
The previous assertion round-tripped the rendered shell script through
shellquote.Split and compared the last token to the expected prompt.
That tokenizer does not understand POSIX shell comments, so the
apostrophe in the install script's "can't" comment was read as an
unterminated single-quoted string and swallowed everything to EOF as
one token. Production /bin/sh handles the comment correctly; only the
test was broken.
Assert on the shell-quoted suffix instead.1 parent 8a10375 commit 18a223f
1 file changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | | - | |
46 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
0 commit comments