aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-expand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-expand.c b/tests/test-expand.c
index 7cc558b..07e3fea 100644
--- a/tests/test-expand.c
+++ b/tests/test-expand.c
@@ -79,10 +79,10 @@ test_NAME (void) {
void
test_MODE (void) {
- set_insert_mode(FALSE);
+ set_var_value("insert_mode", "0");
g_assert_cmpstr(expand("@MODE", 0), ==, "C");
- set_insert_mode(TRUE);
+ set_var_value("insert_mode", "1");
g_assert_cmpstr(expand("@MODE", 0), ==, "I");
}