Skip to content

Commit ec6ba66

Browse files
author
Vidya Raghavan
committed
Update calculator_test.php
1 parent 840aa37 commit ec6ba66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/calculator_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class CalculatorTest extends PHPUnit_Framework_TestCase{
88
public function testAdd(){
99
$calc = new Calculator();
1010
$sum = $calc->add(array(2,3,4,5));
11-
$this->assertEquals(15, $sum); //check if 2+3+4+5 is equal to 14
11+
$this->assertEquals(14 $sum); //check if 2+3+4+5 is equal to 14
1212
}
1313

1414
//test if the subtract() method in our calculator class

0 commit comments

Comments
 (0)