From ecd10a55a6c1861bc72874baac4de10653106047 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Janis=20Daniel=20Da=CC=88hne?=
 <janis.daehne2@student.uni-halle.de>
Date: Mon, 29 Jul 2019 23:25:59 +0200
Subject: [PATCH] - fixed wrong checked var for debug output

---
 api.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/api.php b/api.php
index abec091..d3c51a9 100644
--- a/api.php
+++ b/api.php
@@ -339,7 +339,7 @@ foreach ($testCases as $test) {
             require_once './do_compileTest_func.php';
 
             $showTestRunnerDebugOutput = FALSE;
-            if (isset($config['maxLinesToRead'])) {
+            if (isset($config['showTestRunnerDebugOutput'])) {
                 $showTestRunnerDebugOutput = $config['showTestRunnerDebugOutput'];
             }
 
@@ -391,7 +391,7 @@ foreach ($testCases as $test) {
         require_once './do_regexTest_func.php';
 
         $showTestRunnerDebugOutput = FALSE;
-        if (isset($config['maxLinesToRead'])) {
+        if (isset($config['showTestRunnerDebugOutput'])) {
             $showTestRunnerDebugOutput = $config['showTestRunnerDebugOutput'];
         }
 
@@ -548,7 +548,7 @@ foreach ($testCases as $test) {
 
 
             $showTestRunnerDebugOutput = FALSE;
-            if (isset($config['maxLinesToRead'])) {
+            if (isset($config['showTestRunnerDebugOutput'])) {
                 $showTestRunnerDebugOutput = $config['showTestRunnerDebugOutput'];
             }
 
-- 
GitLab