(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:test_description) op: assign_op.Equal rhs: { (SQ <'git ls-files test for --error-unmatch option\n'> <'\n'> <'This test runs git ls-files --error-unmatch to ensure it correctly\n'> <'returns an error when a non-existent path is provided on the command\n'> <'line.\n'> ) } spids: [13] ) ] ) (C {<.>} {<'./test-lib.sh'>}) (C {<test_expect_success>} {(SQ <setup>)} { (SQ <'\n'> <'\ttouch foo bar &&\n'> <'\tgit update-index --add foo bar &&\n'> <'\tgit commit -m "add foo bar"\n'> ) } ) (C {<test_expect_success>} {(SQ <'git ls-files --error-unmatch should fail with unmatched path.'>)} {(SQ <'test_must_fail git ls-files --error-unmatch foo bar-does-not-match'>)} ) (C {<test_expect_success>} {(SQ <'git ls-files --error-unmatch should succeed with matched paths.'>)} {(SQ <'git ls-files --error-unmatch foo bar'>)} ) (C {<test_done>}) ] )