Skip to content

Commit

Permalink
add scientific notation test
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmuffme committed Mar 23, 2024
1 parent cd302f0 commit d9f0b07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ArrayKeysTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ public function test(bool $v): array {
// see https://github.com/php/php-src/issues/9029#issuecomment-1186226676
$e = ["+15" => "a"];
$f = ["015" => "a"];
$g = ["1e2" => "a"];
',
'assertions' => [
'$a===' => "array{15: 'a'}",
Expand All @@ -201,6 +202,7 @@ public function test(bool $v): array {
'$d===' => "array{-15: 'a'}",
'$e===' => "array{'+15': 'a'}",
'$f===' => "array{'015': 'a'}",
'$g===' => "array{'1e2': 'a'}",
],
],
];
Expand Down

0 comments on commit d9f0b07

Please sign in to comment.