Skip to content

Commit

Permalink
adjusted test-expectations for the more precise result
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab committed Feb 22, 2022
1 parent 255b97f commit 954e089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/PHPStan/Analyser/data/literal-string.php
Expand Up @@ -25,8 +25,8 @@ public function doFoo($literalString, string $string)

assertType('string', str_repeat($string, 10));
assertType('literal-string', str_repeat($literalString, 10));
assertType('literal-string', str_repeat('', 10));
assertType('literal-string&non-empty-string', str_repeat('foo', 10));
assertType("''", str_repeat('', 10));
assertType("'foofoofoofoofoofoofoofoofoofoo'", str_repeat('foo', 10));
assertType("'?,?,?,'", str_repeat('?,', 3));

assertType('non-empty-string', str_pad($string, 5, $string));
Expand Down

0 comments on commit 954e089

Please sign in to comment.