Commit 7c4f8f3
fix(review): restore error-free assertion in test_get_recipe_uses_project_dir
The assertion 'assert "\"error\"" not in result' was removed in 05bda5b
without replacement. The new test_recipe_resource_returns_error_for_invalid_recipe
covers the error path via mock but not the happy-path real-recipe assertion.
Restore the error-free check to prevent regressions where get_recipe returns
both the recipe name and an error key simultaneously.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 5a67beb commit 7c4f8f3
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
376 | 379 | | |
377 | 380 | | |
378 | 381 | | |
| |||
0 commit comments