Skip to content

Commit ba3f4cc

Browse files
Phencysdsilhavy
authored andcommitted
Quality of life: Changed wording of segment validation error log
1 parent 7e1174a commit ba3f4cc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Utils/segment_validation.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ function saveStdErrOutput($representationDirectory, $saveDetailedOutput = true)
545545
$currentModule = $logger->getCurrentModule();
546546
$currentHook = $logger->getCurrentHook();
547547
$logger->setModule("SEGMENT_VALIDATION");
548+
$logger->setHook("Segment Validation");
548549

549550
$content = file_get_contents("$representationDirectory/stderr.txt");
550551
$contentArray = explode("\n", $content);
@@ -553,7 +554,7 @@ function saveStdErrOutput($representationDirectory, $saveDetailedOutput = true)
553554
$logger->test(
554555
"Segment Validation",
555556
"Segment Validation",
556-
"Check for content in error log",
557+
"Segment validator output should not contain errors",
557558
true,
558559
"PASS",
559560
"Segment validation did not produce any output",
@@ -582,7 +583,7 @@ function saveStdErrOutput($representationDirectory, $saveDetailedOutput = true)
582583
$logger->test(
583584
"Segment Validation",
584585
"Segment Validation",
585-
"Check for content in error log",
586+
"Segment validator output should not contain errors",
586587
$severity == "PASS",
587588
$severity,
588589
$msg,
@@ -595,7 +596,7 @@ function saveStdErrOutput($representationDirectory, $saveDetailedOutput = true)
595596
$logger->test(
596597
"Segment Validation",
597598
"Segment Validation",
598-
"Check for content in error log",
599+
"Segment validator output should not contain errors",
599600
$commonSeverity == "PASS",
600601
$commonSeverity,
601602
"Segment validation did not produce any errors",

0 commit comments

Comments
 (0)