assertables

Module assert_not_ends_with

source
Expand description

Assert an expression (such as a string) does not end with an expression (such as a string).

Pseudocode:
¬ a.ends_with(b)

§Example

let a = "alfa";
let b = "al";
assert_not_ends_with!(a, b);

§Module macros