fn assert_info_hello_ignore_numeric(
        subscriber: impl Into<Dispatch>,
        buf: MockMakeWriter,
        expected: &str,
    ) {
        let _default = set_default(&subscriber.into());
        tracing::info!("hello");

        let regex = Regex::new("[0-9]+").unwrap();
        let result = buf.get_string();
        let result_cleaned = regex.replace_all(&result, "NUMERIC");

        assert_eq!(expected, result_cleaned)
    }
// When numeric characters are used they often form a non-deterministic value as they usually represent things like a thread id or line number.
// This assert method should be used when non-deterministic numeric characters are present.
When numeric characters are used they often form a non-deterministic value as they usually represent things like a thread id or line number.
This assert method should be used when non-deterministic numeric characters are present.
When numeric characters are used they often form a non - deterministic value as they usually represent things like a thread id or line number . This assert method should be used when non - deterministic numeric characters are present .
fn assert_info_hello_ignore_numeric(
        subscriber: impl Into<Dispatch>,
        buf: MockMakeWriter,
        expected: &str,
    ) {
        let _default = set_default(&subscriber.into());
        tracing::info!("hello");
        let regex = Regex::new("[0-9]+").unwrap();
        let result = buf.get_string();
        let result_cleaned = regex.replace_all(&result, "NUMERIC");
        assert_eq!(expected, result_cleaned)
    }
fn assert_info_hello_ignore_numeric ( subscriber : impl Into < Dispatch > , buf : MockMakeWriter , expected : & str , ) { let _default = set_default ( & subscriber . into ( ) ) ; tracing :: info ! ( " " ) ; let regex = Regex :: new ( " " ) . unwrap ( ) ; let result = buf . get_string ( ) ; let result_cleaned = regex . replace_all ( & result , " " ) ; assert_eq ! ( expected result_cleaned ) }
When numeric characters are used they often form a non-deterministic value as they usually represent things like a thread id or line number.
When numeric characters are used they often form a non - deterministic value as they usually represent things like a thread id or line number .
subscriber
impl Into<Dispatch>
buf
MockMakeWriter
expected
&str