Commit 405b5ca
committed
test(commands): assert CommandName is set on TestBuildApplyRenderOptions
CommandName is read by engine.Render to format the FailIfMultiNodes
error wording. The engine-side assertion (TestRenderFailIfMultiNodes_UsesCommandName)
verifies Render does the right thing with whatever value it receives, but
nothing was pinning that buildApplyRenderOptions sets it to "talm apply"
in the first place. A future refactor that drops the field would slip
through unnoticed.
Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>1 parent b7df415 commit 405b5ca
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
0 commit comments