diff options
author | Brendan Taylor <whateley@gmail.com> | 2009-07-12 13:38:02 -0600 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2009-07-12 13:38:02 -0600 |
commit | 8fab11200e300712484ac5f31bc610f9943029cc (patch) | |
tree | 375aa0163e4f0b689b2779997e361fa07bf5960b /tests | |
parent | 3b209125f06785c0baf23478433ed36230281ea3 (diff) |
update mode indicator when @insert_mode is set
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-expand.c | 4 |
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"); } |