From dd192ad0b79277dd0d1f0d7f07dc7172cf4032a9 Mon Sep 17 00:00:00 2001 From: Joseph Adams Date: Tue, 18 Jan 2022 12:28:24 +0100 Subject: [PATCH] Make old tests run Previously, because of the new underline styles a couple of tests were failing due to an unexpected number of sprites being returned from the test-set-up. No new tests were added. --- kitty_tests/fonts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty_tests/fonts.py b/kitty_tests/fonts.py index d30b7c6b3..d841f0687 100644 --- a/kitty_tests/fonts.py +++ b/kitty_tests/fonts.py @@ -28,7 +28,7 @@ class Rendering(BaseTest): self.test_ctx.__enter__() self.sprites, self.cell_width, self.cell_height = self.test_ctx.__enter__() try: - self.assertEqual([k[0] for k in self.sprites], [0, 1, 2, 3, 4, 5, 6, 7, 8]) + self.assertEqual([k[0] for k in self.sprites], [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) except Exception: self.test_ctx.__exit__() del self.test_ctx