turso_assert_less_than!() { /* proc-macro */ }Expand description
Asserts that left < right, providing richer comparison information to Antithesis
than a plain turso_assert!(a < b).
§Behavior
- Without
antithesisfeature: behaves likeassert!(left < right, ...). - With
antithesisfeature: reports to Antithesis, then on failure prints the error and callsstd::process::exit(0).
§Parameters
left,right— operands to compare."message"(optional) — auto-generated as"left < right"if omitted.{ "key": value, ... }(optional) — structured details.
§Usage
ⓘ
turso_assert_less_than!(left, right);
turso_assert_less_than!(left, right, "message");
turso_assert_less_than!(left, right, "message", { "key": value });