test/compose: clean up after a setenv

Signed-off-by: Ran Benita <ran@unusedvar.com>
master
Ran Benita 2021-05-22 20:00:24 +03:00
parent e2465c2a69
commit 5b1b2f7546
1 changed files with 2 additions and 0 deletions

View File

@ -418,6 +418,8 @@ test_XCOMPOSEFILE(struct xkb_context *ctx)
XKB_COMPOSE_COMPILE_NO_FLAGS); XKB_COMPOSE_COMPILE_NO_FLAGS);
assert(table); assert(table);
unsetenv("XCOMPOSEFILE");
assert(test_compose_seq(table, assert(test_compose_seq(table,
XKB_KEY_dead_tilde, XKB_COMPOSE_FEED_ACCEPTED, XKB_COMPOSE_COMPOSING, "", XKB_KEY_NoSymbol, XKB_KEY_dead_tilde, XKB_COMPOSE_FEED_ACCEPTED, XKB_COMPOSE_COMPOSING, "", XKB_KEY_NoSymbol,
XKB_KEY_space, XKB_COMPOSE_FEED_ACCEPTED, XKB_COMPOSE_COMPOSED, "~", XKB_KEY_asciitilde, XKB_KEY_space, XKB_COMPOSE_FEED_ACCEPTED, XKB_COMPOSE_COMPOSED, "~", XKB_KEY_asciitilde,