Better russian translate (#37540)
This commit is contained in:
@ -13,7 +13,7 @@ localeTitle: Утвердить глубокое равенство с .deepEqua
|
||||
|
||||
## Instructions
|
||||
<section id='instructions'>
|
||||
Use <code>assert.deepEqual()</code> or <code>assert.notDeepEqual()</code> to make the tests pass.
|
||||
Используйте <code>assert.deepEqual()</code> или <code>assert.notDeepEqual()</code> чтобы пройти тесты.
|
||||
</section>
|
||||
|
||||
## Tests
|
||||
@ -21,11 +21,11 @@ Use <code>assert.deepEqual()</code> or <code>assert.notDeepEqual()</code> 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); })
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user