From dc7bb257b9274789c759a969359c2c756483b66f Mon Sep 17 00:00:00 2001 From: Valeriy Date: Fri, 26 Oct 2018 21:33:34 +0300 Subject: [PATCH] fix(curriculum): correct test --- .../add-rounded-corners-with-border-radius.english.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.english.md index 974ecbbccb..0e92bc3c2a 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.english.md @@ -25,7 +25,7 @@ tests: - text: Your image element should have the class "thick-green-border". testString: assert($("img").hasClass("thick-green-border"), 'Your image element should have the class "thick-green-border".'); - text: Your image should have a border radius of 10px - testString: assert(parseInt($("img").css("border-top-left-radius")) > 8, 'Your image should have a border radius of 10px'); + testString: assert($("img").css("border-radius") === '10px', 'Your image should have a border radius of 10px'); ``` @@ -105,7 +105,7 @@ tests: ## Solution
-```js +```html