Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Fix keyNew calls
Browse files Browse the repository at this point in the history
  • Loading branch information
kodebach committed Mar 1, 2021
1 parent b670cf7 commit 796a5c0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/abi/testabi_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -1476,11 +1476,11 @@ static void test_keyCopy (void)


// check KEY_CP_NAME
orig = keyNew ("user:/orig");
orig = keyNew ("user:/orig", KEY_END);
keySetString (orig, "orig");
keySetMeta (orig, "orig", "orig");

copy = keyNew ("user:/copy");
copy = keyNew ("user:/copy", KEY_END);
keySetString (copy, "copy");
keySetMeta (copy, "copy", "copy");

Expand All @@ -1500,11 +1500,11 @@ static void test_keyCopy (void)
keyDel (copy);

// check KEY_CP_VALUE
orig = keyNew ("user:/orig");
orig = keyNew ("user:/orig", KEY_END);
keySetString (orig, "orig");
keySetMeta (orig, "orig", "orig");

copy = keyNew ("user:/copy");
copy = keyNew ("user:/copy", KEY_END);
keySetString (copy, "copy");
keySetMeta (copy, "copy", "copy");

Expand All @@ -1524,11 +1524,11 @@ static void test_keyCopy (void)
keyDel (copy);

// check KEY_CP_META
orig = keyNew ("user:/orig");
orig = keyNew ("user:/orig", KEY_END);
keySetString (orig, "orig");
keySetMeta (orig, "orig", "orig");

copy = keyNew ("user:/copy");
copy = keyNew ("user:/copy", KEY_END);
keySetString (copy, "copy");
keySetMeta (copy, "copy", "copy");

Expand Down

0 comments on commit 796a5c0

Please sign in to comment.