From af5ed093b87e307abe4745ab4ce37f9c74bbefdb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 31 May 2021 17:54:57 +0530 Subject: [PATCH] Fix test failing on macOS --- kitty_tests/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty_tests/options.py b/kitty_tests/options.py index 74be590f0..299401b99 100644 --- a/kitty_tests/options.py +++ b/kitty_tests/options.py @@ -56,6 +56,6 @@ class TestConfParsing(BaseTest): # deprecation handling opts = p('clear_all_shortcuts y', 'send_text all f1 hello') self.ae(len(opts.keymap), 1) - opts = p('x11_hide_window_decorations y') + opts = p('macos_hide_titlebar y' if is_macos else 'x11_hide_window_decorations y') self.assertTrue(opts.hide_window_decorations) self.ae(len(self.error_messages), 1)