From 4b6b33198f3d89b1b4148cd63df1e0445a6b294d Mon Sep 17 00:00:00 2001 From: Lars Reimann Date: Mon, 23 Oct 2023 12:17:32 +0200 Subject: [PATCH] test: ignore block for coverage --- src/language/lsp/safe-ds-inlay-hint-provider.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/language/lsp/safe-ds-inlay-hint-provider.ts b/src/language/lsp/safe-ds-inlay-hint-provider.ts index b15ecf62d..502da3e66 100644 --- a/src/language/lsp/safe-ds-inlay-hint-provider.ts +++ b/src/language/lsp/safe-ds-inlay-hint-provider.ts @@ -19,9 +19,11 @@ export class SafeDsInlayHintProvider extends AbstractInlayHintProvider { override computeInlayHint(node: AstNode, acceptor: InlayHintAcceptor) { const cstNode = node.$cstNode; + /* c8 ignore start */ if (!cstNode) { return; } + /* c8 ignore stop */ if (isSdsArgument(node) && isPositionalArgument(node)) { const parameter = this.nodeMapper.argumentToParameter(node);