Skip to content

Commit

Permalink
Merge branch 'release-1.0' into release-1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
corpsee committed Dec 16, 2019
2 parents 79b6324 + 7a556a9 commit d799114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -12,7 +12,7 @@ php:
- 7.1
- 7.2
- 7.3
- 7.4snapshot
- 7.4

matrix:
fast_finish: true
Expand Down
4 changes: 2 additions & 2 deletions src/Plugin/Atoum.php
Expand Up @@ -72,12 +72,12 @@ public function execute()

$output = $this->builder->getLastOutput();

if (count(preg_grep("/Success \(/", $output)) == 0) {
if (false === \strpos($output, "Success (")) {
$status = false;
$this->builder->log($output);
}

if (count($output) == 0) {
if (!$output) {
$status = false;
$this->builder->log('No tests have been performed.');
}
Expand Down

0 comments on commit d799114

Please sign in to comment.