fix(curriculum): Remove additional unnecessary assert message argument wrapped in double quotes from various curriculum sections (#36457)

* fix: remove double quoted assert msg arg - responsive

* fix: remove double quoted assert msg arg - js

* fix: remove double quoted assert msg arg - libraries

* fix: remove double quoted assert msg arg - coding interview
This commit is contained in:
Randell Dawson
2019-07-24 05:06:12 -07:00
committed by Parth Parth
parent 8e6c26f271
commit d0d8282f86
14 changed files with 26 additions and 26 deletions

View File

@ -34,11 +34,11 @@ tests:
- text: <code>factorial(2)</code> should return a number.
testString: assert(typeof factorial(2) === 'number', '<code>factorial(2)</code> should return a number.');
- text: <code>factorial(3)</code> should return 6.
testString: assert.equal(factorial(3),results[0],"<code>factorial(3)</code> should return 6.");
testString: assert.equal(factorial(3),results[0]);
- text: <code>factorial(3)</code> should return 120.
testString: assert.equal(factorial(5),results[1],"<code>factorial(3)</code> should return 120.");
testString: assert.equal(factorial(5),results[1]);
- text: <code>factorial(3)</code> should return 3,628,800.
testString: assert.equal(factorial(10),results[2],"<code>factorial(3)</code> should return 3,628,800.");
testString: assert.equal(factorial(10),results[2]);
```

View File

@ -28,11 +28,11 @@ tests:
- text: <code>fibonacci(2)</code> should return a number.
testString: assert(typeof fibonacci(2) == 'number', '<code>fibonacci(2)</code> should return a number.');
- text: <code>fibonacci(3)</code> should return 1.
testString: assert.equal(fibonacci(3),1,"<code>fibonacci(3)</code> should return 1.");
testString: assert.equal(fibonacci(3),1);
- text: <code>fibonacci(5)</code> should return 3.
testString: assert.equal(fibonacci(5),3,"<code>fibonacci(5)</code> should return 3.");
testString: assert.equal(fibonacci(5),3);
- text: <code>fibonacci(10)</code> should return 34.
testString: assert.equal(fibonacci(10),34,"<code>fibonacci(10)</code> should return 34.");
testString: assert.equal(fibonacci(10),34);
```

View File

@ -38,13 +38,13 @@ tests:
- text: <code>sedol</code> is a function.
testString: assert(typeof sedol === 'function', '<code>sedol</code> is a function.');
- text: <code>sedol('a')</code> should return null.
testString: assert(sedol('a') === null, "<code>sedol('a')</code> should return null.");
testString: assert(sedol('a') === null);
- text: <code>sedol('710889')</code> should return '7108899'.
testString: assert(sedol('710889') === '7108899', "<code>sedol('710889')</code> should return '7108899'.");
testString: assert(sedol('710889') === '7108899');
- text: <code>sedol('BOATER')</code> should return null.
testString: assert(sedol('BOATER') === null, "<code>sedol('BOATER')</code> should return null.");
testString: assert(sedol('BOATER') === null);
- text: <code>sedol('228276')</code> should return '2282765'.
testString: assert(sedol('228276') === '2282765', "<code>sedol('228276')</code> should return '2282765'.");
testString: assert(sedol('228276') === '2282765');
```