diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-11-03 21:47:04 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-11-03 21:47:04 +0000 |
commit | e811be0fdca02b8aafc5da0109c655030232b4af (patch) | |
tree | 9f2f5eb580d75d10ec850ef4ce77259aa9b00a26 | |
parent | 4fd742d6bc23e2f61d0980e15234f09d7e715b76 (diff) | |
parent | c26fb1abb348ad9b27e8e9327402e6963760d929 (diff) |
Merge #2166
2166: Fix snapshots and tests line-ending in Windows r=matklad a=edwin0cheng
When running `cargo test` in Windows, there are some test and snapshots generated which are `LF` line-endings.
This PR try to force `git` to use `LF` for these files.
Co-authored-by: Edwin Cheng <[email protected]>
-rw-r--r-- | .gitattributes | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes index a77342d72..183e9b521 100644 --- a/.gitattributes +++ b/.gitattributes | |||
@@ -1 +1,2 @@ | |||
1 | crates/ra_syntax/tests/data/** -text | 1 | crates/ra_syntax/test_data/** -text eof=LF |
2 | crates/ra_ide_api/src/snapshots/** -text eof=LF | ||