-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Found this when setting up a new CI system: get these failures in the tests, Windows with VS2013 32-bit building. They pass locally, where the file mentioned has unix endlines, but on the CI system they have dos ones and fail. I think this may have found an actual bug in the comments handling.
cc @godbyk
Failure details:
* Test C:\jenkins-node\workspace\jsoncpp-win-matrix\BIT\32\VS\12\host\windows\test\data\test_comment_02.json
Difference in input at line 11:
Expected: '// Multiline comment cpp-style'
Actual: '// Multiline comment cpp-style// Second line'
* Test C:\jenkins-node\workspace\jsoncpp-win-matrix\BIT\32\VS\12\host\windows\test\data\test_real_08.json
Difference in input at line 1:
Expected: '// Out of 32-bit integer range, switch to double in 32-bit mode. Length the'
Actual: '// Out of 32-bit integer range, switch to double in 32-bit mode. Length the// same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in// order to catch a bug in the parsing code.'
* Test C:\jenkins-node\workspace\jsoncpp-win-matrix\BIT\32\VS\12\host\windows\test\data\test_real_09.json
Difference in input at line 1:
Expected: '// Out of 64-bit integer range, switch to double in all modes. Length the same'
Actual: '// Out of 64-bit integer range, switch to double in all modes. Length the same// as ULONG_MAX in base 10 and digit less than ULONG_MAX's last digit in order// to catch a bug in the parsing code.'
* Test C:\jenkins-node\workspace\jsoncpp-win-matrix\BIT\32\VS\12\host\windows\test\data\test_real_10.json
Difference in input at line 1:
Expected: '// Out of 32-bit signed integer range, switch to double in all modes. Length'
Actual: '// Out of 32-bit signed integer range, switch to double in all modes. Length// the same as INT_MIN in base 10 and digit less than INT_MIN's last digit in// order to catch a bug in the parsing code.'
* Test C:\jenkins-node\workspace\jsoncpp-win-matrix\BIT\32\VS\12\host\windows\test\data\test_real_11.json
Difference in input at line 1:
Expected: '// Out of 64-bit signed integer range, switch to double in all modes. Length'
Actual: '// Out of 64-bit signed integer range, switch to double in all modes. Length// the same as LONG_MIN in base 10 and digit less than LONG_MIN's last digit in// order to catch a bug in the parsing code.'
Test results: 51 passed, 5 failed.
Metadata
Metadata
Assignees
Labels
No labels