aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test-expand.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-expand.c')
-rw-r--r--tests/test-expand.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-expand.c b/tests/test-expand.c
index 2299227..f01e5c7 100644
--- a/tests/test-expand.c
+++ b/tests/test-expand.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;
extern gchar* expand(char*, guint);
extern void make_var_to_name_hash(void);
@@ -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");
}