Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
assert_contains in datafusion_common - Rust
[go: Go Back, main page]

Macro datafusion_common::assert_contains

source ·
macro_rules! assert_contains {
    ($ACTUAL: expr, $EXPECTED: expr) => { ... };
}
Expand description

A macro to assert that one string is contained within another with a nice error message if they are not.

Usage: assert_contains!(actual, expected)

Is a macro so test error messages are on the same line as the failure;

Both arguments must be convertable into Strings (Into<String>)