Skip to content

Commit

Permalink
fix darray/dict test (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjergus authored Mar 29, 2021
1 parent 56116b7 commit 05c98f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/CodegenPropertyTest.codegen
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@generated
!@#$%codegentest:testArrayValues
private static $languages = array (
private static $languages = dict [
'en' => 'English',
'es' => 'Spanish',
'fr' => 'French',
);
];

!@#$%codegentest:testDocBlock
// a comment
Expand Down
2 changes: 1 addition & 1 deletion tests/CodegenPropertyTest.hack
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ final class CodegenPropertyTest extends CodegenBaseTest {
->codegenProperty('languages')
->setIsStatic()
->setValue(
darray['en' => 'English', 'es' => 'Spanish', 'fr' => 'French'],
dict['en' => 'English', 'es' => 'Spanish', 'fr' => 'French'],
HackBuilderValues::export(),
)
->render();
Expand Down

0 comments on commit 05c98f4

Please sign in to comment.