mirror of
https://github.com/nushell/nushell.git
synced 2025-05-29 14:21:45 +02:00
Minor clippy: inline format string (#8043)
# Description Clippy from nightly being pedantic
This commit is contained in:
parent
710349768f
commit
cfd2cc4970
@ -228,7 +228,7 @@ fn table_expand_record_2() {
|
|||||||
field3: [ [ head1, head2, head3 ]; [ 1 2 3 ] [ 79 79 79 ] [ { f1: 'a string', f2: 1000 }, 1, 2 ] ],\
|
field3: [ [ head1, head2, head3 ]; [ 1 2 3 ] [ 79 79 79 ] [ { f1: 'a string', f2: 1000 }, 1, 2 ] ],\
|
||||||
field4: { f1: 1, f2: 3, f3: { f1: f1, f2: f2, f3: f3 } }\
|
field4: { f1: 1, f2: 3, f3: { f1: f1, f2: f2, f3: f3 } }\
|
||||||
}";
|
}";
|
||||||
let actual = nu!(format!("{} | table --expand", structure));
|
let actual = nu!(format!("{structure} | table --expand"));
|
||||||
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
actual.out,
|
actual.out,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user