Skip to content

Commit a0425a5

Browse files
Update test for the error
1 parent 83c5cb5 commit a0425a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/extension/debugger/inlineValue/pythonInlineValueProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function removeCharsOutsideBraces(code: string): string {
123123
while ((tempMatch = insideBracesRegex.exec(content)) !== null) {
124124
result += tempMatch[0];
125125
}
126-
const processedContent = result || content;
126+
const processedContent = result;
127127

128128
return match[0] + processedContent + match[0];
129129
});

src/test/pythonFiles/testVarTypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var1, var2 = 7, 6
2-
var3 = "hola"
2+
var3 = "var1"
33
var4 = {"a": 1, "b": 2}
44
var5 = [1, 2, 3]
55
var6 = var1 + var2

0 commit comments

Comments
 (0)