From adc9a61e2c389fa08d29a442da39ccd1541e2b6b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 31 Jul 2024 16:57:57 +0530 Subject: [PATCH] Add tests for id sanitization --- kitty_tests/notifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty_tests/notifications.py b/kitty_tests/notifications.py index 6faa58756..9fbb0cdd2 100644 --- a/kitty_tests/notifications.py +++ b/kitty_tests/notifications.py @@ -223,7 +223,7 @@ def do_test(self: 'TestNotifications', tdir: str) -> None: assert_events(focus=True, report='c', close=True, close_response='c') reset() - h('i=a;title') + h('i=a[;title') h('i=b;title') h('i=live:p=alive;') assert_events(focus=False, live='a,b') @@ -290,7 +290,7 @@ def do_test(self: 'TestNotifications', tdir: str) -> None: for x in n.split(','): m += f'n={standard_b64encode(x.encode()).decode()}:' if g: - m += f'g={g}:' + m += f'g=({g}:' h(f'i=9:d=0:{m};title') h(f'i=9:p=icon;{data}')