From 58bb0d960ba43e137482bd0d62204d0aadd3a845 Mon Sep 17 00:00:00 2001 From: Mondhs Date: Sat, 9 Sep 2023 07:30:17 +0300 Subject: [PATCH] Update src/plugins/assert/assertHttpRegionParser.ts Co-authored-by: Andreas Weber --- src/plugins/assert/assertHttpRegionParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/assert/assertHttpRegionParser.ts b/src/plugins/assert/assertHttpRegionParser.ts index bd414cba..a8a54260 100644 --- a/src/plugins/assert/assertHttpRegionParser.ts +++ b/src/plugins/assert/assertHttpRegionParser.ts @@ -70,7 +70,7 @@ export async function parseAssertLine( symbols: [ { name: `assert ${match.groups.type}`, - description: match.groups.value ?? "script", + description: `${match.groups.predicate} ${match.groups.expected || ''}`.trim(), kind: models.HttpSymbolKind.script, startLine: next.value.line, startOffset: 0,