diff options
Diffstat (limited to 'tests/test_canonical.py')
| -rw-r--r-- | tests/test_canonical.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test_canonical.py b/tests/test_canonical.py index 1a8c5dd..018d813 100644 --- a/tests/test_canonical.py +++ b/tests/test_canonical.py @@ -117,6 +117,20 @@ class PackageTests(unittest.TestCase): class RoleTests(unittest.TestCase): + def test_canonical_ghostty_has_no_window_decoration(self): + rendered = subprocess.check_output( + self.command( + "canonical", + "execute-template", + "--file", + str(ROOT / "dot_config/ghostty/config.tmpl"), + ), + text=True, + ) + self.assertIn("window-decoration = none", rendered) + self.assertNotIn("window-decoration = auto", rendered) + self.assertIn("/.nix-profile/bin/zsh -l", rendered) + def command(self, role: str, *args: str) -> list[str]: return [ "chezmoi", |
