summaryrefslogtreecommitdiffstats
path: root/testcorpus/vercmp-oracle.tsv
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-21 11:05:43 +0000
committeraur-build <aur-build@localhost>2026-11-21 11:05:43 +0000
commit7ccfb9a8f96b6f3000f36bdf76d95a4f6afd2826 (patch)
tree710a12ec5cc6e2e93d717787dccc7660ddc4b5ba /testcorpus/vercmp-oracle.tsv
parentd3da3a1882999a80db34089153f9684fd8d7bbee (diff)
downloadaur-build-7ccfb9a8f96b6f3000f36bdf76d95a4f6afd2826.tar.gz
aur-build-7ccfb9a8f96b6f3000f36bdf76d95a4f6afd2826.zip
db: delete two candidate queries nothing in production calls
`open_reviews_for` and `reopen_rejected` were both declared in `db`, both re-exported by `review::candidates`, and both reached by nobody in `src`. The auditor found them; the reason they stayed invisible is in the next commit. `reopen_rejected` is simply gone: no caller, no test, nothing to lose. `open_reviews_for` was a test convenience — `tests/detect.rs` used it to fetch "the pending candidate for this pkgbase". The production query `pending` already returns pending candidates and `CandidateRow` carries `pkgbase_id`, so the test now filters that instead. Same assertion, same rows, one fewer public function that existed only because a test wanted it.
Diffstat (limited to 'testcorpus/vercmp-oracle.tsv')
0 files changed, 0 insertions, 0 deletions