Module assert_is_empty

Source
Expand description

Assert for method is_empty().

These macros help with any item that implements self.is_empty().

§Example

use assertables::*;

let a = "";
assert_is_empty!(a);

Modules§

assert_is_empty
Assert an expression (such as a string or array) is empty.
assert_not_empty
Assert an expression (such as a string or array) is not empty.