Skip to content

Commit 0db19de

Browse files
committed
Structure was modified of $Git_Tests['Git']
Author: @fitorec <[email protected]> --------------------------------------------------------------------- test/test-suite.php | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
1 parent 4212330 commit 0db19de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test-suite.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
$Git_Tests = array(
2222

2323
'Git' => function() {
24-
$return = array(0, '');
24+
$return = null;
2525
$repo = new GitRepo();
2626
$found = $repo->test_git();
2727
if ($found) {
28-
return array(0, "Git was located and tested successfully");
28+
$return = array(0, "Git was located and tested successfully");
2929
} else {
30-
return array(1, "Git could not be found at the default location");
30+
$return = array(1, "Git could not be found at the default location");
3131
}
32-
32+
return $return;
3333
},
3434

3535
'Git::create()' => function() {

0 commit comments

Comments
 (0)