瀏覽代碼

Fix undefined variable

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v21.0.0beta1
Joas Schilling 3 年之前
父節點
當前提交
46e3ea4e41
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      build/integration/features/bootstrap/CommandLine.php

+ 2
- 2
build/integration/features/bootstrap/CommandLine.php 查看文件

@@ -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 . '"');
}
}
}

Loading…
取消
儲存