Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffycondor committed Dec 18, 2022
1 parent 6f230ed commit dd76a1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/CoreStubsTest.php
Expand Up @@ -102,7 +102,7 @@ public function providerValidCodeParse(): iterable
'php_version' => '8.0',
];
yield 'sprintf yields a non-empty-string for non-empty-string value' => [
'<?php
'code' => '<?php
/**
* @param non-empty-string $foo
Expand All @@ -115,13 +115,13 @@ function foo(string $foo): string
',
];
yield 'sprintf yields a string for possible empty string param' => [
'<?php
'code' => '<?php
$a = sprintf("%s", "");
',
'assertions' => [
'$a===' => 'string',
]
],
];
}
}

0 comments on commit dd76a1e

Please sign in to comment.