diff -ur test/unittest/cursorstreamwrappertest.cpp.orig test/unittest/cursorstreamwrappertest.cpp
--- test/unittest/cursorstreamwrappertest.cpp.orig 2018-04-24 23:13:00.000000000 -0300
+++ test/unittest/cursorstreamwrappertest.cpp 2018-05-05 01:37:31.000000000 -0300
bool ret = testJson(json, line, col);
+ EXPECT_EQ(static_cast<long>(line), 3);
+ EXPECT_EQ(static_cast<long>(col), 0);
TEST(CursorStreamWrapper, MissingQuotes) {
bool ret = testJson(json, line, col);
+ EXPECT_EQ(static_cast<long>(line), 1);
+ EXPECT_EQ(static_cast<long>(col), 8);
TEST(CursorStreamWrapper, MissingColon) {
bool ret = testJson(json, line, col);
+ EXPECT_EQ(static_cast<long>(line), 3);
+ EXPECT_EQ(static_cast<long>(col), 0);
TEST(CursorStreamWrapper, MissingSecondQuotes) {
bool ret = testJson(json, line, col);
+ EXPECT_EQ(static_cast<long>(line), 3);
+ EXPECT_EQ(static_cast<long>(col), 1);
TEST(CursorStreamWrapper, MissingComma) {
bool ret = testJson(json, line, col);
+ EXPECT_EQ(static_cast<long>(line), 3);
+ EXPECT_EQ(static_cast<long>(col), 12);
TEST(CursorStreamWrapper, MissingArrayBracket) {
bool ret = testJson(json, line, col);
+ EXPECT_EQ(static_cast<long>(line), 4);
+ EXPECT_EQ(static_cast<long>(col), 9);
TEST(CursorStreamWrapper, MissingArrayComma) {
bool ret = testJson(json, line, col);
+ EXPECT_EQ(static_cast<long>(line), 4);
+ EXPECT_EQ(static_cast<long>(col), 6);
TEST(CursorStreamWrapper, MissingLastArrayBracket) {
bool ret = testJson(json8, line, col);
+ EXPECT_EQ(static_cast<long>(line), 4);
+ EXPECT_EQ(static_cast<long>(col), 15);
TEST(CursorStreamWrapper, MissingLastBracket) {