From e796c06e59806cf24f93d462259be8229ca7ed79 Mon Sep 17 00:00:00 2001 From: Aditya Singh Date: Fri, 27 Feb 2026 15:19:50 +0530 Subject: [PATCH] fix(curriculum): update test to assert variable exist (#66126) --- .../69727ea5c9606bedfe36d3d2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/69727ea5c9606bedfe36d3d2.md b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/69727ea5c9606bedfe36d3d2.md index c57b287b990..10195c62583 100644 --- a/curriculum/challenges/english/blocks/workshop-employee-profile-generator/69727ea5c9606bedfe36d3d2.md +++ b/curriculum/challenges/english/blocks/workshop-employee-profile-generator/69727ea5c9606bedfe36d3d2.md @@ -32,7 +32,7 @@ You should assign the string `Data Analyst` to your `position` variable. You should have a variable named `salary`. ```js -({ test: () => assert(runPython(`_Node(_code).find_variable("salary").is_equivalent("salary = 75000")`)) }) +({ test: () => assert(runPython(`_Node(_code).has_variable("salary")`)) }) ``` You should assign the integer `75000` to your `salary` variable.