diff options
author | R1tschY <r1tschy@posteo.de> | 2020-10-24 12:47:28 +0200 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2020-10-24 14:09:52 +0200 |
commit | efab00a9de08266bd4d47d4d076e6e1c6c405fab (patch) | |
tree | 2027404d435e5558c8525471c5d6531fdfdaf6c6 | |
parent | 9ab0801ee19a59d9ffa96f8c3ab5804d6e3737b2 (diff) |
Add Git Attributes syntax test
-rw-r--r-- | tests/syntax-tests/highlighted/Git Attributes/example.gitattributes | 16 | ||||
-rw-r--r-- | tests/syntax-tests/source/Git Attributes/example.gitattributes | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/tests/syntax-tests/highlighted/Git Attributes/example.gitattributes b/tests/syntax-tests/highlighted/Git Attributes/example.gitattributes new file mode 100644 index 00000000..178bc759 --- /dev/null +++ b/tests/syntax-tests/highlighted/Git Attributes/example.gitattributes @@ -0,0 +1,16 @@ +[38;2;117;113;94m#[0m +[38;2;117;113;94m#[0m[38;2;117;113;94m Comment[0m + +[38;2;248;248;242m[[0m[38;2;166;226;46mattr[0m[38;2;248;248;242m][0m[38;2;255;255;255mbinary[0m[38;2;248;248;242m [0m[38;2;249;38;114m-[0m[38;2;255;255;255mdiff[0m[38;2;248;248;242m [0m[38;2;249;38;114m-[0m[38;2;255;255;255mmerge[0m[38;2;248;248;242m [0m[38;2;249;38;114m-[0m[38;2;255;255;255mtext[0m + +[38;2;249;38;114m*[0m[38;2;248;248;242m [0m[38;2;255;255;255mtext[0m[38;2;248;248;242m=[0m[38;2;230;219;116mauto[0m +[38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mc[0m[38;2;248;248;242m [0m[38;2;255;255;255mdiff[0m[38;2;248;248;242m=[0m[38;2;230;219;116mc[0m +[38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mcc[0m[38;2;248;248;242m [0m[38;2;255;255;255mtext[0m[38;2;248;248;242m [0m[38;2;255;255;255mdiff[0m[38;2;248;248;242m=[0m[38;2;230;219;116mcpp[0m +[38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mo[0m[38;2;248;248;242m [0m[38;2;255;255;255mbinary[0m +[38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mbat[0m[38;2;248;248;242m [0m[38;2;255;255;255mtext[0m[38;2;248;248;242m [0m[38;2;255;255;255meol[0m[38;2;248;248;242m=[0m[38;2;230;219;116mcrlf[0m +[38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mlock[0m[38;2;248;248;242m [0m[38;2;255;255;255mtext[0m[38;2;248;248;242m [0m[38;2;249;38;114m-[0m[38;2;255;255;255mdiff[0m +[38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;249;38;114m*[0m[38;2;166;226;46mignore[0m[38;2;248;248;242m [0m[38;2;255;255;255mtext[0m +[38;2;249;38;114m*[0m[38;2;166;226;46m.[0m[38;2;166;226;46mpatch[0m[38;2;248;248;242m [0m[38;2;249;38;114m-[0m[38;2;255;255;255mtext[0m + +[38;2;166;226;46m.[0m[38;2;166;226;46mgitattributes[0m[38;2;248;248;242m [0m[38;2;255;255;255mlinguist-language[0m[38;2;248;248;242m=[0m[38;2;230;219;116mgitattributes[0m +[38;2;166;226;46m.[0m[38;2;166;226;46mgitkeep[0m[38;2;248;248;242m [0m[38;2;255;255;255mexport-ignore[0m diff --git a/tests/syntax-tests/source/Git Attributes/example.gitattributes b/tests/syntax-tests/source/Git Attributes/example.gitattributes new file mode 100644 index 00000000..9b8e58b8 --- /dev/null +++ b/tests/syntax-tests/source/Git Attributes/example.gitattributes @@ -0,0 +1,16 @@ +# +# Comment + +[attr]binary -diff -merge -text + +* text=auto +*.c diff=c +*.cc text diff=cpp +*.o binary +*.bat text eol=crlf +*.lock text -diff +*.*ignore text +*.patch -text + +.gitattributes linguist-language=gitattributes +.gitkeep export-ignore
\ No newline at end of file |