cargo fmt

This commit is contained in:
sholderbach 2024-12-19 15:30:47 +01:00
parent b7b930c3f6
commit ceeed4c048
3 changed files with 5 additions and 3 deletions

View file

@ -107,7 +107,6 @@ impl Command for BitsInto {
} }
} }
#[cfg(test)] #[cfg(test)]
mod test { mod test {
use super::*; use super::*;

View file

@ -1,5 +1,5 @@
mod command;
mod bits; mod bits;
mod command;
pub(crate) use command::FormatPattern; pub(crate) use command::FormatPattern;
// TODO remove `format_bits` visibility after removal of into bits // TODO remove `format_bits` visibility after removal of into bits

View file

@ -220,7 +220,10 @@ fn bits_shift_right_binary4() -> TestResult {
#[test] #[test]
fn bits_shift_right_binary_exceeding() -> TestResult { fn bits_shift_right_binary_exceeding() -> TestResult {
// Compared to the int case this is made inclusive of the bit count // Compared to the int case this is made inclusive of the bit count
fail_test("0x[01 30] | bits shr 17 | format bits", "available bits (16)") fail_test(
"0x[01 30] | bits shr 17 | format bits",
"available bits (16)",
)
} }
#[test] #[test]