Skip to content

Commit a5a3db9

Browse files
committed
Do not add newline to test body Lines
This is needed to test edge cases like a body missing the final newline, for example: [ "a\r\n", "b\r" ] And it is clearer than to add implicit newline to each line except the final line.
1 parent 64d43d4 commit a5a3db9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/regression/regression_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ inline std::string RegressionTest::yajl_array_to_str(const yajl_val &node) {
4848
for (int z = 0; z < node->u.array.len; z++) {
4949
yajl_val val3 = node->u.array.values[z];
5050
const char *key = YAJL_GET_STRING(val3);
51-
i << key << "\n";
51+
i << key;
5252
}
5353
return i.str();
5454
}

0 commit comments

Comments
 (0)