mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-07-18 14:13:24 +09:00
Merge pull request #11 from jmooree30/patch-1
Update calculator.spec.js
This commit is contained in:
@@ -29,7 +29,7 @@ describe('sum', function() {
|
|||||||
expect(calculator.sum([7])).toEqual(7);
|
expect(calculator.sum([7])).toEqual(7);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('computes the sum of an array of one number', function() {
|
it('computes the sum of an array of two numbers', function() {
|
||||||
expect(calculator.sum([7,11])).toEqual(18);
|
expect(calculator.sum([7,11])).toEqual(18);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user