You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Some test input files are not marked as binary (including but not limited to CBOR, BSON), so git will automatically add CR to any LF when cloning on windows with core.autocrlf=true, which breaks unit tests.
The files are marked as binary so git will not modify line endings.
Git modifies the line endings in the cases described above.
Enumerate the steps to reproduce the bug
Be on windows
Ensure core.autocrlf is set to true in git config (should be default)
Clone jsoncons
Build jsoncons
Run tests
Some tests fail
Include a small, self-contained example if possible
N/A
What compiler, architecture, and operating system?
Compiler: MSVC and GCC (wsl)
Architecture (e.g. x86, x64) x64
Operating system: Windows 11
What jsoncons library version?
Latest release 1.2.0
Other release ______
master
The text was updated successfully, but these errors were encountered:
Describe the bug
Some test input files are not marked as binary (including but not limited to CBOR, BSON), so git will automatically add CR to any LF when cloning on windows with
core.autocrlf=true
, which breaks unit tests.The files are marked as binary so git will not modify line endings.
Git modifies the line endings in the cases described above.
Enumerate the steps to reproduce the bug
Include a small, self-contained example if possible
N/A
What compiler, architecture, and operating system?
What jsoncons library version?
The text was updated successfully, but these errors were encountered: