ende76 / brotli-rs

A Brotli implementation in pure and safe Rust
Apache License 2.0
63 stars 19 forks source link

Added a gitattributes file to ensure correct line endings are retained in test input files. #25

Closed Fraser999 closed 8 years ago

Fraser999 commented 8 years ago

On Windows, Git is often set up to convert Unix line-endings to Windows line-endings automatically for text files. This auto-conversion caused should_decompress_asyoulik_txt to fail for me on Windows.

Adding the gitattributes file avoids the auto-conversion and allows the test to pass.

ende76 commented 8 years ago

Thanks a lot! This seems like a very simple fix to alleviate possible frustration. I don't develop on Windows myself, so I apologize for not noticing the problem you had.