Repository navigation
Commit 271990f
committed
test: cover empty bool source validation in TestFlagsFromEmptyEnv
Only the empty env and empty file cases of
TestBoolFlagEmptySourceRunsValidator fail without the fix. The other ten
already pass on main, and a file source goes through the same PostParse
loop as an env var.
Replace the file with one case in TestFlagsFromEmptyEnv, next to the
existing "an empty bool still reads as false" case.
Assisted-by: claude:claude-opus-5-5
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>1 parent 9f82248 commit 271990f
2 files changed
Lines changed: 11 additions & 95 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
737 | 748 | | |
738 | 749 | | |
739 | 750 | | |
| |||
0 commit comments