Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ytake committed Feb 13, 2020
1 parent 6ce2603 commit 46b4ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/AsyncHeredityTest.hack
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class AsyncHeredityTest extends HackTest {
ServerRequestFactory::fromGlobals($read),
);
$content = await $read->readAsync();
$decode = json_decode($content);
$decode = json_decode($content, true, 512, \JSON_FB_HACK_ARRAYS);
expect($decode)->toBeSame(dict[]);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/HeredityTest.hack
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class HeredityTest extends HackTest {
ServerRequestFactory::fromGlobals($read),
);
$content = $read->rawReadBlocking();
$decode = json_decode($content);
$decode = json_decode($content, true, 512, \JSON_FB_HACK_ARRAYS);
expect($decode)->toBeSame(dict[]);
}

Expand Down

0 comments on commit 46b4ed0

Please sign in to comment.