Git fork
at reftables-rust 33 lines 490 B view raw
1test_expect_success 'nested-cuddled-subshell' ' 2( 3# LINT: opening "(" cuddled with first nested subshell statement 4 (cd foo && 5 bar 6 ) && 7 8# LINT: same but "&&" missing 9 (cd foo && 10 bar 11 ) 12 13# LINT: closing ")" cuddled with final nested subshell statement 14 ( 15 cd foo && 16 bar) && 17 18# LINT: same but "&&" missing 19 ( 20 cd foo && 21 bar) 22 23# LINT: "(" and ")" cuddled with first and final subshell statements 24 (cd foo && 25 bar) && 26 27# LINT: same but "&&" missing 28 (cd foo && 29 bar) 30 31 foobar 32) 33'