diff options
Diffstat (limited to 'application/third_party')
-rwxr-xr-x | application/third_party/test-more-php/Test-More-OO.php | 4 | ||||
-rwxr-xr-x | application/third_party/test-more-php/Test-Simple-OO.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/application/third_party/test-more-php/Test-More-OO.php b/application/third_party/test-more-php/Test-More-OO.php index 7ce9f9421..6020288bd 100755 --- a/application/third_party/test-more-php/Test-More-OO.php +++ b/application/third_party/test-more-php/Test-More-OO.php @@ -215,7 +215,7 @@ class TestMore extends TestSimple { if ( is_int($this->NumberOfTests) ) { $unrun = $this->NumberOfTests - (int)$this->TestsRun; $plural = $unrun == 1 ? '' : 's'; - $unrunmsg = "# Looks like ${unrun} planned test${plural} never ran.\n"; + $unrunmsg = "# Looks like {$unrun} planned test{$plural} never ran.\n"; } $gasp = $this->LastFail . "\n" @@ -268,7 +268,7 @@ class TestMore extends TestSimple { $error = " Syntax check for '$module' failed"; } } else { - $error = " Cannot find ${type}d file '$module'"; + $error = " Cannot find {$type}d file '$module'"; } $pass = !$retval && $done; diff --git a/application/third_party/test-more-php/Test-Simple-OO.php b/application/third_party/test-more-php/Test-Simple-OO.php index 9bbe4aada..33fb643a9 100755 --- a/application/third_party/test-more-php/Test-Simple-OO.php +++ b/application/third_party/test-more-php/Test-Simple-OO.php @@ -103,7 +103,7 @@ class TestSimple { $skipinfo = ''; if ($this->NumberOfTests === 'skip_all') $skipinfo = ' # '.$this->SkipAllReason; - echo "1..${NumberOfTests}${skipinfo}\n"; + echo "1..{$NumberOfTests}{$skipinfo}\n"; $this->NumberOfTests = $NumberOfTests; return; |