From 4575264b67879e604ef56bc431f5efcf96cef266 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sat, 2 Nov 2019 17:29:29 -0400 Subject: [PATCH] test: Add gitattributes for test data files This ensures that the tests pass on Windows regardless of the user's git CRLF settings. --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..facf16e4 --- /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