1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-05 05:37:39 +02:00
Files
php-dibi/tests/dibi/HashMap.phpt
David Grudl d1a3362321 coding style
2023-08-09 16:33:28 +02:00

13 lines
209 B
PHP

<?php
declare(strict_types=1);
use Tester\Assert;
require __DIR__ . '/bootstrap.php';
$hash = new Dibi\HashMap(fn($v) => "b-$v-e");
Assert::same('b-X-e', $hash->{'X'});
Assert::same('b--e', $hash->{''});