add test suggested by @sholderbach
This commit is contained in:
parent
5b11cbbfdd
commit
a051d8e2d0
|
@ -67,6 +67,14 @@ fn in_with_custom_command() -> TestResult {
|
|||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn in_used_twice_and_also_in_pipeline() -> TestResult {
|
||||
run_test(
|
||||
r#"3 | do { let x = $in; let y = $in; $x + $y | $in * 4 }"#,
|
||||
"24",
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn help_works_with_missing_requirements() -> TestResult {
|
||||
run_test(r#"each --help | lines | length"#, "72")
|
||||
|
|
Loading…
Reference in New Issue
Block a user