Parcourir la source

Fix undefined variable

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v21.0.0beta1
Joas Schilling il y a 3 ans
Parent
révision
46e3ea4e41
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      build/integration/features/bootstrap/CommandLine.php

+ 2
- 2
build/integration/features/bootstrap/CommandLine.php Voir le fichier

@@ -160,7 +160,7 @@ trait CommandLine {
public function theCommandOutputContainsTheText($text) {
$lines = $this->findLines($this->lastStdOut, $text);
if (empty($lines)) {
throw new \Exception('The command did not output the expected text on stdout "' . $exceptionText . '"');
throw new \Exception('The command did not output the expected text on stdout "' . $text . '"');
}
}

@@ -170,7 +170,7 @@ trait CommandLine {
public function theCommandErrorOutputContainsTheText($text) {
$lines = $this->findLines($this->lastStdErr, $text);
if (empty($lines)) {
throw new \Exception('The command did not output the expected text on stderr "' . $exceptionText . '"');
throw new \Exception('The command did not output the expected text on stderr "' . $text . '"');
}
}
}

Chargement…
Annuler
Enregistrer