diff options
author | Chun-Sheng, Li <peter279k@gmail.com> | 2021-01-06 03:07:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 03:07:33 +0300 |
commit | 936ee5caca3067de98a40d5a5788946b6f2b87dc (patch) | |
tree | 27c3fe26e4ac03214db12e8a6d2682ea3e3be00b /tests | |
parent | 2f043ba2b2008bf32bf09f0b6af4f30f097a8bd6 (diff) |
Improve autoloading, asssertions and CI trigger (#79)V2.1.6
Diffstat (limited to 'tests')
-rw-r--r-- | tests/MathTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/MathTest.php b/tests/MathTest.php index a5061ad..47d89b8 100644 --- a/tests/MathTest.php +++ b/tests/MathTest.php @@ -504,7 +504,7 @@ class MathTest extends TestCase $calculator->setVar('null', null); $calculator->setVar('float', 1.1); $calculator->setVar('string', 'string'); - $this->assertEquals(8, count($calculator->getVars())); + $this->assertCount(8, $calculator->getVars()); $this->assertEquals(true, $calculator->getVar('boolTrue')); $this->assertEquals(false, $calculator->getVar('boolFalse')); $this->assertEquals(1, $calculator->getVar('int')); |