mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-21 07:47:40 +00:00
chore(linux): Fix unit tests
Array has to be NULL terminated.
This commit is contained in:
parent
65d1a3f9a0
commit
07fb8084ee
1 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ test_keyman_put_options_todconf__other_keys() {
|
|||
// Initialize
|
||||
gchar* testname = "test_keyman_put_options_todconf__other_keys";
|
||||
delete_key(testname);
|
||||
gchar* existingKeys[] = {"key1=val1", "key2=val2"};
|
||||
gchar* existingKeys[] = {"key1=val1", "key2=val2", NULL};
|
||||
set_key(testname, existingKeys);
|
||||
gchar* value = g_strdup_printf("%d", g_test_rand_int());
|
||||
|
||||
|
|
@ -90,7 +90,7 @@ test_keyman_put_options_todconf__existing_key() {
|
|||
// Initialize
|
||||
gchar* testname = "test_keyman_put_options_todconf__existing_key";
|
||||
delete_key(testname);
|
||||
gchar* existingKeys[] = {"key1=val1", "new_key=val2"};
|
||||
gchar* existingKeys[] = {"key1=val1", "new_key=val2", NULL};
|
||||
set_key(testname, existingKeys);
|
||||
gchar* value = g_strdup_printf("%d", g_test_rand_int());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue