1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 22:01:48 +01:00

Unskip now-working tests

This commit is contained in:
Matt Brown 2020-10-17 12:30:19 -04:00 committed by Daniil Gentili
parent 2d8d1b9bf7
commit 596e71d6aa
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 2 additions and 2 deletions

View File

@ -1887,7 +1887,7 @@ class ConditionalTest extends \Psalm\Tests\TestCase
return new O(); return new O();
}' }'
], ],
'SKIPPED-assertVarRedefinedInIfWithOr' => [ 'assertVarRedefinedInIfWithOr' => [
'<?php '<?php
class O {} class O {}

View File

@ -1222,7 +1222,7 @@ class RedundantConditionTest extends \Psalm\Tests\TestCase
}', }',
'error_message' => 'RedundantCondition', 'error_message' => 'RedundantCondition',
], ],
'SKIPPED-noLongerWarnsAboutRedundancyHere' => [ 'noLongerWarnsAboutRedundancyHere' => [
'<?php '<?php
function a(bool $a, bool $b) : void { function a(bool $a, bool $b) : void {
if ($a || $b) { if ($a || $b) {