Commit ad34de5
test(search): assert all-cooled error by exact match to clear CodeQL alert (FEAT-047)
CodeQL flagged the new all-cooled-down test's error.message.includes('https://...')
assertions as js/incomplete-url-substring-sanitization (2 high). The check is a
test assertion, not URL sanitization, but it fails the required gate. Replace the
URL-substring includes() with a single exact-match assertion on the full error
string, which also covers ordering and the no-double-space requirement. Test-only;
no production behavior change.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Codex <noreply@openai.com>1 parent d4bd62c commit ad34de5
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2008 | 2008 | | |
2009 | 2009 | | |
2010 | 2010 | | |
2011 | | - | |
2012 | | - | |
2013 | | - | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
2014 | 2018 | | |
2015 | 2019 | | |
2016 | 2020 | | |
| |||
0 commit comments