- errno = 0;
- jo2 = json_object_new_string("out_of_bounds");
- assert(0 != json_pointer_set_with_limit_index(&jo1, "/foo/20", jo2, limit_index));
- assert(errno == EINVAL);
- printf("PASSED - SET_LIMIT - Failed to set index 20 with limit 10\n");
- // The value object was not consumed, so we must put it.
- json_object_put(jo2);
+ errno = 0;
+ jo2 = json_object_new_string("out_of_bounds");
+ assert(0 != json_pointer_set_with_limit_index(&jo1, "/foo/20", jo2, limit_index));
+ assert(errno == EINVAL);
+ printf("PASSED - SET_LIMIT - Failed to set index 20 with limit 10\n");
+ // The value object was not consumed, so we must put it.
+ json_object_put(jo2);