mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-18 19:09:15 +00:00
0dc3634b7b
This lint disallows asserttions on is_ok()/is_err() in favor of either using unwrap (so that at least if the test fails, we the failure message will contain the actual failure reason instead of just "was not ok/err"), or actually matching the specific variant. Inspired by and quoted from @roypat. Enable this lint for `build.yaml` and `quality.yaml`. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn> |
||
---|---|---|
.. | ||
ISSUE_TEMPLATE | ||
workflows | ||
dependabot.yml |