ludocode / mpack

MPack - A C encoder/decoder for the MessagePack serialization format / msgpack.org[C]
MIT License
521 stars 82 forks source link

test_compare_print fails in VS/Windows. #64

Closed jrlanglois closed 5 years ago

jrlanglois commented 5 years ago

For some reason or other, expected_size has the value 635, while actual_size has the value 610.

ludocode commented 5 years ago

Hey Joël, long time no see :)

I think what happened here is you have git configured to automatically convert line endings (autocrlf), and it detected that the test result reference file is a text file so it converted its line endings. This makes it no longer match the output of the test. I added a .gitattributes entry for it to prevent the conversion. This should fix the tests.

jrlanglois commented 5 years ago

Indeed it's been a while! I've been looking into mpack to store some data in a really tight and speedy way as an exploration for an audio codec concept; my plan is to wrap some of the APIs in some JUCE classes.

Thanks for looking into this issue!