mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-04 05:53:13 +00:00
It's better to assert a certain vector size first and only then dereference its elements - otherwise, if a bug causes the size to be different, the test can crash with a segfault on an invalid dereference instead of graciously failing with a test assertion.