From 10c04d8368f7d144deebeda97b145cbcd53cfa74 Mon Sep 17 00:00:00 2001 From: Steven Cobb Date: Thu, 4 Jan 2024 15:17:53 -0800 Subject: [PATCH] darray -> dict --- tests/GeneratedHackEnumSchemaValidatorTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/GeneratedHackEnumSchemaValidatorTest.php b/tests/GeneratedHackEnumSchemaValidatorTest.php index aeeea44..64f686b 100644 --- a/tests/GeneratedHackEnumSchemaValidatorTest.php +++ b/tests/GeneratedHackEnumSchemaValidatorTest.php @@ -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, ), ];