Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit 94145a2

Browse files
Robert Lynchfacebook-github-bot
Robert Lynch
authored andcommitted
Merge ExpectObj classes (#9)
Summary: Pull Request resolved: #9 Pull Request resolved: hhvm/hsl-experimental#32 Pull Request resolved: hhvm/hsl#70 Merge the different ExpectObj implementations Reviewed By: nicoreed Differential Revision: D13605955 fbshipit-source-id: ce811d4e797b3507b75fe6d6d989281aff48ca78
1 parent de21168 commit 94145a2

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

tests/ClusterTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
namespace Facebook\DiffLib;
1212

1313
use namespace HH\Lib\{C, Vec};
14-
use function Facebook\FBExpect\expect;
14+
// @oss-disable: use function \expect;
15+
use function Facebook\FBExpect\expect; // @oss-enable
1516

1617
final class ClusterTest extends \Facebook\HackTest\HackTest {
1718
public function testReplaceTrailing(): void {

tests/RawDiffTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
namespace Facebook\DiffLib;
1212

1313
use namespace HH\Lib\{C, Vec};
14-
use function Facebook\FBExpect\expect;
14+
// @oss-disable: use function \expect;
15+
use function Facebook\FBExpect\expect; // @oss-enable
1516

1617
/** Test raw diff ops - not unified diffs etc.
1718
*

tests/StringDiffTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
namespace Facebook\DiffLib;
1212

1313
use namespace HH\Lib\{C, Str, Vec};
14-
use function Facebook\FBExpect\expect;
14+
// @oss-disable: use function \expect;
15+
use function Facebook\FBExpect\expect; // @oss-enable
1516

1617
// @oss-disable: use type \DataProvider;
1718
use type Facebook\HackTest\DataProvider; // @oss-enable

0 commit comments

Comments
 (0)