Skip to main content

assertables/assert_command/
assert_command_stderr_is_match.rs

1//! Assert a command stderr string is a match to a regex.
2//!
3//! Deprecated. Please rename from `assert_command_stderr_is_match` into `assert_command_stderr_string_is_match`.
4
5/// Assert a command stderr string is a match to a regex.
6///
7/// Deprecated. Please rename from `assert_command_stderr_is_match_as_result`
8/// into `assert_command_stderr_string_is_match_as_result`.
9///
10#[deprecated(
11    note = "Please rename from `assert_command_stderr_is_match_as_result` into `assert_command_stderr_string_is_match_as_result`."
12)]
13#[macro_export]
14macro_rules! assert_command_stderr_is_match_as_result {
15    ($($arg:tt)*) => {
16        $crate::assert_command_stderr_string_is_match_as_result!($($arg)*)
17    }
18}
19
20/// Assert a command stderr string is a match to a regex.
21///
22/// Deprecated. Please rename from `assert_command_stderr_is_match` into `assert_command_stderr_string_is_match`.
23///
24#[deprecated(
25    note = "Please rename from `assert_command_stderr_is_match` into `assert_command_stderr_string_is_match`."
26)]
27#[macro_export]
28macro_rules! assert_command_stderr_is_match {
29    ($($arg:tt)*) => {
30        $crate::assert_command_stderr_string_is_match!($($arg)*)
31    }
32}
33
34/// Assert a command stderr string is a match to a regex.
35///
36/// Deprecated. Please rename from `debug_assert_command_stderr_is_match` into `debug_assert_command_stderr_string_is_match`.
37///
38#[deprecated(
39    note = "Please rename from `debug_assert_command_stderr_is_match` into `debug_assert_command_stderr_string_is_match`."
40)]
41#[macro_export]
42macro_rules! debug_assert_command_stderr_is_match {
43    ($($arg:tt)*) => {
44        $crate::debug_assert_command_stderr_string_is_match!($($arg)*)
45    }
46}