Skip to content

Commit 5a63e07

Browse files
committed
Revert "test(code-placeholders): cover debug-field placeholder reuse"
This reverts commit 9a2d9cd.
1 parent 9a2d9cd commit 5a63e07

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

‎apps/sim/lib/execution/code-placeholders/compiler.test.ts‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -739,20 +739,6 @@ describe('code placeholder compiler', () => {
739739
}
740740
})
741741

742-
it('reports the first placeholder in a Python f-string debug field, even when later ones share it', async () => {
743-
for (const [code, rejected] of [
744-
['print(f"{ {{A}} + {{B}} =}")', 'A'],
745-
['print(f"{ {{A}} :#{ {{B}} }=}")', 'B'],
746-
]) {
747-
const error = await compileCodePlaceholders({
748-
code,
749-
language: CodeLanguage.Python,
750-
environmentVariables: { A: '1', B: '2' },
751-
}).catch((caught) => caught)
752-
expect(String(error)).toContain(`Variable placeholder "${rejected}" is not supported`)
753-
}
754-
})
755-
756742
it('ignores Python f-string comments and does not group adjacent strings across dedents', async (ctx) => {
757743
if (!hasPython3()) ctx.skip(PYTHON_SKIP_REASON)
758744
const code = [

0 commit comments

Comments
 (0)