(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'test_description='> name:test_description) op: assign_op.Equal rhs: {(SQ <'git apply --numstat - <patch'>)} spids: [4] ) ] redirects: [] ) (C {<.>} {<'./test-lib.sh'>}) (C {<test_expect_success>} {<setup>} { (SQ <'\n'> <'\techo hello >text &&\n'> <'\tgit add text &&\n'> <'\techo goodbye >text &&\n'> <'\tgit diff >patch\n'> ) } ) (C {<test_expect_success>} {(SQ <'git apply --numstat - < patch'>)} { (SQ <'\n'> <'\techo "1\t1\ttext" >expect &&\n'> <'\tgit apply --numstat - <patch >actual &&\n'> <'\ttest_cmp expect actual\n'> ) } ) (C {<test_expect_success>} {(SQ <'git apply --numstat - < patch patch'>)} { (SQ <'\n'> <'\tfor i in 1 2; do echo "1\t1\ttext"; done >expect &&\n'> <'\tgit apply --numstat - < patch patch >actual &&\n'> <'\ttest_cmp expect actual\n'> ) } ) (C {<test_done>}) ] )