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:
parent
e578413d3f
commit
a9ccfd3da4
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user