diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-08-22 23:02:26 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-08-22 23:02:26 +0200 |
commit | d8e85091f63715eb75e182166fd8e3165c321dd9 (patch) | |
tree | 052828e9899106656cae4be4ed07d22eb1e8de5b | |
parent | c4de53ac0072a0d957e589b652af9765be871a0d (diff) |
lib.c: add missing string case to type()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | lib.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -700,6 +700,9 @@ ut_type(struct ut_state *s, struct ut_opcode *op, struct json_object *args) case json_type_boolean: return json_object_new_string("bool"); + case json_type_string: + return json_object_new_string("string"); + default: return NULL; } |