aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/test_vendor_libghostty_vt.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/test_vendor_libghostty_vt.py b/scripts/test_vendor_libghostty_vt.py
index 9a9806b3..7fbea8ae 100644
--- a/scripts/test_vendor_libghostty_vt.py
+++ b/scripts/test_vendor_libghostty_vt.py
@@ -45,6 +45,14 @@ class VendorLibghosttyVtTests(unittest.TestCase):
self.assertIn('"dist_archive"', text)
self.assertIn('"extracted_dir"', text)
+ def test_embedded_libghostty_logging_is_silenced(self) -> None:
+ root = Path(__file__).resolve().parent.parent / "vendor" / "libghostty-vt"
+ lib_vt = root / "src" / "lib_vt.zig"
+ text = lib_vt.read_text()
+ self.assertIn("fn silentLog(", text)
+ self.assertIn(".log_level = .err", text)
+ self.assertIn(".logFn = silentLog", text)
+
if __name__ == "__main__":
unittest.main()