mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 10:36:00 +02:00
better it detection and block params in shapes
This commit is contained in:
@ -308,3 +308,11 @@ fn row_condition2() -> TestResult {
|
||||
"1",
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn better_block_types() -> TestResult {
|
||||
run_test(
|
||||
r#"([1, 2, 3] | each -n { $"($it.index) is ($it.item)" }).1"#,
|
||||
"1 is 2",
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user