From f8f38698ecf032a0e20591ebace7ff2ad2d8a766 Mon Sep 17 00:00:00 2001 From: Xiyue Deng Date: Fri, 31 May 2024 18:33:31 -0700 Subject: [PATCH] Fix lsp-ui-doc--make-smaller-empty-lines * This fixes the test with the current code. * Tested on Emacs 29.3. --- test/lsp-ui-doc-test.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/lsp-ui-doc-test.el b/test/lsp-ui-doc-test.el index b844befd..f7a63276 100644 --- a/test/lsp-ui-doc-test.el +++ b/test/lsp-ui-doc-test.el @@ -15,15 +15,16 @@ It will show it will shrink empty lines (should (ert-equal-including-properties #(" This is a test - + It will show it will shrink empty lines " - 0 1 (lsp-ui-doc-no-space t face (:height 0.2)) - 16 17 (lsp-ui-doc-no-space t face (:height 0.5)) - 17 18 (face (:height 0.5)) - 58 60 (lsp-ui-doc-no-space t face (:height 0.3))) + 0 1 (face (:height 0.3)) + 16 17 (face (:height 0.1)) + 17 18 (face (:height 0.2)) + 18 19 (face (:height 0.4)) + 59 61 (face (:height 0.3))) (buffer-substring (point-min) (point-max)))))))