Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch '3.7'

  • Loading branch information...
commit 15434c0a1f86dece6a6c4bcad4677fb761bc98e0 2 parents 4628cc9 + 0396604
@sebastianbergmann authored
View
2  PHPUnit/Runner/StandardTestSuiteLoader.php
@@ -134,7 +134,7 @@ public function load($suiteClassName, $suiteClassFile = '')
throw new PHPUnit_Framework_Exception(
sprintf(
- 'Class %s could not be found in %s.',
+ "Class '%s' could not be found in '%s'.",
$suiteClassName,
$suiteClassFile
View
2  PHPUnit/TextUI/TestRunner.php
@@ -417,7 +417,7 @@ public function setPrinter(PHPUnit_TextUI_ResultPrinter $resultPrinter)
protected function runFailed($message)
{
self::printVersionString();
- self::write($message);
+ self::write($message . PHP_EOL);
exit(self::FAILURE_EXIT);
}
View
6 Tests/TextUI/log-xml.phpt
@@ -19,9 +19,9 @@ PHPUnit %s by Sebastian Bergmann.
...<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="BankAccountTest" file="%sBankAccountTest.php" fullPackage="PHPUnit" package="PHPUnit" tests="3" assertions="3" failures="0" errors="0" time="%f">
- <testcase name="testBalanceIsInitiallyZero" class="BankAccountTest" file="%sBankAccountTest.php" line="73" assertions="1" time="%f"/>
- <testcase name="testBalanceCannotBecomeNegative" class="BankAccountTest" file="%sBankAccountTest.php" line="83" assertions="1" time="%f"/>
- <testcase name="testBalanceCannotBecomeNegative2" class="BankAccountTest" file="%sBankAccountTest.php" line="103" assertions="1" time="%f"/>
+ <testcase name="testBalanceIsInitiallyZero" class="BankAccountTest" file="%sBankAccountTest.php" line="72" assertions="1" time="%f"/>
+ <testcase name="testBalanceCannotBecomeNegative" class="BankAccountTest" file="%sBankAccountTest.php" line="82" assertions="1" time="%f"/>
+ <testcase name="testBalanceCannotBecomeNegative2" class="BankAccountTest" file="%sBankAccountTest.php" line="102" assertions="1" time="%f"/>
</testsuite>
</testsuites>
Please sign in to comment.
Something went wrong with that request. Please try again.