Macro lemmy_db_schema::assert_length
source · macro_rules! assert_length { ($len:expr, $vec:expr) => { ... }; }
Expand description
Wrapper for assert_eq! macro. Checks that vec matches the given length, and prints the vec on failure.
macro_rules! assert_length { ($len:expr, $vec:expr) => { ... }; }
Wrapper for assert_eq! macro. Checks that vec matches the given length, and prints the vec on failure.