(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:test_description) op: assign_op.Equal rhs: { (SQ (Token id: Id.Lit_Chars val: 'git ls-files test for --error-unmatch option\n' span_id: 15 ) (Token id:Id.Lit_Chars val:'\n' span_id:16) (Token id: Id.Lit_Chars val: 'This test runs git ls-files --error-unmatch to ensure it correctly\n' span_id: 17 ) (Token id: Id.Lit_Chars val: 'returns an error when a non-existent path is provided on the command\n' span_id: 18 ) (Token id:Id.Lit_Chars val:'line.\n' span_id:19) ) } spids: [13] ) ] ) (C {(.)} {(./test-lib.sh)}) (C {(test_expect_success)} {(SQ (Token id:Id.Lit_Chars val:setup span_id:30))} { (SQ (Token id:Id.Lit_Chars val:'\n' span_id:34) (Token id:Id.Lit_Chars val:'\ttouch foo bar &&\n' span_id:35) (Token id:Id.Lit_Chars val:'\tgit update-index --add foo bar &&\n' span_id:36) (Token id:Id.Lit_Chars val:'\tgit commit -m "add foo bar"\n' span_id:37) ) } ) (C {(test_expect_success)} { (SQ (Token id: Id.Lit_Chars val: 'git ls-files --error-unmatch should fail with unmatched path.' span_id: 46 ) ) } { (SQ (Token id: Id.Lit_Chars val: 'test_must_fail git ls-files --error-unmatch foo bar-does-not-match' span_id: 52 ) ) } ) (C {(test_expect_success)} { (SQ (Token id: Id.Lit_Chars val: 'git ls-files --error-unmatch should succeed with matched paths.' span_id: 61 ) ) } {(SQ (Token id:Id.Lit_Chars val:'git ls-files --error-unmatch foo bar' span_id:67))} ) (C {(test_done)}) ] )