Skip to content

Commit 721c2bb

Browse files
committed
Verify Multi-tester is working
1 parent 0419c8d commit 721c2bb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Phug/Compiler/Compiler.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,10 @@ public function compileDocument($input, $path = null)
716716
*/
717717
public function compile($input, $path = null)
718718
{
719+
if (strpos($input, 'input(dynamic=true)') !== false) {
720+
throw new \ErrorException('Boo');
721+
}
722+
719723
$compileEvent = new CompileEvent($input, $path ?: $this->getOption('filename'));
720724
$this->trigger($compileEvent);
721725

0 commit comments

Comments
 (0)