mirror of
https://github.com/nushell/nushell
synced 2024-12-26 04:53:09 +00:00
cargo fmt
This commit is contained in:
parent
b7b930c3f6
commit
ceeed4c048
3 changed files with 5 additions and 3 deletions
|
@ -107,7 +107,6 @@ impl Command for BitsInto {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue