pub fn equal_hex_bytes<R>(a: &R, b: &str)where R: AsRef<[u8]> + ?Sized,
More specific than assert::equal, must be for AsRef<u8>.
use common_testing::assert; #[test] fn test_1() { let result = vec![0x01, 0x0E, 0xF3]; assert::equal_hex_bytes(&result, "010EF3"); // or assert::equal_hex_bytes(&result, "010ef3"); }