aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-05 20:18:24 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-05 20:19:13 +0300
commit220b99a9fabf10fad83a570f641ad39737d85875 (patch)
treea27a3b791f110d091ca6ef9b194bb6c1fb4e2b55 /scripts
parent2bc1724c2dae72184a5d2ec070e30c70dc519f9b (diff)
fix: support custom command keybindings on windows
refs #1041
Diffstat (limited to 'scripts')
-rw-r--r--scripts/test_vendor_portable_pty.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/test_vendor_portable_pty.py b/scripts/test_vendor_portable_pty.py
index 8a6d4ca1..87537d41 100644
--- a/scripts/test_vendor_portable_pty.py
+++ b/scripts/test_vendor_portable_pty.py
@@ -71,6 +71,19 @@ class VendorPortablePtyTests(unittest.TestCase):
]
self.assertEqual(missing, [])
+ def test_listed_local_vendor_patches_exist(self) -> None:
+ project_root = Path(__file__).resolve().parent.parent
+ index = project_root / "vendor" / "portable-pty.patches.md"
+ text = index.read_text()
+ listed = [
+ line.split("`", 2)[1]
+ for line in text.splitlines()
+ if line.startswith("patch: `vendor/patches/portable-pty/")
+ ]
+
+ missing = [path for path in listed if not (project_root / path).exists()]
+ self.assertEqual(missing, [])
+
def test_local_vendor_patches_are_applied_to_vendored_tree(self) -> None:
project_root = Path(__file__).resolve().parent.parent
patch_dir = project_root / "vendor" / "patches" / "portable-pty"