diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-06-04 00:17:22 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-06-04 00:17:22 +0100 |
commit | 18b2ebe3df26009ef6b2aeb0670a396e876fca25 (patch) | |
tree | 3b851d392330877513c460b03e87b4d0d52ef0fb /test/test_key_value_store.c | |
parent | a3c2eb86925cf35ef6b0fbb12249cee6a15060cb (diff) | |
download | netbytes-18b2ebe3df26009ef6b2aeb0670a396e876fca25.tar.gz netbytes-18b2ebe3df26009ef6b2aeb0670a396e876fca25.zip |
Added nb_match functionality
Diffstat (limited to 'test/test_key_value_store.c')
-rw-r--r-- | test/test_key_value_store.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_key_value_store.c b/test/test_key_value_store.c index b499c9a..de939da 100644 --- a/test/test_key_value_store.c +++ b/test/test_key_value_store.c @@ -106,7 +106,7 @@ int main() printf("Start test\n"); - kv = kv_new(1,"Name","Name of the human"); + kv = kv_new(1,"Jhony","Name of the human"); nb = kv_marsh(kv); nb_print(nb); kv_free(kv); @@ -114,7 +114,7 @@ int main() //nb_print(nb); res = nb_create(nb); - f = fopen("test_kv_save.nd","w+"); + f = fopen("test_kv_save.md","w+"); fwrite(res, 1, nb->size, f); fclose(f); |