summaryrefslogtreecommitdiffstats
path: root/src/json_test.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-02-27 17:27:13 +0100
committerBram Moolenaar <Bram@vim.org>2018-02-27 17:27:13 +0100
commit792f0e36593d1ec13ccb8a622ca5542c500577b4 (patch)
tree34a6e9340f01bc14adda8f1f286ab56788b06de0 /src/json_test.c
parent5d7ead3bc85eefd0929bfcbb579510c8164ea1be (diff)
patch 8.0.1550: various small problems in source filesv8.0.1550
Problem: Various small problems in source files. Solution: Fix the problems.
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 c7779b29af..47bec8ee65 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