(List (= scope= flags=0 words=[] bindings=[('test_description', {[SQ ]})]) (Com {[LIT_CHARS .]} {[LIT_CHARS ./test-lib.sh]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ A.java &&\n"> B.java\n">]}) (= scope= flags=0 words=[] bindings=[('diffpatterns', {[DQ [LIT_CHARS "\n"][LIT_CHARS "\tada\n"][LIT_CHARS "\tbibtex\n"][LIT_CHARS "\tcpp\n"][LIT_CHARS "\tcsharp\n"][LIT_CHARS "\tcss\n"][LIT_CHARS "\tfortran\n"][LIT_CHARS "\tfountain\n"][LIT_CHARS "\thtml\n"][LIT_CHARS "\tjava\n"][LIT_CHARS "\tmatlab\n"][LIT_CHARS "\tobjc\n"][LIT_CHARS "\tpascal\n"][LIT_CHARS "\tperl\n"][LIT_CHARS "\tphp\n"][LIT_CHARS "\tpython\n"][LIT_CHARS "\truby\n"][LIT_CHARS "\ttex\n"][LIT_CHARS "\tcustom1\n"][LIT_CHARS "\tcustom2\n"][LIT_CHARS "\tcustom3\n"]]})]) (For p [{[VarSub diffpatterns]}]) (List (Com {[LIT_CHARS test_expect_success]} {[DQ [LIT_CHARS "builtin "][VarSub p][LIT_CHARS " pattern compiles"]]} {[SQ .gitattributes &&\n"> msg &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[DQ [LIT_CHARS "builtin "][VarSub p][LIT_CHARS " wordRegex pattern compiles"]]} {[SQ .gitattributes &&\n"> msg &&\n"> ]}) ) ) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ .gitattributes &&\n"> msg &&\n"> ]}) (Com {[LIT_CHARS test_expect_success]} {[SQ ]} {[SQ .gitattributes &&\n"> \"$i\" || return 1\n"> ]}) (For i [{[ComSub (Com {[LIT_CHARS git]} {[LIT_CHARS ls-files]})]}]) (List (If (Com {[LIT_CHARS grep]} {[LIT_CHARS broken]} {[DQ [VarSub i]]} < (FilenameRedirectNode filename={[LIT_CHARS /dev/null]} "> 1), (DescriptorRedirectNode target={[LIT_CHARS 1]} &"> 2), > ) (= scope= flags=0 words=[] bindings=[('result', {[LIT_CHARS failure]})]) (ElseTrue) (= scope= flags=0 words=[] bindings=[('result', {[LIT_CHARS success]})]) ) (Com {[LIT_CHARS test_expect_] [VarSub result]} {[DQ [LIT_CHARS "hunk header: "][VarSub i]]} {[DQ [LIT_CHARS "\n"][LIT_CHARS "\t\ttest_when_finished 'cat actual' &&\t# for debugging only\n"][LIT_CHARS "\t\tgit diff -U1 "][VarSub i][LIT_CHARS " >actual &&\n"][LIT_CHARS "\t\tgrep '@@ .* @@.*RIGHT' actual\n"][LIT_CHARS "\t"]]}) ) ) (Com {[LIT_CHARS test_done]}) )