diff --git a/tools/chpl-language-server/test/call_hierarchy.py b/tools/chpl-language-server/test/call_hierarchy.py index ad27658f7812..412276568676 100644 --- a/tools/chpl-language-server/test/call_hierarchy.py +++ b/tools/chpl-language-server/test/call_hierarchy.py @@ -202,11 +202,13 @@ async def check(docs): await check_call_hierarchy(client, docs("C"), pos((3, 2)), expected_int) await check_call_hierarchy(client, docs("C"), pos((4, 2)), expected_real) + # Ensure that call hierarchy works without .cls-commands.json... async with unrelated_source_files( client, A=fileA, B=fileB, C=fileC ) as docs: await check(docs) + # ...and with .cls-commands.json async with source_files( client, A=fileA, B=fileB, C=fileC ) as docs: