fix: removed more assert msg arguments (#36439)

This commit is contained in:
Randell Dawson
2019-07-27 21:16:04 -07:00
committed by Parth Parth
parent 80365163de
commit ba6ae7154c
37 changed files with 76 additions and 76 deletions

View File

@@ -21,7 +21,7 @@ Fix the two spelling errors in the code so the <code>netWorkingCapital</code> ca
```yml
tests:
- text: 'Check the spelling of the two variables used in the netWorkingCapital calculation, the console output should show that "Net working capital is: 2".'
testString: 'assert(netWorkingCapital === 2, ''Check the spelling of the two variables used in the netWorkingCapital calculation, the console output should show that "Net working capital is: 2".'');'
testString: 'assert(netWorkingCapital === 2);'
- text: There should be no instances of mis-spelled variables in the code.
testString: assert(!code.match(/recievables/g));
- text: The <code>receivables</code> variable should be declared and used properly in the code.

View File

@@ -23,7 +23,7 @@ tests:
- text: Your code should fix the missing piece of the array.
testString: assert(code.match(/myArray\s*?=\s*?\[\s*?1\s*?,\s*?2\s*?,\s*?3\s*?\];/g));
- text: 'Your code should fix the missing piece of the <code>.reduce()</code> method. The console output should show that "Sum of array values is: 6".'
testString: 'assert(arraySum === 6, ''Your code should fix the missing piece of the <code>.reduce()</code> method. The console output should show that "Sum of array values is: 6".'');'
testString: 'assert(arraySum === 6);'
```