diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/rulescomp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rulescomp.c b/test/rulescomp.c index 5457d00..3fb8a30 100644 --- a/test/rulescomp.c +++ b/test/rulescomp.c @@ -107,6 +107,9 @@ int main(int argc, char *argv[]) assert(test_rmlvo(ctx, "evdev", "pc105", "us", "intl", "")); assert(test_rmlvo(ctx, "evdev", "evdev", "us", "intl", "grp:alts_toggle")); + /* 20 is not a legal group; make sure this is handled gracefully. */ + assert(test_rmlvo(ctx, "evdev", "", "us:20", "", "")); + assert(test_rmlvo(ctx, "", "", "", "", "")); assert(test_rmlvo(ctx, NULL, NULL, NULL, NULL, NULL)); |