Module lib::assert_ends_with

source ·
Expand description

Assert an expression (such as a string) ends with an expression (such as a string).

Pseudocode:
a.ends_with(b)

§Example

let a = "alfa";
let b = "fa";
assert_ends_with!(a, b);

§Module macros