Skip to content

Commit 230d6ad

Browse files
committed
Fix subtraction tests
1 parent 55562b4 commit 230d6ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/calculator_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('Calculator Tests', function() {
1717

1818
describe('Subtraction Tests', function() {
1919
it('returns 2 - 1 = 1', function(done) {
20-
assert.equal(calc.add(2, 1), 1);
20+
assert.equal(calc.subtract(2, 1), 1);
2121
done();
2222
});
2323

@@ -27,7 +27,7 @@ describe('Calculator Tests', function() {
2727
});
2828
});
2929

30-
describe('Multiplication Tests', function() {
30+
describe('Multiply Tests', function() {
3131
it('returns 2 * 2 = 4', function(done) {
3232
assert.equal(calc.multiply(2, 2), 4);
3333
done();

0 commit comments

Comments
 (0)