mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-07 18:59:13 +00:00
7bf96fea60
Use Default::default() to initialize SeralParameters structs in unit tests so it's clearer what fields are checked in each test. Also, it allow avoiding updating these tests when we add a new field in the struct in the future. BUG=none TEST=CQ Change-Id: Id550703676a7d2273956585358ac70a3e28ffeee Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6048597 Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |