Commit 6f31a67
test(core): drop empty metadata dict from after_date regression
SearchIndexRow.to_insert only JSON-serializes truthy metadata
(`if serialize_json and self.metadata`), so passing `metadata={}`
sent a raw dict into the SQLite parameter binding and tripped a
ProgrammingError before the assertions ever ran. Letting metadata
default to None lets the test exercise the after_date / ORDER BY
fix it was written for.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Drew Cain <groksrc@gmail.com>1 parent 15992d2 commit 6f31a67
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
211 | 214 | | |
212 | 215 | | |
213 | 216 | | |
| |||
218 | 221 | | |
219 | 222 | | |
220 | 223 | | |
221 | | - | |
222 | 224 | | |
223 | 225 | | |
224 | 226 | | |
| |||
230 | 232 | | |
231 | 233 | | |
232 | 234 | | |
233 | | - | |
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
| |||
0 commit comments