Tests ~ (fix) always check out test fixtures with known LF line endings

- fixes windows test failures
- avoids `git` platform-dependent conversion of line endings for checkout of test fixtures (*tests/examples/...*)
This commit is contained in:
Roy Ivy III 2020-05-26 23:33:15 -05:00 committed by David Peter
parent 01af28b781
commit 0ef792ac1e
1 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,11 @@
# force LF EOLs for test fixtures
examples/** text=auto eol=lf
snapshots/** text=auto eol=lf
# BAT/CMD files always need CRLF EOLs
*.[Bb][Aa][Tt] text eol=crlf
*.[Cc][Mm][Dd] text eol=crlf
examples/* linguist-vendored
snapshots/* linguist-vendored
benchmarks/* linguist-vendored