Skip to content

Commit

Permalink
Fixed 1.57 support
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrimati1992 committed Jan 9, 2025
1 parent 1970379 commit 63ab8eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/main_tests/derive_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,11 @@ fn display_enum_formatting() {
for n in [3, 5, 8] {
assert_eq!(
fmt_flatten!(FmtArg::BIN; DispEnum => DispEnum::Other(n)),
*format!("Other({n:b})"),
*format!("Other({:b})", n),
);
assert_eq!(
fmt_flatten!(FmtArg::ALT_BIN; DispEnum => DispEnum::Other(n)),
*format!("Other(\n {n:#b},\n)"),
*format!("Other(\n {:#b},\n)", n),
);
}

Expand Down

0 comments on commit 63ab8eb

Please sign in to comment.