diff options
Diffstat (limited to 'tests/test-command.c')
-rw-r--r-- | tests/test-command.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-command.c b/tests/test-command.c index aee4bf2..2a226b2 100644 --- a/tests/test-command.c +++ b/tests/test-command.c @@ -22,10 +22,10 @@ #include <fcntl.h> #include <signal.h> -#include <uzbl.h> +#include <uzbl-core.h> #include <config.h> -extern Uzbl uzbl; +extern UzblCore uzbl; void test_keycmd (void) { @@ -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); } |