We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 753bdd4 commit fd7c867Copy full SHA for fd7c867
tests/tests.rs
@@ -40,12 +40,6 @@ macro_rules! c_fmt {
40
}
41
42
macro_rules! assert_eq_fmt {
43
- ($format:literal $(, $p:expr)*) => {
44
- assert_eq!(
45
- c_fmt!($format $(, $p)*),
46
- *rust_fmt($format.as_ptr().cast(), $($p),*)
47
- );
48
- };
49
($format:literal $(, $p:expr)* => $expected:literal) => {
50
let (bytes_written, s) = c_fmt!($format $(, $p)*);
51
assert_eq!(s, $expected);
0 commit comments