From efab00a9de08266bd4d47d4d076e6e1c6c405fab Mon Sep 17 00:00:00 2001 From: R1tschY Date: Sat, 24 Oct 2020 12:47:28 +0200 Subject: [PATCH] Add Git Attributes syntax test --- .../Git Attributes/example.gitattributes | 16 ++++++++++++++++ .../source/Git Attributes/example.gitattributes | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 tests/syntax-tests/highlighted/Git Attributes/example.gitattributes create mode 100644 tests/syntax-tests/source/Git Attributes/example.gitattributes 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 @@ +# +# 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 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