diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-command.c | 4 | ||||
-rw-r--r-- | tests/test-expand.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-command.c b/tests/test-command.c index a752ca6..2a226b2 100644 --- a/tests/test-command.c +++ b/tests/test-command.c @@ -35,13 +35,13 @@ test_keycmd (void) { /* the 'keycmd' command */ parse_command("keycmd", "insert", NULL); - g_assert_cmpint(1, ==, uzbl.behave.insert_mode); + g_assert_cmpint(1, ==, uzbl.behave.forward_keys); g_assert_cmpstr("", ==, uzbl.state.keycmd); /* setting the keycmd variable directly, equivalent to the 'keycmd' comand */ set_var_value("keycmd", "command"); - g_assert_cmpint(0, ==, uzbl.behave.insert_mode); + g_assert_cmpint(0, ==, uzbl.behave.forward_keys); g_assert_cmpstr("", ==, uzbl.state.keycmd); } diff --git a/tests/test-expand.c b/tests/test-expand.c index 0ced1f4..f01e5c7 100644 --- a/tests/test-expand.c +++ b/tests/test-expand.c @@ -79,10 +79,10 @@ test_NAME (void) { void test_MODE (void) { - set_var_value("insert_mode", "0"); + set_var_value("forward_keys", "0"); g_assert_cmpstr(expand("@MODE", 0), ==, "C"); - set_var_value("insert_mode", "1"); + set_var_value("forward_keys", "1"); g_assert_cmpstr(expand("@MODE", 0), ==, "I"); } |