Commit d6e792c
fix(cortex-cli): fix failing tests in glob_match and test_redact_sensitive_value (#473)
- Fix glob_match to correctly handle **/*.rs pattern by treating the suffix
part starting with * as a wildcard extension match (e.g., *.rs matches .rs)
- Fix test_redact_sensitive_value test assertion: for 'sk-abc123xyz789' the
last 4 chars are 'z789' not '9789' (added clarifying comment)
Co-authored-by: Droid Agent <droid@factory.ai>1 parent 7c6d932 commit d6e792c
2 files changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2812 | 2812 | | |
2813 | 2813 | | |
2814 | 2814 | | |
2815 | | - | |
| 2815 | + | |
| 2816 | + | |
2816 | 2817 | | |
2817 | 2818 | | |
2818 | 2819 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1550 | 1550 | | |
1551 | 1551 | | |
1552 | 1552 | | |
1553 | | - | |
1554 | | - | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
1555 | 1564 | | |
1556 | 1565 | | |
1557 | 1566 | | |
| |||
0 commit comments