Skip to content

Commit

Permalink
darray -> dict
Browse files Browse the repository at this point in the history
  • Loading branch information
scobb committed Jan 4, 2024
1 parent 4415f14 commit 10c04d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/GeneratedHackEnumSchemaValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ final class GeneratedHackEnumSchemaValidatorTest extends BaseCodegenTestCase {
public function testStringEnum(): void {
$cases = vec[
shape(
'input' => darray['enum_string' => 'one'],
'output' => darray['enum_string' => 'one'],
'input' => dict['enum_string' => 'one'],
'output' => dict['enum_string' => 'one'],
'valid' => true,
),
shape(
'input' => darray['enum_string' => 'four'],
'input' => dict['enum_string' => 'four'],
'valid' => false,
),
shape(
'input' => darray['enum_string' => 1],
'input' => dict['enum_string' => 1],
'valid' => false,
),
];
Expand Down

0 comments on commit 10c04d8

Please sign in to comment.