summaryrefslogtreecommitdiff
path: root/test/test_key_value_store.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-06-04 00:17:22 +0100
committerFreeArtMan <dos21h@gmail.com>2017-06-04 00:17:22 +0100
commit18b2ebe3df26009ef6b2aeb0670a396e876fca25 (patch)
tree3b851d392330877513c460b03e87b4d0d52ef0fb /test/test_key_value_store.c
parenta3c2eb86925cf35ef6b0fbb12249cee6a15060cb (diff)
downloadnetbytes-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.c4
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);