1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Fix test with sort

This commit is contained in:
Matthew Brown 2022-03-14 13:02:55 -04:00
parent e578413d3f
commit a9ccfd3da4

View File

@ -73,8 +73,8 @@ class AlgebraTest extends TestCase
$negated_formula = Algebra::negateFormula($formula); $negated_formula = Algebra::negateFormula($formula);
$this->assertCount(3, $negated_formula); $this->assertCount(3, $negated_formula);
$this->assertSame('$a is not string', (string)$negated_formula[0]); $this->assertSame('$a is not int', (string)$negated_formula[0]);
$this->assertSame('$a is not int', (string)$negated_formula[1]); $this->assertSame('$a is not string', (string)$negated_formula[1]);
$this->assertSame('!$b', (string)$negated_formula[2]); $this->assertSame('!$b', (string)$negated_formula[2]);
} }