Skip to content

Commit fd7c867

Browse files
tests: Remove unused pattern from assert_eq_fmt
1 parent 753bdd4 commit fd7c867

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/tests.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ macro_rules! c_fmt {
4040
}
4141

4242
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-
};
4943
($format:literal $(, $p:expr)* => $expected:literal) => {
5044
let (bytes_written, s) = c_fmt!($format $(, $p)*);
5145
assert_eq!(s, $expected);

0 commit comments

Comments
 (0)