(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:test_description) op: assign_op.Equal rhs: {(SQ <'Peter MacMillan'>)} spids: [4] ) ] ) (C {<.>} {<'./test-lib.sh'>}) (C {<test_expect_success>} {<setup>} { (SQ <'\n'> <'\techo Hello >file &&\n'> <'\tgit add file &&\n'> <'\ttest_tick &&\n'> <'\tgit commit -m V1 &&\n'> <'\techo Hello world >file &&\n'> <'\tgit add file &&\n'> <'\tgit checkout -b other\n'> ) } ) (C {<test_expect_success>} {(SQ <'check all changes are staged'>)} {(SQ <'\n'> <'\tgit diff --exit-code\n'>)} ) (C {<test_expect_success>} {(SQ <'second commit'>)} {(SQ <'\n'> <'\tgit commit -m V2\n'>)}) (C {<test_expect_success>} {(SQ <check>)} {(SQ <'\n'> <'\tgit diff --cached --exit-code\n'>)}) (C {<test_done>}) ] )