Commit df186fc
committed
test[faustwp]: clarify 'bad patterns' comment in hash_equals source guard
Per Copilot review: the comment said 'three bad patterns' but only two
assertStringNotContainsString calls follow. The original #2312 fix
replaced ===/!== at three call sites (rest_authorize_permission_callback,
wpac_authorize_permission_callback, filter_introspection), but the two
REST sites share the literal '=== $header_key' shape, so a single
substring check covers both. Reword to match what's actually asserted.1 parent 435fe57 commit df186fc
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
154 | 157 | | |
155 | 158 | | |
156 | 159 | | |
| |||
0 commit comments