From 60bf902ec82562d0701c1e2331e9efa87ae9e805 Mon Sep 17 00:00:00 2001 From: Gregory Date: Fri, 24 Jan 2020 09:48:11 +0400 Subject: [PATCH] Better russian translate (#37540) --- ...uality-with-.deepequal-and-.notdeepequal.russian.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/curriculum/challenges/russian/06-information-security-and-quality-assurance/quality-assurance-and-testing-with-chai/assert-deep-equality-with-.deepequal-and-.notdeepequal.russian.md b/curriculum/challenges/russian/06-information-security-and-quality-assurance/quality-assurance-and-testing-with-chai/assert-deep-equality-with-.deepequal-and-.notdeepequal.russian.md index d7231ef325d..73330bcff44 100644 --- a/curriculum/challenges/russian/06-information-security-and-quality-assurance/quality-assurance-and-testing-with-chai/assert-deep-equality-with-.deepequal-and-.notdeepequal.russian.md +++ b/curriculum/challenges/russian/06-information-security-and-quality-assurance/quality-assurance-and-testing-with-chai/assert-deep-equality-with-.deepequal-and-.notdeepequal.russian.md @@ -8,12 +8,12 @@ localeTitle: Утвердить глубокое равенство с .deepEqua ## Description
-Напомним, что этот проект строится на следующем стартовом проекте Glitch или клонируется из GitHub . .deepEqual (), .notDeepEqual () .deepEqual () утверждает, что два объекта имеют глубокую равность +Напомним, что этот проект строится на следующем стартовом проекте Glitch или клонируется из GitHub. .deepEqual (), .notDeepEqual () .deepEqual () утверждает, что два объекта имеют глубокую равность
## Instructions
-Use assert.deepEqual() or assert.notDeepEqual() to make the tests pass. +Используйте assert.deepEqual() или assert.notDeepEqual() чтобы пройти тесты.
## Tests @@ -21,11 +21,11 @@ Use assert.deepEqual() or assert.notDeepEqual() to mak ```yml tests: - - text: All tests should pass + - text: Все тесты должны быть пройдены testString: getUserInput => $.get(getUserInput('url') + '/_api/get-tests?type=unit&n=6').then(data => {assert.equal(data.state,'passed'); }, xhr => { throw new Error(xhr.responseText); }) - - text: Choose the right assertion - deepEqual vs. notDeepEqual + - text: Выберите правильный оператор - deepEqual или notDeepEqual testString: getUserInput => $.get(getUserInput('url') + '/_api/get-tests?type=unit&n=6').then(data => { assert.equal(data.assertions[0].method, 'deepEqual', 'The order of the keys does not matter'); }, xhr => { throw new Error(xhr.responseText); }) - - text: Choose the right assertion - deepEqual vs. notDeepEqual + - text: Используйте правильный оператор - deepEqual или notDeepEqual testString: getUserInput => $.get(getUserInput('url') + '/_api/get-tests?type=unit&n=6').then(data => { assert.equal(data.assertions[1].method, 'notDeepEqual', 'The position of elements within an array does matter'); }, xhr => { throw new Error(xhr.responseText); }) ```