(command.CommandList
  children: [
    (command.ShAssignment
      left: <Id.Lit_VarLike 'test_description='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'test_description='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'test_description='> name:test_description)
          op: assign_op.Equal
          rhs: {(SQ <'git apply submodule tests'>)}
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <.>
      more_env: []
      words: [{<.>} {<'./test-lib.sh'>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {<setup>}
        {
          (SQ <'\n'> <'\tcat > create-sm.patch <<EOF &&\n'> <'diff --git a/dir/sm b/dir/sm\n'> 
            <'new file mode 160000\n'> <'index 0000000..0123456\n'> <'--- /dev/null\n'> <'+++ b/dir/sm\n'> <'@@ -0,0 +1 @@\n'> 
            <'+Subproject commit 0123456789abcdef0123456789abcdef01234567\n'> <'EOF\n'> <'\tcat > remove-sm.patch <<EOF\n'> <'diff --git a/dir/sm b/dir/sm\n'> 
            <'deleted file mode 160000\n'> <'index 0123456..0000000\n'> <'--- a/dir/sm\n'> <'+++ /dev/null\n'> <'@@ -1 +0,0 @@\n'> 
            <'-Subproject commit 0123456789abcdef0123456789abcdef01234567\n'> <'EOF\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'removing a submodule also removes all leading subdirectories'>)}
        {
          (SQ <'\n'> <'\tgit apply --index create-sm.patch &&\n'> <'\ttest -d dir/sm &&\n'> 
            <'\tgit apply --index remove-sm.patch &&\n'> <'\ttest \\! -d dir\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_done>
      more_env: []
      words: [{<test_done>}]
      redirects: []
      do_fork: T
    )
  ]
)