forked from agorise/c-ipfs
small fix to test
This commit is contained in:
parent
596a811d5e
commit
7259028bd0
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ int test_core_api_object_cat_binary() {
|
|||
for(int i = 0; i < 256; i++)
|
||||
bytes[i] = i;
|
||||
char* filename = "test1.txt";
|
||||
create_file(filename, bytes, strlen((char*)bytes));
|
||||
create_file(filename, bytes, 256);
|
||||
struct HashtableNode* node;
|
||||
size_t bytes_written;
|
||||
struct IpfsNode *local_node = NULL;
|
||||
|
|
Loading…
Reference in a new issue