Improve test data capture multi-line data matching (#8023)

This commit is contained in:
Tony Murray
2018-01-04 10:25:29 -06:00
committed by GitHub
parent da54444057
commit 6a122f21f4

View File

@@ -241,7 +241,7 @@ class ModuleTestHelper
continue;
}
if (str_contains($line, ' =')) {
if (preg_match('/^\.[.\d]+ =/', $line)) {
list($oid, $raw_data) = explode(' =', $line, 2);
$oid = ltrim($oid, '.');
$raw_data = trim($raw_data);