(List (= scope= flags=0 words=[] bindings=[('test_description', {[SQ ]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./test-lib.sh]} ) (FunctionDef check [] (Com {[LIT_CHARS test_expect_] [VarSub 3 test_op=VS_TEST_COLON_HYPHEN {[LIT_CHARS success]}]} {[DQ [VarSub 1][LIT_CHARS " = "][VarSub 2]]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\techo '"][VarSub 2][LIT_CHARS "' >expect &&\n"][LIT_CHARS "\tgit log -1 --format=%s '"][VarSub 1][LIT_CHARS "' >actual &&\n"][LIT_CHARS "\ttest_cmp expect actual\n"]]} ) ) (FunctionDef nonsense [] (Com {[LIT_CHARS test_expect_] [VarSub 2 test_op=VS_TEST_COLON_HYPHEN {[LIT_CHARS success]}]} {[DQ [VarSub 1][LIT_CHARS " is nonsensical"]]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\ttest_must_fail git log -1 '"][VarSub 1][LIT_CHARS "'\n"]]} ) ) (FunctionDef fail [] (Com {[DQ [VarSub @]]} {[LIT_CHARS failure]} ) ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ ]} ) (Com {[LIT_CHARS check]} {[LIT_CHARS HEAD]} {[LIT_CHARS new-two]} ) (Com {[LIT_CHARS check]} {[DQ [LIT_CHARS "@{1}"]]} {[LIT_CHARS new-one]} ) (Com {[LIT_CHARS check]} {[DQ [LIT_CHARS "@{-1}"]]} {[LIT_CHARS old-two]} ) (Com {[LIT_CHARS check]} {[DQ [LIT_CHARS "@{-1}@{1}"]]} {[LIT_CHARS old-one]} ) (Com {[LIT_CHARS check]} {[DQ [LIT_CHARS "@{u}"]]} {[LIT_CHARS upstream-two]} ) (Com {[LIT_CHARS check]} {[DQ [LIT_CHARS "@{u}@{1}"]]} {[LIT_CHARS upstream-one]} ) (Com {[LIT_CHARS check]} {[DQ [LIT_CHARS "@{-1}@{u}"]]} {[LIT_CHARS master-two]} ) (Com {[LIT_CHARS check]} {[DQ [LIT_CHARS "@{-1}@{u}@{1}"]]} {[LIT_CHARS master-one]} ) (Com {[LIT_CHARS nonsense]} {[DQ [LIT_CHARS "@{u}@{-1}"]]} ) (Com {[LIT_CHARS nonsense]} {[DQ [LIT_CHARS "@{1}@{u}"]]} ) (Com {[LIT_CHARS test_done]} ) )