assertables/assert_is_empty/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! Assert for method is_empty().
//!
//! These macros help with any item that implements self.is_empty().
//!
//! * [`assert_is_empty!(collection)`](macro@crate::assert_is_empty) ≈ collection.is_empty()
//!
//! * [`assert_not_empty!(collection)`](macro@crate::assert_not_empty) ≈ !collection.is_empty()
//!
//! # Example
//!
//! ```rust
//! use assertables::*;
//!
//! # fn main() {
//! let a = "";
//! assert_is_empty!(a);
//! # }
//! ```

pub mod assert_is_empty;
pub mod assert_not_empty;