test: Add gitattributes for test data files

This ensures that the tests pass on Windows regardless of the user's git
CRLF settings.
This commit is contained in:
Ben Darnell 2019-11-02 17:29:29 -04:00
parent 74a4ba0b3f
commit 4575264b67
1 changed files with 4 additions and 0 deletions

4
.gitattributes vendored Normal file
View File

@ -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