From b1206f0b53062d65f962834c64f014fe03ccbd00 Mon Sep 17 00:00:00 2001 From: The Coding Aviator <34807532+thecodingaviator@users.noreply.github.com> Date: Tue, 7 May 2019 02:55:47 +0530 Subject: [PATCH] fix(curriculum): Hide solution from tests in Chinese challenge (#35252) * fix(curriculum): Remove solution from tests * fix(curriculum): Hide solution from tests --- ...se-grid-area-without-creating-an-areas-template.chinese.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/chinese/01-responsive-web-design/css-grid/use-grid-area-without-creating-an-areas-template.chinese.md b/curriculum/challenges/chinese/01-responsive-web-design/css-grid/use-grid-area-without-creating-an-areas-template.chinese.md index d98c47e86f..f4b26604dc 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/css-grid/use-grid-area-without-creating-an-areas-template.chinese.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/css-grid/use-grid-area-without-creating-an-areas-template.chinese.md @@ -17,8 +17,8 @@ localeTitle: 在不创建网格区域模板的情况下使用网格区域 ```yml tests: - - text: item5类应该具有值为3/1/4/4grid-area属性。 - testString: 'assert(code.match(/.item5\s*?{[\s\S]*grid-area\s*?:\s*?3\s*?\/\s*?1\s*?\/\s*?4\s*?\/\s*?4\s*?;[\s\S]*}/gi), "item5 class should have a grid-area property that has the value of 3/1/4/4.");' + - text: item5类应具有grid-area属性,使其位于第三和第四水平线之间以及第一和第四垂直线之间。 + testString: 'assert(code.match(/.item5\s*?{[\s\S]*grid-area\s*?:\s*?3\s*?\/\s*?1\s*?\/\s*?4\s*?\/\s*?4\s*?;[\s\S]*}/gi), "item5类应具有grid-area属性,使其位于第三和第四水平线之间以及第一和第四垂直线之间。");' ```