From: Ben Darnell Date: Sat, 2 Nov 2019 21:29:29 +0000 (-0400) Subject: test: Add gitattributes for test data files X-Git-Tag: v6.1.0b1~40^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4575264b67879e604ef56bc431f5efcf96cef266;p=thirdparty%2Ftornado.git test: Add gitattributes for test data files This ensures that the tests pass on Windows regardless of the user's git CRLF settings. --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..facf16e43 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +# Tests of static file handling assume unix-style line endings. +tornado/test/static/*.txt text eol=lf +tornado/test/static/dir/*.html text eol=lf +tornado/test/templates/*.html text eol=lf