From 487ff37dafa32b2264ea5850d93b3de14074d08b Mon Sep 17 00:00:00 2001 From: Jade Abraham Date: Fri, 31 May 2024 15:20:01 -0700 Subject: [PATCH] update comment Signed-off-by: Jade Abraham --- tools/chpl-language-server/test/util/utils.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/chpl-language-server/test/util/utils.py b/tools/chpl-language-server/test/util/utils.py index e12f0fa2800e..3fe33d662636 100644 --- a/tools/chpl-language-server/test/util/utils.py +++ b/tools/chpl-language-server/test/util/utils.py @@ -532,10 +532,13 @@ async def check_type_inlay_hints( Helper method for `check_inlay_hints`. Adds the `: ` prefix. `expected_inlays` is a list of tuples. The tuples can be either of length 2 - or 3. If the tuple is of length 2, the first element is the expected - position and the second element is the expected text of the type. If the - tuple is of length 3, then the first two elements are the same. The third - element is a boolean that indicates whether the inlay hint is insertable. + or 3. + - If the tuple is of length 2, the first element is the expected position + and the second element is the expected text of the type. This implies that + the inlay hint is insertable. + - If the tuple is of length 3, then the first two elements are the same. + The third element is a boolean that indicates whether the inlay hint is + insertable. """ # we currently do not make use of InlayHintKind.Type for type inlays in CLS inlays_with_colon = [(i[0], f": {i[1]}", None) for i in expected_inlays]