Skip to content

Commit 05c98f4

Browse files
authored
fix darray/dict test (#137)
1 parent 56116b7 commit 05c98f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/CodegenPropertyTest.codegen

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@generated
22
!@#$%codegentest:testArrayValues
3-
private static $languages = array (
3+
private static $languages = dict [
44
'en' => 'English',
55
'es' => 'Spanish',
66
'fr' => 'French',
7-
);
7+
];
88

99
!@#$%codegentest:testDocBlock
1010
// a comment

tests/CodegenPropertyTest.hack

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ final class CodegenPropertyTest extends CodegenBaseTest {
5555
->codegenProperty('languages')
5656
->setIsStatic()
5757
->setValue(
58-
darray['en' => 'English', 'es' => 'Spanish', 'fr' => 'French'],
58+
dict['en' => 'English', 'es' => 'Spanish', 'fr' => 'French'],
5959
HackBuilderValues::export(),
6060
)
6161
->render();

0 commit comments

Comments
 (0)