(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:test_description)
          op: Equal
          rhs: {(SQ <'test unique sha1 abbreviation on "index from..to" line'>)}
          spids: [4]
        )
      ]
      spids: [4]
    )
    (C {(.)} {(./test-lib.sh)})
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (Redir op_id:Redir_Great fd:16777215 arg_word:{(expect_initial)} spids:[16])
        (HereDoc
          op_id: Redir_DLess
          fd: 16777215
          body: {(DQ ('100644 blob 51d2738463ea4ca66f8691c91e33ce64b7d41bb1\tfoo\n'))}
          do_expansion: True
          here_end: EOF
          was_filled: T
          spids: [19]
        )
      ]
    )
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (Redir op_id:Redir_Great fd:16777215 arg_word:{(expect_update)} spids:[27])
        (HereDoc
          op_id: Redir_DLess
          fd: 16777215
          body: {(DQ ('100644 blob 51d2738efb4ad8a1e40bed839ab8e116f0a15e47\tfoo\n'))}
          do_expansion: True
          here_end: EOF
          was_filled: T
          spids: [30]
        )
      ]
    )
    (C {(test_expect_success)} {(SQ <setup>)} 
      {
        (SQ <'\n'> <'\techo 4827 > foo &&\n'> <'\tgit add foo &&\n'> <'\tgit commit -m "initial" &&\n'> 
          <'\tgit cat-file -p HEAD: > actual &&\n'> <'\ttest_cmp expect_initial actual &&\n'> <'\techo 11742 > foo &&\n'> 
          <'\tgit commit -a -m "update" &&\n'> <'\tgit cat-file -p HEAD: > actual &&\n'> <'\ttest_cmp expect_update actual\n'>
        )
      }
    )
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (Redir op_id:Redir_Great fd:16777215 arg_word:{(expect)} spids:[58])
        (HereDoc
          op_id: Redir_DLess
          fd: 16777215
          body: {(DQ ('index 51d27384..51d2738e 100644\n'))}
          do_expansion: True
          here_end: EOF
          was_filled: T
          spids: [61]
        )
      ]
    )
    (C {(test_expect_success)} {(SQ <'diff does not produce ambiguous index line'>)} 
      {
        (SQ <'\n'> <'\tgit diff HEAD^..HEAD | grep index > actual &&\n'> <'\ttest_cmp expect actual\n'>)
      }
    )
    (C {(test_done)})
  ]
)