From fa66608b41a5bceda8213fa2d05b788ed60f0642 Mon Sep 17 00:00:00 2001 From: Melvin Kosisochukwu <42300447+MelvinManni@users.noreply.github.com> Date: Sat, 26 Apr 2025 21:46:04 +0100 Subject: [PATCH] fix(curriculum): update assertions to use assert.equal (#60013) --- .../workshop-cat-painting/646c5e727e56e743c9aed4a1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c5e727e56e743c9aed4a1.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c5e727e56e743c9aed4a1.md index fc1a8dd3529..407994defdf 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c5e727e56e743c9aed4a1.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c5e727e56e743c9aed4a1.md @@ -21,19 +21,19 @@ Give `.cat-head` a `position` property of `static`, then set the `top` and `left Your `.cat-head` selector should have a `position` property set to `static`. Make sure you add a semicolon. ```js -assert(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.position === 'static') +assert.equal(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.position, 'static') ``` Your `.cat-head` selector should have a `top` property set to `100px`. Make sure you add a semicolon. ```js -assert(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.top === '100px') +assert.equal(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.top, '100px') ``` Your `.cat-head` selector should have a `left` property set to `100px`. Make sure you add a semicolon. ```js -assert(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.left === '100px') +assert.equal(new __helpers.CSSHelp(document)?.getStyle('.cat-head')?.left, '100px') ``` # --seed--