From 228d5f4754fbd5e2f2e12437cab121c2f05004d8 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Mon, 5 Sep 2016 15:31:07 +0200 Subject: [PATCH] Improve test/CommonMarkTestWeak.php --- test/CommonMarkTestWeak.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/CommonMarkTestWeak.php b/test/CommonMarkTestWeak.php index 751cad5..e467201 100644 --- a/test/CommonMarkTestWeak.php +++ b/test/CommonMarkTestWeak.php @@ -15,12 +15,13 @@ require_once(__DIR__ . '/CommonMarkTest.php'); */ class CommonMarkTestWeak extends CommonMarkTest { + protected $textLevelElementRegex; + protected function setUp() { parent::setUp(); $textLevelElements = $this->parsedown->getTextLevelElements(); - array_walk($textLevelElements, function (&$element) { $element = preg_quote($element, '/'); });