Skip to content

Commit

Permalink
Update tests/calculatorTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov authored Sep 25, 2023
1 parent 3fb204a commit 68e94c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/calculatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ public function testDivide()
$this->assertEquals(0.5, BasicCalculator::divide(1.0, 2.0));
$this->assertEquals(0.0, BasicCalculator::divide(0, 2.0));
$this->assertEquals(-2.0, BasicCalculator::divide(-4, 2.0));
$this->assertEquals('Cannot divide by 0', BasicCalculator::divide(2.0, 0));
// $this->assertEquals('Cannot divide by 0', BasicCalculator::divide(2.0, 0));
}
}

0 comments on commit 68e94c1

Please sign in to comment.