(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: 'test dwim of revs versus pathspecs in revision parser'
                  span_id: 6
                )
              )
            }
          spids: [4]
        )
      ]
    )
    (C {(.)} {(./test-lib.sh)})
    (C {(test_expect_success)} {(SQ (Token id:Id.Lit_Chars val:setup span_id:17))} 
      {
        (SQ (Token id:Id.Lit_Chars val:'\n' span_id:21) 
          (Token id:Id.Lit_Chars val:'\ttest_commit base &&\n' span_id:22) (Token id:Id.Lit_Chars val:'\techo content >"br[ack]ets" &&\n' span_id:23) 
          (Token id:Id.Lit_Chars val:'\tgit add . &&\n' span_id:24) (Token id:Id.Lit_Chars val:'\ttest_tick &&\n' span_id:25) 
          (Token id:Id.Lit_Chars val:'\tgit commit -m brackets\n' span_id:26)
        )
      }
    )
    (C {(test_expect_success)} 
      {(SQ (Token id:Id.Lit_Chars val:'non-rev wildcard dwims to pathspec' span_id:33))} 
      {
        (SQ (Token id:Id.Lit_Chars val:'\n' span_id:37) 
          (Token id:Id.Lit_Chars val:'\tgit log -- "*.t" >expect &&\n' span_id:38) (Token id:Id.Lit_Chars val:'\tgit log    "*.t" >actual &&\n' span_id:39) 
          (Token id:Id.Lit_Chars val:'\ttest_cmp expect actual\n' span_id:40)
        )
      }
    )
    (C {(test_expect_success)} 
      {(SQ (Token id:Id.Lit_Chars val:'tree:path with metacharacters dwims to rev' span_id:47))} 
      {
        (SQ (Token id:Id.Lit_Chars val:'\n' span_id:51) 
          (Token
            id: Id.Lit_Chars
            val: '\tgit show "HEAD:br[ack]ets" -- >expect &&\n'
            span_id: 52
          ) (Token id:Id.Lit_Chars val:'\tgit show "HEAD:br[ack]ets"    >actual &&\n' span_id:53) 
          (Token id:Id.Lit_Chars val:'\ttest_cmp expect actual\n' span_id:54)
        )
      }
    )
    (C {(test_expect_success)} 
      {(SQ (Token id:Id.Lit_Chars val:'^{foo} with metacharacters dwims to rev' span_id:61))} 
      {
        (SQ (Token id:Id.Lit_Chars val:'\n' span_id:65) 
          (Token id:Id.Lit_Chars val:'\tgit log "HEAD^{/b.*}" -- >expect &&\n' span_id:66) (Token id:Id.Lit_Chars val:'\tgit log "HEAD^{/b.*}"    >actual &&\n' span_id:67) 
          (Token id:Id.Lit_Chars val:'\ttest_cmp expect actual\n' span_id:68)
        )
      }
    )
    (C {(test_expect_success)} 
      {(SQ (Token id:Id.Lit_Chars val:'@{foo} with metacharacters dwims to rev' span_id:75))} 
      {
        (SQ (Token id:Id.Lit_Chars val:'\n' span_id:79) 
          (Token
            id: Id.Lit_Chars
            val: '\tgit log "HEAD@{now [or thereabouts]}" -- >expect &&\n'
            span_id: 80
          ) (Token id:Id.Lit_Chars val:'\tgit log "HEAD@{now [or thereabouts]}"    >actual &&\n' span_id:81) 
          (Token id:Id.Lit_Chars val:'\ttest_cmp expect actual\n' span_id:82)
        )
      }
    )
    (C {(test_expect_success)} 
      {(SQ (Token id:Id.Lit_Chars val:':/*.t from a subdir dwims to a pathspec' span_id:89))} 
      {
        (SQ (Token id:Id.Lit_Chars val:'\n' span_id:93) 
          (Token id:Id.Lit_Chars val:'\tmkdir subdir &&\n' span_id:94) (Token id:Id.Lit_Chars val:'\t(\n' span_id:95) 
          (Token id:Id.Lit_Chars val:'\t\tcd subdir &&\n' span_id:96) (Token id:Id.Lit_Chars val:'\t\tgit log -- ":/*.t" >expect &&\n' span_id:97) 
          (Token id:Id.Lit_Chars val:'\t\tgit log    ":/*.t" >actual &&\n' span_id:98) (Token id:Id.Lit_Chars val:'\t\ttest_cmp expect actual\n' span_id:99) 
          (Token id:Id.Lit_Chars val:'\t)\n' span_id:100)
        )
      }
    )
    (C {(test_done)})
  ]
)