use tracing::*;
#[edtest::rstest]
fn macro_smoke(#[values(1, 2)] x: u32) {
info!(x, "macro_smoke running");
assert!(x >= 1);
}
#[test]
fn macro_suffix_hashed() {
let raw = "a/b\\c:d*e?f|g<h>i\"j k. ";
let expected = edtest::internal::clean_snapshot_suffix(raw);
edtest::set_snapshot_suffix!("{}", raw);
let value = "ok";
insta::assert_snapshot!(value, @"ok");
assert_eq!(expected.len(), 16);
assert!(expected
.chars()
.all(|c| c.is_ascii_hexdigit() && (c.is_ascii_lowercase() || c.is_ascii_digit())));
let different = edtest::internal::clean_snapshot_suffix("different input");
assert_ne!(expected, different);
}