Commit 9b63234
refactor(test): ensure env cleanup with try-finally block
Applied Gemini Code Assist suggestion to wrap test logic in try-finally,
preventing env var leak if test fails. This improves test isolation and
prevents flaky tests from state pollution.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9231b68 commit 9b63234
1 file changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
0 commit comments