summaryrefslogtreecommitdiff
path: root/src/json_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/json_test.c')
-rw-r--r--src/json_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json_test.c b/src/json_test.c
index c7779b29a..47bec8ee6 100644
--- a/src/json_test.c
+++ b/src/json_test.c
@@ -162,7 +162,7 @@ test_fill_called_on_find_end(void)
reader.js_fill = fill_from_cookie;
reader.js_used = 0;
reader.js_buf = (char_u *)" [ \"a\" , 123 ";
- reader.js_cookie = " [ \"a\" , 123 ] ";
+ reader.js_cookie = " [ \"a\" , 123 ] ";
assert(json_find_end(&reader, 0) == OK);
reader.js_buf = (char_u *)" [ \"a\" , ";
assert(json_find_end(&reader, 0) == OK);
@@ -186,7 +186,7 @@ test_fill_called_on_string(void)
reader.js_used = 0;
reader.js_buf = (char_u *)" \"foo";
reader.js_end = reader.js_buf + STRLEN(reader.js_buf);
- reader.js_cookie = " \"foobar\" ";
+ reader.js_cookie = " \"foobar\" ";
assert(json_decode_string(&reader, NULL, '"') == OK);
}
#endif