Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit 295a12e

Browse files
committed
remove test for throwing when attempting to make a strict executable
1 parent 3112cd5 commit 295a12e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/CodegenFileTest.hack

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -307,16 +307,6 @@ final class CodegenFileTest extends CodegenBaseTest {
307307
expect_with_context(static::class, $code)->toBeUnchanged();
308308
}
309309

310-
public function testNoShebangInStrict(): void {
311-
expect(
312-
() ==> $this->getCodegenFactory()
313-
->codegenFile('no_file')
314-
->setFileType(CodegenFileType::HACK_STRICT)
315-
->setShebangLine('#!/usr/bin/env hhvm')
316-
->render(),
317-
)->toThrow(InvariantException::class);
318-
}
319-
320310
public function testDotHackExecutable(): void {
321311
$cgf = $this->getCodegenFactory();
322312
$code = $cgf

0 commit comments

Comments
 (0)